[ajax4jsf-svn-commits] JBoss Ajax4JSF SVN: r257 - in trunk/docs: docbook and 62 other directories.

ajax4jsf-svn-commits at lists.jboss.org ajax4jsf-svn-commits at lists.jboss.org
Fri Jun 8 14:01:13 EDT 2007


Author: alexsmirnov
Date: 2007-06-08 14:01:10 -0400 (Fri, 08 Jun 2007)
New Revision: 257

Added:
   trunk/docs/docbook/
   trunk/docs/docbook/pom.xml
   trunk/docs/docbook/src/
   trunk/docs/docbook/src/main/
   trunk/docs/docbook/src/main/java/
   trunk/docs/docbook/src/main/java/com/
   trunk/docs/docbook/src/main/java/com/nwalsh/
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/CVS.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Callout.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/CalloutEmitter.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/ColumnScanEmitter.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/ColumnUpdateEmitter.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/CopyEmitter.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatCallout.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatGraphicCallout.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatTextCallout.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatUnicodeCallout.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/ImageIntrinsics.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/LineCountEmitter.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/NumberLinesEmitter.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Table.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Text.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/TextFactory.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/UnwrapLinks.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/UnwrapLinksEmitter.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Verbatim.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Windows1252.java
   trunk/docs/docbook/src/main/java/com/nwalsh/saxon/package.html
   trunk/docs/docbook/src/main/resources/
   trunk/docs/docbook/src/main/resources/COPYING
   trunk/docs/docbook/src/main/resources/VERSION
   trunk/docs/docbook/src/main/resources/common/
   trunk/docs/docbook/src/main/resources/common/af.xml
   trunk/docs/docbook/src/main/resources/common/am.xml
   trunk/docs/docbook/src/main/resources/common/ar.xml
   trunk/docs/docbook/src/main/resources/common/autoidx-kimber.xsl
   trunk/docs/docbook/src/main/resources/common/autoidx-kosek.xsl
   trunk/docs/docbook/src/main/resources/common/az.xml
   trunk/docs/docbook/src/main/resources/common/bg.xml
   trunk/docs/docbook/src/main/resources/common/bn.xml
   trunk/docs/docbook/src/main/resources/common/bs.xml
   trunk/docs/docbook/src/main/resources/common/ca.xml
   trunk/docs/docbook/src/main/resources/common/common.xsl
   trunk/docs/docbook/src/main/resources/common/cs.xml
   trunk/docs/docbook/src/main/resources/common/cy.xml
   trunk/docs/docbook/src/main/resources/common/da.xml
   trunk/docs/docbook/src/main/resources/common/de.xml
   trunk/docs/docbook/src/main/resources/common/el.xml
   trunk/docs/docbook/src/main/resources/common/en.xml
   trunk/docs/docbook/src/main/resources/common/entities.ent
   trunk/docs/docbook/src/main/resources/common/es.xml
   trunk/docs/docbook/src/main/resources/common/et.xml
   trunk/docs/docbook/src/main/resources/common/eu.xml
   trunk/docs/docbook/src/main/resources/common/fa.xml
   trunk/docs/docbook/src/main/resources/common/fi.xml
   trunk/docs/docbook/src/main/resources/common/fr.xml
   trunk/docs/docbook/src/main/resources/common/ga.xml
   trunk/docs/docbook/src/main/resources/common/gentext.xsl
   trunk/docs/docbook/src/main/resources/common/gu.xml
   trunk/docs/docbook/src/main/resources/common/he.xml
   trunk/docs/docbook/src/main/resources/common/hi.xml
   trunk/docs/docbook/src/main/resources/common/hr.xml
   trunk/docs/docbook/src/main/resources/common/hu.xml
   trunk/docs/docbook/src/main/resources/common/id.xml
   trunk/docs/docbook/src/main/resources/common/insertfile.xsl
   trunk/docs/docbook/src/main/resources/common/it.xml
   trunk/docs/docbook/src/main/resources/common/ja.xml
   trunk/docs/docbook/src/main/resources/common/kn.xml
   trunk/docs/docbook/src/main/resources/common/ko.xml
   trunk/docs/docbook/src/main/resources/common/l10n.dtd
   trunk/docs/docbook/src/main/resources/common/l10n.xml
   trunk/docs/docbook/src/main/resources/common/l10n.xsl
   trunk/docs/docbook/src/main/resources/common/la.xml
   trunk/docs/docbook/src/main/resources/common/labels.xsl
   trunk/docs/docbook/src/main/resources/common/lt.xml
   trunk/docs/docbook/src/main/resources/common/mn.xml
   trunk/docs/docbook/src/main/resources/common/nl.xml
   trunk/docs/docbook/src/main/resources/common/nn.xml
   trunk/docs/docbook/src/main/resources/common/no.xml
   trunk/docs/docbook/src/main/resources/common/olink.xsl
   trunk/docs/docbook/src/main/resources/common/or.xml
   trunk/docs/docbook/src/main/resources/common/pa.xml
   trunk/docs/docbook/src/main/resources/common/pi.xsl
   trunk/docs/docbook/src/main/resources/common/pl.xml
   trunk/docs/docbook/src/main/resources/common/pt.xml
   trunk/docs/docbook/src/main/resources/common/pt_br.xml
   trunk/docs/docbook/src/main/resources/common/refentry.xsl
   trunk/docs/docbook/src/main/resources/common/ro.xml
   trunk/docs/docbook/src/main/resources/common/ru.xml
   trunk/docs/docbook/src/main/resources/common/sk.xml
   trunk/docs/docbook/src/main/resources/common/sl.xml
   trunk/docs/docbook/src/main/resources/common/sq.xml
   trunk/docs/docbook/src/main/resources/common/sr.xml
   trunk/docs/docbook/src/main/resources/common/sr_Latn.xml
   trunk/docs/docbook/src/main/resources/common/stripns.xsl
   trunk/docs/docbook/src/main/resources/common/subtitles.xsl
   trunk/docs/docbook/src/main/resources/common/sv.xml
   trunk/docs/docbook/src/main/resources/common/ta.xml
   trunk/docs/docbook/src/main/resources/common/table.xsl
   trunk/docs/docbook/src/main/resources/common/targetdatabase.dtd
   trunk/docs/docbook/src/main/resources/common/targets.xsl
   trunk/docs/docbook/src/main/resources/common/th.xml
   trunk/docs/docbook/src/main/resources/common/titles.xsl
   trunk/docs/docbook/src/main/resources/common/tl.xml
   trunk/docs/docbook/src/main/resources/common/tr.xml
   trunk/docs/docbook/src/main/resources/common/uk.xml
   trunk/docs/docbook/src/main/resources/common/vi.xml
   trunk/docs/docbook/src/main/resources/common/xh.xml
   trunk/docs/docbook/src/main/resources/common/zh_cn.xml
   trunk/docs/docbook/src/main/resources/common/zh_tw.xml
   trunk/docs/docbook/src/main/resources/eclipse/
   trunk/docs/docbook/src/main/resources/eclipse/eclipse.xsl
   trunk/docs/docbook/src/main/resources/fo/
   trunk/docs/docbook/src/main/resources/fo/admon.xsl
   trunk/docs/docbook/src/main/resources/fo/annotations.xsl
   trunk/docs/docbook/src/main/resources/fo/autoidx-kimber.xsl
   trunk/docs/docbook/src/main/resources/fo/autoidx-kosek.xsl
   trunk/docs/docbook/src/main/resources/fo/autoidx-ng.xsl
   trunk/docs/docbook/src/main/resources/fo/autoidx.xsl
   trunk/docs/docbook/src/main/resources/fo/autotoc.xsl
   trunk/docs/docbook/src/main/resources/fo/axf.xsl
   trunk/docs/docbook/src/main/resources/fo/biblio.xsl
   trunk/docs/docbook/src/main/resources/fo/block.xsl
   trunk/docs/docbook/src/main/resources/fo/callout.xsl
   trunk/docs/docbook/src/main/resources/fo/component.xsl
   trunk/docs/docbook/src/main/resources/fo/division.xsl
   trunk/docs/docbook/src/main/resources/fo/docbook.xsl
   trunk/docs/docbook/src/main/resources/fo/ebnf.xsl
   trunk/docs/docbook/src/main/resources/fo/fo-patch-for-fop.xsl
   trunk/docs/docbook/src/main/resources/fo/fo-rtf.xsl
   trunk/docs/docbook/src/main/resources/fo/fo.xsl
   trunk/docs/docbook/src/main/resources/fo/footnote.xsl
   trunk/docs/docbook/src/main/resources/fo/fop.xsl
   trunk/docs/docbook/src/main/resources/fo/fop1.xsl
   trunk/docs/docbook/src/main/resources/fo/formal.xsl
   trunk/docs/docbook/src/main/resources/fo/glossary.xsl
   trunk/docs/docbook/src/main/resources/fo/graphics.xsl
   trunk/docs/docbook/src/main/resources/fo/highlight.xsl
   trunk/docs/docbook/src/main/resources/fo/htmltbl.xsl
   trunk/docs/docbook/src/main/resources/fo/index.xsl
   trunk/docs/docbook/src/main/resources/fo/info.xsl
   trunk/docs/docbook/src/main/resources/fo/inline.xsl
   trunk/docs/docbook/src/main/resources/fo/keywords.xsl
   trunk/docs/docbook/src/main/resources/fo/lists.xsl
   trunk/docs/docbook/src/main/resources/fo/math.xsl
   trunk/docs/docbook/src/main/resources/fo/pagesetup.xsl
   trunk/docs/docbook/src/main/resources/fo/param.xsl
   trunk/docs/docbook/src/main/resources/fo/passivetex.xsl
   trunk/docs/docbook/src/main/resources/fo/pdf2index
   trunk/docs/docbook/src/main/resources/fo/pi.xsl
   trunk/docs/docbook/src/main/resources/fo/profile-docbook.xsl
   trunk/docs/docbook/src/main/resources/fo/ptc.xsl
   trunk/docs/docbook/src/main/resources/fo/qandaset.xsl
   trunk/docs/docbook/src/main/resources/fo/refentry.xsl
   trunk/docs/docbook/src/main/resources/fo/sections.xsl
   trunk/docs/docbook/src/main/resources/fo/spaces.xsl
   trunk/docs/docbook/src/main/resources/fo/synop.xsl
   trunk/docs/docbook/src/main/resources/fo/table.xsl
   trunk/docs/docbook/src/main/resources/fo/task.xsl
   trunk/docs/docbook/src/main/resources/fo/titlepage.templates.xml
   trunk/docs/docbook/src/main/resources/fo/titlepage.templates.xsl
   trunk/docs/docbook/src/main/resources/fo/titlepage.xsl
   trunk/docs/docbook/src/main/resources/fo/toc.xsl
   trunk/docs/docbook/src/main/resources/fo/verbatim.xsl
   trunk/docs/docbook/src/main/resources/fo/xep.xsl
   trunk/docs/docbook/src/main/resources/fo/xref.xsl
   trunk/docs/docbook/src/main/resources/highlighting/
   trunk/docs/docbook/src/main/resources/highlighting/common.xsl
   trunk/docs/docbook/src/main/resources/highlighting/delphi-hl.xml
   trunk/docs/docbook/src/main/resources/highlighting/ini-hl.xml
   trunk/docs/docbook/src/main/resources/highlighting/java-hl.xml
   trunk/docs/docbook/src/main/resources/highlighting/m2-hl.xml
   trunk/docs/docbook/src/main/resources/highlighting/myxml-hl.xml
   trunk/docs/docbook/src/main/resources/highlighting/php-hl.xml
   trunk/docs/docbook/src/main/resources/highlighting/xslthl-config.xml
   trunk/docs/docbook/src/main/resources/html/
   trunk/docs/docbook/src/main/resources/html/admon.xsl
   trunk/docs/docbook/src/main/resources/html/annotations.xsl
   trunk/docs/docbook/src/main/resources/html/autoidx-kimber.xsl
   trunk/docs/docbook/src/main/resources/html/autoidx-kosek.xsl
   trunk/docs/docbook/src/main/resources/html/autoidx-ng.xsl
   trunk/docs/docbook/src/main/resources/html/autoidx.xsl
   trunk/docs/docbook/src/main/resources/html/autotoc.xsl
   trunk/docs/docbook/src/main/resources/html/biblio.xsl
   trunk/docs/docbook/src/main/resources/html/block.xsl
   trunk/docs/docbook/src/main/resources/html/callout.xsl
   trunk/docs/docbook/src/main/resources/html/changebars.xsl
   trunk/docs/docbook/src/main/resources/html/chunk-code.xsl
   trunk/docs/docbook/src/main/resources/html/chunk-common.xsl
   trunk/docs/docbook/src/main/resources/html/chunk.xsl
   trunk/docs/docbook/src/main/resources/html/chunker.xsl
   trunk/docs/docbook/src/main/resources/html/chunkfast.xsl
   trunk/docs/docbook/src/main/resources/html/chunktoc.xsl
   trunk/docs/docbook/src/main/resources/html/component.xsl
   trunk/docs/docbook/src/main/resources/html/db5strip.xsl
   trunk/docs/docbook/src/main/resources/html/division.xsl
   trunk/docs/docbook/src/main/resources/html/docbook.xsl
   trunk/docs/docbook/src/main/resources/html/ebnf.xsl
   trunk/docs/docbook/src/main/resources/html/footnote.xsl
   trunk/docs/docbook/src/main/resources/html/formal.xsl
   trunk/docs/docbook/src/main/resources/html/glossary.xsl
   trunk/docs/docbook/src/main/resources/html/graphics.xsl
   trunk/docs/docbook/src/main/resources/html/highlight.xsl
   trunk/docs/docbook/src/main/resources/html/html-rtf.xsl
   trunk/docs/docbook/src/main/resources/html/html.xsl
   trunk/docs/docbook/src/main/resources/html/htmltbl.xsl
   trunk/docs/docbook/src/main/resources/html/index.xsl
   trunk/docs/docbook/src/main/resources/html/info.xsl
   trunk/docs/docbook/src/main/resources/html/inline.xsl
   trunk/docs/docbook/src/main/resources/html/keywords.xsl
   trunk/docs/docbook/src/main/resources/html/lists.xsl
   trunk/docs/docbook/src/main/resources/html/maketoc.xsl
   trunk/docs/docbook/src/main/resources/html/manifest.xsl
   trunk/docs/docbook/src/main/resources/html/math.xsl
   trunk/docs/docbook/src/main/resources/html/oldchunker.xsl
   trunk/docs/docbook/src/main/resources/html/onechunk.xsl
   trunk/docs/docbook/src/main/resources/html/param.xsl
   trunk/docs/docbook/src/main/resources/html/pi.xsl
   trunk/docs/docbook/src/main/resources/html/profile-chunk-code.xsl
   trunk/docs/docbook/src/main/resources/html/profile-chunk.xsl
   trunk/docs/docbook/src/main/resources/html/profile-docbook.xsl
   trunk/docs/docbook/src/main/resources/html/profile-onechunk.xsl
   trunk/docs/docbook/src/main/resources/html/qandaset.xsl
   trunk/docs/docbook/src/main/resources/html/refentry.xsl
   trunk/docs/docbook/src/main/resources/html/sections.xsl
   trunk/docs/docbook/src/main/resources/html/synop.xsl
   trunk/docs/docbook/src/main/resources/html/table.xsl
   trunk/docs/docbook/src/main/resources/html/task.xsl
   trunk/docs/docbook/src/main/resources/html/titlepage.templates.xml
   trunk/docs/docbook/src/main/resources/html/titlepage.templates.xsl
   trunk/docs/docbook/src/main/resources/html/titlepage.xsl
   trunk/docs/docbook/src/main/resources/html/toc.xsl
   trunk/docs/docbook/src/main/resources/html/verbatim.xsl
   trunk/docs/docbook/src/main/resources/html/xref.xsl
   trunk/docs/docbook/src/main/resources/htmlhelp/
   trunk/docs/docbook/src/main/resources/htmlhelp/htmlhelp-common.xsl
   trunk/docs/docbook/src/main/resources/htmlhelp/htmlhelp.xsl
   trunk/docs/docbook/src/main/resources/htmlhelp/profile-htmlhelp-common.xsl
   trunk/docs/docbook/src/main/resources/htmlhelp/profile-htmlhelp.xsl
   trunk/docs/docbook/src/main/resources/images/
   trunk/docs/docbook/src/main/resources/images/blank.png
   trunk/docs/docbook/src/main/resources/images/callouts/
   trunk/docs/docbook/src/main/resources/images/callouts/1.gif
   trunk/docs/docbook/src/main/resources/images/callouts/1.png
   trunk/docs/docbook/src/main/resources/images/callouts/10.gif
   trunk/docs/docbook/src/main/resources/images/callouts/10.png
   trunk/docs/docbook/src/main/resources/images/callouts/11.gif
   trunk/docs/docbook/src/main/resources/images/callouts/11.png
   trunk/docs/docbook/src/main/resources/images/callouts/12.gif
   trunk/docs/docbook/src/main/resources/images/callouts/12.png
   trunk/docs/docbook/src/main/resources/images/callouts/13.gif
   trunk/docs/docbook/src/main/resources/images/callouts/13.png
   trunk/docs/docbook/src/main/resources/images/callouts/14.gif
   trunk/docs/docbook/src/main/resources/images/callouts/14.png
   trunk/docs/docbook/src/main/resources/images/callouts/15.gif
   trunk/docs/docbook/src/main/resources/images/callouts/15.png
   trunk/docs/docbook/src/main/resources/images/callouts/2.gif
   trunk/docs/docbook/src/main/resources/images/callouts/2.png
   trunk/docs/docbook/src/main/resources/images/callouts/3.gif
   trunk/docs/docbook/src/main/resources/images/callouts/3.png
   trunk/docs/docbook/src/main/resources/images/callouts/4.gif
   trunk/docs/docbook/src/main/resources/images/callouts/4.png
   trunk/docs/docbook/src/main/resources/images/callouts/5.gif
   trunk/docs/docbook/src/main/resources/images/callouts/5.png
   trunk/docs/docbook/src/main/resources/images/callouts/6.gif
   trunk/docs/docbook/src/main/resources/images/callouts/6.png
   trunk/docs/docbook/src/main/resources/images/callouts/7.gif
   trunk/docs/docbook/src/main/resources/images/callouts/7.png
   trunk/docs/docbook/src/main/resources/images/callouts/8.gif
   trunk/docs/docbook/src/main/resources/images/callouts/8.png
   trunk/docs/docbook/src/main/resources/images/callouts/9.gif
   trunk/docs/docbook/src/main/resources/images/callouts/9.png
   trunk/docs/docbook/src/main/resources/images/caution.gif
   trunk/docs/docbook/src/main/resources/images/caution.png
   trunk/docs/docbook/src/main/resources/images/caution.svg
   trunk/docs/docbook/src/main/resources/images/caution.tif
   trunk/docs/docbook/src/main/resources/images/draft.png
   trunk/docs/docbook/src/main/resources/images/home.gif
   trunk/docs/docbook/src/main/resources/images/home.png
   trunk/docs/docbook/src/main/resources/images/home.svg
   trunk/docs/docbook/src/main/resources/images/important.gif
   trunk/docs/docbook/src/main/resources/images/important.png
   trunk/docs/docbook/src/main/resources/images/important.svg
   trunk/docs/docbook/src/main/resources/images/important.tif
   trunk/docs/docbook/src/main/resources/images/next.gif
   trunk/docs/docbook/src/main/resources/images/next.png
   trunk/docs/docbook/src/main/resources/images/next.svg
   trunk/docs/docbook/src/main/resources/images/note.gif
   trunk/docs/docbook/src/main/resources/images/note.png
   trunk/docs/docbook/src/main/resources/images/note.svg
   trunk/docs/docbook/src/main/resources/images/note.tif
   trunk/docs/docbook/src/main/resources/images/prev.gif
   trunk/docs/docbook/src/main/resources/images/prev.png
   trunk/docs/docbook/src/main/resources/images/prev.svg
   trunk/docs/docbook/src/main/resources/images/tip.gif
   trunk/docs/docbook/src/main/resources/images/tip.png
   trunk/docs/docbook/src/main/resources/images/tip.svg
   trunk/docs/docbook/src/main/resources/images/tip.tif
   trunk/docs/docbook/src/main/resources/images/toc-blank.png
   trunk/docs/docbook/src/main/resources/images/toc-minus.png
   trunk/docs/docbook/src/main/resources/images/toc-plus.png
   trunk/docs/docbook/src/main/resources/images/up.gif
   trunk/docs/docbook/src/main/resources/images/up.png
   trunk/docs/docbook/src/main/resources/images/up.svg
   trunk/docs/docbook/src/main/resources/images/warning.gif
   trunk/docs/docbook/src/main/resources/images/warning.png
   trunk/docs/docbook/src/main/resources/images/warning.svg
   trunk/docs/docbook/src/main/resources/images/warning.tif
   trunk/docs/docbook/src/main/resources/javahelp/
   trunk/docs/docbook/src/main/resources/javahelp/javahelp.xsl
   trunk/docs/docbook/src/main/resources/javahelp/profile-javahelp.xsl
   trunk/docs/docbook/src/main/resources/lib/
   trunk/docs/docbook/src/main/resources/lib/lib.xsl
   trunk/docs/docbook/src/main/resources/manpages/
   trunk/docs/docbook/src/main/resources/manpages/ChangeLog.20020917
   trunk/docs/docbook/src/main/resources/manpages/block.xsl
   trunk/docs/docbook/src/main/resources/manpages/charmap.groff.xsl
   trunk/docs/docbook/src/main/resources/manpages/docbook.xsl
   trunk/docs/docbook/src/main/resources/manpages/html-synop.xsl
   trunk/docs/docbook/src/main/resources/manpages/info.xsl
   trunk/docs/docbook/src/main/resources/manpages/inline.xsl
   trunk/docs/docbook/src/main/resources/manpages/links.xsl
   trunk/docs/docbook/src/main/resources/manpages/lists.xsl
   trunk/docs/docbook/src/main/resources/manpages/other.xsl
   trunk/docs/docbook/src/main/resources/manpages/param.xsl
   trunk/docs/docbook/src/main/resources/manpages/refentry.xsl
   trunk/docs/docbook/src/main/resources/manpages/synop.xsl
   trunk/docs/docbook/src/main/resources/manpages/table.xsl
   trunk/docs/docbook/src/main/resources/manpages/utility.xsl
   trunk/docs/docbook/src/main/resources/params/
   trunk/docs/docbook/src/main/resources/params/abstract.properties.xml
   trunk/docs/docbook/src/main/resources/params/abstract.title.properties.xml
   trunk/docs/docbook/src/main/resources/params/admon.graphics.extension.xml
   trunk/docs/docbook/src/main/resources/params/admon.graphics.path.xml
   trunk/docs/docbook/src/main/resources/params/admon.graphics.xml
   trunk/docs/docbook/src/main/resources/params/admon.style.xml
   trunk/docs/docbook/src/main/resources/params/admon.textlabel.xml
   trunk/docs/docbook/src/main/resources/params/admonition.properties.xml
   trunk/docs/docbook/src/main/resources/params/admonition.title.properties.xml
   trunk/docs/docbook/src/main/resources/params/alignment.xml
   trunk/docs/docbook/src/main/resources/params/annotate.toc.xml
   trunk/docs/docbook/src/main/resources/params/annotation.css.xml
   trunk/docs/docbook/src/main/resources/params/annotation.graphic.close.xml
   trunk/docs/docbook/src/main/resources/params/annotation.graphic.open.xml
   trunk/docs/docbook/src/main/resources/params/annotation.js.xml
   trunk/docs/docbook/src/main/resources/params/annotation.support.xml
   trunk/docs/docbook/src/main/resources/params/appendix.autolabel.xml
   trunk/docs/docbook/src/main/resources/params/arbortext.extensions.xml
   trunk/docs/docbook/src/main/resources/params/article.appendix.title.properties.xml
   trunk/docs/docbook/src/main/resources/params/author.othername.in.middle.xml
   trunk/docs/docbook/src/main/resources/params/autotoc.label.in.hyperlink.xml
   trunk/docs/docbook/src/main/resources/params/autotoc.label.separator.xml
   trunk/docs/docbook/src/main/resources/params/axf.extensions.xml
   trunk/docs/docbook/src/main/resources/params/base.dir.xml
   trunk/docs/docbook/src/main/resources/params/biblioentry.item.separator.xml
   trunk/docs/docbook/src/main/resources/params/biblioentry.properties.xml
   trunk/docs/docbook/src/main/resources/params/bibliography.collection.xml
   trunk/docs/docbook/src/main/resources/params/bibliography.numbered.xml
   trunk/docs/docbook/src/main/resources/params/blockquote.properties.xml
   trunk/docs/docbook/src/main/resources/params/blurb.on.titlepage.enabled.xml
   trunk/docs/docbook/src/main/resources/params/body.end.indent.xml
   trunk/docs/docbook/src/main/resources/params/body.font.family.xml
   trunk/docs/docbook/src/main/resources/params/body.font.master.xml
   trunk/docs/docbook/src/main/resources/params/body.font.size.xml
   trunk/docs/docbook/src/main/resources/params/body.margin.bottom.xml
   trunk/docs/docbook/src/main/resources/params/body.margin.top.xml
   trunk/docs/docbook/src/main/resources/params/body.start.indent.xml
   trunk/docs/docbook/src/main/resources/params/bridgehead.in.toc.xml
   trunk/docs/docbook/src/main/resources/params/callout.defaultcolumn.xml
   trunk/docs/docbook/src/main/resources/params/callout.graphics.extension.xml
   trunk/docs/docbook/src/main/resources/params/callout.graphics.number.limit.xml
   trunk/docs/docbook/src/main/resources/params/callout.graphics.path.xml
   trunk/docs/docbook/src/main/resources/params/callout.graphics.xml
   trunk/docs/docbook/src/main/resources/params/callout.list.table.xml
   trunk/docs/docbook/src/main/resources/params/callout.unicode.font.xml
   trunk/docs/docbook/src/main/resources/params/callout.unicode.number.limit.xml
   trunk/docs/docbook/src/main/resources/params/callout.unicode.start.character.xml
   trunk/docs/docbook/src/main/resources/params/callout.unicode.xml
   trunk/docs/docbook/src/main/resources/params/callouts.extension.xml
   trunk/docs/docbook/src/main/resources/params/chapter.autolabel.xml
   trunk/docs/docbook/src/main/resources/params/chunk.append.xml
   trunk/docs/docbook/src/main/resources/params/chunk.first.sections.xml
   trunk/docs/docbook/src/main/resources/params/chunk.quietly.xml
   trunk/docs/docbook/src/main/resources/params/chunk.section.depth.xml
   trunk/docs/docbook/src/main/resources/params/chunk.sections.xml
   trunk/docs/docbook/src/main/resources/params/chunk.separate.lots.xml
   trunk/docs/docbook/src/main/resources/params/chunk.toc.xml
   trunk/docs/docbook/src/main/resources/params/chunk.tocs.and.lots.has.title.xml
   trunk/docs/docbook/src/main/resources/params/chunk.tocs.and.lots.xml
   trunk/docs/docbook/src/main/resources/params/chunker.output.cdata-section-elements.xml
   trunk/docs/docbook/src/main/resources/params/chunker.output.doctype-public.xml
   trunk/docs/docbook/src/main/resources/params/chunker.output.doctype-system.xml
   trunk/docs/docbook/src/main/resources/params/chunker.output.encoding.xml
   trunk/docs/docbook/src/main/resources/params/chunker.output.indent.xml
   trunk/docs/docbook/src/main/resources/params/chunker.output.media-type.xml
   trunk/docs/docbook/src/main/resources/params/chunker.output.method.xml
   trunk/docs/docbook/src/main/resources/params/chunker.output.omit-xml-declaration.xml
   trunk/docs/docbook/src/main/resources/params/chunker.output.standalone.xml
   trunk/docs/docbook/src/main/resources/params/citerefentry.link.xml
   trunk/docs/docbook/src/main/resources/params/collect.xref.targets.xml
   trunk/docs/docbook/src/main/resources/params/column.count.back.xml
   trunk/docs/docbook/src/main/resources/params/column.count.body.xml
   trunk/docs/docbook/src/main/resources/params/column.count.front.xml
   trunk/docs/docbook/src/main/resources/params/column.count.index.xml
   trunk/docs/docbook/src/main/resources/params/column.count.lot.xml
   trunk/docs/docbook/src/main/resources/params/column.count.titlepage.xml
   trunk/docs/docbook/src/main/resources/params/column.gap.back.xml
   trunk/docs/docbook/src/main/resources/params/column.gap.body.xml
   trunk/docs/docbook/src/main/resources/params/column.gap.front.xml
   trunk/docs/docbook/src/main/resources/params/column.gap.index.xml
   trunk/docs/docbook/src/main/resources/params/column.gap.lot.xml
   trunk/docs/docbook/src/main/resources/params/column.gap.titlepage.xml
   trunk/docs/docbook/src/main/resources/params/compact.list.item.spacing.xml
   trunk/docs/docbook/src/main/resources/params/component.label.includes.part.label.xml
   trunk/docs/docbook/src/main/resources/params/component.title.properties.xml
   trunk/docs/docbook/src/main/resources/params/contrib.inline.enabled.xml
   trunk/docs/docbook/src/main/resources/params/crop.mark.bleed.xml
   trunk/docs/docbook/src/main/resources/params/crop.mark.offset.xml
   trunk/docs/docbook/src/main/resources/params/crop.mark.width.xml
   trunk/docs/docbook/src/main/resources/params/crop.marks.xml
   trunk/docs/docbook/src/main/resources/params/css.decoration.xml
   trunk/docs/docbook/src/main/resources/params/current.docid.xml
   trunk/docs/docbook/src/main/resources/params/default.float.class.xml
   trunk/docs/docbook/src/main/resources/params/default.image.width.xml
   trunk/docs/docbook/src/main/resources/params/default.table.frame.xml
   trunk/docs/docbook/src/main/resources/params/default.table.width.xml
   trunk/docs/docbook/src/main/resources/params/default.units.xml
   trunk/docs/docbook/src/main/resources/params/dingbat.font.family.xml
   trunk/docs/docbook/src/main/resources/params/double.sided.xml
   trunk/docs/docbook/src/main/resources/params/draft.mode.xml
   trunk/docs/docbook/src/main/resources/params/draft.watermark.image.xml
   trunk/docs/docbook/src/main/resources/params/ebnf.assignment.xml
   trunk/docs/docbook/src/main/resources/params/ebnf.statement.terminator.xml
   trunk/docs/docbook/src/main/resources/params/ebnf.table.bgcolor.xml
   trunk/docs/docbook/src/main/resources/params/ebnf.table.border.xml
   trunk/docs/docbook/src/main/resources/params/eclipse.autolabel.xml
   trunk/docs/docbook/src/main/resources/params/eclipse.plugin.id.xml
   trunk/docs/docbook/src/main/resources/params/eclipse.plugin.name.xml
   trunk/docs/docbook/src/main/resources/params/eclipse.plugin.provider.xml
   trunk/docs/docbook/src/main/resources/params/editedby.enabled.xml
   trunk/docs/docbook/src/main/resources/params/email.delimiters.enabled.xml
   trunk/docs/docbook/src/main/resources/params/emphasis.propagates.style.xml
   trunk/docs/docbook/src/main/resources/params/entry.propagates.style.xml
   trunk/docs/docbook/src/main/resources/params/equation.properties.xml
   trunk/docs/docbook/src/main/resources/params/example.properties.xml
   trunk/docs/docbook/src/main/resources/params/figure.properties.xml
   trunk/docs/docbook/src/main/resources/params/firstterm.only.link.xml
   trunk/docs/docbook/src/main/resources/params/footer.column.widths.xml
   trunk/docs/docbook/src/main/resources/params/footer.content.properties.xml
   trunk/docs/docbook/src/main/resources/params/footer.rule.xml
   trunk/docs/docbook/src/main/resources/params/footer.table.height.xml
   trunk/docs/docbook/src/main/resources/params/footers.on.blank.pages.xml
   trunk/docs/docbook/src/main/resources/params/footnote.font.size.xml
   trunk/docs/docbook/src/main/resources/params/footnote.mark.properties.xml
   trunk/docs/docbook/src/main/resources/params/footnote.number.format.xml
   trunk/docs/docbook/src/main/resources/params/footnote.number.symbols.xml
   trunk/docs/docbook/src/main/resources/params/footnote.properties.xml
   trunk/docs/docbook/src/main/resources/params/footnote.sep.leader.properties.xml
   trunk/docs/docbook/src/main/resources/params/fop.extensions.xml
   trunk/docs/docbook/src/main/resources/params/fop1.extensions.xml
   trunk/docs/docbook/src/main/resources/params/formal.object.properties.xml
   trunk/docs/docbook/src/main/resources/params/formal.procedures.xml
   trunk/docs/docbook/src/main/resources/params/formal.title.placement.xml
   trunk/docs/docbook/src/main/resources/params/formal.title.properties.xml
   trunk/docs/docbook/src/main/resources/params/funcsynopsis.decoration.xml
   trunk/docs/docbook/src/main/resources/params/funcsynopsis.style.xml
   trunk/docs/docbook/src/main/resources/params/funcsynopsis.tabular.threshold.xml
   trunk/docs/docbook/src/main/resources/params/function.parens.xml
   trunk/docs/docbook/src/main/resources/params/generate.id.attributes.xml
   trunk/docs/docbook/src/main/resources/params/generate.index.xml
   trunk/docs/docbook/src/main/resources/params/generate.legalnotice.link.xml
   trunk/docs/docbook/src/main/resources/params/generate.manifest.xml
   trunk/docs/docbook/src/main/resources/params/generate.meta.abstract.xml
   trunk/docs/docbook/src/main/resources/params/generate.revhistory.link.xml
   trunk/docs/docbook/src/main/resources/params/generate.section.toc.level.xml
   trunk/docs/docbook/src/main/resources/params/generate.toc.xml
   trunk/docs/docbook/src/main/resources/params/glossary.as.blocks.xml
   trunk/docs/docbook/src/main/resources/params/glossary.collection.xml
   trunk/docs/docbook/src/main/resources/params/glossary.sort.xml
   trunk/docs/docbook/src/main/resources/params/glossentry.show.acronym.xml
   trunk/docs/docbook/src/main/resources/params/glosslist.as.blocks.xml
   trunk/docs/docbook/src/main/resources/params/glossterm.auto.link.xml
   trunk/docs/docbook/src/main/resources/params/glossterm.separation.xml
   trunk/docs/docbook/src/main/resources/params/glossterm.width.xml
   trunk/docs/docbook/src/main/resources/params/graphic.default.extension.xml
   trunk/docs/docbook/src/main/resources/params/graphical.admonition.properties.xml
   trunk/docs/docbook/src/main/resources/params/graphicsize.extension.xml
   trunk/docs/docbook/src/main/resources/params/graphicsize.use.img.src.path.xml
   trunk/docs/docbook/src/main/resources/params/header.column.widths.xml
   trunk/docs/docbook/src/main/resources/params/header.content.properties.xml
   trunk/docs/docbook/src/main/resources/params/header.rule.xml
   trunk/docs/docbook/src/main/resources/params/header.table.height.xml
   trunk/docs/docbook/src/main/resources/params/headers.on.blank.pages.xml
   trunk/docs/docbook/src/main/resources/params/highlight.default.language.xml
   trunk/docs/docbook/src/main/resources/params/highlight.source.xml
   trunk/docs/docbook/src/main/resources/params/html.append.xml
   trunk/docs/docbook/src/main/resources/params/html.base.xml
   trunk/docs/docbook/src/main/resources/params/html.cellpadding.xml
   trunk/docs/docbook/src/main/resources/params/html.cellspacing.xml
   trunk/docs/docbook/src/main/resources/params/html.cleanup.xml
   trunk/docs/docbook/src/main/resources/params/html.ext.xml
   trunk/docs/docbook/src/main/resources/params/html.extra.head.links.xml
   trunk/docs/docbook/src/main/resources/params/html.head.legalnotice.link.multiple.xml
   trunk/docs/docbook/src/main/resources/params/html.head.legalnotice.link.types.xml
   trunk/docs/docbook/src/main/resources/params/html.longdesc.link.xml
   trunk/docs/docbook/src/main/resources/params/html.longdesc.xml
   trunk/docs/docbook/src/main/resources/params/html.stylesheet.type.xml
   trunk/docs/docbook/src/main/resources/params/html.stylesheet.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.alias.file.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.autolabel.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.back.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.forward.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.hideshow.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.home.url.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.home.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump1.title.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump1.url.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump1.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump2.title.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump2.url.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump2.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.locate.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.next.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.options.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.prev.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.print.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.refresh.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.stop.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.button.zoom.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.chm.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.default.topic.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.display.progress.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.encoding.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.enhanced.decompilation.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.enumerate.images.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.force.map.and.alias.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.binary.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.folders.instead.books.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.section.depth.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.show.root.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.width.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.hhk.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.tail.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.window.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.windows.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.map.file.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.only.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.remember.window.position.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.show.advanced.search.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.show.favorities.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.show.menu.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.show.toolbar.text.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.title.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.use.hhk.xml
   trunk/docs/docbook/src/main/resources/params/htmlhelp.window.geometry.xml
   trunk/docs/docbook/src/main/resources/params/hyphenate.verbatim.characters.xml
   trunk/docs/docbook/src/main/resources/params/hyphenate.verbatim.xml
   trunk/docs/docbook/src/main/resources/params/hyphenate.xml
   trunk/docs/docbook/src/main/resources/params/id.warnings.xml
   trunk/docs/docbook/src/main/resources/params/ignore.image.scaling.xml
   trunk/docs/docbook/src/main/resources/params/img.src.path.xml
   trunk/docs/docbook/src/main/resources/params/index.div.title.properties.xml
   trunk/docs/docbook/src/main/resources/params/index.entry.properties.xml
   trunk/docs/docbook/src/main/resources/params/index.method.xml
   trunk/docs/docbook/src/main/resources/params/index.number.separator.xml
   trunk/docs/docbook/src/main/resources/params/index.on.role.xml
   trunk/docs/docbook/src/main/resources/params/index.on.type.xml
   trunk/docs/docbook/src/main/resources/params/index.page.number.properties.xml
   trunk/docs/docbook/src/main/resources/params/index.prefer.titleabbrev.xml
   trunk/docs/docbook/src/main/resources/params/index.preferred.page.properties.xml
   trunk/docs/docbook/src/main/resources/params/index.range.separator.xml
   trunk/docs/docbook/src/main/resources/params/index.term.separator.xml
   trunk/docs/docbook/src/main/resources/params/informal.object.properties.xml
   trunk/docs/docbook/src/main/resources/params/informalequation.properties.xml
   trunk/docs/docbook/src/main/resources/params/informalexample.properties.xml
   trunk/docs/docbook/src/main/resources/params/informalfigure.properties.xml
   trunk/docs/docbook/src/main/resources/params/informaltable.properties.xml
   trunk/docs/docbook/src/main/resources/params/inherit.keywords.xml
   trunk/docs/docbook/src/main/resources/params/insert.link.page.number.xml
   trunk/docs/docbook/src/main/resources/params/insert.olink.page.number.xml
   trunk/docs/docbook/src/main/resources/params/insert.olink.pdf.frag.xml
   trunk/docs/docbook/src/main/resources/params/insert.xref.page.number.xml
   trunk/docs/docbook/src/main/resources/params/itemizedlist.label.properties.xml
   trunk/docs/docbook/src/main/resources/params/itemizedlist.label.width.xml
   trunk/docs/docbook/src/main/resources/params/itemizedlist.properties.xml
   trunk/docs/docbook/src/main/resources/params/keep.relative.image.uris.xml
   trunk/docs/docbook/src/main/resources/params/l10n.gentext.default.language.xml
   trunk/docs/docbook/src/main/resources/params/l10n.gentext.language.xml
   trunk/docs/docbook/src/main/resources/params/l10n.gentext.use.xref.language.xml
   trunk/docs/docbook/src/main/resources/params/l10n.lang.value.rfc.compliant.xml
   trunk/docs/docbook/src/main/resources/params/label.from.part.xml
   trunk/docs/docbook/src/main/resources/params/line-height.xml
   trunk/docs/docbook/src/main/resources/params/linenumbering.everyNth.xml
   trunk/docs/docbook/src/main/resources/params/linenumbering.extension.xml
   trunk/docs/docbook/src/main/resources/params/linenumbering.separator.xml
   trunk/docs/docbook/src/main/resources/params/linenumbering.width.xml
   trunk/docs/docbook/src/main/resources/params/link.mailto.url.xml
   trunk/docs/docbook/src/main/resources/params/list.block.properties.xml
   trunk/docs/docbook/src/main/resources/params/list.block.spacing.xml
   trunk/docs/docbook/src/main/resources/params/list.item.spacing.xml
   trunk/docs/docbook/src/main/resources/params/make.graphic.viewport.xml
   trunk/docs/docbook/src/main/resources/params/make.index.markup.xml
   trunk/docs/docbook/src/main/resources/params/make.single.year.ranges.xml
   trunk/docs/docbook/src/main/resources/params/make.valid.html.xml
   trunk/docs/docbook/src/main/resources/params/make.year.ranges.xml
   trunk/docs/docbook/src/main/resources/params/man.break.after.slash.xml
   trunk/docs/docbook/src/main/resources/params/man.charmap.enabled.xml
   trunk/docs/docbook/src/main/resources/params/man.charmap.subset.profile.xml
   trunk/docs/docbook/src/main/resources/params/man.charmap.uri.xml
   trunk/docs/docbook/src/main/resources/params/man.charmap.use.subset.xml
   trunk/docs/docbook/src/main/resources/params/man.font.funcprototype.xml
   trunk/docs/docbook/src/main/resources/params/man.font.funcsynopsisinfo.xml
   trunk/docs/docbook/src/main/resources/params/man.font.table.headings.xml
   trunk/docs/docbook/src/main/resources/params/man.font.table.title.xml
   trunk/docs/docbook/src/main/resources/params/man.hyphenate.computer.inlines.xml
   trunk/docs/docbook/src/main/resources/params/man.hyphenate.filenames.xml
   trunk/docs/docbook/src/main/resources/params/man.hyphenate.urls.xml
   trunk/docs/docbook/src/main/resources/params/man.hyphenate.xml
   trunk/docs/docbook/src/main/resources/params/man.indent.blurbs.xml
   trunk/docs/docbook/src/main/resources/params/man.indent.lists.xml
   trunk/docs/docbook/src/main/resources/params/man.indent.refsect.xml
   trunk/docs/docbook/src/main/resources/params/man.indent.verbatims.xml
   trunk/docs/docbook/src/main/resources/params/man.indent.width.xml
   trunk/docs/docbook/src/main/resources/params/man.justify.xml
   trunk/docs/docbook/src/main/resources/params/man.links.are.numbered.xml
   trunk/docs/docbook/src/main/resources/params/man.links.are.underlined.xml
   trunk/docs/docbook/src/main/resources/params/man.links.list.enabled.xml
   trunk/docs/docbook/src/main/resources/params/man.links.list.heading.xml
   trunk/docs/docbook/src/main/resources/params/man.output.base.dir.xml
   trunk/docs/docbook/src/main/resources/params/man.output.encoding.xml
   trunk/docs/docbook/src/main/resources/params/man.output.in.separate.dir.xml
   trunk/docs/docbook/src/main/resources/params/man.output.lang.in.name.enabled.xml
   trunk/docs/docbook/src/main/resources/params/man.output.manifest.enabled.xml
   trunk/docs/docbook/src/main/resources/params/man.output.manifest.filename.xml
   trunk/docs/docbook/src/main/resources/params/man.output.quietly.xml
   trunk/docs/docbook/src/main/resources/params/man.output.subdirs.enabled.xml
   trunk/docs/docbook/src/main/resources/params/man.segtitle.suppress.xml
   trunk/docs/docbook/src/main/resources/params/man.string.subst.map.local.post.xml
   trunk/docs/docbook/src/main/resources/params/man.string.subst.map.local.pre.xml
   trunk/docs/docbook/src/main/resources/params/man.string.subst.map.xml
   trunk/docs/docbook/src/main/resources/params/man.subheading.divider.enabled.xml
   trunk/docs/docbook/src/main/resources/params/man.subheading.divider.xml
   trunk/docs/docbook/src/main/resources/params/man.table.footnotes.divider.xml
   trunk/docs/docbook/src/main/resources/params/man.th.extra1.suppress.xml
   trunk/docs/docbook/src/main/resources/params/man.th.extra2.max.length.xml
   trunk/docs/docbook/src/main/resources/params/man.th.extra2.suppress.xml
   trunk/docs/docbook/src/main/resources/params/man.th.extra3.max.length.xml
   trunk/docs/docbook/src/main/resources/params/man.th.extra3.suppress.xml
   trunk/docs/docbook/src/main/resources/params/man.th.title.max.length.xml
   trunk/docs/docbook/src/main/resources/params/manifest.in.base.dir.xml
   trunk/docs/docbook/src/main/resources/params/manifest.xml
   trunk/docs/docbook/src/main/resources/params/manual.toc.xml
   trunk/docs/docbook/src/main/resources/params/margin.note.float.type.xml
   trunk/docs/docbook/src/main/resources/params/margin.note.properties.xml
   trunk/docs/docbook/src/main/resources/params/margin.note.title.properties.xml
   trunk/docs/docbook/src/main/resources/params/margin.note.width.xml
   trunk/docs/docbook/src/main/resources/params/marker.section.level.xml
   trunk/docs/docbook/src/main/resources/params/menuchoice.menu.separator.xml
   trunk/docs/docbook/src/main/resources/params/menuchoice.separator.xml
   trunk/docs/docbook/src/main/resources/params/monospace.font.family.xml
   trunk/docs/docbook/src/main/resources/params/monospace.properties.xml
   trunk/docs/docbook/src/main/resources/params/monospace.verbatim.properties.xml
   trunk/docs/docbook/src/main/resources/params/navig.graphics.extension.xml
   trunk/docs/docbook/src/main/resources/params/navig.graphics.path.xml
   trunk/docs/docbook/src/main/resources/params/navig.graphics.xml
   trunk/docs/docbook/src/main/resources/params/navig.showtitles.xml
   trunk/docs/docbook/src/main/resources/params/nominal.image.depth.xml
   trunk/docs/docbook/src/main/resources/params/nominal.image.width.xml
   trunk/docs/docbook/src/main/resources/params/nominal.table.width.xml
   trunk/docs/docbook/src/main/resources/params/nongraphical.admonition.properties.xml
   trunk/docs/docbook/src/main/resources/params/normal.para.spacing.xml
   trunk/docs/docbook/src/main/resources/params/olink.base.uri.xml
   trunk/docs/docbook/src/main/resources/params/olink.debug.xml
   trunk/docs/docbook/src/main/resources/params/olink.doctitle.xml
   trunk/docs/docbook/src/main/resources/params/olink.fragid.xml
   trunk/docs/docbook/src/main/resources/params/olink.lang.fallback.sequence.xml
   trunk/docs/docbook/src/main/resources/params/olink.outline.ext.xml
   trunk/docs/docbook/src/main/resources/params/olink.properties.xml
   trunk/docs/docbook/src/main/resources/params/olink.pubid.xml
   trunk/docs/docbook/src/main/resources/params/olink.resolver.xml
   trunk/docs/docbook/src/main/resources/params/olink.sysid.xml
   trunk/docs/docbook/src/main/resources/params/orderedlist.label.properties.xml
   trunk/docs/docbook/src/main/resources/params/orderedlist.label.width.xml
   trunk/docs/docbook/src/main/resources/params/orderedlist.properties.xml
   trunk/docs/docbook/src/main/resources/params/othercredit.like.author.enabled.xml
   trunk/docs/docbook/src/main/resources/params/page.height.portrait.xml
   trunk/docs/docbook/src/main/resources/params/page.height.xml
   trunk/docs/docbook/src/main/resources/params/page.margin.bottom.xml
   trunk/docs/docbook/src/main/resources/params/page.margin.inner.xml
   trunk/docs/docbook/src/main/resources/params/page.margin.outer.xml
   trunk/docs/docbook/src/main/resources/params/page.margin.top.xml
   trunk/docs/docbook/src/main/resources/params/page.orientation.xml
   trunk/docs/docbook/src/main/resources/params/page.width.portrait.xml
   trunk/docs/docbook/src/main/resources/params/page.width.xml
   trunk/docs/docbook/src/main/resources/params/pages.template.xml
   trunk/docs/docbook/src/main/resources/params/paper.type.xml
   trunk/docs/docbook/src/main/resources/params/para.propagates.style.xml
   trunk/docs/docbook/src/main/resources/params/part.autolabel.xml
   trunk/docs/docbook/src/main/resources/params/passivetex.extensions.xml
   trunk/docs/docbook/src/main/resources/params/pgwide.properties.xml
   trunk/docs/docbook/src/main/resources/params/phrase.propagates.style.xml
   trunk/docs/docbook/src/main/resources/params/pixels.per.inch.xml
   trunk/docs/docbook/src/main/resources/params/points.per.em.xml
   trunk/docs/docbook/src/main/resources/params/preface.autolabel.xml
   trunk/docs/docbook/src/main/resources/params/prefer.internal.olink.xml
   trunk/docs/docbook/src/main/resources/params/preferred.mediaobject.role.xml
   trunk/docs/docbook/src/main/resources/params/procedure.properties.xml
   trunk/docs/docbook/src/main/resources/params/process.empty.source.toc.xml
   trunk/docs/docbook/src/main/resources/params/process.source.toc.xml
   trunk/docs/docbook/src/main/resources/params/profile.arch.xml
   trunk/docs/docbook/src/main/resources/params/profile.attribute.xml
   trunk/docs/docbook/src/main/resources/params/profile.condition.xml
   trunk/docs/docbook/src/main/resources/params/profile.conformance.xml
   trunk/docs/docbook/src/main/resources/params/profile.lang.xml
   trunk/docs/docbook/src/main/resources/params/profile.os.xml
   trunk/docs/docbook/src/main/resources/params/profile.revision.xml
   trunk/docs/docbook/src/main/resources/params/profile.revisionflag.xml
   trunk/docs/docbook/src/main/resources/params/profile.role.xml
   trunk/docs/docbook/src/main/resources/params/profile.security.xml
   trunk/docs/docbook/src/main/resources/params/profile.separator.xml
   trunk/docs/docbook/src/main/resources/params/profile.status.xml
   trunk/docs/docbook/src/main/resources/params/profile.userlevel.xml
   trunk/docs/docbook/src/main/resources/params/profile.value.xml
   trunk/docs/docbook/src/main/resources/params/profile.vendor.xml
   trunk/docs/docbook/src/main/resources/params/punct.honorific.xml
   trunk/docs/docbook/src/main/resources/params/qanda.defaultlabel.xml
   trunk/docs/docbook/src/main/resources/params/qanda.in.toc.xml
   trunk/docs/docbook/src/main/resources/params/qanda.inherit.numeration.xml
   trunk/docs/docbook/src/main/resources/params/qanda.nested.in.toc.xml
   trunk/docs/docbook/src/main/resources/params/qanda.title.level1.properties.xml
   trunk/docs/docbook/src/main/resources/params/qanda.title.level2.properties.xml
   trunk/docs/docbook/src/main/resources/params/qanda.title.level3.properties.xml
   trunk/docs/docbook/src/main/resources/params/qanda.title.level4.properties.xml
   trunk/docs/docbook/src/main/resources/params/qanda.title.level5.properties.xml
   trunk/docs/docbook/src/main/resources/params/qanda.title.level6.properties.xml
   trunk/docs/docbook/src/main/resources/params/qanda.title.properties.xml
   trunk/docs/docbook/src/main/resources/params/qandadiv.autolabel.xml
   trunk/docs/docbook/src/main/resources/params/refclass.suppress.xml
   trunk/docs/docbook/src/main/resources/params/refentry.date.profile.enabled.xml
   trunk/docs/docbook/src/main/resources/params/refentry.date.profile.xml
   trunk/docs/docbook/src/main/resources/params/refentry.generate.name.xml
   trunk/docs/docbook/src/main/resources/params/refentry.generate.title.xml
   trunk/docs/docbook/src/main/resources/params/refentry.manual.fallback.profile.xml
   trunk/docs/docbook/src/main/resources/params/refentry.manual.profile.enabled.xml
   trunk/docs/docbook/src/main/resources/params/refentry.manual.profile.xml
   trunk/docs/docbook/src/main/resources/params/refentry.meta.get.quietly.xml
   trunk/docs/docbook/src/main/resources/params/refentry.pagebreak.xml
   trunk/docs/docbook/src/main/resources/params/refentry.separator.xml
   trunk/docs/docbook/src/main/resources/params/refentry.source.fallback.profile.xml
   trunk/docs/docbook/src/main/resources/params/refentry.source.name.profile.enabled.xml
   trunk/docs/docbook/src/main/resources/params/refentry.source.name.profile.xml
   trunk/docs/docbook/src/main/resources/params/refentry.source.name.suppress.xml
   trunk/docs/docbook/src/main/resources/params/refentry.title.properties.xml
   trunk/docs/docbook/src/main/resources/params/refentry.version.profile.enabled.xml
   trunk/docs/docbook/src/main/resources/params/refentry.version.profile.xml
   trunk/docs/docbook/src/main/resources/params/refentry.version.suppress.xml
   trunk/docs/docbook/src/main/resources/params/refentry.xref.manvolnum.xml
   trunk/docs/docbook/src/main/resources/params/reference.autolabel.xml
   trunk/docs/docbook/src/main/resources/params/region.after.extent.xml
   trunk/docs/docbook/src/main/resources/params/region.before.extent.xml
   trunk/docs/docbook/src/main/resources/params/revhistory.table.cell.properties.xml
   trunk/docs/docbook/src/main/resources/params/revhistory.table.properties.xml
   trunk/docs/docbook/src/main/resources/params/revhistory.title.properties.xml
   trunk/docs/docbook/src/main/resources/params/root.filename.xml
   trunk/docs/docbook/src/main/resources/params/root.properties.xml
   trunk/docs/docbook/src/main/resources/params/rootid.xml
   trunk/docs/docbook/src/main/resources/params/runinhead.default.title.end.punct.xml
   trunk/docs/docbook/src/main/resources/params/runinhead.title.end.punct.xml
   trunk/docs/docbook/src/main/resources/params/sans.font.family.xml
   trunk/docs/docbook/src/main/resources/params/saxon.callouts.xml
   trunk/docs/docbook/src/main/resources/params/saxon.character.representation.xml
   trunk/docs/docbook/src/main/resources/params/saxon.linenumbering.xml
   trunk/docs/docbook/src/main/resources/params/saxon.tablecolumns.xml
   trunk/docs/docbook/src/main/resources/params/section.autolabel.max.depth.xml
   trunk/docs/docbook/src/main/resources/params/section.autolabel.xml
   trunk/docs/docbook/src/main/resources/params/section.label.includes.component.label.xml
   trunk/docs/docbook/src/main/resources/params/section.level1.properties.xml
   trunk/docs/docbook/src/main/resources/params/section.level2.properties.xml
   trunk/docs/docbook/src/main/resources/params/section.level3.properties.xml
   trunk/docs/docbook/src/main/resources/params/section.level4.properties.xml
   trunk/docs/docbook/src/main/resources/params/section.level5.properties.xml
   trunk/docs/docbook/src/main/resources/params/section.level6.properties.xml
   trunk/docs/docbook/src/main/resources/params/section.properties.xml
   trunk/docs/docbook/src/main/resources/params/section.title.level1.properties.xml
   trunk/docs/docbook/src/main/resources/params/section.title.level2.properties.xml
   trunk/docs/docbook/src/main/resources/params/section.title.level3.properties.xml
   trunk/docs/docbook/src/main/resources/params/section.title.level4.properties.xml
   trunk/docs/docbook/src/main/resources/params/section.title.level5.properties.xml
   trunk/docs/docbook/src/main/resources/params/section.title.level6.properties.xml
   trunk/docs/docbook/src/main/resources/params/section.title.properties.xml
   trunk/docs/docbook/src/main/resources/params/segmentedlist.as.table.xml
   trunk/docs/docbook/src/main/resources/params/shade.verbatim.style.xml
   trunk/docs/docbook/src/main/resources/params/shade.verbatim.xml
   trunk/docs/docbook/src/main/resources/params/show.comments.xml
   trunk/docs/docbook/src/main/resources/params/show.revisionflag.xml
   trunk/docs/docbook/src/main/resources/params/side.float.properties.xml
   trunk/docs/docbook/src/main/resources/params/sidebar.float.type.xml
   trunk/docs/docbook/src/main/resources/params/sidebar.float.width.xml
   trunk/docs/docbook/src/main/resources/params/sidebar.properties.xml
   trunk/docs/docbook/src/main/resources/params/sidebar.title.properties.xml
   trunk/docs/docbook/src/main/resources/params/simplesect.in.toc.xml
   trunk/docs/docbook/src/main/resources/params/spacing.paras.xml
   trunk/docs/docbook/src/main/resources/params/subscript.properties.xml
   trunk/docs/docbook/src/main/resources/params/superscript.properties.xml
   trunk/docs/docbook/src/main/resources/params/suppress.footer.navigation.xml
   trunk/docs/docbook/src/main/resources/params/suppress.header.navigation.xml
   trunk/docs/docbook/src/main/resources/params/suppress.navigation.xml
   trunk/docs/docbook/src/main/resources/params/symbol.font.family.xml
   trunk/docs/docbook/src/main/resources/params/table.borders.with.css.xml
   trunk/docs/docbook/src/main/resources/params/table.cell.border.color.xml
   trunk/docs/docbook/src/main/resources/params/table.cell.border.style.xml
   trunk/docs/docbook/src/main/resources/params/table.cell.border.thickness.xml
   trunk/docs/docbook/src/main/resources/params/table.cell.padding.xml
   trunk/docs/docbook/src/main/resources/params/table.entry.padding.xml
   trunk/docs/docbook/src/main/resources/params/table.footnote.number.format.xml
   trunk/docs/docbook/src/main/resources/params/table.footnote.number.symbols.xml
   trunk/docs/docbook/src/main/resources/params/table.footnote.properties.xml
   trunk/docs/docbook/src/main/resources/params/table.frame.border.color.xml
   trunk/docs/docbook/src/main/resources/params/table.frame.border.style.xml
   trunk/docs/docbook/src/main/resources/params/table.frame.border.thickness.xml
   trunk/docs/docbook/src/main/resources/params/table.properties.xml
   trunk/docs/docbook/src/main/resources/params/table.table.properties.xml
   trunk/docs/docbook/src/main/resources/params/tablecolumns.extension.xml
   trunk/docs/docbook/src/main/resources/params/target.database.document.xml
   trunk/docs/docbook/src/main/resources/params/targets.filename.xml
   trunk/docs/docbook/src/main/resources/params/template.xml
   trunk/docs/docbook/src/main/resources/params/tex.math.delims.xml
   trunk/docs/docbook/src/main/resources/params/tex.math.file.xml
   trunk/docs/docbook/src/main/resources/params/tex.math.in.alt.xml
   trunk/docs/docbook/src/main/resources/params/textdata.default.encoding.xml
   trunk/docs/docbook/src/main/resources/params/textinsert.extension.xml
   trunk/docs/docbook/src/main/resources/params/title.font.family.xml
   trunk/docs/docbook/src/main/resources/params/title.margin.left.xml
   trunk/docs/docbook/src/main/resources/params/toc.indent.width.xml
   trunk/docs/docbook/src/main/resources/params/toc.line.properties.xml
   trunk/docs/docbook/src/main/resources/params/toc.list.type.xml
   trunk/docs/docbook/src/main/resources/params/toc.margin.properties.xml
   trunk/docs/docbook/src/main/resources/params/toc.max.depth.xml
   trunk/docs/docbook/src/main/resources/params/toc.section.depth.xml
   trunk/docs/docbook/src/main/resources/params/ulink.footnotes.xml
   trunk/docs/docbook/src/main/resources/params/ulink.hyphenate.chars.xml
   trunk/docs/docbook/src/main/resources/params/ulink.hyphenate.xml
   trunk/docs/docbook/src/main/resources/params/ulink.show.xml
   trunk/docs/docbook/src/main/resources/params/ulink.target.xml
   trunk/docs/docbook/src/main/resources/params/use.embed.for.svg.xml
   trunk/docs/docbook/src/main/resources/params/use.extensions.xml
   trunk/docs/docbook/src/main/resources/params/use.id.as.filename.xml
   trunk/docs/docbook/src/main/resources/params/use.id.function.xml
   trunk/docs/docbook/src/main/resources/params/use.local.olink.style.xml
   trunk/docs/docbook/src/main/resources/params/use.role.as.xrefstyle.xml
   trunk/docs/docbook/src/main/resources/params/use.role.for.mediaobject.xml
   trunk/docs/docbook/src/main/resources/params/use.svg.xml
   trunk/docs/docbook/src/main/resources/params/variablelist.as.blocks.xml
   trunk/docs/docbook/src/main/resources/params/variablelist.as.table.xml
   trunk/docs/docbook/src/main/resources/params/variablelist.max.termlength.xml
   trunk/docs/docbook/src/main/resources/params/variablelist.term.break.after.xml
   trunk/docs/docbook/src/main/resources/params/variablelist.term.separator.xml
   trunk/docs/docbook/src/main/resources/params/verbatim.properties.xml
   trunk/docs/docbook/src/main/resources/params/wordml.template.xml
   trunk/docs/docbook/src/main/resources/params/xep.extensions.xml
   trunk/docs/docbook/src/main/resources/params/xep.index.item.properties.xml
   trunk/docs/docbook/src/main/resources/params/xref.label-page.separator.xml
   trunk/docs/docbook/src/main/resources/params/xref.label-title.separator.xml
   trunk/docs/docbook/src/main/resources/params/xref.properties.xml
   trunk/docs/docbook/src/main/resources/params/xref.title-page.separator.xml
   trunk/docs/docbook/src/main/resources/params/xref.with.number.and.title.xml
   trunk/docs/docbook/src/main/resources/profiling/
   trunk/docs/docbook/src/main/resources/profiling/profile-mode.xsl
   trunk/docs/docbook/src/main/resources/profiling/profile.xsl
   trunk/docs/docbook/src/main/resources/profiling/strip-attributes.xsl
   trunk/docs/docbook/src/main/resources/profiling/xsl2profile.xsl
   trunk/docs/docbook/src/main/resources/roundtrip/
   trunk/docs/docbook/src/main/resources/roundtrip/blocks-spec.xml
   trunk/docs/docbook/src/main/resources/roundtrip/dbk2ooo.xsl
   trunk/docs/docbook/src/main/resources/roundtrip/dbk2pages.xsl
   trunk/docs/docbook/src/main/resources/roundtrip/dbk2wordml.xsl
   trunk/docs/docbook/src/main/resources/roundtrip/dbk2wp.xsl
   trunk/docs/docbook/src/main/resources/roundtrip/docbook-pages.xsl
   trunk/docs/docbook/src/main/resources/roundtrip/docbook.xsl
   trunk/docs/docbook/src/main/resources/roundtrip/pages-normalise.xsl
   trunk/docs/docbook/src/main/resources/roundtrip/param.xsl
   trunk/docs/docbook/src/main/resources/roundtrip/sections-spec.xml
   trunk/docs/docbook/src/main/resources/roundtrip/specifications.xml
   trunk/docs/docbook/src/main/resources/roundtrip/supported.xml
   trunk/docs/docbook/src/main/resources/roundtrip/template-pages.xml
   trunk/docs/docbook/src/main/resources/roundtrip/template.dot
   trunk/docs/docbook/src/main/resources/roundtrip/template.xml
   trunk/docs/docbook/src/main/resources/roundtrip/wordml-blocks.xsl
   trunk/docs/docbook/src/main/resources/roundtrip/wordml-final.xsl
   trunk/docs/docbook/src/main/resources/roundtrip/wordml-normalise.xsl
   trunk/docs/docbook/src/main/resources/roundtrip/wordml-sections.xsl
   trunk/docs/docbook/src/main/resources/roundtrip/wordml.xsl
   trunk/docs/docbook/src/main/resources/slides/
   trunk/docs/docbook/src/main/resources/slides/browser/
   trunk/docs/docbook/src/main/resources/slides/browser/CTOCWidget.js
   trunk/docs/docbook/src/main/resources/slides/browser/overlay.js
   trunk/docs/docbook/src/main/resources/slides/browser/slides-default.css
   trunk/docs/docbook/src/main/resources/slides/browser/slides-frames.css
   trunk/docs/docbook/src/main/resources/slides/browser/slides-plain.css
   trunk/docs/docbook/src/main/resources/slides/browser/slides-table.css
   trunk/docs/docbook/src/main/resources/slides/browser/slides-w3c.css
   trunk/docs/docbook/src/main/resources/slides/browser/slides.css
   trunk/docs/docbook/src/main/resources/slides/browser/slides.js
   trunk/docs/docbook/src/main/resources/slides/browser/ua.js
   trunk/docs/docbook/src/main/resources/slides/browser/xbCollapsibleLists.js
   trunk/docs/docbook/src/main/resources/slides/browser/xbDOM.js
   trunk/docs/docbook/src/main/resources/slides/browser/xbDebug.js
   trunk/docs/docbook/src/main/resources/slides/browser/xbLibrary.js
   trunk/docs/docbook/src/main/resources/slides/browser/xbStyle-css.js
   trunk/docs/docbook/src/main/resources/slides/browser/xbStyle-nn4.js
   trunk/docs/docbook/src/main/resources/slides/browser/xbStyle-not-supported.js
   trunk/docs/docbook/src/main/resources/slides/browser/xbStyle.js
   trunk/docs/docbook/src/main/resources/slides/fo/
   trunk/docs/docbook/src/main/resources/slides/fo/plain-titlepage.xml
   trunk/docs/docbook/src/main/resources/slides/fo/plain-titlepage.xsl
   trunk/docs/docbook/src/main/resources/slides/fo/plain.xsl
   trunk/docs/docbook/src/main/resources/slides/graphics/
   trunk/docs/docbook/src/main/resources/slides/graphics/active/
   trunk/docs/docbook/src/main/resources/slides/graphics/active/arr-next.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/arr-prev.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/but-fforward.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/but-info.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/but-next.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/but-prev.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/but-rewind.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-home.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-next.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-prev.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-toc.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-up.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/w3c-next.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/w3c-prev.png
   trunk/docs/docbook/src/main/resources/slides/graphics/active/w3c-toc.png
   trunk/docs/docbook/src/main/resources/slides/graphics/arrow.gif
   trunk/docs/docbook/src/main/resources/slides/graphics/blank.gif
   trunk/docs/docbook/src/main/resources/slides/graphics/blank.png
   trunk/docs/docbook/src/main/resources/slides/graphics/hidetoc.gif
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-fforward.png
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-info.png
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-next.png
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-prev.png
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-rewind.png
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-home.png
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-next.png
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-prev.png
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-toc.png
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-up.png
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/w3c-next.png
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/w3c-prev.png
   trunk/docs/docbook/src/main/resources/slides/graphics/inactive/w3c-toc.png
   trunk/docs/docbook/src/main/resources/slides/graphics/plus.gif
   trunk/docs/docbook/src/main/resources/slides/graphics/pointer.png
   trunk/docs/docbook/src/main/resources/slides/graphics/showtoc.gif
   trunk/docs/docbook/src/main/resources/slides/graphics/toc/
   trunk/docs/docbook/src/main/resources/slides/graphics/toc/bullet.png
   trunk/docs/docbook/src/main/resources/slides/graphics/toc/closed.png
   trunk/docs/docbook/src/main/resources/slides/graphics/toc/open.png
   trunk/docs/docbook/src/main/resources/slides/html/
   trunk/docs/docbook/src/main/resources/slides/html/css.xsl
   trunk/docs/docbook/src/main/resources/slides/html/default.xsl
   trunk/docs/docbook/src/main/resources/slides/html/flat.xsl
   trunk/docs/docbook/src/main/resources/slides/html/frames.xsl
   trunk/docs/docbook/src/main/resources/slides/html/graphics.xsl
   trunk/docs/docbook/src/main/resources/slides/html/jscript.xsl
   trunk/docs/docbook/src/main/resources/slides/html/plain.xsl
   trunk/docs/docbook/src/main/resources/slides/html/slides-common.xsl
   trunk/docs/docbook/src/main/resources/slides/html/tables.xsl
   trunk/docs/docbook/src/main/resources/slides/html/vslides.xsl
   trunk/docs/docbook/src/main/resources/slides/html/w3c.xsl
   trunk/docs/docbook/src/main/resources/slides/htmlhelp/
   trunk/docs/docbook/src/main/resources/slides/htmlhelp/htmlhelp.xsl
   trunk/docs/docbook/src/main/resources/slides/keynote/
   trunk/docs/docbook/src/main/resources/slides/keynote/default.xsl
   trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/
   trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/cmp.xsl
   trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/date-time.xsl
   trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/example.xsl
   trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/markup.xsl
   trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/math.xsl
   trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/node.xsl
   trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/stdlib.xsl
   trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/string.xsl
   trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/svg.xsl
   trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/uri.xsl
   trunk/docs/docbook/src/main/resources/slides/param.xsl
   trunk/docs/docbook/src/main/resources/slides/svg/
   trunk/docs/docbook/src/main/resources/slides/svg/default.xsl
   trunk/docs/docbook/src/main/resources/slides/xhtml/
   trunk/docs/docbook/src/main/resources/slides/xhtml/css.xsl
   trunk/docs/docbook/src/main/resources/slides/xhtml/default.xsl
   trunk/docs/docbook/src/main/resources/slides/xhtml/flat.xsl
   trunk/docs/docbook/src/main/resources/slides/xhtml/frames.xsl
   trunk/docs/docbook/src/main/resources/slides/xhtml/graphics.xsl
   trunk/docs/docbook/src/main/resources/slides/xhtml/html2xhtml.xsl
   trunk/docs/docbook/src/main/resources/slides/xhtml/jscript.xsl
   trunk/docs/docbook/src/main/resources/slides/xhtml/plain.xsl
   trunk/docs/docbook/src/main/resources/slides/xhtml/slides-common.xsl
   trunk/docs/docbook/src/main/resources/slides/xhtml/tables.xsl
   trunk/docs/docbook/src/main/resources/slides/xhtml/vslides.xsl
   trunk/docs/docbook/src/main/resources/slides/xhtml/w3c.xsl
   trunk/docs/docbook/src/main/resources/template/
   trunk/docs/docbook/src/main/resources/template/titlepage.xsl
   trunk/docs/docbook/src/main/resources/tools/
   trunk/docs/docbook/src/main/resources/tools/make/
   trunk/docs/docbook/src/main/resources/tools/make/Makefile.DocBook
   trunk/docs/docbook/src/main/resources/tools/make/Makefile.combine
   trunk/docs/docbook/src/main/resources/tools/make/Makefile.docParam
   trunk/docs/docbook/src/main/resources/tools/xsl/
   trunk/docs/docbook/src/main/resources/tools/xsl/build/
   trunk/docs/docbook/src/main/resources/tools/xsl/build/addnewline.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/clrefentry.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/dblatex-release-notes.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/doc-link-docbook.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/docbook-elements.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/docparam2txt.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/html2roff.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/identity.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/jref2refsect1.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/jrefhtml.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/lrefentry.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/make-elements.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/make-xsl-params.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/pirefentry.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/reference-fo.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/reference-txt.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/reference.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/tdg-link.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/xsl-param-link.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/xsl-params.xsl
   trunk/docs/docbook/src/main/resources/tools/xsl/build/xsl2jref.xsl
   trunk/docs/docbook/src/main/resources/website/
   trunk/docs/docbook/src/main/resources/website/autolayout.xsl
   trunk/docs/docbook/src/main/resources/website/chunk-common.xsl
   trunk/docs/docbook/src/main/resources/website/chunk-tabular.xsl
   trunk/docs/docbook/src/main/resources/website/chunk-website.xsl
   trunk/docs/docbook/src/main/resources/website/head.xsl
   trunk/docs/docbook/src/main/resources/website/makefile-dep.xsl
   trunk/docs/docbook/src/main/resources/website/olink.xsl
   trunk/docs/docbook/src/main/resources/website/param.xml
   trunk/docs/docbook/src/main/resources/website/param.xsl
   trunk/docs/docbook/src/main/resources/website/rss.xsl
   trunk/docs/docbook/src/main/resources/website/tabular.xsl
   trunk/docs/docbook/src/main/resources/website/toc-tabular.xsl
   trunk/docs/docbook/src/main/resources/website/toc.xsl
   trunk/docs/docbook/src/main/resources/website/website-common.xsl
   trunk/docs/docbook/src/main/resources/website/website-targets.xsl
   trunk/docs/docbook/src/main/resources/website/website.xsl
   trunk/docs/docbook/src/main/resources/website/xbel.xsl
   trunk/docs/docbook/src/main/resources/xhtml/
   trunk/docs/docbook/src/main/resources/xhtml/admon.xsl
   trunk/docs/docbook/src/main/resources/xhtml/annotations.xsl
   trunk/docs/docbook/src/main/resources/xhtml/autoidx-kimber.xsl
   trunk/docs/docbook/src/main/resources/xhtml/autoidx-kosek.xsl
   trunk/docs/docbook/src/main/resources/xhtml/autoidx-ng.xsl
   trunk/docs/docbook/src/main/resources/xhtml/autoidx.xsl
   trunk/docs/docbook/src/main/resources/xhtml/autotoc.xsl
   trunk/docs/docbook/src/main/resources/xhtml/biblio.xsl
   trunk/docs/docbook/src/main/resources/xhtml/block.xsl
   trunk/docs/docbook/src/main/resources/xhtml/callout.xsl
   trunk/docs/docbook/src/main/resources/xhtml/changebars.xsl
   trunk/docs/docbook/src/main/resources/xhtml/chunk-code.xsl
   trunk/docs/docbook/src/main/resources/xhtml/chunk-common.xsl
   trunk/docs/docbook/src/main/resources/xhtml/chunk.xsl
   trunk/docs/docbook/src/main/resources/xhtml/chunker.xsl
   trunk/docs/docbook/src/main/resources/xhtml/chunkfast.xsl
   trunk/docs/docbook/src/main/resources/xhtml/chunktoc.xsl
   trunk/docs/docbook/src/main/resources/xhtml/component.xsl
   trunk/docs/docbook/src/main/resources/xhtml/db5strip.xsl
   trunk/docs/docbook/src/main/resources/xhtml/division.xsl
   trunk/docs/docbook/src/main/resources/xhtml/docbook.xsl
   trunk/docs/docbook/src/main/resources/xhtml/ebnf.xsl
   trunk/docs/docbook/src/main/resources/xhtml/footnote.xsl
   trunk/docs/docbook/src/main/resources/xhtml/formal.xsl
   trunk/docs/docbook/src/main/resources/xhtml/glossary.xsl
   trunk/docs/docbook/src/main/resources/xhtml/graphics.xsl
   trunk/docs/docbook/src/main/resources/xhtml/highlight.xsl
   trunk/docs/docbook/src/main/resources/xhtml/html-rtf.xsl
   trunk/docs/docbook/src/main/resources/xhtml/html.xsl
   trunk/docs/docbook/src/main/resources/xhtml/html2xhtml.xsl
   trunk/docs/docbook/src/main/resources/xhtml/htmltbl.xsl
   trunk/docs/docbook/src/main/resources/xhtml/index.xsl
   trunk/docs/docbook/src/main/resources/xhtml/info.xsl
   trunk/docs/docbook/src/main/resources/xhtml/inline.xsl
   trunk/docs/docbook/src/main/resources/xhtml/keywords.xsl
   trunk/docs/docbook/src/main/resources/xhtml/lists.xsl
   trunk/docs/docbook/src/main/resources/xhtml/maketoc.xsl
   trunk/docs/docbook/src/main/resources/xhtml/manifest.xsl
   trunk/docs/docbook/src/main/resources/xhtml/math.xsl
   trunk/docs/docbook/src/main/resources/xhtml/oldchunker.xsl
   trunk/docs/docbook/src/main/resources/xhtml/onechunk.xsl
   trunk/docs/docbook/src/main/resources/xhtml/param.xsl
   trunk/docs/docbook/src/main/resources/xhtml/pi.xsl
   trunk/docs/docbook/src/main/resources/xhtml/profile-chunk-code.xsl
   trunk/docs/docbook/src/main/resources/xhtml/profile-chunk.xsl
   trunk/docs/docbook/src/main/resources/xhtml/profile-docbook.xsl
   trunk/docs/docbook/src/main/resources/xhtml/profile-onechunk.xsl
   trunk/docs/docbook/src/main/resources/xhtml/qandaset.xsl
   trunk/docs/docbook/src/main/resources/xhtml/refentry.xsl
   trunk/docs/docbook/src/main/resources/xhtml/sections.xsl
   trunk/docs/docbook/src/main/resources/xhtml/synop.xsl
   trunk/docs/docbook/src/main/resources/xhtml/table.xsl
   trunk/docs/docbook/src/main/resources/xhtml/task.xsl
   trunk/docs/docbook/src/main/resources/xhtml/titlepage.templates.xsl
   trunk/docs/docbook/src/main/resources/xhtml/titlepage.xsl
   trunk/docs/docbook/src/main/resources/xhtml/toc.xsl
   trunk/docs/docbook/src/main/resources/xhtml/verbatim.xsl
   trunk/docs/docbook/src/main/resources/xhtml/xref.xsl
   trunk/docs/maven-docbook-plugin/
   trunk/docs/maven-docbook-plugin/pom.xml
   trunk/docs/maven-docbook-plugin/src/
   trunk/docs/maven-docbook-plugin/src/main/
   trunk/docs/maven-docbook-plugin/src/main/java/
   trunk/docs/maven-docbook-plugin/src/main/java/org/
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/AbstractDocBookMojo.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/Format.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/GenerationMojo.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/Options.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/ResourceMojo.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/BasicRenderer.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/Formatting.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/HtmlRenderer.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/PdfRenderer.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/Renderer.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/RendererFactory.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/RenderingException.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/FormatType.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/NoOpWriter.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/ResourceHelper.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/TransformerType.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/TransformerFactory.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/XSLTException.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/catalog/
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/catalog/AbstractCatalogManager.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/catalog/ExplicitCatalogManager.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/catalog/ImplicitCatalogManager.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/BasicUrnResolver.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/CurrentVersionResolver.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/ExplicitUrnResolver.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/RelativeJarUriResolver.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/ResolverChain.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/VersionResolver.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/BaselineHandler.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/ContentItem.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/ContentItemDescriptor.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/Diff.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/DiffCreator.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/GenerationException.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/IndexReportGenerator.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationDiffReport.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationHandler.java
   trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationReportGenerator.java
   trunk/docs/maven-docbook-plugin/src/main/resources/
   trunk/docs/maven-docbook-plugin/src/main/resources/META-INF/
   trunk/docs/maven-docbook-plugin/src/main/resources/META-INF/plexus/
   trunk/docs/maven-docbook-plugin/src/main/resources/META-INF/plexus/components.xml
   trunk/docs/maven-docbook-plugin/src/main/resources/translation-diff-report.properties
Modified:
   trunk/docs/pom.xml
   trunk/docs/userguide/en/pom.xml
   trunk/docs/userguide/pom.xml
Log:
Import docbook layer into documentation project

Added: trunk/docs/docbook/pom.xml
===================================================================
--- trunk/docs/docbook/pom.xml	                        (rev 0)
+++ trunk/docs/docbook/pom.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" 
+        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
+        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+	<parent>
+		<artifactId>docs</artifactId>
+		<groupId>org.ajax4jsf</groupId>
+		<version>1.1.2-SNAPSHOT</version>
+	</parent>
+
+    <groupId>org.ajax4jsf.docs</groupId>
+    <artifactId>docbook</artifactId>
+    <packaging>jar</packaging>
+
+    <name>DocBook</name>
+    <description>
+        Based on the DocBook maintained at sourceforge; this is simply a mavenization
+        of that project on the part of JBoss.org for use in Maven builds
+    </description>
+
+    <dependencies>
+        <dependency>
+            <groupId>xml-resolver</groupId>
+            <artifactId>xml-resolver</artifactId>
+            <version>1.1</version>
+        </dependency>
+        <dependency>
+            <groupId>saxon</groupId>
+            <artifactId>saxon</artifactId>
+            <version>8.7</version>
+        </dependency>
+    </dependencies>
+
+</project>

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/CVS.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/CVS.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/CVS.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,90 @@
+package com.nwalsh.saxon;
+
+import java.io.*;
+import java.util.Calendar;
+import java.util.GregorianCalendar;
+import java.util.Date;
+import java.util.Locale;
+import java.util.TimeZone;
+import java.text.DateFormat;
+import java.text.ParseException;
+
+/**
+ * <p>Saxon extension to convert CVS date strings into local time</p>
+ *
+ * <p>$Id: CVS.java 5907 2006-04-27 08:26:47Z xmldoc $</p>
+ *
+ * <p>Copyright (C) 2000 Norman Walsh.</p>
+ *
+ * <p>This class provides a
+ * <a href="http://saxon.sourceforge.net/">Saxon</a>
+ * extension to turn the CVS date strings, which are UTC:</p>
+ *
+ * <pre>&#36;Date: 2000/11/09 02:34:20 &#36;</pre>
+ *
+ * <p>into legibly formatted local time:</p>
+ *
+ * <pre>Wed Nov 08 18:34:20 PST 2000</pre>
+ *
+ * <p>(I happened to be in California when I wrote this documentation.)</p>
+
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: CVS.java 5907 2006-04-27 08:26:47Z xmldoc $
+ *
+ */
+public class CVS {
+  /**
+   * <p>Constructor for CVS</p>
+   *
+   * <p>All of the methods are static, so the constructor does nothing.</p>
+   */
+  public CVS() {
+  }
+
+  /**
+   * <p>Convert a CVS date string into local time.</p>
+   *
+   * @param cvsDate The CVS date string.
+   *
+   * @return The date, converted to local time and reformatted.
+   */
+  public static String localTime (String cvsDate) {
+    // A cvsDate has the following form "$Date: 2006-04-27 17:26:47 +0900 (Thu, 27 Apr 2006) $"
+    if (!cvsDate.startsWith("$Date: ")) {
+      return cvsDate;
+    }
+
+    String yrS = cvsDate.substring(7,11);
+    String moS = cvsDate.substring(12,14);
+    String daS = cvsDate.substring(15,17);
+    String hrS = cvsDate.substring(18,20);
+    String miS = cvsDate.substring(21,23);
+    String seS = cvsDate.substring(24,26);
+
+    TimeZone tz = TimeZone.getTimeZone("GMT+0");
+    GregorianCalendar gmtCal = new GregorianCalendar(tz);
+
+    try {
+      gmtCal.set(Integer.parseInt(yrS),
+		 Integer.parseInt(moS)-1,
+		 Integer.parseInt(daS),
+		 Integer.parseInt(hrS),
+		 Integer.parseInt(miS),
+		 Integer.parseInt(seS));
+    } catch (NumberFormatException e) {
+      // nop
+    }
+
+    Date d = gmtCal.getTime();
+
+    return d.toString();
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Callout.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Callout.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Callout.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,90 @@
+package com.nwalsh.saxon;
+
+import org.w3c.dom.*;
+
+/**
+ * <p>A class for maintaining information about callouts.</p>
+ *
+ * <p>To make processing callouts easier, they are parsed out of the
+ * input structure and stored in a sorted array. (The array is sorted
+ * according to the order in which the callouts occur.)</p>
+ *
+ * <p>This class is just the little record
+ * that we store in the array for each callout.</p>
+ */
+public class Callout implements Comparable {
+  /** The callout number. */
+  private int callout = 0;
+  /** The area Element item that generated this callout. */
+  private Element area = null;
+  /** The line on which this callout occurs. */
+  private int line = 0;
+  /** The column in which this callout appears. */
+  private int col = 0;
+
+  /** The constructor; initialize the private data structures. */
+  public Callout(int callout, Element area, int line, int col) {
+    this.callout = callout;
+    this.area = area;
+    this.line = line;
+    this.col = col;
+  }
+
+  /**
+   * <p>The compareTo method compares this Callout with another.</p>
+   *
+   * <p>Given two Callouts, A and B, A < B if:</p>
+   *
+   * <ol>
+   * <li>A.line < B.line, or</li>
+   * <li>A.line = B.line && A.col < B.col, or</li>
+   * <li>A.line = B.line && A.col = B.col && A.callout < B.callout</li>
+   * <li>Otherwise, they're equal.</li>
+   * </ol>
+   */
+  public int compareTo (Object o) {
+    Callout c = (Callout) o;
+
+    if (line == c.getLine()) {
+	if (col > c.getColumn()) {
+	  return 1;
+	} else if (col < c.getColumn()) {
+	  return -1;
+	} else {
+	  if (callout < c.getCallout()) {
+	    return -1;
+	  } else if (callout > c.getCallout()) {
+	    return 1;
+	  } else {
+	    return 0;
+	  }
+	}
+    } else {
+	if (line > c.getLine()) {
+	  return 1;
+	} else {
+	  return -1;
+	}
+    }
+  }
+
+  /** Access the Callout's area. */
+  public Element getArea() {
+    return area;
+  }
+
+  /** Access the Callout's line. */
+  public int getLine() {
+    return line;
+  }
+
+  /** Access the Callout's column. */
+  public int getColumn() {
+    return col;
+  }
+
+  /** Access the Callout's callout number. */
+  public int getCallout() {
+    return callout;
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/CalloutEmitter.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/CalloutEmitter.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/CalloutEmitter.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,532 @@
+package com.nwalsh.saxon;
+
+import java.util.Stack;
+import java.util.StringTokenizer;
+import org.xml.sax.*;
+import org.w3c.dom.*;
+import javax.xml.transform.TransformerException;
+import com.icl.saxon.Controller;
+import com.icl.saxon.om.NamePool;
+import com.icl.saxon.output.Emitter;
+import com.icl.saxon.tree.AttributeCollection;
+
+/**
+ * <p>Saxon extension to decorate a result tree fragment with callouts.</p>
+ *
+ * <p>$Id: CalloutEmitter.java 5907 2006-04-27 08:26:47Z xmldoc $</p>
+ *
+ * <p>Copyright (C) 2000 Norman Walsh.</p>
+ *
+ * <p>This class provides the guts of a
+ * <a href="http://saxon.sourceforge.net/">Saxon 6.*</a>
+ * implementation of callouts for verbatim environments. (It is used
+ * by the Verbatim class.)</p>
+ *
+ * <p>The general design is this: the stylesheets construct a result tree
+ * fragment for some verbatim environment. The Verbatim class initializes
+ * a CalloutEmitter with information about the callouts that should be applied
+ * to the verbatim environment in question. Then the result tree fragment
+ * is "replayed" through the CalloutEmitter; the CalloutEmitter builds a
+ * new result tree fragment from this event stream, decorated with callouts,
+ * and that is returned.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @see Verbatim
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: CalloutEmitter.java 5907 2006-04-27 08:26:47Z xmldoc $
+ *
+ */
+public class CalloutEmitter extends CopyEmitter {
+  /** A stack for the preserving information about open elements. */
+  protected Stack elementStack = null;
+
+  /** A stack for holding information about temporarily closed elements. */
+  protected Stack tempStack = null;
+
+  /** Is the next element absolutely the first element in the fragment? */
+  protected boolean firstElement = false;
+
+  /** The FO namespace name. */
+  protected static String foURI = "http://www.w3.org/1999/XSL/Format";
+
+  /** The XHTML namespace name. */
+  protected static String xhURI = "http://www.w3.org/1999/xhtml";
+
+  /** The default column for callouts that specify only a line. */
+  protected int defaultColumn = 60;
+
+  /** Is the stylesheet currently running an FO stylesheet? */
+  protected boolean foStylesheet = false;
+
+  /** The current line number. */
+  private static int lineNumber = 0;
+
+  /** The current column number. */
+  private static int colNumber = 0;
+
+  /** The (sorted) array of callouts obtained from the areaspec. */
+  private static Callout callout[] = null;
+
+  /** The number of callouts in the callout array. */
+  private static int calloutCount = 0;
+
+  /** A pointer used to keep track of our position in the callout array. */
+  private static int calloutPos = 0;
+
+  /** The FormatCallout object to use for formatting callouts. */
+  private static FormatCallout fCallout = null;
+
+  /** <p>Constructor for the CalloutEmitter.</p>
+   *
+   * @param controller
+   * @param namePool The name pool to use for constructing elements and attributes.
+   * @param defaultColumn The default column for callouts.
+   * @param foStylesheet Is this an FO stylesheet?
+   * @param fCallout
+   */
+  public CalloutEmitter(Controller controller,
+			NamePool namePool,
+			int defaultColumn,
+			boolean foStylesheet,
+			FormatCallout fCallout) {
+    super(controller, namePool);
+    elementStack = new Stack();
+    firstElement = true;
+
+    this.defaultColumn = defaultColumn;
+    this.foStylesheet = foStylesheet;
+    this.fCallout = fCallout;
+  }
+
+  /**
+   * <p>Examine the areaspec and determine the number and position of 
+   * callouts.</p>
+   *
+   * <p>The <code><a href="http://docbook.org/tdg/html/areaspec.html">areaspecNodeSet</a></code>
+   * is examined and a sorted list of the callouts is constructed.</p>
+   *
+   * <p>This data structure is used to augment the result tree fragment
+   * with callout bullets.</p>
+   *
+   * @param areaspecNodeList The source document &lt;areaspec&gt; element.
+   */
+  public void setupCallouts (NodeList areaspecNodeList) {
+    callout = new Callout[10];
+    calloutCount = 0;
+    calloutPos = 0;
+    lineNumber = 1;
+    colNumber = 1;
+
+    // First we walk through the areaspec to calculate the position
+    // of the callouts
+    //  <areaspec>
+    //  <areaset id="ex.plco.const" coords="">
+    //    <area id="ex.plco.c1" coords="4"/>
+    //    <area id="ex.plco.c2" coords="8"/>
+    //  </areaset>
+    //  <area id="ex.plco.ret" coords="12"/>
+    //  <area id="ex.plco.dest" coords="12"/>
+    //  </areaspec>
+    int pos = 0;
+    int coNum = 0;
+    boolean inAreaSet = false;
+    Node areaspec = areaspecNodeList.item(0);
+    NodeList children = areaspec.getChildNodes();
+
+    for (int count = 0; count < children.getLength(); count++) {
+      Node node = children.item(count);
+      if (node.getNodeType() == Node.ELEMENT_NODE) {
+	if (node.getNodeName().equalsIgnoreCase("areaset")) {
+	  coNum++;
+	  NodeList areas = node.getChildNodes();
+	  for (int acount = 0; acount < areas.getLength(); acount++) {
+	    Node area = areas.item(acount);
+	    if (area.getNodeType() == Node.ELEMENT_NODE) {
+	      if (area.getNodeName().equalsIgnoreCase("area")) {
+		addCallout(coNum, area, defaultColumn);
+	      } else {
+		System.out.println("Unexpected element in areaset: "
+				   + area.getNodeName());
+	      }
+	    }
+	  }
+	} else if (node.getNodeName().equalsIgnoreCase("area")) {
+	  coNum++;
+	  addCallout(coNum, node, defaultColumn);
+	} else {
+	  System.out.println("Unexpected element in areaspec: "
+			     + node.getNodeName());
+	}
+      }
+    }
+
+    // Now sort them
+    java.util.Arrays.sort(callout, 0, calloutCount);
+  }
+
+  /** Process characters. */
+  public void characters(char[] chars, int start, int len)
+    throws TransformerException {
+
+    // If we hit characters, then there's no first element...
+    firstElement = false;
+
+    if (lineNumber == 0) {
+      // if there are any text nodes, there's at least one line
+      lineNumber++;
+      colNumber = 1;
+    }
+
+    // Walk through the text node looking for callout positions
+    char[] newChars = new char[len];
+    int pos = 0;
+    for (int count = start; count < start+len; count++) {
+      if (calloutPos < calloutCount
+	  && callout[calloutPos].getLine() == lineNumber
+	  && callout[calloutPos].getColumn() == colNumber) {
+	if (pos > 0) {
+	  rtfEmitter.characters(newChars, 0, pos);
+	  pos = 0;
+	}
+
+	closeOpenElements(rtfEmitter);
+
+	while (calloutPos < calloutCount
+	       && callout[calloutPos].getLine() == lineNumber
+	       && callout[calloutPos].getColumn() == colNumber) {
+	  fCallout.formatCallout(rtfEmitter, callout[calloutPos]);
+	  calloutPos++;
+	}
+
+	openClosedElements(rtfEmitter);
+      }
+
+      if (chars[count] == '\n') {
+	// What if we need to pad this line?
+	if (calloutPos < calloutCount
+	    && callout[calloutPos].getLine() == lineNumber
+	    && callout[calloutPos].getColumn() > colNumber) {
+
+	  if (pos > 0) {
+	    rtfEmitter.characters(newChars, 0, pos);
+	    pos = 0;
+	  }
+
+	  closeOpenElements(rtfEmitter);
+
+	  while (calloutPos < calloutCount
+		 && callout[calloutPos].getLine() == lineNumber
+		 && callout[calloutPos].getColumn() > colNumber) {
+	    formatPad(callout[calloutPos].getColumn() - colNumber);
+	    colNumber = callout[calloutPos].getColumn();
+	    while (calloutPos < calloutCount
+		   && callout[calloutPos].getLine() == lineNumber
+		   && callout[calloutPos].getColumn() == colNumber) {
+	      fCallout.formatCallout(rtfEmitter, callout[calloutPos]);
+	      calloutPos++;
+	    }
+	  }
+
+	  openClosedElements(rtfEmitter);
+	}
+
+	lineNumber++;
+	colNumber = 1;
+      } else {
+	colNumber++;
+      }
+      newChars[pos++] = chars[count];
+    }
+
+    if (pos > 0) {
+      rtfEmitter.characters(newChars, 0, pos);
+    }
+  }
+
+  /**
+   * <p>Add blanks to the result tree fragment.</p>
+   *
+   * <p>This method adds <tt>numBlanks</tt> to the result tree fragment.
+   * It's used to pad lines when callouts occur after the last existing
+   * characater in a line.</p>
+   *
+   * @param numBlanks The number of blanks to add.
+   */
+  protected void formatPad(int numBlanks) {
+    char chars[] = new char[numBlanks];
+    for (int count = 0; count < numBlanks; count++) {
+      chars[count] = ' ';
+    }
+
+    try {
+      rtfEmitter.characters(chars, 0, numBlanks);
+    } catch (TransformerException e) {
+      System.out.println("Transformer Exception in formatPad");
+    }
+  }
+
+  /**
+   * <p>Add a callout to the global callout array</p>
+   *
+   * <p>This method examines a callout <tt>area</tt> and adds it to
+   * the global callout array if it can be interpreted.</p>
+   *
+   * <p>Only the <tt>linecolumn</tt> and <tt>linerange</tt> units are
+   * supported. If no unit is specifed, <tt>linecolumn</tt> is assumed.
+   * If only a line is specified, the callout decoration appears in
+   * the <tt>defaultColumn</tt>.</p>
+   *
+   * @param coNum The callout number.
+   * @param node The <tt>area</tt>.
+   * @param defaultColumn The default column for callouts.
+   */
+  protected void addCallout (int coNum,
+			     Node node,
+			     int defaultColumn) {
+
+    Element area  = (Element) node;
+    String units  = null;
+    String coords = null;
+
+    if (area.hasAttribute("units")) {
+      units = area.getAttribute("units");
+    }
+
+    if (area.hasAttribute("coords")) {
+      coords = area.getAttribute("coords");
+    }
+
+    if (units != null
+	&& !units.equalsIgnoreCase("linecolumn")
+	&& !units.equalsIgnoreCase("linerange")) {
+      System.out.println("Only linecolumn and linerange units are supported");
+      return;
+    }
+
+    if (coords == null) {
+      System.out.println("Coords must be specified");
+      return;
+    }
+
+    // Now let's see if we can interpret the coordinates...
+    StringTokenizer st = new StringTokenizer(coords);
+    int tokenCount = 0;
+    int c1 = 0;
+    int c2 = 0;
+    while (st.hasMoreTokens()) {
+      tokenCount++;
+      if (tokenCount > 2) {
+	System.out.println("Unparseable coordinates");
+	return;
+      }
+      try {
+	String token = st.nextToken();
+	int coord = Integer.parseInt(token);
+	c2 = coord;
+	if (tokenCount == 1) {
+	  c1 = coord;
+	}
+      } catch (NumberFormatException e) {
+	System.out.println("Unparseable coordinate");
+	return;
+      }
+    }
+
+    // Make sure we aren't going to blow past the end of our array
+    if (calloutCount == callout.length) {
+      Callout bigger[] = new Callout[calloutCount+10];
+      for (int count = 0; count < callout.length; count++) {
+	bigger[count] = callout[count];
+      }
+      callout = bigger;
+    }
+
+    // Ok, add the callout
+    if (tokenCount == 2) {
+      if (units != null && units.equalsIgnoreCase("linerange")) {
+	for (int count = c1; count <= c2; count++) {
+	  callout[calloutCount++] = new Callout(coNum, area,
+						count, defaultColumn);
+	}
+      } else {
+	// assume linecolumn
+	callout[calloutCount++] = new Callout(coNum, area, c1, c2);
+      }
+    } else {
+      // if there's only one number, assume it's the line
+      callout[calloutCount++] = new Callout(coNum, area, c1, defaultColumn);
+    }
+  }
+
+  /** Process end element events. */
+  public void endElement(int nameCode)
+    throws TransformerException {
+
+    if (!elementStack.empty()) {
+      // if we didn't push the very first element (an fo:block or
+      // pre or div surrounding the whole block), then the stack will
+      // be empty when we get to the end of the first element...
+      elementStack.pop();
+    }
+    rtfEmitter.endElement(nameCode);
+  }
+
+  /** Process start element events. */
+  public void startElement(int nameCode,
+			   org.xml.sax.Attributes attributes,
+			   int[] namespaces,
+			   int nscount)
+    throws TransformerException {
+
+    if (!skipThisElement(nameCode)) {
+      StartElementInfo sei = new StartElementInfo(nameCode, attributes,
+						  namespaces, nscount);
+      elementStack.push(sei);
+    }
+
+    firstElement = false;
+
+    rtfEmitter.startElement(nameCode, attributes, namespaces, nscount);
+  }
+
+  /**
+   * <p>Protect the outer-most block wrapper.</p>
+   *
+   * <p>Open elements in the result tree fragment are closed and reopened
+   * around callouts (so that callouts don't appear inside links or other
+   * environments). But if the result tree fragment is a single block
+   * (a div or pre in HTML, an fo:block in FO), that outer-most block is
+   * treated specially.</p>
+   *
+   * <p>This method returns true if the element in question is that
+   * outermost block.</p>
+   *
+   * @param nameCode The name code for the element
+   *
+   * @return True if the element is the outer-most block, false otherwise.
+   */
+  protected boolean skipThisElement(int nameCode) {
+    // FIXME: This is such a gross hack...
+    if (firstElement) {
+      int thisFingerprint    = namePool.getFingerprint(nameCode);
+      int foBlockFingerprint = namePool.getFingerprint(foURI, "block");
+      int htmlPreFingerprint = namePool.getFingerprint("", "pre");
+      int htmlDivFingerprint = namePool.getFingerprint("", "div");
+      int xhtmlPreFingerprint = namePool.getFingerprint(xhURI, "pre");
+      int xhtmlDivFingerprint = namePool.getFingerprint(xhURI, "div");
+
+      if ((foStylesheet && thisFingerprint == foBlockFingerprint)
+	  || (!foStylesheet && (thisFingerprint == htmlPreFingerprint
+				|| thisFingerprint == htmlDivFingerprint
+				|| thisFingerprint == xhtmlPreFingerprint
+				|| thisFingerprint == xhtmlDivFingerprint))) {
+	// Don't push the outer-most wrapping div, pre, or fo:block
+	return true;
+      }
+    }
+
+    return false;
+  }
+
+  private void closeOpenElements(Emitter rtfEmitter)
+    throws TransformerException {
+    // Close all the open elements...
+    tempStack = new Stack();
+    while (!elementStack.empty()) {
+      StartElementInfo elem = (StartElementInfo) elementStack.pop();
+      rtfEmitter.endElement(elem.getNameCode());
+      tempStack.push(elem);
+    }
+  }
+
+  private void openClosedElements(Emitter rtfEmitter)
+    throws TransformerException {
+    // Now "reopen" the elements that we closed...
+    while (!tempStack.empty()) {
+      StartElementInfo elem = (StartElementInfo) tempStack.pop();
+      AttributeCollection attr = (AttributeCollection) elem.getAttributes();
+      AttributeCollection newAttr = new AttributeCollection(namePool);
+
+      for (int acount = 0; acount < attr.getLength(); acount++) {
+	String localName = attr.getLocalName(acount);
+	int nameCode = attr.getNameCode(acount);
+	String type = attr.getType(acount);
+	String value = attr.getValue(acount);
+	String uri = attr.getURI(acount);
+	String prefix = "";
+
+	if (localName.indexOf(':') > 0) {
+	  prefix = localName.substring(0, localName.indexOf(':'));
+	  localName = localName.substring(localName.indexOf(':')+1);
+	}
+
+	if (uri.equals("")
+	    && ((foStylesheet
+		 && localName.equals("id"))
+		|| (!foStylesheet
+		    && (localName.equals("id")
+			|| localName.equals("name"))))) {
+	  // skip this attribute
+	} else {
+	  newAttr.addAttribute(prefix, uri, localName, type, value);
+	}
+      }
+
+      rtfEmitter.startElement(elem.getNameCode(),
+			      newAttr,
+			      elem.getNamespaces(),
+			      elem.getNSCount());
+
+      elementStack.push(elem);
+    }
+  }
+
+  /**
+   * <p>A private class for maintaining the information required to call
+   * the startElement method.</p>
+   *
+   * <p>In order to close and reopen elements, information about those
+   * elements has to be maintained. This class is just the little record
+   * that we push on the stack to keep track of that info.</p>
+   */
+  private class StartElementInfo {
+    private int _nameCode;
+    org.xml.sax.Attributes _attributes;
+    int[] _namespaces;
+    int _nscount;
+
+    public StartElementInfo(int nameCode,
+			    org.xml.sax.Attributes attributes,
+			    int[] namespaces,
+			    int nscount) {
+      _nameCode = nameCode;
+      _attributes = attributes;
+      _namespaces = namespaces;
+      _nscount = nscount;
+    }
+
+    public int getNameCode() {
+      return _nameCode;
+    }
+
+    public org.xml.sax.Attributes getAttributes() {
+      return _attributes;
+    }
+
+    public int[] getNamespaces() {
+      return _namespaces;
+    }
+
+    public int getNSCount() {
+      return _nscount;
+    }
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/ColumnScanEmitter.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/ColumnScanEmitter.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/ColumnScanEmitter.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,170 @@
+package com.nwalsh.saxon;
+
+import org.xml.sax.*;
+import javax.xml.transform.TransformerException;
+import com.icl.saxon.output.*;
+import com.icl.saxon.om.*;
+import com.icl.saxon.expr.FragmentValue;
+
+/**
+ * <p>Saxon extension to scan the column widths in a result tree fragment.</p>
+ *
+ * <p>$Id: ColumnScanEmitter.java 5907 2006-04-27 08:26:47Z xmldoc $</p>
+ *
+ * <p>Copyright (C) 2000 Norman Walsh.</p>
+ *
+ * <p>This class provides a
+ * <a href="http://saxon.sourceforge.net/">Saxon 6.*</a>
+ * implementation to scan the column widths in a result tree
+ * fragment.</p>
+ *
+ * <p>The general design is this: the stylesheets construct a result tree
+ * fragment for some colgroup environment. That result tree fragment
+ * is "replayed" through the ColumnScanEmitter; the ColumnScanEmitter watches
+ * the cols go by and extracts the column widths that it sees. These
+ * widths are then made available.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: ColumnScanEmitter.java 5907 2006-04-27 08:26:47Z xmldoc $
+ *
+ */
+public class ColumnScanEmitter extends com.icl.saxon.output.Emitter {
+  /** The number of columns seen. */
+  protected int numColumns = 0;
+  protected String width[] = new String[5];
+  protected NamePool namePool = null;
+
+  /** The FO namespace name. */
+  protected static String foURI = "http://www.w3.org/1999/XSL/Format";
+
+  /** Construct a new ColumnScanEmitter. */
+  public ColumnScanEmitter(NamePool namePool) {
+    numColumns = 0;
+    this.namePool = namePool;
+  }
+
+  /** Return the number of columns. */
+  public int columnCount() {
+    return numColumns;
+  }
+
+  /** Return the number of columns. */
+  public String[] columnWidths() {
+    // Return a width array with exactly the right number of columns
+    String rWidth[] = new String[numColumns];
+    for (int count = 0; count < numColumns; count++) {
+      rWidth[count] = width[count];
+    }
+    return rWidth;
+  }
+
+  /** Discarded. */
+  public void characters(char[] chars, int start, int len)
+    throws TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void comment(char[] chars, int start, int length)
+    throws TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void endDocument()
+    throws TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void endElement(int nameCode)
+    throws TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void processingInstruction(java.lang.String name,
+				    java.lang.String data)
+    throws TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void setDocumentLocator(org.xml.sax.Locator locator) {
+    // nop
+  }
+
+  /** Discarded. */
+  public void setEscaping(boolean escaping)
+    throws TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void setNamePool(NamePool namePool) {
+    // nop
+  }
+
+  /** Discarded. */
+  public void setUnparsedEntity(java.lang.String name, java.lang.String uri)
+    throws TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void setWriter(java.io.Writer writer) {
+    // nop
+  }
+
+  /** Discarded. */
+  public void startDocument()
+    throws TransformerException {
+    // nop
+  }
+
+  /** Examine for column info. */
+  public void startElement(int nameCode,
+		    org.xml.sax.Attributes attributes,
+		    int[] namespaces, int nscount)
+    throws TransformerException {
+
+    int thisFingerprint = namePool.getFingerprint(nameCode);
+    int colFingerprint = namePool.getFingerprint("", "col");
+    int foColFingerprint = namePool.getFingerprint(foURI, "table-column");
+
+    if (thisFingerprint == colFingerprint
+	|| thisFingerprint == foColFingerprint) {
+      if (numColumns >= width.length) {
+	String newWidth[] = new String[width.length+10];
+	for (int count = 0; count < width.length; count++) {
+	  newWidth[count] = width[count];
+	}
+	width = newWidth;
+      }
+
+      if (thisFingerprint == colFingerprint) {
+	if (attributes.getValue("width") == null) {
+	  width[numColumns++] = "1*";
+	} else {
+	  width[numColumns++] = attributes.getValue("width");
+	}
+      } else {
+	if (attributes.getValue("column-width") == null) {
+	  width[numColumns++] = "1*";
+	} else {
+	  width[numColumns++] = attributes.getValue("column-width");
+	}
+      }
+    }
+  }
+}
+
+

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/ColumnUpdateEmitter.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/ColumnUpdateEmitter.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/ColumnUpdateEmitter.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,96 @@
+package com.nwalsh.saxon;
+
+import org.xml.sax.*;
+import com.icl.saxon.output.*;
+import com.icl.saxon.Controller;
+import com.icl.saxon.om.*;
+import javax.xml.transform.TransformerException;
+import com.icl.saxon.expr.FragmentValue;
+import com.icl.saxon.tree.AttributeCollection;
+
+/**
+ * <p>Saxon extension to scan the column widths in a result tree fragment.</p>
+ *
+ * <p>$Id: ColumnUpdateEmitter.java 5907 2006-04-27 08:26:47Z xmldoc $</p>
+ *
+ * <p>Copyright (C) 2000 Norman Walsh.</p>
+ *
+ * <p>This class provides a
+ * <a href="http://saxon.sourceforge.net/">Saxon 6.*</a>
+ * implementation to scan the column widths in a result tree
+ * fragment.</p>
+ *
+ * <p>The general design is this: the stylesheets construct a result tree
+ * fragment for some colgroup environment. That result tree fragment
+ * is "replayed" through the ColumnUpdateEmitter; the ColumnUpdateEmitter watches
+ * the cols go by and extracts the column widths that it sees. These
+ * widths are then made available.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: ColumnUpdateEmitter.java 5907 2006-04-27 08:26:47Z xmldoc $
+ *
+ */
+public class ColumnUpdateEmitter extends CopyEmitter {
+  /** The number of columns seen. */
+  protected int numColumns = 0;
+  protected String width[] = null;
+  protected NamePool namePool = null;
+
+  /** The FO namespace name. */
+  protected static String foURI = "http://www.w3.org/1999/XSL/Format";
+
+  /** Construct a new ColumnUpdateEmitter. */
+  public ColumnUpdateEmitter(Controller controller,
+			     NamePool namePool,
+			     String width[]) {
+    super(controller, namePool);
+    numColumns = 0;
+    this.width = width;
+    this.namePool = namePool;
+  }
+
+  /** Examine for column info. */
+  public void startElement(int nameCode,
+		    org.xml.sax.Attributes attributes,
+		    int[] namespaces, int nscount)
+    throws TransformerException {
+
+    int thisFingerprint = namePool.getFingerprint(nameCode);
+    int colFingerprint = namePool.getFingerprint("", "col");
+    int foColFingerprint = namePool.getFingerprint(foURI, "table-column");
+
+    if (thisFingerprint == colFingerprint) {
+      AttributeCollection attr = new AttributeCollection(namePool, attributes);
+      int widthFingerprint = namePool.getFingerprint("", "width");
+
+      if (attr.getValueByFingerprint(widthFingerprint) == null) {
+	attr.addAttribute(widthFingerprint, "CDATA", width[numColumns++]);
+      } else {
+	attr.setAttribute(widthFingerprint, "CDATA", width[numColumns++]);
+      }
+      attributes = attr;
+    } else if (thisFingerprint == foColFingerprint) {
+      AttributeCollection attr = new AttributeCollection(namePool, attributes);
+      int widthFingerprint = namePool.getFingerprint("", "column-width");
+
+      if (attr.getValueByFingerprint(widthFingerprint) == null) {
+	attr.addAttribute(widthFingerprint, "CDATA", width[numColumns++]);
+      } else {
+	attr.setAttribute(widthFingerprint, "CDATA", width[numColumns++]);
+      }
+      attributes = attr;
+    }
+
+    rtfEmitter.startElement(nameCode, attributes, namespaces, nscount);
+  }
+}
+
+

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/CopyEmitter.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/CopyEmitter.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/CopyEmitter.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,150 @@
+package com.nwalsh.saxon;
+
+import java.util.Stack;
+import java.util.StringTokenizer;
+import org.xml.sax.*;
+import org.w3c.dom.*;
+import javax.xml.transform.TransformerException;
+import com.icl.saxon.Context;
+import com.icl.saxon.expr.*;
+import com.icl.saxon.expr.FragmentValue;
+import com.icl.saxon.Controller;
+import com.icl.saxon.functions.Extensions;
+import com.icl.saxon.om.*;
+import com.icl.saxon.output.*;
+import com.icl.saxon.pattern.*;
+import com.icl.saxon.tree.*;
+
+/**
+ * <p>A Saxon 6.0 Emitter that clones its input.</p>
+ *
+ * <p>$Id: CopyEmitter.java 5907 2006-04-27 08:26:47Z xmldoc $</p>
+ *
+ * <p>Copyright (C) 2000 Norman Walsh.</p>
+ *
+ * <p>This class provides a
+ * <a href="http://saxon.sourceforge.net/">Saxon 6.*</a>
+ * implementation of an emitter that manufactures a cloned result
+ * tree fragment.</p>
+ *
+ * <p>The purpose of this emitter is to provide something for
+ * CalloutEmitter and NumberLinesEmitter to extend.
+ * This emitter simply copies all input to a new result tree fragment.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @see CalloutEmitter
+ * @see NumberLinesEmitter
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: CopyEmitter.java 5907 2006-04-27 08:26:47Z xmldoc $
+ *
+ */
+public class CopyEmitter extends com.icl.saxon.output.Emitter {
+  /** The result tree fragment containing the copied fragment. */
+  protected FragmentValue rtf = null;
+  protected Emitter rtfEmitter = null;
+
+  /** <p>The namePool.</p>
+   *
+   * <p>Copied from the caller, it should be the runtime name pool.</p>
+   */
+  protected NamePool namePool = null;
+
+  /** <p>Constructor for the CopyEmitter.</p>
+   *
+   * @param namePool The name pool to use for constructing elements and attributes.
+   */
+  public CopyEmitter(Controller controller, NamePool namePool) {
+    rtf = new FragmentValue(controller);
+    rtfEmitter = rtf.getEmitter();
+    this.namePool = namePool;
+  }
+
+  /**
+   * <p>Return the result tree fragment constructed by replaying events
+   * through this emitter.</p>
+   */
+  public FragmentValue getResultTreeFragment() {
+    return rtf;
+  }
+
+  /** Copy characters. */
+  public void characters(char[] chars, int start, int len)
+    throws TransformerException {
+    rtfEmitter.characters(chars, start, len);
+  }
+
+  /** Copy comments. */
+  public void comment(char[] chars, int start, int length)
+    throws TransformerException {
+    rtfEmitter.comment(chars, start, length);
+  }
+
+  /** Copy end document events. */
+  public void endDocument()
+    throws TransformerException {
+    rtfEmitter.endDocument();
+  }
+
+  /** Copy end element events. */
+  public void endElement(int nameCode)
+    throws TransformerException {
+    rtfEmitter.endElement(nameCode);
+  }
+
+  /** Copy processing instructions. */
+  public void processingInstruction(java.lang.String name,
+				    java.lang.String data)
+    throws TransformerException {
+    rtfEmitter.processingInstruction(name, data);
+  }
+
+  /** Copy set document locator events. */
+  public void setDocumentLocator(org.xml.sax.Locator locator) {
+    rtfEmitter.setDocumentLocator(locator);
+  }
+
+  /** Copy set escaping events. */
+  public void setEscaping(boolean escaping)
+    throws TransformerException {
+    rtfEmitter.setEscaping(escaping);
+  }
+
+  /** Copy set name pool events. */
+  public void setNamePool(NamePool namePool) {
+    rtfEmitter.setNamePool(namePool);
+  }
+
+  /** Copy set unparsed entity events. */
+  public void setUnparsedEntity(java.lang.String name, java.lang.String uri)
+    throws TransformerException {
+    rtfEmitter.setUnparsedEntity(name, uri);
+  }
+
+  /** Copy set writer events. */
+  public void setWriter(java.io.Writer writer) {
+    rtfEmitter.setWriter(writer);
+  }
+
+  /** Copy start document events. */
+  public void startDocument()
+    throws TransformerException {
+    rtfEmitter.startDocument();
+  }
+
+  /** Copy start element events. */
+  public void startElement(int nameCode,
+			   org.xml.sax.Attributes attributes,
+			   int[] namespaces,
+			   int nscount)
+    throws TransformerException {
+    rtfEmitter.startElement(nameCode, attributes, namespaces, nscount);
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatCallout.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatCallout.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatCallout.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,111 @@
+package com.nwalsh.saxon;
+
+import org.xml.sax.SAXException;
+import org.w3c.dom.*;
+
+import javax.xml.transform.TransformerException;
+
+import com.icl.saxon.om.NamePool;
+import com.icl.saxon.output.Emitter;
+import com.icl.saxon.tree.AttributeCollection;
+
+import com.nwalsh.saxon.Callout;
+
+/**
+ * <p>Utility class for the Verbatim extension (ignore this).</p>
+ *
+ * <p>$Id: FormatCallout.java 510 2001-07-31 18:35:35Z nwalsh $</p>
+ *
+ * <p>Copyright (C) 2000, 2001 Norman Walsh.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @see Verbatim
+ *
+ * @version $Id: FormatCallout.java 510 2001-07-31 18:35:35Z nwalsh $
+ **/
+
+public abstract class FormatCallout {
+  protected static final String foURI = "http://www.w3.org/1999/XSL/Format";
+  protected static final String xhURI = "http://www.w3.org/1999/xhtml";
+  protected boolean foStylesheet = false;
+  protected NamePool namePool = null;
+
+  public FormatCallout(NamePool nPool, boolean fo) {
+    namePool = nPool;
+    foStylesheet = fo;
+  }
+
+  public String areaLabel(Element area) {
+    String label = null;
+
+    if (area.hasAttribute("label")) {
+      // If this area has a label, use it
+      label = area.getAttribute("label");
+    } else {
+      // Otherwise, if its parent is an areaset and it has a label, use that
+      Element parent = (Element) area.getParentNode();
+      if (parent != null
+	  && parent.getLocalName().equalsIgnoreCase("areaset")
+	  && parent.hasAttribute("label")) {
+	label = parent.getAttribute("label");
+      }
+    }
+
+    return label;
+  }
+
+  public void startSpan(Emitter rtf)
+    throws TransformerException {
+    // no point in doing this for FO, right?
+    if (!foStylesheet && namePool != null) {
+      int spanName = namePool.allocate("", "", "span");
+      AttributeCollection spanAttr = new AttributeCollection(namePool);
+      int namespaces[] = new int[1];
+      spanAttr.addAttribute("", "", "class", "CDATA", "co");
+      rtf.startElement(spanName, spanAttr, namespaces, 0);
+    }
+  }
+
+  public void endSpan(Emitter rtf)
+    throws TransformerException {
+    // no point in doing this for FO, right?
+    if (!foStylesheet && namePool != null) {
+      int spanName = namePool.allocate("", "", "span");
+      rtf.endElement(spanName);
+    }
+  }
+
+  public void formatTextCallout(Emitter rtfEmitter,
+				Callout callout) {
+    Element area = callout.getArea();
+    int num = callout.getCallout();
+    String userLabel = areaLabel(area);
+    String label = "(" + num + ")";
+
+    if (userLabel != null) {
+      label = userLabel;
+    }
+
+    char chars[] = label.toCharArray();
+
+    try {
+      startSpan(rtfEmitter);
+      rtfEmitter.characters(chars, 0, label.length());
+      endSpan(rtfEmitter);
+    } catch (TransformerException e) {
+      System.out.println("Transformer Exception in formatTextCallout");
+    }
+  }
+
+  public abstract void formatCallout(Emitter rtfEmitter,
+				     Callout callout);
+}
+

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatGraphicCallout.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatGraphicCallout.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatGraphicCallout.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,88 @@
+package com.nwalsh.saxon;
+
+import org.xml.sax.SAXException;
+import org.w3c.dom.*;
+
+import javax.xml.transform.TransformerException;
+
+import com.icl.saxon.om.NamePool;
+import com.icl.saxon.output.Emitter;
+import com.icl.saxon.tree.AttributeCollection;
+
+import com.nwalsh.saxon.Callout;
+
+/**
+ * <p>Utility class for the Verbatim extension (ignore this).</p>
+ *
+ * <p>$Id: FormatGraphicCallout.java 489 2001-07-16 21:23:57Z nwalsh $</p>
+ *
+ * <p>Copyright (C) 2000, 2001 Norman Walsh.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @see Verbatim
+ *
+ * @version $Id: FormatGraphicCallout.java 489 2001-07-16 21:23:57Z nwalsh $
+ **/
+
+public class FormatGraphicCallout extends FormatCallout {
+  String graphicsPath = "";
+  String graphicsExt = "";
+  int graphicsMax = 0;
+
+  public FormatGraphicCallout(NamePool nPool, String path, String ext, int max, boolean fo) {
+    super(nPool, fo);
+    graphicsPath = path;
+    graphicsExt = ext;
+    graphicsMax = max;
+  }
+
+  public void formatCallout(Emitter rtfEmitter,
+			    Callout callout) {
+    Element area = callout.getArea();
+    int num = callout.getCallout();
+    String userLabel = areaLabel(area);
+    String label = "(" + num + ")";
+
+    if (userLabel != null) {
+      label = userLabel;
+    }
+
+    try {
+      if (userLabel == null && num <= graphicsMax) {
+	int imgName = 0;
+	AttributeCollection imgAttr = null;
+	int namespaces[] = new int[1];
+
+	if (foStylesheet) {
+	  imgName = namePool.allocate("fo", foURI, "external-graphic");
+	  imgAttr = new AttributeCollection(namePool);
+	  imgAttr.addAttribute("", "", "src", "CDATA",
+			       graphicsPath + num + graphicsExt);
+	} else {
+	  imgName = namePool.allocate("", "", "img");
+	  imgAttr = new AttributeCollection(namePool);
+	  imgAttr.addAttribute("", "", "src", "CDATA",
+			       graphicsPath + num + graphicsExt);
+	  imgAttr.addAttribute("", "", "alt", "CDATA", label);
+	}
+
+	startSpan(rtfEmitter);
+	rtfEmitter.startElement(imgName, imgAttr, namespaces, 0);
+	rtfEmitter.endElement(imgName);
+	endSpan(rtfEmitter);
+      } else {
+	formatTextCallout(rtfEmitter, callout);
+      }
+    } catch (TransformerException e) {
+      System.out.println("Transformer Exception in graphic formatCallout");
+    }
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatTextCallout.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatTextCallout.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatTextCallout.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,43 @@
+package com.nwalsh.saxon;
+
+import org.xml.sax.SAXException;
+import org.w3c.dom.*;
+
+import javax.xml.transform.TransformerException;
+
+import com.icl.saxon.om.NamePool;
+import com.icl.saxon.output.Emitter;
+
+import com.nwalsh.saxon.Callout;
+
+/**
+ * <p>Utility class for the Verbatim extension (ignore this).</p>
+ *
+ * <p>$Id: FormatTextCallout.java 489 2001-07-16 21:23:57Z nwalsh $</p>
+ *
+ * <p>Copyright (C) 2000, 2001 Norman Walsh.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @see Verbatim
+ *
+ * @version $Id: FormatTextCallout.java 489 2001-07-16 21:23:57Z nwalsh $
+ **/
+
+public class FormatTextCallout extends FormatCallout {
+  public FormatTextCallout(NamePool nPool, boolean fo) {
+    super(nPool, fo);
+  }
+
+  public void formatCallout(Emitter rtfEmitter,
+			    Callout callout) {
+    formatTextCallout(rtfEmitter, callout);
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatUnicodeCallout.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatUnicodeCallout.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/FormatUnicodeCallout.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,98 @@
+package com.nwalsh.saxon;
+
+import org.xml.sax.SAXException;
+import org.w3c.dom.*;
+
+import javax.xml.transform.TransformerException;
+
+import com.icl.saxon.om.NamePool;
+import com.icl.saxon.output.Emitter;
+import com.icl.saxon.tree.AttributeCollection;
+
+import com.nwalsh.saxon.Callout;
+
+/**
+ * <p>Utility class for the Verbatim extension (ignore this).</p>
+ *
+ * <p>$Id: FormatUnicodeCallout.java 579 2001-08-05 22:35:38Z nwalsh $</p>
+ *
+ * <p>Copyright (C) 2000, 2001 Norman Walsh.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @see Verbatim
+ *
+ * @version $Id: FormatUnicodeCallout.java 579 2001-08-05 22:35:38Z nwalsh $
+ **/
+
+public class FormatUnicodeCallout extends FormatCallout {
+  int unicodeMax = 0;
+  int unicodeStart = 0;
+  String unicodeFont = "";
+
+  public FormatUnicodeCallout(NamePool nPool,
+			      String font,
+			      int start,
+			      int max,
+			      boolean fo) {
+    super(nPool, fo);
+    unicodeFont = font;
+    unicodeMax = max;
+    unicodeStart = start;
+  }
+
+  public void formatCallout(Emitter rtfEmitter,
+			    Callout callout) {
+    Element area = callout.getArea();
+    int num = callout.getCallout();
+    String userLabel = areaLabel(area);
+    String label = "";
+
+    if (userLabel != null) {
+      label = userLabel;
+    }
+
+    try {
+      if (userLabel == null && num <= unicodeMax) {
+	int inName = 0;
+	AttributeCollection inAttr = null;
+	int namespaces[] = new int[1];
+
+	if (!unicodeFont.equals("")) {
+	  if (foStylesheet) {
+	    inName = namePool.allocate("fo", foURI, "inline");
+	    inAttr = new AttributeCollection(namePool);
+	    inAttr.addAttribute("", "", "font-family", "CDATA", unicodeFont);
+	  } else {
+	    inName = namePool.allocate("", "", "font");
+	    inAttr = new AttributeCollection(namePool);
+	    inAttr.addAttribute("", "", "face", "CDATA", unicodeFont);
+	  }
+
+	  startSpan(rtfEmitter);
+	  rtfEmitter.startElement(inName, inAttr, namespaces, 0);
+	}
+
+	char chars[] = new char[1];
+	chars[0] = (char) (unicodeStart + num - 1);
+	rtfEmitter.characters(chars, 0, 1);
+
+	if (!unicodeFont.equals("")) {
+	  rtfEmitter.endElement(inName);
+	  endSpan(rtfEmitter);
+	}
+      } else {
+	formatTextCallout(rtfEmitter, callout);
+      }
+    } catch (TransformerException e) {
+      System.out.println("Transformer Exception in graphic formatCallout");
+    }
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/ImageIntrinsics.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/ImageIntrinsics.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/ImageIntrinsics.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,189 @@
+package com.nwalsh.saxon;
+
+import java.io.File;
+import java.io.BufferedReader;
+import java.io.FileReader;
+import java.io.IOException;
+import java.net.URL;
+import java.net.MalformedURLException;
+import java.awt.Toolkit;
+import java.awt.Image;
+import java.awt.image.ImageObserver;
+import java.lang.Thread;
+import java.util.StringTokenizer;
+
+/**
+ * <p>Saxon extension to examine intrinsic size of images</p>
+ *
+ * <p>$Id: ImageIntrinsics.java 5480 2005-12-06 18:56:52Z kosek $</p>
+ *
+ * <p>Copyright (C) 2002 Norman Walsh.</p>
+ *
+ * <p>This class provides a
+ * <a href="http://saxon.sourceforge.net/">Saxon</a>
+ * extension to find the intrinsic size of images.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: ImageIntrinsics.java 5480 2005-12-06 18:56:52Z kosek $
+ *
+ */
+public class ImageIntrinsics implements ImageObserver {
+  boolean imageLoaded = false;
+  boolean imageFailed = false;
+  Image image = null;
+  int width = -1;
+  int depth = -1;
+
+  /**
+   * <p>Constructor for ImageIntrinsics</p>
+   */
+  public ImageIntrinsics(String imageFn) {
+    System.setProperty("java.awt.headless","true");
+
+    // Hack. I expect the right way to do this is to always use a URL.
+    // However, that means getting the base URI correct and dealing
+    // with the various permutations of the file: URI scheme on different
+    // platforms. So instead, what we're going to do is cheat. If it
+    // starts with http: or ftp:, call it a URI. Otherwise, call it
+    // a file. Also call it a file if the URI is malformed.
+
+    URL imageUrl = null;
+
+    if (imageFn.startsWith("http:") || imageFn.startsWith("ftp:") || imageFn.startsWith("file:")) {
+	try {
+	    imageUrl = new URL(imageFn);
+	} catch (MalformedURLException mue) {
+	    imageUrl = null;
+	}
+    }
+
+    if (imageUrl != null) {
+	image = Toolkit.getDefaultToolkit().getImage (imageUrl);
+    } else {
+	image = Toolkit.getDefaultToolkit().getImage (imageFn);
+    }
+
+    width = image.getWidth(this);
+
+    while (!imageFailed && (width == -1 || depth == -1)) {
+      try {
+	java.lang.Thread.currentThread().sleep(50);
+      } catch (Exception e) {
+	// nop;
+      }
+      width = image.getWidth(this);
+      depth = image.getHeight(this);
+    }
+
+    if (imageFailed) {
+      // Maybe it's an EPS or PDF?
+      // FIXME: this code is crude (and doesn't handle the URL case!!!)
+      BufferedReader ir = null;
+      String line = null;
+      int lineLimit = 100;
+
+      try {
+	ir = new BufferedReader(new FileReader(new File(imageFn)));
+	line = ir.readLine();
+
+	if (line != null && line.startsWith("%PDF-")) {
+	  // We've got a PDF!
+	  while (lineLimit > 0 && line != null) {
+	    lineLimit--;
+	    if (line.startsWith("/CropBox [")) {
+	      line = line.substring(10);
+	      if (line.indexOf("]") >= 0) {
+		line = line.substring(0, line.indexOf("]"));
+	      }
+	      parseBox(line);
+	      lineLimit = 0;
+	    }
+	    line = ir.readLine();
+	  }
+	} else if (line != null && line.startsWith("%!") && line.indexOf(" EPSF-") > 0) {
+	  // We've got an EPS!
+	  while (lineLimit > 0 && line != null) {
+	    lineLimit--;
+	    if (line.startsWith("%%BoundingBox: ")) {
+	      line = line.substring(15);
+	      parseBox(line);
+	      lineLimit = 0;
+	    }
+	    line = ir.readLine();
+	  }
+	} else {
+	  System.err.println("Failed to interpret image: " + imageFn);
+	}
+      } catch (Exception e) {
+	System.err.println("Failed to load image: " + imageFn);
+      }
+
+      if (ir != null) {
+	try {
+	  ir.close();
+	} catch (Exception e) {
+	  // nop;
+	}
+      }
+    }
+  }
+
+  public int getWidth(int defaultWidth) {
+    if (width >= 0) {
+      return width;
+    } else {
+      return defaultWidth;
+    }
+  }
+
+  public int getDepth(int defaultDepth) {
+    if (depth >= 0) {
+      return depth;
+    } else {
+      return defaultDepth;
+    }
+  }
+
+  private void parseBox(String line) {
+    int [] corners = new int [4];
+    int count = 0;
+
+    StringTokenizer st = new StringTokenizer(line);
+    while (count < 4 && st.hasMoreTokens()) {
+      try {
+	corners[count++] = Integer.parseInt(st.nextToken());
+      } catch (Exception e) {
+	// nop;
+      }
+    }
+
+    width = corners[2] - corners[0];
+    depth = corners[3] - corners[1];
+  }
+
+  public boolean imageUpdate(Image img, int infoflags,
+			     int x, int y, int width, int height) {
+    if ((infoflags & ImageObserver.ERROR) == ImageObserver.ERROR) {
+      imageFailed = true;
+      return false;
+    }
+
+    // I really only care about the width and height, but if I return false as
+    // soon as those are available, the BufferedInputStream behind the loader
+    // gets closed too early.
+    int flags = ImageObserver.ALLBITS;
+    if ((infoflags & flags) == flags) {
+      return false;
+    } else {
+      return true;
+    }
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/LineCountEmitter.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/LineCountEmitter.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/LineCountEmitter.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,141 @@
+package com.nwalsh.saxon;
+
+import org.xml.sax.*;
+import javax.xml.transform.TransformerException;
+import com.icl.saxon.output.*;
+import com.icl.saxon.om.*;
+import com.icl.saxon.expr.FragmentValue;
+
+/**
+ * <p>Saxon extension to count the lines in a result tree fragment.</p>
+ *
+ * <p>$Id: LineCountEmitter.java 5907 2006-04-27 08:26:47Z xmldoc $</p>
+ *
+ * <p>Copyright (C) 2000 Norman Walsh.</p>
+ *
+ * <p>This class provides a
+ * <a href="http://saxon.sourceforge.net/">Saxon 6.*</a>
+ * implementation to count the number of lines in a result tree
+ * fragment.</p>
+ *
+ * <p>The general design is this: the stylesheets construct a result tree
+ * fragment for some verbatim environment. That result tree fragment
+ * is "replayed" through the LineCountEmitter; the LineCountEmitter watches
+ * characters go by and counts the number of line feeds that it sees.
+ * That number is then returned.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @see Verbatim
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: LineCountEmitter.java 5907 2006-04-27 08:26:47Z xmldoc $
+ *
+ */
+public class LineCountEmitter extends com.icl.saxon.output.Emitter {
+  /** The number of lines seen. */
+  protected int numLines = 0;
+
+  /** Construct a new LineCountEmitter. */
+  public LineCountEmitter() {
+    numLines = 0;
+  }
+
+  /** Reset the number of lines. */
+  public void reset() {
+    numLines = 0;
+  }
+
+  /** Return the number of lines. */
+  public int lineCount() {
+    return numLines;
+  }
+
+  /** Process characters. */
+  public void characters(char[] chars, int start, int len)
+    throws javax.xml.transform.TransformerException {
+
+    if (numLines == 0) {
+      // If there are any characters at all, there's at least one line
+      numLines++;
+    }
+
+    for (int count = start; count < start+len; count++) {
+      if (chars[count] == '\n') {
+	numLines++;
+      }
+    }
+  }
+
+  /** Discarded. */
+  public void comment(char[] chars, int start, int length)
+    throws javax.xml.transform.TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void endDocument()
+    throws javax.xml.transform.TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void endElement(int nameCode)
+    throws javax.xml.transform.TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void processingInstruction(java.lang.String name,
+				    java.lang.String data)
+    throws javax.xml.transform.TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void setDocumentLocator(org.xml.sax.Locator locator) {
+    // nop
+  }
+
+  /** Discarded. */
+  public void setEscaping(boolean escaping)
+    throws javax.xml.transform.TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void setNamePool(NamePool namePool) {
+    // nop
+  }
+
+  /** Discarded. */
+  public void setUnparsedEntity(java.lang.String name, java.lang.String uri)
+    throws javax.xml.transform.TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void setWriter(java.io.Writer writer) {
+    // nop
+  }
+
+  /** Discarded. */
+  public void startDocument()
+    throws javax.xml.transform.TransformerException {
+    // nop
+  }
+
+  /** Discarded. */
+  public void startElement(int nameCode,
+		    org.xml.sax.Attributes attributes,
+		    int[] namespaces, int nscount)
+    throws javax.xml.transform.TransformerException {
+    // nop
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/NumberLinesEmitter.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/NumberLinesEmitter.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/NumberLinesEmitter.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,338 @@
+package com.nwalsh.saxon;
+
+import java.util.Stack;
+import java.util.StringTokenizer;
+import org.xml.sax.*;
+import org.w3c.dom.*;
+import javax.xml.transform.TransformerException;
+import com.icl.saxon.output.*;
+import com.icl.saxon.om.*;
+import com.icl.saxon.Controller;
+import com.icl.saxon.tree.AttributeCollection;
+import com.icl.saxon.expr.FragmentValue;
+
+/**
+ * <p>Saxon extension to decorate a result tree fragment with line numbers.</p>
+ *
+ * <p>$Id: NumberLinesEmitter.java 5907 2006-04-27 08:26:47Z xmldoc $</p>
+ *
+ * <p>Copyright (C) 2000 Norman Walsh.</p>
+ *
+ * <p>This class provides the guts of a
+ * <a href="http://saxon.sourceforge.net/">Saxon 6.*</a>
+ * implementation of line numbering for verbatim environments. (It is used
+ * by the Verbatim class.)</p>
+ *
+ * <p>The general design is this: the stylesheets construct a result tree
+ * fragment for some verbatim environment. The Verbatim class initializes
+ * a NumberLinesEmitter with information about what lines should be
+ * numbered and how. Then the result tree fragment
+ * is "replayed" through the NumberLinesEmitter; the NumberLinesEmitter
+ * builds a
+ * new result tree fragment from this event stream, decorated with line
+ * numbers,
+ * and that is returned.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @see Verbatim
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: NumberLinesEmitter.java 5907 2006-04-27 08:26:47Z xmldoc $
+ *
+ */
+public class NumberLinesEmitter extends CopyEmitter {
+  /** A stack for the preserving information about open elements. */
+  protected Stack elementStack = null;
+
+  /** The current line number. */
+  protected int lineNumber = 0;
+
+  /** Is the next element absolutely the first element in the fragment? */
+  protected boolean firstElement = false;
+
+  /** The FO namespace name. */
+  protected static String foURI = "http://www.w3.org/1999/XSL/Format";
+
+  /** The XHTML namespace name. */
+  protected static String xhURI = "http://www.w3.org/1999/xhtml";
+
+  /** The first line number will be <code>startinglinenumber</code>. */
+  protected int startinglinenumber = 1;
+
+  /** Every <code>modulus</code> line will be numbered. */
+  protected int modulus = 5;
+
+  /** Line numbers are <code>width</code> characters wide. */
+  protected int width = 3;
+
+  /** Line numbers are separated from the listing by <code>separator</code>. */
+  protected String separator = " ";
+
+  /** Is the stylesheet currently running an FO stylesheet? */
+  protected boolean foStylesheet = false;
+
+  /** <p>Constructor for the NumberLinesEmitter.</p>
+   *
+   * @param namePool The name pool to use for constructing elements and attributes.
+   * @param modulus The modulus to use for this listing.
+   * @param width The width to use for line numbers in this listing.
+   * @param separator The separator to use for this listing.
+   * @param foStylesheet Is this an FO stylesheet?
+   */
+  public NumberLinesEmitter(Controller controller,
+			    NamePool namePool,
+			    int startingLineNumber,
+			    int modulus,
+			    int width,
+			    String separator,
+			    boolean foStylesheet) {
+    super(controller,namePool);
+    elementStack = new Stack();
+    firstElement = true;
+
+    this.modulus = modulus;
+    this.startinglinenumber = startingLineNumber;
+    this.width = width;
+    this.separator = separator;
+    this.foStylesheet = foStylesheet;
+  }
+
+  /** Process characters. */
+  public void characters(char[] chars, int start, int len)
+    throws TransformerException {
+
+    // If we hit characters, then there's no first element...
+    firstElement = false;
+
+    if (lineNumber == 0) {
+      // The first line is always numbered
+      lineNumber = startinglinenumber;
+      formatLineNumber(lineNumber);
+    }
+
+    // Walk through the text node looking for newlines
+    char[] newChars = new char[len];
+    int pos = 0;
+    for (int count = start; count < start+len; count++) {
+      if (chars[count] == '\n') {
+	// This is the tricky bit; if we find a newline, make sure
+	// it doesn't occur inside any markup.
+
+	if (pos > 0) {
+	  // Output any characters that preceded this newline
+	  rtfEmitter.characters(newChars, 0, pos);
+	  pos = 0;
+	}
+
+	// Close all the open elements...
+	Stack tempStack = new Stack();
+	while (!elementStack.empty()) {
+	  StartElementInfo elem = (StartElementInfo) elementStack.pop();
+	  rtfEmitter.endElement(elem.getNameCode());
+	  tempStack.push(elem);
+	}
+
+	// Copy the newline to the output
+	newChars[pos++] = chars[count];
+	rtfEmitter.characters(newChars, 0, pos);
+	pos = 0;
+
+	// Add the line number
+	formatLineNumber(++lineNumber);
+
+	// Now "reopen" the elements that we closed...
+	while (!tempStack.empty()) {
+	  StartElementInfo elem = (StartElementInfo) tempStack.pop();
+	  AttributeCollection attr = (AttributeCollection)elem.getAttributes();
+	  AttributeCollection newAttr = new AttributeCollection(namePool);
+
+	  for (int acount = 0; acount < attr.getLength(); acount++) {
+	    String localName = attr.getLocalName(acount);
+	    int nameCode = attr.getNameCode(acount);
+	    String type = attr.getType(acount);
+	    String value = attr.getValue(acount);
+	    String uri = attr.getURI(acount);
+	    String prefix = "";
+
+	    if (localName.indexOf(':') > 0) {
+	      prefix = localName.substring(0, localName.indexOf(':'));
+	      localName = localName.substring(localName.indexOf(':')+1);
+	    }
+
+	    if (uri.equals("")
+		&& ((foStylesheet
+		     && localName.equals("id"))
+		    || (!foStylesheet
+			&& (localName.equals("id")
+			    || localName.equals("name"))))) {
+	      // skip this attribute
+	    } else {
+	      newAttr.addAttribute(prefix, uri, localName, type, value);
+	    }
+	  }
+
+	  rtfEmitter.startElement(elem.getNameCode(),
+			   newAttr,
+			   elem.getNamespaces(),
+			   elem.getNSCount());
+
+	  elementStack.push(elem);
+	}
+      } else {
+	newChars[pos++] = chars[count];
+      }
+    }
+
+    if (pos > 0) {
+      rtfEmitter.characters(newChars, 0, pos);
+      pos = 0;
+    }
+  }
+
+  /**
+   * <p>Add a formatted line number to the result tree fragment.</p>
+   *
+   * @param lineNumber The number of the current line.
+   */
+  protected void formatLineNumber(int lineNumber) 
+    throws TransformerException {
+
+    char ch = 160; // &nbsp;
+
+    String lno = "";
+    if (lineNumber == 1
+	|| (modulus >= 1 && (lineNumber % modulus == 0))) {
+      lno = "" + lineNumber;
+    }
+
+    while (lno.length() < width) {
+      lno = ch + lno;
+    }
+
+    lno += separator;
+
+    char chars[] = new char[lno.length()];
+    for (int count = 0; count < lno.length(); count++) {
+      chars[count] = lno.charAt(count);
+    }
+
+    characters(chars, 0, lno.length());
+  }
+
+  /** Process end element events. */
+  public void endElement(int nameCode)
+    throws TransformerException {
+    if (!elementStack.empty()) {
+      // if we didn't push the very first element (an fo:block or
+      // pre or div surrounding the whole block), then the stack will
+      // be empty when we get to the end of the first element...
+      elementStack.pop();
+    }
+    rtfEmitter.endElement(nameCode);
+  }
+
+  /** Process start element events. */
+  public void startElement(int nameCode,
+			   org.xml.sax.Attributes attributes,
+			   int[] namespaces,
+			   int nscount)
+    throws TransformerException {
+
+    if (!skipThisElement(nameCode)) {
+      StartElementInfo sei = new StartElementInfo(nameCode, attributes,
+						  namespaces, nscount);
+      elementStack.push(sei);
+    }
+
+    firstElement = false;
+
+    rtfEmitter.startElement(nameCode, attributes, namespaces, nscount);
+  }
+
+  /**
+   * <p>Protect the outer-most block wrapper.</p>
+   *
+   * <p>Open elements in the result tree fragment are closed and reopened
+   * around callouts (so that callouts don't appear inside links or other
+   * environments). But if the result tree fragment is a single block
+   * (a div or pre in HTML, an fo:block in FO), that outer-most block is
+   * treated specially.</p>
+   *
+   * <p>This method returns true if the element in question is that
+   * outermost block.</p>
+   *
+   * @param nameCode The name code for the element
+   *
+   * @return True if the element is the outer-most block, false otherwise.
+   */
+  protected boolean skipThisElement(int nameCode) {
+    // FIXME: This is such a gross hack...
+    if (firstElement) {
+      int thisFingerprint    = namePool.getFingerprint(nameCode);
+      int foBlockFingerprint = namePool.getFingerprint(foURI, "block");
+      int htmlPreFingerprint = namePool.getFingerprint("", "pre");
+      int htmlDivFingerprint = namePool.getFingerprint("", "div");
+      int xhtmlPreFingerprint = namePool.getFingerprint(xhURI, "pre");
+      int xhtmlDivFingerprint = namePool.getFingerprint(xhURI, "div");
+
+      if ((foStylesheet && thisFingerprint == foBlockFingerprint)
+	  || (!foStylesheet && (thisFingerprint == htmlPreFingerprint
+				|| thisFingerprint == htmlDivFingerprint
+				|| thisFingerprint == xhtmlPreFingerprint
+				|| thisFingerprint == xhtmlDivFingerprint))) {
+	// Don't push the outer-most wrapping div, pre, or fo:block
+	return true;
+      }
+    }
+
+    return false;
+  }
+
+  /**
+   * <p>A private class for maintaining the information required to call
+   * the startElement method.</p>
+   *
+   * <p>In order to close and reopen elements, information about those
+   * elements has to be maintained. This class is just the little record
+   * that we push on the stack to keep track of that info.</p>
+   */
+  private class StartElementInfo {
+    private int _nameCode;
+    org.xml.sax.Attributes _attributes;
+    int[] _namespaces;
+    int _nscount;
+
+    public StartElementInfo(int nameCode,
+			    org.xml.sax.Attributes attributes,
+			    int[] namespaces,
+			    int nscount) {
+      _nameCode = nameCode;
+      _attributes = attributes;
+      _namespaces = namespaces;
+      _nscount = nscount;
+    }
+
+    public int getNameCode() {
+      return _nameCode;
+    }
+
+    public org.xml.sax.Attributes getAttributes() {
+      return _attributes;
+    }
+
+    public int[] getNamespaces() {
+      return _namespaces;
+    }
+
+    public int getNSCount() {
+      return _nscount;
+    }
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Table.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Table.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Table.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,477 @@
+// Verbatim.java - Saxon extensions supporting DocBook verbatim environments
+
+package com.nwalsh.saxon;
+
+import java.util.Hashtable;
+import org.xml.sax.*;
+import org.w3c.dom.*;
+import javax.xml.transform.TransformerException;
+import com.icl.saxon.Controller;
+import com.icl.saxon.expr.*;
+import com.icl.saxon.om.*;
+import com.icl.saxon.pattern.*;
+import com.icl.saxon.Context;
+import com.icl.saxon.tree.*;
+import com.icl.saxon.functions.Extensions;
+
+/**
+ * <p>Saxon extensions supporting Tables</p>
+ *
+ * <p>$Id: Table.java 5907 2006-04-27 08:26:47Z xmldoc $</p>
+ *
+ * <p>Copyright (C) 2000 Norman Walsh.</p>
+ *
+ * <p>This class provides a
+ * <a href="http://saxon.sourceforge.net/">Saxon</a>
+ * implementation of some code to adjust CALS Tables to HTML
+ * Tables.</p>
+ *
+ * <p><b>Column Widths</b></p>
+ * <p>The <tt>adjustColumnWidths</tt> method takes a result tree
+ * fragment (assumed to contain the colgroup of an HTML Table)
+ * and returns the result tree fragment with the column widths
+ * adjusted to HTML terms.</p>
+ *
+ * <p><b>Convert Lengths</b></p>
+ * <p>The <tt>convertLength</tt> method takes a length specification
+ * of the form 9999.99xx (where "xx" is a unit) and returns that length
+ * as an integral number of pixels. For convenience, percentage lengths
+ * are returned unchanged.</p>
+ * <p>The recognized units are: inches (in), centimeters (cm),
+ * millimeters (mm), picas (pc, 1pc=12pt), points (pt), and pixels (px).
+ * A number with no units is assumed to be pixels.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: Table.java 5907 2006-04-27 08:26:47Z xmldoc $
+ *
+ */
+public class Table {
+  /** The number of pixels per inch */
+  private static int pixelsPerInch = 96;
+
+  /** The nominal table width (6in by default). */
+  private static int nominalWidth = 6 * pixelsPerInch;
+
+  /** The default table width (100% by default). */
+  private static String tableWidth = "100%";
+
+  /** Is this an FO stylesheet? */
+  private static boolean foStylesheet = false;
+
+  /** The hash used to associate units with a length in pixels. */
+  protected static Hashtable unitHash = null;
+
+  /**
+   * <p>Constructor for Verbatim</p>
+   *
+   * <p>All of the methods are static, so the constructor does nothing.</p>
+   */
+  public Table() {
+  }
+
+  /** Initialize the internal hash table with proper values. */
+  protected static void initializeHash() {
+    unitHash = new Hashtable();
+    unitHash.put("in", new Float(pixelsPerInch));
+    unitHash.put("cm", new Float(pixelsPerInch / 2.54));
+    unitHash.put("mm", new Float(pixelsPerInch / 25.4));
+    unitHash.put("pc", new Float((pixelsPerInch / 72) * 12));
+    unitHash.put("pt", new Float(pixelsPerInch / 72));
+    unitHash.put("px", new Float(1));
+  }
+
+  /** Set the pixels-per-inch value. Only positive values are legal. */
+  public static void setPixelsPerInch(int value) {
+    if (value > 0) {
+      pixelsPerInch = value;
+      initializeHash();
+    }
+  }
+
+  /** Return the current pixels-per-inch value. */
+  public int getPixelsPerInch() {
+    return pixelsPerInch;
+  }
+
+  /**
+   * <p>Convert a length specification to a number of pixels.</p>
+   *
+   * <p>The specified length should be of the form [+/-]999.99xx,
+   * where xx is a valid unit.</p>
+   */
+  public static int convertLength(String length) {
+    // The format of length should be 999.999xx
+    int sign = 1;
+    String digits = "";
+    String units = "";
+    char lench[] = length.toCharArray();
+    float flength = 0;
+    boolean done = false;
+    int pos = 0;
+    float factor = 1;
+    int pixels = 0;
+
+    if (unitHash == null) {
+      initializeHash();
+    }
+
+    if (lench[pos] == '+' || lench[pos] == '-') {
+      if (lench[pos] == '-') {
+	sign = -1;
+      }
+      pos++;
+    }
+
+    while (!done) {
+      if (pos >= lench.length) {
+	done = true;
+      } else {
+	if ((lench[pos] > '9' || lench[pos] < '0') && lench[pos] != '.') {
+	  done = true;
+	  units = length.substring(pos);
+	} else {
+	  digits += lench[pos++];
+	}
+      }
+    }
+
+    try {
+      flength = Float.parseFloat(digits);
+    } catch (NumberFormatException e) {
+      System.out.println(digits + " is not a number; 1 used instead.");
+      flength = 1;
+    }
+
+    Float f = null;
+
+    if (!units.equals("")) {
+      f = (Float) unitHash.get(units);
+      if (f == null) {
+	System.out.println(units + " is not a known unit; 1 used instead.");
+	factor = 1;
+      } else {
+	factor = f.floatValue();
+      }
+    } else {
+      factor = 1;
+    }
+
+    f = new Float(flength * factor);
+
+    pixels = f.intValue() * sign;
+
+    return pixels;
+  }
+
+  /**
+   * <p>Find the string value of a stylesheet variable or parameter</p>
+   *
+   * <p>Returns the string value of <code>varName</code> in the current
+   * <code>context</code>. Returns the empty string if the variable is
+   * not defined.</p>
+   *
+   * @param context The current stylesheet context
+   * @param varName The name of the variable (without the dollar sign)
+   *
+   * @return The string value of the variable
+   */
+  protected static String getVariable(Context context, String varName) 
+    throws TransformerException {
+    Value variable = null;
+    String varString = null;
+
+    try {
+      variable = Extensions.evaluate(context, "$" + varName);
+      varString = variable.asString();
+      return varString;
+    } catch (IllegalArgumentException e) {
+      System.out.println("Undefined variable: " + varName);
+      return "";
+    }
+  }
+
+  /**
+   * <p>Setup the parameters associated with column width calculations</p>
+   *
+   * <p>This method queries the stylesheet for the variables
+   * associated with table column widths. It is called automatically before
+   * column widths are adjusted. The context is used to retrieve the values,
+   * this allows templates to redefine these variables.</p>
+   *
+   * <p>The following variables are queried. If the variables do not
+   * exist, builtin defaults will be used (but you may also get a bunch
+   * of messages from the Java interpreter).</p>
+   *
+   * <dl>
+   * <dt><code>nominal.table.width</code></dt>
+   * <dd>The "normal" width for tables. This must be an absolute length.</dd>
+   * <dt><code>table.width</code></dt>
+   * <dd>The width for tables. This may be either an absolute
+   * length or a percentage.</dd>
+   * </dl>
+   *
+   * @param context The current stylesheet context
+   *
+   */
+  private static void setupColumnWidths(Context context) {
+    // Hardcoded defaults
+    nominalWidth = 6 * pixelsPerInch;
+    tableWidth = "100%";
+
+    String varString = null;
+
+    try {
+      // Get the stylesheet type
+      varString = getVariable(context, "stylesheet.result.type");
+      foStylesheet = varString.equals("fo");
+
+      // Get the nominal table width
+      varString = getVariable(context, "nominal.table.width");
+      nominalWidth = convertLength(varString);
+
+      // Get the table width
+      varString = getVariable(context, "table.width");
+      tableWidth = varString;
+    } catch (TransformerException e) {
+      //nop, can't happen
+    }
+  }
+
+  /**
+   * <p>Adjust column widths in an HTML table.</p>
+   *
+   * <p>The specification of column widths in CALS (a relative width
+   * plus an optional absolute width) are incompatible with HTML column
+   * widths. This method adjusts CALS column width specifiers in an
+   * attempt to produce equivalent HTML specifiers.</p>
+   *
+   * <p>In order for this method to work, the CALS width specifications
+   * should be placed in the "width" attribute of the &lt;col>s within
+   * a &lt;colgroup>. Then the colgroup result tree fragment is passed
+   * to this method.</p>
+   *
+   * <p>This method makes use of two parameters from the XSL stylesheet
+   * that calls it: <code>nominal.table.width</code> and
+   * <code>table.width</code>. The value of <code>nominal.table.width</code>
+   * must be an absolute distance. The value of <code>table.width</code>
+   * can be either absolute or relative.</p>
+   *
+   * <p>Presented with a mixture of relative and
+   * absolute lengths, the table width is used to calculate
+   * appropriate values. If the <code>table.width</code> is relative,
+   * the nominal width is used for this calculation.</p>
+   *
+   * <p>There are three possible combinations of values:</p>
+   *
+   * <ol>
+   * <li>There are no relative widths; in this case the absolute widths
+   * are used in the HTML table.</li>
+   * <li>There are no absolute widths; in this case the relative widths
+   * are used in the HTML table.</li>
+   * <li>There are a mixture of absolute and relative widths:
+   *   <ol>
+   *     <li>If the table width is absolute, all widths become absolute.</li>
+   *     <li>If the table width is relative, make all the widths absolute
+   *         relative to the nominal table width then turn them all
+   *         back into relative widths.</li>
+   *   </ol>
+   * </li>
+   * </ol>
+   *
+   * @param context The stylesheet context; supplied automatically by Saxon
+   * @param rtf_ns The result tree fragment containing the colgroup.
+   *
+   * @return The result tree fragment containing the adjusted colgroup.
+   *
+   */
+  public static NodeSetValue adjustColumnWidths (Context context,
+						 NodeSetValue rtf_ns) {
+
+    FragmentValue rtf = (FragmentValue) rtf_ns;
+
+    setupColumnWidths(context);
+
+    try {
+      Controller controller = context.getController();
+      NamePool namePool = controller.getNamePool();
+
+      ColumnScanEmitter csEmitter = new ColumnScanEmitter(namePool);
+      rtf.replay(csEmitter);
+
+      int numColumns = csEmitter.columnCount();
+      String widths[] = csEmitter.columnWidths();
+
+      float relTotal = 0;
+      float relParts[] = new float[numColumns];
+
+      float absTotal = 0;
+      float absParts[] = new float[numColumns];
+
+      for (int count = 0; count < numColumns; count++) {
+	String width = widths[count];
+
+	int pos = width.indexOf("*");
+	if (pos >= 0) {
+	  String relPart = width.substring(0, pos);
+	  String absPart = width.substring(pos+1);
+
+	  try {
+	    float rel = Float.parseFloat(relPart);
+	    relTotal += rel;
+	    relParts[count] = rel;
+	  } catch (NumberFormatException e) {
+	    System.out.println(relPart + " is not a valid relative unit.");
+	  }
+
+	  int pixels = 0;
+	  if (absPart != null && !absPart.equals("")) {
+	    pixels = convertLength(absPart);
+	  }
+
+	  absTotal += pixels;
+	  absParts[count] = pixels;
+	} else {
+	  relParts[count] = 0;
+
+	  int pixels = 0;
+	  if (width != null && !width.equals("")) {
+	    pixels = convertLength(width);
+	  }
+
+	  absTotal += pixels;
+	  absParts[count] = pixels;
+	}
+      }
+
+      // Ok, now we have the relative widths and absolute widths in
+      // two parallel arrays.
+      //
+      // - If there are no relative widths, output the absolute widths
+      // - If there are no absolute widths, output the relative widths
+      // - If there are a mixture of relative and absolute widths,
+      //   - If the table width is absolute, turn these all into absolute
+      //     widths.
+      //   - If the table width is relative, turn these all into absolute
+      //     widths in the nominalWidth and then turn them back into
+      //     percentages.
+
+      if (relTotal == 0) {
+	for (int count = 0; count < numColumns; count++) {
+	  Float f = new Float(absParts[count]);
+	  if (foStylesheet) {
+	    int pixels = f.intValue();
+	    float inches = (float) pixels / pixelsPerInch;
+	    widths[count] = inches + "in";
+	  } else {
+	    widths[count] = Integer.toString(f.intValue());
+	  }
+	}
+      } else if (absTotal == 0) {
+	for (int count = 0; count < numColumns; count++) {
+	  float rel = relParts[count] / relTotal * 100;
+	  Float f = new Float(rel);
+	  widths[count] = Integer.toString(f.intValue());
+	}
+	widths = correctRoundingError(widths);
+      } else {
+	int pixelWidth = nominalWidth;
+
+	if (tableWidth.indexOf("%") <= 0) {
+	  pixelWidth = convertLength(tableWidth);
+	}
+
+	if (pixelWidth <= absTotal) {
+	  System.out.println("Table is wider than table width.");
+	} else {
+	  pixelWidth -= absTotal;
+	}
+
+	absTotal = 0;
+	for (int count = 0; count < numColumns; count++) {
+	  float rel = relParts[count] / relTotal * pixelWidth;
+	  relParts[count] = rel + absParts[count];
+	  absTotal += rel + absParts[count];
+	}
+
+	if (tableWidth.indexOf("%") <= 0) {
+	  for (int count = 0; count < numColumns; count++) {
+	    Float f = new Float(relParts[count]);
+	    if (foStylesheet) {
+	      int pixels = f.intValue();
+	      float inches = (float) pixels / pixelsPerInch;
+	      widths[count] = inches + "in";
+	    } else {
+	      widths[count] = Integer.toString(f.intValue());
+	    }
+	  }
+	} else {
+	  for (int count = 0; count < numColumns; count++) {
+	    float rel = relParts[count] / absTotal * 100;
+	    Float f = new Float(rel);
+	    widths[count] = Integer.toString(f.intValue());
+	  }
+	  widths = correctRoundingError(widths);
+	}
+      }
+
+      ColumnUpdateEmitter cuEmitter = new ColumnUpdateEmitter(controller,
+							      namePool,
+							      widths);
+
+      rtf.replay(cuEmitter);
+      return cuEmitter.getResultTreeFragment();
+    } catch (TransformerException e) {
+      // This "can't" happen.
+      System.out.println("Transformer Exception in adjustColumnWidths");
+      return rtf;
+    }
+  }
+
+  /**
+   * Correct rounding errors introduced in calculating the width of each
+   * column. Make sure they sum to 100% in the end.
+   */
+  protected static String[] correctRoundingError(String widths[]) {
+    int totalWidth = 0;
+
+    for (int count = 0; count < widths.length; count++) {
+      try {
+	int width = Integer.parseInt(widths[count]);
+	totalWidth += width;
+      } catch (NumberFormatException nfe) {
+	// nop; "can't happen"
+      }
+    }
+
+    float totalError = 100 - totalWidth;
+    float columnError = totalError / widths.length;
+    float error = 0;
+
+    for (int count = 0; count < widths.length; count++) {
+      try {
+	int width = Integer.parseInt(widths[count]);
+	error = error + columnError;
+	if (error >= 1.0) {
+	  int adj = (int) Math.round(Math.floor(error));
+	  error = error - (float) Math.floor(error);
+	  width = width + adj;
+	  widths[count] = Integer.toString(width) + "%";
+	} else {
+	  widths[count] = Integer.toString(width) + "%";
+	}
+      } catch (NumberFormatException nfe) {
+	// nop; "can't happen"
+      }
+    }
+
+    return widths;
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Text.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Text.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Text.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,203 @@
+// Text - Saxon extension element for inserting text
+
+package com.nwalsh.saxon;
+
+import java.io.BufferedReader;
+import java.io.InputStreamReader;
+import java.io.InputStream;
+import java.io.IOException;
+import java.io.FileNotFoundException;
+import java.net.URL;
+import java.net.MalformedURLException;
+
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.URIResolver;
+import javax.xml.transform.Source;
+
+import com.icl.saxon.Context;
+import com.icl.saxon.style.StyleElement;
+import com.icl.saxon.output.Outputter;
+import com.icl.saxon.expr.Expression;
+
+import org.xml.sax.AttributeList;
+
+/**
+ * <p>Saxon extension element for inserting text
+ *
+ * <p>$Id: Text.java 5907 2006-04-27 08:26:47Z xmldoc $</p>
+ *
+ * <p>Copyright (C) 2000 Norman Walsh.</p>
+ *
+ * <p>This class provides a
+ * <a href="http://saxon.sourceforge.net/">Saxon</a>
+ * extension element for inserting text into a result tree.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: Text.java 5907 2006-04-27 08:26:47Z xmldoc $
+ *
+ */
+public class Text extends StyleElement {
+  /**
+   * <p>Constructor for Text</p>
+   *
+   * <p>Does nothing.</p>
+   */
+  public Text() {
+  }
+
+  /**
+   * <p>Is this element an instruction?</p>
+   *
+   * <p>Yes, it is.</p>
+   *
+   * @return true
+   */
+  public boolean isInstruction() {
+    return true;
+  }
+
+    /**
+    * <p>Can this element contain a template-body?</p>
+    *
+    * <p>Yes, it can, but only so that it can contain xsl:fallback.</p>
+    *
+    * @return true
+    */
+  public boolean mayContainTemplateBody() {
+    return true;
+  }
+
+  /**
+   * <p>Validate the arguments</p>
+   *
+   * <p>The element must have an href attribute.</p>
+   */
+  public void prepareAttributes() throws TransformerConfigurationException {
+    // Get mandatory href attribute
+    String fnAtt = getAttribute("href");
+    if (fnAtt == null) {
+      reportAbsence("href");
+    }
+  }
+
+  /** Validate that the element occurs in a reasonable place. */
+  public void validate() throws TransformerConfigurationException {
+    checkWithinTemplate();
+  }
+
+  /**
+   * <p>Insert the text of the file into the result tree</p>
+   *
+   * <p>Processing this element inserts the contents of the URL named
+   * by the href attribute into the result tree as plain text.</p>
+   * 
+   * <p>Optional encoding attribute can specify encoding of resource.
+   * If not specified default system encoding is used.</p>
+   *
+   */
+  public void process( Context context ) throws TransformerException {
+    Outputter out = context.getOutputter();
+
+    String hrefAtt = getAttribute("href");
+    Expression hrefExpr = makeAttributeValueTemplate(hrefAtt);
+    String href = hrefExpr.evaluateAsString(context);
+
+    String encodingAtt = getAttribute("encoding");
+    Expression encodingExpr = makeAttributeValueTemplate(encodingAtt);
+    String encoding = encodingExpr.evaluateAsString(context);
+
+    String baseURI = context.getContextNodeInfo().getBaseURI();
+
+    URIResolver resolver = context.getController().getURIResolver();
+
+    if (resolver != null) {
+      Source source = resolver.resolve(href, baseURI);
+      href = source.getSystemId();
+    }
+
+    URL baseURL = null;
+    URL fileURL = null;
+
+    try {
+      baseURL = new URL(baseURI);
+    } catch (MalformedURLException e0) {
+      // what the!?
+      baseURL = null;
+    }
+
+    try {
+      try {
+        fileURL = new URL(baseURL, href);
+      } catch (MalformedURLException e1) {
+        try {
+          fileURL = new URL(baseURL, "file:" + href);
+        } catch (MalformedURLException e2) {
+          System.out.println("Cannot open " + href);
+          return;
+        }
+      }
+
+      InputStreamReader isr = null;
+      if (encoding.equals("") == true)
+        isr = new InputStreamReader(fileURL.openStream());
+      else
+        isr = new InputStreamReader(fileURL.openStream(), encoding);
+
+      BufferedReader is = new BufferedReader(isr);
+
+      final int BUFFER_SIZE = 4096;
+      char chars[] = new char[BUFFER_SIZE];
+      char nchars[] = new char[BUFFER_SIZE];
+      int len = 0;
+      int i = 0;
+      int carry = -1;
+
+      while ((len = is.read(chars)) > 0) {
+        // various new lines are normalized to LF to prevent blank lines
+	// between lines
+
+        int nlen = 0;
+        for (i=0; i<len; i++) {
+          // is current char CR?
+          if (chars[i] == '\r') {
+            if (i < (len - 1)) {
+              // skip it if next char is LF
+              if (chars[i+1] == '\n') continue;
+              // single CR -> LF to normalize MAC line endings
+              nchars[nlen] = '\n';
+              nlen++;
+              continue;
+            } else {
+              // if CR is last char of buffer we must look ahead
+              carry = is.read();
+              nchars[nlen] = '\n';
+              nlen++;
+              if (carry == '\n') {
+                carry = -1;
+              }
+              break;
+            }
+          }
+          nchars[nlen] = chars[i];
+          nlen++;
+        }
+        out.writeContent(nchars, 0, nlen);
+        // handle look aheaded character
+        if (carry != -1) out.writeContent(String.valueOf((char)carry));
+        carry = -1;
+      }
+      is.close();
+    } catch (Exception e) {
+      System.out.println("Cannot read " + href);
+    }
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/TextFactory.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/TextFactory.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/TextFactory.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,67 @@
+// TextFactory - Saxon extension element factory
+
+package com.nwalsh.saxon;
+
+import com.icl.saxon.style.ExtensionElementFactory;
+import org.xml.sax.SAXException;
+
+/**
+ * <p>Saxon extension element factory
+ *
+ * <p>$Id: TextFactory.java 5907 2006-04-27 08:26:47Z xmldoc $</p>
+ *
+ * <p>Copyright (C) 2000 Norman Walsh.</p>
+ *
+ * <p>This class provides a
+ * <a href="http://saxon.sourceforge.net/">Saxon</a>
+ * extension element factory for the Text extension element
+ * family.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: TextFactory.java 5907 2006-04-27 08:26:47Z xmldoc $
+ *
+ * @see Text
+ *
+ */
+public class TextFactory implements ExtensionElementFactory {
+  /**
+   * <p>Constructor for TextFactory</p>
+   *
+   * <p>Does nothing.</p>
+   */
+  public TextFactory() {
+  }
+
+  /**
+   * <p>Return the class that implements a particular extension element.</p>
+   *
+   * @param localname The local name of the extension element.
+   *
+   * @return The class that handles that extension element.
+   *
+   * @exception SAXException("Unknown Text extension element")
+   */
+  public Class getExtensionClass(String localname) {
+    if (localname.equals("insertfile")) {
+      try {
+	return Class.forName("com.nwalsh.saxon.Text");
+      } catch (ClassNotFoundException e) {
+	return null;
+      }
+    }
+    return null;
+  }
+}
+
+
+
+
+

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/UnwrapLinks.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/UnwrapLinks.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/UnwrapLinks.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,132 @@
+// UnwrapLinks.java - Saxon extension for unwrapping nested links
+
+package com.nwalsh.saxon;
+
+import java.util.Stack;
+import java.util.StringTokenizer;
+import org.xml.sax.*;
+import org.w3c.dom.*;
+import javax.xml.transform.TransformerException;
+import com.icl.saxon.Controller;
+import com.icl.saxon.expr.*;
+import com.icl.saxon.om.*;
+import com.icl.saxon.pattern.*;
+import com.icl.saxon.Context;
+import com.icl.saxon.tree.*;
+import com.icl.saxon.functions.Extensions;
+import com.nwalsh.saxon.UnwrapLinksEmitter;
+
+/**
+ * <p>Saxon extension for unwrapping nested links</p>
+ *
+ * <p>$Id: UnwrapLinks.java 5907 2006-04-27 08:26:47Z xmldoc $</p>
+ *
+ * <p>Copyright (C) 2000, 2002 Norman Walsh.</p>
+ *
+ * <p>This class provides a
+ * <a href="http://saxon.sf.net/">Saxon 6.*</a>
+ * implementation of a link unwrapper.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: UnwrapLinks.java 5907 2006-04-27 08:26:47Z xmldoc $
+ *
+ */
+public class UnwrapLinks {
+  /** True if the stylesheet is producing formatting objects */
+  private static boolean foStylesheet = false;
+
+  /**
+   * <p>Constructor for UnwrapLinks</p>
+   *
+   * <p>All of the methods are static, so the constructor does nothing.</p>
+   */
+  public UnwrapLinks() {
+  }
+
+  /**
+   * <p>Find the string value of a stylesheet variable or parameter</p>
+   *
+   * <p>Returns the string value of <code>varName</code> in the current
+   * <code>context</code>. Returns the empty string if the variable is
+   * not defined.</p>
+   *
+   * @param context The current stylesheet context
+   * @param varName The name of the variable (without the dollar sign)
+   *
+   * @return The string value of the variable
+   */
+  protected static String getVariable(Context context, String varName) {
+    Value variable = null;
+    String varString = null;
+
+    try {
+      variable = Extensions.evaluate(context, "$" + varName);
+      varString = variable.asString();
+      return varString;
+    } catch (TransformerException te) {
+      System.out.println("Undefined variable: " + varName);
+      return "";
+    } catch (IllegalArgumentException iae) {
+      System.out.println("Undefined variable: " + varName);
+      return "";
+    }
+  }
+
+  /**
+   * <p>Setup the parameters associated with unwrapping links</p>
+   *
+   * @param context The current stylesheet context
+   *
+   */
+  private static void setupUnwrapLinks(Context context) {
+    // Get the stylesheet type
+    String varString = getVariable(context, "stylesheet.result.type");
+    foStylesheet = (varString.equals("fo"));
+  }
+
+  /**
+   * <p>Unwrap links</p>
+   *
+   * @param context The current stylesheet context.
+   * @param rtf_ns The result tree fragment of the verbatim environment.
+   *
+   * @return The modified result tree fragment.
+   */
+  public static NodeSetValue unwrapLinks (Context context,
+					  NodeSetValue rtf_ns) {
+
+    FragmentValue rtf = (FragmentValue) rtf_ns;
+    boolean tryAgain = true;
+
+    setupUnwrapLinks(context);
+
+    try {
+      Controller controller = context.getController();
+      NamePool namePool = controller.getNamePool();
+
+      while (tryAgain) {
+	UnwrapLinksEmitter ulEmitter = new UnwrapLinksEmitter(controller,
+							      namePool,
+							      foStylesheet);
+	rtf.replay(ulEmitter);
+	tryAgain = ulEmitter.tryAgain();
+	rtf = (FragmentValue) ulEmitter.getResultTreeFragment();
+      }
+
+      return rtf;
+
+    } catch (TransformerException e) {
+      // This "can't" happen.
+      System.out.println("Transformer Exception in unwrapLinks");
+      return rtf;
+    }
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/UnwrapLinksEmitter.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/UnwrapLinksEmitter.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/UnwrapLinksEmitter.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,233 @@
+package com.nwalsh.saxon;
+
+import java.util.Stack;
+import org.xml.sax.*;
+import org.w3c.dom.*;
+import javax.xml.transform.TransformerException;
+import com.icl.saxon.output.*;
+import com.icl.saxon.om.*;
+import com.icl.saxon.Controller;
+import com.icl.saxon.tree.AttributeCollection;
+
+/**
+ * <p>Saxon extension to unwrap links in a result tree fragment.</p>
+ *
+ * <p>$Id: UnwrapLinksEmitter.java 1731 2002-06-26 11:03:05Z nwalsh $</p>
+ *
+ * <p>Copyright (C) 2000, 2002 Norman Walsh.</p>
+ *
+ * <p>This class provides the guts of a
+ * <a href="http://saxon.sf.net/">Saxon 6.*</a>
+ * implementation of a link unwrapper.</p>
+ *
+ * <p>The general design is this: the stylesheets construct a result tree
+ * fragment for some environment. Then the result tree fragment
+ * is "replayed" through the UnwrapLinksEmitter; the UnwrapLinksEmitter
+ * builds a
+ * new result tree fragment from this event stream with top-level links unwrapped.
+ * That RTF is returned. Note that only a <i>single</i> level of unwrapping
+ * is performed. This is clearly a crude implementation.
+ * </p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: UnwrapLinksEmitter.java 1731 2002-06-26 11:03:05Z nwalsh $
+ *
+ */
+public class UnwrapLinksEmitter extends CopyEmitter {
+  /** A stack for the preserving information about open elements. */
+  protected Stack elementStack = null;
+  protected Stack saveStack = null;
+
+  /** The FO namespace name. */
+  protected static String foURI = "http://www.w3.org/1999/XSL/Format";
+
+  /** The XHTML namespace name. */
+  protected static String xhURI = "http://www.w3.org/1999/xhtml";
+
+  /** Is the stylesheet currently running an FO stylesheet? */
+  protected boolean foStylesheet = false;
+
+  /** Are we currently in a link? How deep? */
+  protected int linkDepth = 0;
+  protected int skipDepth = 0;
+
+  protected int htmlAFingerprint  = 0;
+  protected int xhtmlAFingerprint = 0;
+  protected boolean inSkip = false;
+  protected boolean tryAgain = false;
+
+
+  /** <p>Constructor for the UnwrapLinksEmitter.</p>
+   *
+   * @param namePool The name pool to use for constructing elements and attributes.
+   * @param foStylesheet Is this an FO stylesheet?
+   */
+  public UnwrapLinksEmitter(Controller controller,
+			    NamePool namePool,
+			    boolean foStylesheet) {
+    super(controller,namePool);
+    elementStack = new Stack();
+    this.foStylesheet = foStylesheet;
+
+    htmlAFingerprint  = namePool.getFingerprint("", "a");
+    xhtmlAFingerprint = namePool.getFingerprint(xhURI, "a");
+  }
+
+  /** Process start element events. */
+  public void startElement(int nameCode,
+			   org.xml.sax.Attributes attributes,
+			   int[] namespaces,
+			   int nscount)
+    throws TransformerException {
+
+    int thisFingerprint = namePool.getFingerprint(nameCode);
+    boolean isLink = (thisFingerprint == htmlAFingerprint
+		      || thisFingerprint == xhtmlAFingerprint);
+
+    if (isLink) {
+      linkDepth++;
+      tryAgain = tryAgain || inSkip;
+    }
+
+    if (isLink && linkDepth > 1 && !inSkip) {
+      inSkip = true;
+
+      // Close all the open elements
+      saveStack = new Stack();
+      Stack tempStack = new Stack();
+      while (!elementStack.empty()) {
+	StartElementInfo elem = (StartElementInfo) elementStack.pop();
+	rtfEmitter.endElement(elem.getNameCode());
+	saveStack.push(elem);
+	tempStack.push(elem);
+      }
+
+      while (!tempStack.empty()) {
+	StartElementInfo elem = (StartElementInfo) tempStack.pop();
+	elementStack.push(elem);
+      }
+    }
+
+    if (inSkip) {
+      skipDepth++;
+    } else {
+    }
+
+    rtfEmitter.startElement(nameCode,attributes,namespaces,nscount);
+
+    StartElementInfo sei = new StartElementInfo(nameCode, attributes,
+						namespaces, nscount);
+    elementStack.push(sei);
+  }
+
+  /** Process end element events. */
+  public void endElement(int nameCode) throws TransformerException {
+    int thisFingerprint   = namePool.getFingerprint(nameCode);
+    boolean isLink = (thisFingerprint == htmlAFingerprint
+		      || thisFingerprint == xhtmlAFingerprint);
+
+    rtfEmitter.endElement(nameCode);
+    elementStack.pop();
+
+    if (isLink) {
+      linkDepth--;
+    }
+
+    if (inSkip) {
+      skipDepth--;
+      inSkip = (skipDepth > 0);
+      if (!inSkip) {
+	// Reopen all the ones we closed before...
+	while (!saveStack.empty()) {
+	  StartElementInfo elem = (StartElementInfo) saveStack.pop();
+
+	  AttributeCollection attr = (AttributeCollection)elem.getAttributes();
+	  AttributeCollection newAttr = new AttributeCollection(namePool);
+
+	  for (int acount = 0; acount < attr.getLength(); acount++) {
+	    String localName = attr.getLocalName(acount);
+	    String type = attr.getType(acount);
+	    String value = attr.getValue(acount);
+	    String uri = attr.getURI(acount);
+	    String prefix = "";
+
+	    if (localName.indexOf(':') > 0) {
+	      prefix = localName.substring(0, localName.indexOf(':'));
+	      localName = localName.substring(localName.indexOf(':')+1);
+	    }
+
+	    if (uri.equals("")
+		&& ((foStylesheet
+		     && localName.equals("id"))
+		    || (!foStylesheet
+			&& (localName.equals("id")
+			    || localName.equals("name"))))) {
+	      // skip this attribute
+	    } else {
+	      newAttr.addAttribute(prefix, uri, localName, type, value);
+	    }
+	  }
+
+	  rtfEmitter.startElement(elem.getNameCode(),
+				  newAttr,
+				  elem.getNamespaces(),
+				  elem.getNSCount());
+	}
+      }
+    }
+  }
+
+  public boolean tryAgain()
+    throws TransformerException {
+    return tryAgain;
+  }
+
+  /**
+   * <p>A private class for maintaining the information required to call
+   * the startElement method.</p>
+   *
+   * <p>In order to close and reopen elements, information about those
+   * elements has to be maintained. This class is just the little record
+   * that we push on the stack to keep track of that info.</p>
+   */
+  private class StartElementInfo {
+    private int _nameCode;
+    org.xml.sax.Attributes _attributes;
+    int[] _namespaces;
+    int _nscount;
+
+    public StartElementInfo(int nameCode,
+			    org.xml.sax.Attributes attributes,
+			    int[] namespaces,
+			    int nscount) {
+      _nameCode = nameCode;
+      _attributes = attributes;
+      _namespaces = namespaces;
+      _nscount = nscount;
+    }
+
+    public int getNameCode() {
+      return _nameCode;
+    }
+
+    public org.xml.sax.Attributes getAttributes() {
+      return _attributes;
+    }
+
+    public int[] getNamespaces() {
+      return _namespaces;
+    }
+
+    public int getNSCount() {
+      return _nscount;
+    }
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Verbatim.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Verbatim.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Verbatim.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,491 @@
+// Verbatim.java - Saxon extensions supporting DocBook verbatim environments
+
+package com.nwalsh.saxon;
+
+import java.util.Stack;
+import java.util.StringTokenizer;
+import org.xml.sax.*;
+import org.w3c.dom.*;
+import javax.xml.transform.TransformerException;
+import com.icl.saxon.Controller;
+import com.icl.saxon.expr.*;
+import com.icl.saxon.om.*;
+import com.icl.saxon.pattern.*;
+import com.icl.saxon.Context;
+import com.icl.saxon.tree.*;
+import com.icl.saxon.functions.Extensions;
+import com.nwalsh.saxon.NumberLinesEmitter;
+import com.nwalsh.saxon.CalloutEmitter;
+
+/**
+ * <p>Saxon extensions supporting DocBook verbatim environments</p>
+ *
+ * <p>$Id: Verbatim.java 5907 2006-04-27 08:26:47Z xmldoc $</p>
+ *
+ * <p>Copyright (C) 2000 Norman Walsh.</p>
+ *
+ * <p>This class provides a
+ * <a href="http://saxon.sourceforge.net/">Saxon</a>
+ * implementation of two features that would be impractical to
+ * implement directly in XSLT: line numbering and callouts.</p>
+ *
+ * <p><b>Line Numbering</b></p>
+ * <p>The <tt>numberLines</tt> method takes a result tree
+ * fragment (assumed to contain the contents of a formatted verbatim
+ * element in DocBook: programlisting, screen, address, literallayout,
+ * or synopsis) and returns a result tree fragment decorated with
+ * line numbers.</p>
+ *
+ * <p><b>Callouts</b></p>
+ * <p>The <tt>insertCallouts</tt> method takes an
+ * <tt>areaspec</tt> and a result tree fragment
+ * (assumed to contain the contents of a formatted verbatim
+ * element in DocBook: programlisting, screen, address, literallayout,
+ * or synopsis) and returns a result tree fragment decorated with
+ * callouts.</p>
+ *
+ * <p><b>Change Log:</b></p>
+ * <dl>
+ * <dt>1.0</dt>
+ * <dd><p>Initial release.</p></dd>
+ * </dl>
+ *
+ * @author Norman Walsh
+ * <a href="mailto:ndw at nwalsh.com">ndw at nwalsh.com</a>
+ *
+ * @version $Id: Verbatim.java 5907 2006-04-27 08:26:47Z xmldoc $
+ *
+ */
+public class Verbatim {
+  /** True if the stylesheet is producing formatting objects */
+  private static boolean foStylesheet = false;
+  /** The modulus for line numbering (every 'modulus' line is numbered). */
+  private static int modulus = 0;
+  /** The width (in characters) of line numbers (for padding). */
+  private static int width = 0;
+  /** The starting line number. */
+  private static int startinglinenumber = 1;
+  /** The separator between the line number and the verbatim text. */
+  private static String separator = "";
+
+  /** True if callouts have been setup */
+  private static boolean calloutsSetup = false;
+  /** The default column for callouts that have only a line or line range */
+  private static int defaultColumn = 60;
+  /** The path to use for graphical callout decorations. */
+  private static String graphicsPath = null;
+  /** The extension to use for graphical callout decorations. */
+  private static String graphicsExt = null;
+  /** The largest callout number that can be represented graphically. */
+  private static int graphicsMax = 10;
+
+  /** The FormatCallout object to use for formatting callouts. */
+  private static FormatCallout fCallout = null;
+
+  /**
+   * <p>Constructor for Verbatim</p>
+   *
+   * <p>All of the methods are static, so the constructor does nothing.</p>
+   */
+  public Verbatim() {
+  }
+
+  /**
+   * <p>Find the string value of a stylesheet variable or parameter</p>
+   *
+   * <p>Returns the string value of <code>varName</code> in the current
+   * <code>context</code>. Returns the empty string if the variable is
+   * not defined.</p>
+   *
+   * @param context The current stylesheet context
+   * @param varName The name of the variable (without the dollar sign)
+   *
+   * @return The string value of the variable
+   */
+  protected static String getVariable(Context context, String varName) {
+    Value variable = null;
+    String varString = null;
+
+    try {
+      variable = Extensions.evaluate(context, "$" + varName);
+      varString = variable.asString();
+      return varString;
+    } catch (TransformerException te) {
+      System.out.println("Undefined variable: " + varName);
+      return "";
+    } catch (IllegalArgumentException iae) {
+      System.out.println("Undefined variable: " + varName);
+      return "";
+    }
+  }
+
+  /**
+   * <p>Setup the parameters associated with line numbering</p>
+   *
+   * <p>This method queries the stylesheet for the variables
+   * associated with line numbering. It is called automatically before
+   * lines are numbered. The context is used to retrieve the values,
+   * this allows templates to redefine these variables.</p>
+   *
+   * <p>The following variables are queried. If the variables do not
+   * exist, builtin defaults will be used (but you may also get a bunch
+   * of messages from the Java interpreter).</p>
+   *
+   * <dl>
+   * <dt><code>linenumbering.everyNth</code></dt>
+   * <dd>Specifies the lines that will be numbered. The first line is
+   * always numbered. (builtin default: 5).</dd>
+   * <dt><code>linenumbering.width</code></dt>
+   * <dd>Specifies the width of the numbers. If the specified width is too
+   * narrow for the largest number needed, it will automatically be made
+   * wider. (builtin default: 3).</dd>
+   * <dt><code>linenumbering.separator</code></dt>
+   * <dd>Specifies the string that separates line numbers from lines
+   * in the program listing. (builtin default: " ").</dd>
+   * <dt><code>linenumbering.startinglinenumber</code></dt>
+   * <dd>Specifies the initial line number
+   * in the program listing. (builtin default: "1").</dd>
+   * <dt><code>stylesheet.result.type</code></dt>
+   * <dd>Specifies the stylesheet result type. The value is either 'fo'
+   * (for XSL Formatting Objects) or it isn't. (builtin default: html).</dd>
+   * </dl>
+   *
+   * @param context The current stylesheet context
+   *
+   */
+  private static void setupLineNumbering(Context context) {
+    // Hardcoded defaults
+    modulus = 5;
+    width = 3;
+    startinglinenumber = 1;
+    separator = " ";
+    foStylesheet = false;
+
+    String varString = null;
+
+    // Get the modulus
+    varString = getVariable(context, "linenumbering.everyNth");
+    try {
+      modulus = Integer.parseInt(varString);
+    } catch (NumberFormatException nfe) {
+      System.out.println("$linenumbering.everyNth is not a number: " + varString);
+    }
+
+    // Get the width
+    varString = getVariable(context, "linenumbering.width");
+    try {
+      width = Integer.parseInt(varString);
+    } catch (NumberFormatException nfe) {
+      System.out.println("$linenumbering.width is not a number: " + varString);
+    }
+
+    // Get the startinglinenumber
+    varString = getVariable(context, "linenumbering.startinglinenumber");
+    try {
+      startinglinenumber = Integer.parseInt(varString);
+    } catch (NumberFormatException nfe) {
+      System.out.println("$linenumbering.startinglinenumber is not a number: " + varString);
+    }
+
+    // Get the separator
+    varString = getVariable(context, "linenumbering.separator");
+    separator = varString;
+
+    // Get the stylesheet type
+    varString = getVariable(context, "stylesheet.result.type");
+    foStylesheet = (varString.equals("fo"));
+  }
+
+  /**
+   * <p>Number lines in a verbatim environment</p>
+   *
+   * <p>The extension function expects the following variables to be
+   * available in the calling context: $linenumbering.everyNth,
+   * $linenumbering.width, $linenumbering.separator, and
+   * $stylesheet.result.type.</p>
+   *
+   * <p>This method adds line numbers to a result tree fragment. Each
+   * newline that occurs in a text node is assumed to start a new line.
+   * The first line is always numbered, every subsequent 'everyNth' line
+   * is numbered (so if everyNth=5, lines 1, 5, 10, 15, etc. will be
+   * numbered. If there are fewer than everyNth lines in the environment,
+   * every line is numbered.</p>
+   *
+   * <p>Every line number will be right justified in a string 'width'
+   * characters long. If the line number of the last line in the
+   * environment is too long to fit in the specified width, the width
+   * is automatically increased to the smallest value that can hold the
+   * number of the last line. (In other words, if you specify the value 2
+   * and attempt to enumerate the lines of an environment that is 100 lines
+   * long, the value 3 will automatically be used for every line in the
+   * environment.)</p>
+   *
+   * <p>The 'separator' string is inserted between the line
+   * number and the original program listing. Lines that aren't numbered
+   * are preceded by a 'width' blank string and the separator.</p>
+   *
+   * <p>If inline markup extends across line breaks, markup changes are
+   * required. All the open elements are closed before the line break and
+   * "reopened" afterwards. The reopened elements will have the same
+   * attributes as the originals, except that 'name' and 'id' attributes
+   * are not duplicated if the stylesheet.result.type is "html" and
+   * 'id' attributes will not be duplicated if the result type is "fo".</p>
+   *
+   * @param context The current stylesheet context.
+   * @param rtf_ns The result tree fragment of the verbatim environment.
+   *
+   * @return The modified result tree fragment.
+   */
+  public static NodeSetValue numberLines (Context context,
+					  NodeSetValue rtf_ns) {
+
+    FragmentValue rtf = (FragmentValue) rtf_ns;
+
+    setupLineNumbering(context);
+
+    try {
+      LineCountEmitter lcEmitter = new LineCountEmitter();
+      rtf.replay(lcEmitter);
+      int numLines = lcEmitter.lineCount();
+
+      int listingModulus = numLines < modulus ? 1 : modulus;
+
+      double log10numLines = Math.log(numLines) / Math.log(10);
+
+      int listingWidth = width < log10numLines+1
+	? (int) Math.floor(log10numLines + 1)
+	: width;
+
+      Controller controller = context.getController();
+      NamePool namePool = controller.getNamePool();
+      NumberLinesEmitter nlEmitter = new NumberLinesEmitter(controller,
+							    namePool,
+							    startinglinenumber,
+							    listingModulus,
+							    listingWidth,
+							    separator,
+							    foStylesheet);
+      rtf.replay(nlEmitter);
+      return nlEmitter.getResultTreeFragment();
+    } catch (TransformerException e) {
+      // This "can't" happen.
+      System.out.println("Transformer Exception in numberLines");
+      return rtf;
+    }
+  }
+
+  /**
+   * <p>Setup the parameters associated with callouts</p>
+   *
+   * <p>This method queries the stylesheet for the variables
+   * associated with line numbering. It is called automatically before
+   * callouts are processed. The context is used to retrieve the values,
+   * this allows templates to redefine these variables.</p>
+   *
+   * <p>The following variables are queried. If the variables do not
+   * exist, builtin defaults will be used (but you may also get a bunch
+   * of messages from the Java interpreter).</p>
+   *
+   * <dl>
+   * <dt><code>callout.graphics</code></dt>
+   * <dd>Are we using callout graphics? A value of 0 or "" is false,
+   * any other value is true. If callout graphics are not used, the
+   * parameters related to graphis are not queried.</dd>
+   * <dt><code>callout.graphics.path</code></dt>
+   * <dd>Specifies the path to callout graphics.</dd>
+   * <dt><code>callout.graphics.extension</code></dt>
+   * <dd>Specifies the extension ot use for callout graphics.</dd>
+   * <dt><code>callout.graphics.number.limit</code></dt>
+   * <dd>Identifies the largest number that can be represented as a
+   * graphic. Larger callout numbers will be represented using text.</dd>
+   * <dt><code>callout.defaultcolumn</code></dt>
+   * <dd>Specifies the default column for callout bullets that do not
+   * specify a column.</dd>
+   * <dt><code>stylesheet.result.type</code></dt>
+   * <dd>Specifies the stylesheet result type. The value is either 'fo'
+   * (for XSL Formatting Objects) or it isn't. (builtin default: html).</dd>
+   * </dl>
+   *
+   * @param context The current stylesheet context
+   *
+   */
+  private static void setupCallouts(Context context) {
+    NamePool namePool = context.getController().getNamePool();
+
+    boolean useGraphics = false;
+    boolean useUnicode = false;
+
+    int unicodeStart = 49;
+    int unicodeMax = 0;
+
+    String unicodeFont = "";
+
+    // Hardcoded defaults
+    defaultColumn = 60;
+    graphicsPath = null;
+    graphicsExt = null;
+    graphicsMax = 0;
+    foStylesheet = false;
+    calloutsSetup = true;
+
+    Value variable = null;
+    String varString = null;
+
+    // Get the stylesheet type
+    varString = getVariable(context, "stylesheet.result.type");
+    foStylesheet = (varString.equals("fo"));
+
+    // Get the default column
+    varString = getVariable(context, "callout.defaultcolumn");
+    try {
+      defaultColumn = Integer.parseInt(varString);
+    } catch (NumberFormatException nfe) {
+      System.out.println("$callout.defaultcolumn is not a number: "
+			 + varString);
+    }
+
+    // Use graphics at all?
+    varString = getVariable(context, "callout.graphics");
+    useGraphics = !(varString.equals("0") || varString.equals(""));
+
+    // Use unicode at all?
+    varString = getVariable(context, "callout.unicode");
+    useUnicode = !(varString.equals("0") || varString.equals(""));
+
+    if (useGraphics) {
+      // Get the graphics path
+      varString = getVariable(context, "callout.graphics.path");
+      graphicsPath = varString;
+
+      // Get the graphics extension
+      varString = getVariable(context, "callout.graphics.extension");
+      graphicsExt = varString;
+
+      // Get the number limit
+      varString = getVariable(context, "callout.graphics.number.limit");
+      try {
+	graphicsMax = Integer.parseInt(varString);
+      } catch (NumberFormatException nfe) {
+	System.out.println("$callout.graphics.number.limit is not a number: "
+			   + varString);
+	graphicsMax = 0;
+      }
+
+      fCallout = new FormatGraphicCallout(namePool,
+					  graphicsPath,
+					  graphicsExt,
+					  graphicsMax,
+					  foStylesheet);
+    } else if (useUnicode) {
+      // Get the starting character
+      varString = getVariable(context, "callout.unicode.start.character");
+      try {
+	unicodeStart = Integer.parseInt(varString);
+      } catch (NumberFormatException nfe) {
+	System.out.println("$callout.unicode.start.character is not a number: "
+			   + varString);
+	unicodeStart = 48;
+      }
+
+      // Get the number limit
+      varString = getVariable(context, "callout.unicode.number.limit");
+      try {
+	unicodeMax = Integer.parseInt(varString);
+      } catch (NumberFormatException nfe) {
+	System.out.println("$callout.unicode.number.limit is not a number: "
+			   + varString);
+	unicodeStart = 0;
+      }
+
+      // Get the font
+      unicodeFont = getVariable(context, "callout.unicode.font");
+      if (unicodeFont == null) {
+	unicodeFont = "";
+      }
+
+      fCallout = new FormatUnicodeCallout(namePool,
+					  unicodeFont,
+					  unicodeStart,
+					  unicodeMax,
+					  foStylesheet);
+    } else {
+      fCallout = new FormatTextCallout(namePool, foStylesheet);
+    }
+  }
+
+  /**
+   * <p>Insert text callouts into a verbatim environment.</p>
+   *
+   * <p>This method examines the <tt>areaset</tt> and <tt>area</tt> elements
+   * in the supplied <tt>areaspec</tt> and decorates the supplied
+   * result tree fragment with appropriate callout markers.</p>
+   *
+   * <p>If a <tt>label</tt> attribute is supplied on an <tt>area</tt>,
+   * its content will be used for the label, otherwise the callout
+   * number will be used, surrounded by parenthesis. Callout numbers may
+   * also be represented as graphics. Callouts are
+   * numbered in document order. All of the <tt>area</tt>s in an
+   * <tt>areaset</tt> get the same number.</p>
+   *
+   * <p>Only the <tt>linecolumn</tt> and <tt>linerange</tt> units are
+   * supported. If no unit is specifed, <tt>linecolumn</tt> is assumed.
+   * If only a line is specified, the callout decoration appears in
+   * the defaultColumn. Lines will be padded with blanks to reach the
+   * necessary column, but callouts that are located beyond the last
+   * line of the verbatim environment will be ignored.</p>
+   *
+   * <p>Callouts are inserted before the character at the line/column
+   * where they are to occur.</p>
+   *
+   * <p>If graphical callouts are used, and the callout number is less
+   * than or equal to the $callout.graphics.number.limit, the following image
+   * will be generated for HTML:
+   *
+   * <pre>
+   * &lt;img src="$callout.graphics.path/999$callout.graphics.ext"
+   *         alt="conumber">
+   * </pre>
+   *
+   * If the $stylesheet.result.type is 'fo', the following image will
+   * be generated:
+   *
+   * <pre>
+   * &lt;fo:external-graphic src="$callout.graphics.path/999$callout.graphics.ext"/>
+   * </pre>
+   *
+   * <p>If the callout number exceeds $callout.graphics.number.limit,
+   * the callout will be the callout number surrounded by
+   * parenthesis.</p>
+   *
+   * @param context The stylesheet context.
+   * @param areaspecNodeList The source node set that contains the areaspec.
+   * @param rtf_ns The result tree fragment of the verbatim environment.
+   *
+   * @return The modified result tree fragment.
+   */
+  public static NodeSetValue insertCallouts (Context context,
+					     NodeList areaspecNodeList,
+					     NodeSetValue rtf_ns) {
+
+    FragmentValue rtf = (FragmentValue) rtf_ns;
+
+    setupCallouts(context);
+
+    try {
+      Controller controller = context.getController();
+      NamePool namePool = controller.getNamePool();
+      CalloutEmitter cEmitter = new CalloutEmitter(controller,
+						   namePool,
+						   defaultColumn,
+						   foStylesheet,
+						   fCallout);
+      cEmitter.setupCallouts(areaspecNodeList);
+      rtf.replay(cEmitter);
+      return cEmitter.getResultTreeFragment();
+    } catch (TransformerException e) {
+      // This "can't" happen.
+      System.out.println("Transformer Exception in insertCallouts");
+      return rtf;
+    }
+  }
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Windows1252.java
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Windows1252.java	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/Windows1252.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,110 @@
+/* This file was kindly provided by Sectra AB, Sweden to DocBook community */
+package com.nwalsh.saxon;
+
+import com.icl.saxon.charcode.PluggableCharacterSet;
+
+/**
+ *
+ * $Id: Windows1252.java 4089 2004-12-06 04:24:20Z xmldoc $
+ *
+ * File:      Windows1252CharacterSet.java
+ * Created:   May 26 2004
+ * Author:    Pontus Haglund
+ * Project:   Venus
+ *
+ * This class extends Saxon 6.5.x with the windows-1252 character set.
+ *
+ * It is particularly useful when  generating HTML Help for
+ * Western European Languages.
+ *
+ * To use this class for generating HTML Help output with the
+ * DocBook XSL stylesheets, complete the following steps;
+ *              
+ * 1. Make sure that the Saxon 6.5.x jar file and the jar file for
+ *    the DocBook XSL Java extensions are in your CLASSPATH
+ *
+ * 2. Create a DocBook XSL customization layer -- a file named
+ *    "mystylesheet.xsl" or whatever -- that, at a minimum,
+ *    contains the following:
+ * 
+ *      <xsl:stylesheet
+ *        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ *        version='1.0'>
+ *        <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl"/>
+ *        <xsl:output method="html" encoding="WINDOWS-1252" indent="no"/>
+ *        <xsl:param name="htmlhelp.encoding" select="'WINDOWS-1252'"></xsl:param>
+ *        <xsl:param name="chunker.output.encoding" select="'WINDOWS-1252'"></xsl:param>
+ *        <xsl:param name="saxon.character.representation" select="'native'"></xsl:param>
+ *      </xsl:stylesheet>
+ *
+ * 3. Invoke Saxon with the "encoding.windows-1252" Java system
+ *    property set to "com.nwalsh.saxon.Windows1252"; for example:
+ *
+ *      java \
+ *        -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 \
+ *      com.icl.saxon.StyleSheet \
+ *      mydoc.xml mystylesheet.xsl
+ *
+ *    Or, for a more complete "real world" case showing other
+ *    options you'll typically want to use:
+ *
+ *      java \
+ *        -Dencoding.windows-1252=com.nwalsh.saxon.Windows1252 \
+ *        -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl \
+ *        -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl \
+ *        -Djavax.xml.transform.TransformerFactory=com.icl.saxon.TransformerFactoryImpl \
+ *      com.icl.saxon.StyleSheet \
+ *        -x org.apache.xml.resolver.tools.ResolvingXMLReader \
+ *        -y org.apache.xml.resolver.tools.ResolvingXMLReader \
+ *        -r org.apache.xml.resolver.tools.CatalogResolver \
+ *      mydoc.xml mystylesheet.xsl
+ *
+ *   In both cases, the "mystylesheet.xsl" file should be a DocBook
+ *   customization layer containing the parameters show in step 2.
+ *
+ */
+
+
+
+public class Windows1252 implements PluggableCharacterSet {
+
+    public final boolean inCharset(int c) {
+
+    return  (c >= 0x00 && c <= 0x7F) ||
+            (c >= 0xA0 && c <= 0xFF) ||
+            (c == 0x20AC) ||
+            (c == 0x201A) ||
+            (c == 0x0192) ||
+            (c == 0x201E) ||
+            (c == 0x2026) ||
+            (c == 0x2020) ||
+            (c == 0x2021) ||
+            (c == 0x02C6) ||
+            (c == 0x2030) ||
+            (c == 0x0160) ||
+            (c == 0x2039) ||
+            (c == 0x0152) ||
+            (c == 0x017D) ||
+            (c == 0x2018) ||
+            (c == 0x2019) ||
+            (c == 0x201C) ||
+            (c == 0x201D) ||
+            (c == 0x2022) ||
+            (c == 0x2013) ||
+            (c == 0x2014) ||
+            (c == 0x02DC) ||
+            (c == 0x2122) ||
+            (c == 0x0161) ||
+            (c == 0x203A) ||
+            (c == 0x0153) ||
+            (c == 0x017E) ||
+            (c == 0x0178);
+
+
+    }
+
+    public String getEncodingName() {
+        return "WINDOWS-1252";
+    }
+
+}

Added: trunk/docs/docbook/src/main/java/com/nwalsh/saxon/package.html
===================================================================
--- trunk/docs/docbook/src/main/java/com/nwalsh/saxon/package.html	                        (rev 0)
+++ trunk/docs/docbook/src/main/java/com/nwalsh/saxon/package.html	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,48 @@
+<html>
+<head>
+<title>Norman Walsh's Saxon Extensions Package</title>
+</head>
+<body>
+<p>Norman Walsh's Saxon Extensions Package for Saxon 6.*</p>
+
+<p>This package implements Saxon extensions for XSLT.</p>
+
+<p><b>Copyright (C) 2000 Norman Walsh</b></p>
+<p>Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use, copy,
+modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:</p>
+
+<p>The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.</p>
+
+<p>Except as contained in this notice, the names of individuals
+credited with contribution to this software shall not be used in
+advertising or otherwise to promote the sale, use or other dealings
+in this Software without prior written authorization from the
+individuals in question.</p>
+
+<p>Anything derived from this Software that is publically
+distributed will be identified with a different name and the
+version strings in any derived Software will be changed so that no
+possibility of confusion between the derived package and this
+Software will exist.</p>
+</blockquote>
+
+<blockquote>
+<p><b>Warranty</b></p>
+<p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT.  IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER
+CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.</p>
+</blockquote>
+
+</body>
+</html>

Added: trunk/docs/docbook/src/main/resources/COPYING
===================================================================
--- trunk/docs/docbook/src/main/resources/COPYING	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/COPYING	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,45 @@
+Copyright
+---------
+
+Copyright (C) 1999, 2000, 2001, 2002 Norman Walsh
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the ``Software''), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or
+sell copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+Except as contained in this notice, the names of individuals
+credited with contribution to this software shall not be used in
+advertising or otherwise to promote the sale, use or other
+dealings in this Software without prior written authorization
+from the individuals in question.
+
+Any stylesheet derived from this Software that is publically
+distributed will be identified with a different name and the
+version strings in any derived Software will be changed so that
+no possibility of confusion between the derived package and this
+Software will exist.
+
+Warranty
+--------
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT.  IN NO EVENT SHALL NORMAN WALSH OR ANY OTHER
+CONTRIBUTOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+Contacting the Author
+---------------------
+
+These stylesheets are maintained by Norman Walsh, <ndw at nwalsh.com>.

Added: trunk/docs/docbook/src/main/resources/VERSION
===================================================================
--- trunk/docs/docbook/src/main/resources/VERSION	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/VERSION	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,87 @@
+<?xml version='1.0'?> <!-- -*- nxml -*- -->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fm="http://freshmeat.net/projects/freshmeat-submit/"
+		xmlns:sf="http://sourceforge.net/"
+		exclude-result-prefixes="fm sf"
+                version='1.0'>
+
+<xsl:param name="VERSION" select="string(document('')//fm:Version[1])"/>
+<xsl:param name="DistroTitle" select="string(document('')//fm:Branch[1])"/>
+<xsl:param name="DistroName">docbook-xsl</xsl:param>
+<xsl:param name="sf-relid" select="0"/>
+<xsl:strip-space elements="fm:*"/>
+
+<fm:project>
+  <fm:Project>DocBook</fm:Project>
+  <fm:Branch>XSL Stylesheets</fm:Branch>
+  <fm:Version>1.72.0</fm:Version>
+<!--
+  <fm:License>MIT/X Consortium License</fm:License>
+-->
+  <fm:Release-Focus>
+<!-- * Initial freshmeat announcement -->
+<!-- * Documentation -->
+<!-- * Code cleanup -->
+<!-- * Minor feature enhancements -->
+Major feature enhancements
+<!-- * Minor bugfixes -->
+<!-- * Major bugfixes -->
+<!-- * Minor security fixes -->
+<!-- * Major security fixes -->
+  </fm:Release-Focus>
+  <fm:Home-Page-URL>http://sourceforge.net/projects/docbook/</fm:Home-Page-URL>
+  <fm:Gzipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.tar.gz?download</fm:Gzipped-Tar-URL>
+  <fm:Zipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.zip?download</fm:Zipped-Tar-URL>
+  <fm:Bzipped-Tar-URL>http://prdownloads.sourceforge.net/docbook/{DISTRONAME-VERSION}.bz2?download</fm:Bzipped-Tar-URL>
+  <fm:Changelog-URL>http://sourceforge.net/project/shownotes.php?release_id={SFRELID}</fm:Changelog-URL>
+  <fm:CVS-URL>http://docbook.cvs.sourceforge.net/docbook/</fm:CVS-URL>
+  <fm:Mailing-List-URL>http://lists.oasis-open.org/archives/docbook-apps/</fm:Mailing-List-URL>
+  <fm:Changes>This is a bug-fix release with a few feature enhancements.
+</fm:Changes>
+</fm:project>
+
+<xsl:template match="/" priority="-100">
+  <xsl:if test="$sf-relid = 0">
+    <xsl:message terminate="yes">
+      <xsl:text>You must specify the sf-relid as a parameter.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:apply-templates select="//fm:project"/>
+</xsl:template>
+
+<xsl:template match="fm:project">
+  <xsl:text>&#10;</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:apply-templates select="fm:Changes" mode="text"/>
+</xsl:template>
+
+<xsl:template match="fm:Changes"/>
+
+<xsl:template match="fm:Gzipped-Tar-URL|fm:Zipped-Tar-URL|fm:Bzipped-Tar-URL">
+  <xsl:value-of select="local-name(.)"/>
+  <xsl:text>: </xsl:text>
+  <xsl:value-of select="substring-before(., '{DISTRONAME-VERSION}')"/>
+  <xsl:value-of select="concat($DistroName, '-', $VERSION)"/>
+  <xsl:value-of select="substring-after(., '{DISTRONAME-VERSION}')"/>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="fm:Changelog-URL">
+  <xsl:value-of select="local-name(.)"/>
+  <xsl:text>: </xsl:text>
+  <xsl:value-of select="substring-before(., '{SFRELID}')"/>
+  <xsl:value-of select="$sf-relid"/>
+  <xsl:value-of select="substring-after(., '{SFRELID}')"/>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="fm:*">
+  <xsl:value-of select="local-name(.)"/>
+  <xsl:text>: </xsl:text>
+  <xsl:value-of select="normalize-space(.)"/>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/common/af.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/af.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/af.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="af" english-language-name="Afrikaans">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/af.xml -->
+<!-- * -->
+<!-- * E-mail the edited af.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Samevatting"/>
+   <l:gentext key="abstract" text="samevatting"/>
+   <l:gentext key="Answer" text="Antwoord:"/>
+   <l:gentext key="answer" text="antwoord:"/>
+   <l:gentext key="Appendix" text="Aanhangsel"/>
+   <l:gentext key="appendix" text="aanhangsel"/>
+   <l:gentext key="Article" text="Artikel"/>
+   <l:gentext key="article" text="artikel"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Bibliografie"/>
+   <l:gentext key="bibliography" text="bibliografie"/>
+   <l:gentext key="Book" text="Boek"/>
+   <l:gentext key="book" text="boek"/>
+   <l:gentext key="CAUTION" text="PAS OP"/>
+   <l:gentext key="Caution" text="Pas op"/>
+   <l:gentext key="caution" text="pas op"/>
+   <l:gentext key="Chapter" text="Hoofdstuk"/>
+   <l:gentext key="chapter" text="hoofdstuk"/>
+   <l:gentext key="Colophon" text="Kolifon"/>
+   <l:gentext key="colophon" text="kolifon"/>
+   <l:gentext key="Copyright" text="Kopie reg"/>
+   <l:gentext key="copyright" text="kopie reg"/>
+   <l:gentext key="Dedication" text="Opgedra aan"/>
+   <l:gentext key="dedication" text="opgedra aan"/>
+   <l:gentext key="Edition" text="Uitgawe"/>
+   <l:gentext key="edition" text="uitgawe"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Vergelyking"/>
+   <l:gentext key="equation" text="vergelyking"/>
+   <l:gentext key="Example" text="Voorbeeld"/>
+   <l:gentext key="example" text="voorbeeld"/>
+   <l:gentext key="Figure" text="Figuur"/>
+   <l:gentext key="figure" text="figuur"/>
+   <l:gentext key="Glossary" text="Woordlys"/>
+   <l:gentext key="glossary" text="woordlys"/>
+   <l:gentext key="GlossSee" text="WoordelysSien"/>
+   <l:gentext key="glosssee" text="woordelyssien"/>
+   <l:gentext key="GlossSeeAlso" text="WoordelysSienOok"/>
+   <l:gentext key="glossseealso" text="woordelyssienook"/>
+   <l:gentext key="IMPORTANT" text="BELANGRIK"/>
+   <l:gentext key="important" text="belangrik"/>
+   <l:gentext key="Important" text="Belangrik"/>
+   <l:gentext key="Index" text="Indeks"/>
+   <l:gentext key="index" text="indeks"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="isbn"/>
+   <l:gentext key="LegalNotice" text="RegsKennisgewing"/>
+   <l:gentext key="legalnotice" text="regskennisgewing"/>
+   <l:gentext key="MsgAud" text="Teikengroep"/>
+   <l:gentext key="msgaud" text="teikengroep"/>
+   <l:gentext key="MsgLevel" text="Vlak"/>
+   <l:gentext key="msglevel" text="vlak"/>
+   <l:gentext key="MsgOrig" text="Herkoms"/>
+   <l:gentext key="msgorig" text="herkoms"/>
+   <l:gentext key="NOTE" text="OPMERKING"/>
+   <l:gentext key="Note" text="Opmerking"/>
+   <l:gentext key="note" text="opmerking"/>
+   <l:gentext key="Part" text="Deel"/>
+   <l:gentext key="part" text="deel"/>
+   <l:gentext key="Preface" text="Voorwoord"/>
+   <l:gentext key="preface" text="voorwoord"/>
+   <l:gentext key="Procedure" text="Prosedure"/>
+   <l:gentext key="procedure" text="prosedure"/>
+   <l:gentext key="ProductionSet" text="ProduksieStel"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Uitgegee"/>
+   <l:gentext key="published" text="uitgegee"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Vraag et Antwoord"/>
+   <l:gentext key="qandadiv" text="Vraag et Antwoord"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Vraag:"/>
+   <l:gentext key="question" text="vraag:"/>
+   <l:gentext key="RefEntry" text="Verwysingslemma"/>
+   <l:gentext key="refentry" text="verwysingslemma"/>
+   <l:gentext key="Reference" text="Verwysing"/>
+   <l:gentext key="reference" text="verwysing"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Verwysingsnaam"/>
+   <l:gentext key="refname" text="verwysingsnaam"/>
+   <l:gentext key="RefSection" text="Verwysingsparagraaf"/>
+   <l:gentext key="refsection" text="verwysingsparagraaf"/>
+   <l:gentext key="RefSynopsisDiv" text="Verwysingsamevatting"/>
+   <l:gentext key="refsynopsisdiv" text="verwysingsamevatting"/>
+   <l:gentext key="RevHistory" text="Hersiening geskiedenis"/>
+   <l:gentext key="revhistory" text="hersiening geskiedenis"/>
+   <l:gentext key="revision" text="hersiening"/>
+   <l:gentext key="Revision" text="Hersiening"/>
+   <l:gentext key="sect1" text="Paragraaf"/>
+   <l:gentext key="sect2" text="Paragraaf"/>
+   <l:gentext key="sect3" text="Paragraaf"/>
+   <l:gentext key="sect4" text="Paragraaf"/>
+   <l:gentext key="sect5" text="Paragraaf"/>
+   <l:gentext key="section" text="paragraaf"/>
+   <l:gentext key="Section" text="Paragraaf"/>
+   <l:gentext key="see" text="sien"/>
+   <l:gentext key="See" text="Sien"/>
+   <l:gentext key="seealso" text="sien ook"/>
+   <l:gentext key="Seealso" text="Sien ook"/>
+   <l:gentext key="SeeAlso" text="Sien Ook"/>
+   <l:gentext key="set" text="versameling"/>
+   <l:gentext key="Set" text="Versameling"/>
+   <l:gentext key="setindex" text="versamelingindeks"/>
+   <l:gentext key="SetIndex" text="VersamelingIndeks"/>
+   <l:gentext key="Sidebar" text="Kantbalk"/>
+   <l:gentext key="sidebar" text="kantbalk"/>
+   <l:gentext key="step" text="stap"/>
+   <l:gentext key="Step" text="Stap"/>
+   <l:gentext key="table" text="tabel"/>
+   <l:gentext key="Table" text="Tabel"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="leidraad"/>
+   <l:gentext key="TIP" text="LEIDRAAD"/>
+   <l:gentext key="Tip" text="Leidraad"/>
+   <l:gentext key="Warning" text="Waarskuwing"/>
+   <l:gentext key="warning" text="waarskuwing"/>
+   <l:gentext key="WARNING" text="WAARSKUWING"/>
+   <l:gentext key="and" text="en"/>
+   <l:gentext key="by" text="deur"/>
+   <l:gentext key="Edited" text="Geredigeer"/>
+   <l:gentext key="edited" text="geredigeer"/>
+   <l:gentext key="Editedby" text="Geredigeer deur"/>
+   <l:gentext key="editedby" text="geredigeer deur"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="element bestaan nie"/>
+   <l:gentext key="notes" text="Notas"/>
+   <l:gentext key="Notes" text="notas"/>
+   <l:gentext key="Pgs" text="bl."/>
+   <l:gentext key="pgs" text="bl."/>
+   <l:gentext key="Revisedby" text="Hersien deur"/>
+   <l:gentext key="revisedby" text="hersien deur"/>
+   <l:gentext key="TableNotes" text="TabelOpmerking"/>
+   <l:gentext key="tablenotes" text="tabelopmerking"/>
+   <l:gentext key="TableofContents" text="Inhoudsopgawe"/>
+   <l:gentext key="tableofcontents" text="inhoudsopgawe"/>
+   <l:gentext key="unexpectedelementname" text="onverwagte element naam"/>
+   <l:gentext key="unsupported" text="nie geondersteun"/>
+   <l:gentext key="xrefto" text="verwysing na"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="lys van vergelykings"/>
+   <l:gentext key="ListofEquations" text="Lys van vergelykings"/>
+   <l:gentext key="ListofExamples" text="Lys van voorbeelde"/>
+   <l:gentext key="listofexamples" text="lys van voorbeelde"/>
+   <l:gentext key="ListofFigures" text="Lys van figure"/>
+   <l:gentext key="listoffigures" text="lys van figure"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="lys van tabelle"/>
+   <l:gentext key="ListofTables" text="Lys van tabelle"/>
+   <l:gentext key="ListofUnknown" text="Lys van onbekende tipes"/>
+   <l:gentext key="listofunknown" text="lys van onbekende tipes"/>
+   <l:gentext key="nav-home" text="Begin"/>
+   <l:gentext key="nav-next" text="Volgende"/>
+   <l:gentext key="nav-next-sibling" text="Verder vooruit"/>
+   <l:gentext key="nav-prev" text="Terug"/>
+   <l:gentext key="nav-prev-sibling" text="Verder terug"/>
+   <l:gentext key="nav-up" text="Boontoe"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Proef"/>
+   <l:gentext key="above" text="bo"/>
+   <l:gentext key="below" text="onder"/>
+   <l:gentext key="sectioncalled" text="die seksie genaamd"/>
+   <l:gentext key="index symbols" text="indeks simbole"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Aanhangsel %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Hoofdstuk %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Vergelyking %n. %t"/>
+      <l:template name="example" text="Voorbeeld %n. %t"/>
+      <l:template name="figure" text="Figuur %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Deel %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Prosedure&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="ProduksieStel&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabel %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Aanhangsel %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Hoofdstuk %n. %t"/>
+      <l:template name="part" text="Deel&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="Antwoord:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Vraag:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Vraag:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="section" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="die seksie genaamd &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="Antwoord:&#160;%n"/>
+      <l:template name="appendix" text="Aanhangsel&#160;%n"/>
+      <l:template name="bridgehead" text="Paragraaf&#160;%n"/>
+      <l:template name="chapter" text="Hoofdstuk&#160;%n"/>
+      <l:template name="equation" text="Vergelyking&#160;%n"/>
+      <l:template name="example" text="Voorbeeld&#160;%n"/>
+      <l:template name="figure" text="Figuur&#160;%n"/>
+      <l:template name="part" text="Deel&#160;%n"/>
+      <l:template name="procedure" text="Prosedure&#160;%n"/>
+      <l:template name="productionset" text="ProduksieStel&#160;%n"/>
+      <l:template name="qandadiv" text="Vraag et Antwoord&#160;%n"/>
+      <l:template name="qandaentry" text="Vraag:&#160;%n"/>
+      <l:template name="question" text="Vraag:&#160;%n"/>
+      <l:template name="sect1" text="Paragraaf&#160;%n"/>
+      <l:template name="sect2" text="Paragraaf&#160;%n"/>
+      <l:template name="sect3" text="Paragraaf&#160;%n"/>
+      <l:template name="sect4" text="Paragraaf&#160;%n"/>
+      <l:template name="sect5" text="Paragraaf&#160;%n"/>
+      <l:template name="section" text="Paragraaf&#160;%n"/>
+      <l:template name="table" text="Tabel&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Aanhangsel&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Hoofdstuk&#160;%n, %t"/>
+      <l:template name="equation" text="Vergelyking&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Voorbeeld&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Figuur&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Deel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Prosedure&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="ProduksieStel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Vraag et Antwoord&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="die seksie genaamd &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabel&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" en "/>
+      <l:template name="seplast" text=", en "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="WoordelysSien %t"/>
+      <l:template name="seealso" text="WoordelysSienOok %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Teikengroep: "/>
+      <l:template name="MsgLevel" text="Vlak: "/>
+      <l:template name="MsgOrig" text="Herkoms: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0436 Afrikaans"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/am.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/am.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/am.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="am" english-language-name="Amharic">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/am.xml -->
+<!-- * -->
+<!-- * E-mail the edited am.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#4648;&#4674;&#4677;"/>
+   <l:gentext key="abstract" text="&#4648;&#4674;&#4677;"/>
+   <l:gentext key="Answer" text="&#4632;&#4966;"/>
+   <l:gentext key="answer" text="&#4632;&#4966;"/>
+   <l:gentext key="Appendix" text="&#4720;&#4904;&#4635;&#4650;"/>
+   <l:gentext key="appendix" text="&#4720;&#4904;&#4635;&#4650;"/>
+   <l:gentext key="Article" text="&#4925;&#4625;&#4941;"/>
+   <l:gentext key="article" text="&#4925;&#4625;&#4941;"/>
+   <l:gentext key="Author" text="&#4848;&#4651;&#4658;"/>
+   <l:gentext key="Bibliography" text="&#4840;&#4632;&#4923;&#4629;&#4941;&#4725; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="bibliography" text="&#4840;&#4632;&#4923;&#4629;&#4941;&#4725; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="Book" text="&#4632;&#4925;&#4624;&#4941;"/>
+   <l:gentext key="book" text="&#4632;&#4925;&#4624;&#4941;"/>
+   <l:gentext key="CAUTION" text="&#4901;&#4757;&#4675;&#4676;"/>
+   <l:gentext key="Caution" text="&#4901;&#4757;&#4675;&#4676;"/>
+   <l:gentext key="caution" text="&#4901;&#4757;&#4675;&#4676;"/>
+   <l:gentext key="Chapter" text="&#4637;&#4821;&#4651;&#4941;"/>
+   <l:gentext key="chapter" text="&#4637;&#4821;&#4651;&#4941;"/>
+   <l:gentext key="Colophon" text="Colophon"/>
+   <l:gentext key="colophon" text="Colophon"/>
+   <l:gentext key="Copyright" text="&#4840;&#4677;&#4866;&#4813; &#4632;&#4709;&#4725;"/>
+   <l:gentext key="copyright" text="&#4840;&#4677;&#4866;&#4813; &#4632;&#4709;&#4725;"/>
+   <l:gentext key="Dedication" text="&#4616;&#4768;&#4619;&#4635; &#4632;&#4656;&#4811;&#4725;"/>
+   <l:gentext key="dedication" text="&#4616;&#4768;&#4619;&#4635; &#4632;&#4656;&#4811;&#4725;"/>
+   <l:gentext key="Edition" text="&#4677;&#4866;"/>
+   <l:gentext key="edition" text="&#4677;&#4866;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#4773;&#4777;&#4620;&#4723;"/>
+   <l:gentext key="equation" text="&#4773;&#4777;&#4620;&#4723;"/>
+   <l:gentext key="Example" text="&#4616;&#4637;&#4659;&#4620;"/>
+   <l:gentext key="example" text="&#4616;&#4637;&#4659;&#4620;"/>
+   <l:gentext key="Figure" text="&#4637;&#4661;&#4621;"/>
+   <l:gentext key="figure" text="&#4637;&#4661;&#4621;"/>
+   <l:gentext key="Glossary" text="&#4840;&#4675;&#4619;&#4726;&#4733; &#4941;&#4730; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="glossary" text="&#4840;&#4675;&#4619;&#4726;&#4733; &#4941;&#4730; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="GlossSee" text="&#4635;&#4840;&#4725; (&#4773;&#4845;)"/>
+   <l:gentext key="glosssee" text="&#4635;&#4840;&#4725; (&#4773;&#4845;)"/>
+   <l:gentext key="GlossSeeAlso" text="&#8230;&#4757;&#4637; &#4773;&#4845;"/>
+   <l:gentext key="glossseealso" text="&#8230;&#4757;&#4637; &#4773;&#4845;"/>
+   <l:gentext key="IMPORTANT" text="&#4768;&#4661;&#4936;&#4619;&#4874;"/>
+   <l:gentext key="important" text="&#4768;&#4661;&#4936;&#4619;&#4874;"/>
+   <l:gentext key="Important" text="&#4768;&#4661;&#4936;&#4619;&#4874;"/>
+   <l:gentext key="Index" text="&#4635;&#4813;&#4907;"/>
+   <l:gentext key="index" text="&#4635;&#4813;&#4907;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#4613;&#4875;&#4810; &#4635;&#4661;&#4723;&#4808;&#4674;&#4843;"/>
+   <l:gentext key="legalnotice" text="&#4613;&#4875;&#4810; &#4635;&#4661;&#4723;&#4808;&#4674;&#4843;"/>
+   <l:gentext key="MsgAud" text="&#4720;&#4632;&#4621;&#4779;&#4733;"/>
+   <l:gentext key="msgaud" text="&#4720;&#4632;&#4621;&#4779;&#4733;"/>
+   <l:gentext key="MsgLevel" text="&#4848;&#4648;&#4867;"/>
+   <l:gentext key="msglevel" text="&#4848;&#4648;&#4867;"/>
+   <l:gentext key="MsgOrig" text="&#4637;&#4757;&#4909;"/>
+   <l:gentext key="msgorig" text="&#4637;&#4757;&#4909;"/>
+   <l:gentext key="NOTE" text="&#4635;&#4661;&#4723;&#4808;&#4667;"/>
+   <l:gentext key="Note" text="&#4635;&#4661;&#4723;&#4808;&#4667;"/>
+   <l:gentext key="note" text="&#4635;&#4661;&#4723;&#4808;&#4667;"/>
+   <l:gentext key="Part" text="&#4781;&#4941;&#4621;"/>
+   <l:gentext key="part" text="&#4781;&#4941;&#4621;"/>
+   <l:gentext key="Preface" text="&#4632;&#4677;&#4853;&#4637;"/>
+   <l:gentext key="preface" text="&#4632;&#4677;&#4853;&#4637;"/>
+   <l:gentext key="Procedure" text="&#4677;&#4848;&#4637; &#4720;&#4776;&#4720;&#4621;"/>
+   <l:gentext key="procedure" text="&#4677;&#4848;&#4637; &#4720;&#4776;&#4720;&#4621;"/>
+   <l:gentext key="ProductionSet" text="&#4637;&#4653;&#4725;"/>
+   <l:gentext key="PubDate" text="&#4840;&#4723;&#4720;&#4632;&#4704;&#4725; &#4672;&#4757;"/>
+   <l:gentext key="pubdate" text="&#4840;&#4723;&#4720;&#4632;&#4704;&#4725; &#4672;&#4757;"/>
+   <l:gentext key="Published" text="&#4723;&#4725;&#4639;&#4621;"/>
+   <l:gentext key="published" text="&#4723;&#4725;&#4639;&#4621;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#4901;&#4843;&#4676; &#4773;&#4755; &#4632;&#4621;&#4661;"/>
+   <l:gentext key="qandadiv" text="&#4901;&#4843;&#4676; &#4773;&#4755; &#4632;&#4621;&#4661;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#4901;&#4966;"/>
+   <l:gentext key="question" text="&#4901;&#4966;"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#4635;&#4899;&#4672;&#4667;"/>
+   <l:gentext key="reference" text="&#4635;&#4899;&#4672;&#4667;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#4661;&#4637;"/>
+   <l:gentext key="refname" text="&#4661;&#4637;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#4632;&#4877;&#4616;&#4907;"/>
+   <l:gentext key="refsynopsisdiv" text="&#4632;&#4877;&#4616;&#4907;"/>
+   <l:gentext key="RevHistory" text="&#4840;&#4720;&#4667;&#4667;&#4616; &#4723;&#4650;&#4781;"/>
+   <l:gentext key="revhistory" text="&#4840;&#4720;&#4667;&#4667;&#4616; &#4723;&#4650;&#4781;"/>
+   <l:gentext key="revision" text="&#4840;&#4720;&#4667;&#4667;&#4616;"/>
+   <l:gentext key="Revision" text="&#4840;&#4720;&#4667;&#4667;&#4616;"/>
+   <l:gentext key="sect1" text="&#4781;&#4941;&#4621;"/>
+   <l:gentext key="sect2" text="&#4781;&#4941;&#4621;"/>
+   <l:gentext key="sect3" text="&#4781;&#4941;&#4621;"/>
+   <l:gentext key="sect4" text="&#4781;&#4941;&#4621;"/>
+   <l:gentext key="sect5" text="&#4781;&#4941;&#4621;"/>
+   <l:gentext key="section" text="&#4781;&#4941;&#4621;"/>
+   <l:gentext key="Section" text="&#4781;&#4941;&#4621;"/>
+   <l:gentext key="see" text="&#4635;&#4840;&#4725; (&#4773;&#4845;)"/>
+   <l:gentext key="See" text="&#4635;&#4840;&#4725; (&#4773;&#4845;)"/>
+   <l:gentext key="seealso" text="&#8230;&#4757;&#4637; &#4773;&#4845;"/>
+   <l:gentext key="Seealso" text="&#8230;&#4757;&#4637; &#4773;&#4845;"/>
+   <l:gentext key="SeeAlso" text="&#8230;&#4757;&#4637; &#4773;&#4845;"/>
+   <l:gentext key="set" text="&#4768;&#4853;&#4653;&#4877;"/>
+   <l:gentext key="Set" text="&#4768;&#4853;&#4653;&#4877;"/>
+   <l:gentext key="setindex" text="&#4635;&#4813;&#4907;&#4813;&#4757; &#4845;&#4632;&#4621;&#4776;&#4721;"/>
+   <l:gentext key="SetIndex" text="&#4635;&#4813;&#4907;&#4813;&#4757; &#4845;&#4632;&#4621;&#4776;&#4721;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="&#4840;&#4901;&#4877; &#4683;&#4634;"/>
+   <l:gentext key="step" text="&#4848;&#4648;&#4867;"/>
+   <l:gentext key="Step" text="&#4848;&#4648;&#4867;"/>
+   <l:gentext key="table" text="&#4640;&#4757;&#4896;&#4648;&#4837;"/>
+   <l:gentext key="Table" text="&#4640;&#4757;&#4896;&#4648;&#4837;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#4941;&#4757;&#4909;"/>
+   <l:gentext key="TIP" text="&#4941;&#4757;&#4909;"/>
+   <l:gentext key="Tip" text="&#4941;&#4757;&#4909;"/>
+   <l:gentext key="Warning" text="&#4635;&#4661;&#4896;&#4757;&#4672;&#4674;&#4843;"/>
+   <l:gentext key="warning" text="&#4635;&#4661;&#4896;&#4757;&#4672;&#4674;&#4843;"/>
+   <l:gentext key="WARNING" text="&#4635;&#4661;&#4896;&#4757;&#4672;&#4674;&#4843;"/>
+   <l:gentext key="and" text="&#4773;&#4755;"/>
+   <l:gentext key="by" text="&#4704;"/>
+   <l:gentext key="Edited" text="&#4840;&#4720;&#4824;&#4875;&#4864;"/>
+   <l:gentext key="edited" text="&#4840;&#4720;&#4824;&#4875;&#4864;"/>
+   <l:gentext key="Editedby" text="&#4840;&#4720;&#4824;&#4875;&#4864;&#4813; &#4704;"/>
+   <l:gentext key="editedby" text="&#4840;&#4720;&#4824;&#4875;&#4864;&#4813; &#4704;"/>
+   <l:gentext key="in" text="&#4813;&#4661;&#4901;"/>
+   <l:gentext key="lastlistcomma" text="&#4963;"/>
+   <l:gentext key="listcomma" text="&#4963;"/>
+   <l:gentext key="nonexistantelement" text="&#4840;&#4620;&#4616; &#4632;&#4640;&#4648;&#4723;&#4810; &#4752;&#4872;&#4653;"/>
+   <l:gentext key="notes" text="&#4635;&#4661;&#4723;&#4808;&#4667;&#4814;&#4733;"/>
+   <l:gentext key="Notes" text="&#4635;&#4661;&#4723;&#4808;&#4667;&#4814;&#4733;"/>
+   <l:gentext key="Pgs" text="&#4872;&#4926;&#4733;"/>
+   <l:gentext key="pgs" text="&#4872;&#4926;&#4733;"/>
+   <l:gentext key="Revisedby" text="&#4840;&#4720;&#4667;&#4667;&#4616;&#4813; &#4704;"/>
+   <l:gentext key="revisedby" text="&#4840;&#4720;&#4667;&#4667;&#4616;&#4813; &#4704;"/>
+   <l:gentext key="TableNotes" text="&#4635;&#4661;&#4723;&#4808;&#4667;&#4814;&#4733;"/>
+   <l:gentext key="tablenotes" text="&#4635;&#4661;&#4723;&#4808;&#4667;&#4814;&#4733;"/>
+   <l:gentext key="TableofContents" text="&#4635;&#4813;&#4907;"/>
+   <l:gentext key="tableofcontents" text="&#4635;&#4813;&#4907;"/>
+   <l:gentext key="unexpectedelementname" text="&#4843;&#4621;&#4720;&#4896;&#4704;&#4672; &#4840;&#4632;&#4640;&#4648;&#4723;&#4810; &#4752;&#4872;&#4653; &#4661;&#4637;"/>
+   <l:gentext key="unsupported" text="&#4843;&#4621;&#4720;&#4848;&#4872;&#4936;"/>
+   <l:gentext key="xrefto" text="xref &#4808;&#4848;"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#4840;&#4773;&#4777;&#4620;&#4723;&#4814;&#4733; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="ListofEquations" text="&#4840;&#4773;&#4777;&#4620;&#4723;&#4814;&#4733; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="ListofExamples" text="&#4840;&#4637;&#4659;&#4620;&#4814;&#4733; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="listofexamples" text="&#4840;&#4637;&#4659;&#4620;&#4814;&#4733; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="ListofFigures" text="&#4840;&#4637;&#4661;&#4622;&#4733; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="listoffigures" text="&#4840;&#4637;&#4661;&#4622;&#4733; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="ListofProcedures" text="&#4840;&#4677;&#4848;&#4637; &#4720;&#4776;&#4720;&#4622;&#4729; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="listofprocedures" text="&#4840;&#4677;&#4848;&#4637; &#4720;&#4776;&#4720;&#4622;&#4729; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="listoftables" text="&#4840;&#4640;&#4757;&#4896;&#4648;&#4838;&#4729; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="ListofTables" text="&#4840;&#4640;&#4757;&#4896;&#4648;&#4838;&#4729; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="ListofUnknown" text="&#4843;&#4621;&#4723;&#4808;&#4673; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="listofunknown" text="&#4843;&#4621;&#4723;&#4808;&#4673; &#4829;&#4653;&#4829;&#4653;"/>
+   <l:gentext key="nav-home" text="&#4632;&#4864;&#4632;&#4650;&#4843;"/>
+   <l:gentext key="nav-next" text="&#4840;&#4634;&#4672;&#4901;&#4616;&#4813;"/>
+   <l:gentext key="nav-next-sibling" text="&#4704;&#4941;&#4901;&#4752;&#4725; &#4808;&#4848;&#4938;&#4725;"/>
+   <l:gentext key="nav-prev" text="&#4843;&#4616;&#4936;&#4813;"/>
+   <l:gentext key="nav-prev-sibling" text="&#4704;&#4941;&#4901;&#4752;&#4725; &#4808;&#4848;&#4747;&#4619;"/>
+   <l:gentext key="nav-up" text="&#4808;&#4848; &#4619;&#4845;"/>
+   <l:gentext key="nav-toc" text="&#4808;&#4848; &#4658;"/>
+   <l:gentext key="Draft" text="&#4757;&#4853;&#4941;"/>
+   <l:gentext key="above" text="&#4776;&#4619;&#4845;"/>
+   <l:gentext key="below" text="&#4776;&#4661;&#4653;"/>
+   <l:gentext key="sectioncalled" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843;"/>
+   <l:gentext key="index symbols" text="&#4637;&#4621;&#4781;&#4726;&#4733;"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#4720;&#4904;&#4635;&#4650;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#4637;&#4821;&#4651;&#4941;&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#4773;&#4777;&#4620;&#4723;&#160;%n.&#160;%t"/>
+      <l:template name="example" text="&#4616;&#4637;&#4659;&#4620;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="&#4637;&#4661;&#4621;&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#4781;&#4941;&#4621;&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#4677;&#4848;&#4637; &#4720;&#4776;&#4720;&#4621;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#4637;&#4653;&#4725;&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#4640;&#4757;&#4896;&#4648;&#4837;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#4720;&#4904;&#4635;&#4650;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#4637;&#4821;&#4651;&#4941;&#160;%n.&#160;%t"/>
+      <l:template name="part" text="&#4781;&#4941;&#4621;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#4632;&#4966;&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#4901;&#4966;&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#4901;&#4966;&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" &#4704;%o"/>
+      <l:template name="olink.page.citation" text=" (&#4872;&#4925; %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(&#4872;&#4925; %p)"/>
+      <l:template name="docname" text=" in %o"/>
+      <l:template name="docnamelong" text=" &#4704;&#4854;&#4660;&#4813; &#4813;&#4661;&#4901; &#4653;&#4821;&#4661; &#4840;&#4720;&#4656;&#4896;&#4813; %o"/>
+      <l:template name="pageabbrev" text="(&#4872;&#4925; %p)"/>
+      <l:template name="Page" text="&#4872;&#4925; %p"/>
+      <l:template name="bridgehead" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#4632;&#4966;&#160;%n"/>
+      <l:template name="appendix" text="&#4720;&#4904;&#4635;&#4650;&#160;%n"/>
+      <l:template name="bridgehead" text="&#4781;&#4941;&#4621;&#160;%n"/>
+      <l:template name="chapter" text="&#4637;&#4821;&#4651;&#4941;&#160;%n"/>
+      <l:template name="equation" text="&#4773;&#4777;&#4620;&#4723;&#160;%n"/>
+      <l:template name="example" text="&#4616;&#4637;&#4659;&#4620;&#160;%n"/>
+      <l:template name="figure" text="&#4637;&#4661;&#4621;&#160;%n"/>
+      <l:template name="part" text="&#4781;&#4941;&#4621;&#160;%n"/>
+      <l:template name="procedure" text="&#4677;&#4848;&#4637; &#4720;&#4776;&#4720;&#4621;&#160;%n"/>
+      <l:template name="productionset" text="&#4637;&#4653;&#4725;&#160;%n"/>
+      <l:template name="qandadiv" text="&#4901;&#4843;&#4676; &#4773;&#4755; &#4632;&#4621;&#4661;&#160;%n"/>
+      <l:template name="qandaentry" text="&#4901;&#4966;&#160;%n"/>
+      <l:template name="question" text="&#4901;&#4966;&#160;%n"/>
+      <l:template name="sect1" text="&#4781;&#4941;&#4621;&#160;%n"/>
+      <l:template name="sect2" text="&#4781;&#4941;&#4621;&#160;%n"/>
+      <l:template name="sect3" text="&#4781;&#4941;&#4621;&#160;%n"/>
+      <l:template name="sect4" text="&#4781;&#4941;&#4621;&#160;%n"/>
+      <l:template name="sect5" text="&#4781;&#4941;&#4621;&#160;%n"/>
+      <l:template name="section" text="&#4781;&#4941;&#4621;&#160;%n"/>
+      <l:template name="table" text="&#4640;&#4757;&#4896;&#4648;&#4837;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#4720;&#4904;&#4635;&#4650;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#4781;&#4941;&#4621;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#4637;&#4821;&#4651;&#4941;&#160;%n, %t"/>
+      <l:template name="equation" text="&#4773;&#4777;&#4620;&#4723;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#4616;&#4637;&#4659;&#4620;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#4637;&#4661;&#4621;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#4781;&#4941;&#4621;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#4677;&#4848;&#4637; &#4720;&#4776;&#4720;&#4621;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="&#4637;&#4653;&#4725;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="&#4901;&#4843;&#4676; &#4773;&#4755; &#4632;&#4621;&#4661;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#4781;&#4941;&#4621;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#4781;&#4941;&#4621;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#4781;&#4941;&#4621;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#4781;&#4941;&#4621;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#4781;&#4941;&#4621;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#4781;&#4941;&#4621;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#4840;&#4781;&#4941;&#4617; &#4632;&#4896;&#4650;&#4843; &#8220;%t&#8221;"/>
+      <l:template name="table" text="&#4640;&#4757;&#4896;&#4648;&#4837;&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text="&#4963; "/>
+      <l:template name="sep2" text=" &#4773;&#4755; "/>
+      <l:template name="seplast" text="&#4963; &#4773;&#4755; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#4635;&#4840;&#4725; (&#4773;&#4845;) %t"/>
+      <l:template name="seealso" text="&#8230;&#4757;&#4637; &#4773;&#4845; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#4720;&#4632;&#4621;&#4779;&#4733;&#4966; "/>
+      <l:template name="MsgLevel" text="&#4848;&#4648;&#4867;&#4966; "/>
+      <l:template name="MsgOrig" text="&#4637;&#4757;&#4909;&#4966; "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d B Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[&#4725;&#4653;&#4873;&#4637;&#4966; "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="&#4867;&#4757;&#4841;&#4808;&#4650;"/>
+      <l:template name="February" text="&#4940;&#4709;&#4649;&#4808;&#4650;"/>
+      <l:template name="March" text="&#4635;&#4653;&#4733;"/>
+      <l:template name="April" text="&#4772;&#4949;&#4648;&#4621;"/>
+      <l:template name="May" text="&#4636;&#4845;"/>
+      <l:template name="June" text="&#4865;&#4757;"/>
+      <l:template name="July" text="&#4865;&#4619;&#4845;"/>
+      <l:template name="August" text="&#4774;&#4872;&#4661;&#4725;"/>
+      <l:template name="September" text="&#4660;&#4949;&#4724;&#4637;&#4704;&#4653;"/>
+      <l:template name="October" text="&#4774;&#4781;&#4720;&#4813;&#4704;&#4653;"/>
+      <l:template name="November" text="&#4758;&#4716;&#4637;&#4704;&#4653;"/>
+      <l:template name="December" text="&#4850;&#4660;&#4637;&#4704;&#4653;"/>
+      <l:template name="Monday" text="&#4656;&#4766;"/>
+      <l:template name="Tuesday" text="&#4635;&#4781;&#4656;&#4766;"/>
+      <l:template name="Wednesday" text="&#4648;&#4705;&#4821;"/>
+      <l:template name="Thursday" text="&#4624;&#4633;&#4661;"/>
+      <l:template name="Friday" text="&#4819;&#4653;&#4709;"/>
+      <l:template name="Saturday" text="&#4677;&#4851;&#4636;"/>
+      <l:template name="Sunday" text="&#4773;&#4625;&#4853;"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="&#4867;&#4757;&#4841;"/>
+      <l:template name="Feb" text="&#4940;&#4709;&#4649;"/>
+      <l:template name="Mar" text="&#4635;&#4653;&#4733;"/>
+      <l:template name="Apr" text="&#4772;&#4949;&#4648;"/>
+      <l:template name="May" text="&#4636;&#4845; "/>
+      <l:template name="Jun" text="&#4865;&#4757; "/>
+      <l:template name="Jul" text="&#4865;&#4619;&#4845;"/>
+      <l:template name="Aug" text="&#4774;&#4872;&#4661;"/>
+      <l:template name="Sep" text="&#4660;&#4949;&#4724;"/>
+      <l:template name="Oct" text="&#4774;&#4781;&#4720;"/>
+      <l:template name="Nov" text="&#4758;&#4716;&#4637;"/>
+      <l:template name="Dec" text="&#4850;&#4660;&#4637;"/>
+      <l:template name="Mon" text="&#4656;&#4766; "/>
+      <l:template name="Tue" text="&#4635;&#4781;&#4656;"/>
+      <l:template name="Wed" text="&#4648;&#4705;&#4821;"/>
+      <l:template name="Thu" text="&#4624;&#4633;&#4661;"/>
+      <l:template name="Fri" text="&#4819;&#4653;&#4709;"/>
+      <l:template name="Sat" text="&#4677;&#4851;&#4636;"/>
+      <l:template name="Sun" text="&#4773;&#4625;&#4853;"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0409 English"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">&#4637;&#4621;&#4781;&#4726;&#4733;</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/ar.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/ar.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/ar.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ar" english-language-name="Arabic">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/ar.xml -->
+<!-- * -->
+<!-- * E-mail the edited ar.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#1582;&#1604;&#1575;&#1589;&#1577;"/>
+   <l:gentext key="abstract" text="&#1582;&#1604;&#1575;&#1589;&#1577;"/>
+   <l:gentext key="Answer" text="&#1580;:"/>
+   <l:gentext key="answer" text="&#1580;:"/>
+   <l:gentext key="Appendix" text="&#1605;&#1604;&#1581;&#1602;"/>
+   <l:gentext key="appendix" text="&#1605;&#1604;&#1581;&#1602;"/>
+   <l:gentext key="Article" text="&#1605;&#1602;&#1575;&#1604;"/>
+   <l:gentext key="article" text="&#1605;&#1602;&#1575;&#1604;"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1585;&#1575;&#1580;&#1593;"/>
+   <l:gentext key="bibliography" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1585;&#1575;&#1580;&#1593;"/>
+   <l:gentext key="Book" text="&#1603;&#1578;&#1575;&#1576;"/>
+   <l:gentext key="book" text="&#1603;&#1578;&#1575;&#1576;"/>
+   <l:gentext key="CAUTION" text="&#1578;&#1581;&#1584;&#1610;&#1585;"/>
+   <l:gentext key="Caution" text="&#1578;&#1581;&#1584;&#1610;&#1585;"/>
+   <l:gentext key="caution" text="&#1578;&#1581;&#1584;&#1610;&#1585;"/>
+   <l:gentext key="Chapter" text="&#1601;&#1589;&#1604;"/>
+   <l:gentext key="chapter" text="&#1601;&#1589;&#1604;"/>
+   <l:gentext key="Colophon" text="&#1575;&#1604;&#1606;&#1575;&#1588;&#1585;"/>
+   <l:gentext key="colophon" text="&#1575;&#1604;&#1606;&#1575;&#1588;&#1585;"/>
+   <l:gentext key="Copyright" text="&#1581;&#1602;&#1608;&#1602; &#1575;&#1604;&#1606;&#1588;&#1585;"/>
+   <l:gentext key="copyright" text="&#1581;&#1602;&#1608;&#1602; &#1575;&#1604;&#1606;&#1588;&#1585;"/>
+   <l:gentext key="Dedication" text="&#1573;&#1607;&#1583;&#1575;&#1569;"/>
+   <l:gentext key="dedication" text="&#1573;&#1607;&#1583;&#1575;&#1569;"/>
+   <l:gentext key="Edition" text="&#1606;&#1587;&#1582;&#1577;"/>
+   <l:gentext key="edition" text="&#1606;&#1587;&#1582;&#1577;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#1605;&#1593;&#1575;&#1583;&#1604;&#1577;"/>
+   <l:gentext key="equation" text="&#1605;&#1593;&#1575;&#1583;&#1604;&#1577;"/>
+   <l:gentext key="Example" text="&#1605;&#1579;&#1575;&#1604;"/>
+   <l:gentext key="example" text="&#1605;&#1579;&#1575;&#1604;"/>
+   <l:gentext key="Figure" text="&#1588;&#1603;&#1604;"/>
+   <l:gentext key="figure" text="&#1588;&#1603;&#1604;"/>
+   <l:gentext key="Glossary" text="&#1602;&#1575;&#1605;&#1608;&#1587; &#1575;&#1604;&#1605;&#1601;&#1585;&#1583;&#1575;&#1578;"/>
+   <l:gentext key="glossary" text="&#1602;&#1575;&#1605;&#1608;&#1587; &#1575;&#1604;&#1605;&#1601;&#1585;&#1583;&#1575;&#1578;"/>
+   <l:gentext key="GlossSee" text="&#1575;&#1606;&#1592;&#1585;"/>
+   <l:gentext key="glosssee" text="&#1575;&#1606;&#1592;&#1585;"/>
+   <l:gentext key="GlossSeeAlso" text="&#1575;&#1606;&#1592;&#1585; &#1571;&#1610;&#1590;&#1575;&#1611;"/>
+   <l:gentext key="glossseealso" text="&#1575;&#1606;&#1592;&#1585; &#1571;&#1610;&#1590;&#1575;&#1611;"/>
+   <l:gentext key="IMPORTANT" text="&#1607;&#1575;&#1605;"/>
+   <l:gentext key="important" text="&#1607;&#1575;&#1605;"/>
+   <l:gentext key="Important" text="&#1607;&#1575;&#1605;"/>
+   <l:gentext key="Index" text="&#1601;&#1607;&#1585;&#1587;"/>
+   <l:gentext key="index" text="&#1601;&#1607;&#1585;&#1587;"/>
+   <l:gentext key="ISBN" text="&#1575;&#1604;&#1578;&#1585;&#1602;&#1610;&#1605; &#1575;&#1604;&#1593;&#1575;&#1604;&#1605;&#1610; &#1575;&#1604;&#1602;&#1610;&#1575;&#1587;&#1610; &#1604;&#1604;&#1603;&#1578;&#1575;&#1576;"/>
+   <l:gentext key="isbn" text="&#1575;&#1604;&#1578;&#1585;&#1602;&#1610;&#1605; &#1575;&#1604;&#1593;&#1575;&#1604;&#1605;&#1610; &#1575;&#1604;&#1602;&#1610;&#1575;&#1587;&#1610; &#1604;&#1604;&#1603;&#1578;&#1575;&#1576;"/>
+   <l:gentext key="LegalNotice" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1577; &#1602;&#1575;&#1606;&#1608;&#1606;&#1610;&#1577;"/>
+   <l:gentext key="legalnotice" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1577; &#1602;&#1575;&#1606;&#1608;&#1606;&#1610;&#1577;"/>
+   <l:gentext key="MsgAud" text="&#1575;&#1604;&#1580;&#1605;&#1607;&#1608;&#1585;"/>
+   <l:gentext key="msgaud" text="&#1575;&#1604;&#1580;&#1605;&#1607;&#1608;&#1585;"/>
+   <l:gentext key="MsgLevel" text="&#1575;&#1604;&#1605;&#1587;&#1578;&#1608;&#1609;"/>
+   <l:gentext key="msglevel" text="&#1575;&#1604;&#1605;&#1587;&#1578;&#1608;&#1609;"/>
+   <l:gentext key="MsgOrig" text="&#1575;&#1604;&#1605;&#1589;&#1583;&#1585;"/>
+   <l:gentext key="msgorig" text="&#1575;&#1604;&#1605;&#1589;&#1583;&#1585;"/>
+   <l:gentext key="NOTE" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1577;"/>
+   <l:gentext key="Note" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1577;"/>
+   <l:gentext key="note" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1577;"/>
+   <l:gentext key="Part" text="&#1580;&#1586;&#1569;"/>
+   <l:gentext key="part" text="&#1580;&#1586;&#1569;"/>
+   <l:gentext key="Preface" text="&#1605;&#1602;&#1583;&#1605;&#1577;"/>
+   <l:gentext key="preface" text="&#1605;&#1602;&#1583;&#1605;&#1577;"/>
+   <l:gentext key="Procedure" text="&#1573;&#1580;&#1585;&#1575;&#1569;"/>
+   <l:gentext key="procedure" text="&#1573;&#1580;&#1585;&#1575;&#1569;"/>
+   <l:gentext key="ProductionSet" text="&#1605;&#1606;&#1578;&#1580;"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="&#1605;&#1606;&#1588;&#1608;&#1585;"/>
+   <l:gentext key="published" text="&#1605;&#1606;&#1588;&#1608;&#1585;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#1587; &#1608; &#1580;"/>
+   <l:gentext key="qandadiv" text="&#1587; &#1608; &#1580;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#1587;:"/>
+   <l:gentext key="question" text="&#1587;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#1605;&#1585;&#1580;&#1593;"/>
+   <l:gentext key="reference" text="&#1605;&#1585;&#1580;&#1593;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#1575;&#1604;&#1575;&#1587;&#1605;"/>
+   <l:gentext key="refname" text="&#1575;&#1604;&#1575;&#1587;&#1605;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#1575;&#1604;&#1605;&#1582;&#1578;&#1589;&#1585;"/>
+   <l:gentext key="refsynopsisdiv" text="&#1575;&#1604;&#1605;&#1582;&#1578;&#1589;&#1585;"/>
+   <l:gentext key="RevHistory" text="&#1578;&#1575;&#1585;&#1610;&#1582; &#1575;&#1604;&#1605;&#1585;&#1575;&#1580;&#1593;&#1577;"/>
+   <l:gentext key="revhistory" text="&#1578;&#1575;&#1585;&#1610;&#1582; &#1575;&#1604;&#1605;&#1585;&#1575;&#1580;&#1593;&#1577;"/>
+   <l:gentext key="revision" text="&#1605;&#1585;&#1575;&#1580;&#1593;&#1577;"/>
+   <l:gentext key="Revision" text="&#1605;&#1585;&#1575;&#1580;&#1593;&#1577;"/>
+   <l:gentext key="sect1" text="&#1602;&#1587;&#1605;"/>
+   <l:gentext key="sect2" text="&#1602;&#1587;&#1605;"/>
+   <l:gentext key="sect3" text="&#1602;&#1587;&#1605;"/>
+   <l:gentext key="sect4" text="&#1602;&#1587;&#1605;"/>
+   <l:gentext key="sect5" text="&#1602;&#1587;&#1605;"/>
+   <l:gentext key="section" text="&#1602;&#1587;&#1605;"/>
+   <l:gentext key="Section" text="&#1602;&#1587;&#1605;"/>
+   <l:gentext key="see" text="&#1575;&#1587;&#1578;&#1593;&#1585;&#1590;"/>
+   <l:gentext key="See" text="See" lang="en"/>
+   <l:gentext key="seealso" text="&#1575;&#1587;&#1578;&#1593;&#1585;&#1590; &#1571;&#1610;&#1590;&#1575;&#1611;"/>
+   <l:gentext key="Seealso" text="See also" lang="en"/>
+   <l:gentext key="SeeAlso" text="See Also" lang="en"/>
+   <l:gentext key="set" text="&#1605;&#1580;&#1605;&#1608;&#1593;&#1577;"/>
+   <l:gentext key="Set" text="&#1605;&#1580;&#1605;&#1608;&#1593;&#1577;"/>
+   <l:gentext key="setindex" text="&#1601;&#1607;&#1585;&#1587; &#1575;&#1604;&#1605;&#1580;&#1605;&#1608;&#1593;&#1577;"/>
+   <l:gentext key="SetIndex" text="&#1601;&#1607;&#1585;&#1587; &#1575;&#1604;&#1605;&#1580;&#1605;&#1608;&#1593;&#1577;"/>
+   <l:gentext key="Sidebar" text="&#1575;&#1604;&#1588;&#1585;&#1610;&#1591; &#1575;&#1604;&#1580;&#1575;&#1606;&#1576;&#1610;"/>
+   <l:gentext key="sidebar" text="&#1575;&#1604;&#1588;&#1585;&#1610;&#1591; &#1575;&#1604;&#1580;&#1575;&#1606;&#1576;&#1610;"/>
+   <l:gentext key="step" text="&#1582;&#1591;&#1608;&#1577;"/>
+   <l:gentext key="Step" text="&#1582;&#1591;&#1608;&#1577;"/>
+   <l:gentext key="table" text="&#1580;&#1583;&#1608;&#1604;"/>
+   <l:gentext key="Table" text="&#1580;&#1583;&#1608;&#1604;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#1601;&#1603;&#1585;&#1577; &#1605;&#1601;&#1610;&#1583;&#1577;"/>
+   <l:gentext key="TIP" text="&#1601;&#1603;&#1585;&#1577; &#1605;&#1601;&#1610;&#1583;&#1577;"/>
+   <l:gentext key="Tip" text="&#1601;&#1603;&#1585;&#1577; &#1605;&#1601;&#1610;&#1583;&#1577;"/>
+   <l:gentext key="Warning" text="&#1578;&#1606;&#1576;&#1610;&#1607;"/>
+   <l:gentext key="warning" text="&#1578;&#1606;&#1576;&#1610;&#1607;"/>
+   <l:gentext key="WARNING" text="&#1578;&#1606;&#1576;&#1610;&#1607;"/>
+   <l:gentext key="and" text="&#1608;"/>
+   <l:gentext key="by" text="&#1576;&#1608;&#1575;&#1587;&#1591;&#1577;"/>
+   <l:gentext key="Edited" text="&#1605;&#1593;&#1583;&#1604;"/>
+   <l:gentext key="edited" text="&#1605;&#1593;&#1583;&#1604;"/>
+   <l:gentext key="Editedby" text="&#1605;&#1593;&#1583;&#1604; &#1576;&#1608;&#1575;&#1587;&#1591;&#1577;"/>
+   <l:gentext key="editedby" text="&#1605;&#1593;&#1583;&#1604; &#1576;&#1608;&#1575;&#1587;&#1591;&#1577;"/>
+   <l:gentext key="in" text="&#1601;&#1610;"/>
+   <l:gentext key="lastlistcomma" text="&#1548;"/>
+   <l:gentext key="listcomma" text="&#1548;"/>
+   <l:gentext key="nonexistantelement" text="&#1593;&#1606;&#1589;&#1585; &#1605;&#1601;&#1602;&#1608;&#1583;"/>
+   <l:gentext key="notes" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1575;&#1578;"/>
+   <l:gentext key="Notes" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1575;&#1578;"/>
+   <l:gentext key="Pgs" text="&#1589;&#1601;&#1581;&#1575;&#1578;"/>
+   <l:gentext key="pgs" text="&#1589;&#1601;&#1581;&#1575;&#1578;"/>
+   <l:gentext key="Revisedby" text="&#1578;&#1605;&#1578; &#1575;&#1604;&#1605;&#1585;&#1575;&#1580;&#1593;&#1577; &#1576;&#1608;&#1575;&#1587;&#1591;&#1577;: "/>
+   <l:gentext key="revisedby" text="&#1578;&#1605;&#1578; &#1575;&#1604;&#1605;&#1585;&#1575;&#1580;&#1593;&#1577; &#1576;&#1608;&#1575;&#1587;&#1591;&#1577;: "/>
+   <l:gentext key="TableNotes" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1575;&#1578;"/>
+   <l:gentext key="tablenotes" text="&#1605;&#1604;&#1575;&#1581;&#1592;&#1575;&#1578;"/>
+   <l:gentext key="TableofContents" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1581;&#1578;&#1608;&#1610;&#1575;&#1578;"/>
+   <l:gentext key="tableofcontents" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1581;&#1578;&#1608;&#1610;&#1575;&#1578;"/>
+   <l:gentext key="unexpectedelementname" text="&#1575;&#1587;&#1605; &#1593;&#1606;&#1589;&#1585; &#1594;&#1610;&#1585; &#1605;&#1578;&#1608;&#1602;&#1593;"/>
+   <l:gentext key="unsupported" text="&#1594;&#1610;&#1585; &#1605;&#1583;&#1593;&#1608;&#1605;"/>
+   <l:gentext key="xrefto" text="&#1573;&#1588;&#1575;&#1585;&#1577; &#1573;&#1604;&#1609;"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1593;&#1575;&#1583;&#1604;&#1575;&#1578;"/>
+   <l:gentext key="ListofEquations" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1593;&#1575;&#1583;&#1604;&#1575;&#1578;"/>
+   <l:gentext key="ListofExamples" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1571;&#1605;&#1579;&#1604;&#1577;"/>
+   <l:gentext key="listofexamples" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1571;&#1605;&#1579;&#1604;&#1577;"/>
+   <l:gentext key="ListofFigures" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1571;&#1588;&#1603;&#1575;&#1604;"/>
+   <l:gentext key="listoffigures" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1571;&#1588;&#1603;&#1575;&#1604;"/>
+   <l:gentext key="ListofProcedures" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1573;&#1580;&#1585;&#1575;&#1569;&#1575;&#1578;"/>
+   <l:gentext key="listofprocedures" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1573;&#1580;&#1585;&#1575;&#1569;&#1575;&#1578;"/>
+   <l:gentext key="listoftables" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1580;&#1583;&#1575;&#1608;&#1604;"/>
+   <l:gentext key="ListofTables" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1580;&#1583;&#1575;&#1608;&#1604;"/>
+   <l:gentext key="ListofUnknown" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1580;&#1607;&#1608;&#1604;&#1575;&#1578;"/>
+   <l:gentext key="listofunknown" text="&#1602;&#1575;&#1574;&#1605;&#1577; &#1575;&#1604;&#1605;&#1580;&#1607;&#1608;&#1604;&#1575;&#1578;"/>
+   <l:gentext key="nav-home" text="&#1575;&#1604;&#1576;&#1583;&#1575;&#1610;&#1577;"/>
+   <l:gentext key="nav-next" text="&#1575;&#1604;&#1578;&#1575;&#1604;&#1610;"/>
+   <l:gentext key="nav-next-sibling" text="&#1573;&#1604;&#1609; &#1575;&#1604;&#1571;&#1605;&#1575;&#1605;"/>
+   <l:gentext key="nav-prev" text="&#1575;&#1604;&#1587;&#1575;&#1576;&#1602;"/>
+   <l:gentext key="nav-prev-sibling" text="&#1573;&#1604;&#1609; &#1575;&#1604;&#1582;&#1604;&#1601;"/>
+   <l:gentext key="nav-up" text="&#1571;&#1593;&#1604;&#1609;"/>
+   <l:gentext key="nav-toc" text="&#1575;&#1604;&#1601;&#1607;&#1585;&#1587;"/>
+   <l:gentext key="Draft" text="&#1605;&#1587;&#1608;&#1583;&#1577;"/>
+   <l:gentext key="above" text="&#1571;&#1593;&#1604;&#1609;"/>
+   <l:gentext key="below" text="&#1601;&#1610;&#1605;&#1575; &#1610;&#1604;&#1610;"/>
+   <l:gentext key="sectioncalled" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609;"/>
+   <l:gentext key="index symbols" text="&#1575;&#1604;&#1585;&#1605;&#1608;&#1586;"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="&#8208;"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#1605;&#1604;&#1581;&#1602;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#1601;&#1589;&#1604;&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#1605;&#1593;&#1575;&#1583;&#1604;&#1577;&#160;%n.&#160;%t"/>
+      <l:template name="example" text="&#1605;&#1579;&#1575;&#1604;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="&#1588;&#1603;&#1604;&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#1580;&#1586;&#1569;&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#1573;&#1580;&#1585;&#1575;&#1569;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#1605;&#1606;&#1578;&#1580;&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#1580;&#1583;&#1608;&#1604;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#1605;&#1604;&#1581;&#1602;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#1601;&#1589;&#1604;&#160;%n.&#160;%t"/>
+      <l:template name="part" text="&#1580;&#1586;&#1569;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#1580;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#1587;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#1587;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#1580;:&#160;%n"/>
+      <l:template name="appendix" text="&#1605;&#1604;&#1581;&#1602;&#160;%n"/>
+      <l:template name="bridgehead" text="&#1602;&#1587;&#1605;&#160;%n"/>
+      <l:template name="chapter" text="&#1601;&#1589;&#1604;&#160;%n"/>
+      <l:template name="equation" text="&#1605;&#1593;&#1575;&#1583;&#1604;&#1577;&#160;%n"/>
+      <l:template name="example" text="&#1605;&#1579;&#1575;&#1604;&#160;%n"/>
+      <l:template name="figure" text="&#1588;&#1603;&#1604;&#160;%n"/>
+      <l:template name="part" text="&#1580;&#1586;&#1569;&#160;%n"/>
+      <l:template name="procedure" text="&#1573;&#1580;&#1585;&#1575;&#1569;&#160;%n"/>
+      <l:template name="productionset" text="&#1605;&#1606;&#1578;&#1580;&#160;%n"/>
+      <l:template name="qandadiv" text="&#1587; &#1608; &#1580;&#160;%n"/>
+      <l:template name="qandaentry" text="&#1587;:&#160;%n"/>
+      <l:template name="question" text="&#1587;:&#160;%n"/>
+      <l:template name="sect1" text="&#1602;&#1587;&#1605;&#160;%n"/>
+      <l:template name="sect2" text="&#1602;&#1587;&#1605;&#160;%n"/>
+      <l:template name="sect3" text="&#1602;&#1587;&#1605;&#160;%n"/>
+      <l:template name="sect4" text="&#1602;&#1587;&#1605;&#160;%n"/>
+      <l:template name="sect5" text="&#1602;&#1587;&#1605;&#160;%n"/>
+      <l:template name="section" text="&#1602;&#1587;&#1605;&#160;%n"/>
+      <l:template name="table" text="&#1580;&#1583;&#1608;&#1604;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#1605;&#1604;&#1581;&#1602;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#1601;&#1589;&#1604;&#160;%n, %t"/>
+      <l:template name="equation" text="&#1605;&#1593;&#1575;&#1583;&#1604;&#1577;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#1605;&#1579;&#1575;&#1604;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#1588;&#1603;&#1604;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#1580;&#1586;&#1569;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#1573;&#1580;&#1585;&#1575;&#1569;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="&#1605;&#1606;&#1578;&#1580;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="&#1587; &#1608; &#1580;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#1602;&#1587;&#1605;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#1575;&#1604;&#1602;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1605;&#1609; &#8220;%t&#8221;"/>
+      <l:template name="table" text="&#1580;&#1583;&#1608;&#1604;&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text="&#1548; "/>
+      <l:template name="sep2" text=" &#1608; "/>
+      <l:template name="seplast" text="&#1548; &#1608; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#1575;&#1606;&#1592;&#1585; %t"/>
+      <l:template name="seealso" text="&#1575;&#1606;&#1592;&#1585; &#1571;&#1610;&#1590;&#1575;&#1611; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#1575;&#1604;&#1580;&#1605;&#1607;&#1608;&#1585;: "/>
+      <l:template name="MsgLevel" text="&#1575;&#1604;&#1605;&#1587;&#1578;&#1608;&#1609;: "/>
+      <l:template name="MsgOrig" text="&#1575;&#1604;&#1605;&#1589;&#1583;&#1585;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d/m/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="&#1610;&#1606;&#1575;&#1610;&#1585;"/>
+      <l:template name="February" text="&#1601;&#1576;&#1585;&#1575;&#1610;&#1585;"/>
+      <l:template name="March" text="&#1605;&#1575;&#1585;&#1587;"/>
+      <l:template name="April" text="&#1571;&#1576;&#1585;&#1610;&#1604;"/>
+      <l:template name="May" text="&#1605;&#1575;&#1610;&#1608;"/>
+      <l:template name="June" text="&#1610;&#1608;&#1606;&#1610;&#1608;"/>
+      <l:template name="July" text="&#1610;&#1608;&#1604;&#1610;&#1608;"/>
+      <l:template name="August" text="&#1571;&#1594;&#1587;&#1591;&#1587;"/>
+      <l:template name="September" text="&#1587;&#1576;&#1578;&#1605;&#1576;&#1585;"/>
+      <l:template name="October" text="&#1571;&#1603;&#1578;&#1608;&#1576;&#1585;"/>
+      <l:template name="November" text="&#1606;&#1608;&#1601;&#1605;&#1576;&#1585;"/>
+      <l:template name="December" text="&#1583;&#1610;&#1587;&#1605;&#1576;&#1585;"/>
+      <l:template name="Monday" text="&#1575;&#1604;&#1573;&#1579;&#1606;&#1610;&#1606;"/>
+      <l:template name="Tuesday" text="&#1575;&#1604;&#1579;&#1604;&#1575;&#1579;&#1575;&#1569;"/>
+      <l:template name="Wednesday" text="&#1575;&#1604;&#1571;&#1585;&#1576;&#1593;&#1575;&#1569;"/>
+      <l:template name="Thursday" text="&#1575;&#1604;&#1582;&#1605;&#1610;&#1587;"/>
+      <l:template name="Friday" text="&#1575;&#1604;&#1580;&#1605;&#1593;&#1577;"/>
+      <l:template name="Saturday" text="&#1575;&#1604;&#1587;&#1576;&#1578;"/>
+      <l:template name="Sunday" text="&#1575;&#1604;&#1571;&#1581;&#1583;"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="&#1610;&#1606;&#1575;&#1610;&#1585;"/>
+      <l:template name="Feb" text="&#1601;&#1576;&#1585;&#1575;&#1610;&#1585;"/>
+      <l:template name="Mar" text="&#1605;&#1575;&#1585;&#1587;"/>
+      <l:template name="Apr" text="&#1571;&#1576;&#1585;&#1610;&#1604;"/>
+      <l:template name="May" text="&#1605;&#1575;&#1610;&#1608;"/>
+      <l:template name="Jun" text="&#1610;&#1608;&#1606;&#1610;&#1608;"/>
+      <l:template name="Jul" text="&#1610;&#1608;&#1604;&#1610;&#1608;"/>
+      <l:template name="Aug" text="&#1571;&#1594;&#1587;&#1591;&#1587;"/>
+      <l:template name="Sep" text="&#1587;&#1576;&#1578;&#1605;&#1576;&#1585;"/>
+      <l:template name="Oct" text="&#1571;&#1603;&#1578;&#1608;&#1576;&#1585;"/>
+      <l:template name="Nov" text="&#1606;&#1608;&#1601;&#1605;&#1576;&#1585;"/>
+      <l:template name="Dec" text="&#1583;&#1610;&#1587;&#1605;&#1576;&#1585;"/>
+      <l:template name="Mon" text="&#1575;&#1604;&#1573;&#1579;&#1606;&#1610;&#1606;"/>
+      <l:template name="Tue" text="&#1575;&#1604;&#1579;&#1604;&#1575;&#1579;&#1575;&#1569;"/>
+      <l:template name="Wed" text="&#1575;&#1604;&#1571;&#1585;&#1576;&#1593;&#1575;&#1569;"/>
+      <l:template name="Thu" text="&#1575;&#1604;&#1582;&#1605;&#1610;&#1587;"/>
+      <l:template name="Fri" text="&#1575;&#1604;&#1580;&#1605;&#1593;&#1577;"/>
+      <l:template name="Sat" text="&#1575;&#1604;&#1587;&#1576;&#1578;"/>
+      <l:template name="Sun" text="&#1575;&#1604;&#1571;&#1581;&#1583;"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0409 English (UNITED STATES)" lang="en"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/autoidx-kimber.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/autoidx-kimber.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/autoidx-kimber.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY primary   'normalize-space(concat(primary/@sortas, primary[not(@sortas)]))'>
+<!-- Documents using the kimber index method must have a lang attribute -->
+<!-- Only one of these should be present in the entity -->
+
+<!ENTITY lang 'concat(/*/@lang, /*/@xml:lang)'>
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0"
+                xmlns:k="java:com.isogen.saxoni18n.Saxoni18nService"
+                exclude-result-prefixes="k">
+
+<!-- ********************************************************************
+     $Id: autoidx-kimber.xsl 6220 2006-08-30 06:23:19Z bobstayton $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheet distribution.
+     See ../README or http://docbook.sf.net/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:param name="kimber.imported">
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:choose>
+    <xsl:when test="not(contains($vendor, 'SAXON '))">
+      <xsl:message terminate="yes">
+        <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text>
+        <xsl:text>Saxon version 6 or 8 XSLT processor.</xsl:text>
+      </xsl:message>
+    </xsl:when>
+    <xsl:otherwise>1</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+
+
+<!-- The following key used in the kimber indexing method. -->
+<xsl:key name="k-group"
+         match="indexterm"
+         use="k:getIndexGroupKey(&lang;, &primary;)"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/common/autoidx-kosek.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/autoidx-kosek.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/autoidx-kosek.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,150 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY primary   'normalize-space(concat(primary/@sortas, primary[not(@sortas)]))'>
+
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0"
+                xmlns:func="http://exslt.org/functions"
+                xmlns:exslt="http://exslt.org/common"
+                xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                extension-element-prefixes="func exslt"
+                exclude-result-prefixes="func exslt i l"
+                xmlns:i="urn:cz-kosek:functions:index">
+
+<!-- ********************************************************************
+     $Id: autoidx-kosek.xsl 6220 2006-08-30 06:23:19Z bobstayton $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheet distribution.
+     See ../README or http://docbook.sf.net/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:param name="kosek.imported">
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:choose>
+    <xsl:when test="contains($vendor, 'libxslt')">
+      <xsl:message terminate="yes">
+        <xsl:text>ERROR: the 'kosek' index method does not </xsl:text>
+        <xsl:text>work with the xsltproc XSLT processor.</xsl:text>
+      </xsl:message>
+    </xsl:when>
+    <xsl:otherwise>1</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+
+<!-- Returns index group code for given term  -->
+<func:function name="i:group-index">
+  <xsl:param name="term"/>
+  
+  <xsl:variable name="letters-rtf">
+    <xsl:variable name="lang">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:variable>
+    
+    <xsl:variable name="local.l10n.letters"
+      select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:letters)[1]"/>
+    
+    <xsl:variable name="l10n.letters"
+      select="($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:letters)[1]"/>
+    
+    <xsl:choose>
+      <xsl:when test="count($local.l10n.letters) &gt; 0">
+        <xsl:copy-of select="$local.l10n.letters"/>
+      </xsl:when>
+      <xsl:when test="count($l10n.letters) &gt; 0">
+        <xsl:copy-of select="$l10n.letters"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:message>
+          <xsl:text>No "</xsl:text>
+          <xsl:value-of select="$lang"/>
+          <xsl:text>" localization of index grouping letters exists</xsl:text>
+          <xsl:choose>
+            <xsl:when test="$lang = 'en'">
+              <xsl:text>.</xsl:text>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:text>; using "en".</xsl:text>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:message>
+        
+        <xsl:copy-of select="($l10n.xml/l:i18n/l:l10n[@language='en']/l:letters)[1]"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  
+  <xsl:variable name="letters" select="exslt:node-set($letters-rtf)/*"/>
+  
+  <xsl:variable name="long-letter-index" select="$letters/l:l[. = substring($term,1,2)]/@i"/>
+  <xsl:variable name="short-letter-index" select="$letters/l:l[. = substring($term,1,1)]/@i"/>
+  <xsl:variable name="letter-index">
+    <xsl:choose>
+      <xsl:when test="$long-letter-index">
+        <xsl:value-of select="$long-letter-index"/>
+      </xsl:when>
+      <xsl:when test="$short-letter-index">
+        <xsl:value-of select="$short-letter-index"/>
+      </xsl:when>
+      <xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <func:result select="number($letter-index)"/>
+</func:function>
+
+<!-- Return index group letter for given group code -->
+<func:function name="i:group-letter">
+  <xsl:param name="index"/>
+
+  <xsl:variable name="letters-rtf">
+    <xsl:variable name="lang">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:variable>
+    
+    <xsl:variable name="local.l10n.letters"
+      select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:letters)[1]"/>
+    
+    <xsl:variable name="l10n.letters"
+      select="($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:letters)[1]"/>
+    
+    <xsl:choose>
+      <xsl:when test="count($local.l10n.letters) &gt; 0">
+        <xsl:copy-of select="$local.l10n.letters"/>
+      </xsl:when>
+      <xsl:when test="count($l10n.letters) &gt; 0">
+        <xsl:copy-of select="$l10n.letters"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:message>
+          <xsl:text>No "</xsl:text>
+          <xsl:value-of select="$lang"/>
+          <xsl:text>" localization of index grouping letters exists</xsl:text>
+          <xsl:choose>
+            <xsl:when test="$lang = 'en'">
+              <xsl:text>.</xsl:text>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:text>; using "en".</xsl:text>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:message>
+        
+        <xsl:copy-of select="($l10n.xml/l:i18n/l:l10n[@language='en']/l:letters)[1]"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  
+  <xsl:variable name="letters" select="exslt:node-set($letters-rtf)/*"/>
+  
+  <func:result select="$letters/l:l[@i=$index][1]"/>
+</func:function>
+
+<xsl:key name="group-code"
+         match="indexterm"
+         use="i:group-index(&primary;)"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/common/az.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/az.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/az.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,645 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="az" english-language-name="Azerbaijani">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/az.xml -->
+<!-- * -->
+<!-- * E-mail the edited az.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#304;cmal"/>
+   <l:gentext key="abstract" text="&#304;cmal"/>
+   <l:gentext key="Answer" text="Cavab:"/>
+   <l:gentext key="answer" text="Cavab:"/>
+   <l:gentext key="Appendix" text="&#399;lav&#601;"/>
+   <l:gentext key="appendix" text="&#399;lav&#601;"/>
+   <l:gentext key="Article" text="M&#601;qal&#601;"/>
+   <l:gentext key="article" text="M&#601;qal&#601;"/>
+   <l:gentext key="Author" text="M&#252;&#601;llif"/>
+   <l:gentext key="Bibliography" text="Qaynaq&#231;a"/>
+   <l:gentext key="bibliography" text="Qaynaq&#231;a"/>
+   <l:gentext key="Book" text="Kitab"/>
+   <l:gentext key="book" text="Kitab"/>
+   <l:gentext key="CAUTION" text="D&#304;QQ&#399;T"/>
+   <l:gentext key="Caution" text="Diqq&#601;t"/>
+   <l:gentext key="caution" text="Diqq&#601;t"/>
+   <l:gentext key="Chapter" text="B&#246;l&#252;m"/>
+   <l:gentext key="chapter" text="B&#246;l&#252;m"/>
+   <l:gentext key="Colophon" text="Kitab Haqq&#305;nda"/>
+   <l:gentext key="colophon" text="Kitab Haqq&#305;nda"/>
+   <l:gentext key="Copyright" text="M&#252;&#601;llif H&#252;ququ"/>
+   <l:gentext key="copyright" text="M&#252;&#601;llif H&#252;ququ"/>
+   <l:gentext key="Dedication" text="H&#601;sr"/>
+   <l:gentext key="dedication" text="H&#601;sr"/>
+   <l:gentext key="Edition" text="Burax&#305;l&#305;&#351;"/>
+   <l:gentext key="edition" text="Burax&#305;l&#305;&#351;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="T&#601;nlik"/>
+   <l:gentext key="equation" text="T&#601;nlik"/>
+   <l:gentext key="Example" text="N&#252;mun&#601;"/>
+   <l:gentext key="example" text="N&#252;mun&#601;"/>
+   <l:gentext key="Figure" text="Fiqur"/>
+   <l:gentext key="figure" text="Fiqur"/>
+   <l:gentext key="Glossary" text="L&#252;&#287;&#601;t"/>
+   <l:gentext key="glossary" text="L&#252;&#287;&#601;t"/>
+   <l:gentext key="GlossSee" text="Bax"/>
+   <l:gentext key="glosssee" text="Bax"/>
+   <l:gentext key="GlossSeeAlso" text="El&#601;c&#601; D&#601; Bax"/>
+   <l:gentext key="glossseealso" text="El&#601;c&#601; D&#601; Bax"/>
+   <l:gentext key="IMPORTANT" text="VAC&#304;B"/>
+   <l:gentext key="important" text="Vacib"/>
+   <l:gentext key="Important" text="Vacib"/>
+   <l:gentext key="Index" text="&#304;ndeks"/>
+   <l:gentext key="index" text="&#304;ndeks"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Qanuni Qeyd"/>
+   <l:gentext key="legalnotice" text="Qanuni Qeyd"/>
+   <l:gentext key="MsgAud" text="H&#601;d&#601;f Oxuyucu"/>
+   <l:gentext key="msgaud" text="H&#601;d&#601;f Oxuyucu"/>
+   <l:gentext key="MsgLevel" text="S&#601;viyy&#601;"/>
+   <l:gentext key="msglevel" text="S&#601;viyy&#601;"/>
+   <l:gentext key="MsgOrig" text="M&#601;nb&#601;"/>
+   <l:gentext key="msgorig" text="M&#601;nb&#601;"/>
+   <l:gentext key="NOTE" text="QEYD"/>
+   <l:gentext key="Note" text="Qeyd"/>
+   <l:gentext key="note" text="Qeyd"/>
+   <l:gentext key="Part" text="Hiss&#601;"/>
+   <l:gentext key="part" text="Hiss&#601;"/>
+   <l:gentext key="Preface" text="&#214;ns&#246;z"/>
+   <l:gentext key="preface" text="&#214;ns&#246;z"/>
+   <l:gentext key="Procedure" text="&#220;sul"/>
+   <l:gentext key="procedure" text="&#220;sul"/>
+   <l:gentext key="ProductionSet" text="Produksiya"/>
+   <l:gentext key="PubDate" text="Yayimlama Tarixi"/>
+   <l:gentext key="pubdate" text="Yayimlama Tarixi"/>
+   <l:gentext key="Published" text="Yayimlama"/>
+   <l:gentext key="published" text="Yayimlama"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="S v&#601; C"/>
+   <l:gentext key="qandadiv" text="S v&#601; C"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Sual:"/>
+   <l:gentext key="question" text="Sual:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Xat&#305;rlatma"/>
+   <l:gentext key="reference" text="Xat&#305;rlatma"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Ad"/>
+   <l:gentext key="refname" text="Ad"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#304;cmal"/>
+   <l:gentext key="refsynopsisdiv" text="&#304;cmal"/>
+   <l:gentext key="RevHistory" text="N&#601;z&#601;rd&#601;n Ke&#231;irm&#601; Tarix&#231;&#601;si"/>
+   <l:gentext key="revhistory" text="N&#601;z&#601;rd&#601;n Ke&#231;irm&#601; Tarix&#231;&#601;si"/>
+   <l:gentext key="revision" text="N&#601;z&#601;rd&#601;n Ke&#231;irm&#601;"/>
+   <l:gentext key="Revision" text="N&#601;z&#601;rd&#601;n Ke&#231;irm&#601;"/>
+   <l:gentext key="sect1" text="Qisim"/>
+   <l:gentext key="sect2" text="Qisim"/>
+   <l:gentext key="sect3" text="Qisim"/>
+   <l:gentext key="sect4" text="Qisim"/>
+   <l:gentext key="sect5" text="Qisim"/>
+   <l:gentext key="section" text="Qisim"/>
+   <l:gentext key="Section" text="Qisim"/>
+   <l:gentext key="see" text="bax"/>
+   <l:gentext key="See" text="Bax"/>
+   <l:gentext key="seealso" text="el&#601;c&#601; d&#601; bax"/>
+   <l:gentext key="Seealso" text="El&#601;c&#601; D&#601; Bax"/>
+   <l:gentext key="SeeAlso" text="El&#601;c&#601; D&#601; Bax"/>
+   <l:gentext key="set" text="D&#601;st&#601;"/>
+   <l:gentext key="Set" text="D&#601;st&#601;"/>
+   <l:gentext key="setindex" text="&#304;ndeksi Se&#231;"/>
+   <l:gentext key="SetIndex" text="&#304;ndeksi Se&#231;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="K&#601;nar &#199;ubu&#287;u"/>
+   <l:gentext key="step" text="add&#305;m"/>
+   <l:gentext key="Step" text="Add&#305;m"/>
+   <l:gentext key="table" text="c&#601;dv&#601;l"/>
+   <l:gentext key="Table" text="C&#601;dv&#601;l"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="m&#601;sl&#601;h&#601;t"/>
+   <l:gentext key="TIP" text="M&#399;SL&#399;H&#399;T"/>
+   <l:gentext key="Tip" text="M&#601;sl&#601;h&#601;t"/>
+   <l:gentext key="Warning" text="X&#601;b&#601;rdarl&#305;q"/>
+   <l:gentext key="warning" text="X&#601;b&#601;rdarl&#305;q"/>
+   <l:gentext key="WARNING" text="X&#399;B&#399;RDARLIQ"/>
+   <l:gentext key="and" text="v&#601;"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="D&#252;z&#601;ldildi"/>
+   <l:gentext key="edited" text="D&#252;z&#601;ldildi"/>
+   <l:gentext key="Editedby" text="D&#252;z&#601;li&#351; ed&#601;n"/>
+   <l:gentext key="editedby" text="D&#252;z&#601;li&#351; ed&#601;n"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="m&#246;vcud olmayan element"/>
+   <l:gentext key="notes" text="Qeydl&#601;r"/>
+   <l:gentext key="Notes" text="Qeydl&#601;r"/>
+   <l:gentext key="Pgs" text="Shflr."/>
+   <l:gentext key="pgs" text="Shflr."/>
+   <l:gentext key="Revisedby" text="G&#246;zd&#601;n ke&#231;ir&#601;n: "/>
+   <l:gentext key="revisedby" text="G&#246;zd&#601;n ke&#231;ir&#601;n: "/>
+   <l:gentext key="TableNotes" text="Qeydl&#601;r"/>
+   <l:gentext key="tablenotes" text="Qeydl&#601;r"/>
+   <l:gentext key="TableofContents" text="M&#601;zmun"/>
+   <l:gentext key="tableofcontents" text="M&#601;zmun"/>
+   <l:gentext key="unexpectedelementname" text="G&#246;zl&#601;nm&#601;y&#601;n element ad&#305;"/>
+   <l:gentext key="unsupported" text="d&#601;st&#601;kl&#601;nmir"/>
+   <l:gentext key="xrefto" text="xref to"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="T&#601;nlikl&#601;r"/>
+   <l:gentext key="ListofEquations" text="T&#601;nlikl&#601;r"/>
+   <l:gentext key="ListofExamples" text="N&#252;mun&#601;l&#601;r"/>
+   <l:gentext key="listofexamples" text="N&#252;mun&#601;l&#601;r"/>
+   <l:gentext key="ListofFigures" text="Fiqurlar"/>
+   <l:gentext key="listoffigures" text="Fiqurlar"/>
+   <l:gentext key="ListofProcedures" text="&#220;sullar"/>
+   <l:gentext key="listofprocedures" text="&#220;sullar"/>
+   <l:gentext key="listoftables" text="C&#601;dv&#601;ll&#601;r"/>
+   <l:gentext key="ListofTables" text="C&#601;dv&#601;ll&#601;r"/>
+   <l:gentext key="ListofUnknown" text="Nam&#601;lumlar"/>
+   <l:gentext key="listofunknown" text="List of Unknown" lang="en"/>
+   <l:gentext key="nav-home" text="Ev"/>
+   <l:gentext key="nav-next" text="Sonrak&#305;"/>
+   <l:gentext key="nav-next-sibling" text="&#304;r&#601;li"/>
+   <l:gentext key="nav-prev" text="&#399;vv&#601;lki"/>
+   <l:gentext key="nav-prev-sibling" text="Geri"/>
+   <l:gentext key="nav-up" text="Yuxar&#305;"/>
+   <l:gentext key="nav-toc" text="M&#601;zmun"/>
+   <l:gentext key="Draft" text="&#350;ablon"/>
+   <l:gentext key="above" text="&#220;st&#252;nd&#601;"/>
+   <l:gentext key="below" text="Alt&#305;nda"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Simvollar"/>
+   <l:gentext key="lowercase.alpha" text="abc&#231;de&#601;fg&#287;hx&#305;ijkqlmno&#246;prs&#351;tu&#252;vyz"/>
+   <l:gentext key="uppercase.alpha" text="ABC&#199;DE&#399;FG&#286;HXI&#304;JKQLMNO&#214;PRS&#350;TU&#220;VYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#399;lav&#601;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="B&#246;l&#252;m&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="T&#601;nlik&#160;%n.&#160;%t"/>
+      <l:template name="example" text="N&#252;mun&#601;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="Fiqur&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Hiss&#601;&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#220;sul&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Produksiya&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="C&#601;dv&#601;l&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#399;lav&#601;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="B&#246;l&#252;m&#160;%n.&#160;%t"/>
+      <l:template name="part" text="Hiss&#601;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="Cavab:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Sual:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Sual:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o"/>
+      <l:template name="olink.page.citation" text=" (page %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)"/>
+      <l:template name="docname" text=" in %o"/>
+      <l:template name="docnamelong" text=" in the document titled %o"/>
+      <l:template name="pageabbrev" text="(p. %p)"/>
+      <l:template name="Page" text="Page %p"/>
+      <l:template name="bridgehead" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsection" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text=" &#8220;%t&#8221;"/>
+      <l:template name="sect1" text=" &#8220;%t&#8221;"/>
+      <l:template name="sect2" text=" &#8220;%t&#8221;"/>
+      <l:template name="sect3" text=" &#8220;%t&#8221;"/>
+      <l:template name="sect4" text=" &#8220;%t&#8221;"/>
+      <l:template name="sect5" text=" &#8220;%t&#8221;"/>
+      <l:template name="section" text=" &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text=" &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="Cavab:&#160;%n"/>
+      <l:template name="appendix" text="&#399;lav&#601;&#160;%n"/>
+      <l:template name="bridgehead" text="Qisim&#160;%n"/>
+      <l:template name="chapter" text="B&#246;l&#252;m&#160;%n"/>
+      <l:template name="equation" text="T&#601;nlik&#160;%n"/>
+      <l:template name="example" text="N&#252;mun&#601;&#160;%n"/>
+      <l:template name="figure" text="Fiqur&#160;%n"/>
+      <l:template name="part" text="Hiss&#601;&#160;%n"/>
+      <l:template name="procedure" text="&#220;sul&#160;%n"/>
+      <l:template name="productionset" text="Produksiya&#160;%n"/>
+      <l:template name="qandadiv" text="S v&#601; C&#160;%n"/>
+      <l:template name="qandaentry" text="Sual:&#160;%n"/>
+      <l:template name="question" text="Sual:&#160;%n"/>
+      <l:template name="sect1" text="Qisim&#160;%n"/>
+      <l:template name="sect2" text="Qisim&#160;%n"/>
+      <l:template name="sect3" text="Qisim&#160;%n"/>
+      <l:template name="sect4" text="Qisim&#160;%n"/>
+      <l:template name="sect5" text="Qisim&#160;%n"/>
+      <l:template name="section" text="Qisim&#160;%n"/>
+      <l:template name="table" text="C&#601;dv&#601;l&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#399;lav&#601;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Qisim&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="B&#246;l&#252;m&#160;%n, %t"/>
+      <l:template name="equation" text="T&#601;nlik&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="N&#252;mun&#601;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Fiqur&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Hiss&#601;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#220;sul&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Produksiya&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="S v&#601; C&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsection" text=" &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Qisim&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Qisim&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Qisim&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Qisim&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Qisim&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Qisim&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text=" &#8220;%t&#8221;"/>
+      <l:template name="table" text="C&#601;dv&#601;l&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" v&#601; "/>
+      <l:template name="seplast" text=", v&#601; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Bax %t"/>
+      <l:template name="seealso" text="El&#601;c&#601; D&#601; Bax %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="H&#601;d&#601;f Oxuyucu: "/>
+      <l:template name="MsgLevel" text="S&#601;viyy&#601;: "/>
+      <l:template name="MsgOrig" text="M&#601;nb&#601;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="Janvar"/>
+      <l:template name="February" text="Fevral"/>
+      <l:template name="March" text="Mart"/>
+      <l:template name="April" text="Aprel"/>
+      <l:template name="May" text="May"/>
+      <l:template name="June" text="&#304;yun"/>
+      <l:template name="July" text="&#304;yul"/>
+      <l:template name="August" text="Avqust"/>
+      <l:template name="September" text="Sentyabr"/>
+      <l:template name="October" text="Oktyabr"/>
+      <l:template name="November" text="Noyabr"/>
+      <l:template name="December" text="Dekabr"/>
+      <l:template name="Monday" text="Bazar Ert&#601;si"/>
+      <l:template name="Tuesday" text="&#199;&#601;r&#351;&#601;nb&#601; Ax&#351;am&#305; "/>
+      <l:template name="Wednesday" text="&#199;&#601;r&#351;&#601;nb&#601;"/>
+      <l:template name="Thursday" text="C&#252;m&#601; Ax&#351;am&#305;"/>
+      <l:template name="Friday" text="C&#252;m&#601;"/>
+      <l:template name="Saturday" text="&#350;&#601;nb&#601;"/>
+      <l:template name="Sunday" text="Bazar"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Yan"/>
+      <l:template name="Feb" text="Fev"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Apr"/>
+      <l:template name="May" text="May"/>
+      <l:template name="Jun" text="&#304;yn"/>
+      <l:template name="Jul" text="&#304;yl"/>
+      <l:template name="Aug" text="Avq"/>
+      <l:template name="Sep" text="Sen"/>
+      <l:template name="Oct" text="Okt"/>
+      <l:template name="Nov" text="Noy"/>
+      <l:template name="Dec" text="Dek"/>
+      <l:template name="Mon" text="Ber"/>
+      <l:template name="Tue" text="&#199;ax"/>
+      <l:template name="Wed" text="&#199;&#601;r"/>
+      <l:template name="Thu" text="Cax"/>
+      <l:template name="Fri" text="C&#252;m"/>
+      <l:template name="Sat" text="&#350;nb"/>
+      <l:template name="Sun" text="Baz"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x042c Azerbaijani"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">&#304;&#351;ar&#601;l&#601;r</l:l>
+      <l:l i="1">A</l:l>
+      <l:l i="1">a</l:l>
+      <l:l i="2">B</l:l>
+      <l:l i="2">b</l:l>
+      <l:l i="3">C</l:l>
+      <l:l i="3">c</l:l>
+      <l:l i="4">&#199;</l:l>
+      <l:l i="5">&#231;</l:l>
+      <l:l i="5">D</l:l>
+      <l:l i="5">d</l:l>
+      <l:l i="6">E</l:l>
+      <l:l i="6">e</l:l>
+      <l:l i="7">e</l:l>
+      <l:l i="7">e</l:l>
+      <l:l i="8">&#399;</l:l>
+      <l:l i="8">&#601;</l:l>
+      <l:l i="9">G</l:l>
+      <l:l i="9">g</l:l>
+      <l:l i="10">&#286;</l:l>
+      <l:l i="10">&#287;</l:l>
+      <l:l i="11">H</l:l>
+      <l:l i="11">h</l:l>
+      <l:l i="12">X</l:l>
+      <l:l i="12">x</l:l>
+      <l:l i="13">I</l:l>
+      <l:l i="13">&#305;</l:l>
+      <l:l i="14">&#304;</l:l>
+      <l:l i="14">i</l:l>
+      <l:l i="15">J</l:l>
+      <l:l i="15">j</l:l>
+      <l:l i="16">K</l:l>
+      <l:l i="16">k</l:l>
+      <l:l i="17">Q</l:l>
+      <l:l i="17">q</l:l>
+      <l:l i="18">L</l:l>
+      <l:l i="18">l</l:l>
+      <l:l i="19">M</l:l>
+      <l:l i="19">m</l:l>
+      <l:l i="20">N</l:l>
+      <l:l i="20">n</l:l>
+      <l:l i="21">O</l:l>
+      <l:l i="21">o</l:l>
+      <l:l i="22">&#214;</l:l>
+      <l:l i="22">&#246;</l:l>
+      <l:l i="23">P</l:l>
+      <l:l i="23">p</l:l>
+      <l:l i="24">R</l:l>
+      <l:l i="24">r</l:l>
+      <l:l i="25">S</l:l>
+      <l:l i="25">s</l:l>
+      <l:l i="26">&#350;</l:l>
+      <l:l i="26">&#351;</l:l>
+      <l:l i="27">T</l:l>
+      <l:l i="27">t</l:l>
+      <l:l i="28">U</l:l>
+      <l:l i="28">u</l:l>
+      <l:l i="29">&#220;</l:l>
+      <l:l i="29">&#252;</l:l>
+      <l:l i="30">V</l:l>
+      <l:l i="30">v</l:l>
+      <l:l i="31">Y</l:l>
+      <l:l i="31">y</l:l>
+      <l:l i="32">Z</l:l>
+      <l:l i="32">z</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/bg.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/bg.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/bg.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,697 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="bg" english-language-name="Bulgarian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/bg.xml -->
+<!-- * -->
+<!-- * E-mail the edited bg.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#1040;&#1085;&#1086;&#1090;&#1072;&#1094;&#1080;&#1103;"/>
+   <l:gentext key="abstract" text="&#1040;&#1085;&#1086;&#1090;&#1072;&#1094;&#1080;&#1103;"/>
+   <l:gentext key="Answer" text="&#1054;"/>
+   <l:gentext key="answer" text="&#1054;"/>
+   <l:gentext key="Appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="Article" text="&#1057;&#1090;&#1072;&#1090;&#1080;&#1103;"/>
+   <l:gentext key="article" text="&#1057;&#1090;&#1072;&#1090;&#1080;&#1103;"/>
+   <l:gentext key="Author" text="&#1040;&#1074;&#1090;&#1086;&#1088;"/>
+   <l:gentext key="Bibliography" text="&#1051;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="bibliography" text="&#1051;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="Book" text="&#1050;&#1085;&#1080;&#1075;&#1072;"/>
+   <l:gentext key="book" text="&#1050;&#1085;&#1080;&#1075;&#1072;"/>
+   <l:gentext key="CAUTION" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="Caution" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="caution" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="Chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;"/>
+   <l:gentext key="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;"/>
+   <l:gentext key="Colophon" text="&#1041;&#1080;&#1073;&#1083;&#1080;&#1086;&#1075;&#1088;&#1072;&#1092;&#1089;&#1082;&#1086; &#1082;&#1072;&#1088;&#1077;"/>
+   <l:gentext key="colophon" text="&#1041;&#1080;&#1073;&#1083;&#1080;&#1086;&#1075;&#1088;&#1072;&#1092;&#1089;&#1082;&#1086; &#1082;&#1072;&#1088;&#1077;"/>
+   <l:gentext key="Copyright" text="&#1040;&#1074;&#1090;&#1086;&#1088;&#1089;&#1082;&#1080; &#1087;&#1088;&#1072;&#1074;&#1072;"/>
+   <l:gentext key="copyright" text="&#1040;&#1074;&#1090;&#1086;&#1088;&#1089;&#1082;&#1080; &#1087;&#1088;&#1072;&#1074;&#1072;"/>
+   <l:gentext key="Dedication" text="&#1055;&#1086;&#1089;&#1074;&#1077;&#1097;&#1077;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="dedication" text="&#1055;&#1086;&#1089;&#1074;&#1077;&#1097;&#1077;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="Edition" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="edition" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="Editor" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1090;&#1086;&#1088;"/>
+   <l:gentext key="Equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;"/>
+   <l:gentext key="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;"/>
+   <l:gentext key="Example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;"/>
+   <l:gentext key="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;"/>
+   <l:gentext key="Figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="Glossary" text="&#1058;&#1077;&#1088;&#1084;&#1080;&#1085;&#1086;&#1083;&#1086;&#1075;&#1080;&#1095;&#1077;&#1085; &#1088;&#1077;&#1095;&#1085;&#1080;&#1082;"/>
+   <l:gentext key="glossary" text="&#1058;&#1077;&#1088;&#1084;&#1080;&#1085;&#1086;&#1083;&#1086;&#1075;&#1080;&#1095;&#1077;&#1085; &#1088;&#1077;&#1095;&#1085;&#1080;&#1082;"/>
+   <l:gentext key="GlossSee" text="&#1074;&#1078;."/>
+   <l:gentext key="glosssee" text="&#1074;&#1078;."/>
+   <l:gentext key="GlossSeeAlso" text="&#1074;&#1078;."/>
+   <l:gentext key="glossseealso" text="&#1074;&#1078;."/>
+   <l:gentext key="IMPORTANT" text="&#1042;&#1072;&#1078;&#1085;&#1086;"/>
+   <l:gentext key="important" text="&#1042;&#1072;&#1078;&#1085;&#1086;"/>
+   <l:gentext key="Important" text="&#1042;&#1072;&#1078;&#1085;&#1086;"/>
+   <l:gentext key="Index" text="&#1040;&#1079;&#1073;&#1091;&#1095;&#1077;&#1085; &#1091;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;"/>
+   <l:gentext key="index" text="&#1040;&#1079;&#1073;&#1091;&#1095;&#1077;&#1085; &#1091;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#1040;&#1074;&#1090;&#1086;&#1088;&#1089;&#1082;&#1080; &#1087;&#1088;&#1072;&#1074;&#1072;"/>
+   <l:gentext key="legalnotice" text="&#1040;&#1074;&#1090;&#1086;&#1088;&#1089;&#1082;&#1080; &#1087;&#1088;&#1072;&#1074;&#1072;"/>
+   <l:gentext key="MsgAud" text="&#1053;&#1072;&#1089;&#1086;&#1095;&#1077;&#1085;&#1086;&#1089;&#1090;"/>
+   <l:gentext key="msgaud" text="&#1053;&#1072;&#1089;&#1086;&#1095;&#1077;&#1085;&#1086;&#1089;&#1090;"/>
+   <l:gentext key="MsgLevel" text="&#1053;&#1080;&#1074;&#1086;"/>
+   <l:gentext key="msglevel" text="&#1053;&#1080;&#1074;&#1086;"/>
+   <l:gentext key="MsgOrig" text="&#1048;&#1079;&#1090;&#1086;&#1095;&#1085;&#1080;&#1082;"/>
+   <l:gentext key="msgorig" text="&#1048;&#1079;&#1090;&#1086;&#1095;&#1085;&#1080;&#1082;"/>
+   <l:gentext key="NOTE" text="&#1047;&#1072;&#1073;&#1077;&#1083;&#1077;&#1078;&#1082;&#1072;"/>
+   <l:gentext key="Note" text="&#1047;&#1072;&#1073;&#1077;&#1083;&#1077;&#1078;&#1082;&#1072;"/>
+   <l:gentext key="note" text="&#1047;&#1072;&#1073;&#1077;&#1083;&#1077;&#1078;&#1082;&#1072;"/>
+   <l:gentext key="Part" text="&#1063;&#1072;&#1089;&#1090;"/>
+   <l:gentext key="part" text="&#1063;&#1072;&#1089;&#1090;"/>
+   <l:gentext key="Preface" text="&#1055;&#1088;&#1077;&#1076;&#1075;&#1086;&#1074;&#1086;&#1088;"/>
+   <l:gentext key="preface" text="&#1055;&#1088;&#1077;&#1076;&#1075;&#1086;&#1074;&#1086;&#1088;"/>
+   <l:gentext key="Procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="ProductionSet" text="&#1052;&#1085;&#1086;&#1078;&#1077;&#1089;&#1090;&#1074;&#1086; &#1086;&#1090; &#1076;&#1077;&#1082;&#1072;&#1088;&#1090;&#1086;&#1074;&#1080; &#1087;&#1088;&#1086;&#1080;&#1079;&#1074;&#1077;&#1076;&#1077;&#1085;&#1080;&#1103; &#1087;&#1086; &#1041;&#1072;&#1082;&#1093;&#1091;&#1089;-&#1053;&#1072;&#1091;&#1088;"/>
+   <l:gentext key="PubDate" text="&#1044;&#1072;&#1090;&#1072; &#1085;&#1072; &#1080;&#1079;&#1076;&#1072;&#1074;&#1072;&#1085;&#1077;"/>
+   <l:gentext key="pubdate" text="&#1044;&#1072;&#1090;&#1072; &#1085;&#1072; &#1080;&#1079;&#1076;&#1072;&#1074;&#1072;&#1085;&#1077;"/>
+   <l:gentext key="Published" text="&#1048;&#1079;&#1076;&#1072;&#1076;&#1077;&#1085;"/>
+   <l:gentext key="published" text="&#1048;&#1079;&#1076;&#1072;&#1076;&#1077;&#1085;"/>
+   <l:gentext key="Publisher" text="&#1048;&#1079;&#1076;&#1072;&#1090;&#1077;&#1083;"/>
+   <l:gentext key="Qandadiv" text="&#1042;&#1098;&#1087;&#1088;&#1086;&#1089;&#1080; &#1080; &#1086;&#1090;&#1075;&#1086;&#1074;&#1086;&#1088;&#1080;"/>
+   <l:gentext key="qandadiv" text="&#1042;&#1098;&#1087;&#1088;&#1086;&#1089;&#1080; &#1080; &#1086;&#1090;&#1075;&#1086;&#1074;&#1086;&#1088;&#1080;"/>
+   <l:gentext key="QandASet" text="&#1063;&#1077;&#1089;&#1090;&#1086; &#1079;&#1072;&#1076;&#1072;&#1074;&#1072;&#1085;&#1080; &#1074;&#1098;&#1087;&#1088;&#1086;&#1089;&#1080;"/>
+   <l:gentext key="Question" text="&#1042;"/>
+   <l:gentext key="question" text="&#1042;"/>
+   <l:gentext key="RefEntry" text="&#1074;&#1078;."/>
+   <l:gentext key="refentry" text="&#1074;&#1078;."/>
+   <l:gentext key="Reference" text="&#1057;&#1087;&#1088;&#1072;&#1074;&#1086;&#1095;&#1085;&#1080;&#1082;"/>
+   <l:gentext key="reference" text="&#1057;&#1087;&#1088;&#1072;&#1074;&#1086;&#1095;&#1085;&#1080;&#1082;"/>
+   <l:gentext key="References" text="&#1055;&#1088;&#1077;&#1087;&#1088;&#1072;&#1090;&#1082;&#1080;"/>
+   <l:gentext key="RefName" text="&#1053;&#1072;&#1079;&#1074;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="refname" text="&#1053;&#1072;&#1079;&#1074;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="RefSection" text="&#1074;&#1078;."/>
+   <l:gentext key="refsection" text="&#1074;&#1078;."/>
+   <l:gentext key="RefSynopsisDiv" text="&#1057;&#1080;&#1085;&#1090;&#1072;&#1082;&#1089;&#1080;&#1089;"/>
+   <l:gentext key="refsynopsisdiv" text="&#1057;&#1080;&#1085;&#1090;&#1072;&#1082;&#1089;&#1080;&#1089;"/>
+   <l:gentext key="RevHistory" text="&#1055;&#1088;&#1086;&#1084;&#1077;&#1085;&#1080;"/>
+   <l:gentext key="revhistory" text="&#1055;&#1088;&#1086;&#1084;&#1077;&#1085;&#1080;"/>
+   <l:gentext key="revision" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="Revision" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="sect1" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="sect2" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="sect3" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="sect4" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="sect5" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="Section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="see" text="&#1074;&#1078;."/>
+   <l:gentext key="See" text="&#1074;&#1078;."/>
+   <l:gentext key="seealso" text="&#1074;&#1078;."/>
+   <l:gentext key="Seealso" text="&#1074;&#1078;."/>
+   <l:gentext key="SeeAlso" text="&#1074;&#1078;."/>
+   <l:gentext key="set" text="&#1059;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;"/>
+   <l:gentext key="Set" text="&#1059;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;"/>
+   <l:gentext key="setindex" text="&#1059;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;"/>
+   <l:gentext key="SetIndex" text="&#1059;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;"/>
+   <l:gentext key="Sidebar" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#1080;&#1090;&#1077;&#1083;"/>
+   <l:gentext key="sidebar" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#1080;&#1090;&#1077;&#1083;"/>
+   <l:gentext key="step" text="&#1057;&#1090;&#1098;&#1087;&#1082;&#1072;"/>
+   <l:gentext key="Step" text="&#1057;&#1090;&#1098;&#1087;&#1082;&#1072;"/>
+   <l:gentext key="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;"/>
+   <l:gentext key="Table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;"/>
+   <l:gentext key="task" text="&#1047;&#1072;&#1076;&#1072;&#1095;&#1072;"/>
+   <l:gentext key="Task" text="&#1047;&#1072;&#1076;&#1072;&#1095;&#1072;"/>
+   <l:gentext key="tip" text="&#1055;&#1086;&#1076;&#1089;&#1082;&#1072;&#1079;&#1082;&#1072;"/>
+   <l:gentext key="TIP" text="&#1055;&#1086;&#1076;&#1089;&#1082;&#1072;&#1079;&#1082;&#1072;"/>
+   <l:gentext key="Tip" text="&#1055;&#1086;&#1076;&#1089;&#1082;&#1072;&#1079;&#1082;&#1072;"/>
+   <l:gentext key="Warning" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="warning" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="WARNING" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="and" text="&#1080;"/>
+   <l:gentext key="by" text="&#1086;&#1090;"/>
+   <l:gentext key="Edited" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1090;&#1080;&#1088;&#1072;&#1085;&#1086; &#1086;&#1090;"/>
+   <l:gentext key="edited" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1090;&#1080;&#1088;&#1072;&#1085;&#1086; &#1086;&#1090;"/>
+   <l:gentext key="Editedby" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1090;&#1080;&#1088;&#1072;&#1085;&#1086; &#1086;&#1090;"/>
+   <l:gentext key="editedby" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1090;&#1080;&#1088;&#1072;&#1085;&#1086; &#1086;&#1090;"/>
+   <l:gentext key="in" text="&#1074;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#1083;&#1080;&#1087;&#1089;&#1074;&#1072;&#1097; &#1077;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;"/>
+   <l:gentext key="notes" text="&#1047;&#1072;&#1073;&#1077;&#1083;&#1077;&#1078;&#1082;&#1080;"/>
+   <l:gentext key="Notes" text="&#1047;&#1072;&#1073;&#1077;&#1083;&#1077;&#1078;&#1082;&#1080;"/>
+   <l:gentext key="Pgs" text="&#1089;&#1090;&#1088;."/>
+   <l:gentext key="pgs" text="&#1089;&#1090;&#1088;."/>
+   <l:gentext key="Revisedby" text="&#1055;&#1088;&#1077;&#1088;&#1072;&#1073;&#1086;&#1090;&#1077;&#1085;&#1086; &#1086;&#1090;"/>
+   <l:gentext key="revisedby" text="&#1055;&#1088;&#1077;&#1088;&#1072;&#1073;&#1086;&#1090;&#1077;&#1085;&#1086; &#1086;&#1090;"/>
+   <l:gentext key="TableNotes" text="&#1047;&#1072;&#1073;&#1077;&#1083;&#1077;&#1078;&#1082;&#1080;"/>
+   <l:gentext key="tablenotes" text="&#1047;&#1072;&#1073;&#1077;&#1083;&#1077;&#1078;&#1082;&#1080;"/>
+   <l:gentext key="TableofContents" text="&#1057;&#1098;&#1076;&#1098;&#1088;&#1078;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="tableofcontents" text="&#1057;&#1098;&#1076;&#1098;&#1088;&#1078;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="unexpectedelementname" text="&#1085;&#1077;&#1086;&#1095;&#1072;&#1082;&#1074;&#1072;&#1085; &#1077;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;"/>
+   <l:gentext key="unsupported" text="&#1085;&#1077;&#1087;&#1086;&#1076;&#1076;&#1098;&#1088;&#1078;&#1072;&#1085; &#1077;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;"/>
+   <l:gentext key="xrefto" text="&#1074;&#1078;."/>
+   <l:gentext key="Authors" text="&#1040;&#1074;&#1090;&#1086;&#1088;&#1080;"/>
+   <l:gentext key="copyeditor" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1090;&#1086;&#1088;"/>
+   <l:gentext key="graphicdesigner" text="&#1040;&#1074;&#1090;&#1086;&#1088; &#1085;&#1072; &#1075;&#1088;&#1072;&#1092;&#1080;&#1095;&#1085;&#1086;&#1090;&#1086; &#1086;&#1092;&#1086;&#1088;&#1084;&#1083;&#1077;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="productioneditor" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1090;&#1086;&#1088; &#1085;&#1072; &#1080;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077;&#1090;&#1086;"/>
+   <l:gentext key="technicaleditor" text="&#1058;&#1077;&#1093;&#1085;&#1080;&#1095;&#1077;&#1089;&#1082;&#1080; &#1088;&#1077;&#1076;&#1072;&#1082;&#1090;&#1086;&#1088;"/>
+   <l:gentext key="translator" text="&#1055;&#1088;&#1077;&#1074;&#1086;&#1076;&#1072;&#1095;"/>
+   <l:gentext key="listofequations" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1092;&#1086;&#1088;&#1084;&#1091;&#1083;&#1080;&#1090;&#1077;"/>
+   <l:gentext key="ListofEquations" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1092;&#1086;&#1088;&#1084;&#1091;&#1083;&#1080;&#1090;&#1077;"/>
+   <l:gentext key="ListofExamples" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1080;&#1090;&#1077;"/>
+   <l:gentext key="listofexamples" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1080;&#1090;&#1077;"/>
+   <l:gentext key="ListofFigures" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1092;&#1080;&#1075;&#1091;&#1088;&#1080;&#1090;&#1077;"/>
+   <l:gentext key="listoffigures" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1092;&#1080;&#1075;&#1091;&#1088;&#1080;&#1090;&#1077;"/>
+   <l:gentext key="ListofProcedures" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1087;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1080;&#1090;&#1077;"/>
+   <l:gentext key="listofprocedures" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1087;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1080;&#1090;&#1077;"/>
+   <l:gentext key="listoftables" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1090;&#1072;&#1073;&#1083;&#1080;&#1094;&#1080;&#1090;&#1077;"/>
+   <l:gentext key="ListofTables" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1085;&#1072; &#1090;&#1072;&#1073;&#1083;&#1080;&#1094;&#1080;&#1090;&#1077;"/>
+   <l:gentext key="ListofUnknown" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1089; &#1076;&#1088;&#1091;&#1075;&#1080; &#1085;&#1077;&#1097;&#1072;"/>
+   <l:gentext key="listofunknown" text="&#1057;&#1087;&#1080;&#1089;&#1098;&#1082; &#1089; &#1076;&#1088;&#1091;&#1075;&#1080; &#1085;&#1077;&#1097;&#1072;"/>
+   <l:gentext key="nav-home" text="&#1053;&#1072;&#1095;&#1072;&#1083;&#1086;"/>
+   <l:gentext key="nav-next" text="&#1053;&#1072;&#1087;&#1088;&#1077;&#1076;"/>
+   <l:gentext key="nav-next-sibling" text="&#1055;&#1088;&#1077;&#1089;&#1082;&#1072;&#1095;&#1072;&#1085;&#1077; &#1085;&#1072;&#1087;&#1088;&#1077;&#1076;"/>
+   <l:gentext key="nav-prev" text="&#1053;&#1072;&#1079;&#1072;&#1076;"/>
+   <l:gentext key="nav-prev-sibling" text="&#1055;&#1088;&#1077;&#1089;&#1082;&#1072;&#1095;&#1072;&#1085;&#1077; &#1085;&#1072;&#1079;&#1072;&#1076;"/>
+   <l:gentext key="nav-up" text="&#1053;&#1080;&#1074;&#1086; &#1085;&#1072;&#1075;&#1086;&#1088;&#1077;"/>
+   <l:gentext key="nav-toc" text="&#1057;&#1098;&#1076;&#1098;&#1088;&#1078;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="Draft" text="&#1063;&#1077;&#1088;&#1085;&#1086;&#1074;&#1072;"/>
+   <l:gentext key="above" text="&#1087;&#1086;-&#1075;&#1086;&#1088;&#1077;"/>
+   <l:gentext key="below" text="&#1087;&#1086;-&#1076;&#1086;&#1083;&#1091;"/>
+   <l:gentext key="sectioncalled" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077;"/>
+   <l:gentext key="index symbols" text="&#1089;&#1080;&#1084;&#1074;&#1086;&#1083;&#1080;"/>
+   <l:gentext key="lowercase.alpha" text="&#1072;&#1073;&#1074;&#1075;&#1076;&#1077;&#1078;&#1079;&#1080;&#1081;&#1082;&#1083;&#1084;&#1085;&#1086;&#1087;&#1088;&#1089;&#1090;&#1091;&#1092;&#1093;&#1094;&#1095;&#1096;&#1097;&#1098;&#1099;&#1100;&#1101;&#1102;&#1103;"/>
+   <l:gentext key="uppercase.alpha" text="&#1040;&#1041;&#1042;&#1043;&#1044;&#1045;&#1046;&#1047;&#1048;&#1049;&#1050;&#1051;&#1052;&#1053;&#1054;&#1055;&#1056;&#1057;&#1058;&#1059;&#1060;&#1061;&#1062;&#1063;&#1064;&#1065;&#1066;&#1067;&#1068;&#1069;&#1070;&#1071;"/>
+   <l:dingbat key="startquote" text="&#8222;"/>
+   <l:dingbat key="endquote" text="&#8220;"/>
+   <l:dingbat key="nestedstartquote" text="&#8222;"/>
+   <l:dingbat key="nestedendquote" text="&#8220;"/>
+   <l:dingbat key="singlestartquote" text="&#171;"/>
+   <l:dingbat key="singleendquote" text="&#187;"/>
+   <l:dingbat key="bullet" text="&#8212;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n.&#160;%t"/>
+      <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#1052;&#1085;&#1086;&#1078;&#1077;&#1089;&#1090;&#1074;&#1086; &#1086;&#1090; &#1076;&#1077;&#1082;&#1072;&#1088;&#1090;&#1086;&#1074;&#1080; &#1087;&#1088;&#1086;&#1080;&#1079;&#1074;&#1077;&#1076;&#1077;&#1085;&#1080;&#1103; &#1087;&#1086; &#1041;&#1072;&#1082;&#1093;&#1091;&#1089;-&#1053;&#1072;&#1091;&#1088;&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t"/>
+      <l:template name="taskprerequisites" text="%t"/>
+      <l:template name="taskrelated" text="%t"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;&#160;%n.&#160;%t"/>
+      <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#1054;.&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#1042;.&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#1042;.&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o"/>
+      <l:template name="olink.page.citation" text=" (page %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)"/>
+      <l:template name="docname" text=" in %o"/>
+      <l:template name="docnamelong" text=" in the document titled %o"/>
+      <l:template name="pageabbrev" text="(p. %p)"/>
+      <l:template name="Page" text="Page %p"/>
+      <l:template name="bridgehead" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="refsection" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="refsect1" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="refsect2" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="refsect3" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="sect1" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="sect2" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="sect3" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="sect4" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="sect5" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="section" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="simplesect" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#1054;.&#160;%n"/>
+      <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;&#160;%n"/>
+      <l:template name="bridgehead" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;&#160;%n"/>
+      <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n"/>
+      <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n"/>
+      <l:template name="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;&#160;%n"/>
+      <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#160;%n"/>
+      <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n"/>
+      <l:template name="productionset" text="&#1052;&#1085;&#1086;&#1078;&#1077;&#1089;&#1090;&#1074;&#1086; &#1086;&#1090; &#1076;&#1077;&#1082;&#1072;&#1088;&#1090;&#1086;&#1074;&#1080; &#1087;&#1088;&#1086;&#1080;&#1079;&#1074;&#1077;&#1076;&#1077;&#1085;&#1080;&#1103; &#1087;&#1086; &#1041;&#1072;&#1082;&#1093;&#1091;&#1089;-&#1053;&#1072;&#1091;&#1088;&#160;%n"/>
+      <l:template name="qandadiv" text="&#1042;&#1098;&#1087;&#1088;&#1086;&#1089;&#1080; &#1080; &#1086;&#1090;&#1075;&#1086;&#1074;&#1086;&#1088;&#1080;&#160;%n"/>
+      <l:template name="qandaentry" text="&#1042;.&#160;%n"/>
+      <l:template name="question" text="&#1042;.&#160;%n"/>
+      <l:template name="sect1" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="sect2" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="sect3" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="sect4" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="sect5" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;&#160;%n, %t"/>
+      <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="productionset" text="&#1052;&#1085;&#1086;&#1078;&#1077;&#1089;&#1090;&#1074;&#1086; &#1086;&#1090; &#1076;&#1077;&#1082;&#1072;&#1088;&#1090;&#1086;&#1074;&#1080; &#1087;&#1088;&#1086;&#1080;&#1079;&#1074;&#1077;&#1076;&#1077;&#1085;&#1080;&#1103; &#1087;&#1086; &#1041;&#1072;&#1082;&#1093;&#1091;&#1089;-&#1053;&#1072;&#1091;&#1088;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="qandadiv" text="&#1042;&#1098;&#1087;&#1088;&#1086;&#1089;&#1080; &#1080; &#1086;&#1090;&#1075;&#1086;&#1074;&#1086;&#1088;&#1080;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="refsect1" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="refsect2" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="refsect3" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="refsection" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="sect1" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect2" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect3" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect4" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect5" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="simplesect" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;&#1098;&#1090; &#1089;&#1098;&#1089; &#1079;&#1072;&#1075;&#1083;&#1072;&#1074;&#1080;&#1077; &#8222;%t&#8220;"/>
+      <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;&#160;%n, &#8222;%t&#8220;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#1080; "/>
+      <l:template name="seplast" text=" &#1080; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#1074;&#1078;. %t"/>
+      <l:template name="seealso" text="&#1074;&#1078;. %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#1053;&#1072;&#1089;&#1086;&#1095;&#1077;&#1085;&#1086;&#1089;&#1090;: "/>
+      <l:template name="MsgLevel" text="&#1053;&#1080;&#1074;&#1086;: "/>
+      <l:template name="MsgOrig" text="&#1048;&#1079;&#1090;&#1086;&#1095;&#1085;&#1080;&#1082;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d.m.Y&#160;&#1075;."/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="&#1103;&#1085;&#1091;&#1072;&#1088;&#1080;"/>
+      <l:template name="February" text="&#1092;&#1077;&#1074;&#1088;&#1091;&#1072;&#1088;&#1080;"/>
+      <l:template name="March" text="&#1084;&#1072;&#1088;&#1090;"/>
+      <l:template name="April" text="&#1072;&#1087;&#1088;&#1080;&#1083;"/>
+      <l:template name="May" text="&#1084;&#1072;&#1081;"/>
+      <l:template name="June" text="&#1102;&#1085;&#1080;"/>
+      <l:template name="July" text="&#1102;&#1083;&#1080;"/>
+      <l:template name="August" text="&#1072;&#1074;&#1075;&#1091;&#1089;&#1090;"/>
+      <l:template name="September" text="&#1089;&#1077;&#1087;&#1090;&#1077;&#1084;&#1074;&#1088;&#1080;"/>
+      <l:template name="October" text="&#1086;&#1082;&#1090;&#1086;&#1084;&#1074;&#1088;&#1080;"/>
+      <l:template name="November" text="&#1085;&#1086;&#1077;&#1084;&#1074;&#1088;&#1080;"/>
+      <l:template name="December" text="&#1076;&#1077;&#1082;&#1077;&#1084;&#1074;&#1088;&#1080;"/>
+      <l:template name="Monday" text="&#1087;&#1086;&#1085;&#1077;&#1076;&#1077;&#1083;&#1085;&#1080;&#1082;"/>
+      <l:template name="Tuesday" text="&#1074;&#1090;&#1086;&#1088;&#1085;&#1080;&#1082;"/>
+      <l:template name="Wednesday" text="&#1089;&#1088;&#1103;&#1076;&#1072;"/>
+      <l:template name="Thursday" text="&#1095;&#1077;&#1090;&#1074;&#1098;&#1088;&#1090;&#1098;&#1082;"/>
+      <l:template name="Friday" text="&#1087;&#1077;&#1090;&#1098;&#1082;"/>
+      <l:template name="Saturday" text="&#1089;&#1098;&#1073;&#1086;&#1090;&#1072;"/>
+      <l:template name="Sunday" text="&#1085;&#1077;&#1076;&#1077;&#1083;&#1103;"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="&#1103;&#1085;."/>
+      <l:template name="Feb" text="&#1092;&#1077;&#1074;."/>
+      <l:template name="Mar" text="&#1084;&#1072;&#1088;&#1090;"/>
+      <l:template name="Apr" text="&#1072;&#1087;&#1088;."/>
+      <l:template name="May" text="&#1084;&#1072;&#1081;"/>
+      <l:template name="Jun" text="&#1102;&#1085;&#1080;"/>
+      <l:template name="Jul" text="&#1102;&#1083;&#1080;"/>
+      <l:template name="Aug" text="&#1072;&#1074;&#1075;."/>
+      <l:template name="Sep" text="&#1089;&#1077;&#1087;."/>
+      <l:template name="Oct" text="&#1086;&#1082;&#1090;."/>
+      <l:template name="Nov" text="&#1085;&#1086;&#1077;&#1084;."/>
+      <l:template name="Dec" text="&#1076;&#1077;&#1082;."/>
+      <l:template name="Mon" text="&#1087;&#1086;&#1085;."/>
+      <l:template name="Tue" text="&#1074;&#1090;."/>
+      <l:template name="Wed" text="&#1089;&#1088;."/>
+      <l:template name="Thu" text="&#1095;&#1077;&#1090;."/>
+      <l:template name="Fri" text="&#1087;&#1077;&#1090;."/>
+      <l:template name="Sat" text="&#1089;&#1098;&#1073;."/>
+      <l:template name="Sun" text="&#1085;&#1077;&#1076;."/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0402 Bulgarian"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", "/>
+      <l:template name="number-separator" text=", "/>
+      <l:template name="range-separator" text="&#8212;"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">&#1062;&#1080;&#1092;&#1088;&#1080; &#1080; &#1079;&#1085;&#1072;&#1094;&#1080;</l:l>
+      <l:l i="10">&#1040;</l:l>
+      <l:l i="10">&#1072;</l:l>
+      <l:l i="20">&#1041;</l:l>
+      <l:l i="20">&#1073;</l:l>
+      <l:l i="30">&#1042;</l:l>
+      <l:l i="30">&#1074;</l:l>
+      <l:l i="40">&#1043;</l:l>
+      <l:l i="40">&#1075;</l:l>
+      <l:l i="50">&#1044;</l:l>
+      <l:l i="50">&#1076;</l:l>
+      <l:l i="60">&#1045;</l:l>
+      <l:l i="60">&#1077;</l:l>
+      <l:l i="70">&#1046;</l:l>
+      <l:l i="70">&#1078;</l:l>
+      <l:l i="80">&#1047;</l:l>
+      <l:l i="80">&#1079;</l:l>
+      <l:l i="90">&#1048;</l:l>
+      <l:l i="90">&#1080;</l:l>
+      <l:l i="100">&#1049;</l:l>
+      <l:l i="100">&#1081;</l:l>
+      <l:l i="110">&#1050;</l:l>
+      <l:l i="110">&#1082;</l:l>
+      <l:l i="120">&#1051;</l:l>
+      <l:l i="120">&#1083;</l:l>
+      <l:l i="130">&#1052;</l:l>
+      <l:l i="130">&#1084;</l:l>
+      <l:l i="140">&#1053;</l:l>
+      <l:l i="140">&#1085;</l:l>
+      <l:l i="150">&#1054;</l:l>
+      <l:l i="150">&#1086;</l:l>
+      <l:l i="160">&#1055;</l:l>
+      <l:l i="160">&#1087;</l:l>
+      <l:l i="170">&#1056;</l:l>
+      <l:l i="170">&#1088;</l:l>
+      <l:l i="180">&#1057;</l:l>
+      <l:l i="180">&#1089;</l:l>
+      <l:l i="190">&#1058;</l:l>
+      <l:l i="190">&#1090;</l:l>
+      <l:l i="200">&#1059;</l:l>
+      <l:l i="200">&#1091;</l:l>
+      <l:l i="210">&#1060;</l:l>
+      <l:l i="210">&#1092;</l:l>
+      <l:l i="220">&#1061;</l:l>
+      <l:l i="220">&#1093;</l:l>
+      <l:l i="230">&#1062;</l:l>
+      <l:l i="230">&#1094;</l:l>
+      <l:l i="240">&#1063;</l:l>
+      <l:l i="240">&#1095;</l:l>
+      <l:l i="250">&#1064;</l:l>
+      <l:l i="250">&#1096;</l:l>
+      <l:l i="260">&#1065;</l:l>
+      <l:l i="260">&#1097;</l:l>
+      <l:l i="270">&#1066;</l:l>
+      <l:l i="270">&#1098;</l:l>
+      <l:l i="280">&#1068;</l:l>
+      <l:l i="280">&#1100;</l:l>
+      <l:l i="290">&#1070;</l:l>
+      <l:l i="290">&#1102;</l:l>
+      <l:l i="300">&#1071;</l:l>
+      <l:l i="300">&#1103;</l:l>
+      <l:l i="310">&#1069;</l:l>
+      <l:l i="310">&#1101;</l:l>
+      <l:l i="320">&#1067;</l:l>
+      <l:l i="320">&#1099;</l:l>
+      <l:l i="410">A</l:l>
+      <l:l i="410">a</l:l>
+      <l:l i="420">B</l:l>
+      <l:l i="420">b</l:l>
+      <l:l i="430">C</l:l>
+      <l:l i="430">c</l:l>
+      <l:l i="440">D</l:l>
+      <l:l i="440">d</l:l>
+      <l:l i="450">E</l:l>
+      <l:l i="450">e</l:l>
+      <l:l i="460">F</l:l>
+      <l:l i="460">f</l:l>
+      <l:l i="470">G</l:l>
+      <l:l i="470">g</l:l>
+      <l:l i="480">H</l:l>
+      <l:l i="480">h</l:l>
+      <l:l i="490">I</l:l>
+      <l:l i="490">i</l:l>
+      <l:l i="500">J</l:l>
+      <l:l i="500">j</l:l>
+      <l:l i="510">K</l:l>
+      <l:l i="510">k</l:l>
+      <l:l i="520">L</l:l>
+      <l:l i="520">l</l:l>
+      <l:l i="530">M</l:l>
+      <l:l i="530">m</l:l>
+      <l:l i="540">N</l:l>
+      <l:l i="540">n</l:l>
+      <l:l i="550">O</l:l>
+      <l:l i="550">o</l:l>
+      <l:l i="560">P</l:l>
+      <l:l i="560">p</l:l>
+      <l:l i="570">Q</l:l>
+      <l:l i="570">q</l:l>
+      <l:l i="580">R</l:l>
+      <l:l i="580">r</l:l>
+      <l:l i="590">S</l:l>
+      <l:l i="590">s</l:l>
+      <l:l i="600">T</l:l>
+      <l:l i="600">t</l:l>
+      <l:l i="610">U</l:l>
+      <l:l i="610">u</l:l>
+      <l:l i="620">V</l:l>
+      <l:l i="620">v</l:l>
+      <l:l i="630">W</l:l>
+      <l:l i="630">w</l:l>
+      <l:l i="640">X</l:l>
+      <l:l i="640">x</l:l>
+      <l:l i="650">Y</l:l>
+      <l:l i="650">y</l:l>
+      <l:l i="660">Z</l:l>
+      <l:l i="660">z</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/bn.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/bn.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/bn.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="bn" english-language-name="Bangla">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/bn.xml -->
+<!-- * -->
+<!-- * E-mail the edited bn.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#2488;&#2494;&#2480;&#2488;&#2434;&#2453;&#2509;&#2487;&#2503;&#2474;"/>
+   <l:gentext key="abstract" text="&#2488;&#2494;&#2480;&#2488;&#2434;&#2453;&#2509;&#2487;&#2503;&#2474;"/>
+   <l:gentext key="Answer" text="&#2441;&#2468;&#2509;&#2468;&#2480;:"/>
+   <l:gentext key="answer" text="&#2441;&#2468;&#2509;&#2468;&#2480;:"/>
+   <l:gentext key="Appendix" text="&#2474;&#2480;&#2495;&#2486;&#2495;&#2487;&#2509;&#2463;"/>
+   <l:gentext key="appendix" text="&#2474;&#2480;&#2495;&#2486;&#2495;&#2487;&#2509;&#2463;"/>
+   <l:gentext key="Article" text="&#2474;&#2509;&#2480;&#2476;&#2472;&#2509;&#2471;"/>
+   <l:gentext key="article" text="&#2474;&#2509;&#2480;&#2476;&#2472;&#2509;&#2471;"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="&#2455;&#2509;&#2480;&#2472;&#2509;&#2469; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="bibliography" text="&#2455;&#2509;&#2480;&#2472;&#2509;&#2469; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="Book" text="&#2476;&#2439;"/>
+   <l:gentext key="book" text="&#2476;&#2439;"/>
+   <l:gentext key="CAUTION" text="&#2488;&#2468;&#2480;&#2509;&#2453;&#2468;&#2494;"/>
+   <l:gentext key="Caution" text="&#2488;&#2468;&#2480;&#2509;&#2453;&#2468;&#2494;"/>
+   <l:gentext key="caution" text="&#2488;&#2468;&#2480;&#2509;&#2453;&#2468;&#2494;"/>
+   <l:gentext key="Chapter" text="&#2437;&#2471;&#2509;&#2479;&#2494;&#2527;"/>
+   <l:gentext key="chapter" text="&#2437;&#2471;&#2509;&#2479;&#2494;&#2527;"/>
+   <l:gentext key="Colophon" text="&#2474;&#2509;&#2480;&#2453;&#2494;&#2486;&#2472;&#2494; &#2468;&#2469;&#2509;&#2479; &#2474;&#2499;&#2487;&#2509;&#2464;&#2494;"/>
+   <l:gentext key="colophon" text="&#2474;&#2509;&#2480;&#2453;&#2494;&#2486;&#2472;&#2494; &#2468;&#2469;&#2509;&#2479; &#2474;&#2499;&#2487;&#2509;&#2464;&#2494;"/>
+   <l:gentext key="Copyright" text="&#2488;&#2509;&#2476;&#2468;&#2509;&#2476;"/>
+   <l:gentext key="copyright" text="&#2488;&#2509;&#2476;&#2468;&#2509;&#2476;"/>
+   <l:gentext key="Dedication" text="&#2441;&#2468;&#2509;&#8205;&#2488;&#2480;&#2509;&#2455;"/>
+   <l:gentext key="dedication" text="&#2441;&#2468;&#2509;&#8205;&#2488;&#2480;&#2509;&#2455;"/>
+   <l:gentext key="Edition" text="&#2488;&#2434;&#2488;&#2509;&#2453;&#2480;&#2467;"/>
+   <l:gentext key="edition" text="&#2488;&#2434;&#2488;&#2509;&#2453;&#2480;&#2467;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467;"/>
+   <l:gentext key="equation" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467;"/>
+   <l:gentext key="Example" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467;"/>
+   <l:gentext key="example" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467;"/>
+   <l:gentext key="Figure" text="&#2458;&#2495;&#2468;&#2509;&#2480;"/>
+   <l:gentext key="figure" text="&#2458;&#2495;&#2468;&#2509;&#2480;"/>
+   <l:gentext key="Glossary" text="&#2472;&#2495;&#2480;&#2509;&#2456;&#2472;&#2509;&#2463;"/>
+   <l:gentext key="glossary" text="&#2472;&#2495;&#2480;&#2509;&#2456;&#2472;&#2509;&#2463;"/>
+   <l:gentext key="GlossSee" text="&#2470;&#2503;&#2454;&#2497;&#2472;"/>
+   <l:gentext key="glosssee" text="&#2470;&#2503;&#2454;&#2497;&#2472;"/>
+   <l:gentext key="GlossSeeAlso" text="&#2438;&#2480;&#2507; &#2470;&#2503;&#2454;&#2497;&#2472;"/>
+   <l:gentext key="glossseealso" text="&#2438;&#2480;&#2507; &#2470;&#2503;&#2454;&#2497;&#2472;"/>
+   <l:gentext key="IMPORTANT" text="&#2455;&#2497;&#2480;&#2497;&#2468;&#2509;&#2476;&#2474;&#2498;&#2480;&#2509;&#2467;"/>
+   <l:gentext key="important" text="&#2455;&#2497;&#2480;&#2497;&#2468;&#2509;&#2476;&#2474;&#2498;&#2480;&#2509;&#2467;"/>
+   <l:gentext key="Important" text="&#2455;&#2497;&#2480;&#2497;&#2468;&#2509;&#2476;&#2474;&#2498;&#2480;&#2509;&#2467;"/>
+   <l:gentext key="Index" text="&#2488;&#2498;&#2458;&#2495;"/>
+   <l:gentext key="index" text="&#2488;&#2498;&#2458;&#2495;"/>
+   <l:gentext key="ISBN" text="&#2438;&#2439;&#2447;&#2488;&#2476;&#2495;&#2447;&#2472; (ISBN)"/>
+   <l:gentext key="isbn" text="&#2438;&#2439;&#2447;&#2488;&#2476;&#2495;&#2447;&#2472; (ISBN)"/>
+   <l:gentext key="LegalNotice" text="&#2438;&#2439;&#2472;&#2496; &#2476;&#2495;&#2460;&#2509;&#2462;&#2474;&#2509;&#2468;&#2495;"/>
+   <l:gentext key="legalnotice" text="&#2438;&#2439;&#2472;&#2496; &#2476;&#2495;&#2460;&#2509;&#2462;&#2474;&#2509;&#2468;&#2495;"/>
+   <l:gentext key="MsgAud" text="&#2486;&#2509;&#2480;&#2507;&#2468;&#2494;"/>
+   <l:gentext key="msgaud" text="&#2486;&#2509;&#2480;&#2507;&#2468;&#2494;"/>
+   <l:gentext key="MsgLevel" text="&#2488;&#2509;&#2468;&#2480;"/>
+   <l:gentext key="msglevel" text="&#2488;&#2509;&#2468;&#2480;"/>
+   <l:gentext key="MsgOrig" text="&#2441;&#2468;&#2509;&#8205;&#2488;"/>
+   <l:gentext key="msgorig" text="&#2441;&#2468;&#2509;&#8205;&#2488;"/>
+   <l:gentext key="NOTE" text="&#2482;&#2453;&#2509;&#2487;&#2467;&#2496;&#2527;"/>
+   <l:gentext key="Note" text="&#2482;&#2453;&#2509;&#2487;&#2467;&#2496;&#2527;"/>
+   <l:gentext key="note" text="&#2482;&#2453;&#2509;&#2487;&#2467;&#2496;&#2527;"/>
+   <l:gentext key="Part" text="&#2454;&#2472;&#2509;&#2465;"/>
+   <l:gentext key="part" text="&#2454;&#2472;&#2509;&#2465;"/>
+   <l:gentext key="Preface" text="&#2478;&#2497;&#2454;&#2476;&#2472;&#2509;&#2471;"/>
+   <l:gentext key="preface" text="&#2478;&#2497;&#2454;&#2476;&#2472;&#2509;&#2471;"/>
+   <l:gentext key="Procedure" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;"/>
+   <l:gentext key="procedure" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;"/>
+   <l:gentext key="ProductionSet" text="&#2441;&#2468;&#2509;&#8205;&#2474;&#2494;&#2470;&#2472;"/>
+   <l:gentext key="PubDate" text="&#2474;&#2509;&#2480;&#2453;&#2494;&#2486;&#2472;&#2494;&#2480; &#2468;&#2494;&#2480;&#2495;&#2454;"/>
+   <l:gentext key="pubdate" text="&#2474;&#2509;&#2480;&#2453;&#2494;&#2486;&#2472;&#2494;&#2480; &#2468;&#2494;&#2480;&#2495;&#2454;"/>
+   <l:gentext key="Published" text="&#2474;&#2509;&#2480;&#2453;&#2494;&#2486;&#2495;&#2468;"/>
+   <l:gentext key="published" text="&#2474;&#2509;&#2480;&#2453;&#2494;&#2486;&#2495;&#2468;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;&#2447;&#2476;&#2434;&#2441;&#2468;&#2509;&#2468;&#2480;"/>
+   <l:gentext key="qandadiv" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;&#2447;&#2476;&#2434;&#2441;&#2468;&#2509;&#2468;&#2480;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;:"/>
+   <l:gentext key="question" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#2455;&#2509;&#2480;&#2472;&#2509;&#2469;&#2488;&#2498;&#2468;&#2509;&#2480;"/>
+   <l:gentext key="reference" text="&#2455;&#2509;&#2480;&#2472;&#2509;&#2469;&#2488;&#2498;&#2468;&#2509;&#2480;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#2472;&#2494;&#2478;"/>
+   <l:gentext key="refname" text="&#2472;&#2494;&#2478;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#2488;&#2494;&#2480;&#2494;&#2434;&#2486;"/>
+   <l:gentext key="refsynopsisdiv" text="&#2488;&#2494;&#2480;&#2494;&#2434;&#2486;"/>
+   <l:gentext key="RevHistory" text="&#2474;&#2480;&#2495;&#2476;&#2480;&#2509;&#2471;&#2472; &#2451; &#2474;&#2480;&#2495;&#2476;&#2480;&#2509;&#2468;&#2472; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="revhistory" text="&#2474;&#2480;&#2495;&#2476;&#2480;&#2509;&#2471;&#2472; &#2451; &#2474;&#2480;&#2495;&#2476;&#2480;&#2509;&#2468;&#2472; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="revision" text="&#2488;&#2434;&#2488;&#2509;&#2453;&#2480;&#2467;"/>
+   <l:gentext key="Revision" text="&#2488;&#2434;&#2488;&#2509;&#2453;&#2480;&#2467;"/>
+   <l:gentext key="sect1" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+   <l:gentext key="sect2" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+   <l:gentext key="sect3" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+   <l:gentext key="sect4" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+   <l:gentext key="sect5" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+   <l:gentext key="section" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+   <l:gentext key="Section" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+   <l:gentext key="see" text="&#2470;&#2503;&#2454;&#2497;&#2472;"/>
+   <l:gentext key="See" text="&#2470;&#2503;&#2454;&#2497;&#2472;"/>
+   <l:gentext key="seealso" text="&#2438;&#2480;&#2507; &#2470;&#2503;&#2454;&#2497;&#2472;"/>
+   <l:gentext key="Seealso" text="&#2438;&#2480;&#2507; &#2470;&#2503;&#2454;&#2497;&#2472;"/>
+   <l:gentext key="SeeAlso" text="&#2438;&#2480;&#2507; &#2470;&#2503;&#2454;&#2497;&#2472;"/>
+   <l:gentext key="set" text="&#2488;&#2478;&#2487;&#2509;&#2463;&#2495;"/>
+   <l:gentext key="Set" text="&#2488;&#2478;&#2487;&#2509;&#2463;&#2495;"/>
+   <l:gentext key="setindex" text="&#2488;&#2498;&#2458;&#2495;&#2488;&#2478;&#2487;&#2509;&#2463;&#2495;"/>
+   <l:gentext key="SetIndex" text="&#2488;&#2498;&#2458;&#2495;&#2488;&#2478;&#2487;&#2509;&#2463;&#2495;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="&#2488;&#2494;&#2439;&#2465;&#2476;&#2494;&#2480;"/>
+   <l:gentext key="step" text="&#2471;&#2494;&#2474;"/>
+   <l:gentext key="Step" text="&#2471;&#2494;&#2474;"/>
+   <l:gentext key="table" text="&#2459;&#2453;"/>
+   <l:gentext key="Table" text="&#2459;&#2453;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#2439;&#2457;&#2509;&#2455;&#2495;&#2468;"/>
+   <l:gentext key="TIP" text="&#2439;&#2457;&#2509;&#2455;&#2495;&#2468;"/>
+   <l:gentext key="Tip" text="&#2439;&#2457;&#2509;&#2455;&#2495;&#2468;"/>
+   <l:gentext key="Warning" text="&#2488;&#2468;&#2480;&#2509;&#2453;&#2476;&#2494;&#2467;&#2496;"/>
+   <l:gentext key="warning" text="&#2488;&#2468;&#2480;&#2509;&#2453;&#2476;&#2494;&#2467;&#2496;"/>
+   <l:gentext key="WARNING" text="&#2488;&#2468;&#2480;&#2509;&#2453;&#2476;&#2494;&#2467;&#2496;"/>
+   <l:gentext key="and" text="&#2447;&#2476;&#2434;"/>
+   <l:gentext key="by" text="&#2470;&#2509;&#2476;&#2494;&#2480;&#2494;"/>
+   <l:gentext key="Edited" text="&#2488;&#2478;&#2509;&#2474;&#2494;&#2470;&#2495;&#2468;"/>
+   <l:gentext key="edited" text="&#2488;&#2478;&#2509;&#2474;&#2494;&#2470;&#2495;&#2468;"/>
+   <l:gentext key="Editedby" text="&#2488;&#2478;&#2509;&#2474;&#2494;&#2470;&#2453;"/>
+   <l:gentext key="editedby" text="&#2488;&#2478;&#2509;&#2474;&#2494;&#2470;&#2453;"/>
+   <l:gentext key="in" text="&#2478;&#2471;&#2509;&#2479;&#2503;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#2437;&#2488;&#2509;&#2468;&#2495;&#2468;&#2509;&#2476;&#2489;&#2496;&#2472; &#2441;&#2474;&#2494;&#2470;&#2494;&#2472;"/>
+   <l:gentext key="notes" text="&#2472;&#2507;&#2463;"/>
+   <l:gentext key="Notes" text="&#2472;&#2507;&#2463;"/>
+   <l:gentext key="Pgs" text="&#2474;&#2499;&#2487;&#2509;&#2464;&#2494;."/>
+   <l:gentext key="pgs" text="&#2474;&#2499;&#2487;&#2509;&#2464;&#2494;."/>
+   <l:gentext key="Revisedby" text="&#2474;&#2480;&#2495;&#2478;&#2494;&#2480;&#2509;&#2460;&#2472;&#2494;&#2453;&#2494;&#2480;&#2496;: "/>
+   <l:gentext key="revisedby" text="&#2474;&#2480;&#2495;&#2478;&#2494;&#2480;&#2509;&#2460;&#2472;&#2494;&#2453;&#2494;&#2480;&#2496;: "/>
+   <l:gentext key="TableNotes" text="&#2472;&#2507;&#2463;"/>
+   <l:gentext key="tablenotes" text="&#2472;&#2507;&#2463;"/>
+   <l:gentext key="TableofContents" text="&#2488;&#2498;&#2458;&#2495;&#2474;&#2468;&#2509;&#2480;"/>
+   <l:gentext key="tableofcontents" text="&#2488;&#2498;&#2458;&#2495;&#2474;&#2468;&#2509;&#2480;"/>
+   <l:gentext key="unexpectedelementname" text="&#2437;&#2474;&#2509;&#2480;&#2468;&#2509;&#2479;&#2494;&#2486;&#2495;&#2468; &#2441;&#2474;&#2494;&#2470;&#2494;&#2472;&#2503;&#2480; &#2472;&#2494;&#2478;"/>
+   <l:gentext key="unsupported" text="&#2437;&#2488;&#2478;&#2480;&#2509;&#2469;&#2495;&#2468;"/>
+   <l:gentext key="xrefto" text="&#2472;&#2495;&#2480;&#2509;&#2470;&#2503;&#2486; &#2453;&#2480;&#2503;"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="ListofEquations" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="ListofExamples" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="listofexamples" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="ListofFigures" text="&#2458;&#2495;&#2468;&#2509;&#2480;&#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="listoffigures" text="&#2458;&#2495;&#2468;&#2509;&#2480;&#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="ListofProcedures" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;&#2480; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="listofprocedures" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;&#2480; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="listoftables" text="&#2459;&#2453;&#2503;&#2480; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="ListofTables" text="&#2459;&#2453;&#2503;&#2480; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="ListofUnknown" text="&#2437;&#2460;&#2509;&#2462;&#2494;&#2468; &#2476;&#2488;&#2509;&#2468;&#2497;&#2480; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="listofunknown" text="&#2437;&#2460;&#2509;&#2462;&#2494;&#2468; &#2476;&#2488;&#2509;&#2468;&#2497;&#2480; &#2468;&#2494;&#2482;&#2495;&#2453;&#2494;"/>
+   <l:gentext key="nav-home" text="&#2474;&#2509;&#2480;&#2469;&#2478; &#2437;&#2476;&#2488;&#2509;&#2469;&#2494;&#2472; (Home)"/>
+   <l:gentext key="nav-next" text="&#2474;&#2480;&#2476;&#2480;&#2509;&#2468;&#2496;"/>
+   <l:gentext key="nav-next-sibling" text="&#2470;&#2509;&#2480;&#2497;&#2468; &#2488;&#2478;&#2509;&#2478;&#2497;&#2454;&#2503;"/>
+   <l:gentext key="nav-prev" text="&#2474;&#2498;&#2480;&#2509;&#2476;&#2476;&#2480;&#2509;&#2468;&#2496;"/>
+   <l:gentext key="nav-prev-sibling" text="&#2470;&#2509;&#2480;&#2497;&#2468; &#2474;&#2486;&#2509;&#2458;&#2494;&#2468;&#2503;"/>
+   <l:gentext key="nav-up" text="&#2441;&#2474;&#2480;"/>
+   <l:gentext key="nav-toc" text="&#2488;&#2498;&#2458;&#2495;&#2474;&#2468;&#2509;&#2480;"/>
+   <l:gentext key="Draft" text="&#2454;&#2488;&#2524;&#2494;"/>
+   <l:gentext key="above" text="&#2441;&#2474;&#2480;"/>
+   <l:gentext key="below" text="&#2472;&#2495;&#2458;"/>
+   <l:gentext key="sectioncalled" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;"/>
+   <l:gentext key="index symbols" text="&#2474;&#2509;&#2480;&#2468;&#2496;&#2453;"/>
+   <l:gentext key="lowercase.alpha" text="&#2437;&#2438;&#2439;&#2440;&#2441;&#2442;&#2447;&#2448;&#2451;&#2452;&#2443;&#2453;&#2454;&#2455;&#2456;&#2457;&#2458;&#2459;&#2460;&#2461;&#2462;&#2463;&#2464;&#2465;&#2466;&#2467;&#2468;&#2469;&#2470;&#2471;&#2472;&#2474;&#2475;&#2476;&#2477;&#2478;&#2479;&#2480;&#2482;&#2486;&#2487;&#2488;&#2489;&#2434;&#2435;"/>
+   <l:gentext key="uppercase.alpha" text="&#2437;&#2438;&#2439;&#2440;&#2441;&#2442;&#2447;&#2448;&#2451;&#2452;&#2443;&#2453;&#2454;&#2455;&#2456;&#2457;&#2458;&#2459;&#2460;&#2461;&#2462;&#2463;&#2464;&#2465;&#2466;&#2467;&#2468;&#2469;&#2470;&#2471;&#2472;&#2474;&#2475;&#2476;&#2477;&#2478;&#2479;&#2480;&#2482;&#2486;&#2487;&#2488;&#2489;&#2434;&#2435;"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#2474;&#2480;&#2495;&#2486;&#2495;&#2487;&#2509;&#2463;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#2437;&#2471;&#2509;&#2479;&#2494;&#2527;&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467;&#160;%n.&#160;%t"/>
+      <l:template name="example" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="&#2458;&#2495;&#2468;&#2509;&#2480;&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#2454;&#2472;&#2509;&#2465;&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#2441;&#2468;&#2509;&#8205;&#2474;&#2494;&#2470;&#2472;&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#2459;&#2453;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#2474;&#2480;&#2495;&#2486;&#2495;&#2487;&#2509;&#2463;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#2437;&#2471;&#2509;&#2479;&#2494;&#2527;&#160;%n.&#160;%t"/>
+      <l:template name="part" text="&#2454;&#2472;&#2509;&#2465;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#2441;&#2468;&#2509;&#2468;&#2480;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#2441;&#2468;&#2509;&#2468;&#2480;:&#160;%n"/>
+      <l:template name="appendix" text="&#2474;&#2480;&#2495;&#2486;&#2495;&#2487;&#2509;&#2463;&#160;%n"/>
+      <l:template name="bridgehead" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+      <l:template name="chapter" text="&#2437;&#2471;&#2509;&#2479;&#2494;&#2527;&#160;%n"/>
+      <l:template name="equation" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467;&#160;%n"/>
+      <l:template name="example" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467;&#160;%n"/>
+      <l:template name="figure" text="&#2458;&#2495;&#2468;&#2509;&#2480;&#160;%n"/>
+      <l:template name="part" text="&#2454;&#2472;&#2509;&#2465;&#160;%n"/>
+      <l:template name="procedure" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;&#160;%n"/>
+      <l:template name="productionset" text="&#2441;&#2468;&#2509;&#8205;&#2474;&#2494;&#2470;&#2472;&#160;%n"/>
+      <l:template name="qandadiv" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;&#2447;&#2476;&#2434;&#2441;&#2468;&#2509;&#2468;&#2480;&#160;%n"/>
+      <l:template name="qandaentry" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;:&#160;%n"/>
+      <l:template name="question" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;:&#160;%n"/>
+      <l:template name="sect1" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+      <l:template name="sect2" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+      <l:template name="sect3" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+      <l:template name="sect4" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+      <l:template name="sect5" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+      <l:template name="section" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n"/>
+      <l:template name="table" text="&#2459;&#2453;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#2474;&#2480;&#2495;&#2486;&#2495;&#2487;&#2509;&#2463;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#2437;&#2471;&#2509;&#2479;&#2494;&#2527;&#160;%n, %t"/>
+      <l:template name="equation" text="&#2488;&#2478;&#2496;&#2453;&#2480;&#2467;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#2441;&#2470;&#2494;&#2489;&#2480;&#2467;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#2458;&#2495;&#2468;&#2509;&#2480;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#2454;&#2472;&#2509;&#2465;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#2474;&#2470;&#2509;&#2471;&#2468;&#2495;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="&#2441;&#2468;&#2509;&#8205;&#2474;&#2494;&#2470;&#2472;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="&#2474;&#2509;&#2480;&#2486;&#2509;&#2472;&#2447;&#2476;&#2434;&#2441;&#2468;&#2509;&#2468;&#2480;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#2437;&#2472;&#2497;&#2458;&#2509;&#2459;&#2503;&#2470; &#8220;%t&#8221;"/>
+      <l:template name="table" text="&#2459;&#2453;&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#2447;&#2476;&#2434; "/>
+      <l:template name="seplast" text=", &#2447;&#2476;&#2434; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#2470;&#2503;&#2454;&#2497;&#2472; %t"/>
+      <l:template name="seealso" text="&#2438;&#2480;&#2507; &#2470;&#2503;&#2454;&#2497;&#2472; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#2486;&#2509;&#2480;&#2507;&#2468;&#2494;: "/>
+      <l:template name="MsgLevel" text="&#2488;&#2509;&#2468;&#2480;: "/>
+      <l:template name="MsgOrig" text="&#2441;&#2468;&#2509;&#8205;&#2488;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d/m/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="&#2460;&#2494;&#2472;&#2497;&#2527;&#2494;&#2480;&#2496;"/>
+      <l:template name="February" text="&#2475;&#2503;&#2476;&#2509;&#2480;&#2497;&#2527;&#2494;&#2480;&#2496;"/>
+      <l:template name="March" text="&#2478;&#2494;&#2480;&#2509;&#2458;"/>
+      <l:template name="April" text="&#2447;&#2474;&#2509;&#2480;&#2495;&#2482;"/>
+      <l:template name="May" text="&#2478;&#2503;"/>
+      <l:template name="June" text="&#2460;&#2497;&#2472;"/>
+      <l:template name="July" text="&#2460;&#2497;&#2482;&#2494;&#2439;"/>
+      <l:template name="August" text="&#2438;&#2455;&#2488;&#2509;&#2463;"/>
+      <l:template name="September" text="&#2488;&#2503;&#2474;&#2509;&#2463;&#2503;&#2478;&#2509;&#2476;&#2480;"/>
+      <l:template name="October" text="&#2437;&#2453;&#2509;&#2463;&#2507;&#2476;&#2480;"/>
+      <l:template name="November" text="&#2472;&#2477;&#2503;&#2478;&#2509;&#2476;&#2480;"/>
+      <l:template name="December" text="&#2465;&#2495;&#2488;&#2503;&#2478;&#2509;&#2476;&#2480;"/>
+      <l:template name="Monday" text="&#2488;&#2507;&#2478;&#2476;&#2494;&#2480;"/>
+      <l:template name="Tuesday" text="&#2478;&#2457;&#2509;&#2455;&#2482;&#2476;&#2494;&#2480;"/>
+      <l:template name="Wednesday" text="&#2476;&#2497;&#2471;&#2476;&#2494;&#2480;"/>
+      <l:template name="Thursday" text="&#2476;&#2499;&#2489;&#2435;&#2488;&#2509;&#2474;&#2468;&#2495;&#2476;&#2494;&#2480;"/>
+      <l:template name="Friday" text="&#2486;&#2497;&#2453;&#2509;&#2480;&#2476;&#2494;&#2480;"/>
+      <l:template name="Saturday" text="&#2486;&#2472;&#2495;&#2476;&#2494;&#2480;"/>
+      <l:template name="Sunday" text="&#2480;&#2476;&#2495;&#2476;&#2494;&#2480;"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="&#2460;&#2494;&#2472;&#2497;&#2527;&#2494;&#2480;&#2496;"/>
+      <l:template name="Feb" text="&#2475;&#2503;&#2476;&#2509;&#2480;&#2497;&#2527;&#2494;&#2480;&#2496;"/>
+      <l:template name="Mar" text="&#2478;&#2494;&#2480;&#2509;&#2458;"/>
+      <l:template name="Apr" text="&#2447;&#2474;&#2509;&#2480;&#2495;&#2482;"/>
+      <l:template name="May" text="&#2478;&#2503;"/>
+      <l:template name="Jun" text="&#2460;&#2497;&#2472;"/>
+      <l:template name="Jul" text="&#2460;&#2497;&#2482;&#2494;&#2439;"/>
+      <l:template name="Aug" text="&#2438;&#2455;&#2488;&#2509;&#2463;"/>
+      <l:template name="Sep" text="&#2488;&#2503;&#2474;&#2509;&#2463;&#2503;&#2478;&#2509;&#2476;&#2480;"/>
+      <l:template name="Oct" text="&#2437;&#2453;&#2509;&#2463;&#2507;&#2476;&#2480;"/>
+      <l:template name="Nov" text="&#2472;&#2477;&#2503;&#2478;&#2509;&#2476;&#2480;"/>
+      <l:template name="Dec" text="&#2465;&#2495;&#2488;&#2503;&#2478;&#2509;&#2476;&#2480;"/>
+      <l:template name="Mon" text="&#2488;&#2507;&#2478;"/>
+      <l:template name="Tue" text="&#2478;&#2457;&#2509;&#2455;&#2482;"/>
+      <l:template name="Wed" text="&#2476;&#2497;&#2471;"/>
+      <l:template name="Thu" text="&#2476;&#2499;&#2489;&#2435;&#2488;&#2509;&#2474;&#2468;&#2495;"/>
+      <l:template name="Fri" text="&#2486;&#2497;&#2453;&#2509;&#2480;"/>
+      <l:template name="Sat" text="&#2486;&#2472;&#2495;"/>
+      <l:template name="Sun" text="&#2480;&#2476;&#2495;"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0445 Bangla (Bangladesh and India)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/bs.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/bs.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/bs.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,635 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="bs" english-language-name="Bosnian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/bs.xml -->
+<!-- * -->
+<!-- * E-mail the edited bs.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Sa&#382;etak"/>
+   <l:gentext key="abstract" text="Sa&#382;etak"/>
+   <l:gentext key="Answer" text="O:"/>
+   <l:gentext key="answer" text="O:"/>
+   <l:gentext key="Appendix" text="Dodatak"/>
+   <l:gentext key="appendix" text="Dodatak"/>
+   <l:gentext key="Article" text="&#268;lanak"/>
+   <l:gentext key="article" text="&#268;lanak"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Literatura"/>
+   <l:gentext key="bibliography" text="Literatura"/>
+   <l:gentext key="Book" text="Knjiga"/>
+   <l:gentext key="book" text="Knjiga"/>
+   <l:gentext key="CAUTION" text="PA&#381;NJA"/>
+   <l:gentext key="Caution" text="Pa&#382;nja"/>
+   <l:gentext key="caution" text="Pa&#382;nja"/>
+   <l:gentext key="Chapter" text="Poglavlje"/>
+   <l:gentext key="chapter" text="Poglavlje"/>
+   <l:gentext key="Colophon" text="Kolofon"/>
+   <l:gentext key="colophon" text="Kolofon"/>
+   <l:gentext key="Copyright" text="Autorska prava"/>
+   <l:gentext key="copyright" text="Autorska prava"/>
+   <l:gentext key="Dedication" text="Posveta"/>
+   <l:gentext key="dedication" text="Posveta"/>
+   <l:gentext key="Edition" text="Izdanje"/>
+   <l:gentext key="edition" text="Izdanje"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Jedna&#269;ina"/>
+   <l:gentext key="equation" text="Jedna&#269;ina"/>
+   <l:gentext key="Example" text="Primjer"/>
+   <l:gentext key="example" text="Primjer"/>
+   <l:gentext key="Figure" text="Slika"/>
+   <l:gentext key="figure" text="Slika"/>
+   <l:gentext key="Glossary" text="Glosar"/>
+   <l:gentext key="glossary" text="Glosar"/>
+   <l:gentext key="GlossSee" text="Vidi"/>
+   <l:gentext key="glosssee" text="Vidi"/>
+   <l:gentext key="GlossSeeAlso" text="Vidi tako&#273;e"/>
+   <l:gentext key="glossseealso" text="Vidi tako&#273;e"/>
+   <l:gentext key="IMPORTANT" text="VA&#381;NO"/>
+   <l:gentext key="important" text="Va&#382;no"/>
+   <l:gentext key="Important" text="Va&#382;no"/>
+   <l:gentext key="Index" text="Indeks"/>
+   <l:gentext key="index" text="Indeks"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Pravne odredbe"/>
+   <l:gentext key="legalnotice" text="Pravne odredbe"/>
+   <l:gentext key="MsgAud" text="Primatelji"/>
+   <l:gentext key="msgaud" text="Primatelji"/>
+   <l:gentext key="MsgLevel" text="Nivo"/>
+   <l:gentext key="msglevel" text="Nivo"/>
+   <l:gentext key="MsgOrig" text="Izvor"/>
+   <l:gentext key="msgorig" text="Izvor"/>
+   <l:gentext key="NOTE" text="BILJE&#352;KA"/>
+   <l:gentext key="Note" text="Bilje&#353;ka"/>
+   <l:gentext key="note" text="Bilje&#353;ka"/>
+   <l:gentext key="Part" text="Dio"/>
+   <l:gentext key="part" text="Dio"/>
+   <l:gentext key="Preface" text="Predgovor"/>
+   <l:gentext key="preface" text="Predgovor"/>
+   <l:gentext key="Procedure" text="Postupak"/>
+   <l:gentext key="procedure" text="Postupak"/>
+   <l:gentext key="ProductionSet" text="Produkcija"/>
+   <l:gentext key="PubDate" text="Objavljeno"/>
+   <l:gentext key="pubdate" text="Objavljeno"/>
+   <l:gentext key="Published" text="Objavljeno"/>
+   <l:gentext key="published" text="Objavljeno"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="P &amp; O"/>
+   <l:gentext key="qandadiv" text="P &amp; O"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="P:"/>
+   <l:gentext key="question" text="P:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Referenca"/>
+   <l:gentext key="reference" text="Referenca"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Ime"/>
+   <l:gentext key="refname" text="Ime"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Pregled"/>
+   <l:gentext key="refsynopsisdiv" text="Pregled"/>
+   <l:gentext key="RevHistory" text="Historija verzija"/>
+   <l:gentext key="revhistory" text="Historija verzija"/>
+   <l:gentext key="revision" text="Verzija"/>
+   <l:gentext key="Revision" text="Verzija"/>
+   <l:gentext key="sect1" text="Odjeljak"/>
+   <l:gentext key="sect2" text="Odjeljak"/>
+   <l:gentext key="sect3" text="Odjeljak"/>
+   <l:gentext key="sect4" text="Odjeljak"/>
+   <l:gentext key="sect5" text="Odjeljak"/>
+   <l:gentext key="section" text="Odjeljak"/>
+   <l:gentext key="Section" text="Odjeljak"/>
+   <l:gentext key="see" text="vidi"/>
+   <l:gentext key="See" text="Vidi"/>
+   <l:gentext key="seealso" text="vidi tako&#273;e"/>
+   <l:gentext key="Seealso" text="Vidi tako&#273;e"/>
+   <l:gentext key="SeeAlso" text="Vidi tako&#273;e"/>
+   <l:gentext key="set" text="Set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Indeks"/>
+   <l:gentext key="SetIndex" text="Indeks"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="korak"/>
+   <l:gentext key="Step" text="Korak"/>
+   <l:gentext key="table" text="Tabela"/>
+   <l:gentext key="Table" text="Tabela"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Savjet"/>
+   <l:gentext key="TIP" text="SAVJET"/>
+   <l:gentext key="Tip" text="Savjet"/>
+   <l:gentext key="Warning" text="Upozorenje"/>
+   <l:gentext key="warning" text="Upozorenje"/>
+   <l:gentext key="WARNING" text="UPOZORENJE"/>
+   <l:gentext key="and" text="i"/>
+   <l:gentext key="by" text="od"/>
+   <l:gentext key="Edited" text="Izdao"/>
+   <l:gentext key="edited" text="Izdao"/>
+   <l:gentext key="Editedby" text="Izdao"/>
+   <l:gentext key="editedby" text="Izdao"/>
+   <l:gentext key="in" text="u"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="nepostoje&#263;i element"/>
+   <l:gentext key="notes" text="Bilje&#353;ke"/>
+   <l:gentext key="Notes" text="Bilje&#353;ke"/>
+   <l:gentext key="Pgs" text="Str."/>
+   <l:gentext key="pgs" text="Str."/>
+   <l:gentext key="Revisedby" text="Izmijenjeno od: "/>
+   <l:gentext key="revisedby" text="Izmijenjeno od: "/>
+   <l:gentext key="TableNotes" text="Napomene"/>
+   <l:gentext key="tablenotes" text="Napomene"/>
+   <l:gentext key="TableofContents" text="Sadr&#382;aj"/>
+   <l:gentext key="tableofcontents" text="Sadr&#382;aj"/>
+   <l:gentext key="unexpectedelementname" text="Neo&#269;kivano ime elementa"/>
+   <l:gentext key="unsupported" text="nepodr&#382;ano"/>
+   <l:gentext key="xrefto" text="xref prema"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Spisak jedna&#269;ina"/>
+   <l:gentext key="ListofEquations" text="Spisak jedna&#269;ina"/>
+   <l:gentext key="ListofExamples" text="Spisak primjera"/>
+   <l:gentext key="listofexamples" text="Spisak primjera"/>
+   <l:gentext key="ListofFigures" text="Spisak slika"/>
+   <l:gentext key="listoffigures" text="Spisak slika"/>
+   <l:gentext key="ListofProcedures" text="Spisak postupaka"/>
+   <l:gentext key="listofprocedures" text="Spisak postupaka"/>
+   <l:gentext key="listoftables" text="Spisak tabela"/>
+   <l:gentext key="ListofTables" text="Spisak tabela"/>
+   <l:gentext key="ListofUnknown" text="Spisak ???"/>
+   <l:gentext key="listofunknown" text="Spisak ???"/>
+   <l:gentext key="nav-home" text="Po&#269;etak"/>
+   <l:gentext key="nav-next" text="Naprijed"/>
+   <l:gentext key="nav-next-sibling" text="Brzo naprijed"/>
+   <l:gentext key="nav-prev" text="Nazad"/>
+   <l:gentext key="nav-prev-sibling" text="Brzo nazad"/>
+   <l:gentext key="nav-up" text="Gore"/>
+   <l:gentext key="nav-toc" text="Sadr&#382;aj"/>
+   <l:gentext key="Draft" text="Nacrt"/>
+   <l:gentext key="above" text="iznad"/>
+   <l:gentext key="below" text="ispod"/>
+   <l:gentext key="sectioncalled" text="odjeljak sa nazivom"/>
+   <l:gentext key="index symbols" text="Simboli"/>
+   <l:gentext key="lowercase.alpha" text="abc&#269;&#263;d&#273;efghijklmnoprs&#353;tuvz&#382;"/>
+   <l:gentext key="uppercase.alpha" text="ABC&#268;&#262;D&#272;EFGHIJKLMNOPRS&#352;TUVZ&#381;"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="3"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Dodatak&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Poglavlje&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Jedna&#269;ina&#160;%n.&#160;%t"/>
+      <l:template name="example" text="Primjer&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="Slika&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Dio&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Postupak&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Produkcija&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabela&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Dodatak&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Poglavlje&#160;%n.&#160;%t"/>
+      <l:template name="part" text="Dio&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="O:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="P:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="P:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" u %o"/>
+      <l:template name="olink.page.citation" text=" (strana %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(strana %p)"/>
+      <l:template name="docname" text=" u %o"/>
+      <l:template name="docnamelong" text=" u dokumentu sa naslovom %o"/>
+      <l:template name="pageabbrev" text="(s. %p)"/>
+      <l:template name="Page" text="Strana %p"/>
+      <l:template name="bridgehead" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="section" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="O:&#160;%n"/>
+      <l:template name="appendix" text="Dodatak&#160;%n"/>
+      <l:template name="bridgehead" text="Odjeljak&#160;%n"/>
+      <l:template name="chapter" text="Poglavlje&#160;%n"/>
+      <l:template name="equation" text="Jedna&#269;ina&#160;%n"/>
+      <l:template name="example" text="Primjer&#160;%n"/>
+      <l:template name="figure" text="Slika&#160;%n"/>
+      <l:template name="part" text="Dio&#160;%n"/>
+      <l:template name="procedure" text="Postupak&#160;%n"/>
+      <l:template name="productionset" text="Produkcija&#160;%n"/>
+      <l:template name="qandadiv" text="P &amp; O&#160;%n"/>
+      <l:template name="qandaentry" text="P:&#160;%n"/>
+      <l:template name="question" text="P:&#160;%n"/>
+      <l:template name="sect1" text="Odjeljak&#160;%n"/>
+      <l:template name="sect2" text="Odjeljak&#160;%n"/>
+      <l:template name="sect3" text="Odjeljak&#160;%n"/>
+      <l:template name="sect4" text="Odjeljak&#160;%n"/>
+      <l:template name="sect5" text="Odjeljak&#160;%n"/>
+      <l:template name="section" text="Odjeljak&#160;%n"/>
+      <l:template name="table" text="Tabela&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Dodatak&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Odjeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Poglavlje&#160;%n, %t"/>
+      <l:template name="equation" text="Jedna&#269;ina&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Primjer&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Slika&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Dio&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Postupak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Produkcija&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="P &amp; O&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Odjeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Odjeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Odjeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Odjeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Odjeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Odjeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="odjeljak sa nazivom &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabela&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" i "/>
+      <l:template name="seplast" text=" i "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Vidi %t"/>
+      <l:template name="seealso" text="Vidi tako&#273;e %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Primatelji: "/>
+      <l:template name="MsgLevel" text="Nivo: "/>
+      <l:template name="MsgOrig" text="Izvor: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d.m.Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="Januar"/>
+      <l:template name="February" text="Februar"/>
+      <l:template name="March" text="Mart"/>
+      <l:template name="April" text="April"/>
+      <l:template name="May" text="Maj"/>
+      <l:template name="June" text="Juni"/>
+      <l:template name="July" text="Juli"/>
+      <l:template name="August" text="August"/>
+      <l:template name="September" text="Septembar"/>
+      <l:template name="October" text="Oktobar"/>
+      <l:template name="November" text="Novembar"/>
+      <l:template name="December" text="Decembar"/>
+      <l:template name="Monday" text="Ponedeljak"/>
+      <l:template name="Tuesday" text="Utorak"/>
+      <l:template name="Wednesday" text="Srijeda"/>
+      <l:template name="Thursday" text="&#268;etvrtak"/>
+      <l:template name="Friday" text="Petak"/>
+      <l:template name="Saturday" text="Subota"/>
+      <l:template name="Sunday" text="Nedelja"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan"/>
+      <l:template name="Feb" text="Feb"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Apr"/>
+      <l:template name="May" text="Maj"/>
+      <l:template name="Jun" text="Jun"/>
+      <l:template name="Jul" text="Jul"/>
+      <l:template name="Aug" text="Aug"/>
+      <l:template name="Sep" text="Sep"/>
+      <l:template name="Oct" text="Okt"/>
+      <l:template name="Nov" text="Nov"/>
+      <l:template name="Dec" text="Dec"/>
+      <l:template name="Mon" text="Pon"/>
+      <l:template name="Tue" text="Uto"/>
+      <l:template name="Wed" text="Sri"/>
+      <l:template name="Thu" text="&#268;et"/>
+      <l:template name="Fri" text="Pet"/>
+      <l:template name="Sat" text="Sub"/>
+      <l:template name="Sun" text="Ned"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x141A Bosnian (Bosnia/Herzegovina)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Simboli</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/ca.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/ca.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/ca.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ca" english-language-name="Catalan">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/ca.xml -->
+<!-- * -->
+<!-- * E-mail the edited ca.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Resum"/>
+   <l:gentext key="abstract" text="Resum"/>
+   <l:gentext key="Answer" text="Resposta"/>
+   <l:gentext key="answer" text="Resposta"/>
+   <l:gentext key="Appendix" text="Ap&#232;ndix"/>
+   <l:gentext key="appendix" text="Ap&#232;ndix"/>
+   <l:gentext key="Article" text="Article"/>
+   <l:gentext key="article" text="Article"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Bibliografia"/>
+   <l:gentext key="bibliography" text="Bibliografia"/>
+   <l:gentext key="Book" text="Llibre"/>
+   <l:gentext key="book" text="Llibre"/>
+   <l:gentext key="CAUTION" text="ATENCI&#211;"/>
+   <l:gentext key="Caution" text="Atenci&#243;"/>
+   <l:gentext key="caution" text="Atenci&#243;"/>
+   <l:gentext key="Chapter" text="Cap&#237;tol"/>
+   <l:gentext key="chapter" text="Cap&#237;tol"/>
+   <l:gentext key="Colophon" text="Colof&#243;"/>
+   <l:gentext key="colophon" text="Colof&#243;"/>
+   <l:gentext key="Copyright" text="Dret de reproducci&#243;"/>
+   <l:gentext key="copyright" text="Dret de reproducci&#243;"/>
+   <l:gentext key="Dedication" text="Dedicat&#242;ria"/>
+   <l:gentext key="dedication" text="Dedicat&#242;ria"/>
+   <l:gentext key="Edition" text="Edici&#243;"/>
+   <l:gentext key="edition" text="Edici&#243;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Equaci&#243;"/>
+   <l:gentext key="equation" text="Equaci&#243;"/>
+   <l:gentext key="Example" text="Exemple"/>
+   <l:gentext key="example" text="Exemple"/>
+   <l:gentext key="Figure" text="Figura"/>
+   <l:gentext key="figure" text="Figura"/>
+   <l:gentext key="Glossary" text="Glossari"/>
+   <l:gentext key="glossary" text="Glossari"/>
+   <l:gentext key="GlossSee" text="Veure"/>
+   <l:gentext key="glosssee" text="Veure"/>
+   <l:gentext key="GlossSeeAlso" text="Veure tamb&#233;"/>
+   <l:gentext key="glossseealso" text="Veure tamb&#233;"/>
+   <l:gentext key="IMPORTANT" text="IMPORTANT"/>
+   <l:gentext key="important" text="Important"/>
+   <l:gentext key="Important" text="Important"/>
+   <l:gentext key="Index" text="&#205;ndex alfab&#232;tic"/>
+   <l:gentext key="index" text="&#205;ndex alfab&#232;tic"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Av&#237;s legal"/>
+   <l:gentext key="legalnotice" text="Av&#237;s legal"/>
+   <l:gentext key="MsgAud" text="Audi&#232;ncia"/>
+   <l:gentext key="msgaud" text="Audi&#232;ncia"/>
+   <l:gentext key="MsgLevel" text="Nivell"/>
+   <l:gentext key="msglevel" text="Nivell"/>
+   <l:gentext key="MsgOrig" text="Origen"/>
+   <l:gentext key="msgorig" text="Origen"/>
+   <l:gentext key="NOTE" text="NOTA"/>
+   <l:gentext key="Note" text="Nota"/>
+   <l:gentext key="note" text="Nota"/>
+   <l:gentext key="Part" text="Part"/>
+   <l:gentext key="part" text="Part"/>
+   <l:gentext key="Preface" text="Prefaci"/>
+   <l:gentext key="preface" text="Prefaci"/>
+   <l:gentext key="Procedure" text="Procediment"/>
+   <l:gentext key="procedure" text="Procediment"/>
+   <l:gentext key="ProductionSet" text="Producci&#243;"/>
+   <l:gentext key="PubDate" text="Data de publicaci&#243;"/>
+   <l:gentext key="pubdate" text="Data de publicaci&#243;"/>
+   <l:gentext key="Published" text="Publicat"/>
+   <l:gentext key="published" text="Publicat"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Pregunta i Resposta"/>
+   <l:gentext key="qandadiv" text="Pregunta i Resposta"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Pregunta"/>
+   <l:gentext key="question" text="Pregunta"/>
+   <l:gentext key="RefEntry" text="Entrada de refer&#232;ncia"/>
+   <l:gentext key="refentry" text="Entrada de refer&#232;ncia"/>
+   <l:gentext key="Reference" text="Refer&#232;ncia"/>
+   <l:gentext key="reference" text="Refer&#232;ncia"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Nom"/>
+   <l:gentext key="refname" text="Nom"/>
+   <l:gentext key="RefSection" text="Secci&#243; de refer&#232;ncia"/>
+   <l:gentext key="refsection" text="Secci&#243; de refer&#232;ncia"/>
+   <l:gentext key="RefSynopsisDiv" text="Sinopsi"/>
+   <l:gentext key="refsynopsisdiv" text="Sinopsi"/>
+   <l:gentext key="RevHistory" text="Historial de revisions"/>
+   <l:gentext key="revhistory" text="Historial de revisions"/>
+   <l:gentext key="revision" text="Revisi&#243;"/>
+   <l:gentext key="Revision" text="Revisi&#243;"/>
+   <l:gentext key="sect1" text="Secci&#243;"/>
+   <l:gentext key="sect2" text="Secci&#243;"/>
+   <l:gentext key="sect3" text="Secci&#243;"/>
+   <l:gentext key="sect4" text="Secci&#243;"/>
+   <l:gentext key="sect5" text="Secci&#243;"/>
+   <l:gentext key="section" text="Secci&#243;"/>
+   <l:gentext key="Section" text="Secci&#243;"/>
+   <l:gentext key="see" text="Veure"/>
+   <l:gentext key="See" text="Veure"/>
+   <l:gentext key="seealso" text="Veure tamb&#233;"/>
+   <l:gentext key="Seealso" text="Veure tamb&#233;"/>
+   <l:gentext key="SeeAlso" text="Veure Tamb&#233;"/>
+   <l:gentext key="set" text="Conjunt"/>
+   <l:gentext key="Set" text="Conjunt"/>
+   <l:gentext key="setindex" text="&#205;ndex del conjunt"/>
+   <l:gentext key="SetIndex" text="&#205;ndex del conjunt"/>
+   <l:gentext key="Sidebar" text="Barra lateral"/>
+   <l:gentext key="sidebar" text="Barra lateral"/>
+   <l:gentext key="step" text="Pas"/>
+   <l:gentext key="Step" text="Pas"/>
+   <l:gentext key="table" text="Taula"/>
+   <l:gentext key="Table" text="Taula"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Suggeriment"/>
+   <l:gentext key="TIP" text="SUGGERIMENT"/>
+   <l:gentext key="Tip" text="Suggeriment"/>
+   <l:gentext key="Warning" text="Av&#237;s"/>
+   <l:gentext key="warning" text="Av&#237;s"/>
+   <l:gentext key="WARNING" text="AV&#205;S"/>
+   <l:gentext key="and" text="i"/>
+   <l:gentext key="by" text="per"/>
+   <l:gentext key="Edited" text="Editat"/>
+   <l:gentext key="edited" text="Editat"/>
+   <l:gentext key="Editedby" text="Editat per"/>
+   <l:gentext key="editedby" text="Editat per"/>
+   <l:gentext key="in" text="a"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="element inexistent"/>
+   <l:gentext key="notes" text="notes"/>
+   <l:gentext key="Notes" text="Notes"/>
+   <l:gentext key="Pgs" text="P&#224;gs."/>
+   <l:gentext key="pgs" text="P&#224;gs."/>
+   <l:gentext key="Revisedby" text="Revisat per: "/>
+   <l:gentext key="revisedby" text="Revisat per: "/>
+   <l:gentext key="TableNotes" text="Notes de taula"/>
+   <l:gentext key="tablenotes" text="Notes de taula"/>
+   <l:gentext key="TableofContents" text="Sumari"/>
+   <l:gentext key="tableofcontents" text="Sumari"/>
+   <l:gentext key="unexpectedelementname" text="nom d'element inesperat"/>
+   <l:gentext key="unsupported" text="no reconeguda"/>
+   <l:gentext key="xrefto" text="refer&#232;ncia a"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#205;ndex d'equacions"/>
+   <l:gentext key="ListofEquations" text="&#205;ndex d'equacions"/>
+   <l:gentext key="ListofExamples" text="&#205;ndex d'exemples"/>
+   <l:gentext key="listofexamples" text="&#205;ndex d'exemples"/>
+   <l:gentext key="ListofFigures" text="&#205;ndex de figures"/>
+   <l:gentext key="listoffigures" text="&#205;ndex de figures"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="&#205;ndex de taules"/>
+   <l:gentext key="ListofTables" text="&#205;ndex de taules"/>
+   <l:gentext key="ListofUnknown" text="&#205;ndex de desconegut ?"/>
+   <l:gentext key="listofunknown" text="&#205;ndex de desconegut ?"/>
+   <l:gentext key="nav-home" text="Inici"/>
+   <l:gentext key="nav-next" text="Seg&#252;ent"/>
+   <l:gentext key="nav-next-sibling" text="Avan&#231;ar"/>
+   <l:gentext key="nav-prev" text="Anterior"/>
+   <l:gentext key="nav-prev-sibling" text="Retrocedir"/>
+   <l:gentext key="nav-up" text="Pujar"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Esborrany"/>
+   <l:gentext key="above" text="dalt"/>
+   <l:gentext key="below" text="baix"/>
+   <l:gentext key="sectioncalled" text="secci&#243; anomenada"/>
+   <l:gentext key="index symbols" text="S&#237;mbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#224;&#232;&#233;&#237;&#242;&#243;&#250;&#241;&#231;"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#192;&#200;&#201;&#205;&#210;&#211;&#218;&#209;&#199;"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="last-first"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Ap&#232;ndix %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Cap&#237;tol %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Equaci&#243; %n. %t"/>
+      <l:template name="example" text="Exemple %n. %t"/>
+      <l:template name="figure" text="Figura %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Part %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Procediment&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Producci&#243;&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Taula %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Ap&#232;ndix %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Cap&#237;tol %n. %t"/>
+      <l:template name="part" text="Part&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="Resposta&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Pregunta&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Pregunta&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="Resposta&#160;%n"/>
+      <l:template name="appendix" text="Ap&#232;ndix&#160;%n"/>
+      <l:template name="bridgehead" text="Secci&#243;&#160;%n"/>
+      <l:template name="chapter" text="Cap&#237;tol&#160;%n"/>
+      <l:template name="equation" text="Equaci&#243;&#160;%n"/>
+      <l:template name="example" text="Exemple&#160;%n"/>
+      <l:template name="figure" text="Figura&#160;%n"/>
+      <l:template name="part" text="Part&#160;%n"/>
+      <l:template name="procedure" text="Procediment&#160;%n"/>
+      <l:template name="productionset" text="Producci&#243;&#160;%n"/>
+      <l:template name="qandadiv" text="Pregunta i Resposta&#160;%n"/>
+      <l:template name="qandaentry" text="Pregunta&#160;%n"/>
+      <l:template name="question" text="Pregunta&#160;%n"/>
+      <l:template name="sect1" text="Secci&#243;&#160;%n"/>
+      <l:template name="sect2" text="Secci&#243;&#160;%n"/>
+      <l:template name="sect3" text="Secci&#243;&#160;%n"/>
+      <l:template name="sect4" text="Secci&#243;&#160;%n"/>
+      <l:template name="sect5" text="Secci&#243;&#160;%n"/>
+      <l:template name="section" text="Secci&#243;&#160;%n"/>
+      <l:template name="table" text="Taula&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Ap&#232;ndix&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Cap&#237;tol&#160;%n, %t"/>
+      <l:template name="equation" text="Equaci&#243;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Exemple&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Figura&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Part&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Procediment&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Producci&#243;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Pregunta i Resposta&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="secci&#243; anomenada &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="secci&#243; anomenada &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="secci&#243; anomenada &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="secci&#243; anomenada &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Secci&#243;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="secci&#243; anomenada &#8220;%t&#8221;"/>
+      <l:template name="table" text="Taula&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" i "/>
+      <l:template name="seplast" text=", i "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Veure %t"/>
+      <l:template name="seealso" text="Veure tamb&#233; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Audi&#232;ncia: "/>
+      <l:template name="MsgLevel" text="Nivell: "/>
+      <l:template name="MsgOrig" text="Origen: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0403 Catalan"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/common.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/common.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/common.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,2094 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                xmlns:dyn="http://exslt.org/dynamic"
+                xmlns:saxon="http://icl.com/saxon"
+                exclude-result-prefixes="doc dyn saxon"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: common.xsl 6399 2006-11-11 09:32:28Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     This file contains general templates common to both the HTML and FO
+     versions of the DocBook stylesheets.
+     ******************************************************************** -->
+
+<doc:reference xmlns="">
+<referenceinfo>
+<releaseinfo role="meta">
+$Id: common.xsl 6399 2006-11-11 09:32:28Z bobstayton $
+</releaseinfo>
+<author><surname>Walsh</surname>
+<firstname>Norman</firstname></author>
+<copyright><year>1999</year><year>2000</year>
+<holder>Norman Walsh</holder>
+</copyright>
+</referenceinfo>
+<title>Common Template Reference</title>
+
+<partintro id="partintro">
+<title>Introduction</title>
+
+<para>This is technical reference documentation for the DocBook XSL
+Stylesheets; it documents (some of) the parameters, templates, and
+other elements of the stylesheets.</para>
+
+<para>This is not intended to be <quote>user</quote> documentation.
+It is provided for developers writing customization layers for the
+stylesheets, and for anyone who's interested in <quote>how it
+works</quote>.</para>
+
+<para>Although I am trying to be thorough, this documentation is known
+to be incomplete. Don't forget to read the source, too :-)</para>
+</partintro>
+
+</doc:reference>
+
+<!-- ==================================================================== -->
+<!-- Establish strip/preserve whitespace rules -->
+
+<xsl:preserve-space elements="*"/>
+
+<xsl:strip-space elements="
+abstract affiliation anchor answer appendix area areaset areaspec
+artheader article audiodata audioobject author authorblurb authorgroup
+beginpage bibliodiv biblioentry bibliography biblioset blockquote book
+bookbiblio bookinfo callout calloutlist caption caution chapter
+citerefentry cmdsynopsis co collab colophon colspec confgroup
+copyright dedication docinfo editor entrytbl epigraph equation
+example figure footnote footnoteref formalpara funcprototype
+funcsynopsis glossary glossdef glossdiv glossentry glosslist graphicco
+group highlights imagedata imageobject imageobjectco important index
+indexdiv indexentry indexterm info informalequation informalexample
+informalfigure informaltable inlineequation inlinemediaobject
+itemizedlist itermset keycombo keywordset legalnotice listitem lot
+mediaobject mediaobjectco menuchoice msg msgentry msgexplan msginfo
+msgmain msgrel msgset msgsub msgtext note objectinfo
+orderedlist othercredit part partintro preface printhistory procedure
+programlistingco publisher qandadiv qandaentry qandaset question
+refentry reference refmeta refnamediv refsection refsect1 refsect1info refsect2
+refsect2info refsect3 refsect3info refsynopsisdiv refsynopsisdivinfo
+revhistory revision row sbr screenco screenshot sect1 sect1info sect2
+sect2info sect3 sect3info sect4 sect4info sect5 sect5info section
+sectioninfo seglistitem segmentedlist seriesinfo set setindex setinfo
+shortcut sidebar simplelist simplesect spanspec step subject
+subjectset substeps synopfragment table tbody textobject tfoot tgroup
+thead tip toc tocchap toclevel1 toclevel2 toclevel3 toclevel4
+toclevel5 tocpart varargs variablelist varlistentry videodata
+videoobject void warning subjectset
+
+classsynopsis
+constructorsynopsis
+destructorsynopsis
+fieldsynopsis
+methodparam
+methodsynopsis
+ooclass
+ooexception
+oointerface
+simplemsgentry
+manvolnum
+"/>
+<!-- ====================================================================== -->
+
+<doc:template name="is.component" xmlns="">
+<refpurpose>Tests if a given node is a component-level element</refpurpose>
+
+<refdescription>
+<para>This template returns '1' if the specified node is a component
+(Chapter, Appendix, etc.), and '0' otherwise.</para>
+</refdescription>
+
+<refparameter>
+<variablelist>
+<varlistentry><term>node</term>
+<listitem>
+<para>The node which is to be tested.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparameter>
+
+<refreturn>
+<para>This template returns '1' if the specified node is a component
+(Chapter, Appendix, etc.), and '0' otherwise.</para>
+</refreturn>
+</doc:template>
+
+<xsl:template name="is.component">
+  <xsl:param name="node" select="."/>
+  <xsl:choose>
+    <xsl:when test="local-name($node) = 'appendix'
+                    or local-name($node) = 'article'
+                    or local-name($node) = 'chapter'
+                    or local-name($node) = 'preface'
+                    or local-name($node) = 'bibliography'
+                    or local-name($node) = 'glossary'
+                    or local-name($node) = 'index'">1</xsl:when>
+    <xsl:otherwise>0</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<doc:template name="is.section" xmlns="">
+<refpurpose>Tests if a given node is a section-level element</refpurpose>
+
+<refdescription>
+<para>This template returns '1' if the specified node is a section
+(Section, Sect1, Sect2, etc.), and '0' otherwise.</para>
+</refdescription>
+
+<refparameter>
+<variablelist>
+<varlistentry><term>node</term>
+<listitem>
+<para>The node which is to be tested.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparameter>
+
+<refreturn>
+<para>This template returns '1' if the specified node is a section
+(Section, Sect1, Sect2, etc.), and '0' otherwise.</para>
+</refreturn>
+</doc:template>
+
+<xsl:template name="is.section">
+  <xsl:param name="node" select="."/>
+  <xsl:choose>
+    <xsl:when test="local-name($node) = 'section'
+                    or local-name($node) = 'sect1'
+                    or local-name($node) = 'sect2'
+                    or local-name($node) = 'sect3'
+                    or local-name($node) = 'sect4'
+                    or local-name($node) = 'sect5'
+                    or local-name($node) = 'refsect1'
+                    or local-name($node) = 'refsect2'
+                    or local-name($node) = 'refsect3'
+                    or local-name($node) = 'simplesect'">1</xsl:when>
+    <xsl:otherwise>0</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<doc:template name="section.level" xmlns="">
+<refpurpose>Returns the hierarchical level of a section</refpurpose>
+
+<refdescription>
+<para>This template calculates the hierarchical level of a section.
+The element <sgmltag>sect1</sgmltag> is at level 1, <sgmltag>sect2</sgmltag> is
+at level 2, etc.</para>
+
+<para>Recursive sections are calculated down to the fifth level.</para>
+</refdescription>
+
+<refparameter>
+<variablelist>
+<varlistentry><term>node</term>
+<listitem>
+<para>The section node for which the level should be calculated.
+Defaults to the context node.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparameter>
+
+<refreturn>
+<para>The section level, <quote>1</quote>, <quote>2</quote>, etc.
+</para>
+</refreturn>
+</doc:template>
+
+<xsl:template name="section.level">
+  <xsl:param name="node" select="."/>
+  <xsl:choose>
+    <xsl:when test="local-name($node)='sect1'">1</xsl:when>
+    <xsl:when test="local-name($node)='sect2'">2</xsl:when>
+    <xsl:when test="local-name($node)='sect3'">3</xsl:when>
+    <xsl:when test="local-name($node)='sect4'">4</xsl:when>
+    <xsl:when test="local-name($node)='sect5'">5</xsl:when>
+    <xsl:when test="local-name($node)='section'">
+      <xsl:choose>
+        <xsl:when test="$node/../../../../../../section">6</xsl:when>
+        <xsl:when test="$node/../../../../../section">5</xsl:when>
+        <xsl:when test="$node/../../../../section">4</xsl:when>
+        <xsl:when test="$node/../../../section">3</xsl:when>
+        <xsl:when test="$node/../../section">2</xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="local-name($node)='refsect1' or
+                    local-name($node)='refsect2' or
+                    local-name($node)='refsect3' or
+                    local-name($node)='refsection' or
+                    local-name($node)='refsynopsisdiv'">
+      <xsl:call-template name="refentry.section.level">
+        <xsl:with-param name="node" select="$node"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="local-name($node)='simplesect'">
+      <xsl:choose>
+        <xsl:when test="$node/../../sect1">2</xsl:when>
+        <xsl:when test="$node/../../sect2">3</xsl:when>
+        <xsl:when test="$node/../../sect3">4</xsl:when>
+        <xsl:when test="$node/../../sect4">5</xsl:when>
+        <xsl:when test="$node/../../sect5">5</xsl:when>
+        <xsl:when test="$node/../../section">
+          <xsl:choose>
+            <xsl:when test="$node/../../../../../section">5</xsl:when>
+            <xsl:when test="$node/../../../../section">4</xsl:when>
+            <xsl:when test="$node/../../../section">3</xsl:when>
+            <xsl:otherwise>2</xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>1</xsl:otherwise>
+  </xsl:choose>
+</xsl:template><!-- section.level -->
+
+<doc:template name="qanda.section.level" xmlns="">
+<refpurpose>Returns the hierarchical level of a QandASet</refpurpose>
+
+<refdescription>
+<para>This template calculates the hierarchical level of a QandASet.
+</para>
+</refdescription>
+
+<refreturn>
+<para>The level, <quote>1</quote>, <quote>2</quote>, etc.
+</para>
+</refreturn>
+</doc:template>
+
+<xsl:template name="qanda.section.level">
+  <xsl:variable name="section"
+                select="(ancestor::section
+                         |ancestor::simplesect
+                         |ancestor::sect5
+                         |ancestor::sect4
+                         |ancestor::sect3
+                         |ancestor::sect2
+                         |ancestor::sect1
+                         |ancestor::refsect3
+                         |ancestor::refsect2
+                         |ancestor::refsect1)[last()]"/>
+
+  <xsl:choose>
+    <xsl:when test="count($section) = '0'">1</xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="slevel">
+        <xsl:call-template name="section.level">
+          <xsl:with-param name="node" select="$section"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:value-of select="$slevel + 1"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- Finds the total section depth of a section in a refentry -->
+<xsl:template name="refentry.section.level">
+  <xsl:param name="node" select="."/>
+
+  <xsl:variable name="RElevel">
+    <xsl:call-template name="refentry.level">
+      <xsl:with-param name="node" select="$node/ancestor::refentry[1]"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="levelinRE">
+    <xsl:choose>
+      <xsl:when test="local-name($node)='refsynopsisdiv'">1</xsl:when>
+      <xsl:when test="local-name($node)='refsect1'">1</xsl:when>
+      <xsl:when test="local-name($node)='refsect2'">2</xsl:when>
+      <xsl:when test="local-name($node)='refsect3'">3</xsl:when>
+      <xsl:when test="local-name($node)='refsection'">
+        <xsl:choose>
+          <xsl:when test="$node/../../../../../refsection">5</xsl:when>
+          <xsl:when test="$node/../../../../refsection">4</xsl:when>
+          <xsl:when test="$node/../../../refsection">3</xsl:when>
+          <xsl:when test="$node/../../refsection">2</xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:value-of select="$levelinRE + $RElevel"/>
+</xsl:template>
+
+<!-- Finds the section depth of a refentry -->
+<xsl:template name="refentry.level">
+  <xsl:param name="node" select="."/>
+  <xsl:variable name="container"
+                select="($node/ancestor::section |
+                        $node/ancestor::sect1 |
+                        $node/ancestor::sect2 |
+                        $node/ancestor::sect3 |
+                        $node/ancestor::sect4 |
+                        $node/ancestor::sect5)[last()]"/>
+
+  <xsl:choose>
+    <xsl:when test="$container">
+      <xsl:variable name="slevel">
+        <xsl:call-template name="section.level">
+          <xsl:with-param name="node" select="$container"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:value-of select="$slevel + 1"/>
+    </xsl:when>
+    <xsl:otherwise>1</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="qandadiv.section.level">
+  <xsl:variable name="section.level">
+    <xsl:call-template name="qanda.section.level"/>
+  </xsl:variable>
+  <xsl:variable name="anc.divs" select="ancestor::qandadiv"/>
+
+  <xsl:value-of select="count($anc.divs) + number($section.level)"/>
+</xsl:template>
+
+<xsl:template name="question.answer.label">
+  <xsl:variable name="deflabel">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+        <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]
+                              /@defaultlabel"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$qanda.defaultlabel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="label" select="@label"/>
+
+<!--
+ (hnr      (hierarchical-number-recursive (normalize "qandadiv") node))
+
+         (parsect  (ancestor-member node (section-element-list)))
+
+         (defnum   (if (and %qanda-inherit-numeration% 
+                            %section-autolabel%)
+                       (if (node-list-empty? parsect)
+                           (section-autolabel-prefix node)
+                           (section-autolabel parsect))
+                       ""))
+
+         (hnumber  (let loop ((numlist hnr) (number defnum) 
+                              (sep (if (equal? defnum "") "" ".")))
+                     (if (null? numlist)
+                         number
+                         (loop (cdr numlist) 
+                               (string-append number
+                                              sep
+                                              (number->string (car numlist)))
+                               "."))))
+         (cnumber  (child-number (parent node)))
+         (number   (string-append hnumber 
+                                  (if (equal? hnumber "")
+                                      ""
+                                      ".")
+                                  (number->string cnumber))))
+-->
+
+  <xsl:choose>
+    <xsl:when test="$deflabel = 'qanda'">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key">
+          <xsl:choose>
+            <xsl:when test="local-name(.) = 'question'">question</xsl:when>
+            <xsl:when test="local-name(.) = 'answer'">answer</xsl:when>
+            <xsl:when test="local-name(.) = 'qandadiv'">qandadiv</xsl:when>
+            <xsl:otherwise>qandaset</xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$deflabel = 'label'">
+      <xsl:value-of select="$label"/>
+    </xsl:when>
+    <xsl:when test="$deflabel = 'number'
+                    and local-name(.) = 'question'">
+      <xsl:apply-templates select="ancestor::qandaset[1]"
+                           mode="number"/>
+      <xsl:choose>
+        <xsl:when test="ancestor::qandadiv">
+          <xsl:apply-templates select="ancestor::qandadiv[1]"
+                               mode="number"/>
+          <xsl:apply-templates select="ancestor::qandaentry"
+                               mode="number"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="ancestor::qandaentry"
+                               mode="number"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- nothing -->
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="qandaset" mode="number">
+  <!-- FIXME: -->
+</xsl:template>
+
+<xsl:template match="qandadiv" mode="number">
+  <xsl:number level="multiple" from="qandaset" format="1."/>
+</xsl:template>
+
+<xsl:template match="qandaentry" mode="number">
+  <xsl:choose>
+    <xsl:when test="ancestor::qandadiv">
+      <xsl:number level="single" from="qandadiv" format="1."/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:number level="single" from="qandaset" format="1."/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="object.id">
+  <xsl:param name="object" select="."/>
+  <xsl:choose>
+    <xsl:when test="$object/@id">
+      <xsl:value-of select="$object/@id"/>
+    </xsl:when>
+    <xsl:when test="$object/@xml:id">
+      <xsl:value-of select="$object/@xml:id"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="generate-id($object)"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="person.name">
+  <!-- Formats a personal name. Handles corpauthor as a special case. -->
+  <xsl:param name="node" select="."/>
+
+  <xsl:variable name="style">
+    <xsl:choose>
+      <xsl:when test="$node/@role">
+        <xsl:value-of select="$node/@role"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="gentext.template">
+          <xsl:with-param name="context" select="'styles'"/>
+          <xsl:with-param name="name" select="'person-name'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <!-- the personname element is a specialcase -->
+    <xsl:when test="$node/personname">
+      <xsl:call-template name="person.name">
+        <xsl:with-param name="node" select="$node/personname"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <!-- handle corpauthor as a special case...-->
+    <xsl:when test="local-name($node)='corpauthor'">
+      <xsl:apply-templates select="$node"/>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:choose>
+        <!-- Handle case when personname contains only general markup (DocBook 5.0) -->
+        <xsl:when test="$node/self::personname and not($node/firstname or $node/honorific or $node/lineage or $node/othername or $node/surname)">
+          <xsl:apply-templates select="$node/node()"/>
+        </xsl:when>
+        <xsl:when test="$style = 'family-given'">
+          <xsl:call-template name="person.name.family-given">
+            <xsl:with-param name="node" select="$node"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$style = 'last-first'">
+          <xsl:call-template name="person.name.last-first">
+            <xsl:with-param name="node" select="$node"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="person.name.first-last">
+            <xsl:with-param name="node" select="$node"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="person.name.family-given">
+  <xsl:param name="node" select="."/>
+
+  <!-- The family-given style applies a convention for identifying given -->
+  <!-- and family names in locales where it may be ambiguous -->
+  <xsl:apply-templates select="$node//surname[1]"/>
+
+  <xsl:if test="$node//surname and $node//firstname">
+    <xsl:text> </xsl:text>
+  </xsl:if>
+
+  <xsl:apply-templates select="$node//firstname[1]"/>
+
+  <xsl:text> [FAMILY Given]</xsl:text>
+</xsl:template>
+
+<xsl:template name="person.name.last-first">
+  <xsl:param name="node" select="."/>
+
+  <xsl:apply-templates select="$node//surname[1]"/>
+
+  <xsl:if test="$node//surname and $node//firstname">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+
+  <xsl:apply-templates select="$node//firstname[1]"/>
+</xsl:template>
+
+<xsl:template name="person.name.first-last">
+  <xsl:param name="node" select="."/>
+
+  <xsl:if test="$node//honorific">
+    <xsl:apply-templates select="$node//honorific[1]"/>
+    <xsl:value-of select="$punct.honorific"/>
+  </xsl:if>
+
+  <xsl:if test="$node//firstname">
+    <xsl:if test="$node//honorific">
+      <xsl:text> </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="$node//firstname[1]"/>
+  </xsl:if>
+
+  <xsl:if test="$node//othername and $author.othername.in.middle != 0">
+    <xsl:if test="$node//honorific or $node//firstname">
+      <xsl:text> </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="$node//othername[1]"/>
+  </xsl:if>
+
+  <xsl:if test="$node//surname">
+    <xsl:if test="$node//honorific or $node//firstname
+                  or ($node//othername and $author.othername.in.middle != 0)">
+      <xsl:text> </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="$node//surname[1]"/>
+  </xsl:if>
+
+  <xsl:if test="$node//lineage">
+    <xsl:text>, </xsl:text>
+    <xsl:apply-templates select="$node//lineage[1]"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="person.name.list">
+  <!-- Return a formatted string representation of the contents of
+       the current element. The current element must contain one or
+       more AUTHORs, CORPAUTHORs, OTHERCREDITs, and/or EDITORs.
+
+       John Doe
+     or
+       John Doe and Jane Doe
+     or
+       John Doe, Jane Doe, and A. Nonymous
+  -->
+  <xsl:param name="person.list"
+             select="author|corpauthor|othercredit|editor"/>
+  <xsl:param name="person.count" select="count($person.list)"/>
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="$count &gt; $person.count"></xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="person.name">
+        <xsl:with-param name="node" select="$person.list[position()=$count]"/>
+      </xsl:call-template>
+
+      <xsl:choose>
+        <xsl:when test="$person.count = 2 and $count = 1">
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="context" select="'authorgroup'"/>
+            <xsl:with-param name="name" select="'sep2'"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$person.count &gt; 2 and $count+1 = $person.count">
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="context" select="'authorgroup'"/>
+            <xsl:with-param name="name" select="'seplast'"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$count &lt; $person.count">
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="context" select="'authorgroup'"/>
+            <xsl:with-param name="name" select="'sep'"/>
+          </xsl:call-template>
+        </xsl:when>
+      </xsl:choose>
+
+      <xsl:call-template name="person.name.list">
+        <xsl:with-param name="person.list" select="$person.list"/>
+        <xsl:with-param name="person.count" select="$person.count"/>
+        <xsl:with-param name="count" select="$count+1"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template><!-- person.name.list -->
+
+<!-- === synopsis ======================================================= -->
+<!-- The following definitions match those given in the reference
+     documentation for DocBook V3.0
+-->
+
+<xsl:variable name="arg.choice.opt.open.str">[</xsl:variable>
+<xsl:variable name="arg.choice.opt.close.str">]</xsl:variable>
+<xsl:variable name="arg.choice.req.open.str">{</xsl:variable>
+<xsl:variable name="arg.choice.req.close.str">}</xsl:variable>
+<xsl:variable name="arg.choice.plain.open.str"><xsl:text> </xsl:text></xsl:variable>
+<xsl:variable name="arg.choice.plain.close.str"><xsl:text> </xsl:text></xsl:variable>
+<xsl:variable name="arg.choice.def.open.str">[</xsl:variable>
+<xsl:variable name="arg.choice.def.close.str">]</xsl:variable>
+<xsl:variable name="arg.rep.repeat.str">...</xsl:variable>
+<xsl:variable name="arg.rep.norepeat.str"></xsl:variable>
+<xsl:variable name="arg.rep.def.str"></xsl:variable>
+<xsl:variable name="arg.or.sep"> | </xsl:variable>
+<xsl:variable name="cmdsynopsis.hanging.indent">4pi</xsl:variable>
+
+<!-- ====================================================================== -->
+
+<!--
+<xsl:template name="xref.g.subst">
+  <xsl:param name="string"></xsl:param>
+  <xsl:param name="target" select="."/>
+  <xsl:variable name="subst">%g</xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, $subst)">
+      <xsl:value-of select="substring-before($string, $subst)"/>
+      <xsl:call-template name="gentext.element.name">
+        <xsl:with-param name="element.name" select="local-name($target)"/>
+      </xsl:call-template>
+      <xsl:call-template name="xref.g.subst">
+        <xsl:with-param name="string"
+                        select="substring-after($string, $subst)"/>
+        <xsl:with-param name="target" select="$target"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$string"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="xref.t.subst">
+  <xsl:param name="string"></xsl:param>
+  <xsl:param name="target" select="."/>
+  <xsl:variable name="subst">%t</xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, $subst)">
+      <xsl:call-template name="xref.g.subst">
+        <xsl:with-param name="string"
+                        select="substring-before($string, $subst)"/>
+        <xsl:with-param name="target" select="$target"/>
+      </xsl:call-template>
+      <xsl:call-template name="title.xref">
+        <xsl:with-param name="target" select="$target"/>
+      </xsl:call-template>
+      <xsl:call-template name="xref.t.subst">
+        <xsl:with-param name="string"
+                        select="substring-after($string, $subst)"/>
+        <xsl:with-param name="target" select="$target"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="xref.g.subst">
+        <xsl:with-param name="string" select="$string"/>
+        <xsl:with-param name="target" select="$target"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="xref.n.subst">
+  <xsl:param name="string"></xsl:param>
+  <xsl:param name="target" select="."/>
+  <xsl:variable name="subst">%n</xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, $subst)">
+      <xsl:call-template name="xref.t.subst">
+        <xsl:with-param name="string"
+                        select="substring-before($string, $subst)"/>
+        <xsl:with-param name="target" select="$target"/>
+      </xsl:call-template>
+      <xsl:call-template name="number.xref">
+        <xsl:with-param name="target" select="$target"/>
+      </xsl:call-template>
+      <xsl:call-template name="xref.t.subst">
+        <xsl:with-param name="string"
+                        select="substring-after($string, $subst)"/>
+        <xsl:with-param name="target" select="$target"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="xref.t.subst">
+        <xsl:with-param name="string" select="$string"/>
+        <xsl:with-param name="target" select="$target"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="subst.xref.text">
+  <xsl:param name="xref.text"></xsl:param>
+  <xsl:param name="target" select="."/>
+
+  <xsl:call-template name="xref.n.subst">
+    <xsl:with-param name="string" select="$xref.text"/>
+    <xsl:with-param name="target" select="$target"/>
+  </xsl:call-template>
+</xsl:template>
+-->
+
+<!-- ====================================================================== -->
+
+<xsl:template name="filename-basename">
+  <!-- We assume all filenames are really URIs and use "/" -->
+  <xsl:param name="filename"></xsl:param>
+  <xsl:param name="recurse" select="false()"/>
+
+  <xsl:choose>
+    <xsl:when test="substring-after($filename, '/') != ''">
+      <xsl:call-template name="filename-basename">
+        <xsl:with-param name="filename"
+                        select="substring-after($filename, '/')"/>
+        <xsl:with-param name="recurse" select="true()"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$filename"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="filename-extension">
+  <xsl:param name="filename"></xsl:param>
+  <xsl:param name="recurse" select="false()"/>
+
+  <!-- Make sure we only look at the base name... -->
+  <xsl:variable name="basefn">
+    <xsl:choose>
+      <xsl:when test="$recurse">
+        <xsl:value-of select="$filename"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="filename-basename">
+          <xsl:with-param name="filename" select="$filename"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="substring-after($basefn, '.') != ''">
+      <xsl:call-template name="filename-extension">
+        <xsl:with-param name="filename"
+                        select="substring-after($basefn, '.')"/>
+        <xsl:with-param name="recurse" select="true()"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$recurse">
+      <xsl:value-of select="$basefn"/>
+    </xsl:when>
+    <xsl:otherwise></xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<doc:template name="select.mediaobject" xmlns="">
+<refpurpose>Selects and processes an appropriate media object from a list</refpurpose>
+
+<refdescription>
+<para>This template takes a list of media objects (usually the
+children of a mediaobject or inlinemediaobject) and processes
+the "right" object.</para>
+
+<para>This template relies on a template named 
+"select.mediaobject.index" to determine which object
+in the list is appropriate.</para>
+
+<para>If no acceptable object is located, nothing happens.</para>
+</refdescription>
+
+<refparameter>
+<variablelist>
+<varlistentry><term>olist</term>
+<listitem>
+<para>The node list of potential objects to examine.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparameter>
+
+<refreturn>
+<para>Calls &lt;xsl:apply-templates&gt; on the selected object.</para>
+</refreturn>
+</doc:template>
+
+<xsl:template name="select.mediaobject">
+  <xsl:param name="olist"
+             select="imageobject|imageobjectco
+                     |videoobject|audioobject|textobject"/>
+  
+  <xsl:variable name="mediaobject.index">
+    <xsl:call-template name="select.mediaobject.index">
+      <xsl:with-param name="olist" select="$olist"/>
+      <xsl:with-param name="count" select="1"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="$mediaobject.index != ''">
+    <xsl:apply-templates select="$olist[position() = $mediaobject.index]"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<doc:template name="select.mediaobject.index" xmlns="">
+<refpurpose>Selects the position of the appropriate media object from a list</refpurpose>
+
+<refdescription>
+<para>This template takes a list of media objects (usually the
+children of a mediaobject or inlinemediaobject) and determines
+the "right" object. It returns the position of that object
+to be used by the calling template.</para>
+
+<para>If the parameter <parameter>use.role.for.mediaobject</parameter>
+is nonzero, then it first checks for an object with
+a role attribute of the appropriate value.  It takes the first
+of those.  Otherwise, it takes the first acceptable object
+through a recursive pass through the list.</para>
+
+<para>This template relies on a template named "is.acceptable.mediaobject"
+to determine if a given object is an acceptable graphic. The semantics
+of media objects is that the first acceptable graphic should be used.
+</para>
+
+<para>If no acceptable object is located, no index is returned.</para>
+</refdescription>
+
+<refparameter>
+<variablelist>
+<varlistentry><term>olist</term>
+<listitem>
+<para>The node list of potential objects to examine.</para>
+</listitem>
+</varlistentry>
+<varlistentry><term>count</term>
+<listitem>
+<para>The position in the list currently being considered by the 
+recursive process.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparameter>
+
+<refreturn>
+<para>Returns the position in the original list of the selected object.</para>
+</refreturn>
+</doc:template>
+
+<xsl:template name="select.mediaobject.index">
+  <xsl:param name="olist"
+             select="imageobject|imageobjectco
+                     |videoobject|audioobject|textobject"/>
+  <xsl:param name="count">1</xsl:param>
+
+  <xsl:choose>
+    <!-- Test for objects preferred by role -->
+    <xsl:when test="$use.role.for.mediaobject != 0 
+               and $preferred.mediaobject.role != ''
+               and $olist[@role = $preferred.mediaobject.role]"> 
+      
+      <!-- Get the first hit's position index -->
+      <xsl:for-each select="$olist">
+        <xsl:if test="@role = $preferred.mediaobject.role and
+             not(preceding-sibling::*[@role = $preferred.mediaobject.role])"> 
+          <xsl:value-of select="position()"/> 
+        </xsl:if>
+      </xsl:for-each>
+    </xsl:when>
+
+    <xsl:when test="$use.role.for.mediaobject != 0 
+               and $olist[@role = $stylesheet.result.type]">
+      <!-- Get the first hit's position index -->
+      <xsl:for-each select="$olist">
+        <xsl:if test="@role = $stylesheet.result.type and 
+              not(preceding-sibling::*[@role = $stylesheet.result.type])"> 
+          <xsl:value-of select="position()"/> 
+        </xsl:if>
+      </xsl:for-each>
+    </xsl:when>
+    <!-- Accept 'html' for $stylesheet.result.type = 'xhtml' -->
+    <xsl:when test="$use.role.for.mediaobject != 0 
+               and $stylesheet.result.type = 'xhtml'
+               and $olist[@role = 'html']">
+      <!-- Get the first hit's position index -->
+      <xsl:for-each select="$olist">
+        <xsl:if test="@role = 'html' and 
+              not(preceding-sibling::*[@role = 'html'])"> 
+          <xsl:value-of select="position()"/> 
+        </xsl:if>
+      </xsl:for-each>
+    </xsl:when>
+
+    <!-- If no selection by role, and there is only one object, use it -->
+    <xsl:when test="count($olist) = 1 and $count = 1">
+      <xsl:value-of select="$count"/> 
+    </xsl:when>
+
+    <xsl:otherwise>
+      <!-- Otherwise select first acceptable object -->
+      <xsl:if test="$count &lt;= count($olist)">
+        <xsl:variable name="object" select="$olist[position()=$count]"/>
+    
+        <xsl:variable name="useobject">
+          <xsl:choose>
+            <!-- The phrase is used only when contains TeX Math and output is FO -->
+            <xsl:when test="local-name($object)='textobject' and $object/phrase
+                            and $object/@role='tex' and $stylesheet.result.type = 'fo'
+                            and $tex.math.in.alt != ''">
+              <xsl:text>1</xsl:text> 
+            </xsl:when>
+            <!-- The phrase is never used -->
+            <xsl:when test="local-name($object)='textobject' and $object/phrase">
+              <xsl:text>0</xsl:text>
+            </xsl:when>
+            <xsl:when test="local-name($object)='textobject'
+                            and $object/ancestor::equation ">
+            <!-- The first textobject is not a reasonable fallback
+                 for equation image -->
+              <xsl:text>0</xsl:text>
+            </xsl:when>
+            <!-- The first textobject is a reasonable fallback -->
+            <xsl:when test="local-name($object)='textobject'
+                            and $object[not(@role) or @role!='tex']">
+              <xsl:text>1</xsl:text>
+            </xsl:when>
+            <!-- don't use graphic when output is FO, TeX Math is used 
+                 and there is math in alt element -->
+            <xsl:when test="$object/ancestor::equation and 
+                            $object/ancestor::equation/alt[@role='tex']
+                            and $stylesheet.result.type = 'fo'
+                            and $tex.math.in.alt != ''">
+              <xsl:text>0</xsl:text>
+            </xsl:when>
+            <!-- If there's only one object, use it -->
+            <xsl:when test="$count = 1 and count($olist) = 1">
+               <xsl:text>1</xsl:text>
+            </xsl:when>
+            <!-- Otherwise, see if this one is a useable graphic -->
+            <xsl:otherwise>
+              <xsl:choose>
+                <!-- peek inside imageobjectco to simplify the test -->
+                <xsl:when test="local-name($object) = 'imageobjectco'">
+                  <xsl:call-template name="is.acceptable.mediaobject">
+                    <xsl:with-param name="object" select="$object/imageobject"/>
+                  </xsl:call-template>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:call-template name="is.acceptable.mediaobject">
+                    <xsl:with-param name="object" select="$object"/>
+                  </xsl:call-template>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+    
+        <xsl:choose>
+          <xsl:when test="$useobject='1'">
+            <xsl:value-of select="$count"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="select.mediaobject.index">
+              <xsl:with-param name="olist" select="$olist"/>
+              <xsl:with-param name="count" select="$count + 1"/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<doc:template name="is.acceptable.mediaobject" xmlns="">
+<refpurpose>Returns '1' if the specified media object is recognized</refpurpose>
+
+<refdescription>
+<para>This template examines a media object and returns '1' if the
+object is recognized as a graphic.</para>
+</refdescription>
+
+<refparameter>
+<variablelist>
+<varlistentry><term>object</term>
+<listitem>
+<para>The media object to consider.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparameter>
+
+<refreturn>
+<para>0 or 1</para>
+</refreturn>
+</doc:template>
+
+<xsl:template name="is.acceptable.mediaobject">
+  <xsl:param name="object"></xsl:param>
+
+  <xsl:variable name="filename">
+    <xsl:call-template name="mediaobject.filename">
+      <xsl:with-param name="object" select="$object"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="ext">
+    <xsl:call-template name="filename-extension">
+      <xsl:with-param name="filename" select="$filename"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <!-- there will only be one -->
+  <xsl:variable name="data" select="$object/videodata
+                                    |$object/imagedata
+                                    |$object/audiodata"/>
+
+  <xsl:variable name="format" select="$data/@format"/>
+
+  <xsl:variable name="graphic.format">
+    <xsl:if test="$format">
+      <xsl:call-template name="is.graphic.format">
+        <xsl:with-param name="format" select="$format"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="graphic.ext">
+    <xsl:if test="$ext">
+      <xsl:call-template name="is.graphic.extension">
+        <xsl:with-param name="ext" select="$ext"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$use.svg = 0 and $format = 'SVG'">0</xsl:when>
+    <xsl:when xmlns:svg="http://www.w3.org/2000/svg"
+              test="$use.svg != 0 and $object/svg:*">1</xsl:when>
+    <xsl:when test="$graphic.format = '1'">1</xsl:when>
+    <xsl:when test="$graphic.ext = '1'">1</xsl:when>
+    <xsl:otherwise>0</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="mediaobject.filename">
+  <xsl:param name="object"></xsl:param>
+
+  <xsl:variable name="data" select="$object/videodata
+                                    |$object/imagedata
+                                    |$object/audiodata
+                                    |$object"/>
+
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="$data[@fileref]">
+        <xsl:apply-templates select="$data/@fileref"/>
+      </xsl:when>
+      <xsl:when test="$data[@entityref]">
+        <xsl:value-of select="unparsed-entity-uri($data/@entityref)"/>
+      </xsl:when>
+      <xsl:otherwise></xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="real.ext">
+    <xsl:call-template name="filename-extension">
+      <xsl:with-param name="filename" select="$filename"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="ext">
+    <xsl:choose>
+      <xsl:when test="$real.ext != ''">
+        <xsl:value-of select="$real.ext"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$graphic.default.extension"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="graphic.ext">
+    <xsl:call-template name="is.graphic.extension">
+      <xsl:with-param name="ext" select="$ext"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$real.ext = ''">
+      <xsl:choose>
+        <xsl:when test="$ext != ''">
+          <xsl:value-of select="$filename"/>
+          <xsl:text>.</xsl:text>
+          <xsl:value-of select="$ext"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$filename"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="not($graphic.ext)">
+      <xsl:choose>
+        <xsl:when test="$graphic.default.extension != ''">
+          <xsl:value-of select="$filename"/>
+          <xsl:text>.</xsl:text>
+          <xsl:value-of select="$graphic.default.extension"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$filename"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$filename"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<doc:template name="check.id.unique" xmlns="">
+<refpurpose>Warn users about references to non-unique IDs</refpurpose>
+<refdescription>
+<para>If passed an ID in <varname>linkend</varname>,
+<function>check.id.unique</function> prints
+a warning message to the user if either the ID does not exist or
+the ID is not unique.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template name="check.id.unique">
+  <xsl:param name="linkend"></xsl:param>
+  <xsl:if test="$linkend != ''">
+    <xsl:variable name="targets" select="key('id',$linkend)"/>
+    <xsl:variable name="target" select="$targets[1]"/>
+
+    <xsl:if test="count($targets)=0">
+      <xsl:message>
+        <xsl:text>Error: no ID for constraint linkend: </xsl:text>
+        <xsl:value-of select="$linkend"/>
+        <xsl:text>.</xsl:text>
+      </xsl:message>
+      <!--
+      <xsl:message>
+        <xsl:text>If the ID exists in your document, did your </xsl:text>
+        <xsl:text>XSLT Processor load the DTD?</xsl:text>
+      </xsl:message>
+      -->
+    </xsl:if>
+
+    <xsl:if test="count($targets)>1">
+      <xsl:message>
+        <xsl:text>Warning: multiple "IDs" for constraint linkend: </xsl:text>
+        <xsl:value-of select="$linkend"/>
+        <xsl:text>.</xsl:text>
+      </xsl:message>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<doc:template name="check.idref.targets" xmlns="">
+<refpurpose>Warn users about incorrectly typed references</refpurpose>
+<refdescription>
+<para>If passed an ID in <varname>linkend</varname>,
+<function>check.idref.targets</function> makes sure that the element
+pointed to by the link is one of the elements listed in
+<varname>element-list</varname> and warns the user otherwise.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template name="check.idref.targets">
+  <xsl:param name="linkend"></xsl:param>
+  <xsl:param name="element-list"></xsl:param>
+  <xsl:if test="$linkend != ''">
+    <xsl:variable name="targets" select="key('id',$linkend)"/>
+    <xsl:variable name="target" select="$targets[1]"/>
+
+    <xsl:if test="count($target) &gt; 0">
+      <xsl:if test="not(contains(concat(' ', $element-list, ' '), local-name($target)))">
+        <xsl:message>
+          <xsl:text>Error: linkend (</xsl:text>
+          <xsl:value-of select="$linkend"/>
+          <xsl:text>) points to "</xsl:text>
+          <xsl:value-of select="local-name($target)"/>
+          <xsl:text>" not (one of): </xsl:text>
+          <xsl:value-of select="$element-list"/>
+        </xsl:message>
+      </xsl:if>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- Procedure Step Numeration -->
+
+<xsl:param name="procedure.step.numeration.formats" select="'1aiAI'"/>
+
+<xsl:template name="procedure.step.numeration">
+  <xsl:param name="context" select="."/>
+  <xsl:variable name="format.length"
+                select="string-length($procedure.step.numeration.formats)"/>
+  <xsl:choose>
+    <xsl:when test="local-name($context) = 'substeps'">
+      <xsl:variable name="ssdepth"
+                    select="count($context/ancestor::substeps)"/>
+      <xsl:variable name="sstype" select="($ssdepth mod $format.length)+2"/>
+      <xsl:choose>
+        <xsl:when test="$sstype &gt; $format.length">
+          <xsl:value-of select="substring($procedure.step.numeration.formats,1,1)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="substring($procedure.step.numeration.formats,$sstype,1)"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="local-name($context) = 'step'">
+      <xsl:variable name="sdepth"
+                    select="count($context/ancestor::substeps)"/>
+      <xsl:variable name="stype" select="($sdepth mod $format.length)+1"/>
+      <xsl:value-of select="substring($procedure.step.numeration.formats,$stype,1)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>Unexpected context in procedure.step.numeration: </xsl:text>
+        <xsl:value-of select="local-name($context)"/>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="step" mode="number">
+  <xsl:param name="rest" select="''"/>
+  <xsl:param name="recursive" select="1"/>
+  <xsl:variable name="format">
+    <xsl:call-template name="procedure.step.numeration"/>
+  </xsl:variable>
+  <xsl:variable name="num">
+    <xsl:number count="step" format="{$format}"/>
+  </xsl:variable>
+  <xsl:choose>
+    <xsl:when test="$recursive != 0 and ancestor::step">
+      <xsl:apply-templates select="ancestor::step[1]" mode="number">
+        <xsl:with-param name="rest" select="concat('.', $num, $rest)"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="concat($num, $rest)"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- OrderedList Numeration -->
+
+<xsl:template name="orderedlist-starting-number">
+  <xsl:param name="list" select="."/>
+
+  <!-- Need a neutral dbxxx -->
+  <xsl:variable name="pi-html-start">
+    <xsl:call-template name="pi-attribute">
+      <xsl:with-param name="pis"
+                      select="$list/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'start'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="pi-fo-start">
+    <xsl:call-template name="pi-attribute">
+      <xsl:with-param name="pis"
+                      select="$list/processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'start'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="not($list/@continuation = 'continues')">
+      <xsl:choose>
+        <xsl:when test="@startingnumber">
+          <xsl:value-of select="@startingnumber"/>
+        </xsl:when>
+        <xsl:when test="$pi-html-start != ''">
+          <xsl:value-of select="$pi-html-start"/>
+        </xsl:when>
+        <xsl:when test="$pi-fo-start != ''">
+          <xsl:value-of select="$pi-fo-start"/>
+        </xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="prevlist"
+                    select="$list/preceding::orderedlist[1]"/>
+      <xsl:choose>
+        <xsl:when test="count($prevlist) = 0">2</xsl:when>
+        <xsl:otherwise>
+          <xsl:variable name="prevlength" select="count($prevlist/listitem)"/>
+          <xsl:variable name="prevstart">
+            <xsl:call-template name="orderedlist-starting-number">
+              <xsl:with-param name="list" select="$prevlist"/>
+            </xsl:call-template>
+          </xsl:variable>
+          <xsl:value-of select="$prevstart + $prevlength"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="orderedlist-item-number">
+  <!-- context node must be a listitem in an orderedlist -->
+  <xsl:param name="node" select="."/>
+
+  <xsl:choose>
+    <xsl:when test="$node/@override">
+      <xsl:value-of select="$node/@override"/>
+    </xsl:when>
+    <xsl:when test="$node/preceding-sibling::listitem">
+      <xsl:variable name="pnum">
+        <xsl:call-template name="orderedlist-item-number">
+          <xsl:with-param name="node" select="$node/preceding-sibling::listitem[1]"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:value-of select="$pnum + 1"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="orderedlist-starting-number">
+        <xsl:with-param name="list" select="parent::*"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="next.numeration">
+  <xsl:param name="numeration" select="'default'"/>
+  <xsl:choose>
+    <!-- Change this list if you want to change the order of numerations -->
+    <xsl:when test="$numeration = 'arabic'">loweralpha</xsl:when>
+    <xsl:when test="$numeration = 'loweralpha'">lowerroman</xsl:when>
+    <xsl:when test="$numeration = 'lowerroman'">upperalpha</xsl:when>
+    <xsl:when test="$numeration = 'upperalpha'">upperroman</xsl:when>
+    <xsl:when test="$numeration = 'upperroman'">arabic</xsl:when>
+    <xsl:otherwise>arabic</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="list.numeration">
+  <xsl:param name="node" select="."/>
+
+  <xsl:choose>
+    <xsl:when test="$node/@numeration">
+      <xsl:value-of select="$node/@numeration"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$node/ancestor::orderedlist">
+          <xsl:call-template name="next.numeration">
+            <xsl:with-param name="numeration">
+              <xsl:call-template name="list.numeration">
+                <xsl:with-param name="node" select="$node/ancestor::orderedlist[1]"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="next.numeration"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- ItemizedList "Numeration" -->
+
+<xsl:template name="next.itemsymbol">
+  <xsl:param name="itemsymbol" select="'default'"/>
+  <xsl:choose>
+    <!-- Change this list if you want to change the order of symbols -->
+    <xsl:when test="$itemsymbol = 'disc'">circle</xsl:when>
+    <xsl:when test="$itemsymbol = 'circle'">square</xsl:when>
+    <xsl:otherwise>disc</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="list.itemsymbol">
+  <xsl:param name="node" select="."/>
+
+  <xsl:choose>
+    <xsl:when test="@override">
+      <xsl:value-of select="@override"/>
+    </xsl:when>
+    <xsl:when test="$node/@mark">
+      <xsl:value-of select="$node/@mark"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$node/ancestor::itemizedlist">
+          <xsl:call-template name="next.itemsymbol">
+            <xsl:with-param name="itemsymbol">
+              <xsl:call-template name="list.itemsymbol">
+                <xsl:with-param name="node" select="$node/ancestor::itemizedlist[1]"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="next.itemsymbol"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<doc:template name="copyright.years" xmlns="">
+<refpurpose>Print a set of years with collapsed ranges</refpurpose>
+
+<refdescription>
+<para>This template prints a list of year elements with consecutive
+years printed as a range. In other words:</para>
+
+<screen><![CDATA[<year>1992</year>
+<year>1993</year>
+<year>1994</year>]]></screen>
+
+<para>is printed <quote>1992-1994</quote>, whereas:</para>
+
+<screen><![CDATA[<year>1992</year>
+<year>1994</year>]]></screen>
+
+<para>is printed <quote>1992, 1994</quote>.</para>
+
+<para>This template assumes that all the year elements contain only
+decimal year numbers, that the elements are sorted in increasing
+numerical order, that there are no duplicates, and that all the years
+are expressed in full <quote>century+year</quote>
+(<quote>1999</quote> not <quote>99</quote>) notation.</para>
+</refdescription>
+
+<refparameter>
+<variablelist>
+<varlistentry><term>years</term>
+<listitem>
+<para>The initial set of year elements.</para>
+</listitem>
+</varlistentry>
+<varlistentry><term>print.ranges</term>
+<listitem>
+<para>If non-zero, multi-year ranges are collapsed. If zero, all years
+are printed discretely.</para>
+</listitem>
+</varlistentry>
+<varlistentry><term>single.year.ranges</term>
+<listitem>
+<para>If non-zero, two consecutive years will be printed as a range,
+otherwise, they will be printed discretely. In other words, a single
+year range is <quote>1991-1992</quote> but discretely it's
+<quote>1991, 1992</quote>.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparameter>
+
+<refreturn>
+<para>This template returns the formatted list of years.</para>
+</refreturn>
+</doc:template>
+
+<xsl:template name="copyright.years">
+  <xsl:param name="years"/>
+  <xsl:param name="print.ranges" select="1"/>
+  <xsl:param name="single.year.ranges" select="0"/>
+  <xsl:param name="firstyear" select="0"/>
+  <xsl:param name="nextyear" select="0"/>
+
+  <!--
+  <xsl:message terminate="no">
+    <xsl:text>CY: </xsl:text>
+    <xsl:value-of select="count($years)"/>
+    <xsl:text>, </xsl:text>
+    <xsl:value-of select="$firstyear"/>
+    <xsl:text>, </xsl:text>
+    <xsl:value-of select="$nextyear"/>
+    <xsl:text>, </xsl:text>
+    <xsl:value-of select="$print.ranges"/>
+    <xsl:text>, </xsl:text>
+    <xsl:value-of select="$single.year.ranges"/>
+    <xsl:text> (</xsl:text>
+    <xsl:value-of select="$years[1]"/>
+    <xsl:text>)</xsl:text>
+  </xsl:message>
+  -->
+
+  <xsl:choose>
+    <xsl:when test="$print.ranges = 0 and count($years) &gt; 0">
+      <xsl:choose>
+        <xsl:when test="count($years) = 1">
+          <xsl:apply-templates select="$years[1]" mode="titlepage.mode"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$years[1]" mode="titlepage.mode"/>
+          <xsl:text>, </xsl:text>
+          <xsl:call-template name="copyright.years">
+            <xsl:with-param name="years"
+                            select="$years[position() &gt; 1]"/>
+            <xsl:with-param name="print.ranges" select="$print.ranges"/>
+            <xsl:with-param name="single.year.ranges"
+                            select="$single.year.ranges"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="count($years) = 0">
+      <xsl:variable name="lastyear" select="$nextyear - 1"/>
+      <xsl:choose>
+        <xsl:when test="$firstyear = 0">
+          <!-- there weren't any years at all -->
+        </xsl:when>
+        <xsl:when test="$firstyear = $lastyear">
+          <xsl:value-of select="$firstyear"/>
+        </xsl:when>
+        <xsl:when test="$single.year.ranges = 0
+                        and $lastyear = $firstyear + 1">
+          <xsl:value-of select="$firstyear"/>
+          <xsl:text>, </xsl:text>
+          <xsl:value-of select="$lastyear"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$firstyear"/>
+          <xsl:text>-</xsl:text>
+          <xsl:value-of select="$lastyear"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$firstyear = 0">
+      <xsl:call-template name="copyright.years">
+        <xsl:with-param name="years"
+                        select="$years[position() &gt; 1]"/>
+        <xsl:with-param name="firstyear" select="$years[1]"/>
+        <xsl:with-param name="nextyear" select="$years[1] + 1"/>
+        <xsl:with-param name="print.ranges" select="$print.ranges"/>
+        <xsl:with-param name="single.year.ranges"
+                        select="$single.year.ranges"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$nextyear = $years[1]">
+      <xsl:call-template name="copyright.years">
+        <xsl:with-param name="years"
+                        select="$years[position() &gt; 1]"/>
+        <xsl:with-param name="firstyear" select="$firstyear"/>
+        <xsl:with-param name="nextyear" select="$nextyear + 1"/>
+        <xsl:with-param name="print.ranges" select="$print.ranges"/>
+        <xsl:with-param name="single.year.ranges"
+                        select="$single.year.ranges"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- we have years left, but they aren't in the current range -->
+      <xsl:choose>
+        <xsl:when test="$nextyear = $firstyear + 1">
+          <xsl:value-of select="$firstyear"/>
+          <xsl:text>, </xsl:text>
+        </xsl:when>
+        <xsl:when test="$single.year.ranges = 0
+                        and $nextyear = $firstyear + 2">
+          <xsl:value-of select="$firstyear"/>
+          <xsl:text>, </xsl:text>
+          <xsl:value-of select="$nextyear - 1"/>
+          <xsl:text>, </xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$firstyear"/>
+          <xsl:text>-</xsl:text>
+          <xsl:value-of select="$nextyear - 1"/>
+          <xsl:text>, </xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+      <xsl:call-template name="copyright.years">
+        <xsl:with-param name="years"
+                        select="$years[position() &gt; 1]"/>
+        <xsl:with-param name="firstyear" select="$years[1]"/>
+        <xsl:with-param name="nextyear" select="$years[1] + 1"/>
+        <xsl:with-param name="print.ranges" select="$print.ranges"/>
+        <xsl:with-param name="single.year.ranges"
+                        select="$single.year.ranges"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<doc:template name="find.path.params" xmlns="">
+<refpurpose>Search in a table for the "best" match for the node</refpurpose>
+
+<refdescription>
+<para>This template searches in a table for the value that most-closely
+(in the typical best-match sense of XSLT) matches the current (element)
+node location.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template name="find.path.params">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="table" select="''"/>
+  <xsl:param name="location">
+    <xsl:call-template name="xpath.location">
+      <xsl:with-param name="node" select="$node"/>
+    </xsl:call-template>
+  </xsl:param>
+
+  <xsl:variable name="value">
+    <xsl:call-template name="lookup.key">
+      <xsl:with-param name="key" select="$location"/>
+      <xsl:with-param name="table" select="$table"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$value != ''">
+      <xsl:value-of select="$value"/>
+    </xsl:when>
+    <xsl:when test="contains($location, '/')">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="node" select="$node"/>
+        <xsl:with-param name="table" select="$table"/>
+        <xsl:with-param name="location" select="substring-after($location, '/')"/>
+      </xsl:call-template>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="relative-uri">
+  <xsl:param name="filename" select="."/>
+  <xsl:param name="destdir" select="''"/>
+  
+  <xsl:variable name="srcurl">
+    <xsl:call-template name="strippath">
+      <xsl:with-param name="filename">
+        <xsl:call-template name="xml.base.dirs">
+          <xsl:with-param name="base.elem" 
+                          select="$filename/ancestor-or-self::*
+                                   [@xml:base != ''][1]"/>
+        </xsl:call-template>
+        <xsl:value-of select="$filename"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="srcurl.trimmed">
+    <xsl:call-template name="trim.common.uri.paths">
+      <xsl:with-param name="uriA" select="$srcurl"/>
+      <xsl:with-param name="uriB" select="$destdir"/>
+      <xsl:with-param name="return" select="'A'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="destdir.trimmed">
+    <xsl:call-template name="trim.common.uri.paths">
+      <xsl:with-param name="uriA" select="$srcurl"/>
+      <xsl:with-param name="uriB" select="$destdir"/>
+      <xsl:with-param name="return" select="'B'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="depth">
+    <xsl:call-template name="count.uri.path.depth">
+      <xsl:with-param name="filename" select="$destdir.trimmed"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="copy-string">
+    <xsl:with-param name="string" select="'../'"/>
+    <xsl:with-param name="count" select="$depth"/>
+  </xsl:call-template>
+  <xsl:value-of select="$srcurl.trimmed"/>
+
+</xsl:template>
+
+<!-- ===================================== -->
+
+<xsl:template name="xml.base.dirs">
+  <xsl:param name="base.elem" select="NONODE"/>
+
+  <!-- Recursively resolve xml:base attributes, up to a 
+       full path with : in uri -->
+  <xsl:if test="$base.elem/ancestor::*[@xml:base != ''] and
+                not(contains($base.elem/@xml:base, ':'))">
+    <xsl:call-template name="xml.base.dirs">
+      <xsl:with-param name="base.elem" 
+                      select="$base.elem/ancestor::*[@xml:base != ''][1]"/>
+    </xsl:call-template>
+  </xsl:if>
+  <xsl:call-template name="getdir">
+    <xsl:with-param name="filename" select="$base.elem/@xml:base"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+<!-- ===================================== -->
+
+<xsl:template name="strippath">
+  <xsl:param name="filename" select="''"/>
+  <xsl:choose>
+    <!-- Leading .. are not eliminated -->
+    <xsl:when test="starts-with($filename, '../')">
+      <xsl:value-of select="'../'"/>
+      <xsl:call-template name="strippath">
+        <xsl:with-param name="filename" select="substring-after($filename, '../')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="contains($filename, '/../')">
+      <xsl:call-template name="strippath">
+        <xsl:with-param name="filename">
+          <xsl:call-template name="getdir">
+            <xsl:with-param name="filename" select="substring-before($filename, '/../')"/>
+          </xsl:call-template>
+          <xsl:value-of select="substring-after($filename, '/../')"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$filename"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ===================================== -->
+
+<xsl:template name="getdir">
+  <xsl:param name="filename" select="''"/>
+  <xsl:if test="contains($filename, '/')">
+    <xsl:value-of select="substring-before($filename, '/')"/>
+    <xsl:text>/</xsl:text>
+    <xsl:call-template name="getdir">
+      <xsl:with-param name="filename" select="substring-after($filename, '/')"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<!-- ===================================== -->
+
+<doc:template name="string.upper" xmlns="">
+<refpurpose>Converts a string to all uppercase letters</refpurpose>
+
+<refdescription>
+<para>Given a string, this template does a language-aware conversion
+of that string to all uppercase letters, based on the values of the
+<literal>lowercase.alpha</literal> and
+<literal>uppercase.alpha</literal> gentext keys for the current
+locale. It affects only those characters found in the values of
+<literal>lowercase.alpha</literal> and
+<literal>uppercase.alpha</literal>. All other characters are left
+unchanged.</para>
+</refdescription>
+
+<refparameter>
+<variablelist>
+<varlistentry><term>string</term>
+<listitem>
+<para>The string to convert to uppercase.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparameter>
+</doc:template>
+
+<xsl:template name="string.upper">
+  <xsl:param name="string" select="''"/>
+  <xsl:variable name="lowercase.alpha">
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'lowercase.alpha'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="uppercase.alpha">
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'uppercase.alpha'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:value-of select="translate($string,$lowercase.alpha,$uppercase.alpha)"/>
+</xsl:template>
+
+<!-- ===================================== -->
+
+<doc:template name="string.lower" xmlns="">
+<refpurpose>Converts a string to all lowercase letters</refpurpose>
+
+<refdescription>
+<para>Given a string, this template does a language-aware conversion
+of that string to all lowercase letters, based on the values of the
+<literal>uppercase.alpha</literal> and
+<literal>lowercase.alpha</literal> gentext keys for the current
+locale. It affects only those characters found in the values of
+<literal>uppercase.alpha</literal> and
+<literal>lowercase.alpha</literal>. All other characters are left
+unchanged.</para>
+</refdescription>
+
+<refparameter>
+<variablelist>
+<varlistentry><term>string</term>
+<listitem>
+<para>The string to convert to lowercase.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparameter>
+</doc:template>
+
+<xsl:template name="string.lower">
+  <xsl:param name="string" select="''"/>
+  <xsl:variable name="uppercase.alpha">
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'uppercase.alpha'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="lowercase.alpha">
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'lowercase.alpha'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:value-of select="translate($string,$uppercase.alpha,$lowercase.alpha)"/>
+</xsl:template>
+
+<!-- ===================================== -->
+
+<doc:template name="select.choice.separator" xmlns="">
+  <refpurpose>Returns localized choice separator</refpurpose>
+  <refdescription>
+    <para>This template enables auto-generation of an appropriate
+    localized "choice" separator (for example, "and" or "or") before
+    the final item in an inline list (though it could also be useful
+    for generating choice separators for non-inline lists).</para>
+
+    <para>It currently works by evaluating a processing instruction
+    (PI) of the form &lt;?dbchoice&#xa0;choice="foo"?> :
+
+    <itemizedlist>
+      <listitem>
+        <simpara>if the value of the <sgmltag>choice</sgmltag>
+        pseudo-attribute is "and" or "or", returns a localized "and"
+        or "or"</simpara>
+      </listitem>
+      <listitem>
+        <simpara>otherwise returns the literal value of the
+        <sgmltag>choice</sgmltag> pseudo-attribute</simpara>
+      </listitem>
+    </itemizedlist>
+
+    The latter is provided only as a temporary workaround because the
+    locale files do not currently have translations for the word
+    <wordasword>or</wordasword>. So if you want to generate a a
+    logical "or" separator in French (for example), you currently need
+    to do this:
+
+    <literallayout>&lt;?dbchoice choice="ou"?></literallayout>
+    </para>
+
+    <warning>
+      <para>The <sgmltag>dbchoice</sgmltag> processing instruction is
+      an unfortunate hack; support for it may disappear in the future
+      (particularly if and when a more appropriate means for marking
+      up "choice" lists becomes available in DocBook).</para>
+    </warning>
+  </refdescription>
+</doc:template>
+
+<xsl:template name="select.choice.separator">
+  
+  <xsl:variable name="choice">
+    <xsl:call-template name="pi-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbchoice')"/>
+      <xsl:with-param name="attribute">choice</xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+  
+  <xsl:choose>
+    <!-- if value of $choice is "and" or "or", translate to equivalent in -->
+    <!-- current locale -->
+    <xsl:when test="$choice = 'and' or $choice = 'or'">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="$choice"/>
+      </xsl:call-template>
+    </xsl:when>
+    <!--  otherwise, just output value of $choice, whatever it is -->
+    <xsl:otherwise>
+      <xsl:value-of select="$choice"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ===================================== -->
+
+<doc:template name="evaluate.info.profile" xmlns="">
+  <refpurpose>Evaluates an info profile</refpurpose>
+  <refdescription>
+    <para>This function evaluates an "info profile" matching the XPath
+    expression given by the <parameter>profile</parameter>
+    parameter. It relies on the XSLT <function>evaluate()</function>
+    extension function.</para>
+
+    <para>The value of the <parameter>profile</parameter> parameter
+    can include the literal string <literal>$info</literal>. If found
+    in the value of the <parameter>profile</parameter> parameter, the
+    literal string <literal>$info</literal> string is replaced with
+    the value of the <parameter>info</parameter> parameter, which
+    should be a set of <replaceable>*info</replaceable> nodes; the
+    expression is then evaluated using the XSLT
+    <function>evaluate()</function> extension function.</para>
+  </refdescription>
+  <refparameter>
+    <variablelist>
+       <varlistentry>
+        <term>profile</term>
+        <listitem>
+          <para>A string representing an XPath expression </para>
+        </listitem>
+      </varlistentry>
+       <varlistentry>
+        <term>info</term>
+        <listitem>
+          <para>A set of *info nodes</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+
+  <refreturn>
+    <para>Returns a node (the result of evaluating the
+    <parameter>profile</parameter> parameter)</para>
+  </refreturn>
+</doc:template>
+
+  <xsl:template name="evaluate.info.profile">
+    <xsl:param name="profile"/>
+    <xsl:param name="info"/>
+    <xsl:choose>
+      <!-- * xsltproc and Xalan both support dyn:evaluate() -->
+      <xsl:when test="function-available('dyn:evaluate')">
+        <xsl:apply-templates
+            select="dyn:evaluate($profile)" mode="get.refentry.metadata"/>
+      </xsl:when>
+      <!-- * Saxon has its own evaluate() & doesn't support dyn:evaluate() -->
+      <xsl:when test="function-available('saxon:evaluate')">
+        <xsl:apply-templates
+            select="saxon:evaluate($profile)" mode="get.refentry.metadata"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:message terminate="yes">
+Error: The "info profiling" mechanism currently requires an XSLT
+engine that supports the evaluate() XSLT extension function. Your XSLT
+engine does not support it.
+</xsl:message>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+<!-- ===================================== -->
+
+<doc:template name="log.message" xmlns="">
+  <refpurpose>Logs/emits formatted notes and warnings</refpurpose>
+
+  <refdescription>
+    <para>The <function>log.message</function> function is a utility
+    function for logging/emitting formatted messages&#xa0;– that is,
+    notes and warnings, along with a given log "level" and an
+    identifier for the "source" that the message relates to.</para>
+  </refdescription>
+
+  <refparameter>
+    <variablelist>
+      <varlistentry>
+        <term>level</term>
+        <listitem>
+          <para>Text to indicate the message level
+          (<literal>Note</literal> or
+          <literal>Warning</literal>)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>source</term>
+        <listitem>
+          <para>Text to identify source element the
+          notification/warning relates to</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>message</term>
+        <listitem>
+          <para>Message to lot/emit</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>message-width</term>
+        <listitem>
+          <para>Expected maximum message width</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+  <refreturn>
+  <para>Outputs a message (generally, to standard error).</para></refreturn>
+</doc:template>
+
+<xsl:template name="log.message">
+  <xsl:param name="level"/>
+  <xsl:param name="source"/>
+  <xsl:param name="message"/>
+  <xsl:param name="message-width">50</xsl:param>
+  <xsl:message><xsl:value-of
+  select="$level"/><xsl:text>: </xsl:text><xsl:value-of
+  select="$message"/><xsl:call-template
+  name="copy-string">
+  <xsl:with-param name="string" select="'&#x20;'"/>
+  <xsl:with-param
+      name="count"
+      select="$message-width - string-length($message)"/>
+  </xsl:call-template><xsl:value-of
+  select="$source"/></xsl:message>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/common/cs.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/cs.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/cs.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,673 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="cs" english-language-name="Czech">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/cs.xml -->
+<!-- * -->
+<!-- * E-mail the edited cs.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Abstrakt"/>
+   <l:gentext key="abstract" text="Abstrakt"/>
+   <l:gentext key="Answer" text="Odpov&#283;&#271;:"/>
+   <l:gentext key="answer" text="Odpov&#283;&#271;:"/>
+   <l:gentext key="Appendix" text="P&#345;&#237;loha"/>
+   <l:gentext key="appendix" text="P&#345;&#237;loha"/>
+   <l:gentext key="Article" text="&#268;l&#225;nek"/>
+   <l:gentext key="article" text="&#268;l&#225;nek"/>
+   <l:gentext key="Author" text="Autor"/>
+   <l:gentext key="Bibliography" text="Bibliografie"/>
+   <l:gentext key="bibliography" text="Bibliografie"/>
+   <l:gentext key="Book" text="Kniha"/>
+   <l:gentext key="book" text="Kniha"/>
+   <l:gentext key="CAUTION" text="V&#253;straha"/>
+   <l:gentext key="Caution" text="V&#253;straha"/>
+   <l:gentext key="caution" text="V&#253;straha"/>
+   <l:gentext key="Chapter" text="Kapitola"/>
+   <l:gentext key="chapter" text="Kapitola"/>
+   <l:gentext key="Colophon" text="Tir&#225;&#382;"/>
+   <l:gentext key="colophon" text="Tir&#225;&#382;"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="V&#283;nov&#225;n&#237;"/>
+   <l:gentext key="dedication" text="V&#283;nov&#225;n&#237;"/>
+   <l:gentext key="Edition" text="Vyd&#225;n&#237;"/>
+   <l:gentext key="edition" text="Vyd&#225;n&#237;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Rovnice"/>
+   <l:gentext key="equation" text="Rovnice"/>
+   <l:gentext key="Example" text="P&#345;&#237;klad"/>
+   <l:gentext key="example" text="P&#345;&#237;klad"/>
+   <l:gentext key="Figure" text="Obr&#225;zek"/>
+   <l:gentext key="figure" text="Obr&#225;zek"/>
+   <l:gentext key="Glossary" text="Slovn&#237;k"/>
+   <l:gentext key="glossary" text="Slovn&#237;k"/>
+   <l:gentext key="GlossSee" text="Viz"/>
+   <l:gentext key="glosssee" text="Viz"/>
+   <l:gentext key="GlossSeeAlso" text="Viz t&#233;&#382;"/>
+   <l:gentext key="glossseealso" text="Viz t&#233;&#382;"/>
+   <l:gentext key="IMPORTANT" text="D&#367;le&#382;it&#233;"/>
+   <l:gentext key="important" text="D&#367;le&#382;it&#233;"/>
+   <l:gentext key="Important" text="D&#367;le&#382;it&#233;"/>
+   <l:gentext key="Index" text="Rejst&#345;&#237;k"/>
+   <l:gentext key="index" text="Rejst&#345;&#237;k"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Pr&#225;vn&#237; dolo&#382;ka"/>
+   <l:gentext key="legalnotice" text="Pr&#225;vn&#237; dolo&#382;ka"/>
+   <l:gentext key="MsgAud" text="Publikum"/>
+   <l:gentext key="msgaud" text="Publikum"/>
+   <l:gentext key="MsgLevel" text="&#218;rove&#328;"/>
+   <l:gentext key="msglevel" text="&#218;rove&#328;"/>
+   <l:gentext key="MsgOrig" text="P&#367;vod"/>
+   <l:gentext key="msgorig" text="P&#367;vod"/>
+   <l:gentext key="NOTE" text="Pozn&#225;mka"/>
+   <l:gentext key="Note" text="Pozn&#225;mka"/>
+   <l:gentext key="note" text="Pozn&#225;mka"/>
+   <l:gentext key="Part" text="&#268;&#225;st"/>
+   <l:gentext key="part" text="&#268;&#225;st"/>
+   <l:gentext key="Preface" text="P&#345;edmluva"/>
+   <l:gentext key="preface" text="P&#345;edmluva"/>
+   <l:gentext key="Procedure" text="Postup"/>
+   <l:gentext key="procedure" text="Postup"/>
+   <l:gentext key="ProductionSet" text="Produkce"/>
+   <l:gentext key="PubDate" text="Datum vyd&#225;n&#237;"/>
+   <l:gentext key="pubdate" text="Datum vyd&#225;n&#237;"/>
+   <l:gentext key="Published" text="Vyd&#225;no"/>
+   <l:gentext key="published" text="Vyd&#225;no"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Ot&#225;zky a odpov&#283;di"/>
+   <l:gentext key="qandadiv" text="Ot&#225;zky a odpov&#283;di"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Ot&#225;zka:"/>
+   <l:gentext key="question" text="Ot&#225;zka:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Odkaz"/>
+   <l:gentext key="reference" text="Odkaz"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Jm&#233;no"/>
+   <l:gentext key="refname" text="Jm&#233;no"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="P&#345;ehled"/>
+   <l:gentext key="refsynopsisdiv" text="P&#345;ehled"/>
+   <l:gentext key="RevHistory" text="P&#345;ehled reviz&#237;"/>
+   <l:gentext key="revhistory" text="P&#345;ehled reviz&#237;"/>
+   <l:gentext key="revision" text="Revize"/>
+   <l:gentext key="Revision" text="Revize"/>
+   <l:gentext key="sect1" text="Odd&#237;l"/>
+   <l:gentext key="sect2" text="Odd&#237;l"/>
+   <l:gentext key="sect3" text="Odd&#237;l"/>
+   <l:gentext key="sect4" text="Odd&#237;l"/>
+   <l:gentext key="sect5" text="Odd&#237;l"/>
+   <l:gentext key="section" text="Odd&#237;l"/>
+   <l:gentext key="Section" text="Odd&#237;l"/>
+   <l:gentext key="see" text="Viz"/>
+   <l:gentext key="See" text="Viz"/>
+   <l:gentext key="seealso" text="Viz t&#233;&#382;"/>
+   <l:gentext key="Seealso" text="Viz t&#233;&#382;"/>
+   <l:gentext key="SeeAlso" text="Viz t&#233;&#382;"/>
+   <l:gentext key="set" text="Sada"/>
+   <l:gentext key="Set" text="Sada"/>
+   <l:gentext key="setindex" text="Rejst&#345;&#237;k sady"/>
+   <l:gentext key="SetIndex" text="Rejst&#345;&#237;k sady"/>
+   <l:gentext key="Sidebar" text="Margin&#225;lie"/>
+   <l:gentext key="sidebar" text="Margin&#225;lie"/>
+   <l:gentext key="step" text="krok"/>
+   <l:gentext key="Step" text="Krok"/>
+   <l:gentext key="table" text="Tabulka"/>
+   <l:gentext key="Table" text="Tabulka"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Tip"/>
+   <l:gentext key="TIP" text="Tip"/>
+   <l:gentext key="Tip" text="Tip"/>
+   <l:gentext key="Warning" text="Varov&#225;n&#237;"/>
+   <l:gentext key="warning" text="Varov&#225;n&#237;"/>
+   <l:gentext key="WARNING" text="Varov&#225;n&#237;"/>
+   <l:gentext key="and" text="a"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="Vyd&#225;no"/>
+   <l:gentext key="edited" text="Vyd&#225;no"/>
+   <l:gentext key="Editedby" text="Sestavil"/>
+   <l:gentext key="editedby" text="Sestavil"/>
+   <l:gentext key="in" text="v"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="neexistuj&#237;c&#237; prvek"/>
+   <l:gentext key="notes" text="Pozn&#225;mky"/>
+   <l:gentext key="Notes" text="Pozn&#225;mky"/>
+   <l:gentext key="Pgs" text="Str."/>
+   <l:gentext key="pgs" text="Str."/>
+   <l:gentext key="Revisedby" text="Revidoval: "/>
+   <l:gentext key="revisedby" text="Revidoval: "/>
+   <l:gentext key="TableNotes" text="Pozn&#225;mky"/>
+   <l:gentext key="tablenotes" text="Pozn&#225;mky"/>
+   <l:gentext key="TableofContents" text="Obsah"/>
+   <l:gentext key="tableofcontents" text="Obsah"/>
+   <l:gentext key="unexpectedelementname" text="Neo&#269;ek&#225;van&#233; jm&#233;no prvku"/>
+   <l:gentext key="unsupported" text="nepodporovan&#253;"/>
+   <l:gentext key="xrefto" text="xref k"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Seznam rovnic"/>
+   <l:gentext key="ListofEquations" text="Seznam rovnic"/>
+   <l:gentext key="ListofExamples" text="Seznam p&#345;&#237;klad&#367;"/>
+   <l:gentext key="listofexamples" text="Seznam p&#345;&#237;klad&#367;"/>
+   <l:gentext key="ListofFigures" text="Seznam obr&#225;zk&#367;"/>
+   <l:gentext key="listoffigures" text="Seznam obr&#225;zk&#367;"/>
+   <l:gentext key="ListofProcedures" text="Seznam postup&#367;"/>
+   <l:gentext key="listofprocedures" text="Seznam postup&#367;"/>
+   <l:gentext key="listoftables" text="Seznam tabulek"/>
+   <l:gentext key="ListofTables" text="Seznam tabulek"/>
+   <l:gentext key="ListofUnknown" text="Seznam nezn&#225;m&#233;ho"/>
+   <l:gentext key="listofunknown" text="Seznam nezn&#225;m&#233;ho"/>
+   <l:gentext key="nav-home" text="Dom&#367;"/>
+   <l:gentext key="nav-next" text="Dal&#353;&#237;"/>
+   <l:gentext key="nav-next-sibling" text="Rychle dop&#345;edu"/>
+   <l:gentext key="nav-prev" text="P&#345;edch&#225;zej&#237;c&#237;"/>
+   <l:gentext key="nav-prev-sibling" text="Rychle zp&#283;t"/>
+   <l:gentext key="nav-up" text="Nahoru"/>
+   <l:gentext key="nav-toc" text="Obsah"/>
+   <l:gentext key="Draft" text="N&#225;vrh"/>
+   <l:gentext key="above" text="nad"/>
+   <l:gentext key="below" text="pod"/>
+   <l:gentext key="sectioncalled" text="odd&#237;l nazvan&#253;"/>
+   <l:gentext key="index symbols" text="Symboly"/>
+   <l:gentext key="lowercase.alpha" text="a&#225;bc&#269;d&#271;e&#233;&#283;fghi&#237;jklmn&#328;o&#243;pqr&#345;s&#353;t&#357;u&#250;&#367;vwxy&#253;z&#382;"/>
+   <l:gentext key="uppercase.alpha" text="A&#193;BC&#268;D&#270;E&#201;&#282;FGHI&#205;JKLMN&#327;O&#211;PQR&#344;S&#352;T&#356;U&#218;&#366;VWXY&#221;Z&#381;"/>
+   <l:dingbat key="startquote" text="&#8222;"/>
+   <l:dingbat key="endquote" text="&#8220;"/>
+   <l:dingbat key="nestedstartquote" text="&#8218;"/>
+   <l:dingbat key="nestedendquote" text="&#8216;"/>
+   <l:dingbat key="singlestartquote" text="&#8218;"/>
+   <l:dingbat key="singleendquote" text="&#8216;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="P&#345;&#237;loha %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Kapitola %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Rovnice %n. %t"/>
+      <l:template name="example" text="P&#345;&#237;klad %n. %t"/>
+      <l:template name="figure" text="Obr&#225;zek %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#268;&#225;st %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Postup %n. %t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Produkce %n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabulka %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="P&#345;&#237;loha %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n. %t"/>
+      <l:template name="chapter" text="Kapitola %n. %t"/>
+      <l:template name="part" text="&#268;&#225;st&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text="v&#160;%o"/>
+      <l:template name="olink.page.citation" text=" (strana %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(strana %p)"/>
+      <l:template name="docname" text=" v&#160;%o"/>
+      <l:template name="docnamelong" text=" v&#160;dokumentu nazvan&#233;m %o"/>
+      <l:template name="pageabbrev" text="(str. %p)"/>
+      <l:template name="Page" text="Strana %p"/>
+      <l:template name="bridgehead" text="&#8222;%t&#8220;"/>
+      <l:template name="refsection" text="&#8222;%t&#8220;"/>
+      <l:template name="refsect1" text="&#8222;%t&#8220;"/>
+      <l:template name="refsect2" text="&#8222;%t&#8220;"/>
+      <l:template name="refsect3" text="&#8222;%t&#8220;"/>
+      <l:template name="sect1" text="&#8222;%t&#8220;"/>
+      <l:template name="sect2" text="&#8222;%t&#8220;"/>
+      <l:template name="sect3" text="&#8222;%t&#8220;"/>
+      <l:template name="sect4" text="&#8222;%t&#8220;"/>
+      <l:template name="sect5" text="&#8222;%t&#8220;"/>
+      <l:template name="section" text="&#8222;%t&#8220;"/>
+      <l:template name="simplesect" text="&#8222;%t&#8220;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="%n"/>
+      <l:template name="appendix" text="%n"/>
+      <l:template name="bridgehead" text="%n"/>
+      <l:template name="chapter" text="%n"/>
+      <l:template name="equation" text="%n"/>
+      <l:template name="example" text="%n"/>
+      <l:template name="figure" text="%n"/>
+      <l:template name="part" text="%n"/>
+      <l:template name="procedure" text="%n"/>
+      <l:template name="productionset" text="%n"/>
+      <l:template name="qandadiv" text="%n"/>
+      <l:template name="qandaentry" text="%n"/>
+      <l:template name="question" text="%n"/>
+      <l:template name="sect1" text="%n"/>
+      <l:template name="sect2" text="%n"/>
+      <l:template name="sect3" text="%n"/>
+      <l:template name="sect4" text="%n"/>
+      <l:template name="sect5" text="%n"/>
+      <l:template name="section" text="%n"/>
+      <l:template name="table" text="%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="bridgehead" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="chapter" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="equation" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="example" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="figure" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="part" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="procedure" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="productionset" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="qandadiv" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="refsect1" text="&#8222;%t&#8220;"/>
+      <l:template name="refsect2" text="&#8222;%t&#8220;"/>
+      <l:template name="refsect3" text="&#8222;%t&#8220;"/>
+      <l:template name="refsection" text="&#8222;%t&#8220;"/>
+      <l:template name="sect1" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="sect2" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="sect3" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="sect4" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="sect5" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="section" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="simplesect" text="%n &#8211; &#8222;%t&#8220;"/>
+      <l:template name="table" text="%n &#8211; &#8222;%t&#8220;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" a "/>
+      <l:template name="seplast" text=" a "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Viz %t"/>
+      <l:template name="seealso" text="Viz t&#233;&#382; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Publikum: "/>
+      <l:template name="MsgLevel" text="&#218;rove&#328;: "/>
+      <l:template name="MsgOrig" text="P&#367;vod: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d.&#160;B Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="ledna"/>
+      <l:template name="February" text="&#250;nora"/>
+      <l:template name="March" text="b&#345;ezna"/>
+      <l:template name="April" text="dubna"/>
+      <l:template name="May" text="kv&#283;tna"/>
+      <l:template name="June" text="&#269;ervna"/>
+      <l:template name="July" text="&#269;ervence"/>
+      <l:template name="August" text="srpna"/>
+      <l:template name="September" text="z&#225;&#345;&#237;"/>
+      <l:template name="October" text="&#345;&#237;jna"/>
+      <l:template name="November" text="listopadu"/>
+      <l:template name="December" text="prosince"/>
+      <l:template name="Monday" text="pond&#283;l&#237;"/>
+      <l:template name="Tuesday" text="&#250;ter&#253;"/>
+      <l:template name="Wednesday" text="st&#345;eda"/>
+      <l:template name="Thursday" text="&#269;tvrtek"/>
+      <l:template name="Friday" text="p&#225;tek"/>
+      <l:template name="Saturday" text="sobota"/>
+      <l:template name="Sunday" text="ned&#283;le"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="led"/>
+      <l:template name="Feb" text="&#250;no"/>
+      <l:template name="Mar" text="b&#345;e"/>
+      <l:template name="Apr" text="dub"/>
+      <l:template name="May" text="kv&#283;"/>
+      <l:template name="Jun" text="&#269;er"/>
+      <l:template name="Jul" text="&#269;nc"/>
+      <l:template name="Aug" text="srp"/>
+      <l:template name="Sep" text="z&#225;&#345;"/>
+      <l:template name="Oct" text="&#345;ij"/>
+      <l:template name="Nov" text="lis"/>
+      <l:template name="Dec" text="pro"/>
+      <l:template name="Mon" text="po"/>
+      <l:template name="Tue" text="&#250;t"/>
+      <l:template name="Wed" text="st"/>
+      <l:template name="Thu" text="&#269;t"/>
+      <l:template name="Fri" text="p&#225;"/>
+      <l:template name="Sat" text="so"/>
+      <l:template name="Sun" text="ne"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0405 Czech"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Symboly</l:l>
+      <l:l i="1">A</l:l>
+      <l:l i="1">a</l:l>
+      <l:l i="1">&#193;</l:l>
+      <l:l i="1">&#225;</l:l>
+      <l:l i="2">B</l:l>
+      <l:l i="2">b</l:l>
+      <l:l i="3">C</l:l>
+      <l:l i="3">c</l:l>
+      <l:l i="4">&#268;</l:l>
+      <l:l i="4">&#269;</l:l>
+      <l:l i="5">D</l:l>
+      <l:l i="5">d</l:l>
+      <l:l i="5">&#270;</l:l>
+      <l:l i="5">&#271;</l:l>
+      <l:l i="7">E</l:l>
+      <l:l i="7">e</l:l>
+      <l:l i="7">&#201;</l:l>
+      <l:l i="7">&#233;</l:l>
+      <l:l i="7">&#282;</l:l>
+      <l:l i="7">&#283;</l:l>
+      <l:l i="7">&#203;</l:l>
+      <l:l i="7">&#235;</l:l>
+      <l:l i="8">F</l:l>
+      <l:l i="8">f</l:l>
+      <l:l i="9">G</l:l>
+      <l:l i="9">g</l:l>
+      <l:l i="10">H</l:l>
+      <l:l i="10">h</l:l>
+      <l:l i="11">Ch</l:l>
+      <l:l i="11">ch</l:l>
+      <l:l i="11">cH</l:l>
+      <l:l i="11">CH</l:l>
+      <l:l i="12">I</l:l>
+      <l:l i="12">i</l:l>
+      <l:l i="12">&#205;</l:l>
+      <l:l i="12">&#237;</l:l>
+      <l:l i="13">J</l:l>
+      <l:l i="13">j</l:l>
+      <l:l i="14">K</l:l>
+      <l:l i="14">k</l:l>
+      <l:l i="15">L</l:l>
+      <l:l i="15">l</l:l>
+      <l:l i="16">M</l:l>
+      <l:l i="16">m</l:l>
+      <l:l i="17">N</l:l>
+      <l:l i="17">n</l:l>
+      <l:l i="17">&#327;</l:l>
+      <l:l i="17">&#328;</l:l>
+      <l:l i="19">O</l:l>
+      <l:l i="19">o</l:l>
+      <l:l i="19">&#211;</l:l>
+      <l:l i="19">&#243;</l:l>
+      <l:l i="19">&#214;</l:l>
+      <l:l i="19">&#246;</l:l>
+      <l:l i="20">P</l:l>
+      <l:l i="20">p</l:l>
+      <l:l i="21">Q</l:l>
+      <l:l i="21">q</l:l>
+      <l:l i="22">R</l:l>
+      <l:l i="22">r</l:l>
+      <l:l i="23">&#344;</l:l>
+      <l:l i="23">&#345;</l:l>
+      <l:l i="24">S</l:l>
+      <l:l i="24">s</l:l>
+      <l:l i="25">&#352;</l:l>
+      <l:l i="25">&#353;</l:l>
+      <l:l i="26">T</l:l>
+      <l:l i="26">t</l:l>
+      <l:l i="26">&#356;</l:l>
+      <l:l i="26">&#357;</l:l>
+      <l:l i="28">U</l:l>
+      <l:l i="28">u</l:l>
+      <l:l i="28">&#218;</l:l>
+      <l:l i="28">&#250;</l:l>
+      <l:l i="28">&#366;</l:l>
+      <l:l i="28">&#367;</l:l>
+      <l:l i="28">&#220;</l:l>
+      <l:l i="28">&#252;</l:l>
+      <l:l i="29">V</l:l>
+      <l:l i="29">v</l:l>
+      <l:l i="30">W</l:l>
+      <l:l i="30">w</l:l>
+      <l:l i="31">X</l:l>
+      <l:l i="31">x</l:l>
+      <l:l i="32">Y</l:l>
+      <l:l i="32">y</l:l>
+      <l:l i="32">&#221;</l:l>
+      <l:l i="32">&#253;</l:l>
+      <l:l i="33">Z</l:l>
+      <l:l i="33">z</l:l>
+      <l:l i="34">&#381;</l:l>
+      <l:l i="34">&#382;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/cy.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/cy.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/cy.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1218 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="cy" english-language-name="Welsh">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/cy.xml -->
+<!-- * -->
+<!-- * E-mail the edited cy.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Crynodeb"/>
+   <l:gentext key="abstract" text="Crynodeb"/>
+   <l:gentext key="Answer" text="A:"/>
+   <l:gentext key="answer" text="A:"/>
+   <l:gentext key="Appendix" text="Atodiad"/>
+   <l:gentext key="appendix" text="Atodiad"/>
+   <l:gentext key="Article" text="Erthygl"/>
+   <l:gentext key="article" text="Erthygl"/>
+   <l:gentext key="Author" text="Awdur"/>
+   <l:gentext key="Bibliography" text="Llyfryddiaeth"/>
+   <l:gentext key="bibliography" text="Llyfryddiaeth"/>
+   <l:gentext key="Book" text="Llyfr"/>
+   <l:gentext key="book" text="Llyfr"/>
+   <l:gentext key="CAUTION" text="GOFAL"/>
+   <l:gentext key="Caution" text="Gofal"/>
+   <l:gentext key="caution" text="Gofal"/>
+   <l:gentext key="Chapter" text="Pennod"/>
+   <l:gentext key="chapter" text="Pennod"/>
+   <l:gentext key="Colophon" text="Coloffon"/>
+   <l:gentext key="colophon" text="Coloffon"/>
+   <l:gentext key="Copyright" text="Hawlfraint"/>
+   <l:gentext key="copyright" text="Hawlfraint"/>
+   <l:gentext key="Dedication" text="Cyflwyniad"/>
+   <l:gentext key="dedication" text="Cyflwyniad"/>
+   <l:gentext key="Edition" text="Argraffiad"/>
+   <l:gentext key="edition" text="Argraffiad"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Hafaliad"/>
+   <l:gentext key="equation" text="Hafaliad"/>
+   <l:gentext key="Example" text="Enghraifft"/>
+   <l:gentext key="example" text="Enghraifft"/>
+   <l:gentext key="Figure" text="Ffigur"/>
+   <l:gentext key="figure" text="Ffigur"/>
+   <l:gentext key="Glossary" text="Geirfa"/>
+   <l:gentext key="glossary" text="Geirfa"/>
+   <l:gentext key="GlossSee" text="Gweler"/>
+   <l:gentext key="glosssee" text="Gweler"/>
+   <l:gentext key="GlossSeeAlso" text="Gweler Hefyd"/>
+   <l:gentext key="glossseealso" text="Gweler Hefyd"/>
+   <l:gentext key="IMPORTANT" text="PWYSIG"/>
+   <l:gentext key="important" text="Pwysig"/>
+   <l:gentext key="Important" text="Pwysig"/>
+   <l:gentext key="Index" text="Mynegai"/>
+   <l:gentext key="index" text="Mynegai"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Rhybudd Cyfreithiol"/>
+   <l:gentext key="legalnotice" text="Rhybudd Cyfreithiol"/>
+   <l:gentext key="MsgAud" text="Cynulleidfa"/>
+   <l:gentext key="msgaud" text="Cynulleidfa"/>
+   <l:gentext key="MsgLevel" text="Lefel"/>
+   <l:gentext key="msglevel" text="Lefel"/>
+   <l:gentext key="MsgOrig" text="Tarddiad"/>
+   <l:gentext key="msgorig" text="Tarddiad"/>
+   <l:gentext key="NOTE" text="NODYN"/>
+   <l:gentext key="Note" text="Nodyn"/>
+   <l:gentext key="note" text="Nodyn"/>
+   <l:gentext key="Part" text="Rhan"/>
+   <l:gentext key="part" text="Rhan"/>
+   <l:gentext key="Preface" text="Rhagair"/>
+   <l:gentext key="preface" text="Rhagair"/>
+   <l:gentext key="Procedure" text="Trefn"/>
+   <l:gentext key="procedure" text="Trefn"/>
+   <l:gentext key="ProductionSet" text="Cynhyrchiad"/>
+   <l:gentext key="PubDate" text="Dyddiad Cyhoeddi"/>
+   <l:gentext key="pubdate" text="Dyddiad Cyhoeddi"/>
+   <l:gentext key="Published" text="Cyhoeddwyd"/>
+   <l:gentext key="published" text="Cyhoeddwyd"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="C &amp; A"/>
+   <l:gentext key="qandadiv" text="C &amp; A"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="C:"/>
+   <l:gentext key="question" text="C:"/>
+   <l:gentext key="RefEntry" text="Cyfeirnod"/>
+   <l:gentext key="refentry" text="Cyfeirnod"/>
+   <l:gentext key="Reference" text="Cyfeiriad"/>
+   <l:gentext key="reference" text="Cyfeiriad"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Enw"/>
+   <l:gentext key="refname" text="Enw"/>
+   <l:gentext key="RefSection" text="Adran Gyfeiriad"/>
+   <l:gentext key="refsection" text="Adran Gyfeiriad"/>
+   <l:gentext key="RefSynopsisDiv" text="Crynodeb"/>
+   <l:gentext key="refsynopsisdiv" text="Crynodeb"/>
+   <l:gentext key="RevHistory" text="Hanes Adolygu"/>
+   <l:gentext key="revhistory" text="Hanes Adolygu"/>
+   <l:gentext key="revision" text="Adolygiad"/>
+   <l:gentext key="Revision" text="Adolygiad"/>
+   <l:gentext key="sect1" text="Adran"/>
+   <l:gentext key="sect2" text="Adran"/>
+   <l:gentext key="sect3" text="Adran"/>
+   <l:gentext key="sect4" text="Adran"/>
+   <l:gentext key="sect5" text="Adran"/>
+   <l:gentext key="section" text="Adran"/>
+   <l:gentext key="Section" text="Adran"/>
+   <l:gentext key="see" text="gweler"/>
+   <l:gentext key="See" text="Gweler"/>
+   <l:gentext key="seealso" text="gweler hefyd"/>
+   <l:gentext key="Seealso" text="Gweler hefyd"/>
+   <l:gentext key="SeeAlso" text="Gweler Hefyd"/>
+   <l:gentext key="set" text="Set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Mynegai Set"/>
+   <l:gentext key="SetIndex" text="Mynegai Set"/>
+   <l:gentext key="Sidebar" text="Bar Ochr"/>
+   <l:gentext key="sidebar" text="bar ochr"/>
+   <l:gentext key="step" text="cam"/>
+   <l:gentext key="Step" text="Cam"/>
+   <l:gentext key="table" text="Tabl"/>
+   <l:gentext key="Table" text="Tabl"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Cynghoryn"/>
+   <l:gentext key="TIP" text="CYNGHORYN"/>
+   <l:gentext key="Tip" text="Cynghoryn"/>
+   <l:gentext key="Warning" text="Rhybudd"/>
+   <l:gentext key="warning" text="Rhybudd"/>
+   <l:gentext key="WARNING" text="RHYBUDD"/>
+   <l:gentext key="and" text="a(c)"/>
+   <l:gentext key="by" text="gan"/>
+   <l:gentext key="Edited" text="Golygwyd"/>
+   <l:gentext key="edited" text="Golygwyd"/>
+   <l:gentext key="Editedby" text="Golygwyd:"/>
+   <l:gentext key="editedby" text="Golygwyd:"/>
+   <l:gentext key="in" text="yn"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="elfen sydd ddim yn bodoli"/>
+   <l:gentext key="notes" text="Nodiadau"/>
+   <l:gentext key="Notes" text="Nodiadau"/>
+   <l:gentext key="Pgs" text="Tud."/>
+   <l:gentext key="pgs" text="Tud."/>
+   <l:gentext key="Revisedby" text="Adolygwyd: "/>
+   <l:gentext key="revisedby" text="Adolygwyd: "/>
+   <l:gentext key="TableNotes" text="Nodiadau"/>
+   <l:gentext key="tablenotes" text="Nodiadau"/>
+   <l:gentext key="TableofContents" text="Cynnwys"/>
+   <l:gentext key="tableofcontents" text="Cynnwys"/>
+   <l:gentext key="unexpectedelementname" text="Enw elfen annisgwyl"/>
+   <l:gentext key="unsupported" text="ni chynhelir"/>
+   <l:gentext key="xrefto" text="xref i"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Rhestr Hafaliadau"/>
+   <l:gentext key="ListofEquations" text="Rhestr Hafaliadau"/>
+   <l:gentext key="ListofExamples" text="Rhestr Hafaliadau"/>
+   <l:gentext key="listofexamples" text="Rhestr Hafaliadau"/>
+   <l:gentext key="ListofFigures" text="Rhestr Hafaliadau"/>
+   <l:gentext key="listoffigures" text="Rhestr Hafaliadau"/>
+   <l:gentext key="ListofProcedures" text="Dull Gweithredu"/>
+   <l:gentext key="listofprocedures" text="Dull Gweithredu"/>
+   <l:gentext key="listoftables" text="Rhestr Tablau"/>
+   <l:gentext key="ListofTables" text="Rhestr Tablau"/>
+   <l:gentext key="ListofUnknown" text="Rhestr Anhysbysion"/>
+   <l:gentext key="listofunknown" text="Rhestr Anhysbysion"/>
+   <l:gentext key="nav-home" text="Cartref"/>
+   <l:gentext key="nav-next" text="Nesaf"/>
+   <l:gentext key="nav-next-sibling" text="Ymlaen"/>
+   <l:gentext key="nav-prev" text="Cynt"/>
+   <l:gentext key="nav-prev-sibling" text="Yn &#212;l"/>
+   <l:gentext key="nav-up" text="I Fyny"/>
+   <l:gentext key="nav-toc" text="Cynnwys"/>
+   <l:gentext key="Draft" text="Drafft"/>
+   <l:gentext key="above" text="uchod"/>
+   <l:gentext key="below" text="isod"/>
+   <l:gentext key="sectioncalled" text="yr adran o'r enw"/>
+   <l:gentext key="index symbols" text="Symbolau"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="cyntaf-olaf"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Atodiad&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Pennod&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Hafaliad&#160;%n.&#160;%t"/>
+      <l:template name="example" text="Enghraifft&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="Ffigur&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Rhan&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Trefn&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Cynhyrchiad&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabl&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Atodiad&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Pennod&#160;%n.&#160;%t"/>
+      <l:template name="part" text="Rhan&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="C:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="C:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" yn %o"/>
+      <l:template name="olink.page.citation" text=" (tudalen %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(tudalen %p)"/>
+      <l:template name="docname" text=" yn %o"/>
+      <l:template name="docnamelong" text=" yn y ddogfen o'r enw %o"/>
+      <l:template name="pageabbrev" text="(tud. %p)"/>
+      <l:template name="Page" text="Tudalen %p"/>
+      <l:template name="bridgehead" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="section" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="yr adran o'r enw &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="Atodiad&#160;%n"/>
+      <l:template name="bridgehead" text="Adran&#160;%n"/>
+      <l:template name="chapter" text="Pennod&#160;%n"/>
+      <l:template name="equation" text="Hafaliad&#160;%n"/>
+      <l:template name="example" text="Enghraifft&#160;%n"/>
+      <l:template name="figure" text="Ffigur&#160;%n"/>
+      <l:template name="part" text="Rhan&#160;%n"/>
+      <l:template name="procedure" text="Trefn&#160;%n"/>
+      <l:template name="productionset" text="Cynhyrchiad&#160;%n"/>
+      <l:template name="qandadiv" text="C &amp; A&#160;%n"/>
+      <l:template name="qandaentry" text="C:&#160;%n"/>
+      <l:template name="question" text="C:&#160;%n"/>
+      <l:template name="sect1" text="Adran&#160;%n"/>
+      <l:template name="sect2" text="Adran&#160;%n"/>
+      <l:template name="sect3" text="Adran&#160;%n"/>
+      <l:template name="sect4" text="Adran&#160;%n"/>
+      <l:template name="sect5" text="Adran&#160;%n"/>
+      <l:template name="section" text="Adran&#160;%n"/>
+      <l:template name="table" text="Tabl&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Atodiad&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Adran&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Pennod&#160;%n, %t"/>
+      <l:template name="equation" text="Hafaliad&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Enghraifft&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Ffigur&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Rhan&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Trefn&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Cynhyrchiad&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="C &amp; A&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Adran&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Adran&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Adran&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Adran&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Adran&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Adran&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="yr adran o'r enw &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabl&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" a(c) "/>
+      <l:template name="seplast" text=", a(c) "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Gweler %t"/>
+      <l:template name="seealso" text="Gweler Hefyd %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Cynulleidfa: "/>
+      <l:template name="MsgLevel" text="Lefel: "/>
+      <l:template name="MsgOrig" text="Tarddiad: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/B"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Diffiniad: "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="Ionawr"/>
+      <l:template name="February" text="Chwefror"/>
+      <l:template name="March" text="Mawrth"/>
+      <l:template name="April" text="Ebrill"/>
+      <l:template name="May" text="Mai"/>
+      <l:template name="June" text="Mehefin"/>
+      <l:template name="July" text="Gorffenaf"/>
+      <l:template name="August" text="Awst"/>
+      <l:template name="September" text="Medi"/>
+      <l:template name="October" text="Hydref"/>
+      <l:template name="November" text="Tachwedd"/>
+      <l:template name="December" text="Rhagfyr"/>
+      <l:template name="Monday" text="Dydd Llun"/>
+      <l:template name="Tuesday" text="Dydd Mawrth"/>
+      <l:template name="Wednesday" text="Dydd Mercher"/>
+      <l:template name="Thursday" text="Dydd Iau"/>
+      <l:template name="Friday" text="Dydd Gwener"/>
+      <l:template name="Saturday" text="Dydd Sadwrn"/>
+      <l:template name="Sunday" text="Dydd Sul"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Ion"/>
+      <l:template name="Feb" text="Chwe"/>
+      <l:template name="Mar" text="Maw"/>
+      <l:template name="Apr" text="Ebr"/>
+      <l:template name="May" text="Mai"/>
+      <l:template name="Jun" text="Meh"/>
+      <l:template name="Jul" text="Gorff"/>
+      <l:template name="Aug" text="Awst"/>
+      <l:template name="Sep" text="Medi"/>
+      <l:template name="Oct" text="Hyd"/>
+      <l:template name="Nov" text="Tach"/>
+      <l:template name="Dec" text="Rhag"/>
+      <l:template name="Mon" text="Llun"/>
+      <l:template name="Tue" text="Mawrth"/>
+      <l:template name="Wed" text="Mercher"/>
+      <l:template name="Thu" text="Iau"/>
+      <l:template name="Fri" text="Gwener"/>
+      <l:template name="Sat" text="Sadwrn"/>
+      <l:template name="Sun" text="Sul"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0409 Welsh (UNITED KINGDOM)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="35">Ch</l:l>
+      <l:l i="35">ch</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="45">Dd</l:l>
+      <l:l i="45">dd</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="65">Ff</l:l>
+      <l:l i="65">ff</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="75">Ng</l:l>
+      <l:l i="75">ng</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="125">Ll</l:l>
+      <l:l i="125">ll</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="165">Ph</l:l>
+      <l:l i="165">ph</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="185">Rh</l:l>
+      <l:l i="185">rh</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="205">Th</l:l>
+      <l:l i="205">th</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/da.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/da.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/da.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,637 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="da" english-language-name="Danish">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/da.xml -->
+<!-- * -->
+<!-- * E-mail the edited da.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Resum&#233;"/>
+   <l:gentext key="abstract" text="resum&#233;"/>
+   <l:gentext key="Answer" text="Svar"/>
+   <l:gentext key="answer" text="svar"/>
+   <l:gentext key="Appendix" text="Appendiks"/>
+   <l:gentext key="appendix" text="appendiks"/>
+   <l:gentext key="Article" text="Artikel"/>
+   <l:gentext key="article" text="artikel"/>
+   <l:gentext key="Author" text="Forfatter"/>
+   <l:gentext key="Bibliography" text="Litteraturliste"/>
+   <l:gentext key="bibliography" text="litteraturliste"/>
+   <l:gentext key="Book" text="Bog"/>
+   <l:gentext key="book" text="bog"/>
+   <l:gentext key="CAUTION" text="PAS P&#197;"/>
+   <l:gentext key="Caution" text="Pas p&#229;"/>
+   <l:gentext key="caution" text="pas p&#229;"/>
+   <l:gentext key="Chapter" text="Kapitel"/>
+   <l:gentext key="chapter" text="kapitel"/>
+   <l:gentext key="Colophon" text="Kolofon"/>
+   <l:gentext key="colophon" text="kolofon"/>
+   <l:gentext key="Copyright" text="Ophavsret"/>
+   <l:gentext key="copyright" text="ophavsret"/>
+   <l:gentext key="Dedication" text="Tilegnet"/>
+   <l:gentext key="dedication" text="tilegnet"/>
+   <l:gentext key="Edition" text="Udgave"/>
+   <l:gentext key="edition" text="udgave"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Ligning"/>
+   <l:gentext key="equation" text="ligning"/>
+   <l:gentext key="Example" text="Eksempel"/>
+   <l:gentext key="example" text="eksempel"/>
+   <l:gentext key="Figure" text="Figur"/>
+   <l:gentext key="figure" text="figur"/>
+   <l:gentext key="Glossary" text="Ordliste"/>
+   <l:gentext key="glossary" text="ordliste"/>
+   <l:gentext key="GlossSee" text="Se"/>
+   <l:gentext key="glosssee" text="se"/>
+   <l:gentext key="GlossSeeAlso" text="Se ogs&#229;"/>
+   <l:gentext key="glossseealso" text="se ogs&#229;"/>
+   <l:gentext key="IMPORTANT" text="VIGTIGT"/>
+   <l:gentext key="important" text="vigtigt"/>
+   <l:gentext key="Important" text="Vigtigt"/>
+   <l:gentext key="Index" text="Stikordsregister"/>
+   <l:gentext key="index" text="stikordsregister"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Retslig note"/>
+   <l:gentext key="legalnotice" text="retslig note"/>
+   <l:gentext key="MsgAud" text="M&#229;lgruppe"/>
+   <l:gentext key="msgaud" text="m&#229;lgruppe"/>
+   <l:gentext key="MsgLevel" text="Niveau"/>
+   <l:gentext key="msglevel" text="niveau"/>
+   <l:gentext key="MsgOrig" text="Grundlag"/>
+   <l:gentext key="msgorig" text="grundlag"/>
+   <l:gentext key="NOTE" text="BEM&#198;RK"/>
+   <l:gentext key="Note" text="Bem&#230;rk"/>
+   <l:gentext key="note" text="bem&#230;rk"/>
+   <l:gentext key="Part" text="Del"/>
+   <l:gentext key="part" text="del"/>
+   <l:gentext key="Preface" text="Forord"/>
+   <l:gentext key="preface" text="forord"/>
+   <l:gentext key="Procedure" text="Procedure"/>
+   <l:gentext key="procedure" text="procedure"/>
+   <l:gentext key="ProductionSet" text="Produktion"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Udgivet"/>
+   <l:gentext key="published" text="udgivet"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Sp&#248;rgsm&#229;l og Svar"/>
+   <l:gentext key="qandadiv" text="Sp&#248;rgsm&#229;l og Svar"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Sp&#248;rgsm&#229;l"/>
+   <l:gentext key="question" text="sp&#248;rgsm&#229;l"/>
+   <l:gentext key="RefEntry" text="Punkt"/>
+   <l:gentext key="refentry" text="punkt"/>
+   <l:gentext key="Reference" text="Henvisning"/>
+   <l:gentext key="reference" text="henvisning"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Navn"/>
+   <l:gentext key="refname" text="navn"/>
+   <l:gentext key="RefSection" text="Afsnit"/>
+   <l:gentext key="refsection" text="afsnit"/>
+   <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+   <l:gentext key="refsynopsisdiv" text="synopsis"/>
+   <l:gentext key="RevHistory" text="Revisionshistorie"/>
+   <l:gentext key="revhistory" text="revisionshistorie"/>
+   <l:gentext key="revision" text="revision"/>
+   <l:gentext key="Revision" text="Revision"/>
+   <l:gentext key="sect1" text="Afsnit"/>
+   <l:gentext key="sect2" text="Afsnit"/>
+   <l:gentext key="sect3" text="Afsnit"/>
+   <l:gentext key="sect4" text="Afsnit"/>
+   <l:gentext key="sect5" text="Afsnit"/>
+   <l:gentext key="section" text="afsnit"/>
+   <l:gentext key="Section" text="Afsnit"/>
+   <l:gentext key="see" text="se"/>
+   <l:gentext key="See" text="Se"/>
+   <l:gentext key="seealso" text="se ogs&#229;"/>
+   <l:gentext key="Seealso" text="Se ogs&#229;"/>
+   <l:gentext key="SeeAlso" text="Se ogs&#229;"/>
+   <l:gentext key="set" text="s&#230;t"/>
+   <l:gentext key="Set" text="S&#230;t"/>
+   <l:gentext key="setindex" text="s&#230;t indeks"/>
+   <l:gentext key="SetIndex" text="S&#230;t indeks"/>
+   <l:gentext key="Sidebar" text="Sidebj&#230;lke"/>
+   <l:gentext key="sidebar" text="sidebj&#230;lke"/>
+   <l:gentext key="step" text="trin"/>
+   <l:gentext key="Step" text="Trin"/>
+   <l:gentext key="table" text="tabel"/>
+   <l:gentext key="Table" text="Tabel"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="vink"/>
+   <l:gentext key="TIP" text="VINK"/>
+   <l:gentext key="Tip" text="Vink"/>
+   <l:gentext key="Warning" text="Advarsel"/>
+   <l:gentext key="warning" text="advarsel"/>
+   <l:gentext key="WARNING" text="ADVARSEL"/>
+   <l:gentext key="and" text="og"/>
+   <l:gentext key="by" text="af"/>
+   <l:gentext key="Edited" text="Redigeret"/>
+   <l:gentext key="edited" text="redigeret"/>
+   <l:gentext key="Editedby" text="Redigeret af"/>
+   <l:gentext key="editedby" text="redigeret af"/>
+   <l:gentext key="in" text="i"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=", "/>
+   <l:gentext key="nonexistantelement" text="ikke-eksisterende element"/>
+   <l:gentext key="notes" text="slutbem&#230;rkning:"/>
+   <l:gentext key="Notes" text="Slutbem&#230;rkning:"/>
+   <l:gentext key="Pgs" text="Siderne"/>
+   <l:gentext key="pgs" text="siderne"/>
+   <l:gentext key="Revisedby" text="Revideret af: "/>
+   <l:gentext key="revisedby" text="revideret af: "/>
+   <l:gentext key="TableNotes" text="Noter:"/>
+   <l:gentext key="tablenotes" text="noter:"/>
+   <l:gentext key="TableofContents" text="Indholdsfortegnelse"/>
+   <l:gentext key="tableofcontents" text="indholdsfortegnelse"/>
+   <l:gentext key="unexpectedelementname" text="uventet elementnavn"/>
+   <l:gentext key="unsupported" text="ikke underst&#248;ttet"/>
+   <l:gentext key="xrefto" text="krydshenvisning til"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="ligningsliste"/>
+   <l:gentext key="ListofEquations" text="Ligningsliste"/>
+   <l:gentext key="ListofExamples" text="Eksempelliste"/>
+   <l:gentext key="listofexamples" text="eksempelliste"/>
+   <l:gentext key="ListofFigures" text="Figurliste"/>
+   <l:gentext key="listoffigures" text="figurliste"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="tabelliste"/>
+   <l:gentext key="ListofTables" text="Tabelliste"/>
+   <l:gentext key="ListofUnknown" text="Liste over ukendte"/>
+   <l:gentext key="listofunknown" text="liste over ukendte"/>
+   <l:gentext key="nav-home" text="hjem"/>
+   <l:gentext key="nav-next" text="n&#230;ste"/>
+   <l:gentext key="nav-next-sibling" text="hurtigt fremad"/>
+   <l:gentext key="nav-prev" text="forrige"/>
+   <l:gentext key="nav-prev-sibling" text="hurtigt tilbage"/>
+   <l:gentext key="nav-up" text="op"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Kladde"/>
+   <l:gentext key="above" text="over"/>
+   <l:gentext key="below" text="under"/>
+   <l:gentext key="sectioncalled" text="afsnittet der hedder"/>
+   <l:gentext key="index symbols" text="symboler"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#230;&#248;&#229;"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#198;&#216;&#197;"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Appendiks %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Kapitel %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Ligning %n. %t"/>
+      <l:template name="example" text="Eksempel %n. %t"/>
+      <l:template name="figure" text="Figur %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Del %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Procedure %n. %t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Produktion %n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Sp&#248;rgsm&#229;l %n"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabel %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Appendiks %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n. %t"/>
+      <l:template name="chapter" text="Kapitel %n. %t"/>
+      <l:template name="part" text="Del&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="Svar %n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Sp&#248;rgsm&#229;l %n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Sp&#248;rgsm&#229;l %n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="afsnittet der hedder &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="Svar&#160;%n"/>
+      <l:template name="appendix" text="Appendiks&#160;%n"/>
+      <l:template name="bridgehead" text="Afsnit&#160;%n"/>
+      <l:template name="chapter" text="Kapitel&#160;%n"/>
+      <l:template name="equation" text="Ligning&#160;%n"/>
+      <l:template name="example" text="Eksempel&#160;%n"/>
+      <l:template name="figure" text="Figur&#160;%n"/>
+      <l:template name="part" text="Del&#160;%n"/>
+      <l:template name="procedure" text="Procedure&#160;%n"/>
+      <l:template name="productionset" text="Produktion&#160;%n"/>
+      <l:template name="qandadiv" text="Sp&#248;rgsm&#229;l og Svar&#160;%n"/>
+      <l:template name="qandaentry" text="Sp&#248;rgsm&#229;l&#160;%n"/>
+      <l:template name="question" text="Sp&#248;rgsm&#229;l&#160;%n"/>
+      <l:template name="sect1" text="Afsnit&#160;%n"/>
+      <l:template name="sect2" text="Afsnit&#160;%n"/>
+      <l:template name="sect3" text="Afsnit&#160;%n"/>
+      <l:template name="sect4" text="Afsnit&#160;%n"/>
+      <l:template name="sect5" text="Afsnit&#160;%n"/>
+      <l:template name="section" text="Afsnit&#160;%n"/>
+      <l:template name="table" text="Tabel&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Appendiks&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Kapitel&#160;%n, %t"/>
+      <l:template name="equation" text="Ligning&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Eksempel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Figur&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Del&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Procedure&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Produktion&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Sp&#248;rgsm&#229;l og Svar&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="afsnittet der hedder &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="afsnittet der hedder &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="afsnittet der hedder &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="afsnittet der hedder &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Afsnit&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="afsnittet der hedder &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabel&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=",  "/>
+      <l:template name="sep2" text=" og "/>
+      <l:template name="seplast" text=" og "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Se %t"/>
+      <l:template name="seealso" text="Se ogs&#229; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="M&#229;lgruppe: "/>
+      <l:template name="MsgLevel" text="Niveau: "/>
+      <l:template name="MsgOrig" text="Grundlag: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d/m/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="Januar"/>
+      <l:template name="February" text="Februar"/>
+      <l:template name="March" text="Marts"/>
+      <l:template name="April" text="April"/>
+      <l:template name="May" text="Maj"/>
+      <l:template name="June" text="Juni"/>
+      <l:template name="July" text="July"/>
+      <l:template name="August" text="August"/>
+      <l:template name="September" text="September"/>
+      <l:template name="October" text="Oktober"/>
+      <l:template name="November" text="November"/>
+      <l:template name="December" text="December"/>
+      <l:template name="Monday" text="Mandag"/>
+      <l:template name="Tuesday" text="Tirsdag"/>
+      <l:template name="Wednesday" text="Onsdag"/>
+      <l:template name="Thursday" text="Torsdag"/>
+      <l:template name="Friday" text="Fredag"/>
+      <l:template name="Saturday" text="L&#248;rdag"/>
+      <l:template name="Sunday" text="S&#248;ndag"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan"/>
+      <l:template name="Feb" text="Feb"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Apr"/>
+      <l:template name="May" text="Maj"/>
+      <l:template name="Jun" text="Jun"/>
+      <l:template name="Jul" text="Jul"/>
+      <l:template name="Aug" text="Aug"/>
+      <l:template name="Sep" text="Sep"/>
+      <l:template name="Oct" text="Okt"/>
+      <l:template name="Nov" text="Nov"/>
+      <l:template name="Dec" text="Dec"/>
+      <l:template name="Mon" text="Man"/>
+      <l:template name="Tue" text="Tir"/>
+      <l:template name="Wed" text="ins"/>
+      <l:template name="Thu" text="Tor"/>
+      <l:template name="Fri" text="Fre"/>
+      <l:template name="Sat" text="L&#248;r"/>
+      <l:template name="Sun" text="S&#248;n"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0406 Danish"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="1">A</l:l>
+      <l:l i="1">a</l:l>
+      <l:l i="2">B</l:l>
+      <l:l i="2">b</l:l>
+      <l:l i="3">C</l:l>
+      <l:l i="3">c</l:l>
+      <l:l i="4">D</l:l>
+      <l:l i="4">d</l:l>
+      <l:l i="5">E</l:l>
+      <l:l i="5">e</l:l>
+      <l:l i="6">F</l:l>
+      <l:l i="6">f</l:l>
+      <l:l i="7">G</l:l>
+      <l:l i="7">g</l:l>
+      <l:l i="8">H</l:l>
+      <l:l i="8">h</l:l>
+      <l:l i="9">I</l:l>
+      <l:l i="9">i</l:l>
+      <l:l i="10">J</l:l>
+      <l:l i="10">j</l:l>
+      <l:l i="11">K</l:l>
+      <l:l i="11">k</l:l>
+      <l:l i="12">L</l:l>
+      <l:l i="12">l</l:l>
+      <l:l i="13">M</l:l>
+      <l:l i="13">m</l:l>
+      <l:l i="14">N</l:l>
+      <l:l i="14">n</l:l>
+      <l:l i="15">O</l:l>
+      <l:l i="15">o</l:l>
+      <l:l i="16">P</l:l>
+      <l:l i="16">p</l:l>
+      <l:l i="17">Q</l:l>
+      <l:l i="17">q</l:l>
+      <l:l i="18">R</l:l>
+      <l:l i="18">r</l:l>
+      <l:l i="19">S</l:l>
+      <l:l i="19">s</l:l>
+      <l:l i="20">T</l:l>
+      <l:l i="20">t</l:l>
+      <l:l i="21">U</l:l>
+      <l:l i="21">u</l:l>
+      <l:l i="22">V</l:l>
+      <l:l i="22">v</l:l>
+      <l:l i="23">W</l:l>
+      <l:l i="23">w</l:l>
+      <l:l i="24">X</l:l>
+      <l:l i="24">x</l:l>
+      <l:l i="25">Y</l:l>
+      <l:l i="25">y</l:l>
+      <l:l i="26">Z</l:l>
+      <l:l i="26">z</l:l>
+      <l:l i="27">&#198;</l:l>
+      <l:l i="27">&#230;</l:l>
+      <l:l i="28">&#216;</l:l>
+      <l:l i="28">&#248;</l:l>
+      <l:l i="29">&#197;</l:l>
+      <l:l i="29">&#229;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/de.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/de.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/de.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,639 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="de" english-language-name="German">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/de.xml -->
+<!-- * -->
+<!-- * E-mail the edited de.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Zusammenfassung"/>
+   <l:gentext key="abstract" text="Zusammenfassung"/>
+   <l:gentext key="Answer" text="A:"/>
+   <l:gentext key="answer" text="A:"/>
+   <l:gentext key="Appendix" text="Anhang"/>
+   <l:gentext key="appendix" text="Anhang"/>
+   <l:gentext key="Article" text="Artikel"/>
+   <l:gentext key="article" text="Artikel"/>
+   <l:gentext key="Author" text="Autor"/>
+   <l:gentext key="Bibliography" text="Literaturverzeichnis"/>
+   <l:gentext key="bibliography" text="Literaturverzeichnis"/>
+   <l:gentext key="Book" text="Buch"/>
+   <l:gentext key="book" text="Buch"/>
+   <l:gentext key="CAUTION" text="ACHTUNG"/>
+   <l:gentext key="Caution" text="Achtung"/>
+   <l:gentext key="caution" text="Achtung"/>
+   <l:gentext key="Chapter" text="Kapitel"/>
+   <l:gentext key="chapter" text="Kapitel"/>
+   <l:gentext key="Colophon" text="Kolophon"/>
+   <l:gentext key="colophon" text="Kolophon"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Widmung"/>
+   <l:gentext key="dedication" text="Widmung"/>
+   <l:gentext key="Edition" text="Ausgabe"/>
+   <l:gentext key="edition" text="Ausgabe"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Gleichung"/>
+   <l:gentext key="equation" text="Gleichung"/>
+   <l:gentext key="Example" text="Beispiel"/>
+   <l:gentext key="example" text="Beispiel"/>
+   <l:gentext key="Figure" text="Abbildung"/>
+   <l:gentext key="figure" text="Abbildung"/>
+   <l:gentext key="Glossary" text="Glossar"/>
+   <l:gentext key="glossary" text="Glossar"/>
+   <l:gentext key="GlossSee" text="Siehe"/>
+   <l:gentext key="glosssee" text="Siehe"/>
+   <l:gentext key="GlossSeeAlso" text="Siehe auch"/>
+   <l:gentext key="glossseealso" text="Siehe auch"/>
+   <l:gentext key="IMPORTANT" text="WICHTIG"/>
+   <l:gentext key="important" text="Wichtig"/>
+   <l:gentext key="Important" text="Wichtig"/>
+   <l:gentext key="Index" text="Stichwortverzeichnis"/>
+   <l:gentext key="index" text="Stichwortverzeichnis"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Rechtlicher Hinweis"/>
+   <l:gentext key="legalnotice" text="Rechtlicher Hinweis"/>
+   <l:gentext key="MsgAud" text="Zielgruppe"/>
+   <l:gentext key="msgaud" text="Zielgruppe"/>
+   <l:gentext key="MsgLevel" text="Dringlichkeit"/>
+   <l:gentext key="msglevel" text="Dringlichkeit"/>
+   <l:gentext key="MsgOrig" text="Ursprung"/>
+   <l:gentext key="msgorig" text="Ursprung"/>
+   <l:gentext key="NOTE" text="ANMERKUNG"/>
+   <l:gentext key="Note" text="Anmerkung"/>
+   <l:gentext key="note" text="Anmerkung"/>
+   <l:gentext key="Part" text="Teil"/>
+   <l:gentext key="part" text="Teil"/>
+   <l:gentext key="Preface" text="Vorwort"/>
+   <l:gentext key="preface" text="Vorwort"/>
+   <l:gentext key="Procedure" text="Prozedur"/>
+   <l:gentext key="procedure" text="Prozedur"/>
+   <l:gentext key="ProductionSet" text="Produktion"/>
+   <l:gentext key="PubDate" text="Ver&#246;ffentlicht"/>
+   <l:gentext key="pubdate" text="Ver&#246;ffentlicht"/>
+   <l:gentext key="Published" text="Ver&#246;ffentlicht"/>
+   <l:gentext key="published" text="Ver&#246;ffentlicht"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="F &amp; A"/>
+   <l:gentext key="qandadiv" text="F &amp; A"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="F:"/>
+   <l:gentext key="question" text="F:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Verweis"/>
+   <l:gentext key="reference" text="Verweis"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Name"/>
+   <l:gentext key="refname" text="Name"/>
+   <l:gentext key="RefSection" text="Abschnitt"/>
+   <l:gentext key="refsection" text="Abschnitt"/>
+   <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+   <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+   <l:gentext key="RevHistory" text="Versionsgeschichte"/>
+   <l:gentext key="revhistory" text="Versionsgeschichte"/>
+   <l:gentext key="revision" text="Version"/>
+   <l:gentext key="Revision" text="Version"/>
+   <l:gentext key="sect1" text="Abschnitt"/>
+   <l:gentext key="sect2" text="Abschnitt"/>
+   <l:gentext key="sect3" text="Abschnitt"/>
+   <l:gentext key="sect4" text="Abschnitt"/>
+   <l:gentext key="sect5" text="Abschnitt"/>
+   <l:gentext key="section" text="Abschnitt"/>
+   <l:gentext key="Section" text="Abschnitt"/>
+   <l:gentext key="see" text="Siehe"/>
+   <l:gentext key="See" text="Siehe"/>
+   <l:gentext key="seealso" text="Siehe auch"/>
+   <l:gentext key="Seealso" text="Siehe auch"/>
+   <l:gentext key="SeeAlso" text="Siehe auch"/>
+   <l:gentext key="set" text="Satz"/>
+   <l:gentext key="Set" text="Satz"/>
+   <l:gentext key="setindex" text="Stichwortverzeichnis"/>
+   <l:gentext key="SetIndex" text="Stichwortverzeichnis"/>
+   <l:gentext key="Sidebar" text="Randnotiz"/>
+   <l:gentext key="sidebar" text="randnotiz"/>
+   <l:gentext key="step" text="Schritt"/>
+   <l:gentext key="Step" text="Schritt"/>
+   <l:gentext key="table" text="Tabelle"/>
+   <l:gentext key="Table" text="Tabelle"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Tipp"/>
+   <l:gentext key="TIP" text="TIPP"/>
+   <l:gentext key="Tip" text="Tipp"/>
+   <l:gentext key="Warning" text="Warnung"/>
+   <l:gentext key="warning" text="Warnung"/>
+   <l:gentext key="WARNING" text="WARNUNG"/>
+   <l:gentext key="and" text="und"/>
+   <l:gentext key="by" text="von"/>
+   <l:gentext key="Edited" text="Herausgegeben"/>
+   <l:gentext key="edited" text="Herausgegeben"/>
+   <l:gentext key="Editedby" text="Herausgegeben von"/>
+   <l:gentext key="editedby" text="Herausgegeben von"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="nicht existierendes Element"/>
+   <l:gentext key="notes" text="Fu&#223;noten"/>
+   <l:gentext key="Notes" text="Fu&#223;noten"/>
+   <l:gentext key="Pgs" text="Seiten"/>
+   <l:gentext key="pgs" text="Seiten"/>
+   <l:gentext key="Revisedby" text="Ge&#228;ndert durch: "/>
+   <l:gentext key="revisedby" text="Ge&#228;ndert durch: "/>
+   <l:gentext key="TableNotes" text="Bemerkungen"/>
+   <l:gentext key="tablenotes" text="Bemerkungen"/>
+   <l:gentext key="TableofContents" text="Inhaltsverzeichnis"/>
+   <l:gentext key="tableofcontents" text="Inhaltsverzeichnis"/>
+   <l:gentext key="unexpectedelementname" text="Unerwarteter Elementname"/>
+   <l:gentext key="unsupported" text="wird nicht unterst&#252;tzt"/>
+   <l:gentext key="xrefto" text="xref auf"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Gleichungen"/>
+   <l:gentext key="ListofEquations" text="Gleichungen"/>
+   <l:gentext key="ListofExamples" text="Beispiele"/>
+   <l:gentext key="listofexamples" text="Beispiele"/>
+   <l:gentext key="ListofFigures" text="Abbildungsverzeichnis"/>
+   <l:gentext key="listoffigures" text="Abbildungsverzeichnis"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Tabellenverzeichnis"/>
+   <l:gentext key="ListofTables" text="Tabellenverzeichnis"/>
+   <l:gentext key="ListofUnknown" text="???-Verzeichnis"/>
+   <l:gentext key="listofunknown" text="???-Verzeichnis"/>
+   <l:gentext key="nav-home" text="Zum Anfang"/>
+   <l:gentext key="nav-next" text="Weiter"/>
+   <l:gentext key="nav-next-sibling" text="Schnell weiter"/>
+   <l:gentext key="nav-prev" text="Zur&#252;ck"/>
+   <l:gentext key="nav-prev-sibling" text="Schnell zur&#252;ck"/>
+   <l:gentext key="nav-up" text="Nach oben"/>
+   <l:gentext key="nav-toc" text="InhV"/>
+   <l:gentext key="Draft" text="Entwurf"/>
+   <l:gentext key="above" text="oben"/>
+   <l:gentext key="below" text="unten"/>
+   <l:gentext key="sectioncalled" text="der Abschnitt namens"/>
+   <l:gentext key="index symbols" text="Symbole"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#228;&#246;&#252;&#223;"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#196;&#214;&#220;&#223;"/>
+   <l:dingbat key="startquote" text="&#8222;"/>
+   <l:dingbat key="endquote" text="&#8220;"/>
+   <l:dingbat key="nestedstartquote" text="&#8218;"/>
+   <l:dingbat key="nestedendquote" text="&#8216;"/>
+   <l:dingbat key="singlestartquote" text="&#8218;"/>
+   <l:dingbat key="singleendquote" text="&#8216;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="3"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Anhang %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Kapitel %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Gleichung %n. %t"/>
+      <l:template name="example" text="Beispiel %n. %t"/>
+      <l:template name="figure" text="Abbildung %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Teil %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Prozedur %n. %t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Produktion&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="F: %n"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabelle %n. %t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Anhang %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Kapitel %n. %t"/>
+      <l:template name="part" text="Teil&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="F:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="F: %n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(Seite %p)"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(S. %p)"/>
+      <l:template name="Page" text="Seite %p"/>
+      <l:template name="bridgehead" text="&#8222;%t&#8220;"/>
+      <l:template name="refsection" text="&#8222;%t&#8220;"/>
+      <l:template name="refsect1" text="&#8222;%t&#8220;"/>
+      <l:template name="refsect2" text="&#8222;%t&#8220;"/>
+      <l:template name="refsect3" text="&#8222;%t&#8220;"/>
+      <l:template name="sect1" text="&#8222;%t&#8220;"/>
+      <l:template name="sect2" text="&#8222;%t&#8220;"/>
+      <l:template name="sect3" text="&#8222;%t&#8220;"/>
+      <l:template name="sect4" text="&#8222;%t&#8220;"/>
+      <l:template name="sect5" text="&#8222;%t&#8220;"/>
+      <l:template name="section" text="&#8222;%t&#8220;"/>
+      <l:template name="simplesect" text="&#8222;%t&#8220;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="Anhang&#160;%n"/>
+      <l:template name="bridgehead" text="Abschnitt&#160;%n"/>
+      <l:template name="chapter" text="Kapitel&#160;%n"/>
+      <l:template name="equation" text="Gleichung&#160;%n"/>
+      <l:template name="example" text="Beispiel&#160;%n"/>
+      <l:template name="figure" text="Abbildung&#160;%n"/>
+      <l:template name="part" text="Teil&#160;%n"/>
+      <l:template name="procedure" text="Prozedur&#160;%n"/>
+      <l:template name="productionset" text="Produktion&#160;%n"/>
+      <l:template name="qandadiv" text="F &amp; A&#160;%n"/>
+      <l:template name="qandaentry" text="F:&#160;%n"/>
+      <l:template name="question" text="F:&#160;%n"/>
+      <l:template name="sect1" text="Abschnitt&#160;%n"/>
+      <l:template name="sect2" text="Abschnitt&#160;%n"/>
+      <l:template name="sect3" text="Abschnitt&#160;%n"/>
+      <l:template name="sect4" text="Abschnitt&#160;%n"/>
+      <l:template name="sect5" text="Abschnitt&#160;%n"/>
+      <l:template name="section" text="Abschnitt&#160;%n"/>
+      <l:template name="table" text="Tabelle&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Anhang&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="chapter" text="Kapitel&#160;%n, %t"/>
+      <l:template name="equation" text="Gleichung&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="example" text="Beispiel&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="figure" text="Abbildung&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="part" text="Teil&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="procedure" text="Prozedur&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="productionset" text="Produktion&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="qandadiv" text="F &amp; A&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="refsect1" text="der Abschnitt namens &#8222;%t&#8220;"/>
+      <l:template name="refsect2" text="der Abschnitt namens &#8222;%t&#8220;"/>
+      <l:template name="refsect3" text="der Abschnitt namens &#8222;%t&#8220;"/>
+      <l:template name="refsection" text="der Abschnitt namens &#8222;%t&#8220;"/>
+      <l:template name="sect1" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect2" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect3" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect4" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect5" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="section" text="Abschnitt&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="simplesect" text="der Abschnitt namens &#8222;%t&#8220;"/>
+      <l:template name="table" text="Tabelle&#160;%n, &#8222;%t&#8220;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" und "/>
+      <l:template name="seplast" text=" und "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Siehe %t"/>
+      <l:template name="seealso" text="Siehe auch %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Zielgruppe: "/>
+      <l:template name="MsgLevel" text="Dringlichkeit: "/>
+      <l:template name="MsgOrig" text="Ursprung: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d.m.Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="Januar"/>
+      <l:template name="February" text="Februar"/>
+      <l:template name="March" text="M&#228;rz"/>
+      <l:template name="April" text="April"/>
+      <l:template name="May" text="Mai"/>
+      <l:template name="June" text="Juni"/>
+      <l:template name="July" text="Juli"/>
+      <l:template name="August" text="August"/>
+      <l:template name="September" text="September"/>
+      <l:template name="October" text="Oktober"/>
+      <l:template name="November" text="November"/>
+      <l:template name="December" text="Dezember"/>
+      <l:template name="Monday" text="Montag"/>
+      <l:template name="Tuesday" text="Dienstag"/>
+      <l:template name="Wednesday" text="Mittwoch"/>
+      <l:template name="Thursday" text="Donnerstag"/>
+      <l:template name="Friday" text="Freitag"/>
+      <l:template name="Saturday" text="Samstag"/>
+      <l:template name="Sunday" text="Sonntag"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan"/>
+      <l:template name="Feb" text="Feb"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Apr"/>
+      <l:template name="May" text="Mai"/>
+      <l:template name="Jun" text="Jun"/>
+      <l:template name="Jul" text="Jul"/>
+      <l:template name="Aug" text="Aug"/>
+      <l:template name="Sep" text="Sep"/>
+      <l:template name="Oct" text="Okt"/>
+      <l:template name="Nov" text="Nov"/>
+      <l:template name="Dec" text="Dez"/>
+      <l:template name="Mon" text="Mo"/>
+      <l:template name="Tue" text="Di"/>
+      <l:template name="Wed" text="Mi"/>
+      <l:template name="Thu" text="Do"/>
+      <l:template name="Fri" text="Fr"/>
+      <l:template name="Sat" text="Sa"/>
+      <l:template name="Sun" text="So"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0407 German (GERMANY)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Symbole</l:l>
+      <l:l i="1">A</l:l>
+      <l:l i="1">a</l:l>
+      <l:l i="1">&#196;</l:l>
+      <l:l i="1">&#228;</l:l>
+      <l:l i="2">B</l:l>
+      <l:l i="2">b</l:l>
+      <l:l i="3">C</l:l>
+      <l:l i="3">c</l:l>
+      <l:l i="4">D</l:l>
+      <l:l i="4">d</l:l>
+      <l:l i="5">E</l:l>
+      <l:l i="5">e</l:l>
+      <l:l i="6">F</l:l>
+      <l:l i="6">f</l:l>
+      <l:l i="7">G</l:l>
+      <l:l i="7">g</l:l>
+      <l:l i="8">H</l:l>
+      <l:l i="8">h</l:l>
+      <l:l i="9">I</l:l>
+      <l:l i="9">i</l:l>
+      <l:l i="10">J</l:l>
+      <l:l i="10">j</l:l>
+      <l:l i="11">K</l:l>
+      <l:l i="11">k</l:l>
+      <l:l i="12">L</l:l>
+      <l:l i="12">l</l:l>
+      <l:l i="13">M</l:l>
+      <l:l i="13">m</l:l>
+      <l:l i="14">N</l:l>
+      <l:l i="14">n</l:l>
+      <l:l i="15">O</l:l>
+      <l:l i="15">o</l:l>
+      <l:l i="15">&#214;</l:l>
+      <l:l i="15">&#246;</l:l>
+      <l:l i="16">P</l:l>
+      <l:l i="16">p</l:l>
+      <l:l i="17">Q</l:l>
+      <l:l i="17">q</l:l>
+      <l:l i="18">R</l:l>
+      <l:l i="18">r</l:l>
+      <l:l i="19">S</l:l>
+      <l:l i="19">s</l:l>
+      <l:l i="20">T</l:l>
+      <l:l i="20">t</l:l>
+      <l:l i="21">U</l:l>
+      <l:l i="21">u</l:l>
+      <l:l i="21">&#220;</l:l>
+      <l:l i="21">&#252;</l:l>
+      <l:l i="22">V</l:l>
+      <l:l i="22">v</l:l>
+      <l:l i="23">W</l:l>
+      <l:l i="23">w</l:l>
+      <l:l i="24">X</l:l>
+      <l:l i="24">x</l:l>
+      <l:l i="25">Y</l:l>
+      <l:l i="25">y</l:l>
+      <l:l i="26">Z</l:l>
+      <l:l i="26">z</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/el.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/el.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/el.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="el" english-language-name="Greek">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/el.xml -->
+<!-- * -->
+<!-- * E-mail the edited el.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#928;&#949;&#961;&#943;&#955;&#951;&#968;&#951;"/>
+   <l:gentext key="abstract" text="&#928;&#949;&#961;&#943;&#955;&#951;&#968;&#951;"/>
+   <l:gentext key="Answer" text="&#913;:"/>
+   <l:gentext key="answer" text="&#913;:"/>
+   <l:gentext key="Appendix" text="&#928;&#945;&#961;&#940;&#961;&#964;&#951;&#956;&#945;"/>
+   <l:gentext key="appendix" text="&#960;&#945;&#961;&#940;&#961;&#964;&#951;&#956;&#945;"/>
+   <l:gentext key="Article" text="&#902;&#961;&#952;&#961;&#959;"/>
+   <l:gentext key="article" text="&#902;&#961;&#952;&#961;&#959;"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="&#914;&#953;&#946;&#955;&#953;&#959;&#947;&#961;&#945;&#966;&#943;&#945;"/>
+   <l:gentext key="bibliography" text="&#914;&#953;&#946;&#955;&#953;&#959;&#947;&#961;&#945;&#966;&#943;&#945;"/>
+   <l:gentext key="Book" text="&#914;&#953;&#946;&#955;&#943;&#959;"/>
+   <l:gentext key="book" text="&#914;&#953;&#946;&#955;&#943;&#959;"/>
+   <l:gentext key="CAUTION" text="&#928;&#929;&#927;&#931;&#927;&#935;&#919;"/>
+   <l:gentext key="Caution" text="&#928;&#961;&#959;&#963;&#959;&#967;&#942;"/>
+   <l:gentext key="caution" text="&#928;&#961;&#959;&#963;&#959;&#967;&#942;"/>
+   <l:gentext key="Chapter" text="&#922;&#949;&#966;&#940;&#955;&#945;&#953;&#959;"/>
+   <l:gentext key="chapter" text="&#954;&#949;&#966;&#940;&#955;&#945;&#953;&#959;"/>
+   <l:gentext key="Colophon" text="&#922;&#959;&#961;&#969;&#957;&#943;&#948;&#945;"/>
+   <l:gentext key="colophon" text="&#922;&#959;&#961;&#969;&#957;&#943;&#948;&#945;"/>
+   <l:gentext key="Copyright" text="&#928;&#957;&#949;&#965;&#956;&#945;&#964;&#953;&#954;&#940; &#916;&#953;&#954;&#945;&#953;&#974;&#956;&#945;&#964;&#945;"/>
+   <l:gentext key="copyright" text="&#928;&#957;&#949;&#965;&#956;&#945;&#964;&#953;&#954;&#940; &#916;&#953;&#954;&#945;&#953;&#974;&#956;&#945;&#964;&#945;"/>
+   <l:gentext key="Dedication" text="&#913;&#966;&#953;&#941;&#961;&#969;&#963;&#951;"/>
+   <l:gentext key="dedication" text="&#913;&#966;&#953;&#941;&#961;&#969;&#963;&#951;"/>
+   <l:gentext key="Edition" text="&#904;&#954;&#948;&#959;&#963;&#951;"/>
+   <l:gentext key="edition" text="&#904;&#954;&#948;&#959;&#963;&#951;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#917;&#958;&#943;&#963;&#969;&#963;&#951;"/>
+   <l:gentext key="equation" text="&#917;&#958;&#943;&#963;&#969;&#963;&#951;"/>
+   <l:gentext key="Example" text="&#928;&#945;&#961;&#940;&#948;&#949;&#953;&#947;&#956;&#945;"/>
+   <l:gentext key="example" text="&#928;&#945;&#961;&#940;&#948;&#949;&#953;&#947;&#956;&#945;"/>
+   <l:gentext key="Figure" text="&#931;&#967;&#942;&#956;&#945;"/>
+   <l:gentext key="figure" text="&#931;&#967;&#942;&#956;&#945;"/>
+   <l:gentext key="Glossary" text="&#915;&#955;&#969;&#963;&#963;&#940;&#961;&#953;&#959;"/>
+   <l:gentext key="glossary" text="&#915;&#955;&#969;&#963;&#963;&#940;&#961;&#953;&#959;"/>
+   <l:gentext key="GlossSee" text="&#916;&#949;&#943;&#964;&#949;"/>
+   <l:gentext key="glosssee" text="&#916;&#949;&#943;&#964;&#949;"/>
+   <l:gentext key="GlossSeeAlso" text="&#916;&#949;&#943;&#964;&#949; &#917;&#960;&#943;&#963;&#951;&#962;"/>
+   <l:gentext key="glossseealso" text="&#916;&#949;&#943;&#964;&#949; &#917;&#960;&#943;&#963;&#951;&#962;"/>
+   <l:gentext key="IMPORTANT" text="&#931;&#919;&#924;&#913;&#925;&#932;&#921;&#922;&#927;"/>
+   <l:gentext key="important" text="&#931;&#951;&#956;&#945;&#957;&#964;&#953;&#954;&#972;"/>
+   <l:gentext key="Important" text="&#931;&#951;&#956;&#945;&#957;&#964;&#953;&#954;&#972;"/>
+   <l:gentext key="Index" text="&#917;&#965;&#961;&#949;&#964;&#942;&#961;&#953;&#959;"/>
+   <l:gentext key="index" text="&#917;&#965;&#961;&#949;&#964;&#942;&#961;&#953;&#959;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#925;&#959;&#956;&#953;&#954;&#942; &#931;&#951;&#956;&#949;&#943;&#969;&#963;&#951;"/>
+   <l:gentext key="legalnotice" text="&#925;&#959;&#956;&#953;&#954;&#942; &#931;&#951;&#956;&#949;&#943;&#969;&#963;&#951;"/>
+   <l:gentext key="MsgAud" text="&#913;&#954;&#961;&#959;&#945;&#964;&#942;&#961;&#953;&#959;"/>
+   <l:gentext key="msgaud" text="&#913;&#954;&#961;&#959;&#945;&#964;&#942;&#961;&#953;&#959;"/>
+   <l:gentext key="MsgLevel" text="&#917;&#960;&#943;&#960;&#949;&#948;&#959;"/>
+   <l:gentext key="msglevel" text="&#917;&#960;&#943;&#960;&#949;&#948;&#959;"/>
+   <l:gentext key="MsgOrig" text="&#928;&#951;&#947;&#942;"/>
+   <l:gentext key="msgorig" text="&#928;&#951;&#947;&#942;"/>
+   <l:gentext key="NOTE" text="&#931;&#919;&#924;&#917;&#921;&#937;&#931;&#919;"/>
+   <l:gentext key="Note" text="&#931;&#951;&#956;&#949;&#943;&#969;&#963;&#951;"/>
+   <l:gentext key="note" text="&#931;&#951;&#956;&#949;&#943;&#969;&#963;&#951;"/>
+   <l:gentext key="Part" text="&#924;&#941;&#961;&#959;&#962;"/>
+   <l:gentext key="part" text="&#924;&#941;&#961;&#959;&#962;"/>
+   <l:gentext key="Preface" text="&#917;&#953;&#963;&#945;&#947;&#969;&#947;&#942;"/>
+   <l:gentext key="preface" text="&#917;&#953;&#963;&#945;&#947;&#969;&#947;&#942;"/>
+   <l:gentext key="Procedure" text="&#916;&#953;&#945;&#948;&#953;&#954;&#945;&#963;&#943;&#945;"/>
+   <l:gentext key="procedure" text="&#916;&#953;&#945;&#948;&#953;&#954;&#945;&#963;&#943;&#945;"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="&#916;&#951;&#956;&#959;&#963;&#953;&#949;&#965;&#956;&#941;&#957;&#959;"/>
+   <l:gentext key="published" text="&#916;&#951;&#956;&#959;&#963;&#953;&#949;&#965;&#956;&#941;&#957;&#959;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#917; &#954;&#945;&#953; &#913;"/>
+   <l:gentext key="qandadiv" text="&#917; &#954;&#945;&#953; &#913;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#917;:"/>
+   <l:gentext key="question" text="&#917;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#913;&#957;&#945;&#966;&#959;&#961;&#940;"/>
+   <l:gentext key="reference" text="&#913;&#957;&#945;&#966;&#959;&#961;&#940;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#908;&#957;&#959;&#956;&#945;"/>
+   <l:gentext key="refname" text="&#908;&#957;&#959;&#956;&#945;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#931;&#973;&#957;&#959;&#968;&#951;"/>
+   <l:gentext key="refsynopsisdiv" text="&#931;&#973;&#957;&#959;&#968;&#951;"/>
+   <l:gentext key="RevHistory" text="&#921;&#963;&#964;&#959;&#961;&#953;&#954;&#972; &#913;&#957;&#945;&#952;&#949;&#969;&#961;&#942;&#963;&#949;&#969;&#957;"/>
+   <l:gentext key="revhistory" text="&#921;&#963;&#964;&#959;&#961;&#953;&#954;&#972; &#913;&#957;&#945;&#952;&#949;&#969;&#961;&#942;&#963;&#949;&#969;&#957;"/>
+   <l:gentext key="revision" text="&#913;&#957;&#945;&#952;&#949;&#974;&#961;&#951;&#963;&#951;"/>
+   <l:gentext key="Revision" text="&#913;&#957;&#945;&#952;&#949;&#974;&#961;&#951;&#963;&#951;"/>
+   <l:gentext key="sect1" text="&#964;&#956;&#942;&#956;&#945;"/>
+   <l:gentext key="sect2" text="&#964;&#956;&#942;&#956;&#945;"/>
+   <l:gentext key="sect3" text="&#964;&#956;&#942;&#956;&#945;"/>
+   <l:gentext key="sect4" text="&#964;&#956;&#942;&#956;&#945;"/>
+   <l:gentext key="sect5" text="&#964;&#956;&#942;&#956;&#945;"/>
+   <l:gentext key="section" text="&#964;&#956;&#942;&#956;&#945;"/>
+   <l:gentext key="Section" text="&#932;&#956;&#942;&#956;&#945;"/>
+   <l:gentext key="see" text="&#916;&#949;&#943;&#964;&#949;"/>
+   <l:gentext key="See" text="&#916;&#949;&#943;&#964;&#949;"/>
+   <l:gentext key="seealso" text="&#916;&#949;&#943;&#964;&#949; &#917;&#960;&#943;&#963;&#951;&#962;"/>
+   <l:gentext key="Seealso" text="&#916;&#949;&#943;&#964;&#949; &#949;&#960;&#943;&#963;&#951;&#962;"/>
+   <l:gentext key="SeeAlso" text="&#916;&#949;&#943;&#964;&#949; &#917;&#960;&#943;&#963;&#951;&#962;"/>
+   <l:gentext key="set" text="&#931;&#973;&#957;&#959;&#955;&#959;"/>
+   <l:gentext key="Set" text="&#931;&#973;&#957;&#959;&#955;&#959;"/>
+   <l:gentext key="setindex" text="&#917;&#965;&#961;&#949;&#964;&#942;&#961;&#953;&#959; &#931;&#965;&#957;&#972;&#955;&#969;&#957;"/>
+   <l:gentext key="SetIndex" text="&#917;&#965;&#961;&#949;&#964;&#942;&#961;&#953;&#959; &#931;&#965;&#957;&#972;&#955;&#969;&#957;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="&#949;&#960;&#949;&#958;&#951;&#947;&#951;&#956;&#945;&#964;&#953;&#954;&#972; &#960;&#955;&#949;&#965;&#961;&#953;&#954;&#972; &#945;&#961;&#952;&#961;&#943;&#948;&#953;&#959;"/>
+   <l:gentext key="step" text="&#966;&#940;&#963;&#951;"/>
+   <l:gentext key="Step" text="&#934;&#940;&#963;&#951;"/>
+   <l:gentext key="table" text="&#928;&#943;&#957;&#945;&#954;&#945;&#962;"/>
+   <l:gentext key="Table" text="&#928;&#943;&#957;&#945;&#954;&#945;&#962;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#933;&#960;&#972;&#948;&#949;&#953;&#958;&#951;"/>
+   <l:gentext key="TIP" text="&#933;&#928;&#927;&#916;&#917;&#921;&#926;&#919;"/>
+   <l:gentext key="Tip" text="&#933;&#960;&#972;&#948;&#949;&#953;&#958;&#951;"/>
+   <l:gentext key="Warning" text="&#928;&#961;&#959;&#949;&#953;&#948;&#959;&#960;&#959;&#943;&#951;&#963;&#951;"/>
+   <l:gentext key="warning" text="&#928;&#961;&#959;&#949;&#953;&#948;&#959;&#960;&#959;&#943;&#951;&#963;&#951;"/>
+   <l:gentext key="WARNING" text="&#928;&#929;&#927;&#917;&#921;&#916;&#927;&#928;&#927;&#921;&#919;&#931;&#919;"/>
+   <l:gentext key="and" text="&#954;&#945;&#953;"/>
+   <l:gentext key="by" text="&#945;&#960;&#972;"/>
+   <l:gentext key="Edited" text="&#917;&#960;&#953;&#956;&#941;&#955;&#949;&#953;&#945;"/>
+   <l:gentext key="edited" text="&#917;&#960;&#953;&#956;&#941;&#955;&#949;&#953;&#945;"/>
+   <l:gentext key="Editedby" text="&#917;&#960;&#953;&#956;&#941;&#955;&#949;&#953;&#945; &#945;&#960;&#972;"/>
+   <l:gentext key="editedby" text="&#917;&#960;&#953;&#956;&#941;&#955;&#949;&#953;&#945; &#945;&#960;&#972;"/>
+   <l:gentext key="in" text="&#963;&#949;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#956;&#951;-&#965;&#960;&#945;&#961;&#954;&#964;&#972; &#963;&#964;&#959;&#953;&#967;&#949;&#943;&#959;"/>
+   <l:gentext key="notes" text="&#931;&#951;&#956;&#949;&#953;&#974;&#963;&#949;&#953;&#962;"/>
+   <l:gentext key="Notes" text="&#931;&#951;&#956;&#949;&#953;&#974;&#963;&#949;&#953;&#962;"/>
+   <l:gentext key="Pgs" text="&#931;&#955;&#948;&#962;."/>
+   <l:gentext key="pgs" text="&#931;&#955;&#948;&#962;."/>
+   <l:gentext key="Revisedby" text="Revised by: "/>
+   <l:gentext key="revisedby" text="Revised by: "/>
+   <l:gentext key="TableNotes" text="&#928;&#943;&#957;&#945;&#954;&#945;&#962; &#931;&#951;&#956;&#949;&#953;&#974;&#963;&#949;&#969;&#957;"/>
+   <l:gentext key="tablenotes" text="&#928;&#943;&#957;&#945;&#954;&#945;&#962; &#931;&#951;&#956;&#949;&#953;&#974;&#963;&#949;&#969;&#957;"/>
+   <l:gentext key="TableofContents" text="&#928;&#943;&#957;&#945;&#954;&#945;&#962; &#928;&#949;&#961;&#953;&#949;&#967;&#959;&#956;&#941;&#957;&#969;&#957;"/>
+   <l:gentext key="tableofcontents" text="&#928;&#943;&#957;&#945;&#954;&#945;&#962; &#928;&#949;&#961;&#953;&#949;&#967;&#959;&#956;&#941;&#957;&#969;&#957;"/>
+   <l:gentext key="unexpectedelementname" text="&#924;&#951; &#945;&#957;&#945;&#956;&#949;&#957;&#972;&#956;&#949;&#957;&#959; &#972;&#957;&#959;&#956;&#945; &#963;&#964;&#959;&#953;&#967;&#949;&#943;&#959;&#965;"/>
+   <l:gentext key="unsupported" text="&#956;&#951; &#965;&#960;&#959;&#963;&#964;&#951;&#961;&#953;&#950;&#972;&#956;&#949;&#957;&#959;"/>
+   <l:gentext key="xrefto" text="&#945;&#957;&#964;&#953;&#960;&#945;&#961;&#945;&#960;&#959;&#956;&#960;&#942; &#963;&#949;"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#922;&#945;&#964;&#940;&#955;&#959;&#947;&#959;&#962; &#917;&#958;&#953;&#963;&#974;&#963;&#949;&#969;&#957;"/>
+   <l:gentext key="ListofEquations" text="&#922;&#945;&#964;&#940;&#955;&#959;&#947;&#959;&#962; &#917;&#958;&#953;&#963;&#974;&#963;&#949;&#969;&#957;"/>
+   <l:gentext key="ListofExamples" text="&#922;&#945;&#964;&#940;&#955;&#959;&#947;&#959;&#962; &#928;&#945;&#961;&#945;&#948;&#949;&#953;&#947;&#956;&#940;&#964;&#969;&#957;"/>
+   <l:gentext key="listofexamples" text="&#922;&#945;&#964;&#940;&#955;&#959;&#947;&#959;&#962; &#928;&#945;&#961;&#945;&#948;&#949;&#953;&#947;&#956;&#940;&#964;&#969;&#957;"/>
+   <l:gentext key="ListofFigures" text="&#922;&#945;&#964;&#940;&#955;&#959;&#947;&#959;&#962; &#931;&#967;&#951;&#956;&#940;&#964;&#969;&#957;"/>
+   <l:gentext key="listoffigures" text="&#922;&#945;&#964;&#940;&#955;&#959;&#947;&#959;&#962; &#931;&#967;&#951;&#956;&#940;&#964;&#969;&#957;"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="&#922;&#945;&#964;&#940;&#955;&#959;&#947;&#959;&#962; &#928;&#953;&#957;&#940;&#954;&#969;&#957;"/>
+   <l:gentext key="ListofTables" text="&#922;&#945;&#964;&#940;&#955;&#959;&#947;&#959;&#962; &#928;&#953;&#957;&#940;&#954;&#969;&#957;"/>
+   <l:gentext key="ListofUnknown" text="&#922;&#945;&#964;&#940;&#955;&#959;&#947;&#959;&#962; &#913;&#947;&#957;&#974;&#963;&#964;&#969;&#957;"/>
+   <l:gentext key="listofunknown" text="&#922;&#945;&#964;&#940;&#955;&#959;&#947;&#959;&#962; &#913;&#947;&#957;&#974;&#963;&#964;&#969;&#957;"/>
+   <l:gentext key="nav-home" text="&#913;&#961;&#967;&#942;"/>
+   <l:gentext key="nav-next" text="&#917;&#960;&#972;&#956;&#949;&#957;&#959;"/>
+   <l:gentext key="nav-next-sibling" text="&#928;&#961;&#959;&#962; &#964;&#959; &#964;&#941;&#955;&#959;&#962;"/>
+   <l:gentext key="nav-prev" text="&#928;&#961;&#959;&#951;&#947;"/>
+   <l:gentext key="nav-prev-sibling" text="&#928;&#961;&#959;&#962; &#964;&#951;&#957; &#945;&#961;&#967;&#942;"/>
+   <l:gentext key="nav-up" text="&#928;&#940;&#957;&#969;"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&amp;#x201C;"/>
+   <l:dingbat key="endquote" text="&amp;#x201D;"/>
+   <l:dingbat key="nestedstartquote" text="&amp;#x2018;"/>
+   <l:dingbat key="nestedendquote" text="&amp;#x2019;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&amp;#x2022;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#928;&#945;&#961;&#940;&#961;&#964;&#951;&#956;&#945; %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#922;&#949;&#966;&#940;&#955;&#945;&#953;&#959; %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#917;&#958;&#943;&#963;&#969;&#963;&#951; %n. %t"/>
+      <l:template name="example" text="&#928;&#945;&#961;&#940;&#948;&#949;&#953;&#947;&#956;&#945; %n. %t"/>
+      <l:template name="figure" text="&#931;&#967;&#942;&#956;&#945; %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#924;&#941;&#961;&#959;&#962; %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#916;&#953;&#945;&#948;&#953;&#954;&#945;&#963;&#943;&#945;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#928;&#943;&#957;&#945;&#954;&#945;&#962; %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#928;&#945;&#961;&#940;&#961;&#964;&#951;&#956;&#945; %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#922;&#949;&#966;&#940;&#955;&#945;&#953;&#959; %n. %t"/>
+      <l:template name="part" text="&#924;&#941;&#961;&#959;&#962;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#913;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#917;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#917;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="refsection" text="&amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="refsect1" text="&amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="refsect2" text="&amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="refsect3" text="&amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="sect1" text="&amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="sect2" text="&amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="sect3" text="&amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="sect4" text="&amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="sect5" text="&amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="section" text="&amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="simplesect" text="&amp;#x201C;%t&amp;#x201D;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#913;:&#160;%n"/>
+      <l:template name="appendix" text="&#928;&#945;&#961;&#940;&#961;&#964;&#951;&#956;&#945;&#160;%n"/>
+      <l:template name="bridgehead" text="&#932;&#956;&#942;&#956;&#945;&#160;%n"/>
+      <l:template name="chapter" text="&#922;&#949;&#966;&#940;&#955;&#945;&#953;&#959;&#160;%n"/>
+      <l:template name="equation" text="&#917;&#958;&#943;&#963;&#969;&#963;&#951;&#160;%n"/>
+      <l:template name="example" text="&#928;&#945;&#961;&#940;&#948;&#949;&#953;&#947;&#956;&#945;&#160;%n"/>
+      <l:template name="figure" text="&#931;&#967;&#942;&#956;&#945;&#160;%n"/>
+      <l:template name="part" text="&#924;&#941;&#961;&#959;&#962;&#160;%n"/>
+      <l:template name="procedure" text="&#916;&#953;&#945;&#948;&#953;&#954;&#945;&#963;&#943;&#945;&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="&#917; &#954;&#945;&#953; &#913;&#160;%n"/>
+      <l:template name="qandaentry" text="&#917;:&#160;%n"/>
+      <l:template name="question" text="&#917;:&#160;%n"/>
+      <l:template name="sect1" text="&#932;&#956;&#942;&#956;&#945;&#160;%n"/>
+      <l:template name="sect2" text="&#932;&#956;&#942;&#956;&#945;&#160;%n"/>
+      <l:template name="sect3" text="&#932;&#956;&#942;&#956;&#945;&#160;%n"/>
+      <l:template name="sect4" text="&#932;&#956;&#942;&#956;&#945;&#160;%n"/>
+      <l:template name="sect5" text="&#932;&#956;&#942;&#956;&#945;&#160;%n"/>
+      <l:template name="section" text="&#932;&#956;&#942;&#956;&#945;&#160;%n"/>
+      <l:template name="table" text="&#928;&#943;&#957;&#945;&#954;&#945;&#962;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#928;&#945;&#961;&#940;&#961;&#964;&#951;&#956;&#945;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#932;&#956;&#942;&#956;&#945;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="chapter" text="&#922;&#949;&#966;&#940;&#955;&#945;&#953;&#959;&#160;%n, %t"/>
+      <l:template name="equation" text="&#917;&#958;&#943;&#963;&#969;&#963;&#951;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="example" text="&#928;&#945;&#961;&#940;&#948;&#949;&#953;&#947;&#956;&#945;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="figure" text="&#931;&#967;&#942;&#956;&#945;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="part" text="&#924;&#941;&#961;&#959;&#962;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="procedure" text="&#916;&#953;&#945;&#948;&#953;&#954;&#945;&#963;&#943;&#945;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="productionset" text="Production&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="qandadiv" text="&#917; &#954;&#945;&#953; &#913;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="refsect1" text="the section called &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="refsect2" text="the section called &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="refsect3" text="the section called &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="refsection" text="the section called &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="sect1" text="&#932;&#956;&#942;&#956;&#945;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="sect2" text="&#932;&#956;&#942;&#956;&#945;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="sect3" text="&#932;&#956;&#942;&#956;&#945;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="sect4" text="&#932;&#956;&#942;&#956;&#945;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="sect5" text="&#932;&#956;&#942;&#956;&#945;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="section" text="&#932;&#956;&#942;&#956;&#945;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="simplesect" text="the section called &amp;#x201C;%t&amp;#x201D;"/>
+      <l:template name="table" text="&#928;&#943;&#957;&#945;&#954;&#945;&#962;&#160;%n, &amp;#x201C;%t&amp;#x201D;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#954;&#945;&#953; "/>
+      <l:template name="seplast" text=", &#954;&#945;&#953; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#916;&#949;&#943;&#964;&#949; %t"/>
+      <l:template name="seealso" text="&#916;&#949;&#943;&#964;&#949; &#917;&#960;&#943;&#963;&#951;&#962; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#913;&#954;&#961;&#959;&#945;&#964;&#942;&#961;&#953;&#959;: "/>
+      <l:template name="MsgLevel" text="&#917;&#960;&#943;&#960;&#949;&#948;&#959;: "/>
+      <l:template name="MsgOrig" text="&#928;&#951;&#947;&#942;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0408 Greek"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/en.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/en.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/en.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en" english-language-name="English">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/en.xml -->
+<!-- * -->
+<!-- * E-mail the edited en.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Abstract"/>
+   <l:gentext key="abstract" text="Abstract"/>
+   <l:gentext key="Answer" text="A:"/>
+   <l:gentext key="answer" text="A:"/>
+   <l:gentext key="Appendix" text="Appendix"/>
+   <l:gentext key="appendix" text="Appendix"/>
+   <l:gentext key="Article" text="Article"/>
+   <l:gentext key="article" text="Article"/>
+   <l:gentext key="Author" text="Author"/>
+   <l:gentext key="Bibliography" text="Bibliography"/>
+   <l:gentext key="bibliography" text="Bibliography"/>
+   <l:gentext key="Book" text="Book"/>
+   <l:gentext key="book" text="Book"/>
+   <l:gentext key="CAUTION" text="CAUTION"/>
+   <l:gentext key="Caution" text="Caution"/>
+   <l:gentext key="caution" text="Caution"/>
+   <l:gentext key="Chapter" text="Chapter"/>
+   <l:gentext key="chapter" text="Chapter"/>
+   <l:gentext key="Colophon" text="Colophon"/>
+   <l:gentext key="colophon" text="Colophon"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Dedication"/>
+   <l:gentext key="dedication" text="Dedication"/>
+   <l:gentext key="Edition" text="Edition"/>
+   <l:gentext key="edition" text="Edition"/>
+   <l:gentext key="Editor" text="Editor"/>
+   <l:gentext key="Equation" text="Equation"/>
+   <l:gentext key="equation" text="Equation"/>
+   <l:gentext key="Example" text="Example"/>
+   <l:gentext key="example" text="Example"/>
+   <l:gentext key="Figure" text="Figure"/>
+   <l:gentext key="figure" text="Figure"/>
+   <l:gentext key="Glossary" text="Glossary"/>
+   <l:gentext key="glossary" text="Glossary"/>
+   <l:gentext key="GlossSee" text="See"/>
+   <l:gentext key="glosssee" text="See"/>
+   <l:gentext key="GlossSeeAlso" text="See Also"/>
+   <l:gentext key="glossseealso" text="See Also"/>
+   <l:gentext key="IMPORTANT" text="IMPORTANT"/>
+   <l:gentext key="important" text="Important"/>
+   <l:gentext key="Important" text="Important"/>
+   <l:gentext key="Index" text="Index"/>
+   <l:gentext key="index" text="Index"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Legal Notice"/>
+   <l:gentext key="legalnotice" text="Legal Notice"/>
+   <l:gentext key="MsgAud" text="Audience"/>
+   <l:gentext key="msgaud" text="Audience"/>
+   <l:gentext key="MsgLevel" text="Level"/>
+   <l:gentext key="msglevel" text="Level"/>
+   <l:gentext key="MsgOrig" text="Origin"/>
+   <l:gentext key="msgorig" text="Origin"/>
+   <l:gentext key="NOTE" text="NOTE"/>
+   <l:gentext key="Note" text="Note"/>
+   <l:gentext key="note" text="Note"/>
+   <l:gentext key="Part" text="Part"/>
+   <l:gentext key="part" text="Part"/>
+   <l:gentext key="Preface" text="Preface"/>
+   <l:gentext key="preface" text="Preface"/>
+   <l:gentext key="Procedure" text="Procedure"/>
+   <l:gentext key="procedure" text="Procedure"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date"/>
+   <l:gentext key="pubdate" text="Publication date"/>
+   <l:gentext key="Published" text="Published"/>
+   <l:gentext key="published" text="Published"/>
+   <l:gentext key="Publisher" text="Publisher"/>
+   <l:gentext key="Qandadiv" text="Q &amp; A"/>
+   <l:gentext key="qandadiv" text="Q &amp; A"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions"/>
+   <l:gentext key="Question" text="Q:"/>
+   <l:gentext key="question" text="Q:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Reference"/>
+   <l:gentext key="reference" text="Reference"/>
+   <l:gentext key="References" text="References"/>
+   <l:gentext key="RefName" text="Name"/>
+   <l:gentext key="refname" text="Name"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+   <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+   <l:gentext key="RevHistory" text="Revision History"/>
+   <l:gentext key="revhistory" text="Revision History"/>
+   <l:gentext key="revision" text="Revision"/>
+   <l:gentext key="Revision" text="Revision"/>
+   <l:gentext key="sect1" text="Section"/>
+   <l:gentext key="sect2" text="Section"/>
+   <l:gentext key="sect3" text="Section"/>
+   <l:gentext key="sect4" text="Section"/>
+   <l:gentext key="sect5" text="Section"/>
+   <l:gentext key="section" text="Section"/>
+   <l:gentext key="Section" text="Section"/>
+   <l:gentext key="see" text="see"/>
+   <l:gentext key="See" text="See"/>
+   <l:gentext key="seealso" text="see also"/>
+   <l:gentext key="Seealso" text="See also"/>
+   <l:gentext key="SeeAlso" text="See Also"/>
+   <l:gentext key="set" text="Set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Set Index"/>
+   <l:gentext key="SetIndex" text="Set Index"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="step"/>
+   <l:gentext key="Step" text="Step"/>
+   <l:gentext key="table" text="Table"/>
+   <l:gentext key="Table" text="Table"/>
+   <l:gentext key="task" text="Task"/>
+   <l:gentext key="Task" text="Task"/>
+   <l:gentext key="tip" text="Tip"/>
+   <l:gentext key="TIP" text="TIP"/>
+   <l:gentext key="Tip" text="Tip"/>
+   <l:gentext key="Warning" text="Warning"/>
+   <l:gentext key="warning" text="Warning"/>
+   <l:gentext key="WARNING" text="WARNING"/>
+   <l:gentext key="and" text="and"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="Edited"/>
+   <l:gentext key="edited" text="Edited"/>
+   <l:gentext key="Editedby" text="Edited by"/>
+   <l:gentext key="editedby" text="Edited by"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="non-existant element"/>
+   <l:gentext key="notes" text="Notes"/>
+   <l:gentext key="Notes" text="Notes"/>
+   <l:gentext key="Pgs" text="Pgs."/>
+   <l:gentext key="pgs" text="Pgs."/>
+   <l:gentext key="Revisedby" text="Revised by: "/>
+   <l:gentext key="revisedby" text="Revised by: "/>
+   <l:gentext key="TableNotes" text="Notes"/>
+   <l:gentext key="tablenotes" text="Notes"/>
+   <l:gentext key="TableofContents" text="Table of Contents"/>
+   <l:gentext key="tableofcontents" text="Table of Contents"/>
+   <l:gentext key="unexpectedelementname" text="Unexpected element name"/>
+   <l:gentext key="unsupported" text="unsupported"/>
+   <l:gentext key="xrefto" text="xref to"/>
+   <l:gentext key="Authors" text="Authors"/>
+   <l:gentext key="copyeditor" text="Copy Editor"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer"/>
+   <l:gentext key="productioneditor" text="Production Editor"/>
+   <l:gentext key="technicaleditor" text="Technical Editor"/>
+   <l:gentext key="translator" text="Translator"/>
+   <l:gentext key="listofequations" text="List of Equations"/>
+   <l:gentext key="ListofEquations" text="List of Equations"/>
+   <l:gentext key="ListofExamples" text="List of Examples"/>
+   <l:gentext key="listofexamples" text="List of Examples"/>
+   <l:gentext key="ListofFigures" text="List of Figures"/>
+   <l:gentext key="listoffigures" text="List of Figures"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures"/>
+   <l:gentext key="listofprocedures" text="List of Procedures"/>
+   <l:gentext key="listoftables" text="List of Tables"/>
+   <l:gentext key="ListofTables" text="List of Tables"/>
+   <l:gentext key="ListofUnknown" text="List of Unknown"/>
+   <l:gentext key="listofunknown" text="List of Unknown"/>
+   <l:gentext key="nav-home" text="Home"/>
+   <l:gentext key="nav-next" text="Next"/>
+   <l:gentext key="nav-next-sibling" text="Fast Forward"/>
+   <l:gentext key="nav-prev" text="Prev"/>
+   <l:gentext key="nav-prev-sibling" text="Fast Backward"/>
+   <l:gentext key="nav-up" text="Up"/>
+   <l:gentext key="nav-toc" text="ToC"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Appendix&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Chapter&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Equation&#160;%n.&#160;%t"/>
+      <l:template name="example" text="Example&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="Figure&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Part&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Procedure&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Table&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t"/>
+      <l:template name="taskprerequisites" text="%t"/>
+      <l:template name="taskrelated" text="%t"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Appendix&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Chapter&#160;%n.&#160;%t"/>
+      <l:template name="part" text="Part&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Q:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Q:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o"/>
+      <l:template name="olink.page.citation" text=" (page %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)"/>
+      <l:template name="docname" text=" in %o"/>
+      <l:template name="docnamelong" text=" in the document titled %o"/>
+      <l:template name="pageabbrev" text="(p. %p)"/>
+      <l:template name="Page" text="Page %p"/>
+      <l:template name="bridgehead" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="section" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="Appendix&#160;%n"/>
+      <l:template name="bridgehead" text="Section&#160;%n"/>
+      <l:template name="chapter" text="Chapter&#160;%n"/>
+      <l:template name="equation" text="Equation&#160;%n"/>
+      <l:template name="example" text="Example&#160;%n"/>
+      <l:template name="figure" text="Figure&#160;%n"/>
+      <l:template name="part" text="Part&#160;%n"/>
+      <l:template name="procedure" text="Procedure&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+      <l:template name="qandaentry" text="Q:&#160;%n"/>
+      <l:template name="question" text="Q:&#160;%n"/>
+      <l:template name="sect1" text="Section&#160;%n"/>
+      <l:template name="sect2" text="Section&#160;%n"/>
+      <l:template name="sect3" text="Section&#160;%n"/>
+      <l:template name="sect4" text="Section&#160;%n"/>
+      <l:template name="sect5" text="Section&#160;%n"/>
+      <l:template name="section" text="Section&#160;%n"/>
+      <l:template name="table" text="Table&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Appendix&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Section&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Chapter&#160;%n, %t"/>
+      <l:template name="equation" text="Equation&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Example&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Figure&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Part&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Procedure&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Section&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Section&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Section&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Section&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Section&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Section&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="table" text="Table&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" and "/>
+      <l:template name="seplast" text=", and "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="See %t"/>
+      <l:template name="seealso" text="See Also %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Audience: "/>
+      <l:template name="MsgLevel" text="Level: "/>
+      <l:template name="MsgOrig" text="Origin: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January"/>
+      <l:template name="February" text="February"/>
+      <l:template name="March" text="March"/>
+      <l:template name="April" text="April"/>
+      <l:template name="May" text="May"/>
+      <l:template name="June" text="June"/>
+      <l:template name="July" text="July"/>
+      <l:template name="August" text="August"/>
+      <l:template name="September" text="September"/>
+      <l:template name="October" text="October"/>
+      <l:template name="November" text="November"/>
+      <l:template name="December" text="December"/>
+      <l:template name="Monday" text="Monday"/>
+      <l:template name="Tuesday" text="Tuesday"/>
+      <l:template name="Wednesday" text="Wednesday"/>
+      <l:template name="Thursday" text="Thursday"/>
+      <l:template name="Friday" text="Friday"/>
+      <l:template name="Saturday" text="Saturday"/>
+      <l:template name="Sunday" text="Sunday"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan"/>
+      <l:template name="Feb" text="Feb"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Apr"/>
+      <l:template name="May" text="May"/>
+      <l:template name="Jun" text="Jun"/>
+      <l:template name="Jul" text="Jul"/>
+      <l:template name="Aug" text="Aug"/>
+      <l:template name="Sep" text="Sep"/>
+      <l:template name="Oct" text="Oct"/>
+      <l:template name="Nov" text="Nov"/>
+      <l:template name="Dec" text="Dec"/>
+      <l:template name="Mon" text="Mon"/>
+      <l:template name="Tue" text="Tue"/>
+      <l:template name="Wed" text="Wed"/>
+      <l:template name="Thu" text="Thu"/>
+      <l:template name="Fri" text="Fri"/>
+      <l:template name="Sat" text="Sat"/>
+      <l:template name="Sun" text="Sun"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0409 English (UNITED STATES)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", "/>
+      <l:template name="number-separator" text=", "/>
+      <l:template name="range-separator" text="-"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/entities.ent
===================================================================
--- trunk/docs/docbook/src/main/resources/common/entities.ent	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/entities.ent	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,55 @@
+<!-- ********************************************************************
+     $Id: entities.ent 6471 2007-01-06 18:29:34Z bobstayton $
+     ********************************************************************
+     
+     This file contains common entity declarations used for
+     sorting by various templates.
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!ENTITY lowercase "'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;!
 &#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;!
 &#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&
#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#3!
 69;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;'">
+<!ENTITY uppercase "'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ'">
+
+<!ENTITY primary   'normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = ""]))'>
+<!ENTITY secondary 'normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = ""]))'>
+<!ENTITY tertiary  'normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = ""]))'>
+
+
+<!ENTITY section   '(ancestor-or-self::set
+                     |ancestor-or-self::book
+                     |ancestor-or-self::part
+                     |ancestor-or-self::reference
+                     |ancestor-or-self::partintro
+                     |ancestor-or-self::chapter
+                     |ancestor-or-self::appendix
+                     |ancestor-or-self::preface
+                     |ancestor-or-self::article
+                     |ancestor-or-self::section
+                     |ancestor-or-self::sect1
+                     |ancestor-or-self::sect2
+                     |ancestor-or-self::sect3
+                     |ancestor-or-self::sect4
+                     |ancestor-or-self::sect5
+                     |ancestor-or-self::refentry
+                     |ancestor-or-self::refsect1
+                     |ancestor-or-self::refsect2
+                     |ancestor-or-self::refsect3
+                     |ancestor-or-self::simplesect
+                     |ancestor-or-self::bibliography
+                     |ancestor-or-self::glossary
+                     |ancestor-or-self::index
+                     |ancestor-or-self::webpage)[last()]'>
+
+<!ENTITY section.id 'generate-id(&section;)'>
+<!ENTITY sep '" "'>
+
+<!ENTITY scope 'count(ancestor::node()|$scope) = count(ancestor::node())
+                and ($role = @role or $type = @type or
+                (string-length($role) = 0 and string-length($type) = 0))'>
+

Added: trunk/docs/docbook/src/main/resources/common/es.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/es.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/es.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,649 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="es" english-language-name="Spanish">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/es.xml -->
+<!-- * -->
+<!-- * E-mail the edited es.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Resumen"/>
+   <l:gentext key="abstract" text="resumen"/>
+   <l:gentext key="Answer" text="R:"/>
+   <l:gentext key="answer" text="r:"/>
+   <l:gentext key="Appendix" text="Ap&#233;ndice"/>
+   <l:gentext key="appendix" text="ap&#233;ndice"/>
+   <l:gentext key="Article" text="Art&#237;culo"/>
+   <l:gentext key="article" text="art&#237;culo"/>
+   <l:gentext key="Author" text="Autor"/>
+   <l:gentext key="Bibliography" text="Bibliograf&#237;a"/>
+   <l:gentext key="bibliography" text="bibliograf&#237;a"/>
+   <l:gentext key="Book" text="Libro"/>
+   <l:gentext key="book" text="libro"/>
+   <l:gentext key="CAUTION" text="ATENCI&#211;N"/>
+   <l:gentext key="Caution" text="Atenci&#243;n"/>
+   <l:gentext key="caution" text="atenci&#243;n"/>
+   <l:gentext key="Chapter" text="Cap&#237;tulo"/>
+   <l:gentext key="chapter" text="cap&#237;tulo"/>
+   <l:gentext key="Colophon" text="Colof&#243;n"/>
+   <l:gentext key="colophon" text="colof&#243;n"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="copyright"/>
+   <l:gentext key="Dedication" text="Dedicatoria"/>
+   <l:gentext key="dedication" text="dedicatoria"/>
+   <l:gentext key="Edition" text="Edici&#243;n"/>
+   <l:gentext key="edition" text="edici&#243;n"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Ecuaci&#243;n"/>
+   <l:gentext key="equation" text="ecuaci&#243;n"/>
+   <l:gentext key="Example" text="Ejemplo"/>
+   <l:gentext key="example" text="ejemplo"/>
+   <l:gentext key="Figure" text="Figura"/>
+   <l:gentext key="figure" text="figura"/>
+   <l:gentext key="Glossary" text="Glosario"/>
+   <l:gentext key="glossary" text="glosario"/>
+   <l:gentext key="GlossSee" text="Ver"/>
+   <l:gentext key="glosssee" text="ver"/>
+   <l:gentext key="GlossSeeAlso" text="Ver tambi&#233;n"/>
+   <l:gentext key="glossseealso" text="ver tambi&#233;n"/>
+   <l:gentext key="IMPORTANT" text="IMPORTANTE"/>
+   <l:gentext key="important" text="importante"/>
+   <l:gentext key="Important" text="Importante"/>
+   <l:gentext key="Index" text="&#205;ndice"/>
+   <l:gentext key="index" text="&#237;ndice"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="isbn"/>
+   <l:gentext key="LegalNotice" text="Aviso Legal"/>
+   <l:gentext key="legalnotice" text="aviso legal"/>
+   <l:gentext key="MsgAud" text="Audiencia"/>
+   <l:gentext key="msgaud" text="audiencia"/>
+   <l:gentext key="MsgLevel" text="Nivel"/>
+   <l:gentext key="msglevel" text="nivel"/>
+   <l:gentext key="MsgOrig" text="Origen"/>
+   <l:gentext key="msgorig" text="origen"/>
+   <l:gentext key="NOTE" text="NOTA"/>
+   <l:gentext key="Note" text="Nota"/>
+   <l:gentext key="note" text="nota"/>
+   <l:gentext key="Part" text="Parte"/>
+   <l:gentext key="part" text="parte"/>
+   <l:gentext key="Preface" text="Prefacio"/>
+   <l:gentext key="preface" text="prefacio"/>
+   <l:gentext key="Procedure" text="Procedimiento"/>
+   <l:gentext key="procedure" text="procedimiento"/>
+   <l:gentext key="ProductionSet" text="Producci&#243;n"/>
+   <l:gentext key="PubDate" text="Fecha de publicaci&#243;n"/>
+   <l:gentext key="pubdate" text="fecha de publicaci&#243;n"/>
+   <l:gentext key="Published" text="Publicado"/>
+   <l:gentext key="published" text="publicado"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="P y R"/>
+   <l:gentext key="qandadiv" text="P y R"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="P:"/>
+   <l:gentext key="question" text="p:"/>
+   <l:gentext key="RefEntry" text="Entrada de referencia"/>
+   <l:gentext key="refentry" text="entrada de referencia"/>
+   <l:gentext key="Reference" text="Referencia"/>
+   <l:gentext key="reference" text="referencia"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Nombre de referencia"/>
+   <l:gentext key="refname" text="nombre de referencia"/>
+   <l:gentext key="RefSection" text="Secci&#243;n de referencia"/>
+   <l:gentext key="refsection" text="secci&#243;n de referencia"/>
+   <l:gentext key="RefSynopsisDiv" text="Sinopsis"/>
+   <l:gentext key="refsynopsisdiv" text="sinopsis"/>
+   <l:gentext key="RevHistory" text="Historial de revisiones"/>
+   <l:gentext key="revhistory" text="Historial de revisiones"/>
+   <l:gentext key="revision" text="revisi&#243;n"/>
+   <l:gentext key="Revision" text="Revisi&#243;n"/>
+   <l:gentext key="sect1" text="Secci&#243;n"/>
+   <l:gentext key="sect2" text="Secci&#243;n"/>
+   <l:gentext key="sect3" text="Secci&#243;n"/>
+   <l:gentext key="sect4" text="Secci&#243;n"/>
+   <l:gentext key="sect5" text="Secci&#243;n"/>
+   <l:gentext key="section" text="secci&#243;n"/>
+   <l:gentext key="Section" text="Secci&#243;n"/>
+   <l:gentext key="see" text="ver"/>
+   <l:gentext key="See" text="Ver"/>
+   <l:gentext key="seealso" text="ver tambi&#233;n"/>
+   <l:gentext key="Seealso" text="Ver tambi&#233;n"/>
+   <l:gentext key="SeeAlso" text="Ver Tambi&#233;n"/>
+   <l:gentext key="set" text="conjunto"/>
+   <l:gentext key="Set" text="Conjunto"/>
+   <l:gentext key="setindex" text="&#237;ndice del conjunto"/>
+   <l:gentext key="SetIndex" text="&#205;ndice del Conjunto"/>
+   <l:gentext key="Sidebar" text="Barra lateral"/>
+   <l:gentext key="sidebar" text="barra lateral"/>
+   <l:gentext key="step" text="paso"/>
+   <l:gentext key="Step" text="Paso"/>
+   <l:gentext key="table" text="tabla"/>
+   <l:gentext key="Table" text="Tabla"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="sugerencia"/>
+   <l:gentext key="TIP" text="SUGERENCIA"/>
+   <l:gentext key="Tip" text="Sugerencia"/>
+   <l:gentext key="Warning" text="Aviso"/>
+   <l:gentext key="warning" text="aviso"/>
+   <l:gentext key="WARNING" text="AVISO"/>
+   <l:gentext key="and" text="y"/>
+   <l:gentext key="by" text="por"/>
+   <l:gentext key="Edited" text="Editado"/>
+   <l:gentext key="edited" text="editado"/>
+   <l:gentext key="Editedby" text="Editado por"/>
+   <l:gentext key="editedby" text="editado por"/>
+   <l:gentext key="in" text="en"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="elemento inexistente"/>
+   <l:gentext key="notes" text="notas"/>
+   <l:gentext key="Notes" text="Notas"/>
+   <l:gentext key="Pgs" text="P&#225;gs."/>
+   <l:gentext key="pgs" text="p&#225;gs."/>
+   <l:gentext key="Revisedby" text="Revisado por: "/>
+   <l:gentext key="revisedby" text="revisado por: "/>
+   <l:gentext key="TableNotes" text="Notas de tabla"/>
+   <l:gentext key="tablenotes" text="notas de tabla"/>
+   <l:gentext key="TableofContents" text="Tabla de contenidos"/>
+   <l:gentext key="tableofcontents" text="tabla de contenidos"/>
+   <l:gentext key="unexpectedelementname" text="nombre de elemento inesperado"/>
+   <l:gentext key="unsupported" text="no soportado"/>
+   <l:gentext key="xrefto" text="referencia a"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="lista de ecuaciones"/>
+   <l:gentext key="ListofEquations" text="Lista de ecuaciones"/>
+   <l:gentext key="ListofExamples" text="Lista de ejemplos"/>
+   <l:gentext key="listofexamples" text="lista de ejemplos"/>
+   <l:gentext key="ListofFigures" text="Lista de figuras"/>
+   <l:gentext key="listoffigures" text="lista de figuras"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="lista de tablas"/>
+   <l:gentext key="ListofTables" text="Lista de tablas"/>
+   <l:gentext key="ListofUnknown" text="Lista de desconocido"/>
+   <l:gentext key="listofunknown" text="lista de desconocido"/>
+   <l:gentext key="nav-home" text="Inicio"/>
+   <l:gentext key="nav-next" text="Siguiente"/>
+   <l:gentext key="nav-next-sibling" text="Avanzar"/>
+   <l:gentext key="nav-prev" text="Anterior"/>
+   <l:gentext key="nav-prev-sibling" text="Retroceder"/>
+   <l:gentext key="nav-up" text="Subir"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Borrador"/>
+   <l:gentext key="above" text="arriba"/>
+   <l:gentext key="below" text="abajo"/>
+   <l:gentext key="sectioncalled" text="secci&#243;n llamada"/>
+   <l:gentext key="index symbols" text="S&#237;mbolos"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#225;&#233;&#237;&#243;&#250;&#241;"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#193;&#201;&#205;&#211;&#218;&#209;"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Ap&#233;ndice %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Cap&#237;tulo %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Ecuaci&#243;n %n. %t"/>
+      <l:template name="example" text="Ejemplo %n. %t"/>
+      <l:template name="figure" text="Figura %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Parte %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Procedimiento %n. %t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Producci&#243;n %n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabla %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Ap&#233;ndice %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n. %t"/>
+      <l:template name="chapter" text="Cap&#237;tulo %n. %t"/>
+      <l:template name="part" text="Parte&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="R:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="P:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="P:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="R:&#160;%n"/>
+      <l:template name="appendix" text="Ap&#233;ndice&#160;%n"/>
+      <l:template name="bridgehead" text="Secci&#243;n&#160;%n"/>
+      <l:template name="chapter" text="Cap&#237;tulo&#160;%n"/>
+      <l:template name="equation" text="Ecuaci&#243;n&#160;%n"/>
+      <l:template name="example" text="Ejemplo&#160;%n"/>
+      <l:template name="figure" text="Figura&#160;%n"/>
+      <l:template name="part" text="Parte&#160;%n"/>
+      <l:template name="procedure" text="Procedimiento&#160;%n"/>
+      <l:template name="productionset" text="Producci&#243;n&#160;%n"/>
+      <l:template name="qandadiv" text="P y R&#160;%n"/>
+      <l:template name="qandaentry" text="P:&#160;%n"/>
+      <l:template name="question" text="P:&#160;%n"/>
+      <l:template name="sect1" text="Secci&#243;n&#160;%n"/>
+      <l:template name="sect2" text="Secci&#243;n&#160;%n"/>
+      <l:template name="sect3" text="Secci&#243;n&#160;%n"/>
+      <l:template name="sect4" text="Secci&#243;n&#160;%n"/>
+      <l:template name="sect5" text="Secci&#243;n&#160;%n"/>
+      <l:template name="section" text="Secci&#243;n&#160;%n"/>
+      <l:template name="table" text="Tabla&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Ap&#233;ndice&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Cap&#237;tulo&#160;%n, %t"/>
+      <l:template name="equation" text="Ecuaci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Ejemplo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Figura&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Parte&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Procedimiento&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Producci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="P y R&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="secci&#243;n llamada &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="secci&#243;n llamada &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="secci&#243;n llamada &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="secci&#243;n llamada &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Secci&#243;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="secci&#243;n llamada &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabla&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" y "/>
+      <l:template name="seplast" text=", y "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Ver %t"/>
+      <l:template name="seealso" text="Ver tambi&#233;n %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Audiencia: "/>
+      <l:template name="MsgLevel" text="Nivel: "/>
+      <l:template name="MsgOrig" text="Origen: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x040a Spanish (Traditional Sort)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">S&#237;mbolos</l:l>
+      <l:l i="1">A</l:l>
+      <l:l i="1">a</l:l>
+      <l:l i="1">&#225;</l:l>
+      <l:l i="1">&#193;</l:l>
+      <l:l i="2">B</l:l>
+      <l:l i="2">b</l:l>
+      <l:l i="3">C</l:l>
+      <l:l i="3">c</l:l>
+      <l:l i="4">CH</l:l>
+      <l:l i="4">ch</l:l>
+      <l:l i="5">D</l:l>
+      <l:l i="5">d</l:l>
+      <l:l i="6">E</l:l>
+      <l:l i="6">e</l:l>
+      <l:l i="6">&#201;</l:l>
+      <l:l i="6">&#233;</l:l>
+      <l:l i="7">F</l:l>
+      <l:l i="7">f</l:l>
+      <l:l i="8">G</l:l>
+      <l:l i="8">g</l:l>
+      <l:l i="9">H</l:l>
+      <l:l i="9">h</l:l>
+      <l:l i="10">I</l:l>
+      <l:l i="10">i</l:l>
+      <l:l i="10">&#205;</l:l>
+      <l:l i="10">&#237;</l:l>
+      <l:l i="11">J</l:l>
+      <l:l i="11">j</l:l>
+      <l:l i="12">K</l:l>
+      <l:l i="12">k</l:l>
+      <l:l i="13">L</l:l>
+      <l:l i="13">l</l:l>
+      <l:l i="14">LL</l:l>
+      <l:l i="14">ll</l:l>
+      <l:l i="15">M</l:l>
+      <l:l i="15">m</l:l>
+      <l:l i="16">N</l:l>
+      <l:l i="16">n</l:l>
+      <l:l i="17">&#209;</l:l>
+      <l:l i="17">&#241;</l:l>
+      <l:l i="18">O</l:l>
+      <l:l i="18">o</l:l>
+      <l:l i="18">&#211;</l:l>
+      <l:l i="18">&#243;</l:l>
+      <l:l i="19">P</l:l>
+      <l:l i="19">p</l:l>
+      <l:l i="20">Q</l:l>
+      <l:l i="20">q</l:l>
+      <l:l i="21">R</l:l>
+      <l:l i="21">r</l:l>
+      <l:l i="22">S</l:l>
+      <l:l i="22">s</l:l>
+      <l:l i="23">T</l:l>
+      <l:l i="23">t</l:l>
+      <l:l i="24">U</l:l>
+      <l:l i="24">u</l:l>
+      <l:l i="24">&#218;</l:l>
+      <l:l i="24">&#250;</l:l>
+      <l:l i="25">V</l:l>
+      <l:l i="25">v</l:l>
+      <l:l i="26">W</l:l>
+      <l:l i="26">w</l:l>
+      <l:l i="27">X</l:l>
+      <l:l i="27">x</l:l>
+      <l:l i="28">Y</l:l>
+      <l:l i="28">y</l:l>
+      <l:l i="29">Z</l:l>
+      <l:l i="29">z</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/et.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/et.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/et.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="et" english-language-name="Estonian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/et.xml -->
+<!-- * -->
+<!-- * E-mail the edited et.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#220;levaade"/>
+   <l:gentext key="abstract" text="&#220;levaade"/>
+   <l:gentext key="Answer" text="V:"/>
+   <l:gentext key="answer" text="V:"/>
+   <l:gentext key="Appendix" text="Lisa"/>
+   <l:gentext key="appendix" text="lisa"/>
+   <l:gentext key="Article" text="Artikkel"/>
+   <l:gentext key="article" text="Artikkel"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Bibliograafia"/>
+   <l:gentext key="bibliography" text="Bibliograafia"/>
+   <l:gentext key="Book" text="Raamat"/>
+   <l:gentext key="book" text="Raamat"/>
+   <l:gentext key="CAUTION" text="ETTEVAATUST"/>
+   <l:gentext key="Caution" text="Ettevaatust"/>
+   <l:gentext key="caution" text="Ettevaatust"/>
+   <l:gentext key="Chapter" text="Peat&#252;kk"/>
+   <l:gentext key="chapter" text="peat&#252;kk"/>
+   <l:gentext key="Colophon" text="L&#245;pum&#228;rgis"/>
+   <l:gentext key="colophon" text="L&#245;pum&#228;rgis"/>
+   <l:gentext key="Copyright" text="Autori&#245;igus"/>
+   <l:gentext key="copyright" text="Autori&#245;igus"/>
+   <l:gentext key="Dedication" text="P&#252;hendus"/>
+   <l:gentext key="dedication" text="P&#252;hendus"/>
+   <l:gentext key="Edition" text="V&#228;ljaanne"/>
+   <l:gentext key="edition" text="V&#228;ljaanne"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Valem"/>
+   <l:gentext key="equation" text="Valem"/>
+   <l:gentext key="Example" text="N&#228;ide"/>
+   <l:gentext key="example" text="N&#228;ide"/>
+   <l:gentext key="Figure" text="Joonis"/>
+   <l:gentext key="figure" text="Joonis"/>
+   <l:gentext key="Glossary" text="S&#245;nastik"/>
+   <l:gentext key="glossary" text="S&#245;nastik"/>
+   <l:gentext key="GlossSee" text="Vt."/>
+   <l:gentext key="glosssee" text="Vt."/>
+   <l:gentext key="GlossSeeAlso" text="Vt. ka"/>
+   <l:gentext key="glossseealso" text="Vt. ka"/>
+   <l:gentext key="IMPORTANT" text="OLULINE"/>
+   <l:gentext key="important" text="Oluline"/>
+   <l:gentext key="Important" text="Oluline"/>
+   <l:gentext key="Index" text="Aineregister"/>
+   <l:gentext key="index" text="Aineregister"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Autori&#245;iguse m&#228;rge"/>
+   <l:gentext key="legalnotice" text="Autori&#245;iguse m&#228;rge"/>
+   <l:gentext key="MsgAud" text="Auditoorium"/>
+   <l:gentext key="msgaud" text="Auditoorium"/>
+   <l:gentext key="MsgLevel" text="Tase"/>
+   <l:gentext key="msglevel" text="Tase"/>
+   <l:gentext key="MsgOrig" text="Algallikas"/>
+   <l:gentext key="msgorig" text="Algallikas"/>
+   <l:gentext key="NOTE" text="M&#196;RKUS"/>
+   <l:gentext key="Note" text="M&#228;rkus"/>
+   <l:gentext key="note" text="M&#228;rkus"/>
+   <l:gentext key="Part" text="Osa"/>
+   <l:gentext key="part" text="Osa"/>
+   <l:gentext key="Preface" text="Eess&#245;na"/>
+   <l:gentext key="preface" text="Eess&#245;na"/>
+   <l:gentext key="Procedure" text="Protseduur"/>
+   <l:gentext key="procedure" text="Protseduur"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Avaldatud"/>
+   <l:gentext key="published" text="Avaldatud"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="K ja V"/>
+   <l:gentext key="qandadiv" text="K ja V"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="K:"/>
+   <l:gentext key="question" text="K:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Viide"/>
+   <l:gentext key="reference" text="Viide"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Nimi"/>
+   <l:gentext key="refname" text="Nimi"/>
+   <l:gentext key="RefSection" text="L&#245;ik"/>
+   <l:gentext key="refsection" text="L&#245;ik"/>
+   <l:gentext key="RefSynopsisDiv" text="S&#252;nopsis"/>
+   <l:gentext key="refsynopsisdiv" text="S&#252;nopsis"/>
+   <l:gentext key="RevHistory" text="Vigade paranduste ajalugu"/>
+   <l:gentext key="revhistory" text="Vigade paranduste ajalugu"/>
+   <l:gentext key="revision" text="Vigade parandus"/>
+   <l:gentext key="Revision" text="Vigade parandus"/>
+   <l:gentext key="sect1" text="Section"/>
+   <l:gentext key="sect2" text="Section"/>
+   <l:gentext key="sect3" text="Section"/>
+   <l:gentext key="sect4" text="Section"/>
+   <l:gentext key="sect5" text="Section"/>
+   <l:gentext key="section" text="l&#245;ik"/>
+   <l:gentext key="Section" text="Sektsioon"/>
+   <l:gentext key="see" text="Vt."/>
+   <l:gentext key="See" text="Vt."/>
+   <l:gentext key="seealso" text="Vt. ka"/>
+   <l:gentext key="Seealso" text="Vt. ka"/>
+   <l:gentext key="SeeAlso" text="Vt. ka"/>
+   <l:gentext key="set" text="Sea"/>
+   <l:gentext key="Set" text="Sea"/>
+   <l:gentext key="setindex" text="Sea indeks"/>
+   <l:gentext key="SetIndex" text="Sea indeks"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="k&#252;lgriba"/>
+   <l:gentext key="step" text="samm"/>
+   <l:gentext key="Step" text="Samm"/>
+   <l:gentext key="table" text="Tabel"/>
+   <l:gentext key="Table" text="Tabel"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Vihje"/>
+   <l:gentext key="TIP" text="VIHJE"/>
+   <l:gentext key="Tip" text="Vihje"/>
+   <l:gentext key="Warning" text="Hoiatus"/>
+   <l:gentext key="warning" text="Hoiatus"/>
+   <l:gentext key="WARNING" text="HOIATUS"/>
+   <l:gentext key="and" text="ja"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="Redaktsioon"/>
+   <l:gentext key="edited" text="Redaktsioon"/>
+   <l:gentext key="Editedby" text="Redaktsiooni autor(id)"/>
+   <l:gentext key="editedby" text="Redaktsiooni autor(id)"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="mitte eksisteeriv element"/>
+   <l:gentext key="notes" text="M&#228;rkused"/>
+   <l:gentext key="Notes" text="M&#228;rkused"/>
+   <l:gentext key="Pgs" text="Lk."/>
+   <l:gentext key="pgs" text="Lk."/>
+   <l:gentext key="Revisedby" text="&#220;le vaadanud: "/>
+   <l:gentext key="revisedby" text="&#220;le vaadanud: "/>
+   <l:gentext key="TableNotes" text="M&#228;rkused"/>
+   <l:gentext key="tablenotes" text="M&#228;rkused"/>
+   <l:gentext key="TableofContents" text="Sisukord"/>
+   <l:gentext key="tableofcontents" text="Sisukord"/>
+   <l:gentext key="unexpectedelementname" text="Ootamatu elemendi nimi"/>
+   <l:gentext key="unsupported" text="toetuseta"/>
+   <l:gentext key="xrefto" text="viide"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Valemite nimekiri"/>
+   <l:gentext key="ListofEquations" text="Valemite nimekiri"/>
+   <l:gentext key="ListofExamples" text="N&#228;idete nimekiri"/>
+   <l:gentext key="listofexamples" text="N&#228;idete nimekiri"/>
+   <l:gentext key="ListofFigures" text="Jooniste nimekiri"/>
+   <l:gentext key="listoffigures" text="Jooniste nimekiri"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Tabelite nimekiri"/>
+   <l:gentext key="ListofTables" text="Tabelite nimekiri"/>
+   <l:gentext key="ListofUnknown" text="Tundmatute nimekiri"/>
+   <l:gentext key="listofunknown" text="Tundmatute nimekiri"/>
+   <l:gentext key="nav-home" text="Koju"/>
+   <l:gentext key="nav-next" text="J&#228;rgmine"/>
+   <l:gentext key="nav-next-sibling" text="Kiiresti edasi"/>
+   <l:gentext key="nav-prev" text="Eelmine"/>
+   <l:gentext key="nav-prev-sibling" text="Kiiresti tagasi"/>
+   <l:gentext key="nav-up" text="&#220;les"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Lisa %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Peat&#252;kk %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Valem %n. %t"/>
+      <l:template name="example" text="N&#228;ide %n. %t"/>
+      <l:template name="figure" text="Joonis %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Osa %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Protseduur&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabel %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Lisa %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n. %t"/>
+      <l:template name="chapter" text="Peat&#252;kk %n. %t"/>
+      <l:template name="part" text="Osa&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="V:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="K:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="K:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="V:&#160;%n"/>
+      <l:template name="appendix" text="Lisa&#160;%n"/>
+      <l:template name="bridgehead" text="Sektsioon&#160;%n"/>
+      <l:template name="chapter" text="Peat&#252;kk&#160;%n"/>
+      <l:template name="equation" text="Valem&#160;%n"/>
+      <l:template name="example" text="N&#228;ide&#160;%n"/>
+      <l:template name="figure" text="Joonis&#160;%n"/>
+      <l:template name="part" text="Osa&#160;%n"/>
+      <l:template name="procedure" text="Protseduur&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="K ja V&#160;%n"/>
+      <l:template name="qandaentry" text="K:&#160;%n"/>
+      <l:template name="question" text="K:&#160;%n"/>
+      <l:template name="sect1" text="Sektsioon&#160;%n"/>
+      <l:template name="sect2" text="Sektsioon&#160;%n"/>
+      <l:template name="sect3" text="Sektsioon&#160;%n"/>
+      <l:template name="sect4" text="Sektsioon&#160;%n"/>
+      <l:template name="sect5" text="Sektsioon&#160;%n"/>
+      <l:template name="section" text="Sektsioon&#160;%n"/>
+      <l:template name="table" text="Tabel&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Lisa&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Peat&#252;kk&#160;%n, %t"/>
+      <l:template name="equation" text="Valem&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="N&#228;ide&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Joonis&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Osa&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Protseduur&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="K ja V&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Sektsioon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabel&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" ja "/>
+      <l:template name="seplast" text=", ja "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Vt. %t"/>
+      <l:template name="seealso" text="Vt. ka %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Auditoorium: "/>
+      <l:template name="MsgLevel" text="Tase: "/>
+      <l:template name="MsgOrig" text="Algallikas: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0425 Estonian"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/eu.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/eu.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/eu.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="eu" english-language-name="Basque">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/eu.xml -->
+<!-- * -->
+<!-- * E-mail the edited eu.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Laburpena"/>
+   <l:gentext key="abstract" text="Laburpena"/>
+   <l:gentext key="Answer" text="E:"/>
+   <l:gentext key="answer" text="E:"/>
+   <l:gentext key="Appendix" text="Eranskina"/>
+   <l:gentext key="appendix" text="eranskina"/>
+   <l:gentext key="Article" text="Artikulua"/>
+   <l:gentext key="article" text="Artikulua"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Bibliografia"/>
+   <l:gentext key="bibliography" text="Bibliografia"/>
+   <l:gentext key="Book" text="Liburua"/>
+   <l:gentext key="book" text="Liburua"/>
+   <l:gentext key="CAUTION" text="KONTUZ"/>
+   <l:gentext key="Caution" text="Kontuz"/>
+   <l:gentext key="caution" text="Kontuz"/>
+   <l:gentext key="Chapter" text="Atala"/>
+   <l:gentext key="chapter" text="atala"/>
+   <l:gentext key="Colophon" text="Azken ohar"/>
+   <l:gentext key="colophon" text="Azken ohar"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Eskaintza"/>
+   <l:gentext key="dedication" text="Eskaintza"/>
+   <l:gentext key="Edition" text="Edizioa"/>
+   <l:gentext key="edition" text="Edizioa"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Ekuazioa"/>
+   <l:gentext key="equation" text="Ekuazioa"/>
+   <l:gentext key="Example" text="Adibidea"/>
+   <l:gentext key="example" text="Adibidea"/>
+   <l:gentext key="Figure" text="Irudia"/>
+   <l:gentext key="figure" text="Irudia"/>
+   <l:gentext key="Glossary" text="Glosarioa"/>
+   <l:gentext key="glossary" text="Glosarioa"/>
+   <l:gentext key="GlossSee" text="Ikus"/>
+   <l:gentext key="glosssee" text="Ikus"/>
+   <l:gentext key="GlossSeeAlso" text="Ikus baita ere"/>
+   <l:gentext key="glossseealso" text="Ikus baita ere"/>
+   <l:gentext key="IMPORTANT" text="GARRANTZITSUA"/>
+   <l:gentext key="important" text="Garrantzitsua"/>
+   <l:gentext key="Important" text="Garrantzitsua"/>
+   <l:gentext key="Index" text="Indizea"/>
+   <l:gentext key="index" text="Indizea"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Legezko abisua"/>
+   <l:gentext key="legalnotice" text="Legezko abisua"/>
+   <l:gentext key="MsgAud" text="Audientzia"/>
+   <l:gentext key="msgaud" text="Audientzia"/>
+   <l:gentext key="MsgLevel" text="Maila"/>
+   <l:gentext key="msglevel" text="Maila"/>
+   <l:gentext key="MsgOrig" text="Jatorria"/>
+   <l:gentext key="msgorig" text="Jatorria"/>
+   <l:gentext key="NOTE" text="OHARRA"/>
+   <l:gentext key="Note" text="Oharra"/>
+   <l:gentext key="note" text="Oharra"/>
+   <l:gentext key="Part" text="Zatia"/>
+   <l:gentext key="part" text="Zatia"/>
+   <l:gentext key="Preface" text="Hitzaurrea"/>
+   <l:gentext key="preface" text="Hitzaurrea"/>
+   <l:gentext key="Procedure" text="Prozedura"/>
+   <l:gentext key="procedure" text="Prozedura"/>
+   <l:gentext key="ProductionSet" text="Ekoizpena"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Argitaratua"/>
+   <l:gentext key="published" text="Argitaratua"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Galdera eta E"/>
+   <l:gentext key="qandadiv" text="Galdera eta E"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Galdera"/>
+   <l:gentext key="question" text="galdera"/>
+   <l:gentext key="RefEntry" text="Sarrera"/>
+   <l:gentext key="refentry" text="Sarrera"/>
+   <l:gentext key="Reference" text="Erreferentzia"/>
+   <l:gentext key="reference" text="Erreferentzia"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Izena"/>
+   <l:gentext key="refname" text="Izena"/>
+   <l:gentext key="RefSection" text="Sekzioa"/>
+   <l:gentext key="refsection" text="sekzioa"/>
+   <l:gentext key="RefSynopsisDiv" text="Laburpena"/>
+   <l:gentext key="refsynopsisdiv" text="Laburpena"/>
+   <l:gentext key="RevHistory" text="Berrikuspenaren historia"/>
+   <l:gentext key="revhistory" text="Berrikuspenaren historia"/>
+   <l:gentext key="revision" text="Berrikuspena"/>
+   <l:gentext key="Revision" text="Berrikuspena"/>
+   <l:gentext key="sect1" text="Atala"/>
+   <l:gentext key="sect2" text="Atala"/>
+   <l:gentext key="sect3" text="Atala"/>
+   <l:gentext key="sect4" text="Atala"/>
+   <l:gentext key="sect5" text="Atala"/>
+   <l:gentext key="section" text="Atala"/>
+   <l:gentext key="Section" text="Atala"/>
+   <l:gentext key="see" text="Ikus"/>
+   <l:gentext key="See" text="Ikus"/>
+   <l:gentext key="seealso" text="Ikus baita ere"/>
+   <l:gentext key="Seealso" text="Ikus baita ere"/>
+   <l:gentext key="SeeAlso" text="Ikus baita ere"/>
+   <l:gentext key="set" text="Konfiguratu"/>
+   <l:gentext key="Set" text="Konfiguratu"/>
+   <l:gentext key="setindex" text="Konfiguratu indizea"/>
+   <l:gentext key="SetIndex" text="Konfiguratu indizea"/>
+   <l:gentext key="Sidebar" text="Alboko barra"/>
+   <l:gentext key="sidebar" text="alboko barra"/>
+   <l:gentext key="step" text="urratsa"/>
+   <l:gentext key="Step" text="Urratsa"/>
+   <l:gentext key="table" text="Taula"/>
+   <l:gentext key="Table" text="Taula"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Iradokizuna"/>
+   <l:gentext key="TIP" text="IRADOKIZUNA"/>
+   <l:gentext key="Tip" text="Iradokizuna"/>
+   <l:gentext key="Warning" text="Abisua"/>
+   <l:gentext key="warning" text="Abisua"/>
+   <l:gentext key="WARNING" text="ABISUA"/>
+   <l:gentext key="and" text="eta"/>
+   <l:gentext key="by" text="Honek"/>
+   <l:gentext key="Edited" text="editatua"/>
+   <l:gentext key="edited" text="editatua"/>
+   <l:gentext key="Editedby" text="Honek editatua"/>
+   <l:gentext key="editedby" text="Honek editatua"/>
+   <l:gentext key="in" text="non"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="lehendik ez dagoen elementua"/>
+   <l:gentext key="notes" text="Oharrak"/>
+   <l:gentext key="Notes" text="Oharrak"/>
+   <l:gentext key="Pgs" text="Orr."/>
+   <l:gentext key="pgs" text="Orr."/>
+   <l:gentext key="Revisedby" text="Berrikuspena: "/>
+   <l:gentext key="revisedby" text="Berrikuspena: "/>
+   <l:gentext key="TableNotes" text="Oharrak"/>
+   <l:gentext key="tablenotes" text="Oharrak"/>
+   <l:gentext key="TableofContents" text="Edukien aurkibidea"/>
+   <l:gentext key="tableofcontents" text="Edukien aurkibidea"/>
+   <l:gentext key="unexpectedelementname" text="Ustekabeko elemetu-izena"/>
+   <l:gentext key="unsupported" text="onartzen ez den"/>
+   <l:gentext key="xrefto" text="xref honi"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Ekuazioen zerrenda"/>
+   <l:gentext key="ListofEquations" text="Ekuazioen zerrenda"/>
+   <l:gentext key="ListofExamples" text="Adibideen zerrenda"/>
+   <l:gentext key="listofexamples" text="Adibideen zerrenda"/>
+   <l:gentext key="ListofFigures" text="Irudien zerrenda"/>
+   <l:gentext key="listoffigures" text="Irudien zerrenda"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Taulen zerrenda"/>
+   <l:gentext key="ListofTables" text="Taulen zerrenda"/>
+   <l:gentext key="ListofUnknown" text="Ezezagunen zerrenda"/>
+   <l:gentext key="listofunknown" text="Ezazagunen zerrenda"/>
+   <l:gentext key="nav-home" text="Etxea"/>
+   <l:gentext key="nav-next" text="Hurrengoa"/>
+   <l:gentext key="nav-next-sibling" text="Aurreratze azkarra"/>
+   <l:gentext key="nav-prev" text="Aurrekoa"/>
+   <l:gentext key="nav-prev-sibling" text="Atzeratze azkarra"/>
+   <l:gentext key="nav-up" text="Gora"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Zirriborroa"/>
+   <l:gentext key="above" text="goian"/>
+   <l:gentext key="below" text="behean"/>
+   <l:gentext key="sectioncalled" text="honela deritzon atala"/>
+   <l:gentext key="index symbols" text="Ikurrak"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Eranskina %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Atala %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Ekuazioa %n. %t"/>
+      <l:template name="example" text="Adibidea %n. %t"/>
+      <l:template name="figure" text="Irudia %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Zatia %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Prozedura %n. %t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Ekoizpena %n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Taula %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Eranskina %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n. %t"/>
+      <l:template name="chapter" text="Atala %n. %t"/>
+      <l:template name="part" text="Zatia&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="E:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Galdera&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Galdera&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="section" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="honela deritzon atala &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="E:&#160;%n"/>
+      <l:template name="appendix" text="Eranskina&#160;%n"/>
+      <l:template name="bridgehead" text="Atala&#160;%n"/>
+      <l:template name="chapter" text="Atala&#160;%n"/>
+      <l:template name="equation" text="Ekuazioa&#160;%n"/>
+      <l:template name="example" text="Adibidea&#160;%n"/>
+      <l:template name="figure" text="Irudia&#160;%n"/>
+      <l:template name="part" text="Zatia&#160;%n"/>
+      <l:template name="procedure" text="Prozedura&#160;%n"/>
+      <l:template name="productionset" text="Ekoizpena&#160;%n"/>
+      <l:template name="qandadiv" text="Galdera eta E&#160;%n"/>
+      <l:template name="qandaentry" text="Galdera&#160;%n"/>
+      <l:template name="question" text="Galdera&#160;%n"/>
+      <l:template name="sect1" text="Atala&#160;%n"/>
+      <l:template name="sect2" text="Atala&#160;%n"/>
+      <l:template name="sect3" text="Atala&#160;%n"/>
+      <l:template name="sect4" text="Atala&#160;%n"/>
+      <l:template name="sect5" text="Atala&#160;%n"/>
+      <l:template name="section" text="Atala&#160;%n"/>
+      <l:template name="table" text="Taula&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Eranskina&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Atala&#160;%n, %t"/>
+      <l:template name="equation" text="Ekuazioa&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Adibidea&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Irudia&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Zatia&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Prozedura&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Ekoizpena&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Galdera eta E&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Atala&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="honela deritzon atala &#8220;%t&#8221;"/>
+      <l:template name="table" text="Taula&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" eta "/>
+      <l:template name="seplast" text=", eta "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Ikus %t"/>
+      <l:template name="seealso" text="Ikus baita ere %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Audientzia: "/>
+      <l:template name="MsgLevel" text="Maila: "/>
+      <l:template name="MsgOrig" text="Jatorria: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x042d Basque"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/fa.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/fa.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/fa.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="fa" english-language-name="Farsi">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/fa.xml -->
+<!-- * -->
+<!-- * E-mail the edited fa.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#1670;&#1603;&#1610;&#1583;&#1607;"/>
+   <l:gentext key="abstract" text="&#1670;&#1603;&#1610;&#1583;&#1607;"/>
+   <l:gentext key="Answer" text="&#1580;:"/>
+   <l:gentext key="answer" text="&#1580;:"/>
+   <l:gentext key="Appendix" text="&#1662;&#1610;&#1608;&#1587;&#1578;"/>
+   <l:gentext key="appendix" text="&#1662;&#1610;&#1608;&#1587;&#1578;"/>
+   <l:gentext key="Article" text="&#1605;&#1602;&#1575;&#1604;&#1607;"/>
+   <l:gentext key="article" text="&#1605;&#1602;&#1575;&#1604;&#1607;"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="&#1603;&#1578;&#1575;&#1576;&#8204;&#1588;&#1606;&#1575;&#1587;&#1740;"/>
+   <l:gentext key="bibliography" text="&#1603;&#1578;&#1575;&#1576;&#8204;&#1588;&#1606;&#1575;&#1587;&#1740;"/>
+   <l:gentext key="Book" text="&#1603;&#1578;&#1575;&#1576;"/>
+   <l:gentext key="book" text="&#1603;&#1578;&#1575;&#1576;"/>
+   <l:gentext key="CAUTION" text="&#1575;&#1581;&#1578;&#1610;&#1575;&#1591;"/>
+   <l:gentext key="Caution" text="&#1575;&#1581;&#1578;&#1610;&#1575;&#1591;"/>
+   <l:gentext key="caution" text="&#1575;&#1581;&#1578;&#1610;&#1575;&#1591;"/>
+   <l:gentext key="Chapter" text="&#1601;&#1589;&#1604;"/>
+   <l:gentext key="chapter" text="&#1601;&#1589;&#1604;"/>
+   <l:gentext key="Colophon" text="&#1583;&#1585;&#1576;&#1575;&#1585;&#1607;&#8204;&#1740; &#1606;&#1588;&#1585;&#1610;&#1607;"/>
+   <l:gentext key="colophon" text="&#1583;&#1585;&#1576;&#1575;&#1585;&#1607;&#8204;&#1740; &#1606;&#1588;&#1585;&#1610;&#1607;"/>
+   <l:gentext key="Copyright" text="&#1581;&#1602; &#1591;&#1576;&#1593; &#1608;&#1606;&#1588;&#1585;"/>
+   <l:gentext key="copyright" text="&#1581;&#1602; &#1591;&#1576;&#1593; &#1608;&#1606;&#1588;&#1585;"/>
+   <l:gentext key="Dedication" text="&#1575;&#1607;&#1583;&#1575;&#1569;"/>
+   <l:gentext key="dedication" text="&#1575;&#1607;&#1583;&#1575;&#1569;"/>
+   <l:gentext key="Edition" text="&#1608;&#1610;&#1585;&#1575;&#1610;&#1588;"/>
+   <l:gentext key="edition" text="&#1608;&#1610;&#1585;&#1575;&#1610;&#1588;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#1605;&#1593;&#1575;&#1583;&#1604;&#1607;"/>
+   <l:gentext key="equation" text="&#1605;&#1593;&#1575;&#1583;&#1604;&#1607;"/>
+   <l:gentext key="Example" text="&#1605;&#1579;&#1575;&#1604;"/>
+   <l:gentext key="example" text="&#1605;&#1579;&#1575;&#1604;"/>
+   <l:gentext key="Figure" text="&#1588;&#1603;&#1604;"/>
+   <l:gentext key="figure" text="&#1588;&#1603;&#1604;"/>
+   <l:gentext key="Glossary" text="&#1608;&#1575;&#1688;&#1607;&#8204;&#1606;&#1575;&#1605;&#1607;"/>
+   <l:gentext key="glossary" text="&#1608;&#1575;&#1688;&#1607;&#8204;&#1606;&#1575;&#1605;&#1607;"/>
+   <l:gentext key="GlossSee" text="&#1576;&#1576;&#1740;&#1606;&#1583;"/>
+   <l:gentext key="glosssee" text="&#1576;&#1576;&#1740;&#1606;&#1583;"/>
+   <l:gentext key="GlossSeeAlso" text="&#1607;&#1605;&#1670;&#1606;&#1740;&#1606; &#1576;&#1576;&#1740;&#1606;&#1583;"/>
+   <l:gentext key="glossseealso" text="&#1607;&#1605;&#1670;&#1606;&#1740;&#1606; &#1576;&#1576;&#1740;&#1606;&#1583;"/>
+   <l:gentext key="IMPORTANT" text="&#1605;&#1607;&#1605;"/>
+   <l:gentext key="important" text="&#1605;&#1607;&#1605;"/>
+   <l:gentext key="Important" text="&#1605;&#1607;&#1605;"/>
+   <l:gentext key="Index" text="&#1585;&#1575;&#1607;&#1606;&#1605;&#1575;"/>
+   <l:gentext key="index" text="&#1585;&#1575;&#1607;&#1606;&#1605;&#1575;"/>
+   <l:gentext key="ISBN" text="&#1588;&#1575;&#1576;&#1705;"/>
+   <l:gentext key="isbn" text="&#1588;&#1575;&#1576;&#1705;"/>
+   <l:gentext key="LegalNotice" text="&#1575;&#1582;&#1591;&#1575;&#1585; &#1602;&#1575;&#1606;&#1608;&#1606;&#1740;"/>
+   <l:gentext key="legalnotice" text="&#1575;&#1582;&#1591;&#1575;&#1585; &#1602;&#1575;&#1606;&#1608;&#1606;&#1740;"/>
+   <l:gentext key="MsgAud" text="&#1588;&#1606;&#1608;&#1583;&#1711;&#1575;&#1606;"/>
+   <l:gentext key="msgaud" text="&#1588;&#1606;&#1608;&#1583;&#1711;&#1575;&#1606;"/>
+   <l:gentext key="MsgLevel" text="&#1587;&#1591;&#1581; &#1662;&#1740;&#1575;&#1605;"/>
+   <l:gentext key="msglevel" text="&#1587;&#1591;&#1581; &#1662;&#1740;&#1575;&#1605;"/>
+   <l:gentext key="MsgOrig" text="&#1575;&#1589;&#1604;"/>
+   <l:gentext key="msgorig" text="&#1575;&#1589;&#1604;"/>
+   <l:gentext key="NOTE" text="&#1610;&#1575;&#1583;&#1575;&#1588;&#1578;"/>
+   <l:gentext key="Note" text="&#1610;&#1575;&#1583;&#1575;&#1588;&#1578;"/>
+   <l:gentext key="note" text="&#1610;&#1575;&#1583;&#1575;&#1588;&#1578;"/>
+   <l:gentext key="Part" text="&#1576;&#1582;&#1588;"/>
+   <l:gentext key="part" text="&#1576;&#1582;&#1588;"/>
+   <l:gentext key="Preface" text="&#1583;&#1610;&#1576;&#1575;&#1670;&#1607;"/>
+   <l:gentext key="preface" text="&#1583;&#1610;&#1576;&#1575;&#1670;&#1607;"/>
+   <l:gentext key="Procedure" text="&#1585;&#1608;&#1610;&#1607;"/>
+   <l:gentext key="procedure" text="&#1585;&#1608;&#1610;&#1607;"/>
+   <l:gentext key="ProductionSet" text="&#1578;&#1608;&#1604;&#1610;&#1583;"/>
+   <l:gentext key="PubDate" text="&#1578;&#1575;&#1585;&#1740;&#1582; &#1575;&#1606;&#1578;&#1588;&#1575;&#1585;"/>
+   <l:gentext key="pubdate" text="&#1578;&#1575;&#1585;&#1740;&#1582; &#1575;&#1606;&#1578;&#1588;&#1575;&#1585;"/>
+   <l:gentext key="Published" text="&#1605;&#1606;&#1578;&#1588;&#1585;&#8204;&#1588;&#1583;&#1607;"/>
+   <l:gentext key="published" text="&#1605;&#1606;&#1578;&#1588;&#1585;&#8204;&#1588;&#1583;&#1607;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#1662;&#1585;&#1587;&#1588; &#1608;&#8204; &#1662;&#1575;&#1587;&#1582;"/>
+   <l:gentext key="qandadiv" text="&#1662;&#1585;&#1587;&#1588; &#1608; &#1662;&#1575;&#1587;&#1582;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text=":&#1662;&#1585;&#1587;&#1588;"/>
+   <l:gentext key="question" text=":&#1662;&#1585;&#1587;&#1588;"/>
+   <l:gentext key="RefEntry" text="&#1601;&#1602;&#1585;&#1607;"/>
+   <l:gentext key="refentry" text="&#1601;&#1602;&#1585;&#1607;"/>
+   <l:gentext key="Reference" text="&#1575;&#1585;&#1580;&#1575;&#1593;"/>
+   <l:gentext key="reference" text="&#1575;&#1585;&#1580;&#1575;&#1593;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#1606;&#1575;&#1605;"/>
+   <l:gentext key="refname" text="&#1606;&#1575;&#1605;"/>
+   <l:gentext key="RefSection" text="&#1602;&#1587;&#1605;&#1578;"/>
+   <l:gentext key="refsection" text="&#1602;&#1587;&#1605;&#1578;"/>
+   <l:gentext key="RefSynopsisDiv" text="&#1605;&#1582;&#1578;&#1589;&#1585;"/>
+   <l:gentext key="refsynopsisdiv" text="&#1605;&#1582;&#1578;&#1589;&#1585;"/>
+   <l:gentext key="RevHistory" text="&#1578;&#1575;&#1585;&#1610;&#1582; &#1576;&#1575;&#1586;&#1576;&#1610;&#1606;&#1740;"/>
+   <l:gentext key="revhistory" text="&#1578;&#1575;&#1585;&#1610;&#1582; &#1576;&#1575;&#1586;&#1576;&#1610;&#1606;&#1740;"/>
+   <l:gentext key="revision" text="&#1576;&#1575;&#1586;&#1576;&#1610;&#1606;&#1740;"/>
+   <l:gentext key="Revision" text="&#1576;&#1575;&#1586; &#1576;&#1610;&#1606;&#1740;"/>
+   <l:gentext key="sect1" text="&#1602;&#1587;&#1605;&#1578;"/>
+   <l:gentext key="sect2" text="&#1602;&#1587;&#1605;&#1578;"/>
+   <l:gentext key="sect3" text="&#1602;&#1587;&#1605;&#1578;"/>
+   <l:gentext key="sect4" text="&#1602;&#1587;&#1605;&#1578;"/>
+   <l:gentext key="sect5" text="&#1602;&#1587;&#1605;&#1578;"/>
+   <l:gentext key="section" text="&#1602;&#1587;&#1605;&#1578;"/>
+   <l:gentext key="Section" text="&#1602;&#1587;&#1605;&#1578;"/>
+   <l:gentext key="see" text="&#1576;&#1576;&#1740;&#1606;&#1583;"/>
+   <l:gentext key="See" text="&#1576;&#1576;&#1740;&#1606;&#1583;"/>
+   <l:gentext key="seealso" text="&#1607;&#1605;&#1670;&#1606;&#1740;&#1606; &#1576;&#1576;&#1740;&#1606;&#1583;"/>
+   <l:gentext key="Seealso" text="&#1607;&#1605;&#1670;&#1606;&#1740;&#1606; &#1576;&#1576;&#1740;&#1606;&#1583;"/>
+   <l:gentext key="SeeAlso" text="&#1607;&#1605;&#1670;&#1606;&#1740;&#1606; &#1576;&#1576;&#1740;&#1606;&#1583;"/>
+   <l:gentext key="set" text="&#1605;&#1580;&#1605;&#1608;&#1593;&#1607;"/>
+   <l:gentext key="Set" text="&#1605;&#1580;&#1605;&#1608;&#1593;&#1607;"/>
+   <l:gentext key="setindex" text="&#1585;&#1575;&#1607;&#1606;&#1605;&#1575;&#1740; &#1605;&#1580;&#1605;&#1608;&#1593;&#1607;"/>
+   <l:gentext key="SetIndex" text="&#1585;&#1575;&#1607;&#1606;&#1605;&#1575;&#1740; &#1605;&#1580;&#1605;&#1608;&#1593;&#1607;"/>
+   <l:gentext key="Sidebar" text="&#1606;&#1608;&#1575;&#1585; &#1705;&#1606;&#1575;&#1585;&#1740;"/>
+   <l:gentext key="sidebar" text="&#1606;&#1608;&#1575;&#1585; &#1705;&#1606;&#1575;&#1585;&#1740;"/>
+   <l:gentext key="step" text="&#1711;&#1575;&#1605;"/>
+   <l:gentext key="Step" text="&#1711;&#1575;&#1605;"/>
+   <l:gentext key="table" text="&#1580;&#1583;&#1608;&#1604;"/>
+   <l:gentext key="Table" text="&#1580;&#1583;&#1608;&#1604;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#1606;&#1705;&#1578;&#1607;"/>
+   <l:gentext key="TIP" text="&#1606;&#1705;&#1578;&#1607;"/>
+   <l:gentext key="Tip" text="&#1606;&#1705;&#1578;&#1607;"/>
+   <l:gentext key="Warning" text="&#1607;&#1588;&#1583;&#1575;&#1585;"/>
+   <l:gentext key="warning" text="&#1607;&#1588;&#1583;&#1575;&#1585;"/>
+   <l:gentext key="WARNING" text="&#1607;&#1588;&#1583;&#1575;&#1585;"/>
+   <l:gentext key="and" text="&#1608;"/>
+   <l:gentext key="by" text="&#1578;&#1608;&#1587;&#1591;"/>
+   <l:gentext key="Edited" text="&#1608;&#1740;&#1585;&#1575;&#1740;&#1588; &#1588;&#1583;&#1607;"/>
+   <l:gentext key="edited" text="&#1608;&#1740;&#1585;&#1575;&#1740;&#1588; &#1588;&#1583;&#1607;"/>
+   <l:gentext key="Editedby" text="&#1608;&#1740;&#1585;&#1575;&#1740;&#1587;&#1578;&#1575;&#1585;"/>
+   <l:gentext key="editedby" text="&#1608;&#1740;&#1585;&#1575;&#1740;&#1587;&#1578;&#1575;&#1585;"/>
+   <l:gentext key="in" text="&#1583;&#1585;"/>
+   <l:gentext key="lastlistcomma" text="&#1548;"/>
+   <l:gentext key="listcomma" text="&#1548;"/>
+   <l:gentext key="nonexistantelement" text="&#1593;&#1606;&#1589;&#1585; &#1606;&#1575;&#1605;&#1608;&#1580;&#1608;&#1583;"/>
+   <l:gentext key="notes" text="&#1610;&#1575;&#1583;&#1575;&#1588;&#1578;&#8204;&#1607;&#1575;"/>
+   <l:gentext key="Notes" text="&#1610;&#1575;&#1583;&#1575;&#1588;&#1578;&#8204;&#1607;&#1575;"/>
+   <l:gentext key="Pgs" text="&#1589;&#1601;&#1581;&#1607;"/>
+   <l:gentext key="pgs" text="&#1589;&#1601;&#1581;&#1607;"/>
+   <l:gentext key="Revisedby" text=" :&#1576;&#1575;&#1586;&#1576;&#1610;&#1606;&#1740; &#1588;&#1583;&#1607; &#1576;&#1608;&#1587;&#1740;&#1604;&#1607;&#8204;&#1740;"/>
+   <l:gentext key="revisedby" text=" :&#1576;&#1575;&#1586;&#1576;&#1610;&#1606;&#1587; &#1588;&#1583;&#1607; &#1576;&#1608;&#1587;&#1740;&#1604;&#1607;&#8204;&#1740;"/>
+   <l:gentext key="TableNotes" text="&#1610;&#1575;&#1583;&#1575;&#1588;&#1578;&#8204;&#1607;&#1575;"/>
+   <l:gentext key="tablenotes" text="&#1610;&#1575;&#1583;&#1575;&#1588;&#1578;&#8204;&#1607;&#1575;"/>
+   <l:gentext key="TableofContents" text="&#1601;&#1607;&#1585;&#1587;&#1578;"/>
+   <l:gentext key="tableofcontents" text="&#1601;&#1607;&#1585;&#1587;&#1578;"/>
+   <l:gentext key="unexpectedelementname" text="&#1606;&#1575;&#1605; &#1593;&#1606;&#1589;&#1585;&#1594;&#1610;&#1585;&#1605;&#1606;&#1578;&#1592;&#1585;&#1607;"/>
+   <l:gentext key="unsupported" text="&#1662;&#1588;&#1578;&#1610;&#1576;&#1575;&#1606;&#1740; &#1606;&#1588;&#1583;&#1607;"/>
+   <l:gentext key="xrefto" text="&#1575;&#1585;&#1580;&#1575;&#1593; &#1576;&#1607;"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#1601;&#1607;&#1585;&#1587;&#1578; &#1605;&#1593;&#1575;&#1583;&#1604;&#1575;&#1578;"/>
+   <l:gentext key="ListofEquations" text="&#1601;&#1607;&#1585;&#1587;&#1578; &#1605;&#1593;&#1575;&#1583;&#1604;&#1575;&#1578;"/>
+   <l:gentext key="ListofExamples" text="&#1601;&#1607;&#1585;&#1587;&#1578; &#1575;&#1605;&#1579;&#1575;&#1604;"/>
+   <l:gentext key="listofexamples" text="&#1601;&#1607;&#1585;&#1587;&#1578; &#1575;&#1605;&#1579;&#1575;&#1604;"/>
+   <l:gentext key="ListofFigures" text="&#1601;&#1607;&#1585;&#1587;&#1578; &#1575;&#1588;&#1705;&#1575;&#1604;"/>
+   <l:gentext key="listoffigures" text="&#1601;&#1607;&#1585;&#1587;&#1578; &#1575;&#1588;&#1705;&#1575;&#1604;"/>
+   <l:gentext key="ListofProcedures" text="&#1601;&#1607;&#1585;&#1587;&#1578; &#1585;&#1608;&#1606;&#1583;&#8204;&#1607;&#1575;"/>
+   <l:gentext key="listofprocedures" text="&#1601;&#1607;&#1585;&#1587;&#1578; &#1585;&#1608;&#1606;&#1583;&#8204;&#1607;&#1575;"/>
+   <l:gentext key="listoftables" text="&#1601;&#1607;&#1585;&#1587;&#1578; &#1580;&#1583;&#1608;&#1604;&#8204;&#1607;&#1575;"/>
+   <l:gentext key="ListofTables" text="&#1601;&#1607;&#1585;&#1587;&#1578; &#1580;&#1583;&#1608;&#1604;&#8204;&#1607;&#1575;"/>
+   <l:gentext key="ListofUnknown" text="&#1601;&#1607;&#1585;&#1587;&#1578; &#1606;&#1575;&#1583;&#1575;&#1606;&#1587;&#1578;&#1607;&#8204;&#1607;&#1575;"/>
+   <l:gentext key="listofunknown" text="&#1601;&#1607;&#1585;&#1587;&#1578; &#1606;&#1575;&#1583;&#1575;&#1606;&#1587;&#1578;&#1607;&#8204;&#1607;&#1575;"/>
+   <l:gentext key="nav-home" text="&#1582;&#1575;&#1606;&#1607;"/>
+   <l:gentext key="nav-next" text="&#1576;&#1593;&#1583;&#1740;"/>
+   <l:gentext key="nav-next-sibling" text="&#1607;&#1605;&#8204;&#1606;&#1610;&#1575;&#1740; &#1576;&#1593;&#1583;&#1740;"/>
+   <l:gentext key="nav-prev" text="&#1602;&#1576;&#1604;&#1740;"/>
+   <l:gentext key="nav-prev-sibling" text="&#1607;&#1605;&#8204;&#1606;&#1610;&#1575;&#1740; &#1602;&#1576;&#1604;&#1740;"/>
+   <l:gentext key="nav-up" text="&#1576;&#1575;&#1604;&#1575;"/>
+   <l:gentext key="nav-toc" text="&#1601;&#1607;&#1585;&#1587;&#1578;"/>
+   <l:gentext key="Draft" text="&#1662;&#1610;&#1588;&#8204;&#1606;&#1608;&#1610;&#1587;"/>
+   <l:gentext key="above" text="&#1583;&#1585;&#8204;&#1576;&#1575;&#1604;&#1575;"/>
+   <l:gentext key="below" text="&#1583;&#1585;&#8204;&#1662;&#1575;&#1740;&#1740;&#1606;"/>
+   <l:gentext key="sectioncalled" text="&#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;"/>
+   <l:gentext key="index symbols" text="&#1587;&#1605;&#1576;&#1604;&#8204;&#1607;&#1575;&#1740; &#1585;&#1575;&#1607;&#1606;&#1605;&#1575;"/>
+   <l:gentext key="lowercase.alpha" text="&#1575; &#1576; &#1662; &#1578; &#1579; &#1580; &#1670; &#1581; &#1582; &#1583; &#1584; &#1585; &#1586; &#1688;&#1587; &#1588; &#1589; &#1590; &#1593; &#1594; &#1601; &#1602; &#1705; &#1711; &#1604; &#1605; &#1606; &#1608; &#1607; &#1740;"/>
+   <l:gentext key="uppercase.alpha" text="&#1575; &#1576; &#1662; &#1578; &#1579; &#1580; &#1670; &#1581; &#1582; &#1583; &#1584; &#1585; &#1586; &#1688;&#1587; &#1588; &#1589; &#1590; &#1593; &#1594; &#1601; &#1602; &#1705; &#1711; &#1604; &#1605; &#1606; &#1608; &#1607; &#1740;"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#xA;      &#1662;&#1610;&#1608;&#1587;&#1578;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#xA;      &#1601;&#1589;&#1604;&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#xA;      &#1605;&#1593;&#1575;&#1583;&#1604;&#1607;&#160;%n.&#160;%t"/>
+      <l:template name="example" text="&#xA;      &#1605;&#1579;&#1575;&#1604;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="&#xA;      &#1588;&#1603;&#1604;&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#xA;      &#1576;&#1582;&#1588;&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#xA;      &#1585;&#1608;&#1610;&#1607;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#xA;      &#1578;&#1608;&#1604;&#1610;&#1583;&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#xA;      &#1580;&#1583;&#1608;&#1604;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#xA;      &#1662;&#1610;&#1608;&#1587;&#1578;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#xA;      &#1601;&#1589;&#1604;&#160;%n.&#160;%t"/>
+      <l:template name="part" text="&#xA;      &#1576;&#1582;&#1588;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#xA;      &#1580;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#xA;      :&#1662;&#1585;&#1587;&#1588;&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#xA;      :&#1662;&#1585;&#1587;&#1588;&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o"/>
+      <l:template name="olink.page.citation" text=" (%p &#1589;&#1601;&#1581;&#1607;&#8204;&#1740;)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(%p &#1589;&#1601;&#1581;&#1607;&#8204;&#1740;)"/>
+      <l:template name="docname" text=" %o&#1583;&#1585; "/>
+      <l:template name="docnamelong" text="%o &#1583;&#1585; &#1605;&#1587;&#1578;&#1606;&#1583;&#1740; &#1576;&#1606;&#1575;&#1605; "/>
+      <l:template name="pageabbrev" text="(%p &#1589;)"/>
+      <l:template name="Page" text="%p &#1589;&#1601;&#1581;&#1607;&#8204;&#1740;"/>
+      <l:template name="bridgehead" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="refsection" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="refsect1" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="refsect2" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="refsect3" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="sect1" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="sect2" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="sect3" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="sect4" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="sect5" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="section" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="simplesect" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#xA;      &#1580;:&#160;%n"/>
+      <l:template name="appendix" text="&#xA;      &#1662;&#1610;&#1608;&#1587;&#1578;&#160;%n"/>
+      <l:template name="bridgehead" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n"/>
+      <l:template name="chapter" text="&#xA;      &#1601;&#1589;&#1604;&#160;%n"/>
+      <l:template name="equation" text="&#xA;      &#1605;&#1593;&#1575;&#1583;&#1604;&#1607;&#160;%n"/>
+      <l:template name="example" text="&#xA;      &#1605;&#1579;&#1575;&#1604;&#160;%n"/>
+      <l:template name="figure" text="&#xA;      &#1588;&#1603;&#1604;&#160;%n"/>
+      <l:template name="part" text="&#xA;      &#1576;&#1582;&#1588;&#160;%n"/>
+      <l:template name="procedure" text="&#xA;      &#1585;&#1608;&#1610;&#1607;&#160;%n"/>
+      <l:template name="productionset" text="&#xA;      &#1578;&#1608;&#1604;&#1610;&#1583;&#160;%n"/>
+      <l:template name="qandadiv" text="&#xA;      &#1662;&#1585;&#1587;&#1588; &#1608;&#8204; &#1662;&#1575;&#1587;&#1582;&#160;%n"/>
+      <l:template name="qandaentry" text="&#xA;      :&#1662;&#1585;&#1587;&#1588;&#160;%n"/>
+      <l:template name="question" text="&#xA;      :&#1662;&#1585;&#1587;&#1588;&#160;%n"/>
+      <l:template name="sect1" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n"/>
+      <l:template name="sect2" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n"/>
+      <l:template name="sect3" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n"/>
+      <l:template name="sect4" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n"/>
+      <l:template name="sect5" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n"/>
+      <l:template name="section" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n"/>
+      <l:template name="table" text="&#xA;      &#1580;&#1583;&#1608;&#1604;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#xA;      &#1662;&#1610;&#1608;&#1587;&#1578;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="chapter" text="&#xA;      &#1601;&#1589;&#1604;&#160;%n, %t"/>
+      <l:template name="equation" text="&#xA;      &#1605;&#1593;&#1575;&#1583;&#1604;&#1607;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="example" text="&#xA;      &#1605;&#1579;&#1575;&#1604;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="figure" text="&#xA;      &#1588;&#1603;&#1604;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="part" text="&#xA;      &#1576;&#1582;&#1588;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="procedure" text="&#xA;      &#1585;&#1608;&#1610;&#1607;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="productionset" text="&#xA;      &#1578;&#1608;&#1604;&#1610;&#1583;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="qandadiv" text="&#xA;      &#1662;&#1585;&#1587;&#1588; &#1608;&#8204; &#1662;&#1575;&#1587;&#1582;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="refsect1" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="refsect2" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="refsect3" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="refsection" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="sect1" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="sect2" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="sect3" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="sect4" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="sect5" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="section" text="&#xA;      &#1602;&#1587;&#1605;&#1578;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="simplesect" text="&#xA;      &#1576;&#1582;&#1588;&#1740; &#1576;&#1606;&#1575;&#1605;&#xA;      &#8220;%t&#8221;&#xA;    "/>
+      <l:template name="table" text="&#xA;      &#1580;&#1583;&#1608;&#1604;&#160;%n, &#8220;%t&#8221;&#xA;    "/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text="&#xA;      &#1548;&#xA;    "/>
+      <l:template name="sep2" text="&#xA;      &#1608;&#xA;    "/>
+      <l:template name="seplast" text="&#xA;      &#1548;&#xA;      &#1608;&#xA;    "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text=" %t &#1576;&#1576;&#1740;&#1606;&#1583;"/>
+      <l:template name="seealso" text="%t &#1607;&#1605;&#1670;&#1606;&#1740;&#1606; &#1576;&#1576;&#1740;&#1606;&#1583;"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#xA;      &#1588;&#1606;&#1608;&#1583;&#1711;&#1575;&#1606;: "/>
+      <l:template name="MsgLevel" text="&#xA;      &#1587;&#1591;&#1581; &#1662;&#1740;&#1575;&#1605;: "/>
+      <l:template name="MsgOrig" text="&#xA;      &#1575;&#1589;&#1604;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="&#1688;&#1575;&#1606;&#1608;&#1610;&#1607;"/>
+      <l:template name="February" text="&#1601;&#1608;&#1585;&#1610;&#1607;"/>
+      <l:template name="March" text="&#1605;&#1575;&#1585;&#1587;"/>
+      <l:template name="April" text="&#1575;&#1608;&#1585;&#1610;&#1604;"/>
+      <l:template name="May" text="&#1605;&#1607;"/>
+      <l:template name="June" text="&#1688;&#1608;&#1574;&#1606;"/>
+      <l:template name="July" text="&#1688;&#1608;&#1574;&#1740;&#1607;"/>
+      <l:template name="August" text="&#1575;&#1608;&#1578;"/>
+      <l:template name="September" text="&#1587;&#1662;&#1578;&#1575;&#1605;&#1576;&#1585;"/>
+      <l:template name="October" text="&#1575;&#1603;&#1578;&#1576;&#1585;"/>
+      <l:template name="November" text="&#1606;&#1608;&#1575;&#1605;&#1576;&#1585;"/>
+      <l:template name="December" text="&#1583;&#1587;&#1575;&#1605;&#1576;&#1585;"/>
+      <l:template name="Monday" text="&#1583;&#1608;&#1588;&#1606;&#1576;&#1607;"/>
+      <l:template name="Tuesday" text="&#1587;&#1607; &#1588;&#1606;&#1576;&#1607;"/>
+      <l:template name="Wednesday" text="&#1670;&#1607;&#1575;&#1585;&#8204;&#1588;&#1606;&#1576;&#1607;"/>
+      <l:template name="Thursday" text="&#1662;&#1606;&#1580;&#8204;&#1588;&#1606;&#1576;&#1607;"/>
+      <l:template name="Friday" text="&#1580;&#1605;&#1593;&#1607;"/>
+      <l:template name="Saturday" text="&#1588;&#1606;&#1576;&#1607;"/>
+      <l:template name="Sunday" text="&#1610;&#1603;&#8204;&#1588;&#1606;&#1576;&#1607;"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="&#1688;&#1575;&#1606;&#1608;&#1610;&#1607;"/>
+      <l:template name="Feb" text="&#1601;&#1608;&#1585;&#1610;&#1607;"/>
+      <l:template name="Mar" text="&#1605;&#1575;&#1585;&#1587;"/>
+      <l:template name="Apr" text="&#1575;&#1608;&#1585;&#1610;&#1604;"/>
+      <l:template name="May" text="&#1605;&#1607;"/>
+      <l:template name="Jun" text="&#1688;&#1608;&#1574;&#1606;"/>
+      <l:template name="Jul" text="&#1688;&#1608;&#1574;&#1610;&#1607;"/>
+      <l:template name="Aug" text="&#1575;&#1608;&#1578;"/>
+      <l:template name="Sep" text="&#1587;&#1662;&#1578;&#1575;&#1605;&#1576;&#1585;"/>
+      <l:template name="Oct" text="&#1575;&#1603;&#1578;&#1576;&#1585;"/>
+      <l:template name="Nov" text="&#1606;&#1608;&#1575;&#1605;&#1576;&#1585;"/>
+      <l:template name="Dec" text="&#1583;&#1587;&#1575;&#1605;&#1576;&#1585;"/>
+      <l:template name="Mon" text="&#1583;&#1608;&#8204;&#1588;&#1606;&#1576;&#1607;"/>
+      <l:template name="Tue" text="&#1587;&#1607;&#8204;&#1588;&#1606;&#1576;&#1607;"/>
+      <l:template name="Wed" text="&#1670;&#1607;&#1575;&#1585;&#8204;&#1588;&#1606;&#1576;&#1607;"/>
+      <l:template name="Thu" text="&#1662;&#1606;&#1580;&#8204;&#1588;&#1606;&#1576;&#1607;"/>
+      <l:template name="Fri" text="&#1580;&#1605;&#1593;&#1607;"/>
+      <l:template name="Sat" text="&#1588;&#1606;&#1576;&#1607;"/>
+      <l:template name="Sun" text="&#1610;&#1603;&#8204;&#1588;&#1606;&#1576;&#1607;"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0429 Farsi"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/fi.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/fi.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/fi.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,643 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="fi" english-language-name="Finnish">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/fi.xml -->
+<!-- * -->
+<!-- * E-mail the edited fi.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Tiivistelm&#228;"/>
+   <l:gentext key="abstract" text="tiivistelm&#228;"/>
+   <l:gentext key="Answer" text="V:"/>
+   <l:gentext key="answer" text="V:"/>
+   <l:gentext key="Appendix" text="Liite"/>
+   <l:gentext key="appendix" text="liite"/>
+   <l:gentext key="Article" text="Artikkeli"/>
+   <l:gentext key="article" text="Artikkeli"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="L&#228;hteet"/>
+   <l:gentext key="bibliography" text="L&#228;hteet"/>
+   <l:gentext key="Book" text="Kirja"/>
+   <l:gentext key="book" text="Kirja"/>
+   <l:gentext key="CAUTION" text="VARO"/>
+   <l:gentext key="Caution" text="Varo"/>
+   <l:gentext key="caution" text="varo"/>
+   <l:gentext key="Chapter" text="Luku"/>
+   <l:gentext key="chapter" text="luku"/>
+   <l:gentext key="Colophon" text="Colophon"/>
+   <l:gentext key="colophon" text="Colophon"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Omistus"/>
+   <l:gentext key="dedication" text="omistus"/>
+   <l:gentext key="Edition" text="Edition"/>
+   <l:gentext key="edition" text="Edition"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Kaava"/>
+   <l:gentext key="equation" text="Kaava"/>
+   <l:gentext key="Example" text="Esimerkki"/>
+   <l:gentext key="example" text="esimerkki"/>
+   <l:gentext key="Figure" text="Kuva"/>
+   <l:gentext key="figure" text="kuva"/>
+   <l:gentext key="Glossary" text="Sanasto"/>
+   <l:gentext key="glossary" text="sanasto"/>
+   <l:gentext key="GlossSee" text="Katso"/>
+   <l:gentext key="glosssee" text="katso"/>
+   <l:gentext key="GlossSeeAlso" text="Katso my&#246;s"/>
+   <l:gentext key="glossseealso" text="Katso my&#246;s"/>
+   <l:gentext key="IMPORTANT" text="T&#196;RKE&#196;&#196;"/>
+   <l:gentext key="important" text="t&#228;rke&#228;&#228;"/>
+   <l:gentext key="Important" text="T&#228;rke&#228;&#228;"/>
+   <l:gentext key="Index" text="Indeksi"/>
+   <l:gentext key="index" text="Indeksi"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Oikeudellinen ilmoitus"/>
+   <l:gentext key="legalnotice" text="oikeudellinen ilmoitus"/>
+   <l:gentext key="MsgAud" text="Yleis&#246;"/>
+   <l:gentext key="msgaud" text="Yleis&#246;"/>
+   <l:gentext key="MsgLevel" text="Taso"/>
+   <l:gentext key="msglevel" text="Taso"/>
+   <l:gentext key="MsgOrig" text="Alkuper&#228;"/>
+   <l:gentext key="msgorig" text="Alkuper&#228;"/>
+   <l:gentext key="NOTE" text="HUOMAA"/>
+   <l:gentext key="Note" text="Huomaa"/>
+   <l:gentext key="note" text="Huomaa"/>
+   <l:gentext key="Part" text="Osa"/>
+   <l:gentext key="part" text="Osa"/>
+   <l:gentext key="Preface" text="Esipuhe"/>
+   <l:gentext key="preface" text="Esipuhe"/>
+   <l:gentext key="Procedure" text="Aliohjelma"/>
+   <l:gentext key="procedure" text="Aliohjelma"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Julkaistu"/>
+   <l:gentext key="published" text="Julkaistu"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="K ja V"/>
+   <l:gentext key="qandadiv" text="K ja V"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="K:"/>
+   <l:gentext key="question" text="K:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="L&#228;hdeluettelo"/>
+   <l:gentext key="reference" text="L&#228;hdeluettelo"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Nimi"/>
+   <l:gentext key="refname" text="Nimi"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+   <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+   <l:gentext key="RevHistory" text="Versiohistoria"/>
+   <l:gentext key="revhistory" text="Versiohistoria"/>
+   <l:gentext key="revision" text="Versio"/>
+   <l:gentext key="Revision" text="Versio"/>
+   <l:gentext key="sect1" text="Luku"/>
+   <l:gentext key="sect2" text="Luku"/>
+   <l:gentext key="sect3" text="Luku"/>
+   <l:gentext key="sect4" text="Luku"/>
+   <l:gentext key="sect5" text="Luku"/>
+   <l:gentext key="section" text="kohta"/>
+   <l:gentext key="Section" text="Kohta"/>
+   <l:gentext key="see" text="Katso"/>
+   <l:gentext key="See" text="Katso"/>
+   <l:gentext key="seealso" text="katso my&#246;s"/>
+   <l:gentext key="Seealso" text="Katso my&#246;s"/>
+   <l:gentext key="SeeAlso" text="Katso my&#246;s"/>
+   <l:gentext key="set" text="Kokoelma"/>
+   <l:gentext key="Set" text="Kokoelma"/>
+   <l:gentext key="setindex" text="Kokoelman indeksi"/>
+   <l:gentext key="SetIndex" text="Kokoelman indeksi"/>
+   <l:gentext key="Sidebar" text="Sivupalkki"/>
+   <l:gentext key="sidebar" text="sivupalkki"/>
+   <l:gentext key="step" text="step"/>
+   <l:gentext key="Step" text="Step"/>
+   <l:gentext key="table" text="Taulu"/>
+   <l:gentext key="Table" text="Taulu"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Vihje"/>
+   <l:gentext key="TIP" text="VIHJE"/>
+   <l:gentext key="Tip" text="Vihje"/>
+   <l:gentext key="Warning" text="Varoitus"/>
+   <l:gentext key="warning" text="Varoitus"/>
+   <l:gentext key="WARNING" text="VAROITUS"/>
+   <l:gentext key="and" text="ja"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="Toim."/>
+   <l:gentext key="edited" text="Toim."/>
+   <l:gentext key="Editedby" text="Toimittanut"/>
+   <l:gentext key="editedby" text="Toimittanut"/>
+   <l:gentext key="in" text="teoksessa"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="elementti&#228; ei ole olemassa"/>
+   <l:gentext key="notes" text="Notes"/>
+   <l:gentext key="Notes" text="Notes"/>
+   <l:gentext key="Pgs" text="Sivut"/>
+   <l:gentext key="pgs" text="Sivut"/>
+   <l:gentext key="Revisedby" text="Muokannut: "/>
+   <l:gentext key="revisedby" text="muokannut: "/>
+   <l:gentext key="TableNotes" text="Notes"/>
+   <l:gentext key="tablenotes" text="Notes"/>
+   <l:gentext key="TableofContents" text="Sis&#228;llys"/>
+   <l:gentext key="tableofcontents" text="Sis&#228;llys"/>
+   <l:gentext key="unexpectedelementname" text="Odottamaton elementin nimi"/>
+   <l:gentext key="unsupported" text="ei tueta"/>
+   <l:gentext key="xrefto" text="xref johonkin"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Luettelo esimerkeist&#228;"/>
+   <l:gentext key="ListofEquations" text="Luettelo esimerkeist&#228;"/>
+   <l:gentext key="ListofExamples" text="Luettelo esimerkeist&#228;"/>
+   <l:gentext key="listofexamples" text="Luettelo esimerkeist&#228;"/>
+   <l:gentext key="ListofFigures" text="Luettelo kuvista"/>
+   <l:gentext key="listoffigures" text="Luettelo kuvista"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Luettelo tauluista"/>
+   <l:gentext key="ListofTables" text="Luettelo tauluista"/>
+   <l:gentext key="ListofUnknown" text="Luettelo tuntemattomista"/>
+   <l:gentext key="listofunknown" text="Luettelo tuntemattomista"/>
+   <l:gentext key="nav-home" text="Alkuun"/>
+   <l:gentext key="nav-next" text="Seuraava"/>
+   <l:gentext key="nav-next-sibling" text="Nopeasti eteenp&#228;in"/>
+   <l:gentext key="nav-prev" text="Edellinen"/>
+   <l:gentext key="nav-prev-sibling" text="Nopeasti taaksep&#228;in"/>
+   <l:gentext key="nav-up" text="Yl&#246;s"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Luonnos"/>
+   <l:gentext key="above" text="yll&#228;"/>
+   <l:gentext key="below" text="alla"/>
+   <l:gentext key="sectioncalled" text="luku nimelt&#228;"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#229;&#228;&#246;&#353;&#382;"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#197;&#196;&#214;&#352;&#381;"/>
+   <l:dingbat key="startquote" text="&#8221;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8217;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Liite %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Luku %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Kaava %n. %t"/>
+      <l:template name="example" text="Esimerkki %n. %t"/>
+      <l:template name="figure" text="Kuva %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Osa %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Aliohjelma&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Taulu %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Liite %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="Luku %n. %t"/>
+      <l:template name="part" text="Osa&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="V:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="K:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="K:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(sivu %p)"/>
+      <l:template name="docname" text=" kirjoitelmassa %o"/>
+      <l:template name="docnamelong" text=" kirjoitelmassa otsikoltaan %o"/>
+      <l:template name="pageabbrev" text="(s. %p)"/>
+      <l:template name="Page" text="Sivu %p"/>
+      <l:template name="bridgehead" text="&#8221;%t&#8221;"/>
+      <l:template name="refsection" text="&#8221;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8221;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8221;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8221;%t&#8221;"/>
+      <l:template name="sect1" text="&#8221;%t&#8221;"/>
+      <l:template name="sect2" text="&#8221;%t&#8221;"/>
+      <l:template name="sect3" text="&#8221;%t&#8221;"/>
+      <l:template name="sect4" text="&#8221;%t&#8221;"/>
+      <l:template name="sect5" text="&#8221;%t&#8221;"/>
+      <l:template name="section" text="&#8221;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8221;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="V:&#160;%n"/>
+      <l:template name="appendix" text="Liite&#160;%n"/>
+      <l:template name="bridgehead" text="Kohta&#160;%n"/>
+      <l:template name="chapter" text="Luku&#160;%n"/>
+      <l:template name="equation" text="Kaava&#160;%n"/>
+      <l:template name="example" text="Esimerkki&#160;%n"/>
+      <l:template name="figure" text="Kuva&#160;%n"/>
+      <l:template name="part" text="Osa&#160;%n"/>
+      <l:template name="procedure" text="Aliohjelma&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="K ja V&#160;%n"/>
+      <l:template name="qandaentry" text="K:&#160;%n"/>
+      <l:template name="question" text="K:&#160;%n"/>
+      <l:template name="sect1" text="Kohta&#160;%n"/>
+      <l:template name="sect2" text="Kohta&#160;%n"/>
+      <l:template name="sect3" text="Kohta&#160;%n"/>
+      <l:template name="sect4" text="Kohta&#160;%n"/>
+      <l:template name="sect5" text="Kohta&#160;%n"/>
+      <l:template name="section" text="Kohta&#160;%n"/>
+      <l:template name="table" text="Taulu&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Liite&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Kohta&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="chapter" text="Luku&#160;%n, %t"/>
+      <l:template name="equation" text="Kaava&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="example" text="Esimerkki&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="figure" text="Kuva&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="part" text="Osa&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="procedure" text="Aliohjelma&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="qandadiv" text="K ja V&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="refsect1" text="luku nimelt&#228; &#8221;%t&#8221;"/>
+      <l:template name="refsect2" text="luku nimelt&#228; &#8221;%t&#8221;"/>
+      <l:template name="refsect3" text="luku nimelt&#228; &#8221;%t&#8221;"/>
+      <l:template name="refsection" text="luku nimelt&#228; &#8221;%t&#8221;"/>
+      <l:template name="sect1" text="Kohta&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="sect2" text="Kohta&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="sect3" text="Kohta&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="sect4" text="Kohta&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="sect5" text="Kohta&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="section" text="Kohta&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="simplesect" text="luku nimelt&#228; &#8221;%t&#8221;"/>
+      <l:template name="table" text="Taulu&#160;%n, &#8221;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" ja "/>
+      <l:template name="seplast" text=", ja "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Katso %t"/>
+      <l:template name="seealso" text="Katso my&#246;s %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Yleis&#246;: "/>
+      <l:template name="MsgLevel" text="Taso: "/>
+      <l:template name="MsgOrig" text="Alkuper&#228;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text=""/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text=""/>
+      <l:template name="February" text=""/>
+      <l:template name="March" text=""/>
+      <l:template name="April" text=""/>
+      <l:template name="May" text=""/>
+      <l:template name="June" text=""/>
+      <l:template name="July" text=""/>
+      <l:template name="August" text=""/>
+      <l:template name="September" text=""/>
+      <l:template name="October" text=""/>
+      <l:template name="November" text=""/>
+      <l:template name="December" text=""/>
+      <l:template name="Monday" text=""/>
+      <l:template name="Tuesday" text=""/>
+      <l:template name="Wednesday" text=""/>
+      <l:template name="Thursday" text=""/>
+      <l:template name="Friday" text=""/>
+      <l:template name="Saturday" text=""/>
+      <l:template name="Sunday" text=""/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text=""/>
+      <l:template name="Feb" text=""/>
+      <l:template name="Mar" text=""/>
+      <l:template name="Apr" text=""/>
+      <l:template name="May" text=""/>
+      <l:template name="Jun" text=""/>
+      <l:template name="Jul" text=""/>
+      <l:template name="Aug" text=""/>
+      <l:template name="Sep" text=""/>
+      <l:template name="Oct" text=""/>
+      <l:template name="Nov" text=""/>
+      <l:template name="Dec" text=""/>
+      <l:template name="Mon" text=""/>
+      <l:template name="Tue" text=""/>
+      <l:template name="Wed" text=""/>
+      <l:template name="Thu" text=""/>
+      <l:template name="Fri" text=""/>
+      <l:template name="Sat" text=""/>
+      <l:template name="Sun" text=""/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x040b Finnish"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Symbole</l:l>
+      <l:l i="1">A</l:l>
+      <l:l i="1">a</l:l>
+      <l:l i="2">B</l:l>
+      <l:l i="2">b</l:l>
+      <l:l i="3">C</l:l>
+      <l:l i="3">c</l:l>
+      <l:l i="4">D</l:l>
+      <l:l i="4">d</l:l>
+      <l:l i="5">E</l:l>
+      <l:l i="5">e</l:l>
+      <l:l i="6">F</l:l>
+      <l:l i="6">f</l:l>
+      <l:l i="7">G</l:l>
+      <l:l i="7">g</l:l>
+      <l:l i="8">H</l:l>
+      <l:l i="8">h</l:l>
+      <l:l i="9">I</l:l>
+      <l:l i="9">i</l:l>
+      <l:l i="10">J</l:l>
+      <l:l i="10">j</l:l>
+      <l:l i="11">K</l:l>
+      <l:l i="11">k</l:l>
+      <l:l i="12">L</l:l>
+      <l:l i="12">l</l:l>
+      <l:l i="13">M</l:l>
+      <l:l i="13">m</l:l>
+      <l:l i="14">N</l:l>
+      <l:l i="14">n</l:l>
+      <l:l i="15">O</l:l>
+      <l:l i="15">o</l:l>
+      <l:l i="16">P</l:l>
+      <l:l i="16">p</l:l>
+      <l:l i="17">Q</l:l>
+      <l:l i="17">q</l:l>
+      <l:l i="18">R</l:l>
+      <l:l i="18">r</l:l>
+      <l:l i="19">S</l:l>
+      <l:l i="19">s</l:l>
+      <l:l i="20">&#352;</l:l>
+      <l:l i="20">&#353;</l:l>
+      <l:l i="21">T</l:l>
+      <l:l i="21">t</l:l>
+      <l:l i="22">U</l:l>
+      <l:l i="22">u</l:l>
+      <l:l i="23">V</l:l>
+      <l:l i="23">v</l:l>
+      <l:l i="24">W</l:l>
+      <l:l i="24">w</l:l>
+      <l:l i="25">X</l:l>
+      <l:l i="25">x</l:l>
+      <l:l i="26">Y</l:l>
+      <l:l i="26">y</l:l>
+      <l:l i="27">Z</l:l>
+      <l:l i="27">z</l:l>
+      <l:l i="28">&#381;</l:l>
+      <l:l i="28">&#382;</l:l>
+      <l:l i="29">&#197;</l:l>
+      <l:l i="29">&#229;</l:l>
+      <l:l i="30">&#196;</l:l>
+      <l:l i="30">&#228;</l:l>
+      <l:l i="31">&#214;</l:l>
+      <l:l i="31">&#246;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/fr.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/fr.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/fr.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,663 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="fr" english-language-name="French">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/fr.xml -->
+<!-- * -->
+<!-- * E-mail the edited fr.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="R&#233;sum&#233;"/>
+   <l:gentext key="abstract" text="R&#233;sum&#233;"/>
+   <l:gentext key="Answer" text="R&#160;:"/>
+   <l:gentext key="answer" text="R&#160;:"/>
+   <l:gentext key="Appendix" text="Annexe"/>
+   <l:gentext key="appendix" text="annexe"/>
+   <l:gentext key="Article" text="Article"/>
+   <l:gentext key="article" text="Article"/>
+   <l:gentext key="Author" text="Auteur"/>
+   <l:gentext key="Bibliography" text="Bibliographie"/>
+   <l:gentext key="bibliography" text="Bibliographie"/>
+   <l:gentext key="Book" text="Livre"/>
+   <l:gentext key="book" text="Livre"/>
+   <l:gentext key="CAUTION" text="ATTENTION"/>
+   <l:gentext key="Caution" text="Attention"/>
+   <l:gentext key="caution" text="Attention"/>
+   <l:gentext key="Chapter" text="Chapitre"/>
+   <l:gentext key="chapter" text="chapitre"/>
+   <l:gentext key="Colophon" text="Achev&#233; d'imprimer"/>
+   <l:gentext key="colophon" text="Achev&#233; d'imprimer"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="D&#233;dicace"/>
+   <l:gentext key="dedication" text="D&#233;dicace"/>
+   <l:gentext key="Edition" text="&#201;dition"/>
+   <l:gentext key="edition" text="&#201;dition"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#201;quation"/>
+   <l:gentext key="equation" text="&#201;quation"/>
+   <l:gentext key="Example" text="Exemple"/>
+   <l:gentext key="example" text="Exemple"/>
+   <l:gentext key="Figure" text="Figure"/>
+   <l:gentext key="figure" text="Figure"/>
+   <l:gentext key="Glossary" text="Glossaire"/>
+   <l:gentext key="glossary" text="Glossaire"/>
+   <l:gentext key="GlossSee" text="Voir"/>
+   <l:gentext key="glosssee" text="Voir"/>
+   <l:gentext key="GlossSeeAlso" text="Voir aussi"/>
+   <l:gentext key="glossseealso" text="Voir aussi"/>
+   <l:gentext key="IMPORTANT" text="IMPORTANT"/>
+   <l:gentext key="important" text="Important"/>
+   <l:gentext key="Important" text="Important"/>
+   <l:gentext key="Index" text="Index"/>
+   <l:gentext key="index" text="Index"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Note l&#233;gale"/>
+   <l:gentext key="legalnotice" text="Note l&#233;gale"/>
+   <l:gentext key="MsgAud" text="Public vis&#233;"/>
+   <l:gentext key="msgaud" text="Public vis&#233;"/>
+   <l:gentext key="MsgLevel" text="Niveau"/>
+   <l:gentext key="msglevel" text="Niveau"/>
+   <l:gentext key="MsgOrig" text="Origine"/>
+   <l:gentext key="msgorig" text="Origine"/>
+   <l:gentext key="NOTE" text="NOTE"/>
+   <l:gentext key="Note" text="Note"/>
+   <l:gentext key="note" text="Note"/>
+   <l:gentext key="Part" text="Partie"/>
+   <l:gentext key="part" text="Partie"/>
+   <l:gentext key="Preface" text="Pr&#233;face"/>
+   <l:gentext key="preface" text="Pr&#233;face"/>
+   <l:gentext key="Procedure" text="Proc&#233;dure"/>
+   <l:gentext key="procedure" text="Proc&#233;dure"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Date de publication"/>
+   <l:gentext key="pubdate" text="Date de publication"/>
+   <l:gentext key="Published" text="Publi&#233; le"/>
+   <l:gentext key="published" text="Publi&#233; le"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Q &amp; R"/>
+   <l:gentext key="qandadiv" text="Q &amp; R"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Q&#160;:"/>
+   <l:gentext key="question" text="Q&#160;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="R&#233;f&#233;rence"/>
+   <l:gentext key="reference" text="R&#233;f&#233;rence"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Nom"/>
+   <l:gentext key="refname" text="Nom"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+   <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+   <l:gentext key="RevHistory" text="Historique des versions"/>
+   <l:gentext key="revhistory" text="Historique des versions"/>
+   <l:gentext key="revision" text="Version"/>
+   <l:gentext key="Revision" text="Version"/>
+   <l:gentext key="sect1" text="Section"/>
+   <l:gentext key="sect2" text="Section"/>
+   <l:gentext key="sect3" text="Section"/>
+   <l:gentext key="sect4" text="Section"/>
+   <l:gentext key="sect5" text="Section"/>
+   <l:gentext key="section" text="section"/>
+   <l:gentext key="Section" text="Section"/>
+   <l:gentext key="see" text="voir"/>
+   <l:gentext key="See" text="Voir"/>
+   <l:gentext key="seealso" text="voir aussi"/>
+   <l:gentext key="Seealso" text="Voir aussi"/>
+   <l:gentext key="SeeAlso" text="Voir Aussi"/>
+   <l:gentext key="set" text="Ensemble"/>
+   <l:gentext key="Set" text="Ensemble"/>
+   <l:gentext key="setindex" text="Index"/>
+   <l:gentext key="SetIndex" text="Index"/>
+   <l:gentext key="Sidebar" text="Filet vertical"/>
+   <l:gentext key="sidebar" text="Filet vertical"/>
+   <l:gentext key="step" text="&#233;tape"/>
+   <l:gentext key="Step" text="&#201;tape"/>
+   <l:gentext key="table" text="Tableau"/>
+   <l:gentext key="Table" text="Tableau"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="ASTUCE"/>
+   <l:gentext key="TIP" text="ASTUCE"/>
+   <l:gentext key="Tip" text="Astuce"/>
+   <l:gentext key="Warning" text="Avertissement"/>
+   <l:gentext key="warning" text="AVERTISSEMENT"/>
+   <l:gentext key="WARNING" text="AVERTISSEMENT"/>
+   <l:gentext key="and" text="et"/>
+   <l:gentext key="by" text="par"/>
+   <l:gentext key="Edited" text="Publi&#233;"/>
+   <l:gentext key="edited" text="Publi&#233;"/>
+   <l:gentext key="Editedby" text="Publi&#233; par"/>
+   <l:gentext key="editedby" text="Publi&#233; par"/>
+   <l:gentext key="in" text="dans"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="Cet &#233;l&#233;ment n'existe pas"/>
+   <l:gentext key="notes" text="Notes"/>
+   <l:gentext key="Notes" text="Notes"/>
+   <l:gentext key="Pgs" text="Pages"/>
+   <l:gentext key="pgs" text="Pages"/>
+   <l:gentext key="Revisedby" text="Revu et corrig&#233; par&#160;: "/>
+   <l:gentext key="revisedby" text="Revu et corrig&#233; par&#160;: "/>
+   <l:gentext key="TableNotes" text="Remarques"/>
+   <l:gentext key="tablenotes" text="Remarques"/>
+   <l:gentext key="TableofContents" text="Table des mati&#232;res"/>
+   <l:gentext key="tableofcontents" text="Table des mati&#232;res"/>
+   <l:gentext key="unexpectedelementname" text="Nom d'&#233;l&#233;ment inattendu"/>
+   <l:gentext key="unsupported" text="Non reconnu par le syst&#232;me"/>
+   <l:gentext key="xrefto" text="R&#233;f&#233;rence vers"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Liste des &#233;quations"/>
+   <l:gentext key="ListofEquations" text="Liste des &#233;quations"/>
+   <l:gentext key="ListofExamples" text="Liste des exemples"/>
+   <l:gentext key="listofexamples" text="Liste des exemples"/>
+   <l:gentext key="ListofFigures" text="Liste des illustrations"/>
+   <l:gentext key="listoffigures" text="Liste des illustrations"/>
+   <l:gentext key="ListofProcedures" text="Liste des proc&#233;dures"/>
+   <l:gentext key="listofprocedures" text="Liste des proc&#233;dures"/>
+   <l:gentext key="listoftables" text="Liste des tableaux"/>
+   <l:gentext key="ListofTables" text="Liste des tableaux"/>
+   <l:gentext key="ListofUnknown" text="Liste inconnue"/>
+   <l:gentext key="listofunknown" text="Liste inconnue"/>
+   <l:gentext key="nav-home" text="Sommaire"/>
+   <l:gentext key="nav-next" text="Suivant"/>
+   <l:gentext key="nav-next-sibling" text="Avance rapide"/>
+   <l:gentext key="nav-prev" text="Pr&#233;c&#233;dent"/>
+   <l:gentext key="nav-prev-sibling" text="Arri&#232;re rapide"/>
+   <l:gentext key="nav-up" text="Niveau sup&#233;rieur"/>
+   <l:gentext key="nav-toc" text="TdM"/>
+   <l:gentext key="Draft" text="Brouillon"/>
+   <l:gentext key="above" text="au-dessus"/>
+   <l:gentext key="below" text="au-dessous"/>
+   <l:gentext key="sectioncalled" text="la section intitul&#233;e"/>
+   <l:gentext key="index symbols" text="Symboles"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#226;&#234;&#238;&#244;&#251;&#235;&#239;&#252;&#224;&#232;&#249;&#233;&#231;&#230;&#339;"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#194;&#202;&#206;&#212;&#219;&#203;&#207;&#220;&#192;&#200;&#217;&#201;&#199;&#198;&#338;"/>
+   <l:dingbat key="startquote" text="&#171;&#160;"/>
+   <l:dingbat key="endquote" text="&#160;&#187;"/>
+   <l:dingbat key="nestedstartquote" text="&#8220;"/>
+   <l:dingbat key="nestedendquote" text="&#8221;"/>
+   <l:dingbat key="singlestartquote" text="&#8249;"/>
+   <l:dingbat key="singleendquote" text="&#8250;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Annexe&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Chapitre&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#201;quation&#160;%n.&#160;%t"/>
+      <l:template name="example" text="Exemple&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="Figure&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Proc&#233;dure&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tableau&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Annexe&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Chapitre&#160;%n.&#160;%t"/>
+      <l:template name="part" text="Partie&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="R&#160;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Q&#160;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Q&#160;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)"/>
+      <l:template name="Page" text="Page %p"/>
+      <l:template name="bridgehead" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="refsection" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="refsect1" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="refsect2" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="refsect3" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="sect1" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="sect2" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="sect3" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="sect4" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="sect5" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="section" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="simplesect" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="R&#160;:&#160;%n"/>
+      <l:template name="appendix" text="Annexe&#160;%n"/>
+      <l:template name="bridgehead" text="Section&#160;%n"/>
+      <l:template name="chapter" text="Chapitre&#160;%n"/>
+      <l:template name="equation" text="&#201;quation&#160;%n"/>
+      <l:template name="example" text="Exemple&#160;%n"/>
+      <l:template name="figure" text="Figure&#160;%n"/>
+      <l:template name="part" text="Partie&#160;%n"/>
+      <l:template name="procedure" text="Proc&#233;dure&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="Q &amp; R&#160;%n"/>
+      <l:template name="qandaentry" text="Q&#160;:&#160;%n"/>
+      <l:template name="question" text="Q&#160;:&#160;%n"/>
+      <l:template name="sect1" text="Section&#160;%n"/>
+      <l:template name="sect2" text="Section&#160;%n"/>
+      <l:template name="sect3" text="Section&#160;%n"/>
+      <l:template name="sect4" text="Section&#160;%n"/>
+      <l:template name="sect5" text="Section&#160;%n"/>
+      <l:template name="section" text="Section&#160;%n"/>
+      <l:template name="table" text="Tableau&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Annexe&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="chapter" text="Chapitre&#160;%n, %t"/>
+      <l:template name="equation" text="&#201;quation&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="example" text="Exemple&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="figure" text="Figure&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="part" text="Partie&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="procedure" text="Proc&#233;dure&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="qandadiv" text="Q &amp; R&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="refsect1" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="refsect2" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="refsect3" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="refsection" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="sect1" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="sect2" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="sect3" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="sect4" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="sect5" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="section" text="Section&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="simplesect" text="la section intitul&#233;e &#171;&#160;%t&#160;&#187;"/>
+      <l:template name="table" text="Tableau&#160;%n, &#171;&#160;%t&#160;&#187;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" et "/>
+      <l:template name="seplast" text=", et "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Voir %t"/>
+      <l:template name="seealso" text="Voir aussi %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Public vis&#233;: "/>
+      <l:template name="MsgLevel" text="Niveau: "/>
+      <l:template name="MsgOrig" text="Origine: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d/m/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="janvier"/>
+      <l:template name="February" text="f&#233;vrier"/>
+      <l:template name="March" text="mars"/>
+      <l:template name="April" text="avril"/>
+      <l:template name="May" text="mai"/>
+      <l:template name="June" text="juin"/>
+      <l:template name="July" text="juillet"/>
+      <l:template name="August" text="ao&#251;t"/>
+      <l:template name="September" text="septembre"/>
+      <l:template name="October" text="octobre"/>
+      <l:template name="November" text="novembre"/>
+      <l:template name="December" text="d&#233;cembre"/>
+      <l:template name="Monday" text="lundi"/>
+      <l:template name="Tuesday" text="mardi"/>
+      <l:template name="Wednesday" text="mercredi"/>
+      <l:template name="Thursday" text="jeudi"/>
+      <l:template name="Friday" text="vendredi"/>
+      <l:template name="Saturday" text="samedi"/>
+      <l:template name="Sunday" text="dimanche"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="jan"/>
+      <l:template name="Feb" text="f&#233;v"/>
+      <l:template name="Mar" text="mar"/>
+      <l:template name="Apr" text="avr"/>
+      <l:template name="May" text="mai"/>
+      <l:template name="Jun" text="jun"/>
+      <l:template name="Jul" text="jui"/>
+      <l:template name="Aug" text="ao&#251;"/>
+      <l:template name="Sep" text="sep"/>
+      <l:template name="Oct" text="oct"/>
+      <l:template name="Nov" text="nov"/>
+      <l:template name="Dec" text="d&#233;c"/>
+      <l:template name="Mon" text="lun"/>
+      <l:template name="Tue" text="mar"/>
+      <l:template name="Wed" text="mer"/>
+      <l:template name="Thu" text="jeu"/>
+      <l:template name="Fri" text="ven"/>
+      <l:template name="Sat" text="sam"/>
+      <l:template name="Sun" text="dim"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x040c French (FRANCE)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Symboles</l:l>
+      <l:l i="1">A</l:l>
+      <l:l i="1">a</l:l>
+      <l:l i="1">&#224;</l:l>
+      <l:l i="1">&#192;</l:l>
+      <l:l i="1">&#226;</l:l>
+      <l:l i="1">&#194;</l:l>
+      <l:l i="1">&#198;</l:l>
+      <l:l i="1">&#230;</l:l>
+      <l:l i="2">B</l:l>
+      <l:l i="2">b</l:l>
+      <l:l i="3">C</l:l>
+      <l:l i="3">c</l:l>
+      <l:l i="3">&#231;</l:l>
+      <l:l i="4">D</l:l>
+      <l:l i="4">d</l:l>
+      <l:l i="5">E</l:l>
+      <l:l i="5">e</l:l>
+      <l:l i="5">&#234;</l:l>
+      <l:l i="5">&#202;</l:l>
+      <l:l i="5">&#233;</l:l>
+      <l:l i="5">&#201;</l:l>
+      <l:l i="5">&#232;</l:l>
+      <l:l i="5">&#200;</l:l>
+      <l:l i="5">&#235;</l:l>
+      <l:l i="5">&#203;</l:l>
+      <l:l i="5">&#8364;</l:l>
+      <l:l i="6">F</l:l>
+      <l:l i="6">f</l:l>
+      <l:l i="7">G</l:l>
+      <l:l i="7">g</l:l>
+      <l:l i="8">H</l:l>
+      <l:l i="8">h</l:l>
+      <l:l i="9">I</l:l>
+      <l:l i="9">i</l:l>
+      <l:l i="9">&#206;</l:l>
+      <l:l i="9">&#238;</l:l>
+      <l:l i="9">&#207;</l:l>
+      <l:l i="9">&#239;</l:l>
+      <l:l i="10">J</l:l>
+      <l:l i="10">j</l:l>
+      <l:l i="11">K</l:l>
+      <l:l i="11">k</l:l>
+      <l:l i="12">L</l:l>
+      <l:l i="12">l</l:l>
+      <l:l i="13">M</l:l>
+      <l:l i="13">m</l:l>
+      <l:l i="14">N</l:l>
+      <l:l i="14">n</l:l>
+      <l:l i="15">O</l:l>
+      <l:l i="15">o</l:l>
+      <l:l i="15">&#214;</l:l>
+      <l:l i="15">&#246;</l:l>
+      <l:l i="15">&#338;</l:l>
+      <l:l i="15">&#339;</l:l>
+      <l:l i="16">P</l:l>
+      <l:l i="16">p</l:l>
+      <l:l i="17">Q</l:l>
+      <l:l i="17">q</l:l>
+      <l:l i="18">R</l:l>
+      <l:l i="18">r</l:l>
+      <l:l i="19">S</l:l>
+      <l:l i="19">s</l:l>
+      <l:l i="20">T</l:l>
+      <l:l i="20">t</l:l>
+      <l:l i="21">U</l:l>
+      <l:l i="21">u</l:l>
+      <l:l i="21">&#217;</l:l>
+      <l:l i="21">&#249;</l:l>
+      <l:l i="21">&#219;</l:l>
+      <l:l i="21">&#251;</l:l>
+      <l:l i="21">&#220;</l:l>
+      <l:l i="21">&#252;</l:l>
+      <l:l i="22">V</l:l>
+      <l:l i="22">v</l:l>
+      <l:l i="23">W</l:l>
+      <l:l i="23">w</l:l>
+      <l:l i="24">X</l:l>
+      <l:l i="24">x</l:l>
+      <l:l i="25">Y</l:l>
+      <l:l i="25">y</l:l>
+      <l:l i="26">Z</l:l>
+      <l:l i="26">z</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/ga.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/ga.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/ga.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ga" english-language-name="Irish">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/ga.xml -->
+<!-- * -->
+<!-- * E-mail the edited ga.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Achoimre"/>
+   <l:gentext key="abstract" text="Achoimre"/>
+   <l:gentext key="Answer" text="F:"/>
+   <l:gentext key="answer" text="F:"/>
+   <l:gentext key="Appendix" text="Aguis&#237;n"/>
+   <l:gentext key="appendix" text="Aguis&#237;n"/>
+   <l:gentext key="Article" text="Alt"/>
+   <l:gentext key="article" text="Alt"/>
+   <l:gentext key="Author" text="&#218;dar"/>
+   <l:gentext key="Bibliography" text="Leabharliosta"/>
+   <l:gentext key="bibliography" text="Leabharliosta"/>
+   <l:gentext key="Book" text="Leabhar"/>
+   <l:gentext key="book" text="Leabhar"/>
+   <l:gentext key="CAUTION" text="FAINIC"/>
+   <l:gentext key="Caution" text="Fainic"/>
+   <l:gentext key="caution" text="Fainic"/>
+   <l:gentext key="Chapter" text="Caibidil"/>
+   <l:gentext key="chapter" text="Caibidil"/>
+   <l:gentext key="Colophon" text="Colafan"/>
+   <l:gentext key="colophon" text="Colafan"/>
+   <l:gentext key="Copyright" text="C&#243;ipcheart"/>
+   <l:gentext key="copyright" text="C&#243;ipcheart"/>
+   <l:gentext key="Dedication" text="T&#237;olacadh"/>
+   <l:gentext key="dedication" text="T&#237;olacadh"/>
+   <l:gentext key="Edition" text="Eagr&#225;n"/>
+   <l:gentext key="edition" text="Eagr&#225;n"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Cothrom&#243;id"/>
+   <l:gentext key="equation" text="Cothrom&#243;id"/>
+   <l:gentext key="Example" text="Sampla"/>
+   <l:gentext key="example" text="Sampla"/>
+   <l:gentext key="Figure" text="L&#233;ar&#225;id"/>
+   <l:gentext key="figure" text="L&#233;ar&#225;id"/>
+   <l:gentext key="Glossary" text="Gluais"/>
+   <l:gentext key="glossary" text="Gluais"/>
+   <l:gentext key="GlossSee" text="F&#233;ach"/>
+   <l:gentext key="glosssee" text="F&#233;ach"/>
+   <l:gentext key="GlossSeeAlso" text="F&#233;ach Freisin"/>
+   <l:gentext key="glossseealso" text="F&#233;ach Freisin"/>
+   <l:gentext key="IMPORTANT" text="T&#193;BHACHTACH"/>
+   <l:gentext key="important" text="T&#225;bhachtach"/>
+   <l:gentext key="Important" text="T&#225;bhachtach"/>
+   <l:gentext key="Index" text="Inn&#233;acs"/>
+   <l:gentext key="index" text="Inn&#233;acs"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="F&#243;gra Dl&#237;"/>
+   <l:gentext key="legalnotice" text="F&#243;gra Dl&#237;"/>
+   <l:gentext key="MsgAud" text="Sprioclucht"/>
+   <l:gentext key="msgaud" text="Sprioclucht"/>
+   <l:gentext key="MsgLevel" text="Leibh&#233;al"/>
+   <l:gentext key="msglevel" text="Leibh&#233;al"/>
+   <l:gentext key="MsgOrig" text="Foinse"/>
+   <l:gentext key="msgorig" text="Foinse"/>
+   <l:gentext key="NOTE" text="N&#211;TA"/>
+   <l:gentext key="Note" text="N&#243;ta"/>
+   <l:gentext key="note" text="N&#243;ta"/>
+   <l:gentext key="Part" text="Cuid"/>
+   <l:gentext key="part" text="Cuid"/>
+   <l:gentext key="Preface" text="R&#233;amhr&#225;"/>
+   <l:gentext key="preface" text="R&#233;amhr&#225;"/>
+   <l:gentext key="Procedure" text="Gn&#225;s"/>
+   <l:gentext key="procedure" text="Gn&#225;s"/>
+   <l:gentext key="ProductionSet" text="Rialacha T&#225;irgthe"/>
+   <l:gentext key="PubDate" text="D&#225;ta Foilsithe"/>
+   <l:gentext key="pubdate" text="D&#225;ta foilsithe"/>
+   <l:gentext key="Published" text="Foilsithe"/>
+   <l:gentext key="published" text="Foilsithe"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="C &amp; F"/>
+   <l:gentext key="qandadiv" text="C &amp; F"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="C:"/>
+   <l:gentext key="question" text="C:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Tagairt"/>
+   <l:gentext key="reference" text="Tagairt"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Ainm"/>
+   <l:gentext key="refname" text="Ainm"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Achoimre"/>
+   <l:gentext key="refsynopsisdiv" text="Achoimre"/>
+   <l:gentext key="RevHistory" text="Stair Leasaithe"/>
+   <l:gentext key="revhistory" text="Stair Leasaithe"/>
+   <l:gentext key="revision" text="Leas&#250;"/>
+   <l:gentext key="Revision" text="Leas&#250;"/>
+   <l:gentext key="sect1" text="Rann&#225;n"/>
+   <l:gentext key="sect2" text="Rann&#225;n"/>
+   <l:gentext key="sect3" text="Rann&#225;n"/>
+   <l:gentext key="sect4" text="Rann&#225;n"/>
+   <l:gentext key="sect5" text="Rann&#225;n"/>
+   <l:gentext key="section" text="Rann&#225;n"/>
+   <l:gentext key="Section" text="Rann&#225;n"/>
+   <l:gentext key="see" text="f&#233;ach"/>
+   <l:gentext key="See" text="F&#233;ach"/>
+   <l:gentext key="seealso" text="f&#233;ach freisin"/>
+   <l:gentext key="Seealso" text="F&#233;ach freisin"/>
+   <l:gentext key="SeeAlso" text="F&#233;ach Freisin"/>
+   <l:gentext key="set" text="Tacar"/>
+   <l:gentext key="Set" text="Tacar"/>
+   <l:gentext key="setindex" text="Inn&#233;acs"/>
+   <l:gentext key="SetIndex" text="Inn&#233;acs"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="taobhbharra"/>
+   <l:gentext key="step" text="c&#233;im"/>
+   <l:gentext key="Step" text="C&#233;im"/>
+   <l:gentext key="table" text="T&#225;bla"/>
+   <l:gentext key="Table" text="T&#225;bla"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Leid"/>
+   <l:gentext key="TIP" text="LEID"/>
+   <l:gentext key="Tip" text="Leid"/>
+   <l:gentext key="Warning" text="Rabhadh"/>
+   <l:gentext key="warning" text="Rabhadh"/>
+   <l:gentext key="WARNING" text="RABHADH"/>
+   <l:gentext key="and" text="agus"/>
+   <l:gentext key="by" text="le"/>
+   <l:gentext key="Edited" text="Curtha in eagar"/>
+   <l:gentext key="edited" text="Curtha in eagar"/>
+   <l:gentext key="Editedby" text="Curtha in eagar ag"/>
+   <l:gentext key="editedby" text="Curtha in eagar ag"/>
+   <l:gentext key="in" text="i"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="eilimint nach ann"/>
+   <l:gentext key="notes" text="N&#243;ta&#237;"/>
+   <l:gentext key="Notes" text="N&#243;ta&#237;"/>
+   <l:gentext key="Pgs" text="Lgh."/>
+   <l:gentext key="pgs" text="Lgh."/>
+   <l:gentext key="Revisedby" text="Leasaithe ag: "/>
+   <l:gentext key="revisedby" text="Leasaithe ag: "/>
+   <l:gentext key="TableNotes" text="N&#243;ta&#237;"/>
+   <l:gentext key="tablenotes" text="N&#243;ta&#237;"/>
+   <l:gentext key="TableofContents" text="Cl&#225;r &#193;bhair"/>
+   <l:gentext key="tableofcontents" text="Cl&#225;r &#193;bhair"/>
+   <l:gentext key="unexpectedelementname" text="Ainm eiliminte gan choinne"/>
+   <l:gentext key="unsupported" text="gan taca&#237;ocht"/>
+   <l:gentext key="xrefto" text="xref go"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Liosta Cothrom&#243;id&#237;"/>
+   <l:gentext key="ListofEquations" text="Liosta Cothrom&#243;id&#237;"/>
+   <l:gentext key="ListofExamples" text="Liosta Sampla&#237;"/>
+   <l:gentext key="listofexamples" text="Liosta Sampla&#237;"/>
+   <l:gentext key="ListofFigures" text="Liosta L&#233;ar&#225;id&#237;"/>
+   <l:gentext key="listoffigures" text="Liosta L&#233;ar&#225;id&#237;"/>
+   <l:gentext key="ListofProcedures" text="Liosta Gn&#225;s"/>
+   <l:gentext key="listofprocedures" text="Liosta Gn&#225;s"/>
+   <l:gentext key="listoftables" text="Liosta T&#225;bla&#237;"/>
+   <l:gentext key="ListofTables" text="Liosta T&#225;bla&#237;"/>
+   <l:gentext key="ListofUnknown" text="Liosta Ruda&#237; Anaithnide"/>
+   <l:gentext key="listofunknown" text="Liosta Ruda&#237; Anaithnide"/>
+   <l:gentext key="nav-home" text="Baile"/>
+   <l:gentext key="nav-next" text="Ar Aghaidh"/>
+   <l:gentext key="nav-next-sibling" text="Ar Aghaidh Go Tapa"/>
+   <l:gentext key="nav-prev" text="Ar Ais"/>
+   <l:gentext key="nav-prev-sibling" text="Ar Ais Go Tapa"/>
+   <l:gentext key="nav-up" text="Suas"/>
+   <l:gentext key="nav-toc" text="C&#193;"/>
+   <l:gentext key="Draft" text="Dr&#233;acht"/>
+   <l:gentext key="above" text="thuas"/>
+   <l:gentext key="below" text="th&#237;os"/>
+   <l:gentext key="sectioncalled" text="an rann&#225;n dar teideal"/>
+   <l:gentext key="index symbols" text="Siombail&#237;"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#225;&#233;&#237;&#243;&#250;"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#193;&#201;&#205;&#211;&#218;"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Aguis&#237;n&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Caibidil&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Cothrom&#243;id&#160;%n.&#160;%t"/>
+      <l:template name="example" text="Sampla&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="L&#233;ar&#225;id&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Cuid&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Gn&#225;s&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Rialacha T&#225;irgthe&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="T&#225;bla&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Aguis&#237;n&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Caibidil&#160;%n.&#160;%t"/>
+      <l:template name="part" text="Cuid&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="F:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="C:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="C:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" i %o"/>
+      <l:template name="olink.page.citation" text=" (leathanach %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(leathanach %p)"/>
+      <l:template name="docname" text=" i %o"/>
+      <l:template name="docnamelong" text=" in the document titled %o"/>
+      <l:template name="pageabbrev" text="(lch. %p)"/>
+      <l:template name="Page" text="Leathanach %p"/>
+      <l:template name="bridgehead" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="section" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="F:&#160;%n"/>
+      <l:template name="appendix" text="Aguis&#237;n&#160;%n"/>
+      <l:template name="bridgehead" text="Rann&#225;n&#160;%n"/>
+      <l:template name="chapter" text="Caibidil&#160;%n"/>
+      <l:template name="equation" text="Cothrom&#243;id&#160;%n"/>
+      <l:template name="example" text="Sampla&#160;%n"/>
+      <l:template name="figure" text="L&#233;ar&#225;id&#160;%n"/>
+      <l:template name="part" text="Cuid&#160;%n"/>
+      <l:template name="procedure" text="Gn&#225;s&#160;%n"/>
+      <l:template name="productionset" text="Rialacha T&#225;irgthe&#160;%n"/>
+      <l:template name="qandadiv" text="C &amp; F&#160;%n"/>
+      <l:template name="qandaentry" text="C:&#160;%n"/>
+      <l:template name="question" text="C:&#160;%n"/>
+      <l:template name="sect1" text="Rann&#225;n&#160;%n"/>
+      <l:template name="sect2" text="Rann&#225;n&#160;%n"/>
+      <l:template name="sect3" text="Rann&#225;n&#160;%n"/>
+      <l:template name="sect4" text="Rann&#225;n&#160;%n"/>
+      <l:template name="sect5" text="Rann&#225;n&#160;%n"/>
+      <l:template name="section" text="Rann&#225;n&#160;%n"/>
+      <l:template name="table" text="T&#225;bla&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Aguis&#237;n&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Rann&#225;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Caibidil&#160;%n, %t"/>
+      <l:template name="equation" text="Cothrom&#243;id&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Sampla&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="L&#233;ar&#225;id&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Cuid&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Gn&#225;s&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Rialacha T&#225;irgthe&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="C &amp; F&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Rann&#225;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Rann&#225;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Rann&#225;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Rann&#225;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Rann&#225;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Rann&#225;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="an rann&#225;n dar teideal &#8220;%t&#8221;"/>
+      <l:template name="table" text="T&#225;bla&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" agus "/>
+      <l:template name="seplast" text=", agus "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="F&#233;ach %t"/>
+      <l:template name="seealso" text="F&#233;ach Freisin %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Sprioclucht: "/>
+      <l:template name="MsgLevel" text="Leibh&#233;al: "/>
+      <l:template name="MsgOrig" text="Foinse: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Sainmh&#237;ni&#250;: "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="Ean&#225;ir"/>
+      <l:template name="February" text="Feabhra"/>
+      <l:template name="March" text="M&#225;rta"/>
+      <l:template name="April" text="Aibre&#225;n"/>
+      <l:template name="May" text="Bealtaine"/>
+      <l:template name="June" text="Meitheamh"/>
+      <l:template name="July" text="I&#250;il"/>
+      <l:template name="August" text="L&#250;nasa"/>
+      <l:template name="September" text="Me&#225;n F&#243;mhair"/>
+      <l:template name="October" text="Deireadh F&#243;mhair"/>
+      <l:template name="November" text="Samhain"/>
+      <l:template name="December" text="Nollaig"/>
+      <l:template name="Monday" text="D&#233; Luain"/>
+      <l:template name="Tuesday" text="D&#233; M&#225;irt"/>
+      <l:template name="Wednesday" text="D&#233; C&#233;adaoin"/>
+      <l:template name="Thursday" text="D&#233;ardaoin"/>
+      <l:template name="Friday" text="D&#233; hAoine"/>
+      <l:template name="Saturday" text="D&#233; Sathairn"/>
+      <l:template name="Sunday" text="D&#233; Domhnaigh"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Ean"/>
+      <l:template name="Feb" text="Feabh"/>
+      <l:template name="Mar" text="M&#225;rta"/>
+      <l:template name="Apr" text="Aib"/>
+      <l:template name="May" text="Beal"/>
+      <l:template name="Jun" text="Meith"/>
+      <l:template name="Jul" text="I&#250;il"/>
+      <l:template name="Aug" text="L&#250;n"/>
+      <l:template name="Sep" text="MF&#243;mh"/>
+      <l:template name="Oct" text="DF&#243;mh"/>
+      <l:template name="Nov" text="Samh"/>
+      <l:template name="Dec" text="Noll"/>
+      <l:template name="Mon" text="Luan"/>
+      <l:template name="Tue" text="M&#225;irt"/>
+      <l:template name="Wed" text="C&#233;ad"/>
+      <l:template name="Thu" text="D&#233;ar"/>
+      <l:template name="Fri" text="Aoine"/>
+      <l:template name="Sat" text="Sath"/>
+      <l:template name="Sun" text="Domh"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x083C Gaelic (IRELAND)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Siombail&#237;</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/gentext.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/gentext.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/gentext.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,831 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                exclude-result-prefixes="doc"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: gentext.xsl 6442 2006-11-21 07:26:46Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+
+<xsl:template match="*" mode="object.title.template">
+  <xsl:call-template name="gentext.template">
+    <xsl:with-param name="context" select="'title'"/>
+    <xsl:with-param name="name">
+      <xsl:call-template name="xpath.location"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="chapter" mode="object.title.template">
+  <xsl:choose>
+    <xsl:when test="string($chapter.autolabel) != 0">
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'title-numbered'"/>
+        <xsl:with-param name="name">
+          <xsl:call-template name="xpath.location"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'title-unnumbered'"/>
+        <xsl:with-param name="name">
+          <xsl:call-template name="xpath.location"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="appendix" mode="object.title.template">
+  <xsl:choose>
+    <xsl:when test="string($appendix.autolabel) != 0">
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'title-numbered'"/>
+        <xsl:with-param name="name">
+          <xsl:call-template name="xpath.location"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'title-unnumbered'"/>
+        <xsl:with-param name="name">
+          <xsl:call-template name="xpath.location"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="part" mode="object.title.template">
+  <xsl:choose>
+    <xsl:when test="string($part.autolabel) != 0">
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'title-numbered'"/>
+        <xsl:with-param name="name">
+          <xsl:call-template name="xpath.location"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'title-unnumbered'"/>
+        <xsl:with-param name="name">
+          <xsl:call-template name="xpath.location"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="section|sect1|sect2|sect3|sect4|sect5|simplesect
+                     |bridgehead"
+              mode="object.title.template">
+  <xsl:variable name="is.numbered">
+    <xsl:call-template name="label.this.section"/>
+  </xsl:variable>
+  <xsl:choose>
+    <xsl:when test="$is.numbered != 0">
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'title-numbered'"/>
+        <xsl:with-param name="name">
+          <xsl:call-template name="xpath.location"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'title-unnumbered'"/>
+        <xsl:with-param name="name">
+          <xsl:call-template name="xpath.location"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="procedure" mode="object.title.template">
+  <xsl:choose>
+    <xsl:when test="$formal.procedures != 0 and title">
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'title'"/>
+        <xsl:with-param name="name">
+          <xsl:call-template name="xpath.location"/>
+          <xsl:text>.formal</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'title'"/>
+        <xsl:with-param name="name">
+          <xsl:call-template name="xpath.location"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="object.subtitle.template">
+  <xsl:call-template name="gentext.template">
+    <xsl:with-param name="context" select="'subtitle'"/>
+    <xsl:with-param name="name">
+      <xsl:call-template name="xpath.location"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="is.autonumber">
+  <xsl:value-of select="'0'"/>
+</xsl:template>
+
+<xsl:template match="section|sect1|sect2|sect3|sect4|sect5" 
+              mode="is.autonumber">
+  <xsl:call-template name="label.this.section"/>
+</xsl:template>
+
+<xsl:template match="figure|example|table|equation" mode="is.autonumber">
+  <xsl:value-of select="'1'"/>
+</xsl:template>
+
+<xsl:template match="appendix" mode="is.autonumber">
+  <xsl:value-of select="$appendix.autolabel"/>
+</xsl:template>
+
+<xsl:template match="chapter" mode="is.autonumber">
+  <xsl:value-of select="$chapter.autolabel"/>
+</xsl:template>
+
+<xsl:template match="part" mode="is.autonumber">
+  <xsl:value-of select="$part.autolabel"/>
+</xsl:template>
+
+<xsl:template match="preface" mode="is.autonumber">
+  <xsl:value-of select="$preface.autolabel"/>
+</xsl:template>
+
+<xsl:template match="question|answer" mode="is.autonumber">
+  <xsl:choose>
+    <xsl:when test="$qanda.defaultlabel = 'number'
+                    and not(label)">
+      <xsl:value-of select="'1'"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="'0'"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="qandadiv" mode="is.autonumber">
+  <xsl:value-of select="$qandadiv.autolabel"/>
+</xsl:template>
+
+<xsl:template match="bridgehead" mode="is.autonumber">
+  <xsl:value-of select="$section.autolabel"/>
+</xsl:template>
+
+<xsl:template match="*" mode="object.xref.template">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="referrer"/>
+
+  <!-- Is autonumbering on? -->
+  <xsl:variable name="autonumber">
+    <xsl:apply-templates select="." mode="is.autonumber"/>
+  </xsl:variable>
+
+  <xsl:variable name="number-and-title-template">
+    <xsl:call-template name="gentext.template.exists">
+      <xsl:with-param name="context" select="'xref-number-and-title'"/>
+      <xsl:with-param name="name">
+        <xsl:call-template name="xpath.location"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="number-template">
+    <xsl:call-template name="gentext.template.exists">
+      <xsl:with-param name="context" select="'xref-number'"/>
+      <xsl:with-param name="name">
+        <xsl:call-template name="xpath.location"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="context">
+    <xsl:choose>
+      <xsl:when test="string($autonumber) != 0 
+                      and $number-and-title-template != 0
+                      and $xref.with.number.and.title != 0">
+         <xsl:value-of select="'xref-number-and-title'"/>
+      </xsl:when>
+      <xsl:when test="string($autonumber) != 0 
+                      and $number-template != 0">
+         <xsl:value-of select="'xref-number'"/>
+      </xsl:when>
+      <xsl:otherwise>
+         <xsl:value-of select="'xref'"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="gentext.template">
+    <xsl:with-param name="context" select="$context"/>
+    <xsl:with-param name="name">
+      <xsl:call-template name="xpath.location"/>
+    </xsl:with-param>
+    <xsl:with-param name="purpose" select="$purpose"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="object.title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:variable name="template">
+    <xsl:apply-templates select="." mode="object.title.template"/>
+  </xsl:variable>
+
+<!--
+  <xsl:message>
+    <xsl:text>object.title.markup: </xsl:text>
+    <xsl:value-of select="local-name(.)"/>
+    <xsl:text>: </xsl:text>
+    <xsl:value-of select="$template"/>
+  </xsl:message>
+-->
+
+  <xsl:call-template name="substitute-markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+    <xsl:with-param name="template" select="$template"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="*" mode="object.title.markup.textonly">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="object.title.markup"/>
+  </xsl:variable>
+  <xsl:value-of select="normalize-space($title)"/>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="object.titleabbrev.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+
+  <!-- Just for consistency in template naming -->
+
+  <xsl:apply-templates select="." mode="titleabbrev.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="object.subtitle.markup">
+  <xsl:variable name="template">
+    <xsl:apply-templates select="." mode="object.subtitle.template"/>
+  </xsl:variable>
+
+  <xsl:call-template name="substitute-markup">
+    <xsl:with-param name="template" select="$template"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="object.xref.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="referrer"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:variable name="template">
+    <xsl:choose>
+      <xsl:when test="starts-with(normalize-space($xrefstyle), 'select:')">
+        <xsl:call-template name="make.gentext.template">
+          <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+          <xsl:with-param name="purpose" select="$purpose"/>
+          <xsl:with-param name="referrer" select="$referrer"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test="starts-with(normalize-space($xrefstyle), 'template:')">
+        <xsl:value-of select="substring-after(normalize-space($xrefstyle), 'template:')"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="." mode="object.xref.template">
+          <xsl:with-param name="purpose" select="$purpose"/>
+          <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+          <xsl:with-param name="referrer" select="$referrer"/>
+        </xsl:apply-templates>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+<!-- 
+  <xsl:message>
+    <xsl:text>object.xref.markup: </xsl:text>
+    <xsl:value-of select="local-name(.)"/>
+    <xsl:text>(</xsl:text>
+    <xsl:value-of select="$xrefstyle"/>
+    <xsl:text>, </xsl:text>
+    <xsl:value-of select="$purpose"/>
+    <xsl:text>)</xsl:text>
+    <xsl:text>: [</xsl:text>
+    <xsl:value-of select="$template"/>
+    <xsl:text>]</xsl:text>
+  </xsl:message>
+-->
+
+  <xsl:if test="$template = '' and $verbose != 0">
+    <xsl:message>
+      <xsl:text>object.xref.markup: empty xref template</xsl:text>
+      <xsl:text> for linkend="</xsl:text>
+      <xsl:value-of select="@id|@xml:id"/>
+      <xsl:text>" and @xrefstyle="</xsl:text>
+      <xsl:value-of select="$xrefstyle"/>
+      <xsl:text>"</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:call-template name="substitute-markup">
+    <xsl:with-param name="purpose" select="$purpose"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="template" select="$template"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="listitem" mode="object.xref.markup">
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="parent::orderedlist">
+      <xsl:variable name="template">
+        <xsl:apply-templates select="." mode="object.xref.template"/>
+      </xsl:variable>
+      <xsl:call-template name="substitute-markup">
+        <xsl:with-param name="template" select="$template"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$verbose != 0">
+      <xsl:message>
+        <xsl:text>Xref is only supported to listitems in an</xsl:text>
+        <xsl:text> orderedlist: </xsl:text>
+        <xsl:value-of select="@id|@xml:id"/>
+      </xsl:message>
+      <xsl:text>???</xsl:text>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="question" mode="object.xref.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="referrer"/>
+
+  <xsl:variable name="deflabel">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+        <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]
+                              /@defaultlabel"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$qanda.defaultlabel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="template">
+    <xsl:choose>
+      <!-- This avoids double Q: Q: in xref when defaultlabel=qanda -->
+      <xsl:when test="$deflabel = 'qanda' and not(label)">%n</xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="." mode="object.xref.template">
+          <xsl:with-param name="purpose" select="$purpose"/>
+          <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+          <xsl:with-param name="referrer" select="$referrer"/>
+        </xsl:apply-templates>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="substitute-markup">
+    <xsl:with-param name="purpose" select="$purpose"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="template" select="$template"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="substitute-markup">
+  <xsl:param name="template" select="''"/>
+  <xsl:param name="allow-anchors" select="'0'"/>
+  <xsl:param name="title" select="''"/>
+  <xsl:param name="subtitle" select="''"/>
+  <xsl:param name="docname" select="''"/>
+  <xsl:param name="label" select="''"/>
+  <xsl:param name="pagenumber" select="''"/>
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="referrer"/>
+  <xsl:param name="verbose"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($template, '%')">
+      <xsl:value-of select="substring-before($template, '%')"/>
+      <xsl:variable name="candidate"
+             select="substring(substring-after($template, '%'), 1, 1)"/>
+      <xsl:choose>
+        <xsl:when test="$candidate = 't'">
+          <xsl:apply-templates select="." mode="insert.title.markup">
+            <xsl:with-param name="purpose" select="$purpose"/>
+            <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+            <xsl:with-param name="title">
+              <xsl:choose>
+                <xsl:when test="$title != ''">
+                  <xsl:copy-of select="$title"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:apply-templates select="." mode="title.markup">
+                    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+                    <xsl:with-param name="verbose" select="$verbose"/>
+                  </xsl:apply-templates>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:when test="$candidate = 's'">
+          <xsl:apply-templates select="." mode="insert.subtitle.markup">
+            <xsl:with-param name="purpose" select="$purpose"/>
+            <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+            <xsl:with-param name="subtitle">
+              <xsl:choose>
+                <xsl:when test="$subtitle != ''">
+                  <xsl:copy-of select="$subtitle"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:apply-templates select="." mode="subtitle.markup">
+                    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+                  </xsl:apply-templates>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:when test="$candidate = 'n'">
+          <xsl:apply-templates select="." mode="insert.label.markup">
+            <xsl:with-param name="purpose" select="$purpose"/>
+            <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+            <xsl:with-param name="label">
+              <xsl:choose>
+                <xsl:when test="$label != ''">
+                  <xsl:copy-of select="$label"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:apply-templates select="." mode="label.markup"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:when test="$candidate = 'p'">
+          <xsl:apply-templates select="." mode="insert.pagenumber.markup">
+            <xsl:with-param name="purpose" select="$purpose"/>
+            <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+            <xsl:with-param name="pagenumber">
+              <xsl:choose>
+                <xsl:when test="$pagenumber != ''">
+                  <xsl:copy-of select="$pagenumber"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:apply-templates select="." mode="pagenumber.markup"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:when test="$candidate = 'o'">
+          <!-- olink target document title -->
+          <xsl:apply-templates select="." mode="insert.olink.docname.markup">
+            <xsl:with-param name="purpose" select="$purpose"/>
+            <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+            <xsl:with-param name="docname">
+              <xsl:choose>
+                <xsl:when test="$docname != ''">
+                  <xsl:copy-of select="$docname"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:apply-templates select="." mode="olink.docname.markup"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:when test="$candidate = 'd'">
+          <xsl:apply-templates select="." mode="insert.direction.markup">
+            <xsl:with-param name="purpose" select="$purpose"/>
+            <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+            <xsl:with-param name="direction">
+              <xsl:choose>
+                <xsl:when test="$referrer">
+                  <xsl:variable name="referent-is-below">
+                    <xsl:for-each select="preceding::xref">
+                      <xsl:if test="generate-id(.) = generate-id($referrer)">1</xsl:if>
+                    </xsl:for-each>
+                  </xsl:variable>
+                  <xsl:choose>
+                    <xsl:when test="$referent-is-below = ''">
+                      <xsl:call-template name="gentext">
+                        <xsl:with-param name="key" select="'above'"/>
+                      </xsl:call-template>
+                    </xsl:when>
+                    <xsl:otherwise>
+                      <xsl:call-template name="gentext">
+                        <xsl:with-param name="key" select="'below'"/>
+                      </xsl:call-template>
+                    </xsl:otherwise>
+                  </xsl:choose>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:message>Attempt to use %d in gentext with no referrer!</xsl:message>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:when test="$candidate = '%' ">
+          <xsl:text>%</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>%</xsl:text><xsl:value-of select="$candidate"/>
+        </xsl:otherwise>
+      </xsl:choose>
+      <!-- recurse with the rest of the template string -->
+      <xsl:variable name="rest"
+            select="substring($template,
+            string-length(substring-before($template, '%'))+3)"/>
+      <xsl:call-template name="substitute-markup">
+        <xsl:with-param name="template" select="$rest"/>
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+        <xsl:with-param name="title" select="$title"/>
+        <xsl:with-param name="subtitle" select="$subtitle"/>
+        <xsl:with-param name="docname" select="$docname"/>
+        <xsl:with-param name="label" select="$label"/>
+        <xsl:with-param name="pagenumber" select="$pagenumber"/>
+        <xsl:with-param name="purpose" select="$purpose"/>
+        <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+        <xsl:with-param name="referrer" select="$referrer"/>
+        <xsl:with-param name="verbose" select="$verbose"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$template"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="make.gentext.template">
+  <xsl:param name="xrefstyle" select="''"/>
+  <xsl:param name="purpose"/>
+  <xsl:param name="referrer"/>
+  <xsl:param name="lang">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:param>
+  <xsl:param name="target.elem" select="local-name(.)"/>
+
+  <!-- parse xrefstyle to get parts -->
+  <xsl:variable name="parts"
+      select="substring-after(normalize-space($xrefstyle), 'select:')"/>
+
+  <xsl:variable name="labeltype">
+    <xsl:choose>
+      <xsl:when test="contains($parts, 'labelnumber')">
+         <xsl:text>labelnumber</xsl:text>
+      </xsl:when>
+      <xsl:when test="contains($parts, 'labelname')">
+         <xsl:text>labelname</xsl:text>
+      </xsl:when>
+      <xsl:when test="contains($parts, 'label')">
+         <xsl:text>label</xsl:text>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="titletype">
+    <xsl:choose>
+      <xsl:when test="contains($parts, 'quotedtitle')">
+         <xsl:text>quotedtitle</xsl:text>
+      </xsl:when>
+      <xsl:when test="contains($parts, 'title')">
+         <xsl:text>title</xsl:text>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="pagetype">
+    <xsl:choose>
+      <xsl:when test="$insert.olink.page.number = 'no' and
+                      local-name($referrer) = 'olink'">
+        <!-- suppress page numbers -->
+      </xsl:when>
+      <xsl:when test="$insert.xref.page.number = 'no' and
+                      local-name($referrer) != 'olink'">
+        <!-- suppress page numbers -->
+      </xsl:when>
+      <xsl:when test="contains($parts, 'nopage')">
+         <xsl:text>nopage</xsl:text>
+      </xsl:when>
+      <xsl:when test="contains($parts, 'pagenumber')">
+         <xsl:text>pagenumber</xsl:text>
+      </xsl:when>
+      <xsl:when test="contains($parts, 'pageabbrev')">
+         <xsl:text>pageabbrev</xsl:text>
+      </xsl:when>
+      <xsl:when test="contains($parts, 'Page')">
+         <xsl:text>Page</xsl:text>
+      </xsl:when>
+      <xsl:when test="contains($parts, 'page')">
+         <xsl:text>page</xsl:text>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="docnametype">
+    <xsl:choose>
+      <xsl:when test="($olink.doctitle = 0 or
+                       $olink.doctitle = 'no') and
+                      local-name($referrer) = 'olink'">
+        <!-- suppress docname -->
+      </xsl:when>
+      <xsl:when test="contains($parts, 'nodocname')">
+         <xsl:text>nodocname</xsl:text>
+      </xsl:when>
+      <xsl:when test="contains($parts, 'docnamelong')">
+         <xsl:text>docnamelong</xsl:text>
+      </xsl:when>
+      <xsl:when test="contains($parts, 'docname')">
+         <xsl:text>docname</xsl:text>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:if test="$labeltype != ''">
+    <xsl:choose>
+      <xsl:when test="$labeltype = 'labelname'">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key">
+            <xsl:choose>
+              <xsl:when test="local-name($referrer) = 'olink'">
+                <xsl:value-of select="$target.elem"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select="local-name(.)"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test="$labeltype = 'labelnumber'">
+        <xsl:text>%n</xsl:text>
+      </xsl:when>
+      <xsl:when test="$labeltype = 'label'">
+        <xsl:call-template name="gentext.template">
+          <xsl:with-param name="context" select="'xref-number'"/>
+          <xsl:with-param name="name">
+            <xsl:choose>
+              <xsl:when test="local-name($referrer) = 'olink'">
+                <xsl:value-of select="$target.elem"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:call-template name="xpath.location"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+          <xsl:with-param name="purpose" select="$purpose"/>
+          <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+          <xsl:with-param name="referrer" select="$referrer"/>
+        </xsl:call-template>
+      </xsl:when>
+    </xsl:choose>
+
+    <xsl:choose>
+      <xsl:when test="$titletype != ''">
+        <xsl:value-of select="$xref.label-title.separator"/>
+      </xsl:when>
+      <xsl:when test="$pagetype != ''">
+        <xsl:value-of select="$xref.label-page.separator"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:if>
+
+  <xsl:if test="$titletype != ''">
+    <xsl:choose>
+      <xsl:when test="$titletype = 'title'">
+        <xsl:text>%t</xsl:text>
+      </xsl:when>
+      <xsl:when test="$titletype = 'quotedtitle'">
+        <xsl:call-template name="gentext.dingbat">
+          <xsl:with-param name="dingbat" select="'startquote'"/>
+        </xsl:call-template>
+        <xsl:text>%t</xsl:text>
+        <xsl:call-template name="gentext.dingbat">
+          <xsl:with-param name="dingbat" select="'endquote'"/>
+        </xsl:call-template>
+      </xsl:when>
+    </xsl:choose>
+
+    <xsl:choose>
+      <xsl:when test="$pagetype != '' and $pagetype != 'nopage'">
+        <xsl:value-of select="$xref.title-page.separator"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:if>
+  
+  <!-- special case: use regular xref template if just turning off page -->
+  <xsl:if test="($pagetype = 'nopage' or $docnametype = 'nodocname')
+                  and local-name($referrer) != 'olink'
+                  and $labeltype = '' 
+                  and $titletype = ''">
+    <xsl:apply-templates select="." mode="object.xref.template">
+      <xsl:with-param name="purpose" select="$purpose"/>
+      <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+      <xsl:with-param name="referrer" select="$referrer"/>
+    </xsl:apply-templates>
+  </xsl:if>
+
+  <xsl:if test="$pagetype != ''">
+    <xsl:choose>
+      <xsl:when test="$pagetype = 'page'">
+        <xsl:call-template name="gentext.template">
+          <xsl:with-param name="context" select="'xref'"/>
+          <xsl:with-param name="name" select="'page'"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test="$pagetype = 'Page'">
+        <xsl:call-template name="gentext.template">
+          <xsl:with-param name="context" select="'xref'"/>
+          <xsl:with-param name="name" select="'Page'"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test="$pagetype = 'pageabbrev'">
+        <xsl:call-template name="gentext.template">
+          <xsl:with-param name="context" select="'xref'"/>
+          <xsl:with-param name="name" select="'pageabbrev'"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test="$pagetype = 'pagenumber'">
+        <xsl:text>%p</xsl:text>
+      </xsl:when>
+    </xsl:choose>
+
+  </xsl:if>
+
+  <!-- Add reference to other document title -->
+  <xsl:if test="$docnametype != '' and local-name($referrer) = 'olink'">
+    <!-- Any separator should be in the gentext template -->
+    <xsl:choose>
+      <xsl:when test="$docnametype = 'docnamelong'">
+        <xsl:call-template name="gentext.template">
+          <xsl:with-param name="context" select="'xref'"/>
+          <xsl:with-param name="name" select="'docnamelong'"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test="$docnametype = 'docname'">
+        <xsl:call-template name="gentext.template">
+          <xsl:with-param name="context" select="'xref'"/>
+          <xsl:with-param name="name" select="'docname'"/>
+        </xsl:call-template>
+      </xsl:when>
+    </xsl:choose>
+
+  </xsl:if>
+  
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/common/gu.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/gu.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/gu.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="gu" english-language-name="Gujarati">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/gu.xml -->
+<!-- * -->
+<!-- * E-mail the edited gu.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#2744;&#2750;&#2736;"/>
+   <l:gentext key="abstract" text="&#2744;&#2750;&#2736;"/>
+   <l:gentext key="Answer" text="&#2716;:"/>
+   <l:gentext key="answer" text="&#2716;:"/>
+   <l:gentext key="Appendix" text="&#2730;&#2736;&#2751;&#2742;&#2751;&#2743;&#2765;&#2719;"/>
+   <l:gentext key="appendix" text="&#2730;&#2736;&#2751;&#2742;&#2751;&#2743;&#2765;&#2719;"/>
+   <l:gentext key="Article" text="&#2738;&#2759;&#2710;"/>
+   <l:gentext key="article" text="&#2738;&#2759;&#2710;"/>
+   <l:gentext key="Author" text="Author"/>
+   <l:gentext key="Bibliography" text="&#2744;&#2690;&#2726;&#2736;&#2765;&#2733;&#2711;&#2765;&#2736;&#2690;&#2725;"/>
+   <l:gentext key="bibliography" text="&#2744;&#2690;&#2726;&#2736;&#2765;&#2733;&#2711;&#2765;&#2736;&#2690;&#2725;"/>
+   <l:gentext key="Book" text="&#2730;&#2753;&#2744;&#2765;&#2724;&#2709;"/>
+   <l:gentext key="book" text="&#2730;&#2753;&#2744;&#2765;&#2724;&#2709;"/>
+   <l:gentext key="CAUTION" text="&#2744;&#2750;&#2741;&#2727;&#2750;&#2728;"/>
+   <l:gentext key="Caution" text="&#2744;&#2750;&#2741;&#2727;&#2750;&#2728;"/>
+   <l:gentext key="caution" text="&#2744;&#2750;&#2741;&#2727;&#2750;&#2728;"/>
+   <l:gentext key="Chapter" text="&#2730;&#2765;&#2736;&#2709;&#2736;&#2723;"/>
+   <l:gentext key="chapter" text="&#2730;&#2765;&#2736;&#2709;&#2736;&#2723;"/>
+   <l:gentext key="Colophon" text="&#2711;&#2765;&#2736;&#2690;&#2725;&#2730;&#2736;&#2751;&#2714;&#2735;"/>
+   <l:gentext key="colophon" text="&#2711;&#2765;&#2736;&#2690;&#2725;&#2730;&#2736;&#2751;&#2714;&#2735;"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="&#2744;&#2734;&#2736;&#2765;&#2730;&#2723;"/>
+   <l:gentext key="dedication" text="&#2744;&#2734;&#2736;&#2765;&#2730;&#2723;"/>
+   <l:gentext key="Edition" text="&#2730;&#2765;&#2736;&#2709;&#2750;&#2742;&#2728;"/>
+   <l:gentext key="edition" text="&#2730;&#2765;&#2736;&#2709;&#2750;&#2742;&#2728;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#2744;&#2734;&#2752;&#2709;&#2736;&#2723;"/>
+   <l:gentext key="equation" text="&#2744;&#2734;&#2752;&#2709;&#2736;&#2723;"/>
+   <l:gentext key="Example" text="&#2697;&#2726;&#2750;&#2745;&#2736;&#2723;"/>
+   <l:gentext key="example" text="&#2697;&#2726;&#2750;&#2745;&#2736;&#2723;"/>
+   <l:gentext key="Figure" text="&#2694;&#2709;&#2755;&#2724;&#2751;"/>
+   <l:gentext key="figure" text="&#2694;&#2709;&#2755;&#2724;&#2751;"/>
+   <l:gentext key="Glossary" text="&#2742;&#2732;&#2765;&#2726;&#2750;&#2741;&#2738;&#2752;"/>
+   <l:gentext key="glossary" text="&#2742;&#2732;&#2765;&#2726;&#2750;&#2741;&#2738;&#2752;"/>
+   <l:gentext key="GlossSee" text="&#2716;&#2753;&#2707;"/>
+   <l:gentext key="glosssee" text="&#2716;&#2753;&#2707;"/>
+   <l:gentext key="GlossSeeAlso" text="&#2694;&#2730;&#2723;&#2716;&#2753;&#2707;"/>
+   <l:gentext key="glossseealso" text="&#2694;&#2730;&#2723;&#2716;&#2753;&#2707;"/>
+   <l:gentext key="IMPORTANT" text="&#2734;&#2745;&#2724;&#2765;&#2741;&#2728;&#2753;&#2690;"/>
+   <l:gentext key="important" text="&#2734;&#2745;&#2724;&#2765;&#2741;&#2728;&#2753;&#2690;"/>
+   <l:gentext key="Important" text="&#2734;&#2745;&#2724;&#2765;&#2741;&#2728;&#2753;&#2690;"/>
+   <l:gentext key="Index" text="&#2693;&#2728;&#2753;&#2709;&#2765;&#2736;&#2734;&#2723;&#2751;&#2709;&#2750;"/>
+   <l:gentext key="index" text="&#2693;&#2728;&#2753;&#2709;&#2765;&#2736;&#2734;&#2723;&#2751;&#2709;&#2750;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#2734;&#2750;&#2728;&#2765;&#2735;&#2744;&#2754;&#2714;&#2728;"/>
+   <l:gentext key="legalnotice" text="&#2734;&#2750;&#2728;&#2765;&#2735;&#2744;&#2754;&#2714;&#2728;"/>
+   <l:gentext key="MsgAud" text="&#2742;&#2765;&#2736;&#2763;&#2724;&#2750;"/>
+   <l:gentext key="msgaud" text="&#2742;&#2765;&#2736;&#2763;&#2724;&#2750;"/>
+   <l:gentext key="MsgLevel" text="&#2744;&#2765;&#2724;&#2736;"/>
+   <l:gentext key="msglevel" text="&#2744;&#2765;&#2724;&#2736;"/>
+   <l:gentext key="MsgOrig" text="&#2734;&#2754;&#2739;"/>
+   <l:gentext key="msgorig" text="&#2734;&#2754;&#2739;"/>
+   <l:gentext key="NOTE" text="&#2728;&#2763;&#2690;&#2727;"/>
+   <l:gentext key="Note" text="&#2728;&#2763;&#2690;&#2727;"/>
+   <l:gentext key="note" text="&#2728;&#2763;&#2690;&#2727;"/>
+   <l:gentext key="Part" text="&#2733;&#2750;&#2711;"/>
+   <l:gentext key="part" text="&#2733;&#2750;&#2711;"/>
+   <l:gentext key="Preface" text="&#2730;&#2765;&#2736;&#2744;&#2765;&#2724;&#2750;&#2741;&#2728;&#2750;"/>
+   <l:gentext key="preface" text="&#2730;&#2765;&#2736;&#2744;&#2765;&#2724;&#2750;&#2741;&#2728;&#2750;"/>
+   <l:gentext key="Procedure" text="&#2730;&#2765;&#2736;&#2709;&#2765;&#2736;&#2751;&#2735;&#2750;"/>
+   <l:gentext key="procedure" text="&#2730;&#2765;&#2736;&#2709;&#2765;&#2736;&#2751;&#2735;&#2750;"/>
+   <l:gentext key="ProductionSet" text="&#2697;&#2724;&#2765;&#2730;&#2750;&#2726;&#2728;"/>
+   <l:gentext key="PubDate" text="Publication Date"/>
+   <l:gentext key="pubdate" text="Publication date"/>
+   <l:gentext key="Published" text="&#2730;&#2765;&#2736;&#2709;&#2750;&#2742;&#2751;&#2724;"/>
+   <l:gentext key="published" text="&#2730;&#2765;&#2736;&#2709;&#2750;&#2742;&#2751;&#2724;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Q &amp; A"/>
+   <l:gentext key="qandadiv" text="Q &amp; A"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#2744;:"/>
+   <l:gentext key="question" text="&#2744;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#2744;&#2690;&#2726;&#2736;&#2765;&#2733;"/>
+   <l:gentext key="reference" text="&#2744;&#2690;&#2726;&#2736;&#2765;&#2733;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#2728;&#2750;&#2734;"/>
+   <l:gentext key="refname" text="&#2728;&#2750;&#2734;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#2744;&#2750;&#2736;&#2750;&#2690;&#2742;"/>
+   <l:gentext key="refsynopsisdiv" text="&#2744;&#2750;&#2736;&#2750;&#2690;&#2742;"/>
+   <l:gentext key="RevHistory" text="&#2730;&#2753;&#2728;&#2736;&#2750;&#2741;&#2736;&#2765;&#2724;&#2728;&#2696;&#2724;&#2751;&#2745;&#2750;&#2744;"/>
+   <l:gentext key="revhistory" text="&#2730;&#2753;&#2728;&#2736;&#2750;&#2741;&#2736;&#2765;&#2724;&#2728;&#2696;&#2724;&#2751;&#2745;&#2750;&#2744;"/>
+   <l:gentext key="revision" text="&#2730;&#2753;&#2728;&#2736;&#2750;&#2741;&#2736;&#2765;&#2724;&#2728;"/>
+   <l:gentext key="Revision" text="&#2730;&#2753;&#2728;&#2736;&#2750;&#2741;&#2736;&#2765;&#2724;&#2728;"/>
+   <l:gentext key="sect1" text="&#2741;&#2751;&#2733;&#2750;&#2711;"/>
+   <l:gentext key="sect2" text="&#2741;&#2751;&#2733;&#2750;&#2711;"/>
+   <l:gentext key="sect3" text="&#2741;&#2751;&#2733;&#2750;&#2711;"/>
+   <l:gentext key="sect4" text="&#2741;&#2751;&#2733;&#2750;&#2711;"/>
+   <l:gentext key="sect5" text="&#2741;&#2751;&#2733;&#2750;&#2711;"/>
+   <l:gentext key="section" text="&#2741;&#2751;&#2733;&#2750;&#2711;"/>
+   <l:gentext key="Section" text="&#2741;&#2751;&#2733;&#2750;&#2711;"/>
+   <l:gentext key="see" text="&#2716;&#2753;&#2707;"/>
+   <l:gentext key="See" text="&#2716;&#2753;&#2707;"/>
+   <l:gentext key="seealso" text="&#2730;&#2723;&#2716;&#2753;&#2707;"/>
+   <l:gentext key="Seealso" text="&#2694;&#2730;&#2723;&#2716;&#2753;&#2707;"/>
+   <l:gentext key="SeeAlso" text="&#2694;&#2730;&#2723;&#2716;&#2753;&#2707;"/>
+   <l:gentext key="set" text="&#2744;&#2753;&#2735;&#2763;&#2716;&#2751;&#2724;&#2709;&#2736;&#2763;"/>
+   <l:gentext key="Set" text="&#2744;&#2753;&#2735;&#2763;&#2716;&#2751;&#2724;&#2709;&#2736;&#2763;"/>
+   <l:gentext key="setindex" text="&#2693;&#2728;&#2753;&#2709;&#2765;&#2736;&#2734;&#2723;&#2751;&#2709;&#2750;&#2744;&#2753;&#2735;&#2763;&#2716;&#2751;&#2724;&#2709;&#2736;&#2763;"/>
+   <l:gentext key="SetIndex" text="&#2693;&#2728;&#2753;&#2709;&#2765;&#2736;&#2734;&#2723;&#2751;&#2709;&#2750;&#2744;&#2753;&#2735;&#2763;&#2716;&#2751;&#2724;&#2709;&#2736;&#2763;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="&#2732;&#2750;&#2716;&#2753;&#2741;&#2750;&#2739;&#2752;&#2730;&#2719;&#2765;&#2719;&#2752;"/>
+   <l:gentext key="step" text="&#2730;&#2711;&#2738;&#2753;&#2690;"/>
+   <l:gentext key="Step" text="&#2730;&#2711;&#2738;&#2753;&#2690;"/>
+   <l:gentext key="table" text="&#2709;&#2763;&#2743;&#2765;&#2719;&#2709;"/>
+   <l:gentext key="Table" text="&#2709;&#2763;&#2743;&#2765;&#2719;&#2709;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#2734;&#2726;&#2726;"/>
+   <l:gentext key="TIP" text="&#2734;&#2726;&#2726;"/>
+   <l:gentext key="Tip" text="&#2734;&#2726;&#2726;"/>
+   <l:gentext key="Warning" text="&#2714;&#2759;&#2724;&#2741;&#2723;&#2752;"/>
+   <l:gentext key="warning" text="&#2714;&#2759;&#2724;&#2741;&#2723;&#2752;"/>
+   <l:gentext key="WARNING" text="&#2714;&#2759;&#2724;&#2741;&#2723;&#2752;"/>
+   <l:gentext key="and" text="&#2693;&#2728;&#2759;"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="&#2731;&#2759;&#2736;&#2731;&#2750;&#2736;&#2725;&#2735;&#2759;&#2738;&#2715;&#2759;"/>
+   <l:gentext key="edited" text="&#2731;&#2759;&#2736;&#2731;&#2750;&#2736;&#2725;&#2735;&#2759;&#2738;&#2715;&#2759;"/>
+   <l:gentext key="Editedby" text="&#2726;&#2765;&#2741;&#2750;&#2736;&#2750;&#2731;&#2759;&#2736;&#2731;&#2750;&#2736;&#2725;&#2735;&#2759;&#2738;&#2715;&#2759;"/>
+   <l:gentext key="editedby" text="&#2726;&#2765;&#2741;&#2750;&#2736;&#2750;&#2731;&#2759;&#2736;&#2731;&#2750;&#2736;&#2725;&#2735;&#2759;&#2738;&#2715;&#2759;"/>
+   <l:gentext key="in" text="&#2693;&#2690;&#2726;&#2736;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#2732;&#2751;&#2728;-&#2741;&#2736;&#2765;&#2724;&#2734;&#2750;&#2728;&#2744;&#2733;&#2765;&#2735;"/>
+   <l:gentext key="notes" text="&#2728;&#2763;&#2690;&#2727;&#2763;"/>
+   <l:gentext key="Notes" text="&#2728;&#2763;&#2690;&#2727;&#2763;"/>
+   <l:gentext key="Pgs" text="&#2730;&#2750;&#2728;&#2750;&#2690;&#2707;"/>
+   <l:gentext key="pgs" text="&#2730;&#2750;&#2728;&#2750;&#2690;&#2707;"/>
+   <l:gentext key="Revisedby" text="&#2726;&#2765;&#2741;&#2750;&#2736;&#2750;&#2730;&#2753;&#2728;&#2736;&#2750;&#2741;&#2736;&#2765;&#2724;&#2728;&#2725;&#2735;&#2759;&#2738;:"/>
+   <l:gentext key="revisedby" text="&#2726;&#2765;&#2741;&#2750;&#2736;&#2750;&#2730;&#2753;&#2728;&#2736;&#2750;&#2741;&#2736;&#2765;&#2724;&#2728;&#2725;&#2735;&#2759;&#2738;:"/>
+   <l:gentext key="TableNotes" text="&#2728;&#2763;&#2690;&#2727;&#2763;"/>
+   <l:gentext key="tablenotes" text="&#2728;&#2763;&#2690;&#2727;&#2763;"/>
+   <l:gentext key="TableofContents" text="&#2741;&#2751;&#2743;&#2735;&#2744;&#2753;&#2714;&#2752;&#2709;&#2763;&#2743;&#2765;&#2719;&#2709;"/>
+   <l:gentext key="tableofcontents" text="&#2741;&#2751;&#2743;&#2735;&#2744;&#2753;&#2714;&#2752;&#2709;&#2763;&#2743;&#2765;&#2719;&#2709;"/>
+   <l:gentext key="unexpectedelementname" text="&#2693;&#2728;&#2751;&#2714;&#2765;&#2715;&#2728;&#2751;&#2735;&#2744;&#2733;&#2765;&#2735;&#2728;&#2750;&#2734;"/>
+   <l:gentext key="unsupported" text="&#2732;&#2751;&#2728;&#2694;&#2727;&#2750;&#2736;&#2733;&#2754;&#2724;"/>
+   <l:gentext key="xrefto" text="xrefto"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#2744;&#2734;&#2752;&#2709;&#2736;&#2723;&#2763;&#2728;&#2752;&#2735;&#2750;&#2726;&#2752;"/>
+   <l:gentext key="ListofEquations" text="&#2744;&#2734;&#2752;&#2709;&#2736;&#2723;&#2763;&#2728;&#2752;&#2735;&#2750;&#2726;&#2752;"/>
+   <l:gentext key="ListofExamples" text="&#2697;&#2726;&#2750;&#2745;&#2736;&#2723;&#2763;&#2728;&#2752;&#2735;&#2750;&#2726;&#2752;"/>
+   <l:gentext key="listofexamples" text="&#2697;&#2726;&#2750;&#2745;&#2736;&#2723;&#2763;&#2728;&#2752;&#2735;&#2750;&#2726;&#2752;"/>
+   <l:gentext key="ListofFigures" text="&#2694;&#2709;&#2755;&#2724;&#2751;&#2707;&#2728;&#2752;&#2735;&#2750;&#2726;&#2752;"/>
+   <l:gentext key="listoffigures" text="&#2694;&#2709;&#2755;&#2724;&#2751;&#2707;&#2728;&#2752;&#2735;&#2750;&#2726;&#2752;"/>
+   <l:gentext key="ListofProcedures" text="&#2730;&#2765;&#2736;&#2709;&#2765;&#2736;&#2751;&#2735;&#2750;&#2707;&#2728;&#2752;&#2735;&#2750;&#2726;&#2752;"/>
+   <l:gentext key="listofprocedures" text="&#2730;&#2765;&#2736;&#2709;&#2765;&#2736;&#2751;&#2735;&#2750;&#2707;&#2728;&#2752;&#2735;&#2750;&#2726;&#2752;"/>
+   <l:gentext key="listoftables" text="&#2709;&#2763;&#2743;&#2765;&#2719;&#2709;&#2763;&#2728;&#2752;&#2735;&#2750;&#2726;&#2752;"/>
+   <l:gentext key="ListofTables" text="&#2709;&#2763;&#2743;&#2765;&#2719;&#2709;&#2763;&#2728;&#2752;&#2735;&#2750;&#2726;&#2752;"/>
+   <l:gentext key="ListofUnknown" text="&#2693;&#2716;&#2750;&#2723;&#2763;&#2728;&#2752;&#2735;&#2750;&#2726;&#2752;"/>
+   <l:gentext key="listofunknown" text="&#2693;&#2716;&#2750;&#2723;&#2763;&#2728;&#2752;&#2735;&#2750;&#2726;&#2752;"/>
+   <l:gentext key="nav-home" text="&#2712;&#2736;"/>
+   <l:gentext key="nav-next" text="&#2694;&#2711;&#2739;&#2741;&#2727;&#2763;"/>
+   <l:gentext key="nav-next-sibling" text="&#2717;&#2721;&#2730;&#2752;&#2694;&#2711;&#2739;&#2727;&#2730;&#2750;&#2741;&#2763;"/>
+   <l:gentext key="nav-prev" text="&#2730;&#2745;&#2759;&#2738;&#2750;&#2728;&#2753;&#2690;"/>
+   <l:gentext key="nav-prev-sibling" text="&#2717;&#2721;&#2730;&#2752;&#2730;&#2750;&#2715;&#2739;&#2727;&#2730;&#2750;&#2741;&#2763;"/>
+   <l:gentext key="nav-up" text="&#2697;&#2730;&#2736;"/>
+   <l:gentext key="nav-toc" text="ToC"/>
+   <l:gentext key="Draft" text="&#2721;&#2765;&#2736;&#2750;&#2731;&#2765;&#2719;"/>
+   <l:gentext key="above" text="&#2697;&#2730;&#2736;"/>
+   <l:gentext key="below" text="&#2728;&#2752;&#2714;&#2759;"/>
+   <l:gentext key="sectioncalled" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711;"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="&#2709;&#2710;&#2711;&#2712;&#2714;&#2715;&#2716;&#2717;&#2719;&#2720;&#2721;&#2722;&#2728;&#2723;&#2735;&#2736;&#2738;&#2741;&#2744;&#2742;&#2743;&#2745;"/>
+   <l:gentext key="uppercase.alpha" text="&#2709;&#2710;&#2711;&#2712;&#2714;&#2715;&#2716;&#2717;&#2719;&#2720;&#2721;&#2722;&#2728;&#2723;&#2735;&#2736;&#2738;&#2741;&#2744;&#2742;&#2743;&#2745;"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#2730;&#2736;&#2751;&#2742;&#2751;&#2743;&#2765;&#2719;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#2730;&#2765;&#2736;&#2709;&#2736;&#2723;&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#2744;&#2734;&#2752;&#2709;&#2736;&#2723;&#160;%n.&#160;%t"/>
+      <l:template name="example" text="&#2697;&#2726;&#2750;&#2745;&#2736;&#2723;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="&#2694;&#2709;&#2755;&#2724;&#2751;&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#2733;&#2750;&#2711;&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#2730;&#2765;&#2736;&#2709;&#2765;&#2736;&#2751;&#2735;&#2750;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#2697;&#2724;&#2765;&#2730;&#2750;&#2726;&#2728;&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#2709;&#2763;&#2743;&#2765;&#2719;&#2709;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#2730;&#2736;&#2751;&#2742;&#2751;&#2743;&#2765;&#2719;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#2730;&#2765;&#2736;&#2709;&#2736;&#2723;&#160;%n.&#160;%t"/>
+      <l:template name="part" text="&#2733;&#2750;&#2711;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#2716;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#2744;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#2744;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o"/>
+      <l:template name="olink.page.citation" text=" (page %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)"/>
+      <l:template name="docname" text=" in %o"/>
+      <l:template name="docnamelong" text=" in the document titled %o"/>
+      <l:template name="pageabbrev" text="(p. %p)"/>
+      <l:template name="Page" text="Page %p"/>
+      <l:template name="bridgehead" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#2716;:&#160;%n"/>
+      <l:template name="appendix" text="&#2730;&#2736;&#2751;&#2742;&#2751;&#2743;&#2765;&#2719;&#160;%n"/>
+      <l:template name="bridgehead" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n"/>
+      <l:template name="chapter" text="&#2730;&#2765;&#2736;&#2709;&#2736;&#2723;&#160;%n"/>
+      <l:template name="equation" text="&#2744;&#2734;&#2752;&#2709;&#2736;&#2723;&#160;%n"/>
+      <l:template name="example" text="&#2697;&#2726;&#2750;&#2745;&#2736;&#2723;&#160;%n"/>
+      <l:template name="figure" text="&#2694;&#2709;&#2755;&#2724;&#2751;&#160;%n"/>
+      <l:template name="part" text="&#2733;&#2750;&#2711;&#160;%n"/>
+      <l:template name="procedure" text="&#2730;&#2765;&#2736;&#2709;&#2765;&#2736;&#2751;&#2735;&#2750;&#160;%n"/>
+      <l:template name="productionset" text="&#2697;&#2724;&#2765;&#2730;&#2750;&#2726;&#2728;&#160;%n"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+      <l:template name="qandaentry" text="&#2744;:&#160;%n"/>
+      <l:template name="question" text="&#2744;:&#160;%n"/>
+      <l:template name="sect1" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n"/>
+      <l:template name="sect2" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n"/>
+      <l:template name="sect3" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n"/>
+      <l:template name="sect4" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n"/>
+      <l:template name="sect5" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n"/>
+      <l:template name="section" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n"/>
+      <l:template name="table" text="&#2709;&#2763;&#2743;&#2765;&#2719;&#2709;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#2730;&#2736;&#2751;&#2742;&#2751;&#2743;&#2765;&#2719;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#2730;&#2765;&#2736;&#2709;&#2736;&#2723;&#160;%n, %t"/>
+      <l:template name="equation" text="&#2744;&#2734;&#2752;&#2709;&#2736;&#2723;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#2697;&#2726;&#2750;&#2745;&#2736;&#2723;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#2694;&#2709;&#2755;&#2724;&#2751;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#2733;&#2750;&#2711;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#2730;&#2765;&#2736;&#2709;&#2765;&#2736;&#2751;&#2735;&#2750;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="&#2697;&#2724;&#2765;&#2730;&#2750;&#2726;&#2728;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#2741;&#2751;&#2733;&#2750;&#2711;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#2732;&#2763;&#2738;&#2750;&#2741;&#2750;&#2735;&#2759;&#2738;&#2741;&#2751;&#2733;&#2750;&#2711; &#8220;%t&#8221;"/>
+      <l:template name="table" text="&#2709;&#2763;&#2743;&#2765;&#2719;&#2709;&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#2693;&#2728;&#2759; "/>
+      <l:template name="seplast" text=", &#2693;&#2728;&#2759; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#2716;&#2753;&#2707; %t"/>
+      <l:template name="seealso" text="&#2694;&#2730;&#2723;&#2716;&#2753;&#2707; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#2742;&#2765;&#2736;&#2763;&#2724;&#2750;: "/>
+      <l:template name="MsgLevel" text="&#2744;&#2765;&#2724;&#2736;: "/>
+      <l:template name="MsgOrig" text="&#2734;&#2754;&#2739;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January"/>
+      <l:template name="February" text="February"/>
+      <l:template name="March" text="March"/>
+      <l:template name="April" text="April"/>
+      <l:template name="May" text="May"/>
+      <l:template name="June" text="June"/>
+      <l:template name="July" text="July"/>
+      <l:template name="August" text="August"/>
+      <l:template name="September" text="September"/>
+      <l:template name="October" text="October"/>
+      <l:template name="November" text="November"/>
+      <l:template name="December" text="December"/>
+      <l:template name="Monday" text="Monday"/>
+      <l:template name="Tuesday" text="Tuesday"/>
+      <l:template name="Wednesday" text="Wednesday"/>
+      <l:template name="Thursday" text="Thursday"/>
+      <l:template name="Friday" text="Friday"/>
+      <l:template name="Saturday" text="Saturday"/>
+      <l:template name="Sunday" text="Sunday"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan"/>
+      <l:template name="Feb" text="Feb"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Apr"/>
+      <l:template name="May" text="May"/>
+      <l:template name="Jun" text="Jun"/>
+      <l:template name="Jul" text="Jul"/>
+      <l:template name="Aug" text="Aug"/>
+      <l:template name="Sep" text="Sep"/>
+      <l:template name="Oct" text="Oct"/>
+      <l:template name="Nov" text="Nov"/>
+      <l:template name="Dec" text="Dec"/>
+      <l:template name="Mon" text="Mon"/>
+      <l:template name="Tue" text="Tue"/>
+      <l:template name="Wed" text="Wed"/>
+      <l:template name="Thu" text="Thu"/>
+      <l:template name="Fri" text="Fri"/>
+      <l:template name="Sat" text="Sat"/>
+      <l:template name="Sun" text="Sun"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0447 Gujarati"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/he.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/he.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/he.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="he" english-language-name="Hebrew">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/he.xml -->
+<!-- * -->
+<!-- * E-mail the edited he.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#1505;&#1497;&#1499;&#1493;&#1501;"/>
+   <l:gentext key="abstract" text="&#1505;&#1497;&#1499;&#1493;&#1501;"/>
+   <l:gentext key="Answer" text="&#1514;:"/>
+   <l:gentext key="answer" text="&#1514;:"/>
+   <l:gentext key="Appendix" text="&#1504;&#1505;&#1508;&#1495;"/>
+   <l:gentext key="appendix" text="&#1504;&#1505;&#1508;&#1495;"/>
+   <l:gentext key="Article" text="&#1502;&#1488;&#1502;&#1512;"/>
+   <l:gentext key="article" text="&#1502;&#1488;&#1502;&#1512;"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="&#1489;&#1497;&#1489;&#1500;&#1497;&#1493;&#1490;&#1512;&#1508;&#1497;&#1492;"/>
+   <l:gentext key="bibliography" text="&#1489;&#1497;&#1489;&#1500;&#1497;&#1493;&#1490;&#1512;&#1508;&#1497;&#1492;"/>
+   <l:gentext key="Book" text="&#1505;&#1508;&#1512;"/>
+   <l:gentext key="book" text="&#1505;&#1508;&#1512;"/>
+   <l:gentext key="CAUTION" text="&#1488;&#1494;&#1492;&#1512;&#1492;"/>
+   <l:gentext key="Caution" text="&#1488;&#1494;&#1492;&#1512;&#1492;"/>
+   <l:gentext key="caution" text="&#1488;&#1494;&#1492;&#1512;&#1492;"/>
+   <l:gentext key="Chapter" text="&#1508;&#1512;&#1511;"/>
+   <l:gentext key="chapter" text="&#1508;&#1512;&#1511;"/>
+   <l:gentext key="Colophon" text="&#1511;&#1493;&#1500;&#1493;&#1508;&#1493;&#1503;"/>
+   <l:gentext key="colophon" text="&#1511;&#1493;&#1500;&#1493;&#1508;&#1493;&#1503;"/>
+   <l:gentext key="Copyright" text="&#1494;&#1499;&#1493;&#1497;&#1493;&#1514; &#1497;&#1493;&#1510;&#1512;&#1497;&#1501;"/>
+   <l:gentext key="copyright" text="&#1494;&#1499;&#1493;&#1497;&#1493;&#1514; &#1497;&#1493;&#1510;&#1512;&#1497;&#1501;"/>
+   <l:gentext key="Dedication" text="&#1492;&#1511;&#1491;&#1513;&#1492;"/>
+   <l:gentext key="dedication" text="&#1492;&#1511;&#1491;&#1513;&#1492;"/>
+   <l:gentext key="Edition" text="&#1502;&#1492;&#1491;&#1493;&#1512;&#1492;"/>
+   <l:gentext key="edition" text="&#1502;&#1492;&#1491;&#1493;&#1512;&#1492;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#1502;&#1513;&#1493;&#1493;&#1488;&#1492;"/>
+   <l:gentext key="equation" text="&#1502;&#1513;&#1493;&#1493;&#1488;&#1492;"/>
+   <l:gentext key="Example" text="&#1491;&#1493;&#1490;&#1502;&#1492;"/>
+   <l:gentext key="example" text="&#1491;&#1493;&#1490;&#1502;&#1492;"/>
+   <l:gentext key="Figure" text="&#1488;&#1497;&#1493;&#1512;"/>
+   <l:gentext key="figure" text="&#1488;&#1497;&#1493;&#1512;"/>
+   <l:gentext key="Glossary" text="&#1502;&#1497;&#1500;&#1493;&#1503; &#1502;&#1493;&#1504;&#1495;&#1497;&#1501;"/>
+   <l:gentext key="glossary" text="&#1502;&#1497;&#1500;&#1493;&#1503; &#1502;&#1493;&#1504;&#1495;&#1497;&#1501;"/>
+   <l:gentext key="GlossSee" text="&#1512;&#1488;&#1492;"/>
+   <l:gentext key="glosssee" text="&#1512;&#1488;&#1492;"/>
+   <l:gentext key="GlossSeeAlso" text="&#1512;&#1488;&#1492; &#1490;&#1501;"/>
+   <l:gentext key="glossseealso" text="&#1512;&#1488;&#1492; &#1490;&#1501;"/>
+   <l:gentext key="IMPORTANT" text="&#1495;&#1513;&#1493;&#1489;"/>
+   <l:gentext key="important" text="&#1495;&#1513;&#1493;&#1489;"/>
+   <l:gentext key="Important" text="&#1495;&#1513;&#1493;&#1489;"/>
+   <l:gentext key="Index" text="&#1488;&#1497;&#1504;&#1491;&#1511;&#1505;"/>
+   <l:gentext key="index" text="&#1488;&#1497;&#1504;&#1491;&#1511;&#1505;"/>
+   <l:gentext key="ISBN" text="&#1502;&#1505;&#1508;&#1512; &#1505;&#1508;&#1512; &#1505;&#1496;&#1504;&#1491;&#1512;&#1496;&#1497; &#1489;&#1497;&#1504;&#1500;&#1488;&#1493;&#1502;&#1497;"/>
+   <l:gentext key="isbn" text="&#1502;&#1505;&#1508;&#1512; &#1505;&#1508;&#1512; &#1505;&#1496;&#1504;&#1491;&#1512;&#1496;&#1497; &#1489;&#1497;&#1504;&#1500;&#1488;&#1493;&#1502;&#1497;"/>
+   <l:gentext key="LegalNotice" text="&#1492;&#1493;&#1491;&#1506;&#1492; &#1502;&#1513;&#1508;&#1496;&#1497;&#1514;"/>
+   <l:gentext key="legalnotice" text="&#1492;&#1493;&#1491;&#1506;&#1492; &#1502;&#1513;&#1508;&#1496;&#1497;&#1514;"/>
+   <l:gentext key="MsgAud" text="&#1511;&#1492;&#1500; &#1497;&#1506;&#1491;"/>
+   <l:gentext key="msgaud" text="&#1511;&#1492;&#1500; &#1497;&#1506;&#1491;"/>
+   <l:gentext key="MsgLevel" text="&#1512;&#1502;&#1492;"/>
+   <l:gentext key="msglevel" text="&#1512;&#1502;&#1492;"/>
+   <l:gentext key="MsgOrig" text="&#1502;&#1511;&#1493;&#1512;"/>
+   <l:gentext key="msgorig" text="&#1502;&#1511;&#1493;&#1512;"/>
+   <l:gentext key="NOTE" text="&#1513;&#1497;&#1501; &#1500;&#1489;"/>
+   <l:gentext key="Note" text="&#1513;&#1497;&#1501; &#1500;&#1489;"/>
+   <l:gentext key="note" text="&#1513;&#1497;&#1501; &#1500;&#1489;"/>
+   <l:gentext key="Part" text="&#1495;&#1500;&#1511;"/>
+   <l:gentext key="part" text="&#1495;&#1500;&#1511;"/>
+   <l:gentext key="Preface" text="&#1502;&#1489;&#1493;&#1488;"/>
+   <l:gentext key="preface" text="&#1502;&#1489;&#1493;&#1488;"/>
+   <l:gentext key="Procedure" text="&#1492;&#1500;&#1497;&#1498;"/>
+   <l:gentext key="procedure" text="&#1492;&#1500;&#1497;&#1498;"/>
+   <l:gentext key="ProductionSet" text="&#1497;&#1497;&#1510;&#1493;&#1512;"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="&#1492;&#1493;&#1510;&#1488; &#1500;&#1488;&#1493;&#1512;"/>
+   <l:gentext key="published" text="&#1492;&#1493;&#1510;&#1488; &#1500;&#1488;&#1493;&#1512;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#1514; &#1493; &#1513;"/>
+   <l:gentext key="qandadiv" text="&#1514; &#1493; &#1513;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#1513;:"/>
+   <l:gentext key="question" text="&#1513;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#1502;&#1512;&#1488;&#1492; &#1502;&#1511;&#1493;&#1501;"/>
+   <l:gentext key="reference" text="&#1502;&#1512;&#1488;&#1492; &#1502;&#1511;&#1493;&#1501;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#1513;&#1501;"/>
+   <l:gentext key="refname" text="&#1513;&#1501;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#1514;&#1502;&#1510;&#1497;&#1514;"/>
+   <l:gentext key="refsynopsisdiv" text="&#1514;&#1502;&#1510;&#1497;&#1514;"/>
+   <l:gentext key="RevHistory" text="&#1492;&#1497;&#1505;&#1496;&#1493;&#1512;&#1497;&#1497;&#1514; &#1490;&#1497;&#1512;&#1505;&#1488;&#1493;&#1514;"/>
+   <l:gentext key="revhistory" text="&#1492;&#1497;&#1505;&#1496;&#1493;&#1512;&#1497;&#1497;&#1514; &#1490;&#1497;&#1512;&#1505;&#1488;&#1493;&#1514;"/>
+   <l:gentext key="revision" text="&#1490;&#1497;&#1512;&#1505;&#1492;"/>
+   <l:gentext key="Revision" text="&#1490;&#1497;&#1512;&#1505;&#1492;"/>
+   <l:gentext key="sect1" text="&#1505;&#1506;&#1497;&#1507;"/>
+   <l:gentext key="sect2" text="&#1505;&#1506;&#1497;&#1507;"/>
+   <l:gentext key="sect3" text="&#1505;&#1506;&#1497;&#1507;"/>
+   <l:gentext key="sect4" text="&#1505;&#1506;&#1497;&#1507;"/>
+   <l:gentext key="sect5" text="&#1505;&#1506;&#1497;&#1507;"/>
+   <l:gentext key="section" text="&#1505;&#1506;&#1497;&#1507;"/>
+   <l:gentext key="Section" text="&#1505;&#1506;&#1497;&#1507;"/>
+   <l:gentext key="see" text="&#1512;&#1488;&#1492;"/>
+   <l:gentext key="See" text="&#1512;&#1488;&#1492;"/>
+   <l:gentext key="seealso" text="&#1512;&#1488;&#1492; &#1490;&#1501;"/>
+   <l:gentext key="Seealso" text="&#1512;&#1488;&#1492; &#1490;&#1501;"/>
+   <l:gentext key="SeeAlso" text="&#1512;&#1488;&#1492; &#1490;&#1501;"/>
+   <l:gentext key="set" text="&#1505;&#1497;&#1491;&#1512;&#1492;"/>
+   <l:gentext key="Set" text="&#1505;&#1497;&#1491;&#1512;&#1492;"/>
+   <l:gentext key="setindex" text="&#1488;&#1497;&#1504;&#1511;&#1491;&#1511;&#1505; &#1505;&#1491;&#1512;&#1493;&#1514;"/>
+   <l:gentext key="SetIndex" text="&#1488;&#1497;&#1504;&#1491;&#1511;&#1505; &#1505;&#1491;&#1512;&#1493;&#1514;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="&#1508;&#1505; &#1510;&#1491;&#1491;&#1497;"/>
+   <l:gentext key="step" text="&#1510;&#1506;&#1491;"/>
+   <l:gentext key="Step" text="&#1510;&#1506;&#1491;"/>
+   <l:gentext key="table" text="&#1496;&#1489;&#1500;&#1492;"/>
+   <l:gentext key="Table" text="&#1496;&#1489;&#1500;&#1492;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#1506;&#1510;&#1492;"/>
+   <l:gentext key="TIP" text="&#1506;&#1510;&#1492;"/>
+   <l:gentext key="Tip" text="&#1506;&#1510;&#1492;"/>
+   <l:gentext key="Warning" text="&#1488;&#1494;&#1492;&#1512;&#1492;"/>
+   <l:gentext key="warning" text="&#1488;&#1494;&#1492;&#1512;&#1492;"/>
+   <l:gentext key="WARNING" text="&#1488;&#1494;&#1492;&#1512;&#1492;"/>
+   <l:gentext key="and" text="&#1493;"/>
+   <l:gentext key="by" text="&#1502;&#1488;&#1514;"/>
+   <l:gentext key="Edited" text="&#1504;&#1506;&#1512;&#1498;"/>
+   <l:gentext key="edited" text="&#1504;&#1506;&#1512;&#1498;"/>
+   <l:gentext key="Editedby" text="&#1504;&#1506;&#1512;&#1498; &#1506;&#1500; &#1497;&#1491;&#1497;"/>
+   <l:gentext key="editedby" text="&#1504;&#1506;&#1512;&#1498; &#1506;&#1500; &#1497;&#1491;&#1497;"/>
+   <l:gentext key="in" text="&#1489;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#1502;&#1512;&#1499;&#1497;&#1489; &#1513;&#1488;&#1497;&#1504;&#1493; &#1511;&#1497;&#1497;&#1501;"/>
+   <l:gentext key="notes" text="&#1492;&#1506;&#1512;&#1493;&#1514;"/>
+   <l:gentext key="Notes" text="&#1492;&#1506;&#1512;&#1493;&#1514;"/>
+   <l:gentext key="Pgs" text="&#1506;&#1502;&#1493;&#1491;&#1497;&#1501;"/>
+   <l:gentext key="pgs" text="&#1506;&#1502;&#1493;&#1491;&#1497;&#1501;"/>
+   <l:gentext key="Revisedby" text="&#1492;&#1493;&#1490;&#1492; &#1506;&#1500; &#1497;&#1491;&#1497;: "/>
+   <l:gentext key="revisedby" text="&#1492;&#1493;&#1490;&#1492; &#1506;&#1500; &#1497;&#1491;&#1497;: "/>
+   <l:gentext key="TableNotes" text="&#1492;&#1506;&#1512;&#1493;&#1514;"/>
+   <l:gentext key="tablenotes" text="&#1492;&#1506;&#1512;&#1493;&#1514;"/>
+   <l:gentext key="TableofContents" text="&#1514;&#1493;&#1499;&#1503; &#1492;&#1506;&#1504;&#1497;&#1497;&#1504;&#1497;&#1501;"/>
+   <l:gentext key="tableofcontents" text="&#1514;&#1493;&#1499;&#1503; &#1492;&#1506;&#1504;&#1497;&#1497;&#1504;&#1497;&#1501;"/>
+   <l:gentext key="unexpectedelementname" text="&#1513;&#1501; &#1502;&#1512;&#1499;&#1497;&#1489; &#1489;&#1500;&#1514;&#1497; &#1510;&#1508;&#1493;&#1497;"/>
+   <l:gentext key="unsupported" text="&#1500;&#1488; &#1504;&#1514;&#1502;&#1498;"/>
+   <l:gentext key="xrefto" text="&#1492;&#1514;&#1497;&#1497;&#1495;&#1505;&#1493;&#1514; &#1510;&#1493;&#1500;&#1489;&#1514; &#1488;&#1500;"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1502;&#1513;&#1493;&#1493;&#1488;&#1493;&#1514;"/>
+   <l:gentext key="ListofEquations" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1502;&#1513;&#1493;&#1493;&#1488;&#1493;&#1514;"/>
+   <l:gentext key="ListofExamples" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1491;&#1493;&#1490;&#1502;&#1488;&#1493;&#1514;"/>
+   <l:gentext key="listofexamples" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1491;&#1493;&#1490;&#1502;&#1488;&#1493;&#1514;"/>
+   <l:gentext key="ListofFigures" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1488;&#1497;&#1493;&#1512;&#1497;&#1501;"/>
+   <l:gentext key="listoffigures" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1488;&#1497;&#1493;&#1512;&#1497;&#1501;"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1496;&#1489;&#1500;&#1488;&#1493;&#1514;"/>
+   <l:gentext key="ListofTables" text="&#1512;&#1513;&#1497;&#1502;&#1514; &#1496;&#1489;&#1500;&#1488;&#1493;&#1514;"/>
+   <l:gentext key="ListofUnknown" text="&#1512;&#1513;&#1497;&#1502;&#1492; &#1513;&#1500; &#1502;&#1512;&#1499;&#1497;&#1489;&#1497;&#1501; &#1500;&#1488; &#1497;&#1491;&#1493;&#1506;&#1497;&#1501;"/>
+   <l:gentext key="listofunknown" text="&#1512;&#1513;&#1497;&#1502;&#1492; &#1513;&#1500; &#1502;&#1512;&#1499;&#1497;&#1489;&#1497;&#1501; &#1500;&#1488; &#1497;&#1491;&#1493;&#1506;&#1497;&#1501;"/>
+   <l:gentext key="nav-home" text="&#1512;&#1488;&#1513;&#1497;"/>
+   <l:gentext key="nav-next" text="&#1492;&#1489;&#1488;"/>
+   <l:gentext key="nav-next-sibling" text="&#1491;&#1500;&#1490; &#1500;&#1505;&#1493;&#1507;"/>
+   <l:gentext key="nav-prev" text="&#1492;&#1511;&#1493;&#1491;&#1501;"/>
+   <l:gentext key="nav-prev-sibling" text="&#1495;&#1494;&#1493;&#1512; &#1500;&#1492;&#1514;&#1495;&#1500;&#1492;"/>
+   <l:gentext key="nav-up" text="&#1500;&#1502;&#1506;&#1500;&#1492;"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="&#1496;&#1497;&#1493;&#1496;&#1492;"/>
+   <l:gentext key="above" text="&#1500;&#1502;&#1506;&#1500;&#1492;"/>
+   <l:gentext key="below" text="&#1500;&#1502;&#1496;&#1492;"/>
+   <l:gentext key="sectioncalled" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488;"/>
+   <l:gentext key="index symbols" text="&#1505;&#1502;&#1500;&#1497;&#1501;"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#1504;&#1505;&#1508;&#1495; %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#1508;&#1512;&#1511; %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#1502;&#1513;&#1493;&#1493;&#1488;&#1492; %n. %t"/>
+      <l:template name="example" text="&#1491;&#1493;&#1490;&#1502;&#1492; %n. %t"/>
+      <l:template name="figure" text="&#1488;&#1497;&#1493;&#1512; %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#1495;&#1500;&#1511; %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#1492;&#1500;&#1497;&#1498; %n. %t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#1497;&#1497;&#1510;&#1493;&#1512; %n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#1496;&#1489;&#1500;&#1492; %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#1504;&#1505;&#1508;&#1495; %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n. %t"/>
+      <l:template name="chapter" text="&#1508;&#1512;&#1511; %n. %t"/>
+      <l:template name="part" text="&#1495;&#1500;&#1511;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#1514;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#1513;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#1513;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#1514;:&#160;%n"/>
+      <l:template name="appendix" text="&#1504;&#1505;&#1508;&#1495;&#160;%n"/>
+      <l:template name="bridgehead" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+      <l:template name="chapter" text="&#1508;&#1512;&#1511;&#160;%n"/>
+      <l:template name="equation" text="&#1502;&#1513;&#1493;&#1493;&#1488;&#1492;&#160;%n"/>
+      <l:template name="example" text="&#1491;&#1493;&#1490;&#1502;&#1492;&#160;%n"/>
+      <l:template name="figure" text="&#1488;&#1497;&#1493;&#1512;&#160;%n"/>
+      <l:template name="part" text="&#1495;&#1500;&#1511;&#160;%n"/>
+      <l:template name="procedure" text="&#1492;&#1500;&#1497;&#1498;&#160;%n"/>
+      <l:template name="productionset" text="&#1497;&#1497;&#1510;&#1493;&#1512;&#160;%n"/>
+      <l:template name="qandadiv" text="&#1514; &#1493; &#1513;&#160;%n"/>
+      <l:template name="qandaentry" text="&#1513;:&#160;%n"/>
+      <l:template name="question" text="&#1513;:&#160;%n"/>
+      <l:template name="sect1" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+      <l:template name="sect2" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+      <l:template name="sect3" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+      <l:template name="sect4" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+      <l:template name="sect5" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+      <l:template name="section" text="&#1505;&#1506;&#1497;&#1507;&#160;%n"/>
+      <l:template name="table" text="&#1496;&#1489;&#1500;&#1492;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#1504;&#1505;&#1508;&#1495;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#1508;&#1512;&#1511;&#160;%n, %t"/>
+      <l:template name="equation" text="&#1502;&#1513;&#1493;&#1493;&#1488;&#1492;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#1491;&#1493;&#1490;&#1502;&#1492;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#1488;&#1497;&#1493;&#1512;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#1495;&#1500;&#1511;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#1492;&#1500;&#1497;&#1498;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="&#1497;&#1497;&#1510;&#1493;&#1512;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="&#1514; &#1493; &#1513;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#1505;&#1506;&#1497;&#1507;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#1492;&#1505;&#1506;&#1497;&#1507; &#1513;&#1504;&#1511;&#1512;&#1488; &#8220;%t&#8221;"/>
+      <l:template name="table" text="&#1496;&#1489;&#1500;&#1492;&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#1493; "/>
+      <l:template name="seplast" text=", &#1493; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#1512;&#1488;&#1492; %t"/>
+      <l:template name="seealso" text="&#1512;&#1488;&#1492; &#1490;&#1501; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#1511;&#1492;&#1500; &#1497;&#1506;&#1491;: "/>
+      <l:template name="MsgLevel" text="&#1512;&#1502;&#1492;: "/>
+      <l:template name="MsgOrig" text="&#1502;&#1511;&#1493;&#1512;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x040d Hebrew (ISRAEL)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/hi.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/hi.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/hi.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="hi" english-language-name="Hindi">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/hi.xml -->
+<!-- * -->
+<!-- * E-mail the edited hi.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#2360;&#2366;&#2352;"/>
+   <l:gentext key="abstract" text="&#2360;&#2366;&#2352;"/>
+   <l:gentext key="Answer" text="&#2313;:"/>
+   <l:gentext key="answer" text="&#2313;:"/>
+   <l:gentext key="Appendix" text="&#2346;&#2352;&#2367;&#2358;&#2367;&#2359;&#2381;&#2335;"/>
+   <l:gentext key="appendix" text="&#2346;&#2352;&#2367;&#2358;&#2367;&#2359;&#2381;&#2335;"/>
+   <l:gentext key="Article" text="&#2310;&#2354;&#2375;&#2326;"/>
+   <l:gentext key="article" text="&#2310;&#2354;&#2375;&#2326;"/>
+   <l:gentext key="Author" text="Author"/>
+   <l:gentext key="Bibliography" text="&#2360;&#2306;&#2342;&#2352;&#2381;&#2349;-&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="bibliography" text="&#2360;&#2306;&#2342;&#2352;&#2381;&#2349;-&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="Book" text="&#2346;&#2369;&#2360;&#2381;&#2340;&#2325;"/>
+   <l:gentext key="book" text="&#2346;&#2369;&#2360;&#2381;&#2340;&#2325;"/>
+   <l:gentext key="CAUTION" text="&#2360;&#2366;&#2357;&#2343;&#2366;&#2344;&#2368;"/>
+   <l:gentext key="Caution" text="&#2360;&#2366;&#2357;&#2343;&#2366;&#2344;&#2368;"/>
+   <l:gentext key="caution" text="&#2360;&#2366;&#2357;&#2343;&#2366;&#2344;&#2368;"/>
+   <l:gentext key="Chapter" text="&#2309;&#2343;&#2381;&#2351;&#2366;&#2351;"/>
+   <l:gentext key="chapter" text="&#2309;&#2343;&#2381;&#2351;&#2366;&#2351;"/>
+   <l:gentext key="Colophon" text="&#2346;&#2369;&#2360;&#2381;&#2340;&#2325;&#2346;&#2352;&#2367;&#2330;&#2351;"/>
+   <l:gentext key="colophon" text="&#2346;&#2369;&#2360;&#2381;&#2340;&#2325;&#2346;&#2352;&#2367;&#2330;&#2351;"/>
+   <l:gentext key="Copyright" text="&#2325;&#2377;&#2346;&#2368;&#2352;&#2366;&#2311;&#2335;"/>
+   <l:gentext key="copyright" text="&#2325;&#2377;&#2346;&#2368;&#2352;&#2366;&#2311;&#2335;"/>
+   <l:gentext key="Dedication" text="&#2360;&#2350;&#2352;&#2381;&#2346;&#2339;"/>
+   <l:gentext key="dedication" text="&#2360;&#2350;&#2352;&#2381;&#2346;&#2339;"/>
+   <l:gentext key="Edition" text="&#2360;&#2306;&#2360;&#2381;&#2325;&#2352;&#2339;"/>
+   <l:gentext key="edition" text="&#2360;&#2306;&#2360;&#2381;&#2325;&#2352;&#2339;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#2360;&#2350;&#2368;&#2325;&#2352;&#2339;"/>
+   <l:gentext key="equation" text="&#2360;&#2350;&#2368;&#2325;&#2352;&#2339;"/>
+   <l:gentext key="Example" text="&#2313;&#2342;&#2366;&#2361;&#2352;&#2339;"/>
+   <l:gentext key="example" text="&#2313;&#2342;&#2366;&#2361;&#2352;&#2339;"/>
+   <l:gentext key="Figure" text="&#2330;&#2367;&#2340;&#2381;&#2352;"/>
+   <l:gentext key="figure" text="&#2330;&#2367;&#2340;&#2381;&#2352;"/>
+   <l:gentext key="Glossary" text="&#2358;&#2348;&#2381;&#2342;&#2325;&#2379;&#2359;"/>
+   <l:gentext key="glossary" text="&#2358;&#2348;&#2381;&#2342;&#2325;&#2379;&#2359;"/>
+   <l:gentext key="GlossSee" text="&#2342;&#2375;&#2326;&#2375;&#2306;"/>
+   <l:gentext key="glosssee" text="&#2342;&#2375;&#2326;&#2375;&#2306;"/>
+   <l:gentext key="GlossSeeAlso" text="&#2311;&#2360;&#2375;&#2349;&#2368;&#2342;&#2375;&#2326;&#2375;&#2306;"/>
+   <l:gentext key="glossseealso" text="&#2311;&#2360;&#2375;&#2349;&#2368;&#2342;&#2375;&#2326;&#2375;&#2306;"/>
+   <l:gentext key="IMPORTANT" text="&#2350;&#2361;&#2340;&#2381;&#2357;&#2346;&#2370;&#2352;&#2381;&#2339;"/>
+   <l:gentext key="important" text="&#2350;&#2361;&#2340;&#2381;&#2357;&#2346;&#2370;&#2352;&#2381;&#2339;"/>
+   <l:gentext key="Important" text="&#2350;&#2361;&#2340;&#2381;&#2357;&#2346;&#2370;&#2352;&#2381;&#2339;"/>
+   <l:gentext key="Index" text="&#2357;&#2367;&#2359;&#2351;-&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="index" text="&#2357;&#2367;&#2359;&#2351;-&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#2357;&#2376;&#2343;&#2366;&#2344;&#2367;&#2325;&#2360;&#2370;&#2330;&#2344;&#2366;"/>
+   <l:gentext key="legalnotice" text="&#2357;&#2376;&#2343;&#2366;&#2344;&#2367;&#2325;&#2360;&#2370;&#2330;&#2344;&#2366;"/>
+   <l:gentext key="MsgAud" text="&#2358;&#2381;&#2352;&#2379;&#2340;&#2366;"/>
+   <l:gentext key="msgaud" text="&#2358;&#2381;&#2352;&#2379;&#2340;&#2366;"/>
+   <l:gentext key="MsgLevel" text="&#2360;&#2381;&#2340;&#2352;"/>
+   <l:gentext key="msglevel" text="&#2360;&#2381;&#2340;&#2352;"/>
+   <l:gentext key="MsgOrig" text="&#2350;&#2370;&#2354;"/>
+   <l:gentext key="msgorig" text="&#2350;&#2370;&#2354;"/>
+   <l:gentext key="NOTE" text="&#2344;&#2379;&#2335;"/>
+   <l:gentext key="Note" text="&#2344;&#2379;&#2335;"/>
+   <l:gentext key="note" text="&#2344;&#2379;&#2335;"/>
+   <l:gentext key="Part" text="&#2361;&#2367;&#2360;&#2381;&#2360;&#2366;"/>
+   <l:gentext key="part" text="&#2361;&#2367;&#2360;&#2381;&#2360;&#2366;"/>
+   <l:gentext key="Preface" text="&#2346;&#2381;&#2352;&#2360;&#2381;&#2340;&#2366;&#2357;&#2344;&#2366;"/>
+   <l:gentext key="preface" text="&#2346;&#2381;&#2352;&#2360;&#2381;&#2340;&#2366;&#2357;&#2344;&#2366;"/>
+   <l:gentext key="Procedure" text="&#2346;&#2381;&#2352;&#2325;&#2381;&#2352;&#2367;&#2351;&#2366;"/>
+   <l:gentext key="procedure" text="&#2346;&#2381;&#2352;&#2325;&#2381;&#2352;&#2367;&#2351;&#2366;"/>
+   <l:gentext key="ProductionSet" text="&#2313;&#2340;&#2381;&#2346;&#2366;&#2342;&#2344;"/>
+   <l:gentext key="PubDate" text="Publication Date"/>
+   <l:gentext key="pubdate" text="Publication date"/>
+   <l:gentext key="Published" text="&#2346;&#2381;&#2352;&#2325;&#2366;&#2358;&#2367;&#2340;"/>
+   <l:gentext key="published" text="&#2346;&#2381;&#2352;&#2325;&#2366;&#2358;&#2367;&#2340;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Q &amp; A"/>
+   <l:gentext key="qandadiv" text="Q &amp; A"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#2346;&#2381;&#2352;:"/>
+   <l:gentext key="question" text="&#2346;&#2381;&#2352;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#2360;&#2306;&#2342;&#2352;&#2381;&#2349;"/>
+   <l:gentext key="reference" text="&#2360;&#2306;&#2342;&#2352;&#2381;&#2349;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#2344;&#2366;&#2350;"/>
+   <l:gentext key="refname" text="&#2344;&#2366;&#2350;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#2360;&#2366;&#2352;&#2366;&#2306;&#2358;"/>
+   <l:gentext key="refsynopsisdiv" text="&#2360;&#2366;&#2352;&#2366;&#2306;&#2358;"/>
+   <l:gentext key="RevHistory" text="&#2346;&#2369;&#2344;&#2352;&#2368;&#2325;&#2381;&#2359;&#2339;&#2311;&#2340;&#2367;&#2361;&#2366;&#2360;"/>
+   <l:gentext key="revhistory" text="&#2346;&#2369;&#2344;&#2352;&#2368;&#2325;&#2381;&#2359;&#2339;&#2311;&#2340;&#2367;&#2361;&#2366;&#2360;"/>
+   <l:gentext key="revision" text="&#2346;&#2369;&#2344;&#2352;&#2368;&#2325;&#2381;&#2359;&#2339;"/>
+   <l:gentext key="Revision" text="&#2346;&#2369;&#2344;&#2352;&#2368;&#2325;&#2381;&#2359;&#2339;"/>
+   <l:gentext key="sect1" text="&#2326;&#2306;&#2337;"/>
+   <l:gentext key="sect2" text="&#2326;&#2306;&#2337;"/>
+   <l:gentext key="sect3" text="&#2326;&#2306;&#2337;"/>
+   <l:gentext key="sect4" text="&#2326;&#2306;&#2337;"/>
+   <l:gentext key="sect5" text="&#2326;&#2306;&#2337;"/>
+   <l:gentext key="section" text="&#2326;&#2306;&#2337;"/>
+   <l:gentext key="Section" text="&#2326;&#2306;&#2337;"/>
+   <l:gentext key="see" text="&#2342;&#2375;&#2326;&#2375;&#2306;"/>
+   <l:gentext key="See" text="&#2342;&#2375;&#2326;&#2375;&#2306;"/>
+   <l:gentext key="seealso" text="&#2311;&#2360;&#2375;&#2349;&#2368;&#2342;&#2375;&#2326;&#2375;&#2306;"/>
+   <l:gentext key="Seealso" text="&#2311;&#2360;&#2375;&#2349;&#2368;&#2342;&#2375;&#2326;&#2375;&#2306;"/>
+   <l:gentext key="SeeAlso" text="&#2311;&#2360;&#2375;&#2349;&#2368;&#2342;&#2375;&#2326;&#2375;&#2306;"/>
+   <l:gentext key="set" text="&#2357;&#2381;&#2351;&#2357;&#2360;&#2381;&#2341;&#2367;&#2340;&#2325;&#2352;&#2375;&#2306;"/>
+   <l:gentext key="Set" text="&#2357;&#2381;&#2351;&#2357;&#2360;&#2381;&#2341;&#2367;&#2340;&#2325;&#2352;&#2375;&#2306;"/>
+   <l:gentext key="setindex" text="&#2357;&#2367;&#2359;&#2351;&#2360;&#2370;&#2330;&#2368;&#2357;&#2381;&#2351;&#2357;&#2360;&#2381;&#2341;&#2367;&#2340;&#2325;&#2352;&#2375;&#2306;"/>
+   <l:gentext key="SetIndex" text="&#2357;&#2367;&#2359;&#2351;&#2360;&#2370;&#2330;&#2368;&#2357;&#2381;&#2351;&#2357;&#2360;&#2381;&#2341;&#2367;&#2340;&#2325;&#2352;&#2375;&#2306;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="&#2360;&#2366;&#2311;&#2337;&#2348;&#2366;&#2352;"/>
+   <l:gentext key="step" text="&#2330;&#2352;&#2339;"/>
+   <l:gentext key="Step" text="&#2330;&#2352;&#2339;"/>
+   <l:gentext key="table" text="&#2340;&#2366;&#2354;&#2367;&#2325;&#2366;"/>
+   <l:gentext key="Table" text="&#2340;&#2366;&#2354;&#2367;&#2325;&#2366;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#2360;&#2306;&#2325;&#2375;&#2340;"/>
+   <l:gentext key="TIP" text="&#2360;&#2306;&#2325;&#2375;&#2340;"/>
+   <l:gentext key="Tip" text="&#2360;&#2306;&#2325;&#2375;&#2340;"/>
+   <l:gentext key="Warning" text="&#2330;&#2375;&#2340;&#2366;&#2357;&#2344;&#2368;"/>
+   <l:gentext key="warning" text="&#2330;&#2375;&#2340;&#2366;&#2357;&#2344;&#2368;"/>
+   <l:gentext key="WARNING" text="&#2330;&#2375;&#2340;&#2366;&#2357;&#2344;&#2368;"/>
+   <l:gentext key="and" text="&#2324;&#2352;"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="&#2360;&#2306;&#2346;&#2366;&#2342;&#2367;&#2340;"/>
+   <l:gentext key="edited" text="&#2360;&#2306;&#2346;&#2366;&#2342;&#2367;&#2340;"/>
+   <l:gentext key="Editedby" text="&#2311;&#2344;&#2325;&#2375;&#2342;&#2381;&#2357;&#2366;&#2352;&#2366;&#2360;&#2306;&#2346;&#2366;&#2342;&#2367;&#2340;"/>
+   <l:gentext key="editedby" text="&#2311;&#2344;&#2325;&#2375;&#2342;&#2381;&#2357;&#2366;&#2352;&#2366;&#2360;&#2306;&#2346;&#2366;&#2342;&#2367;&#2340;"/>
+   <l:gentext key="in" text="&#2309;&#2306;&#2342;&#2352;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#2309;&#2344;&#2369;&#2346;&#2360;&#2381;&#2341;&#2367;&#2340;&#2340;&#2340;&#2381;&#2357;"/>
+   <l:gentext key="notes" text="&#2344;&#2379;&#2335;&#2381;&#2360;"/>
+   <l:gentext key="Notes" text="&#2344;&#2379;&#2335;&#2381;&#2360;"/>
+   <l:gentext key="Pgs" text="&#2346;&#2371;&#2359;&#2381;&#2336;"/>
+   <l:gentext key="pgs" text="&#2346;&#2371;&#2359;&#2381;&#2336;"/>
+   <l:gentext key="Revisedby" text="&#2346;&#2369;&#2344;&#2352;&#2368;&#2325;&#2381;&#2359;&#2339;&#2325;&#2352;&#2381;&#2340;&#2366;:"/>
+   <l:gentext key="revisedby" text="&#2346;&#2369;&#2344;&#2352;&#2368;&#2325;&#2381;&#2359;&#2339;&#2325;&#2352;&#2381;&#2340;&#2366;:"/>
+   <l:gentext key="TableNotes" text="&#2344;&#2379;&#2335;&#2381;&#2360;"/>
+   <l:gentext key="tablenotes" text="&#2344;&#2379;&#2335;&#2381;&#2360;"/>
+   <l:gentext key="TableofContents" text="&#2357;&#2367;&#2359;&#2351;-&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="tableofcontents" text="&#2357;&#2367;&#2359;&#2351;-&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="unexpectedelementname" text="&#2309;&#2346;&#2381;&#2352;&#2340;&#2381;&#2351;&#2366;&#2358;&#2367;&#2340;&#2340;&#2340;&#2381;&#2357;&#2344;&#2366;&#2350;"/>
+   <l:gentext key="unsupported" text="&#2309;&#2360;&#2350;&#2352;&#2381;&#2341;&#2367;&#2340;"/>
+   <l:gentext key="xrefto" text="xrefto"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#2360;&#2350;&#2368;&#2325;&#2352;&#2339;&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="ListofEquations" text="&#2360;&#2350;&#2368;&#2325;&#2352;&#2339;&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="ListofExamples" text="&#2313;&#2342;&#2366;&#2361;&#2352;&#2339;&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="listofexamples" text="&#2313;&#2342;&#2366;&#2361;&#2352;&#2339;&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="ListofFigures" text="&#2330;&#2367;&#2340;&#2381;&#2352;&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="listoffigures" text="&#2330;&#2367;&#2340;&#2381;&#2352;&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="ListofProcedures" text="&#2346;&#2381;&#2352;&#2325;&#2381;&#2352;&#2367;&#2351;&#2366;&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="listofprocedures" text="&#2346;&#2381;&#2352;&#2325;&#2381;&#2352;&#2367;&#2351;&#2366;&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="listoftables" text="&#2340;&#2366;&#2354;&#2367;&#2325;&#2366;&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="ListofTables" text="&#2340;&#2366;&#2354;&#2367;&#2325;&#2366;&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="ListofUnknown" text="&#2309;&#2332;&#2381;&#2334;&#2366;&#2340;&#2325;&#2368;&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="listofunknown" text="&#2309;&#2332;&#2381;&#2334;&#2366;&#2340;&#2325;&#2368;&#2360;&#2370;&#2330;&#2368;"/>
+   <l:gentext key="nav-home" text="&#2328;&#2352;"/>
+   <l:gentext key="nav-next" text="&#2310;&#2327;&#2375;"/>
+   <l:gentext key="nav-next-sibling" text="&#2342;&#2381;&#2352;&#2369;&#2340;&#2309;&#2327;&#2381;&#2352;&#2360;&#2366;&#2352;&#2339;"/>
+   <l:gentext key="nav-prev" text="&#2346;&#2368;&#2331;&#2375;"/>
+   <l:gentext key="nav-prev-sibling" text="&#2342;&#2381;&#2352;&#2369;&#2340;&#2346;&#2358;&#2381;&#2330;&#2352;&#2339;"/>
+   <l:gentext key="nav-up" text="&#2314;&#2346;&#2352;"/>
+   <l:gentext key="nav-toc" text="&#2309;&#2306;&#2340;&#2352;&#2381;&#2357;&#2360;&#2381;&#2340;&#2369;&#2340;&#2366;&#2354;&#2367;&#2325;&#2366;"/>
+   <l:gentext key="Draft" text="&#2337;&#2381;&#2352;&#2366;&#2347;&#2381;&#2335;"/>
+   <l:gentext key="above" text="&#2314;&#2346;&#2352;"/>
+   <l:gentext key="below" text="&#2344;&#2368;&#2330;&#2375;"/>
+   <l:gentext key="sectioncalled" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376;"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#2346;&#2352;&#2367;&#2358;&#2367;&#2359;&#2381;&#2335;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#2309;&#2343;&#2381;&#2351;&#2366;&#2351;&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#2360;&#2350;&#2368;&#2325;&#2352;&#2339;&#160;%n.&#160;%t"/>
+      <l:template name="example" text="&#2313;&#2342;&#2366;&#2361;&#2352;&#2339;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="&#2330;&#2367;&#2340;&#2381;&#2352;&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#2361;&#2367;&#2360;&#2381;&#2360;&#2366;&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#2346;&#2381;&#2352;&#2325;&#2381;&#2352;&#2367;&#2351;&#2366;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#2313;&#2340;&#2381;&#2346;&#2366;&#2342;&#2344;&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#2340;&#2366;&#2354;&#2367;&#2325;&#2366;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#2346;&#2352;&#2367;&#2358;&#2367;&#2359;&#2381;&#2335;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#2309;&#2343;&#2381;&#2351;&#2366;&#2351;&#160;%n.&#160;%t"/>
+      <l:template name="part" text="&#2361;&#2367;&#2360;&#2381;&#2360;&#2366;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#2313;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#2346;&#2381;&#2352;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#2346;&#2381;&#2352;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o"/>
+      <l:template name="olink.page.citation" text=" (page %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)"/>
+      <l:template name="docname" text=" in %o"/>
+      <l:template name="docnamelong" text=" in the document titled %o"/>
+      <l:template name="pageabbrev" text="(p. %p)"/>
+      <l:template name="Page" text="Page %p"/>
+      <l:template name="bridgehead" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#2313;:&#160;%n"/>
+      <l:template name="appendix" text="&#2346;&#2352;&#2367;&#2358;&#2367;&#2359;&#2381;&#2335;&#160;%n"/>
+      <l:template name="bridgehead" text="&#2326;&#2306;&#2337;&#160;%n"/>
+      <l:template name="chapter" text="&#2309;&#2343;&#2381;&#2351;&#2366;&#2351;&#160;%n"/>
+      <l:template name="equation" text="&#2360;&#2350;&#2368;&#2325;&#2352;&#2339;&#160;%n"/>
+      <l:template name="example" text="&#2313;&#2342;&#2366;&#2361;&#2352;&#2339;&#160;%n"/>
+      <l:template name="figure" text="&#2330;&#2367;&#2340;&#2381;&#2352;&#160;%n"/>
+      <l:template name="part" text="&#2361;&#2367;&#2360;&#2381;&#2360;&#2366;&#160;%n"/>
+      <l:template name="procedure" text="&#2346;&#2381;&#2352;&#2325;&#2381;&#2352;&#2367;&#2351;&#2366;&#160;%n"/>
+      <l:template name="productionset" text="&#2313;&#2340;&#2381;&#2346;&#2366;&#2342;&#2344;&#160;%n"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+      <l:template name="qandaentry" text="&#2346;&#2381;&#2352;:&#160;%n"/>
+      <l:template name="question" text="&#2346;&#2381;&#2352;:&#160;%n"/>
+      <l:template name="sect1" text="&#2326;&#2306;&#2337;&#160;%n"/>
+      <l:template name="sect2" text="&#2326;&#2306;&#2337;&#160;%n"/>
+      <l:template name="sect3" text="&#2326;&#2306;&#2337;&#160;%n"/>
+      <l:template name="sect4" text="&#2326;&#2306;&#2337;&#160;%n"/>
+      <l:template name="sect5" text="&#2326;&#2306;&#2337;&#160;%n"/>
+      <l:template name="section" text="&#2326;&#2306;&#2337;&#160;%n"/>
+      <l:template name="table" text="&#2340;&#2366;&#2354;&#2367;&#2325;&#2366;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#2346;&#2352;&#2367;&#2358;&#2367;&#2359;&#2381;&#2335;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#2326;&#2306;&#2337;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#2309;&#2343;&#2381;&#2351;&#2366;&#2351;&#160;%n, %t"/>
+      <l:template name="equation" text="&#2360;&#2350;&#2368;&#2325;&#2352;&#2339;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#2313;&#2342;&#2366;&#2361;&#2352;&#2339;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#2330;&#2367;&#2340;&#2381;&#2352;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#2361;&#2367;&#2360;&#2381;&#2360;&#2366;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#2346;&#2381;&#2352;&#2325;&#2381;&#2352;&#2367;&#2351;&#2366;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="&#2313;&#2340;&#2381;&#2346;&#2366;&#2342;&#2344;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#2326;&#2306;&#2337;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#2326;&#2306;&#2337;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#2326;&#2306;&#2337;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#2326;&#2306;&#2337;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#2326;&#2306;&#2337;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#2326;&#2306;&#2337;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#2351;&#2361;&#2326;&#2306;&#2337;&#2325;&#2361;&#2354;&#2366;&#2340;&#2366;&#2361;&#2376; &#8220;%t&#8221;"/>
+      <l:template name="table" text="&#2340;&#2366;&#2354;&#2367;&#2325;&#2366;&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#2324;&#2352; "/>
+      <l:template name="seplast" text=", &#2324;&#2352; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#2342;&#2375;&#2326;&#2375;&#2306; %t"/>
+      <l:template name="seealso" text="&#2311;&#2360;&#2375;&#2349;&#2368;&#2342;&#2375;&#2326;&#2375;&#2306; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#2358;&#2381;&#2352;&#2379;&#2340;&#2366;: "/>
+      <l:template name="MsgLevel" text="&#2360;&#2381;&#2340;&#2352;: "/>
+      <l:template name="MsgOrig" text="&#2350;&#2370;&#2354;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January"/>
+      <l:template name="February" text="February"/>
+      <l:template name="March" text="March"/>
+      <l:template name="April" text="April"/>
+      <l:template name="May" text="May"/>
+      <l:template name="June" text="June"/>
+      <l:template name="July" text="July"/>
+      <l:template name="August" text="August"/>
+      <l:template name="September" text="September"/>
+      <l:template name="October" text="October"/>
+      <l:template name="November" text="November"/>
+      <l:template name="December" text="December"/>
+      <l:template name="Monday" text="Monday"/>
+      <l:template name="Tuesday" text="Tuesday"/>
+      <l:template name="Wednesday" text="Wednesday"/>
+      <l:template name="Thursday" text="Thursday"/>
+      <l:template name="Friday" text="Friday"/>
+      <l:template name="Saturday" text="Saturday"/>
+      <l:template name="Sunday" text="Sunday"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan"/>
+      <l:template name="Feb" text="Feb"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Apr"/>
+      <l:template name="May" text="May"/>
+      <l:template name="Jun" text="Jun"/>
+      <l:template name="Jul" text="Jul"/>
+      <l:template name="Aug" text="Aug"/>
+      <l:template name="Sep" text="Sep"/>
+      <l:template name="Oct" text="Oct"/>
+      <l:template name="Nov" text="Nov"/>
+      <l:template name="Dec" text="Dec"/>
+      <l:template name="Mon" text="Mon"/>
+      <l:template name="Tue" text="Tue"/>
+      <l:template name="Wed" text="Wed"/>
+      <l:template name="Thu" text="Thu"/>
+      <l:template name="Fri" text="Fri"/>
+      <l:template name="Sat" text="Sat"/>
+      <l:template name="Sun" text="Sun"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0439 Hindi"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/hr.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/hr.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/hr.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="hr" english-language-name="Croatian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/hr.xml -->
+<!-- * -->
+<!-- * E-mail the edited hr.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Sa&#382;etak"/>
+   <l:gentext key="abstract" text="Sa&#382;etak"/>
+   <l:gentext key="Answer" text="Odgovor:"/>
+   <l:gentext key="answer" text="Odgovor:"/>
+   <l:gentext key="Appendix" text="Dodatak"/>
+   <l:gentext key="appendix" text="dodatak"/>
+   <l:gentext key="Article" text="&#268;lanak"/>
+   <l:gentext key="article" text="&#268;lanak"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Literatura"/>
+   <l:gentext key="bibliography" text="Literatura"/>
+   <l:gentext key="Book" text="Knjiga"/>
+   <l:gentext key="book" text="Knjiga"/>
+   <l:gentext key="CAUTION" text="OPREZ"/>
+   <l:gentext key="Caution" text="Oprez"/>
+   <l:gentext key="caution" text="Oprez"/>
+   <l:gentext key="Chapter" text="Poglavlje"/>
+   <l:gentext key="chapter" text="poglavlje"/>
+   <l:gentext key="Colophon" text="Impresum"/>
+   <l:gentext key="colophon" text="Impresum"/>
+   <l:gentext key="Copyright" text="Autorska prava"/>
+   <l:gentext key="copyright" text="Autorska prava"/>
+   <l:gentext key="Dedication" text="Posveta"/>
+   <l:gentext key="dedication" text="Posveta"/>
+   <l:gentext key="Edition" text="Izdanje"/>
+   <l:gentext key="edition" text="Izdanje"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Jednad&#382;ba"/>
+   <l:gentext key="equation" text="Jednad&#382;ba"/>
+   <l:gentext key="Example" text="Primjer"/>
+   <l:gentext key="example" text="Primjer"/>
+   <l:gentext key="Figure" text="Slika"/>
+   <l:gentext key="figure" text="Slika"/>
+   <l:gentext key="Glossary" text="Rje&#269;nik"/>
+   <l:gentext key="glossary" text="Rje&#269;nik"/>
+   <l:gentext key="GlossSee" text="Vidi"/>
+   <l:gentext key="glosssee" text="Vidi"/>
+   <l:gentext key="GlossSeeAlso" text="Vidi i"/>
+   <l:gentext key="glossseealso" text="Vidi i"/>
+   <l:gentext key="IMPORTANT" text="VA&#381;NO"/>
+   <l:gentext key="important" text="Va&#382;no"/>
+   <l:gentext key="Important" text="Va&#382;no"/>
+   <l:gentext key="Index" text="Kazalo"/>
+   <l:gentext key="index" text="Kazalo"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Pravne odredbe"/>
+   <l:gentext key="legalnotice" text="Pravne odredbe"/>
+   <l:gentext key="MsgAud" text="Primatelji"/>
+   <l:gentext key="msgaud" text="Primatelji"/>
+   <l:gentext key="MsgLevel" text="Razina"/>
+   <l:gentext key="msglevel" text="Razina"/>
+   <l:gentext key="MsgOrig" text="Izvor"/>
+   <l:gentext key="msgorig" text="Izvor"/>
+   <l:gentext key="NOTE" text="BILJE&#352;KA"/>
+   <l:gentext key="Note" text="Bilje&#353;ka"/>
+   <l:gentext key="note" text="Bilje&#353;ka"/>
+   <l:gentext key="Part" text="Dio"/>
+   <l:gentext key="part" text="Dio"/>
+   <l:gentext key="Preface" text="Predgovor"/>
+   <l:gentext key="preface" text="Predgovor"/>
+   <l:gentext key="Procedure" text="Postupak"/>
+   <l:gentext key="procedure" text="Postupak"/>
+   <l:gentext key="ProductionSet" text="Produkcija"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Objavljeno"/>
+   <l:gentext key="published" text="Objavljeno"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Pitanje i Odgovor"/>
+   <l:gentext key="qandadiv" text="Pitanje i Odgovor"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Pitanje:"/>
+   <l:gentext key="question" text="Pitanje:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Referenca"/>
+   <l:gentext key="reference" text="Referenca"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Ime"/>
+   <l:gentext key="refname" text="Ime"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Pregled"/>
+   <l:gentext key="refsynopsisdiv" text="Pregled"/>
+   <l:gentext key="RevHistory" text="Povijest preinaka"/>
+   <l:gentext key="revhistory" text="Povijest preinaka"/>
+   <l:gentext key="revision" text="Preinaka"/>
+   <l:gentext key="Revision" text="Preinaka"/>
+   <l:gentext key="sect1" text="Odjeljak"/>
+   <l:gentext key="sect2" text="Odjeljak"/>
+   <l:gentext key="sect3" text="Odjeljak"/>
+   <l:gentext key="sect4" text="Odjeljak"/>
+   <l:gentext key="sect5" text="Odjeljak"/>
+   <l:gentext key="section" text="Odjeljak"/>
+   <l:gentext key="Section" text="Odjeljak"/>
+   <l:gentext key="see" text="vidi"/>
+   <l:gentext key="See" text="See" lang="en"/>
+   <l:gentext key="seealso" text="vidi i"/>
+   <l:gentext key="Seealso" text="See also" lang="en"/>
+   <l:gentext key="SeeAlso" text="See Also" lang="en"/>
+   <l:gentext key="set" text="Set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Kazalo seta"/>
+   <l:gentext key="SetIndex" text="Kazalo seta"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="korak"/>
+   <l:gentext key="Step" text="Korak"/>
+   <l:gentext key="table" text="Tablica"/>
+   <l:gentext key="Table" text="Tablica"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Savjet"/>
+   <l:gentext key="TIP" text="SAVJET"/>
+   <l:gentext key="Tip" text="Savjet"/>
+   <l:gentext key="Warning" text="Upozorenje"/>
+   <l:gentext key="warning" text="Upozorenje"/>
+   <l:gentext key="WARNING" text="UPOZORENJE"/>
+   <l:gentext key="and" text="i"/>
+   <l:gentext key="by" text="po"/>
+   <l:gentext key="Edited" text="Uredio/la"/>
+   <l:gentext key="edited" text="Uredio/la"/>
+   <l:gentext key="Editedby" text="Uredio/la"/>
+   <l:gentext key="editedby" text="Uredio/la"/>
+   <l:gentext key="in" text="u"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="nepostoje&#263;i element"/>
+   <l:gentext key="notes" text="Bilje&#353;ke"/>
+   <l:gentext key="Notes" text="Bilje&#353;ke"/>
+   <l:gentext key="Pgs" text="Str."/>
+   <l:gentext key="pgs" text="Str."/>
+   <l:gentext key="Revisedby" text="Promijenjeno po: "/>
+   <l:gentext key="revisedby" text="Promijenjeno po: "/>
+   <l:gentext key="TableNotes" text="Napomene"/>
+   <l:gentext key="tablenotes" text="Napomene"/>
+   <l:gentext key="TableofContents" text="Sadr&#382;aj"/>
+   <l:gentext key="tableofcontents" text="Sadr&#382;aj"/>
+   <l:gentext key="unexpectedelementname" text="Neo&#269;ekivano ime elementa"/>
+   <l:gentext key="unsupported" text="nepodr&#382;ano"/>
+   <l:gentext key="xrefto" text="xref za"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Popis jednad&#382;bi"/>
+   <l:gentext key="ListofEquations" text="Popis jednad&#382;bi"/>
+   <l:gentext key="ListofExamples" text="Popis primjera"/>
+   <l:gentext key="listofexamples" text="Popis primjera"/>
+   <l:gentext key="ListofFigures" text="Popis slika"/>
+   <l:gentext key="listoffigures" text="Popis slika"/>
+   <l:gentext key="ListofProcedures" text="Popis postupaka"/>
+   <l:gentext key="listofprocedures" text="Popis postupaka"/>
+   <l:gentext key="listoftables" text="Popis tablica"/>
+   <l:gentext key="ListofTables" text="Popis tablica "/>
+   <l:gentext key="ListofUnknown" text="Popis nepoznanica"/>
+   <l:gentext key="listofunknown" text="Popis nepoznanica"/>
+   <l:gentext key="nav-home" text="Po&#269;etak"/>
+   <l:gentext key="nav-next" text="Naprijed"/>
+   <l:gentext key="nav-next-sibling" text="Sko&#269;i unaprijed"/>
+   <l:gentext key="nav-prev" text="Natrag"/>
+   <l:gentext key="nav-prev-sibling" text="Sko&#269;i unatrag"/>
+   <l:gentext key="nav-up" text="Gore"/>
+   <l:gentext key="nav-toc" text="Sadr&#382;aj"/>
+   <l:gentext key="Draft" text="Nacrt"/>
+   <l:gentext key="above" text="iznad"/>
+   <l:gentext key="below" text="ispod"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Oznake"/>
+   <l:gentext key="lowercase.alpha" text="abc&#269;&#263;d&#273;efghijklmnopqrs&#353;tuvwxyz&#382;"/>
+   <l:gentext key="uppercase.alpha" text="ABC&#268;&#262;D&#272;EFGHIJKLMNOPQRS&#352;TUVWXYZ&#381;"/>
+   <l:dingbat key="startquote" text="&#8222;"/>
+   <l:dingbat key="endquote" text="&#8220;"/>
+   <l:dingbat key="nestedstartquote" text="&#8218;"/>
+   <l:dingbat key="nestedendquote" text="&#8216;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="&#8208;"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Dodatak&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Poglavlje&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Jednad&#382;ba&#160;%n.&#160;%t"/>
+      <l:template name="example" text="Primjer&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="Slika&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Dio&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Postupak&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Produkcija&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tablica&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Dodatak&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Poglavlje&#160;%n.&#160;%t"/>
+      <l:template name="part" text="Dio&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="Odgovor:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Pitanje:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Pitanje:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="refsection" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="refsect1" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="refsect2" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="refsect3" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="sect1" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="sect2" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="sect3" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="sect4" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="sect5" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="section" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="simplesect" text="the section called &#8222;%t&#8220;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="Odgovor:&#160;%n"/>
+      <l:template name="appendix" text="Dodatak&#160;%n"/>
+      <l:template name="bridgehead" text="Odjeljak&#160;%n"/>
+      <l:template name="chapter" text="Poglavlje&#160;%n"/>
+      <l:template name="equation" text="Jednad&#382;ba&#160;%n"/>
+      <l:template name="example" text="Primjer&#160;%n"/>
+      <l:template name="figure" text="Slika&#160;%n"/>
+      <l:template name="part" text="Dio&#160;%n"/>
+      <l:template name="procedure" text="Postupak&#160;%n"/>
+      <l:template name="productionset" text="Produkcija&#160;%n"/>
+      <l:template name="qandadiv" text="Pitanje i Odgovor&#160;%n"/>
+      <l:template name="qandaentry" text="Pitanje:&#160;%n"/>
+      <l:template name="question" text="Pitanje:&#160;%n"/>
+      <l:template name="sect1" text="Odjeljak&#160;%n"/>
+      <l:template name="sect2" text="Odjeljak&#160;%n"/>
+      <l:template name="sect3" text="Odjeljak&#160;%n"/>
+      <l:template name="sect4" text="Odjeljak&#160;%n"/>
+      <l:template name="sect5" text="Odjeljak&#160;%n"/>
+      <l:template name="section" text="Odjeljak&#160;%n"/>
+      <l:template name="table" text="Tablica&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Dodatak&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="chapter" text="Poglavlje&#160;%n, %t"/>
+      <l:template name="equation" text="Jednad&#382;ba&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="example" text="Primjer&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="figure" text="Slika&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="part" text="Dio&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="procedure" text="Postupak&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="productionset" text="Produkcija&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="qandadiv" text="Pitanje i Odgovor&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="refsect1" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="refsect2" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="refsect3" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="refsection" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="sect1" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect2" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect3" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect4" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect5" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="section" text="Odjeljak&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="simplesect" text="the section called &#8222;%t&#8220;"/>
+      <l:template name="table" text="Tablica&#160;%n, &#8222;%t&#8220;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" i "/>
+      <l:template name="seplast" text=", i "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Vidi %t"/>
+      <l:template name="seealso" text="Vidi i %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Primatelji: "/>
+      <l:template name="MsgLevel" text="Razina: "/>
+      <l:template name="MsgOrig" text="Izvor: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="Sije&#269;anj"/>
+      <l:template name="February" text="Velja&#269;a"/>
+      <l:template name="March" text="O&#382;ujak"/>
+      <l:template name="April" text="Travanj"/>
+      <l:template name="May" text="Svibanj"/>
+      <l:template name="June" text="Lipanj"/>
+      <l:template name="July" text="Srpanj"/>
+      <l:template name="August" text="Kolovoz"/>
+      <l:template name="September" text="Rujan"/>
+      <l:template name="October" text="Listopad"/>
+      <l:template name="November" text="Studeni"/>
+      <l:template name="December" text="Prosinac"/>
+      <l:template name="Monday" text="Ponedjeljak"/>
+      <l:template name="Tuesday" text="Utorak"/>
+      <l:template name="Wednesday" text="Srijeda"/>
+      <l:template name="Thursday" text="&#268;etvrtak"/>
+      <l:template name="Friday" text="Petak"/>
+      <l:template name="Saturday" text="Subota"/>
+      <l:template name="Sunday" text="Nedjelja"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Sij"/>
+      <l:template name="Feb" text="Velj"/>
+      <l:template name="Mar" text="O&#382;u"/>
+      <l:template name="Apr" text="Tra"/>
+      <l:template name="May" text="Svi"/>
+      <l:template name="Jun" text="Lip"/>
+      <l:template name="Jul" text="Srp"/>
+      <l:template name="Aug" text="Kol"/>
+      <l:template name="Sep" text="Ruj"/>
+      <l:template name="Oct" text="Lis"/>
+      <l:template name="Nov" text="Stu"/>
+      <l:template name="Dec" text="Pro"/>
+      <l:template name="Mon" text="Pon"/>
+      <l:template name="Tue" text="Uto"/>
+      <l:template name="Wed" text="Sri"/>
+      <l:template name="Thu" text="&#268;et"/>
+      <l:template name="Fri" text="Pet"/>
+      <l:template name="Sat" text="Sub"/>
+      <l:template name="Sun" text="Ned"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x041a Croatian"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/hu.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/hu.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/hu.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="hu" english-language-name="Hungarian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/hu.xml -->
+<!-- * -->
+<!-- * E-mail the edited hu.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Kivonat"/>
+   <l:gentext key="abstract" text="kivonat"/>
+   <l:gentext key="Answer" text="V:"/>
+   <l:gentext key="answer" text="v:"/>
+   <l:gentext key="Appendix" text="F&#252;ggel&#233;k"/>
+   <l:gentext key="appendix" text="f&#252;ggel&#233;k"/>
+   <l:gentext key="Article" text="Cikk"/>
+   <l:gentext key="article" text="cikk"/>
+   <l:gentext key="Author" text="Szerz"/>
+   <l:gentext key="Bibliography" text="Irodalomjegyz&#233;k"/>
+   <l:gentext key="bibliography" text="irodalomjegyz&#233;k"/>
+   <l:gentext key="Book" text="K&#246;nyv"/>
+   <l:gentext key="book" text="k&#246;nyv"/>
+   <l:gentext key="CAUTION" text="FIGYELEM"/>
+   <l:gentext key="Caution" text="Figyelem"/>
+   <l:gentext key="caution" text="figyelem"/>
+   <l:gentext key="Chapter" text="Fejezet"/>
+   <l:gentext key="chapter" text="fejezet"/>
+   <l:gentext key="Colophon" text="V&#233;gsz&#243;"/>
+   <l:gentext key="colophon" text="v&#233;gsz&#243;"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="copyright"/>
+   <l:gentext key="Dedication" text="Aj&#225;nl&#225;s"/>
+   <l:gentext key="dedication" text="aj&#225;nl&#225;s"/>
+   <l:gentext key="Edition" text="Kiad&#225;s"/>
+   <l:gentext key="edition" text="kiad&#225;s"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Egyenlet"/>
+   <l:gentext key="equation" text="egyenlet"/>
+   <l:gentext key="Example" text="P&#233;lda"/>
+   <l:gentext key="example" text="p&#233;lda"/>
+   <l:gentext key="Figure" text="&#193;bra"/>
+   <l:gentext key="figure" text="&#225;bra"/>
+   <l:gentext key="Glossary" text="Sz&#243;jegyz&#233;k"/>
+   <l:gentext key="glossary" text="sz&#243;jegyz&#233;k"/>
+   <l:gentext key="GlossSee" text="L&#225;sd"/>
+   <l:gentext key="glosssee" text="l&#225;sd"/>
+   <l:gentext key="GlossSeeAlso" text="L&#225;sd m&#233;g"/>
+   <l:gentext key="glossseealso" text="l&#225;sd m&#233;g"/>
+   <l:gentext key="IMPORTANT" text="FONTOS"/>
+   <l:gentext key="important" text="fontos"/>
+   <l:gentext key="Important" text="Fontos"/>
+   <l:gentext key="Index" text="T&#225;rgymutat&#243;"/>
+   <l:gentext key="index" text="t&#225;rgymutat&#243;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="isbn"/>
+   <l:gentext key="LegalNotice" text="Jogi k&#246;zlem&#233;ny"/>
+   <l:gentext key="legalnotice" text="jogi k&#246;zlem&#233;ny"/>
+   <l:gentext key="MsgAud" text="C&#233;lk&#246;z&#246;ns&#233;g"/>
+   <l:gentext key="msgaud" text="c&#233;lk&#246;z&#246;ns&#233;g"/>
+   <l:gentext key="MsgLevel" text="Szint"/>
+   <l:gentext key="msglevel" text="szint"/>
+   <l:gentext key="MsgOrig" text="Eredet"/>
+   <l:gentext key="msgorig" text="eredet"/>
+   <l:gentext key="NOTE" text="MEGJEGYZ&#201;S"/>
+   <l:gentext key="Note" text="Megjegyz&#233;s"/>
+   <l:gentext key="note" text="megjegyz&#233;s"/>
+   <l:gentext key="Part" text="R&#233;sz"/>
+   <l:gentext key="part" text="r&#233;sz"/>
+   <l:gentext key="Preface" text="El&#337;sz&#243;"/>
+   <l:gentext key="preface" text="el&#337;sz&#243;"/>
+   <l:gentext key="Procedure" text="Elj&#225;r&#225;s"/>
+   <l:gentext key="procedure" text="elj&#225;r&#225;s"/>
+   <l:gentext key="ProductionSet" text="Elemcsoport"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Megjelent"/>
+   <l:gentext key="published" text="megjelent"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="K &#233;s V"/>
+   <l:gentext key="qandadiv" text="K &#233;s V"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="K:"/>
+   <l:gentext key="question" text="k:"/>
+   <l:gentext key="RefEntry" text="Bejegyz&#233;s"/>
+   <l:gentext key="refentry" text="bejegyz&#233;s"/>
+   <l:gentext key="Reference" text="Referencia"/>
+   <l:gentext key="reference" text="referencia"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="N&#233;v"/>
+   <l:gentext key="refname" text="n&#233;v"/>
+   <l:gentext key="RefSection" text="Szakasz"/>
+   <l:gentext key="refsection" text="szakasz"/>
+   <l:gentext key="RefSynopsisDiv" text="&#193;ttekint&#233;s"/>
+   <l:gentext key="refsynopsisdiv" text="&#225;ttekint&#233;s"/>
+   <l:gentext key="RevHistory" text="Verzi&#243;t&#246;rt&#233;net"/>
+   <l:gentext key="revhistory" text="verzi&#243;t&#246;rt&#233;net"/>
+   <l:gentext key="revision" text="verzi&#243;"/>
+   <l:gentext key="Revision" text="Verzi&#243;"/>
+   <l:gentext key="sect1" text="Szakasz"/>
+   <l:gentext key="sect2" text="Szakasz"/>
+   <l:gentext key="sect3" text="Szakasz"/>
+   <l:gentext key="sect4" text="Szakasz"/>
+   <l:gentext key="sect5" text="Szakasz"/>
+   <l:gentext key="section" text="szakasz"/>
+   <l:gentext key="Section" text="Szakasz"/>
+   <l:gentext key="see" text="l&#225;sd"/>
+   <l:gentext key="See" text="L&#225;sd"/>
+   <l:gentext key="seealso" text="l&#225;sd m&#233;g"/>
+   <l:gentext key="Seealso" text="L&#225;sd m&#233;g"/>
+   <l:gentext key="SeeAlso" text="L&#225;sd m&#233;g"/>
+   <l:gentext key="set" text="csoport"/>
+   <l:gentext key="Set" text="Csoport"/>
+   <l:gentext key="setindex" text="csoportmutat&#243;"/>
+   <l:gentext key="SetIndex" text="Csoportmutat&#243;"/>
+   <l:gentext key="Sidebar" text="Sz&#233;ljegyzet"/>
+   <l:gentext key="sidebar" text="sz&#233;ljegyzet"/>
+   <l:gentext key="step" text="l&#233;p&#233;s"/>
+   <l:gentext key="Step" text="L&#233;p&#233;s"/>
+   <l:gentext key="table" text="t&#225;bl&#225;zat"/>
+   <l:gentext key="Table" text="T&#225;bl&#225;zat"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="tipp"/>
+   <l:gentext key="TIP" text="TIPP"/>
+   <l:gentext key="Tip" text="Tipp"/>
+   <l:gentext key="Warning" text="Figyelem"/>
+   <l:gentext key="warning" text="figyelem"/>
+   <l:gentext key="WARNING" text="FIGYELEM"/>
+   <l:gentext key="and" text="&#233;s"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="Szerk."/>
+   <l:gentext key="edited" text="szerk."/>
+   <l:gentext key="Editedby" text="Szerkesztette"/>
+   <l:gentext key="editedby" text="szerkesztette"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="nem l&#233;tez&#337; elem"/>
+   <l:gentext key="notes" text="megjegyz&#233;sek"/>
+   <l:gentext key="Notes" text="Megjegyz&#233;sek"/>
+   <l:gentext key="Pgs" text="Lsz."/>
+   <l:gentext key="pgs" text="lsz."/>
+   <l:gentext key="Revisedby" text="Megvizsg&#225;lva"/>
+   <l:gentext key="revisedby" text="megvizsg&#225;lva"/>
+   <l:gentext key="TableNotes" text="Megjegyz&#233;sek"/>
+   <l:gentext key="tablenotes" text="megjegyz&#233;sek"/>
+   <l:gentext key="TableofContents" text="Tartalom"/>
+   <l:gentext key="tableofcontents" text="tartalom"/>
+   <l:gentext key="unexpectedelementname" text="nem v&#225;rt elemn&#233;v"/>
+   <l:gentext key="unsupported" text="nem t&#225;mogatott"/>
+   <l:gentext key="xrefto" text="keresztref"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="az egyenletek list&#225;ja"/>
+   <l:gentext key="ListofEquations" text="Az egyenletek list&#225;ja"/>
+   <l:gentext key="ListofExamples" text="A p&#233;ld&#225;k list&#225;ja"/>
+   <l:gentext key="listofexamples" text="a p&#233;ld&#225;k list&#225;ja"/>
+   <l:gentext key="ListofFigures" text="Az &#225;br&#225;k list&#225;ja"/>
+   <l:gentext key="listoffigures" text="az &#225;br&#225;k list&#225;ja"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="a t&#225;bl&#225;zatok list&#225;ja"/>
+   <l:gentext key="ListofTables" text="A t&#225;bl&#225;zatok list&#225;ja"/>
+   <l:gentext key="ListofUnknown" text="Az egy&#233;b elemek list&#225;ja"/>
+   <l:gentext key="listofunknown" text="az egy&#233;b elemek list&#225;ja"/>
+   <l:gentext key="nav-home" text="Tartalom"/>
+   <l:gentext key="nav-next" text="K&#246;vetkez&#337;"/>
+   <l:gentext key="nav-next-sibling" text="Gyors el&#337;re"/>
+   <l:gentext key="nav-prev" text="El&#337;z&#337;"/>
+   <l:gentext key="nav-prev-sibling" text="Gyors vissza"/>
+   <l:gentext key="nav-up" text="Fel"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="V&#225;zlat"/>
+   <l:gentext key="above" text="fent"/>
+   <l:gentext key="below" text="lent"/>
+   <l:gentext key="sectioncalled" text="ilyen nev&#369; szakasz:"/>
+   <l:gentext key="index symbols" text="szimb&#243;lummutat&#243;"/>
+   <l:gentext key="lowercase.alpha" text="a&#225;bcde&#233;fghi&#237;jklmno&#243;&#246;&#337;pqrstu&#250;&#252;&#171;vwxyz"/>
+   <l:gentext key="uppercase.alpha" text="A&#193;BCDE&#201;FGHI&#205;JKLMNO&#211;&#214;&#336;PQRSTU&#218;&#220;&#368;VWXYZ"/>
+   <l:dingbat key="startquote" text="&#8222;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#187;"/>
+   <l:dingbat key="nestedendquote" text="&#171;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="last-first"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="%n. f&#252;ggel&#233;k - %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%n. fejezet - %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%n. egyenlet - %t"/>
+      <l:template name="example" text="%n. p&#233;lda - %t"/>
+      <l:template name="figure" text="%n. &#225;bra - %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%n. r&#233;sz - %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Elj&#225;r&#225;s&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Elemcsoport&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="%n. t&#225;bl&#225;zat - %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="%n. f&#252;ggel&#233;k - %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%n. fejezet - %t"/>
+      <l:template name="part" text="%n. r&#233;sz - %t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="V:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="K:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="K:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8222;%t&#8221;"/>
+      <l:template name="refsection" text="&#8222;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8222;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8222;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8222;%t&#8221;"/>
+      <l:template name="sect1" text="&#8222;%t&#8221;"/>
+      <l:template name="sect2" text="&#8222;%t&#8221;"/>
+      <l:template name="sect3" text="&#8222;%t&#8221;"/>
+      <l:template name="sect4" text="&#8222;%t&#8221;"/>
+      <l:template name="sect5" text="&#8222;%t&#8221;"/>
+      <l:template name="section" text="&#8222;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8222;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="V:&#160;%n"/>
+      <l:template name="appendix" text="%n. f&#252;ggel&#233;k"/>
+      <l:template name="bridgehead" text="Szakasz&#160;%n"/>
+      <l:template name="chapter" text="%n. fejezet"/>
+      <l:template name="equation" text="Egyenlet&#160;%n"/>
+      <l:template name="example" text="%n. p&#233;lda"/>
+      <l:template name="figure" text="%n. &#225;bra"/>
+      <l:template name="part" text="%n. r&#233;sz"/>
+      <l:template name="procedure" text="Elj&#225;r&#225;s&#160;%n"/>
+      <l:template name="productionset" text="Elemcsoport&#160;%n"/>
+      <l:template name="qandadiv" text="K &#233;s V&#160;%n"/>
+      <l:template name="qandaentry" text="K:&#160;%n"/>
+      <l:template name="question" text="K:&#160;%n"/>
+      <l:template name="sect1" text="%n. szakasz"/>
+      <l:template name="sect2" text="%n. szakasz"/>
+      <l:template name="sect3" text="%n. szakasz"/>
+      <l:template name="sect4" text="%n. szakasz"/>
+      <l:template name="sect5" text="%n. szakasz"/>
+      <l:template name="section" text="%n. szakasz"/>
+      <l:template name="table" text="T&#225;bl&#225;zat&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="%n. f&#252;ggel&#233;k - %t"/>
+      <l:template name="bridgehead" text="Szakasz&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="chapter" text="%n. fejezet - %t"/>
+      <l:template name="equation" text="Egyenlet&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="example" text="%n. p&#233;lda - %t"/>
+      <l:template name="figure" text="%n. &#225;bra - %t"/>
+      <l:template name="part" text="%n. r&#233;sz - %t"/>
+      <l:template name="procedure" text="Elj&#225;r&#225;s&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="productionset" text="Elemcsoport&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="qandadiv" text="K &#233;s V&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8222;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8222;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8222;%t&#8221;"/>
+      <l:template name="refsection" text="&#8222;%t&#8221;"/>
+      <l:template name="sect1" text="%n. szakasz - %t"/>
+      <l:template name="sect2" text="%n. szakasz - %t"/>
+      <l:template name="sect3" text="%n. szakasz - %t"/>
+      <l:template name="sect4" text="%n. szakasz - %t"/>
+      <l:template name="sect5" text="%n. szakasz - %t"/>
+      <l:template name="section" text="%n. szakasz - %t"/>
+      <l:template name="simplesect" text="&#8222;%t&#8221;"/>
+      <l:template name="table" text="%n. t&#225;bl&#225;zat - %t"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#233;s "/>
+      <l:template name="seplast" text=", &#233;s "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="L&#225;sd %t"/>
+      <l:template name="seealso" text="L&#225;sd m&#233;g %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="C&#233;lk&#246;z&#246;ns&#233;g: "/>
+      <l:template name="MsgLevel" text="Szint: "/>
+      <l:template name="MsgOrig" text="Eredet: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x040e Hungarian"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/id.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/id.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/id.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="id" english-language-name="Indonesian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/id.xml -->
+<!-- * -->
+<!-- * E-mail the edited id.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Abstrak"/>
+   <l:gentext key="abstract" text="Abstrak"/>
+   <l:gentext key="Answer" text="Jawab:"/>
+   <l:gentext key="answer" text="Jawab:"/>
+   <l:gentext key="Appendix" text="Lampiran"/>
+   <l:gentext key="appendix" text="lampiran"/>
+   <l:gentext key="Article" text="Artikel"/>
+   <l:gentext key="article" text="Artikel"/>
+   <l:gentext key="Author" text="Pembuat"/>
+   <l:gentext key="Bibliography" text="Bibliografi"/>
+   <l:gentext key="bibliography" text="Bibliografi"/>
+   <l:gentext key="Book" text="Buku"/>
+   <l:gentext key="book" text="Buku"/>
+   <l:gentext key="CAUTION" text="PERHATIAN"/>
+   <l:gentext key="Caution" text="Perhatian"/>
+   <l:gentext key="caution" text="Perhatian"/>
+   <l:gentext key="Chapter" text="Bab"/>
+   <l:gentext key="chapter" text="bab"/>
+   <l:gentext key="Colophon" text="Kolofon"/>
+   <l:gentext key="colophon" text="Kolofon"/>
+   <l:gentext key="Copyright" text="Hak Cipta"/>
+   <l:gentext key="copyright" text="Hak Cipta"/>
+   <l:gentext key="Dedication" text="Dedikasi"/>
+   <l:gentext key="dedication" text="Dedikasi"/>
+   <l:gentext key="Edition" text="Edisi"/>
+   <l:gentext key="edition" text="Edisi"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Persamaan"/>
+   <l:gentext key="equation" text="Persamaan"/>
+   <l:gentext key="Example" text="Teladan"/>
+   <l:gentext key="example" text="Teladan"/>
+   <l:gentext key="Figure" text="Gambar"/>
+   <l:gentext key="figure" text="Gambar"/>
+   <l:gentext key="Glossary" text="Daftar Istilah"/>
+   <l:gentext key="glossary" text="Daftar Istilah"/>
+   <l:gentext key="GlossSee" text="Lihat"/>
+   <l:gentext key="glosssee" text="Lihat"/>
+   <l:gentext key="GlossSeeAlso" text="Lihat Juga"/>
+   <l:gentext key="glossseealso" text="Lihat Juga"/>
+   <l:gentext key="IMPORTANT" text="PENTING"/>
+   <l:gentext key="important" text="Penting"/>
+   <l:gentext key="Important" text="Penting"/>
+   <l:gentext key="Index" text="Indeks"/>
+   <l:gentext key="index" text="Indeks"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Aspek Hukum"/>
+   <l:gentext key="legalnotice" text="Aspek Hukum"/>
+   <l:gentext key="MsgAud" text="Pemirsa"/>
+   <l:gentext key="msgaud" text="Pemirsa"/>
+   <l:gentext key="MsgLevel" text="Tingkatan"/>
+   <l:gentext key="msglevel" text="Tingkatan"/>
+   <l:gentext key="MsgOrig" text="Asal"/>
+   <l:gentext key="msgorig" text="Asal"/>
+   <l:gentext key="NOTE" text="CATATAN"/>
+   <l:gentext key="Note" text="Catatan"/>
+   <l:gentext key="note" text="Catatan"/>
+   <l:gentext key="Part" text="Bagian"/>
+   <l:gentext key="part" text="Bagian"/>
+   <l:gentext key="Preface" text="Kata Pengantar"/>
+   <l:gentext key="preface" text="Kata Pengantar"/>
+   <l:gentext key="Procedure" text="Prosedur"/>
+   <l:gentext key="procedure" text="Prosedur"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Diterbitkan"/>
+   <l:gentext key="published" text="Diterbitkan"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Tanya dan Jawab"/>
+   <l:gentext key="qandadiv" text="Tanya dan Jawab"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Tanya:"/>
+   <l:gentext key="question" text="Tanya:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Referensi"/>
+   <l:gentext key="reference" text="Referensi"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Nama"/>
+   <l:gentext key="refname" text="Nama"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Sinopsis"/>
+   <l:gentext key="refsynopsisdiv" text="Sinopsis"/>
+   <l:gentext key="RevHistory" text="Catatan Revisi"/>
+   <l:gentext key="revhistory" text="Catatan Revisi"/>
+   <l:gentext key="revision" text="Revisi"/>
+   <l:gentext key="Revision" text="Revisi"/>
+   <l:gentext key="sect1" text="Bagian"/>
+   <l:gentext key="sect2" text="Bagian"/>
+   <l:gentext key="sect3" text="Bagian"/>
+   <l:gentext key="sect4" text="Bagian"/>
+   <l:gentext key="sect5" text="Bagian"/>
+   <l:gentext key="section" text="bagian"/>
+   <l:gentext key="Section" text="Bagian"/>
+   <l:gentext key="see" text="Lihat"/>
+   <l:gentext key="See" text="Lihat"/>
+   <l:gentext key="seealso" text="Lihat Juga"/>
+   <l:gentext key="Seealso" text="Lihat juga"/>
+   <l:gentext key="SeeAlso" text="Lihat Juga"/>
+   <l:gentext key="set" text="Set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Indeks Set"/>
+   <l:gentext key="SetIndex" text="Indeks Set"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="tahap"/>
+   <l:gentext key="Step" text="Tahap"/>
+   <l:gentext key="table" text="Tabel"/>
+   <l:gentext key="Table" text="Tabel"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Tip"/>
+   <l:gentext key="TIP" text="TIP"/>
+   <l:gentext key="Tip" text="Tip"/>
+   <l:gentext key="Warning" text="Awas"/>
+   <l:gentext key="warning" text="Awas"/>
+   <l:gentext key="WARNING" text="AWAS"/>
+   <l:gentext key="and" text="dan"/>
+   <l:gentext key="by" text="oleh"/>
+   <l:gentext key="Edited" text="disunting"/>
+   <l:gentext key="edited" text="disunting"/>
+   <l:gentext key="Editedby" text="disunting oleh"/>
+   <l:gentext key="editedby" text="disunting oleh"/>
+   <l:gentext key="in" text="di"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="elemen tak tampak"/>
+   <l:gentext key="notes" text="Catatan"/>
+   <l:gentext key="Notes" text="Catatan"/>
+   <l:gentext key="Pgs" text="Hal."/>
+   <l:gentext key="pgs" text="Hal."/>
+   <l:gentext key="Revisedby" text="Direvisi oleh: "/>
+   <l:gentext key="revisedby" text="Direvisi oleh: "/>
+   <l:gentext key="TableNotes" text="Catatan"/>
+   <l:gentext key="tablenotes" text="Catatan"/>
+   <l:gentext key="TableofContents" text="Daftar Isi"/>
+   <l:gentext key="tableofcontents" text="Daftar Isi"/>
+   <l:gentext key="unexpectedelementname" text="Nama Elemen seharusnya tidak ada"/>
+   <l:gentext key="unsupported" text="tidak didukung"/>
+   <l:gentext key="xrefto" text="xref ke"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Daftar Persamaan"/>
+   <l:gentext key="ListofEquations" text="Daftar Persamaan"/>
+   <l:gentext key="ListofExamples" text="Daftar Teladan"/>
+   <l:gentext key="listofexamples" text="Daftar Teladan"/>
+   <l:gentext key="ListofFigures" text="Daftar Gambar"/>
+   <l:gentext key="listoffigures" text="Daftar Gambar"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Daftar Tabel"/>
+   <l:gentext key="ListofTables" text="Daftar Tabel"/>
+   <l:gentext key="ListofUnknown" text="Daftar Gaib"/>
+   <l:gentext key="listofunknown" text="Daftar Gaib"/>
+   <l:gentext key="nav-home" text="Depan"/>
+   <l:gentext key="nav-next" text="Lanjut"/>
+   <l:gentext key="nav-next-sibling" text="Lewati"/>
+   <l:gentext key="nav-prev" text="Kembali"/>
+   <l:gentext key="nav-prev-sibling" text="Sebelumnya"/>
+   <l:gentext key="nav-up" text="Induk"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Lampiran %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Bab %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Persamaan %n. %t"/>
+      <l:template name="example" text="Teladan %n. %t"/>
+      <l:template name="figure" text="Gambar %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Bagian %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Prosedur&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabel %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Lampiran %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="Bab %n. %t"/>
+      <l:template name="part" text="Bagian&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="Jawab:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Tanya:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Tanya:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="Jawab:&#160;%n"/>
+      <l:template name="appendix" text="Lampiran&#160;%n"/>
+      <l:template name="bridgehead" text="Bagian&#160;%n"/>
+      <l:template name="chapter" text="Bab&#160;%n"/>
+      <l:template name="equation" text="Persamaan&#160;%n"/>
+      <l:template name="example" text="Teladan&#160;%n"/>
+      <l:template name="figure" text="Gambar&#160;%n"/>
+      <l:template name="part" text="Bagian&#160;%n"/>
+      <l:template name="procedure" text="Prosedur&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="Tanya dan Jawab&#160;%n"/>
+      <l:template name="qandaentry" text="Tanya:&#160;%n"/>
+      <l:template name="question" text="Tanya:&#160;%n"/>
+      <l:template name="sect1" text="Bagian&#160;%n"/>
+      <l:template name="sect2" text="Bagian&#160;%n"/>
+      <l:template name="sect3" text="Bagian&#160;%n"/>
+      <l:template name="sect4" text="Bagian&#160;%n"/>
+      <l:template name="sect5" text="Bagian&#160;%n"/>
+      <l:template name="section" text="Bagian&#160;%n"/>
+      <l:template name="table" text="Tabel&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Lampiran&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Bab&#160;%n, %t"/>
+      <l:template name="equation" text="Persamaan&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Teladan&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Gambar&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Prosedur&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Tanya dan Jawab&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Bagian&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabel&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" dan "/>
+      <l:template name="seplast" text=", dan "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Lihat %t"/>
+      <l:template name="seealso" text="Lihat Juga %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Pemirsa: "/>
+      <l:template name="MsgLevel" text="Tingkatan: "/>
+      <l:template name="MsgOrig" text="Asal: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0421 Indonesian (INDONESIA)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/insertfile.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/insertfile.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/insertfile.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,111 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:xi="http://www.w3.org/2001/XInclude"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: insertfile.xsl 5262 2005-10-12 14:58:42Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<xsl:param name="textdata.default.encoding"></xsl:param>
+
+<!-- * This stylesheet makes a copy of a source tree, replacing all -->
+<!-- * instances of the following with corresponding Xinclude instances -->
+<!-- * in the result tree. -->
+<!-- * -->
+<!-- *   <textobject><textdata fileref="foo.txt"> -->
+<!-- *   <imagedata format="linespecific" fileref="foo.txt"> -->
+<!-- *   <inlinegraphic format="linespecific" fileref="foo.txt"> -->
+<!-- * -->
+<!-- * Those become: -->
+<!-- * -->
+<!-- *   <xi:include href="foo.txt" parse="text"/> -->
+<!-- * -->
+<!-- * It also works as expected with entityref in place of fileref, -->
+<!-- * and copies over the value of the <textdata>“encoding” atrribute (if -->
+<!-- * found). It is basically intended as an alternative to using the -->
+<!-- * DocBook XSLT Java insertfile() extension. -->
+
+<!-- ==================================================================== -->
+
+<xsl:template name="get.external.filename">
+  <xsl:choose>
+    <xsl:when test="@entityref">
+      <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="@fileref"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="textobject[child::textdata[@entityref|@fileref]]">
+  <xsl:apply-templates select="textdata"/>
+</xsl:template>
+
+<xsl:template match="textdata[@entityref|@fileref]">
+  <xsl:variable name="filename">
+    <xsl:call-template name="get.external.filename"/>
+  </xsl:variable>
+  <xsl:variable name="encoding">
+    <xsl:choose>
+      <xsl:when test="@encoding">
+        <xsl:value-of select="@encoding"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$textdata.default.encoding"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xi:include href="{$filename}" parse="text" encoding="{$encoding}"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template
+    match="inlinemediaobject
+           [child::imageobject
+           [child::imagedata
+           [@format = 'linespecific' and
+           (@entityref|@fileref)]]]">
+  <xsl:apply-templates select="imageobject/imagedata"/>
+</xsl:template>
+
+<xsl:template match="imagedata
+                     [@format = 'linespecific' and
+                     (@entityref|@fileref)]">
+  <xsl:variable name="filename">
+    <xsl:call-template name="get.external.filename"/>
+  </xsl:variable>
+  <xi:include href="{$filename}" parse="text" encoding="{$textdata.default.encoding}"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="inlinegraphic
+                     [@format = 'linespecific' and
+                     (@entityref|@fileref)]">
+  <xsl:variable name="filename">
+    <xsl:call-template name="get.external.filename"/>
+  </xsl:variable>
+  <xi:include href="{$filename}" parse="text" encoding="{$textdata.default.encoding}"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- * copy everything else into result tree as-is -->
+<xsl:template match="node() | @*">
+  <xsl:copy>
+    <xsl:apply-templates select="@* | node()"/>
+  </xsl:copy>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/common/it.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/it.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/it.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="it" english-language-name="Italian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/it.xml -->
+<!-- * -->
+<!-- * E-mail the edited it.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Estratto"/>
+   <l:gentext key="abstract" text="Estratto"/>
+   <l:gentext key="Answer" text="R:"/>
+   <l:gentext key="answer" text="R:"/>
+   <l:gentext key="Appendix" text="Appendice"/>
+   <l:gentext key="appendix" text="appendice"/>
+   <l:gentext key="Article" text="Articolo"/>
+   <l:gentext key="article" text="Articolo"/>
+   <l:gentext key="Author" text="Autori"/>
+   <l:gentext key="Bibliography" text="Bibliografia"/>
+   <l:gentext key="bibliography" text="Bibliografia"/>
+   <l:gentext key="Book" text="Libro"/>
+   <l:gentext key="book" text="Libro"/>
+   <l:gentext key="CAUTION" text="ATTENZIONE"/>
+   <l:gentext key="Caution" text="Attenzione"/>
+   <l:gentext key="caution" text="Attenzione"/>
+   <l:gentext key="Chapter" text="Capitolo"/>
+   <l:gentext key="chapter" text="capitolo"/>
+   <l:gentext key="Colophon" text="Colophon"/>
+   <l:gentext key="colophon" text="Colophon"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Dedica"/>
+   <l:gentext key="dedication" text="Dedica"/>
+   <l:gentext key="Edition" text="Edizione"/>
+   <l:gentext key="edition" text="Edizione"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Equazione"/>
+   <l:gentext key="equation" text="Equazione"/>
+   <l:gentext key="Example" text="Esempio"/>
+   <l:gentext key="example" text="Esempio"/>
+   <l:gentext key="Figure" text="Figura"/>
+   <l:gentext key="figure" text="Figura"/>
+   <l:gentext key="Glossary" text="Glossario"/>
+   <l:gentext key="glossary" text="Glossario"/>
+   <l:gentext key="GlossSee" text="Vedi"/>
+   <l:gentext key="glosssee" text="Vedi"/>
+   <l:gentext key="GlossSeeAlso" text="Vedi Anche"/>
+   <l:gentext key="glossseealso" text="Vedi Anche"/>
+   <l:gentext key="IMPORTANT" text="IMPORTANTE"/>
+   <l:gentext key="important" text="Importante"/>
+   <l:gentext key="Important" text="Importante"/>
+   <l:gentext key="Index" text="Indice"/>
+   <l:gentext key="index" text="Indice"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Note Legali"/>
+   <l:gentext key="legalnotice" text="Note Legali"/>
+   <l:gentext key="MsgAud" text="Pubblico"/>
+   <l:gentext key="msgaud" text="Pubblico"/>
+   <l:gentext key="MsgLevel" text="Livello"/>
+   <l:gentext key="msglevel" text="Livello"/>
+   <l:gentext key="MsgOrig" text="Origine"/>
+   <l:gentext key="msgorig" text="Origine"/>
+   <l:gentext key="NOTE" text="NOTA"/>
+   <l:gentext key="Note" text="Nota"/>
+   <l:gentext key="note" text="Nota"/>
+   <l:gentext key="Part" text="Parte"/>
+   <l:gentext key="part" text="Parte"/>
+   <l:gentext key="Preface" text="Prefazione"/>
+   <l:gentext key="preface" text="Prefazione"/>
+   <l:gentext key="Procedure" text="Procedura"/>
+   <l:gentext key="procedure" text="Procedura"/>
+   <l:gentext key="ProductionSet" text="Produzione"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Pubblicato"/>
+   <l:gentext key="published" text="Pubblicato"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="D e R"/>
+   <l:gentext key="qandadiv" text="D e R"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="D:"/>
+   <l:gentext key="question" text="D:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Riferimento"/>
+   <l:gentext key="reference" text="Riferimento"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Nome"/>
+   <l:gentext key="refname" text="Nome"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Sinossi"/>
+   <l:gentext key="refsynopsisdiv" text="Sinossi"/>
+   <l:gentext key="RevHistory" text="Diario delle Revisioni"/>
+   <l:gentext key="revhistory" text="Diario delle Revisioni"/>
+   <l:gentext key="revision" text="Revisione"/>
+   <l:gentext key="Revision" text="Revisione"/>
+   <l:gentext key="sect1" text="Sezione"/>
+   <l:gentext key="sect2" text="Sezione"/>
+   <l:gentext key="sect3" text="Sezione"/>
+   <l:gentext key="sect4" text="Sezione"/>
+   <l:gentext key="sect5" text="Sezione"/>
+   <l:gentext key="section" text="Sezione"/>
+   <l:gentext key="Section" text="Sezione"/>
+   <l:gentext key="see" text="Vd."/>
+   <l:gentext key="See" text="Vd."/>
+   <l:gentext key="seealso" text="Vd. Anche"/>
+   <l:gentext key="Seealso" text="Vd. anche"/>
+   <l:gentext key="SeeAlso" text="Vd. Anche"/>
+   <l:gentext key="set" text="Raccolta"/>
+   <l:gentext key="Set" text="Raccolta"/>
+   <l:gentext key="setindex" text="Indice Raccolta"/>
+   <l:gentext key="SetIndex" text="Indice Raccolta"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="nota a margine"/>
+   <l:gentext key="step" text="passo"/>
+   <l:gentext key="Step" text="Passo"/>
+   <l:gentext key="table" text="Tabella"/>
+   <l:gentext key="Table" text="Tabella"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Suggerimento"/>
+   <l:gentext key="TIP" text="SUGGERIMENTO"/>
+   <l:gentext key="Tip" text="Suggerimento"/>
+   <l:gentext key="Warning" text="Avvertimento"/>
+   <l:gentext key="warning" text="avvertimento"/>
+   <l:gentext key="WARNING" text="AVVERTIMENTO"/>
+   <l:gentext key="and" text="e"/>
+   <l:gentext key="by" text="di"/>
+   <l:gentext key="Edited" text="A cura"/>
+   <l:gentext key="edited" text="A cura"/>
+   <l:gentext key="Editedby" text="A cura di"/>
+   <l:gentext key="editedby" text="A cura di"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="elemento non esistente"/>
+   <l:gentext key="notes" text="Note"/>
+   <l:gentext key="Notes" text="Note"/>
+   <l:gentext key="Pgs" text="pp."/>
+   <l:gentext key="pgs" text="pp."/>
+   <l:gentext key="Revisedby" text="Revisionato da: "/>
+   <l:gentext key="revisedby" text="Revisionato da: "/>
+   <l:gentext key="TableNotes" text="Note"/>
+   <l:gentext key="tablenotes" text="Note"/>
+   <l:gentext key="TableofContents" text="Sommario"/>
+   <l:gentext key="tableofcontents" text="Sommario"/>
+   <l:gentext key="unexpectedelementname" text="Nome elemento inaspettato"/>
+   <l:gentext key="unsupported" text="non supportato"/>
+   <l:gentext key="xrefto" text="riferimento a"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Lista delle Equazioni"/>
+   <l:gentext key="ListofEquations" text="Lista delle Equazioni"/>
+   <l:gentext key="ListofExamples" text="Lista degli Esempi"/>
+   <l:gentext key="listofexamples" text="Lista degli Esempi"/>
+   <l:gentext key="ListofFigures" text="Lista delle Figure"/>
+   <l:gentext key="listoffigures" text="Lista delle Figure"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Lista delle Tabelle"/>
+   <l:gentext key="ListofTables" text="Lista delle Tabelle"/>
+   <l:gentext key="ListofUnknown" text="Lista degli Sconosciuti"/>
+   <l:gentext key="listofunknown" text="Lista degli Sconosciuti"/>
+   <l:gentext key="nav-home" text="Partenza"/>
+   <l:gentext key="nav-next" text="Avanti"/>
+   <l:gentext key="nav-next-sibling" text="Salta Avanti"/>
+   <l:gentext key="nav-prev" text="Indietro"/>
+   <l:gentext key="nav-prev-sibling" text="Salta Indietro"/>
+   <l:gentext key="nav-up" text="Risali"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Bozza"/>
+   <l:gentext key="above" text="sopra"/>
+   <l:gentext key="below" text="sotto"/>
+   <l:gentext key="sectioncalled" text="la sezione chiamata"/>
+   <l:gentext key="index symbols" text="Simboli"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#171;"/>
+   <l:dingbat key="endquote" text="&#187;"/>
+   <l:dingbat key="nestedstartquote" text="&#8220;"/>
+   <l:dingbat key="nestedendquote" text="&#8221;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Appendice&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Capitolo&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Equazione&#160;%n.&#160;%t"/>
+      <l:template name="example" text="Esempio&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="Figura&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Parte&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Procedura&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Produzione&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabella&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Appendice&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Capitolo&#160;%n.&#160;%t"/>
+      <l:template name="part" text="Parte&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="R:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="D:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="D:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="refsection" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="refsect1" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="refsect2" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="refsect3" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="sect1" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="sect2" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="sect3" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="sect4" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="sect5" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="section" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="simplesect" text="la sezione chiamata &#171;%t&#187;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="R:&#160;%n"/>
+      <l:template name="appendix" text="Appendice&#160;%n"/>
+      <l:template name="bridgehead" text="Sezione&#160;%n"/>
+      <l:template name="chapter" text="Capitolo&#160;%n"/>
+      <l:template name="equation" text="Equazione&#160;%n"/>
+      <l:template name="example" text="Esempio&#160;%n"/>
+      <l:template name="figure" text="Figura&#160;%n"/>
+      <l:template name="part" text="Parte&#160;%n"/>
+      <l:template name="procedure" text="Procedura&#160;%n"/>
+      <l:template name="productionset" text="Produzione&#160;%n"/>
+      <l:template name="qandadiv" text="D e R&#160;%n"/>
+      <l:template name="qandaentry" text="D:&#160;%n"/>
+      <l:template name="question" text="D:&#160;%n"/>
+      <l:template name="sect1" text="Sezione&#160;%n"/>
+      <l:template name="sect2" text="Sezione&#160;%n"/>
+      <l:template name="sect3" text="Sezione&#160;%n"/>
+      <l:template name="sect4" text="Sezione&#160;%n"/>
+      <l:template name="sect5" text="Sezione&#160;%n"/>
+      <l:template name="section" text="Sezione&#160;%n"/>
+      <l:template name="table" text="Tabella&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Appendice&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Sezione&#160;%n, &#171;%t&#187;"/>
+      <l:template name="chapter" text="Capitolo&#160;%n, %t"/>
+      <l:template name="equation" text="Equazione&#160;%n, &#171;%t&#187;"/>
+      <l:template name="example" text="Esempio&#160;%n, &#171;%t&#187;"/>
+      <l:template name="figure" text="Figura&#160;%n, &#171;%t&#187;"/>
+      <l:template name="part" text="Parte&#160;%n, &#171;%t&#187;"/>
+      <l:template name="procedure" text="Procedura&#160;%n, &#171;%t&#187;"/>
+      <l:template name="productionset" text="Produzione&#160;%n, &#171;%t&#187;"/>
+      <l:template name="qandadiv" text="D e R&#160;%n, &#171;%t&#187;"/>
+      <l:template name="refsect1" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="refsect2" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="refsect3" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="refsection" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="sect1" text="Sezione&#160;%n, &#171;%t&#187;"/>
+      <l:template name="sect2" text="Sezione&#160;%n, &#171;%t&#187;"/>
+      <l:template name="sect3" text="Sezione&#160;%n, &#171;%t&#187;"/>
+      <l:template name="sect4" text="Sezione&#160;%n, &#171;%t&#187;"/>
+      <l:template name="sect5" text="Sezione&#160;%n, &#171;%t&#187;"/>
+      <l:template name="section" text="Sezione&#160;%n, &#171;%t&#187;"/>
+      <l:template name="simplesect" text="la sezione chiamata &#171;%t&#187;"/>
+      <l:template name="table" text="Tabella&#160;%n, &#171;%t&#187;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" e "/>
+      <l:template name="seplast" text=", e "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Vedi %t"/>
+      <l:template name="seealso" text="Vedi Anche %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Pubblico: "/>
+      <l:template name="MsgLevel" text="Livello: "/>
+      <l:template name="MsgOrig" text="Origine: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d/m/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="gennaio"/>
+      <l:template name="February" text="febbraio"/>
+      <l:template name="March" text="marzo"/>
+      <l:template name="April" text="aprile"/>
+      <l:template name="May" text="maggio"/>
+      <l:template name="June" text="giugno"/>
+      <l:template name="July" text="luglio"/>
+      <l:template name="August" text="agosto"/>
+      <l:template name="September" text="settebre"/>
+      <l:template name="October" text="ottobre"/>
+      <l:template name="November" text="novembre"/>
+      <l:template name="December" text="dicembre"/>
+      <l:template name="Monday" text="luned&#236;"/>
+      <l:template name="Tuesday" text="marted&#236;"/>
+      <l:template name="Wednesday" text="mercoled&#236;"/>
+      <l:template name="Thursday" text="gioved&#236;"/>
+      <l:template name="Friday" text="venerd&#236;"/>
+      <l:template name="Saturday" text="sabato"/>
+      <l:template name="Sunday" text="domenica"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="gen"/>
+      <l:template name="Feb" text="feb"/>
+      <l:template name="Mar" text="mar"/>
+      <l:template name="Apr" text="apr"/>
+      <l:template name="May" text="mag"/>
+      <l:template name="Jun" text="giu"/>
+      <l:template name="Jul" text="ago"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="set"/>
+      <l:template name="Oct" text="ott"/>
+      <l:template name="Nov" text="nov"/>
+      <l:template name="Dec" text="dic"/>
+      <l:template name="Mon" text="lun"/>
+      <l:template name="Tue" text="mar"/>
+      <l:template name="Wed" text="mer"/>
+      <l:template name="Thu" text="gio"/>
+      <l:template name="Fri" text="ven"/>
+      <l:template name="Sat" text="sab"/>
+      <l:template name="Sun" text="dom"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0410 Italian"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/ja.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/ja.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/ja.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ja" english-language-name="Japanese">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/ja.xml -->
+<!-- * -->
+<!-- * E-mail the edited ja.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#27010;&#35201;"/>
+   <l:gentext key="abstract" text="&#27010;&#35201;"/>
+   <l:gentext key="Answer" text="&#31572;&#65306;"/>
+   <l:gentext key="answer" text="&#31572;&#65306;"/>
+   <l:gentext key="Appendix" text="&#20184;&#37682;"/>
+   <l:gentext key="appendix" text="&#20184;&#37682;"/>
+   <l:gentext key="Article" text="&#38917;&#30446;"/>
+   <l:gentext key="article" text="&#38917;&#30446;"/>
+   <l:gentext key="Author" text="&#33879;&#32773;"/>
+   <l:gentext key="Bibliography" text="&#21442;&#32771;&#25991;&#29486;"/>
+   <l:gentext key="bibliography" text="&#21442;&#32771;&#25991;&#29486;"/>
+   <l:gentext key="Book" text="&#12502;&#12483;&#12463;"/>
+   <l:gentext key="book" text="&#12502;&#12483;&#12463;"/>
+   <l:gentext key="CAUTION" text="&#27880;&#24847;"/>
+   <l:gentext key="Caution" text="&#27880;&#24847;"/>
+   <l:gentext key="caution" text="&#27880;&#24847;"/>
+   <l:gentext key="Chapter" text="&#31456;"/>
+   <l:gentext key="chapter" text="&#31456;"/>
+   <l:gentext key="Colophon" text="&#22885;&#20184;"/>
+   <l:gentext key="colophon" text="&#22885;&#20184;"/>
+   <l:gentext key="Copyright" text="&#35069;&#20316;&#33879;&#20316;"/>
+   <l:gentext key="copyright" text="&#35069;&#20316;&#33879;&#20316;"/>
+   <l:gentext key="Dedication" text="&#35613;&#36766;"/>
+   <l:gentext key="dedication" text="&#35613;&#36766;"/>
+   <l:gentext key="Edition" text="&#32232;&#38598;"/>
+   <l:gentext key="edition" text="&#32232;&#38598;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#24335;"/>
+   <l:gentext key="equation" text="&#24335;"/>
+   <l:gentext key="Example" text="&#20363;"/>
+   <l:gentext key="example" text="&#20363;"/>
+   <l:gentext key="Figure" text="&#22259;"/>
+   <l:gentext key="figure" text="&#22259;"/>
+   <l:gentext key="Glossary" text="&#29992;&#35486;&#38598;"/>
+   <l:gentext key="glossary" text="&#29992;&#35486;&#38598;"/>
+   <l:gentext key="GlossSee" text="&#21442;&#29031;"/>
+   <l:gentext key="glosssee" text="&#21442;&#29031;"/>
+   <l:gentext key="GlossSeeAlso" text="&#21442;&#29031;"/>
+   <l:gentext key="glossseealso" text="&#21442;&#29031;"/>
+   <l:gentext key="IMPORTANT" text="&#37325;&#35201;&#38917;&#30446;"/>
+   <l:gentext key="important" text="&#37325;&#35201;&#38917;&#30446;"/>
+   <l:gentext key="Important" text="&#37325;&#35201;&#38917;&#30446;"/>
+   <l:gentext key="Index" text="&#30446;&#27425;"/>
+   <l:gentext key="index" text="&#30446;&#27425;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Legal Notice"/>
+   <l:gentext key="legalnotice" text="Legal Notice"/>
+   <l:gentext key="MsgAud" text="&#23550;&#35937;&#32773;"/>
+   <l:gentext key="msgaud" text="&#23550;&#35937;&#32773;"/>
+   <l:gentext key="MsgLevel" text="&#12524;&#12505;&#12523;"/>
+   <l:gentext key="msglevel" text="&#12524;&#12505;&#12523;"/>
+   <l:gentext key="MsgOrig" text="&#30330;&#20449;&#20803;"/>
+   <l:gentext key="msgorig" text="&#30330;&#20449;&#20803;"/>
+   <l:gentext key="NOTE" text="&#27880;&#24847;"/>
+   <l:gentext key="Note" text="&#27880;&#24847;"/>
+   <l:gentext key="note" text="&#27880;&#24847;"/>
+   <l:gentext key="Part" text="&#12497;&#12540;&#12488;"/>
+   <l:gentext key="part" text="&#12497;&#12540;&#12488;"/>
+   <l:gentext key="Preface" text="&#24207;&#25991;"/>
+   <l:gentext key="preface" text="&#24207;&#25991;"/>
+   <l:gentext key="Procedure" text="&#25163;&#38918;"/>
+   <l:gentext key="procedure" text="&#25163;&#38918;"/>
+   <l:gentext key="ProductionSet" text="&#12503;&#12525;&#12480;&#12463;&#12471;&#12519;&#12531;"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="&#30330;&#34892;"/>
+   <l:gentext key="published" text="&#30330;&#34892;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#21839;&#65306;&#12289;&#31572;&#65306;"/>
+   <l:gentext key="qandadiv" text="&#21839;&#65306;&#12289;&#31572;&#65306;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#21839;&#65306;"/>
+   <l:gentext key="question" text="&#21839;&#65306;"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#21442;&#29031;"/>
+   <l:gentext key="reference" text="&#21442;&#29031;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#21517;&#21069;"/>
+   <l:gentext key="refname" text="&#21517;&#21069;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#27010;&#35201;"/>
+   <l:gentext key="refsynopsisdiv" text="&#27010;&#35201;"/>
+   <l:gentext key="RevHistory" text="&#25913;&#35330;&#23653;&#27508;"/>
+   <l:gentext key="revhistory" text="&#25913;&#35330;&#23653;&#27508;"/>
+   <l:gentext key="revision" text="&#25913;&#35330;"/>
+   <l:gentext key="Revision" text="&#25913;&#35330;"/>
+   <l:gentext key="sect1" text="&#38917;"/>
+   <l:gentext key="sect2" text="&#38917;"/>
+   <l:gentext key="sect3" text="&#38917;"/>
+   <l:gentext key="sect4" text="&#38917;"/>
+   <l:gentext key="sect5" text="&#38917;"/>
+   <l:gentext key="section" text="&#38917;"/>
+   <l:gentext key="Section" text="&#38917;"/>
+   <l:gentext key="see" text="&#21442;&#29031;"/>
+   <l:gentext key="See" text="&#21442;&#29031;"/>
+   <l:gentext key="seealso" text="&#21442;&#29031;"/>
+   <l:gentext key="Seealso" text="&#21442;&#29031;"/>
+   <l:gentext key="SeeAlso" text="&#21442;&#29031;"/>
+   <l:gentext key="set" text="&#35373;&#23450;"/>
+   <l:gentext key="Set" text="&#35373;&#23450;"/>
+   <l:gentext key="setindex" text="&#30446;&#27425;&#35373;&#23450;"/>
+   <l:gentext key="SetIndex" text="&#30446;&#27425;&#35373;&#23450;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="&#12469;&#12452;&#12489;&#12496;&#12540;"/>
+   <l:gentext key="step" text="&#12473;&#12486;&#12483;&#12503;"/>
+   <l:gentext key="Step" text="&#12473;&#12486;&#12483;&#12503;"/>
+   <l:gentext key="table" text="&#34920;"/>
+   <l:gentext key="Table" text="&#34920;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#12486;&#12451;&#12483;&#12503;"/>
+   <l:gentext key="TIP" text="&#12486;&#12451;&#12483;&#12503;"/>
+   <l:gentext key="Tip" text="&#12486;&#12451;&#12483;&#12503;"/>
+   <l:gentext key="Warning" text="&#35686;&#21578;"/>
+   <l:gentext key="warning" text="&#35686;&#21578;"/>
+   <l:gentext key="WARNING" text="&#35686;&#21578;"/>
+   <l:gentext key="and" text="&#12289;"/>
+   <l:gentext key="by" text="&#65306;"/>
+   <l:gentext key="Edited" text="&#32232;&#32773;"/>
+   <l:gentext key="edited" text="&#32232;&#32773;"/>
+   <l:gentext key="Editedby" text="&#32232;&#32773;&#65306;"/>
+   <l:gentext key="editedby" text="&#32232;&#32773;&#65306;"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#35201;&#32032;&#12364;&#23384;&#22312;&#12375;&#12414;&#12379;&#12435;"/>
+   <l:gentext key="notes" text="&#27880;&#24847;"/>
+   <l:gentext key="Notes" text="&#27880;&#24847;"/>
+   <l:gentext key="Pgs" text="&#20583;&#29486;"/>
+   <l:gentext key="pgs" text="&#20583;&#29486;"/>
+   <l:gentext key="Revisedby" text="Revised by: "/>
+   <l:gentext key="revisedby" text="Revised by: "/>
+   <l:gentext key="TableNotes" text="&#27880;&#24847;"/>
+   <l:gentext key="tablenotes" text="&#27880;&#24847;"/>
+   <l:gentext key="TableofContents" text="&#30446;&#27425;"/>
+   <l:gentext key="tableofcontents" text="&#30446;&#27425;"/>
+   <l:gentext key="unexpectedelementname" text="&#19981;&#26126;&#12394;&#35201;&#32032;&#21517;"/>
+   <l:gentext key="unsupported" text="&#12469;&#12509;&#12540;&#12488;&#12375;&#12414;&#12379;&#12435;"/>
+   <l:gentext key="xrefto" text="xref to"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#24335;&#30446;&#27425;"/>
+   <l:gentext key="ListofEquations" text="&#24335;&#30446;&#27425;"/>
+   <l:gentext key="ListofExamples" text="&#20363;&#30446;&#27425;"/>
+   <l:gentext key="listofexamples" text="&#20363;&#30446;&#27425;"/>
+   <l:gentext key="ListofFigures" text="&#22259;&#30446;&#27425;"/>
+   <l:gentext key="listoffigures" text="&#22259;&#30446;&#27425;"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="&#34920;&#30446;&#27425;"/>
+   <l:gentext key="ListofTables" text="&#34920;&#30446;&#27425;"/>
+   <l:gentext key="ListofUnknown" text="&#19981;&#26126;&#30446;&#27425;"/>
+   <l:gentext key="listofunknown" text="&#19981;&#26126;&#30446;&#27425;"/>
+   <l:gentext key="nav-home" text="&#12507;&#12540;&#12512;"/>
+   <l:gentext key="nav-next" text="&#27425;&#12398;&#12506;&#12540;&#12472;"/>
+   <l:gentext key="nav-next-sibling" text="&#26089;&#36865;&#12426;"/>
+   <l:gentext key="nav-prev" text="&#21069;&#12398;&#12506;&#12540;&#12472;"/>
+   <l:gentext key="nav-prev-sibling" text="&#24059;&#25147;&#12375;"/>
+   <l:gentext key="nav-up" text="&#19978;&#12395;&#25147;&#12427;"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="&#12471;&#12531;&#12508;&#12523;"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz" lang="en"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ" lang="en"/>
+   <l:dingbat key="startquote" text="&#12300;"/>
+   <l:dingbat key="endquote" text="&#12301;"/>
+   <l:dingbat key="nestedstartquote" text="&#12302;"/>
+   <l:dingbat key="nestedendquote" text="&#12303;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#9679;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="family-given"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#20184;&#37682; %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#31532;%n&#31456; %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#24335; %n. %t"/>
+      <l:template name="example" text="&#20363; %n. %t"/>
+      <l:template name="figure" text="&#22259; %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#12497;&#12540;&#12488; %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#25163;&#38918; %n. %t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#12503;&#12525;&#12480;&#12463;&#12471;&#12519;&#12531; %n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#34920; %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#20184;&#37682; %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n. %t"/>
+      <l:template name="chapter" text="&#31532;%n&#31456; %t"/>
+      <l:template name="part" text="&#12497;&#12540;&#12488;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#31572;&#65306;&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#21839;&#65306;&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#21839;&#65306;&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="%t&#38917;"/>
+      <l:template name="refsection" text="%t&#38917;"/>
+      <l:template name="refsect1" text="%t&#38917;"/>
+      <l:template name="refsect2" text="%t&#38917;"/>
+      <l:template name="refsect3" text="%t&#38917;"/>
+      <l:template name="sect1" text="%t&#38917;"/>
+      <l:template name="sect2" text="%t&#38917;"/>
+      <l:template name="sect3" text="%t&#38917;"/>
+      <l:template name="sect4" text="%t&#38917;"/>
+      <l:template name="sect5" text="%t&#38917;"/>
+      <l:template name="section" text="%t&#38917;"/>
+      <l:template name="simplesect" text="%t&#38917;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#31572;&#65306;&#160;%n"/>
+      <l:template name="appendix" text="&#20184;&#37682;%n"/>
+      <l:template name="bridgehead" text="&#38917;&#160;%n"/>
+      <l:template name="chapter" text="&#31532;%n&#31456;"/>
+      <l:template name="equation" text="&#24335;&#160;%n"/>
+      <l:template name="example" text="&#20363;&#160;%n"/>
+      <l:template name="figure" text="&#22259;&#160;%n"/>
+      <l:template name="part" text="&#12497;&#12540;&#12488;&#160;%n"/>
+      <l:template name="procedure" text="&#25163;&#38918;&#160;%n"/>
+      <l:template name="productionset" text="&#12503;&#12525;&#12480;&#12463;&#12471;&#12519;&#12531;&#160;%n"/>
+      <l:template name="qandadiv" text="&#21839;&#65306;&#12289;&#31572;&#65306;&#160;%n"/>
+      <l:template name="qandaentry" text="&#21839;&#65306;&#160;%n"/>
+      <l:template name="question" text="&#21839;&#65306;&#160;%n"/>
+      <l:template name="sect1" text="&#38917;%n"/>
+      <l:template name="sect2" text="&#38917;%n"/>
+      <l:template name="sect3" text="&#38917;%n"/>
+      <l:template name="sect4" text="&#38917;%n"/>
+      <l:template name="sect5" text="&#38917;%n"/>
+      <l:template name="section" text="&#38917;%n"/>
+      <l:template name="table" text="&#34920;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#20184;&#37682;&#160;%n. %t"/>
+      <l:template name="bridgehead" text="&#38917;&#160;%n. &#12300;%t&#12301;"/>
+      <l:template name="chapter" text="&#31456;&#160;%n. %t"/>
+      <l:template name="equation" text="&#24335;&#160;%n. &#12300;%t&#12301;"/>
+      <l:template name="example" text="&#20363;&#160;%n. &#12300;%t&#12301;"/>
+      <l:template name="figure" text="&#22259;&#160;%n. &#12300;%t&#12301;"/>
+      <l:template name="part" text="&#12497;&#12540;&#12488;&#160;%n. &#12300;%t&#12301;"/>
+      <l:template name="procedure" text="&#25163;&#38918;&#160;%n. &#12300;%t&#12301;"/>
+      <l:template name="productionset" text="&#12503;&#12525;&#12480;&#12463;&#12471;&#12519;&#12531;&#160;%n. &#12300;%t&#12301;"/>
+      <l:template name="qandadiv" text="&#21839;&#65306;&#12289;&#31572;&#65306;&#160;%n. &#12300;%t&#12301;"/>
+      <l:template name="refsect1" text="&#12300;%t&#12301;"/>
+      <l:template name="refsect2" text="&#12300;%t&#12301;"/>
+      <l:template name="refsect3" text="&#12300;%t&#12301;"/>
+      <l:template name="refsection" text="&#12300;%t&#12301;"/>
+      <l:template name="sect1" text="&#38917;%n. &#12300;%t&#12301;"/>
+      <l:template name="sect2" text="&#38917;%n. &#12300;%t&#12301;"/>
+      <l:template name="sect3" text="&#38917;%n. &#12300;%t&#12301;"/>
+      <l:template name="sect4" text="&#38917;%n. &#12300;%t&#12301;"/>
+      <l:template name="sect5" text="&#38917;%n. &#12300;%t&#12301;"/>
+      <l:template name="section" text="&#38917;%n. &#12300;%t&#12301;"/>
+      <l:template name="simplesect" text="&#12300;%t&#12301;"/>
+      <l:template name="table" text="&#34920;&#160;%n. &#12300;%t&#12301;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#12289; "/>
+      <l:template name="seplast" text=", &#12289; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#21442;&#29031; %t"/>
+      <l:template name="seealso" text="&#21442;&#29031; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#23550;&#35937;&#32773;: "/>
+      <l:template name="MsgLevel" text="&#12524;&#12505;&#12523;: "/>
+      <l:template name="MsgOrig" text="&#30330;&#20449;&#20803;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0411 Japanese"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/kn.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/kn.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/kn.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="kn" english-language-name="Kannada">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/kn.xml -->
+<!-- * -->
+<!-- * E-mail the edited kn.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#3256;&#3262;&#3248;&#3262;&#3202;&#3254;"/>
+   <l:gentext key="abstract" text="&#3256;&#3262;&#3248;&#3262;&#3202;&#3254;"/>
+   <l:gentext key="Answer" text="&#3209;:"/>
+   <l:gentext key="answer" text="&#3209;:"/>
+   <l:gentext key="Appendix" text="&#3205;&#3240;&#3265;&#3244;&#3202;&#3239;"/>
+   <l:gentext key="appendix" text="&#3205;&#3240;&#3265;&#3244;&#3202;&#3239;"/>
+   <l:gentext key="Article" text="&#3250;&#3271;&#3222;&#3240;"/>
+   <l:gentext key="article" text="&#3250;&#3271;&#3222;&#3240;"/>
+   <l:gentext key="Author" text="&#3250;&#3271;&#3222;&#3221;"/>
+   <l:gentext key="Bibliography" text="Bibliography"/>
+   <l:gentext key="bibliography" text="Bibliography"/>
+   <l:gentext key="Book" text="&#3242;&#3265;&#3256;&#3277;&#3236;&#3221;"/>
+   <l:gentext key="book" text="&#3242;&#3265;&#3256;&#3277;&#3236;&#3221;"/>
+   <l:gentext key="CAUTION" text="&#3214;&#3226;&#3277;&#3226;&#3248;&#3263;&#3221;&#3270;"/>
+   <l:gentext key="Caution" text="&#3214;&#3226;&#3277;&#3226;&#3248;&#3263;&#3221;&#3270;"/>
+   <l:gentext key="caution" text="&#3214;&#3226;&#3277;&#3226;&#3248;&#3263;&#3221;&#3270;"/>
+   <l:gentext key="Chapter" text="&#3205;&#3239;&#3277;&#3247;&#3262;&#3247;"/>
+   <l:gentext key="chapter" text="&#3205;&#3239;&#3277;&#3247;&#3262;&#3247;"/>
+   <l:gentext key="Colophon" text="Colophon"/>
+   <l:gentext key="colophon" text="Colophon"/>
+   <l:gentext key="Copyright" text="&#3221;&#3267;&#3236;&#3263;&#3256;&#3277;&#3253;&#3262;&#3246;&#3277;&#3247;"/>
+   <l:gentext key="copyright" text="&#3221;&#3267;&#3236;&#3263;&#3256;&#3277;&#3253;&#3262;&#3246;&#3277;&#3247;"/>
+   <l:gentext key="Dedication" text="&#3256;&#3246;&#3248;&#3277;&#3242;&#3235;&#3270;"/>
+   <l:gentext key="dedication" text="&#3256;&#3246;&#3248;&#3277;&#3242;&#3235;&#3270;"/>
+   <l:gentext key="Edition" text="&#3206;&#3253;&#3267;&#3236;&#3277;&#3236;&#3263;"/>
+   <l:gentext key="edition" text="&#3206;&#3253;&#3267;&#3236;&#3277;&#3236;&#3263;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#3256;&#3246;&#3264;&#3221;&#3248;&#3235;"/>
+   <l:gentext key="equation" text="&#3256;&#3246;&#3264;&#3221;&#3248;&#3235;"/>
+   <l:gentext key="Example" text="&#3209;&#3238;&#3262;&#3257;&#3248;&#3235;&#3270;"/>
+   <l:gentext key="example" text="&#3209;&#3238;&#3262;&#3257;&#3248;&#3235;&#3270;"/>
+   <l:gentext key="Figure" text="&#3226;&#3263;&#3236;&#3277;&#3248;"/>
+   <l:gentext key="figure" text="&#3226;&#3263;&#3236;&#3277;&#3248;"/>
+   <l:gentext key="Glossary" text="&#3242;&#3262;&#3248;&#3263;&#3245;&#3262;&#3255;&#3263;&#3221;&#3221;&#3275;&#3254;"/>
+   <l:gentext key="glossary" text="&#3242;&#3262;&#3248;&#3263;&#3245;&#3262;&#3255;&#3263;&#3221;&#3221;&#3275;&#3254;"/>
+   <l:gentext key="GlossSee" text="&#3207;&#3238;&#3240;&#3277;&#3240;&#3265; &#3240;&#3275;&#3233;&#3263;"/>
+   <l:gentext key="glosssee" text="&#3207;&#3238;&#3240;&#3277;&#3240;&#3265; &#3240;&#3275;&#3233;&#3263;"/>
+   <l:gentext key="GlossSeeAlso" text="&#3207;&#3238;&#3240;&#3277;&#3240;&#3266; &#3256;&#3257; &#3240;&#3275;&#3233;&#3263;"/>
+   <l:gentext key="glossseealso" text="&#3207;&#3238;&#3240;&#3277;&#3240;&#3266; &#3256;&#3257; &#3240;&#3275;&#3233;&#3263;"/>
+   <l:gentext key="IMPORTANT" text="&#3246;&#3257;&#3236;&#3277;&#3253;"/>
+   <l:gentext key="important" text="&#3246;&#3257;&#3236;&#3277;&#3253;"/>
+   <l:gentext key="Important" text="&#3246;&#3257;&#3236;&#3277;&#3253;"/>
+   <l:gentext key="Index" text="&#3205;&#3240;&#3265;&#3221;&#3277;&#3248;&#3246;&#3235;&#3263;&#3221;&#3270;"/>
+   <l:gentext key="index" text="&#3205;&#3240;&#3265;&#3221;&#3277;&#3248;&#3246;&#3235;&#3263;&#3221;&#3270;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Legal Notice"/>
+   <l:gentext key="legalnotice" text="Legal Notice"/>
+   <l:gentext key="MsgAud" text="&#3254;&#3277;&#3248;&#3275;&#3236;&#3267;&#3223;&#3251;&#3265;"/>
+   <l:gentext key="msgaud" text="&#3254;&#3277;&#3248;&#3275;&#3236;&#3267;&#3223;&#3251;&#3265;"/>
+   <l:gentext key="MsgLevel" text="&#3256;&#3277;&#3236;&#3248;"/>
+   <l:gentext key="msglevel" text="&#3256;&#3277;&#3236;&#3248;"/>
+   <l:gentext key="MsgOrig" text="&#3246;&#3266;&#3250;"/>
+   <l:gentext key="msgorig" text="&#3246;&#3266;&#3250;"/>
+   <l:gentext key="NOTE" text="&#3256;&#3266;&#3226;&#3240;&#3270;"/>
+   <l:gentext key="Note" text="&#3256;&#3266;&#3226;&#3240;&#3270;"/>
+   <l:gentext key="note" text="&#3256;&#3266;&#3226;&#3240;&#3270;"/>
+   <l:gentext key="Part" text="&#3245;&#3262;&#3223;"/>
+   <l:gentext key="part" text="&#3245;&#3262;&#3223;"/>
+   <l:gentext key="Preface" text="&#3242;&#3264;&#3232;&#3263;&#3221;&#3270;"/>
+   <l:gentext key="preface" text="&#3242;&#3264;&#3232;&#3263;&#3221;&#3270;"/>
+   <l:gentext key="Procedure" text="&#3221;&#3262;&#3248;&#3277;&#3247;&#3253;&#3263;&#3239;&#3262;&#3240;"/>
+   <l:gentext key="procedure" text="&#3221;&#3262;&#3248;&#3277;&#3247;&#3253;&#3263;&#3239;&#3262;&#3240;"/>
+   <l:gentext key="ProductionSet" text="&#3240;&#3263;&#3248;&#3277;&#3246;&#3262;&#3235;"/>
+   <l:gentext key="PubDate" text="&#3242;&#3277;&#3248;&#3221;&#3231;&#3240;&#3270; &#3238;&#3263;&#3240;&#3262;&#3202;&#3221;"/>
+   <l:gentext key="pubdate" text="&#3242;&#3277;&#3248;&#3221;&#3231;&#3240;&#3270; &#3238;&#3263;&#3240;&#3262;&#3202;&#3221;"/>
+   <l:gentext key="Published" text="&#3242;&#3277;&#3248;&#3221;&#3262;&#3254;&#3242;&#3233;&#3263;&#3256;&#3263;&#3238;"/>
+   <l:gentext key="published" text="&#3242;&#3277;&#3248;&#3221;&#3262;&#3254;&#3242;&#3233;&#3263;&#3256;&#3263;&#3238;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#3242;&#3277;&#3248; &amp; &#3209;"/>
+   <l:gentext key="qandadiv" text="&#3242;&#3277;&#3248; &amp; &#3209;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#3242;&#3277;&#3248;:"/>
+   <l:gentext key="question" text="&#3242;&#3277;&#3248;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#3209;&#3250;&#3277;&#3250;&#3271;&#3222;"/>
+   <l:gentext key="reference" text="&#3209;&#3250;&#3277;&#3250;&#3271;&#3222;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#3257;&#3270;&#3256;&#3248;&#3265;"/>
+   <l:gentext key="refname" text="&#3257;&#3270;&#3256;&#3248;&#3265;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#3256;&#3262;&#3248;&#3262;&#3202;&#3254;"/>
+   <l:gentext key="refsynopsisdiv" text="&#3256;&#3262;&#3248;&#3262;&#3202;&#3254;"/>
+   <l:gentext key="RevHistory" text="&#3242;&#3265;&#3248;&#3262;&#3253;&#3267;&#3236;&#3277;&#3236; &#3242;&#3248;&#3263;&#3255;&#3277;&#3221;&#3248;&#3235;&#3270;"/>
+   <l:gentext key="revhistory" text="&#3242;&#3265;&#3248;&#3262;&#3253;&#3267;&#3236;&#3277;&#3236; &#3242;&#3248;&#3263;&#3255;&#3277;&#3221;&#3248;&#3235;&#3270;"/>
+   <l:gentext key="revision" text="&#3242;&#3248;&#3263;&#3255;&#3277;&#3221;&#3248;&#3235;&#3270;"/>
+   <l:gentext key="Revision" text="&#3242;&#3248;&#3263;&#3255;&#3277;&#3221;&#3248;&#3235;&#3270;"/>
+   <l:gentext key="sect1" text="&#3253;&#3263;&#3245;&#3262;&#3223;"/>
+   <l:gentext key="sect2" text="&#3253;&#3263;&#3245;&#3262;&#3223;"/>
+   <l:gentext key="sect3" text="&#3253;&#3263;&#3245;&#3262;&#3223;"/>
+   <l:gentext key="sect4" text="&#3253;&#3263;&#3245;&#3262;&#3223;"/>
+   <l:gentext key="sect5" text="&#3253;&#3263;&#3245;&#3262;&#3223;"/>
+   <l:gentext key="section" text="&#3253;&#3263;&#3245;&#3262;&#3223;"/>
+   <l:gentext key="Section" text="&#3253;&#3263;&#3245;&#3262;&#3223;"/>
+   <l:gentext key="see" text="&#3207;&#3238;&#3240;&#3277;&#3240;&#3265; &#3240;&#3275;&#3233;&#3263;"/>
+   <l:gentext key="See" text="&#3207;&#3238;&#3240;&#3277;&#3240;&#3265; &#3240;&#3275;&#3233;&#3263;"/>
+   <l:gentext key="seealso" text="&#3207;&#3238;&#3240;&#3277;&#3240;&#3266; &#3256;&#3257; &#3240;&#3275;&#3233;&#3263;"/>
+   <l:gentext key="Seealso" text="&#3207;&#3238;&#3240;&#3277;&#3240;&#3266; &#3256;&#3257; &#3240;&#3275;&#3233;&#3263;"/>
+   <l:gentext key="SeeAlso" text="&#3207;&#3238;&#3240;&#3277;&#3240;&#3266; &#3256;&#3257; &#3240;&#3275;&#3233;&#3263;"/>
+   <l:gentext key="set" text="&#3257;&#3274;&#3202;&#3238;&#3263;&#3256;&#3265;"/>
+   <l:gentext key="Set" text="&#3257;&#3274;&#3202;&#3238;&#3263;&#3256;&#3265;"/>
+   <l:gentext key="setindex" text="&#3205;&#3240;&#3265;&#3221;&#3277;&#3248;&#3246;&#3235;&#3263;&#3221;&#3270; &#3257;&#3274;&#3202;&#3238;&#3263;&#3256;&#3265;"/>
+   <l:gentext key="SetIndex" text="&#3205;&#3240;&#3265;&#3221;&#3277;&#3248;&#3246;&#3235;&#3263;&#3221;&#3270; &#3257;&#3274;&#3202;&#3238;&#3263;&#3256;&#3265;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="&#3257;&#3202;&#3236;"/>
+   <l:gentext key="Step" text="&#3257;&#3202;&#3236;"/>
+   <l:gentext key="table" text="&#3221;&#3275;&#3255;&#3277;&#3231;&#3221;"/>
+   <l:gentext key="Table" text="&#3221;&#3275;&#3255;&#3277;&#3231;&#3221;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#3221;&#3263;&#3253;&#3263;&#3246;&#3262;&#3236;&#3265;"/>
+   <l:gentext key="TIP" text="&#3221;&#3263;&#3253;&#3263;&#3246;&#3262;&#3236;&#3265;"/>
+   <l:gentext key="Tip" text="&#3221;&#3263;&#3253;&#3263;&#3246;&#3262;&#3236;&#3265;"/>
+   <l:gentext key="Warning" text="&#3214;&#3226;&#3277;&#3226;&#3248;&#3263;&#3221;&#3270;"/>
+   <l:gentext key="warning" text="&#3214;&#3226;&#3277;&#3226;&#3248;&#3263;&#3221;&#3270;"/>
+   <l:gentext key="WARNING" text="&#3214;&#3226;&#3277;&#3226;&#3248;&#3263;&#3221;&#3270;"/>
+   <l:gentext key="and" text="&#3246;&#3236;&#3277;&#3236;&#3265;"/>
+   <l:gentext key="by" text="&#3247;&#3263;&#3202;&#3238;"/>
+   <l:gentext key="Edited" text="&#3256;&#3202;&#3242;&#3262;&#3238;&#3263;&#3256;&#3263;&#3238;"/>
+   <l:gentext key="edited" text="&#3256;&#3202;&#3242;&#3262;&#3238;&#3263;&#3256;&#3263;&#3238;"/>
+   <l:gentext key="Editedby" text="&#3256;&#3202;&#3242;&#3262;&#3238;&#3221;"/>
+   <l:gentext key="editedby" text="&#3256;&#3202;&#3242;&#3262;&#3238;&#3221;"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="non-existant element"/>
+   <l:gentext key="notes" text="&#3231;&#3263;&#3242;&#3277;&#3242;&#3235;&#3263;"/>
+   <l:gentext key="Notes" text="&#3231;&#3263;&#3242;&#3277;&#3242;&#3235;&#3263;"/>
+   <l:gentext key="Pgs" text="&#3242;&#3265;&#3231;&#3223;&#3251;&#3265;."/>
+   <l:gentext key="pgs" text="&#3242;&#3265;&#3231;&#3223;&#3251;&#3265;."/>
+   <l:gentext key="Revisedby" text="Revised by: "/>
+   <l:gentext key="revisedby" text="Revised by: "/>
+   <l:gentext key="TableNotes" text="Notes"/>
+   <l:gentext key="tablenotes" text="Notes"/>
+   <l:gentext key="TableofContents" text="&#3253;&#3263;&#3255;&#3247;&#3262;&#3240;&#3265;&#3221;&#3277;&#3248;&#3246;&#3235;&#3263;&#3221;&#3270;"/>
+   <l:gentext key="tableofcontents" text="&#3253;&#3263;&#3255;&#3247;&#3262;&#3240;&#3265;&#3221;&#3277;&#3248;&#3246;&#3235;&#3263;&#3221;&#3270;"/>
+   <l:gentext key="unexpectedelementname" text="&#3205;&#3240;&#3263;&#3248;&#3264;&#3221;&#3277;&#3255;&#3263;&#3236; &#3253;&#3256;&#3277;&#3236;&#3265;&#3253;&#3263;&#3240; &#3257;&#3270;&#3256;&#3248;&#3265;"/>
+   <l:gentext key="unsupported" text="unsupported"/>
+   <l:gentext key="xrefto" text="xref to"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#3256;&#3246;&#3264;&#3221;&#3248;&#3235;&#3242;&#3231;&#3277;&#3231;&#3263; "/>
+   <l:gentext key="ListofEquations" text="&#3256;&#3246;&#3264;&#3221;&#3248;&#3235;&#3242;&#3231;&#3277;&#3231;&#3263; "/>
+   <l:gentext key="ListofExamples" text="List of Examples"/>
+   <l:gentext key="listofexamples" text="List of Examples"/>
+   <l:gentext key="ListofFigures" text="List of Figures"/>
+   <l:gentext key="listoffigures" text="List of Figures"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures"/>
+   <l:gentext key="listofprocedures" text="List of Procedures"/>
+   <l:gentext key="listoftables" text="List of Tables"/>
+   <l:gentext key="ListofTables" text="List of Tables"/>
+   <l:gentext key="ListofUnknown" text="List of Unknown"/>
+   <l:gentext key="listofunknown" text="List of Unknown"/>
+   <l:gentext key="nav-home" text="&#3246;&#3240;&#3270;"/>
+   <l:gentext key="nav-next" text="&#3246;&#3265;&#3202;&#3238;&#3263;&#3240;"/>
+   <l:gentext key="nav-next-sibling" text="Fast Forward"/>
+   <l:gentext key="nav-prev" text="&#3257;&#3263;&#3202;&#3238;&#3263;&#3240;"/>
+   <l:gentext key="nav-prev-sibling" text="Fast Backward"/>
+   <l:gentext key="nav-up" text="&#3246;&#3271;&#3250;&#3270;"/>
+   <l:gentext key="nav-toc" text="ToC"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#3205;&#3240;&#3265;&#3244;&#3202;&#3239;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#3205;&#3239;&#3277;&#3247;&#3262;&#3247;&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#3256;&#3246;&#3264;&#3221;&#3248;&#3235;&#160;%n.&#160;%t"/>
+      <l:template name="example" text="&#3209;&#3238;&#3262;&#3257;&#3248;&#3235;&#3270;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="&#3226;&#3263;&#3236;&#3277;&#3248;&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#3245;&#3262;&#3223;&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#3221;&#3262;&#3248;&#3277;&#3247;&#3253;&#3263;&#3239;&#3262;&#3240;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#3240;&#3263;&#3248;&#3277;&#3246;&#3262;&#3235;&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#3221;&#3275;&#3255;&#3277;&#3231;&#3221;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#3205;&#3240;&#3265;&#3244;&#3202;&#3239;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#3205;&#3239;&#3277;&#3247;&#3262;&#3247;&#160;%n.&#160;%t"/>
+      <l:template name="part" text="&#3245;&#3262;&#3223;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#3209;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#3242;&#3277;&#3248;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#3242;&#3277;&#3248;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o"/>
+      <l:template name="olink.page.citation" text=" (page %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)"/>
+      <l:template name="docname" text=" in %o"/>
+      <l:template name="docnamelong" text=" in the document titled %o"/>
+      <l:template name="pageabbrev" text="(p. %p)"/>
+      <l:template name="Page" text="Page %p"/>
+      <l:template name="bridgehead" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="section" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#3209;:&#160;%n"/>
+      <l:template name="appendix" text="&#3205;&#3240;&#3265;&#3244;&#3202;&#3239;&#160;%n"/>
+      <l:template name="bridgehead" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n"/>
+      <l:template name="chapter" text="&#3205;&#3239;&#3277;&#3247;&#3262;&#3247;&#160;%n"/>
+      <l:template name="equation" text="&#3256;&#3246;&#3264;&#3221;&#3248;&#3235;&#160;%n"/>
+      <l:template name="example" text="&#3209;&#3238;&#3262;&#3257;&#3248;&#3235;&#3270;&#160;%n"/>
+      <l:template name="figure" text="&#3226;&#3263;&#3236;&#3277;&#3248;&#160;%n"/>
+      <l:template name="part" text="&#3245;&#3262;&#3223;&#160;%n"/>
+      <l:template name="procedure" text="&#3221;&#3262;&#3248;&#3277;&#3247;&#3253;&#3263;&#3239;&#3262;&#3240;&#160;%n"/>
+      <l:template name="productionset" text="&#3240;&#3263;&#3248;&#3277;&#3246;&#3262;&#3235;&#160;%n"/>
+      <l:template name="qandadiv" text="&#3242;&#3277;&#3248; &amp; &#3209;&#160;%n"/>
+      <l:template name="qandaentry" text="&#3242;&#3277;&#3248;:&#160;%n"/>
+      <l:template name="question" text="&#3242;&#3277;&#3248;:&#160;%n"/>
+      <l:template name="sect1" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n"/>
+      <l:template name="sect2" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n"/>
+      <l:template name="sect3" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n"/>
+      <l:template name="sect4" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n"/>
+      <l:template name="sect5" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n"/>
+      <l:template name="section" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n"/>
+      <l:template name="table" text="&#3221;&#3275;&#3255;&#3277;&#3231;&#3221;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#3205;&#3240;&#3265;&#3244;&#3202;&#3239;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#3205;&#3239;&#3277;&#3247;&#3262;&#3247;&#160;%n, %t"/>
+      <l:template name="equation" text="&#3256;&#3246;&#3264;&#3221;&#3248;&#3235;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#3209;&#3238;&#3262;&#3257;&#3248;&#3235;&#3270;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#3226;&#3263;&#3236;&#3277;&#3248;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#3245;&#3262;&#3223;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#3221;&#3262;&#3248;&#3277;&#3247;&#3253;&#3263;&#3239;&#3262;&#3240;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="&#3240;&#3263;&#3248;&#3277;&#3246;&#3262;&#3235;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="&#3242;&#3277;&#3248; &amp; &#3209;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#3253;&#3263;&#3245;&#3262;&#3223;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="table" text="&#3221;&#3275;&#3255;&#3277;&#3231;&#3221;&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#3246;&#3236;&#3277;&#3236;&#3265; "/>
+      <l:template name="seplast" text=", &#3246;&#3236;&#3277;&#3236;&#3265; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#3207;&#3238;&#3240;&#3277;&#3240;&#3265; &#3240;&#3275;&#3233;&#3263; %t"/>
+      <l:template name="seealso" text="&#3207;&#3238;&#3240;&#3277;&#3240;&#3266; &#3256;&#3257; &#3240;&#3275;&#3233;&#3263; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#3254;&#3277;&#3248;&#3275;&#3236;&#3267;&#3223;&#3251;&#3265;: "/>
+      <l:template name="MsgLevel" text="&#3256;&#3277;&#3236;&#3248;: "/>
+      <l:template name="MsgOrig" text="&#3246;&#3266;&#3250;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d/m/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="&#3228;&#3240;&#3270;&#3253;&#3248;&#3263;"/>
+      <l:template name="February" text="&#3243;&#3270;&#3244;&#3277;&#3248;&#3265;&#3253;&#3248;&#3263;"/>
+      <l:template name="March" text="&#3246;&#3262;&#3248;&#3277;&#3226;&#3277;"/>
+      <l:template name="April" text="&#3215;&#3242;&#3277;&#3248;&#3250;&#3277;"/>
+      <l:template name="May" text="&#3246;&#3271;"/>
+      <l:template name="June" text="&#3228;&#3266;&#3240;&#3277;"/>
+      <l:template name="July" text="&#3228;&#3265;&#3250;&#3272;"/>
+      <l:template name="August" text="&#3205;&#3223;&#3255;&#3277;&#3231;"/>
+      <l:template name="September" text="&#3256;&#3270;&#3242;&#3277;&#3231;&#3270;&#3202;&#3244;&#3248;&#3277;"/>
+      <l:template name="October" text="&#3205;&#3221;&#3277;&#3231;&#3275;&#3244;&#3248;&#3277;"/>
+      <l:template name="November" text="&#3240;&#3253;&#3270;&#3202;&#3244;&#3248;&#3277;"/>
+      <l:template name="December" text="&#3233;&#3263;&#3256;&#3270;&#3202;&#3244;&#3248;&#3277;"/>
+      <l:template name="Monday" text="&#3256;&#3275;&#3246;&#3253;&#3262;&#3248;"/>
+      <l:template name="Tuesday" text="&#3246;&#3202;&#3223;&#3251;&#3253;&#3262;&#3248;"/>
+      <l:template name="Wednesday" text="&#3244;&#3265;&#3239;&#3253;&#3262;&#3248;"/>
+      <l:template name="Thursday" text="&#3223;&#3265;&#3248;&#3265;&#3253;&#3262;&#3248;"/>
+      <l:template name="Friday" text="&#3254;&#3265;&#3221;&#3277;&#3248;&#3253;&#3262;&#3248;"/>
+      <l:template name="Saturday" text="&#3254;&#3240;&#3263;&#3253;&#3262;&#3248;"/>
+      <l:template name="Sunday" text="&#3248;&#3253;&#3263;&#3253;&#3262;&#3248;"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="&#3228;&#3240;&#3270;&#3253;&#3248;&#3263;"/>
+      <l:template name="Feb" text="&#3243;&#3270;&#3244;&#3277;&#3248;&#3265;&#3253;&#3248;&#3263;"/>
+      <l:template name="Mar" text="&#3246;&#3262;&#3248;&#3277;&#3226;&#3277;"/>
+      <l:template name="Apr" text="&#3215;&#3242;&#3277;&#3248;&#3263;&#3250;&#3277;"/>
+      <l:template name="May" text="&#3246;&#3271;"/>
+      <l:template name="Jun" text="&#3228;&#3266;&#3240;&#3277;"/>
+      <l:template name="Jul" text="&#3228;&#3265;&#3250;&#3272;"/>
+      <l:template name="Aug" text="&#3205;&#3223;&#3255;&#3277;&#3231;"/>
+      <l:template name="Sep" text="&#3256;&#3270;&#3242;&#3277;&#3231;&#3270;&#3202;&#3244;&#3248;&#3277;"/>
+      <l:template name="Oct" text="&#3205;&#3221;&#3277;&#3231;&#3275;&#3244;&#3248;&#3277;"/>
+      <l:template name="Nov" text="&#3240;&#3253;&#3270;&#3202;&#3244;&#3248;&#3277;"/>
+      <l:template name="Dec" text="&#3233;&#3263;&#3256;&#3270;&#3202;&#3244;&#3248;&#3277;"/>
+      <l:template name="Mon" text="&#3256;&#3275;&#3246;"/>
+      <l:template name="Tue" text="&#3246;&#3202;&#3223;&#3251;"/>
+      <l:template name="Wed" text="&#3244;&#3265;&#3239;"/>
+      <l:template name="Thu" text="&#3223;&#3265;&#3248;&#3265;"/>
+      <l:template name="Fri" text="&#3254;&#3265;&#3221;&#3277;&#3248;"/>
+      <l:template name="Sat" text="&#3254;&#3240;&#3263;"/>
+      <l:template name="Sun" text="&#3248;&#3253;&#3263;"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x044b Kannada (INDIA)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/ko.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/ko.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/ko.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ko" english-language-name="Korean">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/ko.xml -->
+<!-- * -->
+<!-- * E-mail the edited ko.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#52488;&#47197;"/>
+   <l:gentext key="abstract" text="&#52488;&#47197;"/>
+   <l:gentext key="Answer" text="&#45813;&#48320;"/>
+   <l:gentext key="answer" text="&#45813;&#48320;"/>
+   <l:gentext key="Appendix" text="&#48512;&#47197;"/>
+   <l:gentext key="appendix" text="&#48512;&#47197;"/>
+   <l:gentext key="Article" text="&#47928;&#49436;"/>
+   <l:gentext key="article" text="&#47928;&#49436;"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="&#49436;&#51648;&#49324;&#54637;"/>
+   <l:gentext key="bibliography" text="&#49436;&#51648;&#49324;&#54637;"/>
+   <l:gentext key="Book" text="&#52293;"/>
+   <l:gentext key="book" text="&#52293;"/>
+   <l:gentext key="CAUTION" text="[&#44221;&#44256;]"/>
+   <l:gentext key="Caution" text="&#44221;&#44256;"/>
+   <l:gentext key="caution" text="&#44221;&#44256;"/>
+   <l:gentext key="Chapter" text="&#51109;"/>
+   <l:gentext key="chapter" text="&#51109;"/>
+   <l:gentext key="Colophon" text="&#54032;&#44428;"/>
+   <l:gentext key="colophon" text="&#54032;&#44428;"/>
+   <l:gentext key="Copyright" text="&#51200;&#51089;&#44428;"/>
+   <l:gentext key="copyright" text="&#51200;&#51089;&#44428;"/>
+   <l:gentext key="Dedication" text="&#48148;&#52824;&#45716; &#44544;"/>
+   <l:gentext key="dedication" text="&#48148;&#52824;&#45716; &#44544;"/>
+   <l:gentext key="Edition" text="&#50670;&#51020;"/>
+   <l:gentext key="edition" text="&#50670;&#51020;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#49688;&#49885;"/>
+   <l:gentext key="equation" text="&#49688;&#49885;"/>
+   <l:gentext key="Example" text="&#50696;"/>
+   <l:gentext key="example" text="&#50696;"/>
+   <l:gentext key="Figure" text="&#44536;&#47548;"/>
+   <l:gentext key="figure" text="&#44536;&#47548;"/>
+   <l:gentext key="Glossary" text="&#50857;&#50612;&#54644;&#49444;"/>
+   <l:gentext key="glossary" text="&#50857;&#50612;&#54644;&#49444;"/>
+   <l:gentext key="GlossSee" text="&#49332;&#54196;&#48380; &#45236;&#50857;"/>
+   <l:gentext key="glosssee" text="&#49332;&#54196;&#48380; &#45236;&#50857;"/>
+   <l:gentext key="GlossSeeAlso" text="&#45796;&#47480; &#49332;&#54196;&#48380; &#45236;&#50857;"/>
+   <l:gentext key="glossseealso" text="&#45796;&#47480; &#49332;&#54196;&#48380; &#45236;&#50857;"/>
+   <l:gentext key="IMPORTANT" text="[&#51473;&#50836;]"/>
+   <l:gentext key="important" text="&#51473;&#50836;"/>
+   <l:gentext key="Important" text="&#51473;&#50836;"/>
+   <l:gentext key="Index" text="&#49353;&#51064;"/>
+   <l:gentext key="index" text="&#49353;&#51064;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#48277;&#51201; &#44277;&#51648;"/>
+   <l:gentext key="legalnotice" text="&#48277;&#51201; &#44277;&#51648;"/>
+   <l:gentext key="MsgAud" text="&#48155;&#45716; &#51060;"/>
+   <l:gentext key="msgaud" text="&#48155;&#45716; &#51060;"/>
+   <l:gentext key="MsgLevel" text="&#51473;&#50836;&#46020;"/>
+   <l:gentext key="msglevel" text="&#51473;&#50836;&#46020;"/>
+   <l:gentext key="MsgOrig" text="&#48372;&#45236;&#45716; &#51060;"/>
+   <l:gentext key="msgorig" text="&#48372;&#45236;&#45716; &#51060;"/>
+   <l:gentext key="NOTE" text="[&#52280;&#44256;]"/>
+   <l:gentext key="Note" text="&#52280;&#44256;"/>
+   <l:gentext key="note" text="&#52280;&#44256;"/>
+   <l:gentext key="Part" text="&#48512;"/>
+   <l:gentext key="part" text="&#48512;"/>
+   <l:gentext key="Preface" text="&#49436;&#47928;"/>
+   <l:gentext key="preface" text="&#49436;&#47928;"/>
+   <l:gentext key="Procedure" text="&#51208;&#52264;"/>
+   <l:gentext key="procedure" text="&#51208;&#52264;"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="&#54196;&#45252;"/>
+   <l:gentext key="published" text="&#54196;&#45252;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#51656;&#47928;&#44536;&#47532;&#44256;&#45813;&#48320;"/>
+   <l:gentext key="qandadiv" text="&#51656;&#47928;&#44536;&#47532;&#44256;&#45813;&#48320;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#51656;&#47928;"/>
+   <l:gentext key="question" text="&#51656;&#47928;"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#52280;&#44256;&#47928;&#54732;"/>
+   <l:gentext key="reference" text="&#52280;&#44256;&#47928;&#54732;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#51228;&#47785;"/>
+   <l:gentext key="refname" text="&#51228;&#47785;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#50836;&#50557;"/>
+   <l:gentext key="refsynopsisdiv" text="&#50836;&#50557;"/>
+   <l:gentext key="RevHistory" text="&#44256;&#52828; &#44284;&#51221;"/>
+   <l:gentext key="revhistory" text="&#44256;&#52828; &#44284;&#51221;"/>
+   <l:gentext key="revision" text="&#44256;&#52840;"/>
+   <l:gentext key="Revision" text="&#44256;&#52840;"/>
+   <l:gentext key="sect1" text="Section"/>
+   <l:gentext key="sect2" text="Section"/>
+   <l:gentext key="sect3" text="Section"/>
+   <l:gentext key="sect4" text="Section"/>
+   <l:gentext key="sect5" text="Section"/>
+   <l:gentext key="section" text="&#51208;"/>
+   <l:gentext key="Section" text="&#51208;"/>
+   <l:gentext key="see" text="&#49332;&#54196;&#48380; &#45236;&#50857;"/>
+   <l:gentext key="See" text="&#49332;&#54196;&#48380; &#45236;&#50857;"/>
+   <l:gentext key="seealso" text="[&#49332;&#54196;&#48380; &#45796;&#47480; &#45236;&#50857;]"/>
+   <l:gentext key="Seealso" text="&#49332;&#54196;&#48380; &#45796;&#47480; &#45236;&#50857;"/>
+   <l:gentext key="SeeAlso" text="[&#49332;&#54196;&#48380; &#45796;&#47480; &#45236;&#50857;]"/>
+   <l:gentext key="set" text="&#51204;&#51665;"/>
+   <l:gentext key="Set" text="&#51204;&#51665;"/>
+   <l:gentext key="setindex" text="&#51204;&#51665; &#49353;&#51064;"/>
+   <l:gentext key="SetIndex" text="&#51204;&#51665; &#49353;&#51064;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="&#45927;&#48537;&#51076;"/>
+   <l:gentext key="step" text="&#45800;&#44228;"/>
+   <l:gentext key="Step" text="&#45800;&#44228;"/>
+   <l:gentext key="table" text="&#54364;"/>
+   <l:gentext key="Table" text="&#54364;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#51089;&#51008; &#51221;&#48372;"/>
+   <l:gentext key="TIP" text="[&#51089;&#51008; &#51221;&#48372;]"/>
+   <l:gentext key="Tip" text="&#51089;&#51008; &#51221;&#48372;"/>
+   <l:gentext key="Warning" text="&#51452;&#51032;"/>
+   <l:gentext key="warning" text="&#51452;&#51032;"/>
+   <l:gentext key="WARNING" text="&#51452;&#51032;!"/>
+   <l:gentext key="and" text="&#44536;&#47532;&#44256;"/>
+   <l:gentext key="by" text="&#51648;&#51008;&#51060;"/>
+   <l:gentext key="Edited" text="&#50670;&#51020;"/>
+   <l:gentext key="edited" text="&#50670;&#51020;"/>
+   <l:gentext key="Editedby" text="&#50670;&#51008;&#51060;"/>
+   <l:gentext key="editedby" text="&#50670;&#51008;&#51060;"/>
+   <l:gentext key="in" text="-"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#51316;&#51116;&#54616;&#51648; &#50506;&#45716; &#44592;&#52488;&#50836;&#49548;&#51077;&#45768;&#45796;"/>
+   <l:gentext key="notes" text="&#51452;&#49437;"/>
+   <l:gentext key="Notes" text="&#51452;&#49437;"/>
+   <l:gentext key="Pgs" text="Pgs."/>
+   <l:gentext key="pgs" text="Pgs."/>
+   <l:gentext key="Revisedby" text="&#44256;&#52828;&#51060; "/>
+   <l:gentext key="revisedby" text="&#44256;&#52828;&#51060; "/>
+   <l:gentext key="TableNotes" text="&#52280;&#44256;"/>
+   <l:gentext key="tablenotes" text="&#52280;&#44256;"/>
+   <l:gentext key="TableofContents" text="&#52264;&#47168;"/>
+   <l:gentext key="tableofcontents" text="&#52264;&#47168;"/>
+   <l:gentext key="unexpectedelementname" text="&#50508; &#49688; &#50630;&#45716; &#44592;&#52488;&#50836;&#49548; &#51060;&#47492;&#51077;&#45768;&#45796;"/>
+   <l:gentext key="unsupported" text="&#51648;&#50896;&#46104;&#51648; &#50506;&#49845;&#45768;&#45796;"/>
+   <l:gentext key="xrefto" text="&#51060; &#44275;&#51012; &#52280;&#51312;&#54616;&#49464;&#50836; : "/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#49688;&#49885; &#47785;&#47197;"/>
+   <l:gentext key="ListofEquations" text="&#49688;&#49885; &#47785;&#47197;"/>
+   <l:gentext key="ListofExamples" text="&#50696; &#47785;&#47197;"/>
+   <l:gentext key="listofexamples" text="&#50696; &#47785;&#47197;"/>
+   <l:gentext key="ListofFigures" text="&#44536;&#47548; &#47785;&#47197;"/>
+   <l:gentext key="listoffigures" text="&#44536;&#47548; &#47785;&#47197;"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="&#54364; &#47785;&#47197;"/>
+   <l:gentext key="ListofTables" text="&#54364; &#47785;&#47197;"/>
+   <l:gentext key="ListofUnknown" text="&#44592;&#53440; &#47785;&#47197;"/>
+   <l:gentext key="listofunknown" text="&#44592;&#53440; &#47785;&#47197;"/>
+   <l:gentext key="nav-home" text="&#52376;&#51020;&#51004;&#47196;"/>
+   <l:gentext key="nav-next" text="&#45796;&#51020;"/>
+   <l:gentext key="nav-next-sibling" text="&#45796;&#51020;&#51004;&#47196; &#44148;&#45320;&#46848;"/>
+   <l:gentext key="nav-prev" text="&#51060;&#51204;"/>
+   <l:gentext key="nav-prev-sibling" text="&#51060;&#51204;&#51004;&#47196; &#44148;&#45320;&#46848;"/>
+   <l:gentext key="nav-up" text="&#50948;&#47196;"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz" lang="en"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ" lang="en"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#48512;&#47197; %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%n&#51109;. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#49688;&#49885; %n. %t"/>
+      <l:template name="example" text="&#50696; %n. %t"/>
+      <l:template name="figure" text="&#44536;&#47548; %n. %t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%n&#48512;. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#51208;&#52264;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#54364; %n. %t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#48512;&#47197; %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n. %t"/>
+      <l:template name="chapter" text="%n&#51109;. %t"/>
+      <l:template name="part" text="&#48512;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#45813;&#48320;&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#51656;&#47928;&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#51656;&#47928;&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#45813;&#48320;&#160;%n"/>
+      <l:template name="appendix" text="&#48512;&#47197;&#160;%n"/>
+      <l:template name="bridgehead" text="&#51208;&#160;%n"/>
+      <l:template name="chapter" text="%n&#51109;"/>
+      <l:template name="equation" text="&#49688;&#49885;&#160;%n"/>
+      <l:template name="example" text="&#50696;&#160;%n"/>
+      <l:template name="figure" text="&#44536;&#47548;&#160;%n"/>
+      <l:template name="part" text="%n&#48512;"/>
+      <l:template name="procedure" text="&#51208;&#52264;&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="&#51656;&#47928;&#44536;&#47532;&#44256;&#45813;&#48320;&#160;%n"/>
+      <l:template name="qandaentry" text="&#51656;&#47928;&#160;%n"/>
+      <l:template name="question" text="&#51656;&#47928;&#160;%n"/>
+      <l:template name="sect1" text="%n&#51208;"/>
+      <l:template name="sect2" text="%n&#51208;"/>
+      <l:template name="sect3" text="%n&#51208;"/>
+      <l:template name="sect4" text="%n&#51208;"/>
+      <l:template name="sect5" text="%n&#51208;"/>
+      <l:template name="section" text="%n&#51208;"/>
+      <l:template name="table" text="&#54364;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#48512;&#47197;&#160;%n. %t"/>
+      <l:template name="bridgehead" text="&#51208;&#160;%n. &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="%n&#51109;. %t"/>
+      <l:template name="equation" text="&#49688;&#49885;&#160;%n. &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#50696;&#160;%n. &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#44536;&#47548;&#160;%n. &#8220;%t&#8221;"/>
+      <l:template name="part" text="%n&#48512;. %t"/>
+      <l:template name="procedure" text="&#51208;&#52264;&#160;%n. &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n. &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="&#51656;&#47928;&#44536;&#47532;&#44256;&#45813;&#48320;&#160;%n. &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="%n&#51208;. &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="%n&#51208;. &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="%n&#51208;. &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="%n&#51208;. &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="%n&#51208;. &#8220;%t&#8221;"/>
+      <l:template name="section" text="%n&#51208;. &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+      <l:template name="table" text="&#54364;&#160;%n. &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#44536;&#47532;&#44256; "/>
+      <l:template name="seplast" text=", &#44536;&#47532;&#44256; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#49332;&#54196;&#48380; &#45236;&#50857; %t"/>
+      <l:template name="seealso" text="&#45796;&#47480; &#49332;&#54196;&#48380; &#45236;&#50857; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#48155;&#45716; &#51060;: "/>
+      <l:template name="MsgLevel" text="&#51473;&#50836;&#46020;: "/>
+      <l:template name="MsgOrig" text="&#48372;&#45236;&#45716; &#51060;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0412 Korean"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/l10n.dtd
===================================================================
--- trunk/docs/docbook/src/main/resources/common/l10n.dtd	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/l10n.dtd	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,63 @@
+<!ENTITY % prefix "l">
+
+<!ENTITY % xmlns "xmlns:%prefix;">
+<!ENTITY % uri "'http://docbook.sourceforge.net/xmlns/l10n/1.0'">
+
+<!ENTITY % i18n "%prefix;:i18n">
+<!ENTITY % l10n "%prefix;:l10n">
+<!ENTITY % gentext "%prefix;:gentext">
+<!ENTITY % dingbat "%prefix;:dingbat">
+<!ENTITY % context "%prefix;:context">
+<!ENTITY % template "%prefix;:template">
+<!ENTITY % letters "%prefix;:letters">
+<!ENTITY % l "%prefix;:l">
+<!ENTITY % lang "lang NMTOKEN #IMPLIED"> 
+
+<!ELEMENT %i18n; ((%l10n;)+)>
+<!ATTLIST %i18n;
+	%xmlns;		CDATA	#FIXED %uri;
+>
+
+<!ELEMENT %l10n; (%gentext;|%dingbat;|%context;|%letters;)*>
+<!ATTLIST %l10n;
+	%xmlns;		CDATA	#FIXED %uri;
+	language	CDATA	#REQUIRED
+	english-language-name	CDATA	#IMPLIED
+>
+
+<!ELEMENT %gentext; EMPTY>
+<!ATTLIST %gentext;
+	%lang;
+	key		CDATA	#REQUIRED
+	text		CDATA	#REQUIRED
+>
+
+<!ELEMENT %dingbat; EMPTY>
+<!ATTLIST %dingbat;
+        %lang;
+	key		CDATA	#REQUIRED
+	text		CDATA	#REQUIRED
+>
+
+<!ELEMENT %context; ((%template;)+)>
+<!ATTLIST %context;
+	name		CDATA	#REQUIRED
+>
+
+<!ELEMENT %template; EMPTY>
+<!ATTLIST %template;
+        %lang;
+	name		CDATA	#REQUIRED
+	text		CDATA	#REQUIRED
+	style		CDATA	#IMPLIED
+>
+
+<!ELEMENT %letters; ((%l;)+)>
+<!ATTLIST %letters;
+          %lang;
+>
+
+<!ELEMENT %l; (#PCDATA)>
+<!ATTLIST %l;
+          i 		CDATA 	#REQUIRED
+>

Added: trunk/docs/docbook/src/main/resources/common/l10n.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/l10n.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/l10n.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,123 @@
+<?xml version='1.0'?>
+<!DOCTYPE l:i18n SYSTEM "l10n.dtd" [
+<!ENTITY af SYSTEM "af.xml">
+<!ENTITY am SYSTEM "am.xml">
+<!ENTITY ar SYSTEM "ar.xml">
+<!ENTITY az SYSTEM "az.xml">
+<!ENTITY bg SYSTEM "bg.xml">
+<!ENTITY bn SYSTEM "bn.xml">
+<!ENTITY bs SYSTEM "bs.xml">
+<!ENTITY ca SYSTEM "ca.xml">
+<!ENTITY cs SYSTEM "cs.xml">
+<!ENTITY cy SYSTEM "cy.xml">
+<!ENTITY da SYSTEM "da.xml">
+<!ENTITY de SYSTEM "de.xml">
+<!ENTITY el SYSTEM "el.xml">
+<!ENTITY en SYSTEM "en.xml">
+<!ENTITY es SYSTEM "es.xml">
+<!ENTITY et SYSTEM "et.xml">
+<!ENTITY eu SYSTEM "eu.xml">
+<!ENTITY fa SYSTEM "fa.xml">
+<!ENTITY fi SYSTEM "fi.xml">
+<!ENTITY fr SYSTEM "fr.xml">
+<!ENTITY ga SYSTEM "ga.xml">
+<!ENTITY gu SYSTEM "gu.xml">
+<!ENTITY he SYSTEM "he.xml">
+<!ENTITY hi SYSTEM "hi.xml">
+<!ENTITY hr SYSTEM "hr.xml">
+<!ENTITY hu SYSTEM "hu.xml">
+<!ENTITY id SYSTEM "id.xml">
+<!ENTITY it SYSTEM "it.xml">
+<!ENTITY ja SYSTEM "ja.xml">
+<!ENTITY kn SYSTEM "kn.xml">
+<!ENTITY ko SYSTEM "ko.xml">
+<!ENTITY la SYSTEM "la.xml">
+<!ENTITY lit SYSTEM "lt.xml">
+<!ENTITY mn SYSTEM "mn.xml">
+<!ENTITY nl SYSTEM "nl.xml">
+<!ENTITY nn SYSTEM "nn.xml">
+<!ENTITY no SYSTEM "no.xml">
+<!ENTITY or SYSTEM "or.xml">
+<!ENTITY pa SYSTEM "pa.xml">
+<!ENTITY pl SYSTEM "pl.xml">
+<!ENTITY pt SYSTEM "pt.xml">
+<!ENTITY pt_br SYSTEM "pt_br.xml">
+<!ENTITY ro SYSTEM "ro.xml">
+<!ENTITY ru SYSTEM "ru.xml">
+<!ENTITY sk SYSTEM "sk.xml">
+<!ENTITY sl SYSTEM "sl.xml">
+<!ENTITY sq SYSTEM "sq.xml">
+<!ENTITY sr SYSTEM "sr.xml">
+<!ENTITY sr_Latn SYSTEM "sr_Latn.xml">
+<!ENTITY sv SYSTEM "sv.xml">
+<!ENTITY ta SYSTEM "ta.xml">
+<!ENTITY th SYSTEM "th.xml">
+<!ENTITY tl SYSTEM "tl.xml">
+<!ENTITY tr SYSTEM "tr.xml">
+<!ENTITY uk SYSTEM "uk.xml">
+<!ENTITY vi SYSTEM "vi.xml">
+<!ENTITY xh SYSTEM "xh.xml">
+<!ENTITY zh_cn SYSTEM "zh_cn.xml">
+<!ENTITY zh_tw SYSTEM "zh_tw.xml">
+]>
+<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
+&af;
+&am;
+&ar;
+&az;
+&bg;
+&bn;
+&bs;
+&ca;
+&cs;
+&cy;
+&da;
+&de;
+&el;
+&en;
+&es;
+&et;
+&eu;
+&fa;
+&fi;
+&fr;
+&ga;
+&gu;
+&he;
+&hi;
+&hr;
+&hu;
+&id;
+&it;
+&ja;
+&kn;
+&ko;
+&la;
+&lit;
+&mn;
+&nl;
+&nn;
+&no;
+&or;
+&pa;
+&pl;
+&pt;
+&pt_br;
+&ro;
+&ru;
+&sk;
+&sl;
+&sq;
+&sr;
+&sr_Latn;
+&sv;
+&ta;
+&th;
+&tl;
+&tr;
+&uk;
+&vi;
+&xh;
+&zh_cn;
+&zh_tw;
+</l:i18n>

Added: trunk/docs/docbook/src/main/resources/common/l10n.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/l10n.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/l10n.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,441 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
+                exclude-result-prefixes="l"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: l10n.xsl 6431 2006-11-17 11:32:07Z nwalsh $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     This file contains localization templates (for internationalization)
+     ******************************************************************** -->
+
+<xsl:param name="l10n.xml" select="document('../common/l10n.xml')"/>
+<xsl:param name="local.l10n.xml" select="document('')"/>
+
+<xsl:template name="l10n.language">
+  <xsl:param name="target" select="."/>
+  <xsl:param name="xref-context" select="false()"/>
+
+  <xsl:variable name="mc-language">
+    <xsl:choose>
+      <xsl:when test="$l10n.gentext.language != ''">
+        <xsl:value-of select="$l10n.gentext.language"/>
+      </xsl:when>
+
+      <xsl:when test="$xref-context or $l10n.gentext.use.xref.language != 0">
+        <!-- can't do this one step: attributes are unordered! -->
+        <xsl:variable name="lang-scope"
+                      select="$target/ancestor-or-self::*
+                              [@lang or @xml:lang][1]"/>
+        <xsl:variable name="lang-attr"
+                      select="($lang-scope/@lang | $lang-scope/@xml:lang)[1]"/>
+        <xsl:choose>
+          <xsl:when test="string($lang-attr) = ''">
+            <xsl:value-of select="$l10n.gentext.default.language"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$lang-attr"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <!-- can't do this one step: attributes are unordered! -->
+        <xsl:variable name="lang-scope"
+                      select="$target/ancestor-or-self::*
+                              [@lang or @xml:lang][1]"/>
+        <xsl:variable name="lang-attr"
+                      select="($lang-scope/@lang | $lang-scope/@xml:lang)[1]"/>
+
+        <xsl:choose>
+          <xsl:when test="string($lang-attr) = ''">
+            <xsl:value-of select="$l10n.gentext.default.language"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$lang-attr"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="language" select="translate($mc-language,
+                                        'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
+                                        'abcdefghijklmnopqrstuvwxyz')"/>
+
+  <xsl:variable name="adjusted.language">
+    <xsl:choose>
+      <xsl:when test="contains($language,'-')">
+        <xsl:value-of select="substring-before($language,'-')"/>
+        <xsl:text>_</xsl:text>
+        <xsl:value-of select="substring-after($language,'-')"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$language"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$l10n.xml/l:i18n/l:l10n[@language=$adjusted.language]">
+      <xsl:value-of select="$adjusted.language"/>
+    </xsl:when>
+    <!-- try just the lang code without country -->
+    <xsl:when test="$l10n.xml/l:i18n/l:l10n[@language=substring-before($adjusted.language,'_')]">
+      <xsl:value-of select="substring-before($adjusted.language,'_')"/>
+    </xsl:when>
+    <!-- or use the default -->
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>No localization exists for "</xsl:text>
+        <xsl:value-of select="$adjusted.language"/>
+        <xsl:text>" or "</xsl:text>
+        <xsl:value-of select="substring-before($adjusted.language,'_')"/>
+        <xsl:text>". Using default "</xsl:text>
+        <xsl:value-of select="$l10n.gentext.default.language"/>
+        <xsl:text>".</xsl:text>
+      </xsl:message>
+      <xsl:value-of select="$l10n.gentext.default.language"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="language.attribute">
+  <xsl:param name="node" select="."/>
+
+  <xsl:variable name="language">
+    <xsl:choose>
+      <xsl:when test="$l10n.gentext.language != ''">
+        <xsl:value-of select="$l10n.gentext.language"/>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <!-- can't do this one step: attributes are unordered! -->
+        <xsl:variable name="lang-scope"
+                      select="$node/ancestor-or-self::*
+                              [@lang or @xml:lang][1]"/>
+        <xsl:variable name="lang-attr"
+                      select="($lang-scope/@lang | $lang-scope/@xml:lang)[1]"/>
+
+        <xsl:choose>
+          <xsl:when test="string($lang-attr) = ''">
+            <xsl:value-of select="$l10n.gentext.default.language"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$lang-attr"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:if test="$language != ''">
+    <xsl:attribute name="lang">
+      <xsl:choose>
+        <xsl:when test="$l10n.lang.value.rfc.compliant != 0">
+          <xsl:value-of select="translate($language, '_', '-')"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$language"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:attribute>
+  </xsl:if>
+
+  <!-- FIXME: This is sort of hack, but it was the easiest way to add at least partial support for dir attribute -->
+  <xsl:copy-of select="ancestor-or-self::*[@dir][1]/@dir"/>
+</xsl:template>
+
+<xsl:template name="gentext">
+  <xsl:param name="key" select="local-name(.)"/>
+  <xsl:param name="lang">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:param>
+
+  <xsl:variable name="local.l10n.gentext"
+                select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:gentext[@key=$key])[1]"/>
+
+  <xsl:variable name="l10n.gentext"
+                select="($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:gentext[@key=$key])[1]"/>
+
+  <xsl:choose>
+    <xsl:when test="$local.l10n.gentext">
+      <xsl:value-of select="$local.l10n.gentext/@text"/>
+    </xsl:when>
+    <xsl:when test="$l10n.gentext">
+      <xsl:value-of select="$l10n.gentext/@text"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>No "</xsl:text>
+        <xsl:value-of select="$lang"/>
+        <xsl:text>" localization of "</xsl:text>
+        <xsl:value-of select="$key"/>
+        <xsl:text>" exists</xsl:text>
+        <xsl:choose>
+          <xsl:when test="$lang = 'en'">
+             <xsl:text>.</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+             <xsl:text>; using "en".</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:message>
+
+      <xsl:value-of select="($l10n.xml/l:i18n/l:l10n[@language='en']/l:gentext[@key=$key])[1]/@text"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="gentext.element.name">
+  <xsl:param name="element.name" select="local-name(.)"/>
+  <xsl:param name="lang">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:param>
+
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="$element.name"/>
+    <xsl:with-param name="lang" select="$lang"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.space">
+  <xsl:text> </xsl:text>
+</xsl:template>
+
+<xsl:template name="gentext.edited.by">
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'Editedby'"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.by">
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'by'"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.dingbat">
+  <xsl:param name="dingbat">bullet</xsl:param>
+  <xsl:param name="lang">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:param>
+
+  <xsl:variable name="local.l10n.dingbat"
+                select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang]/l:dingbat[@key=$dingbat])[1]"/>
+
+  <xsl:variable name="l10n.dingbat"
+                select="($l10n.xml/l:i18n/l:l10n[@language=$lang]/l:dingbat[@key=$dingbat])[1]"/>
+
+  <xsl:choose>
+    <xsl:when test="$local.l10n.dingbat">
+      <xsl:value-of select="$local.l10n.dingbat/@text"/>
+    </xsl:when>
+    <xsl:when test="$l10n.dingbat">
+      <xsl:value-of select="$l10n.dingbat/@text"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>No "</xsl:text>
+        <xsl:value-of select="$lang"/>
+        <xsl:text>" localization of dingbat </xsl:text>
+        <xsl:value-of select="$dingbat"/>
+        <xsl:text> exists; using "en".</xsl:text>
+      </xsl:message>
+
+      <xsl:value-of select="($l10n.xml/l:i18n/l:l10n[@language='en']/l:dingbat[@key=$dingbat])[1]/@text"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="gentext.startquote">
+  <xsl:call-template name="gentext.dingbat">
+    <xsl:with-param name="dingbat">startquote</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.endquote">
+  <xsl:call-template name="gentext.dingbat">
+    <xsl:with-param name="dingbat">endquote</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.nestedstartquote">
+  <xsl:call-template name="gentext.dingbat">
+    <xsl:with-param name="dingbat">nestedstartquote</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.nestedendquote">
+  <xsl:call-template name="gentext.dingbat">
+    <xsl:with-param name="dingbat">nestedendquote</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.nav.prev">
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'nav-prev'"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.nav.next">
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'nav-next'"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.nav.home">
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'nav-home'"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="gentext.nav.up">
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'nav-up'"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="gentext.template">
+  <xsl:param name="context" select="'default'"/>
+  <xsl:param name="name" select="'default'"/>
+  <xsl:param name="origname" select="$name"/>
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="referrer"/>
+  <xsl:param name="lang">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:param>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:variable name="local.localization.node"
+                select="($local.l10n.xml//l:i18n/l:l10n[@language=$lang])[1]"/>
+
+  <xsl:variable name="localization.node"
+                select="($l10n.xml/l:i18n/l:l10n[@language=$lang])[1]"/>
+
+  <xsl:if test="count($localization.node) = 0
+                and count($local.localization.node) = 0
+                and $verbose != 0">
+    <xsl:message>
+      <xsl:text>No "</xsl:text>
+      <xsl:value-of select="$lang"/>
+      <xsl:text>" localization exists.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="local.context.node"
+                select="$local.localization.node/l:context[@name=$context]"/>
+
+  <xsl:variable name="context.node"
+                select="$localization.node/l:context[@name=$context]"/>
+
+  <xsl:if test="count($context.node) = 0
+                and count($local.context.node) = 0
+                and $verbose != 0">
+    <xsl:message>
+      <xsl:text>No context named "</xsl:text>
+      <xsl:value-of select="$context"/>
+      <xsl:text>" exists in the "</xsl:text>
+      <xsl:value-of select="$lang"/>
+      <xsl:text>" localization.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="local.template.node"
+                select="($local.context.node/l:template[@name=$name
+                                                        and @style
+                                                        and @style=$xrefstyle]
+                        |$local.context.node/l:template[@name=$name
+                                                        and not(@style)])[1]"/>
+
+  <xsl:variable name="template.node"
+                select="($context.node/l:template[@name=$name
+                                                  and @style
+                                                  and @style=$xrefstyle]
+                        |$context.node/l:template[@name=$name
+                                                  and not(@style)])[1]"/>
+
+  <xsl:choose>
+    <xsl:when test="$local.template.node/@text">
+      <xsl:value-of select="$local.template.node/@text"/>
+    </xsl:when>
+    <xsl:when test="$template.node/@text">
+      <xsl:value-of select="$template.node/@text"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="contains($name, '/')">
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="context" select="$context"/>
+            <xsl:with-param name="name" select="substring-after($name, '/')"/>
+            <xsl:with-param name="origname" select="$origname"/>
+            <xsl:with-param name="purpose" select="$purpose"/>
+            <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+            <xsl:with-param name="referrer" select="$referrer"/>
+            <xsl:with-param name="lang" select="$lang"/>
+            <xsl:with-param name="verbose" select="$verbose"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$verbose = 0">
+          <!-- silence -->
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>No template for "</xsl:text>
+            <xsl:value-of select="$origname"/>
+            <xsl:text>" (or any of its leaves) exists
+in the context named "</xsl:text>
+            <xsl:value-of select="$context"/>
+            <xsl:text>" in the "</xsl:text>
+            <xsl:value-of select="$lang"/>
+            <xsl:text>" localization.</xsl:text>
+          </xsl:message>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- silently test if a gentext template exists -->
+
+<xsl:template name="gentext.template.exists">
+  <xsl:param name="context" select="'default'"/>
+  <xsl:param name="name" select="'default'"/>
+  <xsl:param name="origname" select="$name"/>
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="referrer"/>
+  <xsl:param name="lang">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:param>
+
+  <xsl:variable name="template">
+    <xsl:call-template name="gentext.template">
+      <xsl:with-param name="context" select="$context"/>
+      <xsl:with-param name="name" select="$name"/>
+      <xsl:with-param name="origname" select="$origname"/>
+      <xsl:with-param name="purpose" select="$purpose"/>
+      <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+      <xsl:with-param name="referrer" select="$referrer"/>
+      <xsl:with-param name="lang" select="$lang"/>
+      <xsl:with-param name="verbose" select="0"/>
+    </xsl:call-template>
+  </xsl:variable>
+  
+  <xsl:choose>
+    <xsl:when test="string-length($template) != 0">1</xsl:when>
+    <xsl:otherwise>0</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/common/la.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/la.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/la.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="la" english-language-name="Latin">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/la.xml -->
+<!-- * -->
+<!-- * E-mail the edited la.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Summarium"/>
+   <l:gentext key="abstract" text="summarium"/>
+   <l:gentext key="Answer" text="R:"/>
+   <l:gentext key="answer" text="r:"/>
+   <l:gentext key="Appendix" text="Additamentum"/>
+   <l:gentext key="appendix" text="additamentum"/>
+   <l:gentext key="Article" text="Articulus"/>
+   <l:gentext key="article" text="articulus"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Conspectus librorum"/>
+   <l:gentext key="bibliography" text="conspectus librorum"/>
+   <l:gentext key="Book" text="Liber"/>
+   <l:gentext key="book" text="liber"/>
+   <l:gentext key="CAUTION" text="Caveat"/>
+   <l:gentext key="Caution" text="Caveat"/>
+   <l:gentext key="caution" text="caveat"/>
+   <l:gentext key="Chapter" text="Capitulum"/>
+   <l:gentext key="chapter" text="capitulum"/>
+   <l:gentext key="Colophon" text="Colophon"/>
+   <l:gentext key="colophon" text="colophon"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="copyright"/>
+   <l:gentext key="Dedication" text="Dedicatoria"/>
+   <l:gentext key="dedication" text="dedicatoria"/>
+   <l:gentext key="Edition" text="Editio"/>
+   <l:gentext key="edition" text="editio"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Equatio"/>
+   <l:gentext key="equation" text="equatio"/>
+   <l:gentext key="Example" text="Exemplum"/>
+   <l:gentext key="example" text="exemplum"/>
+   <l:gentext key="Figure" text="Descriptio"/>
+   <l:gentext key="figure" text="descriptio"/>
+   <l:gentext key="Glossary" text="Glossarium"/>
+   <l:gentext key="glossary" text="glossarium"/>
+   <l:gentext key="GlossSee" text="Cfr."/>
+   <l:gentext key="glosssee" text="Cfr."/>
+   <l:gentext key="GlossSeeAlso" text="Cfr. autem"/>
+   <l:gentext key="glossseealso" text="cfr. autem"/>
+   <l:gentext key="IMPORTANT" text="GRAVE"/>
+   <l:gentext key="important" text="grave"/>
+   <l:gentext key="Important" text="Grave"/>
+   <l:gentext key="Index" text="Index"/>
+   <l:gentext key="index" text="index"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="isbn"/>
+   <l:gentext key="LegalNotice" text="Nuntius legalis"/>
+   <l:gentext key="legalnotice" text="nuntius legalis"/>
+   <l:gentext key="MsgAud" text="Legentes"/>
+   <l:gentext key="msgaud" text="legentes"/>
+   <l:gentext key="MsgLevel" text="Libra"/>
+   <l:gentext key="msglevel" text="libra"/>
+   <l:gentext key="MsgOrig" text="Fons"/>
+   <l:gentext key="msgorig" text="fons"/>
+   <l:gentext key="NOTE" text="NOTA"/>
+   <l:gentext key="Note" text="Nota"/>
+   <l:gentext key="note" text="nota"/>
+   <l:gentext key="Part" text="Pars"/>
+   <l:gentext key="part" text="pars"/>
+   <l:gentext key="Preface" text="Praefatio"/>
+   <l:gentext key="preface" text="praefatio"/>
+   <l:gentext key="Procedure" text="Progressio"/>
+   <l:gentext key="procedure" text="progressio"/>
+   <l:gentext key="ProductionSet" text="Compositio"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Editum"/>
+   <l:gentext key="published" text="editum"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Q &amp; R"/>
+   <l:gentext key="qandadiv" text="Q &amp; R"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Q:"/>
+   <l:gentext key="question" text="q:"/>
+   <l:gentext key="RefEntry" text="Mentionis descriptio"/>
+   <l:gentext key="refentry" text="mentionis descriptio"/>
+   <l:gentext key="Reference" text="Mentio"/>
+   <l:gentext key="reference" text="mentio"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Mentionis signum"/>
+   <l:gentext key="refname" text="mentionis signum"/>
+   <l:gentext key="RefSection" text="Mentionis pars"/>
+   <l:gentext key="refsection" text="mentionis pars"/>
+   <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+   <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+   <l:gentext key="RevHistory" text="Revisionum historia"/>
+   <l:gentext key="revhistory" text="revisionum historia"/>
+   <l:gentext key="revision" text="Revisio"/>
+   <l:gentext key="Revision" text="revisio"/>
+   <l:gentext key="sect1" text="Sectio"/>
+   <l:gentext key="sect2" text="Sectio"/>
+   <l:gentext key="sect3" text="Sectio"/>
+   <l:gentext key="sect4" text="Sectio"/>
+   <l:gentext key="sect5" text="Sectio"/>
+   <l:gentext key="section" text="Sectio"/>
+   <l:gentext key="Section" text="Sectio"/>
+   <l:gentext key="see" text="videtur"/>
+   <l:gentext key="See" text="See" lang="en"/>
+   <l:gentext key="seealso" text="videtur autem"/>
+   <l:gentext key="Seealso" text="See also" lang="en"/>
+   <l:gentext key="SeeAlso" text="See Also" lang="en"/>
+   <l:gentext key="set" text="complexus"/>
+   <l:gentext key="Set" text="Complexus"/>
+   <l:gentext key="setindex" text="complexi index"/>
+   <l:gentext key="SetIndex" text="Complexi index"/>
+   <l:gentext key="Sidebar" text="Linea a latere posita"/>
+   <l:gentext key="sidebar" text="linea a latere posita"/>
+   <l:gentext key="step" text="peractio"/>
+   <l:gentext key="Step" text="Peractio"/>
+   <l:gentext key="table" text="tabula"/>
+   <l:gentext key="Table" text="Tabula"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="consilium"/>
+   <l:gentext key="TIP" text="CONSILIUM"/>
+   <l:gentext key="Tip" text="Consilium"/>
+   <l:gentext key="Warning" text="MONITUS"/>
+   <l:gentext key="warning" text="monitus"/>
+   <l:gentext key="WARNING" text="MONITUS"/>
+   <l:gentext key="and" text="et"/>
+   <l:gentext key="by" text="a"/>
+   <l:gentext key="Edited" text="Editum"/>
+   <l:gentext key="edited" text="editum"/>
+   <l:gentext key="Editedby" text="Editum a"/>
+   <l:gentext key="editedby" text="editum a"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="quod non est"/>
+   <l:gentext key="notes" text="commentaria"/>
+   <l:gentext key="Notes" text="Commentaria"/>
+   <l:gentext key="Pgs" text="Pag."/>
+   <l:gentext key="pgs" text="pag."/>
+   <l:gentext key="Revisedby" text="Excussum a: "/>
+   <l:gentext key="revisedby" text="excussum a: "/>
+   <l:gentext key="TableNotes" text="Tabulae commentaria"/>
+   <l:gentext key="tablenotes" text="tabulae commentaria"/>
+   <l:gentext key="TableofContents" text="Index rerum notabilium"/>
+   <l:gentext key="tableofcontents" text="index rerum notabilium"/>
+   <l:gentext key="unexpectedelementname" text="necopinatum nomen"/>
+   <l:gentext key="unsupported" text="non sustentatus"/>
+   <l:gentext key="xrefto" text="mentio"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="index aequationum"/>
+   <l:gentext key="ListofEquations" text="Index aequationum"/>
+   <l:gentext key="ListofExamples" text="Index exemplorum"/>
+   <l:gentext key="listofexamples" text="index exemplorum"/>
+   <l:gentext key="ListofFigures" text="Index descriptionum"/>
+   <l:gentext key="listoffigures" text="index descriptionum"/>
+   <l:gentext key="ListofProcedures" text="Index progressiorum"/>
+   <l:gentext key="listofprocedures" text="index progressiorum"/>
+   <l:gentext key="listoftables" text="index tabularum"/>
+   <l:gentext key="ListofTables" text="Index tabularum"/>
+   <l:gentext key="ListofUnknown" text="Index ignotorum"/>
+   <l:gentext key="listofunknown" text="index ignotorum"/>
+   <l:gentext key="nav-home" text="Initium"/>
+   <l:gentext key="nav-next" text="Sequens"/>
+   <l:gentext key="nav-next-sibling" text="Procede"/>
+   <l:gentext key="nav-prev" text="Praecedens"/>
+   <l:gentext key="nav-prev-sibling" text="Recede"/>
+   <l:gentext key="nav-up" text="Ascende"/>
+   <l:gentext key="nav-toc" text="Index"/>
+   <l:gentext key="Draft" text="Plagula"/>
+   <l:gentext key="above" text="supra"/>
+   <l:gentext key="below" text="sub"/>
+   <l:gentext key="sectioncalled" text="sectio vocata"/>
+   <l:gentext key="index symbols" text="signa"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#738;"/>
+   <l:dingbat key="endquote" text="&#1762;"/>
+   <l:dingbat key="nestedstartquote" text="&#8249;"/>
+   <l:dingbat key="nestedendquote" text="&#8250;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="&#8208;"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Additamentum%n.%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Capitulum%n.%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Equatio%n.%t"/>
+      <l:template name="example" text="Exemplum%n.%t"/>
+      <l:template name="figure" text="Descriptio%n.%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Pars%n.%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Progressio%n.%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Compositio%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabula%n.%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Additamentum%n.%t"/>
+      <l:template name="article/appendix" text="%n.%t"/>
+      <l:template name="bridgehead" text="%n.%t"/>
+      <l:template name="chapter" text="Capitulum%n.%t"/>
+      <l:template name="part" text="Pars%n.%t"/>
+      <l:template name="sect1" text="%n.%t"/>
+      <l:template name="sect2" text="%n.%t"/>
+      <l:template name="sect3" text="%n.%t"/>
+      <l:template name="sect4" text="%n.%t"/>
+      <l:template name="sect5" text="%n.%t"/>
+      <l:template name="section" text="%n.%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="R:%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Q:%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Q:%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="refsection" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="refsect1" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="refsect2" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="refsect3" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="sect1" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="sect2" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="sect3" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="sect4" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="sect5" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="section" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="simplesect" text="sectio vocata &#738;%t&#1762;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="R:%n"/>
+      <l:template name="appendix" text="Additamentum%n"/>
+      <l:template name="bridgehead" text="Sectio%n"/>
+      <l:template name="chapter" text="Capitulum%n"/>
+      <l:template name="equation" text="Equatio%n"/>
+      <l:template name="example" text="Exemplum%n"/>
+      <l:template name="figure" text="Descriptio%n"/>
+      <l:template name="part" text="Pars%n"/>
+      <l:template name="procedure" text="Progressio%n"/>
+      <l:template name="productionset" text="Compositio%n"/>
+      <l:template name="qandadiv" text="Q &amp; R%n"/>
+      <l:template name="qandaentry" text="Q:%n"/>
+      <l:template name="question" text="Q:%n"/>
+      <l:template name="sect1" text="Sectio%n"/>
+      <l:template name="sect2" text="Sectio%n"/>
+      <l:template name="sect3" text="Sectio%n"/>
+      <l:template name="sect4" text="Sectio%n"/>
+      <l:template name="sect5" text="Sectio%n"/>
+      <l:template name="section" text="Sectio%n"/>
+      <l:template name="table" text="Tabula%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Additamentum%n, %t"/>
+      <l:template name="bridgehead" text="Sectio%n, &#738;%t&#1762;"/>
+      <l:template name="chapter" text="Capitulum%n, %t"/>
+      <l:template name="equation" text="Equatio%n, &#738;%t&#1762;"/>
+      <l:template name="example" text="Exemplum%n, &#738;%t&#1762;"/>
+      <l:template name="figure" text="Descriptio%n, &#738;%t&#1762;"/>
+      <l:template name="part" text="Pars%n, &#738;%t&#1762;"/>
+      <l:template name="procedure" text="Progressio%n, &#738;%t&#1762;"/>
+      <l:template name="productionset" text="Compositio%n, &#738;%t&#1762;"/>
+      <l:template name="qandadiv" text="Q &amp; R%n, &#738;%t&#1762;"/>
+      <l:template name="refsect1" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="refsect2" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="refsect3" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="refsection" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="sect1" text="Sectio%n, &#738;%t&#1762;"/>
+      <l:template name="sect2" text="Sectio%n, &#738;%t&#1762;"/>
+      <l:template name="sect3" text="Sectio%n, &#738;%t&#1762;"/>
+      <l:template name="sect4" text="Sectio%n, &#738;%t&#1762;"/>
+      <l:template name="sect5" text="Sectio%n, &#738;%t&#1762;"/>
+      <l:template name="section" text="Sectio%n, &#738;%t&#1762;"/>
+      <l:template name="simplesect" text="sectio vocata &#738;%t&#1762;"/>
+      <l:template name="table" text="Tabula%n, &#738;%t&#1762;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" et "/>
+      <l:template name="seplast" text=", et "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Cfr. %t"/>
+      <l:template name="seealso" text="Cfr. autem %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Legentes: "/>
+      <l:template name="MsgLevel" text="Libra: "/>
+      <l:template name="MsgOrig" text="Fons: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d/m/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="Ianuarii"/>
+      <l:template name="February" text="Februarii"/>
+      <l:template name="March" text="Martii"/>
+      <l:template name="April" text="Aprilis"/>
+      <l:template name="May" text="Maii"/>
+      <l:template name="June" text="Iunii"/>
+      <l:template name="July" text="Iulii"/>
+      <l:template name="August" text="Augusti"/>
+      <l:template name="September" text="Septembris"/>
+      <l:template name="October" text="Octobris"/>
+      <l:template name="November" text="Novembris"/>
+      <l:template name="December" text="Decembris"/>
+      <l:template name="Monday" text="Lunae"/>
+      <l:template name="Tuesday" text="Martis"/>
+      <l:template name="Wednesday" text="Mercurii"/>
+      <l:template name="Thursday" text="Iovis"/>
+      <l:template name="Friday" text="Veneris"/>
+      <l:template name="Saturday" text="Sabathi"/>
+      <l:template name="Sunday" text="Dominica"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Ian"/>
+      <l:template name="Feb" text="Feb"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Apr"/>
+      <l:template name="May" text="Mai"/>
+      <l:template name="Jun" text="Iun"/>
+      <l:template name="Jul" text="Iul"/>
+      <l:template name="Aug" text="Aug"/>
+      <l:template name="Sep" text="Sep"/>
+      <l:template name="Oct" text="Oct"/>
+      <l:template name="Nov" text="Nov"/>
+      <l:template name="Dec" text="Dec"/>
+      <l:template name="Mon" text="Lun"/>
+      <l:template name="Tue" text="Mar"/>
+      <l:template name="Wed" text="Mer"/>
+      <l:template name="Thu" text="Iov"/>
+      <l:template name="Fri" text="Ven"/>
+      <l:template name="Sat" text="Sab"/>
+      <l:template name="Sun" text="Dom"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0409 English (UNITED STATES)" lang="en"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/labels.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/labels.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/labels.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,850 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                exclude-result-prefixes="doc"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: labels.xsl 6488 2007-01-13 09:51:31Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- label markup -->
+
+<doc:mode mode="label.markup" xmlns="">
+<refpurpose>Provides access to element labels</refpurpose>
+<refdescription>
+<para>Processing an element in the
+<literal role="mode">label.markup</literal> mode produces the
+element label.</para>
+<para>Trailing punctuation is not added to the label.
+</para>
+</refdescription>
+</doc:mode>
+
+<xsl:template match="*" mode="intralabel.punctuation">
+  <xsl:text>.</xsl:text>
+</xsl:template>
+
+<xsl:template match="*" mode="label.markup">
+  <xsl:param name="verbose" select="1"/>
+  <xsl:if test="$verbose">
+    <xsl:message>
+      <xsl:text>Request for label of unexpected element: </xsl:text>
+      <xsl:value-of select="local-name(.)"/>
+    </xsl:message>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="set|book" mode="label.markup">
+  <xsl:if test="@label">
+    <xsl:value-of select="@label"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="part" mode="label.markup">
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="string($part.autolabel) != 0">
+      <xsl:variable name="format">
+        <xsl:call-template name="autolabel.format">
+          <xsl:with-param name="format" select="$part.autolabel"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:number from="book" count="part" format="{$format}"/>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="partintro" mode="label.markup">
+  <!-- no label -->
+</xsl:template>
+
+<xsl:template match="preface" mode="label.markup">
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="string($preface.autolabel) != 0">
+      <xsl:if test="$component.label.includes.part.label != 0 and
+                      ancestor::part">
+        <xsl:variable name="part.label">
+          <xsl:apply-templates select="ancestor::part" 
+                               mode="label.markup"/>
+        </xsl:variable>
+        <xsl:if test="$part.label != ''">
+          <xsl:value-of select="$part.label"/>
+          <xsl:apply-templates select="ancestor::part" 
+                               mode="intralabel.punctuation"/>
+        </xsl:if>
+      </xsl:if>
+      <xsl:variable name="format">
+        <xsl:call-template name="autolabel.format">
+          <xsl:with-param name="format" select="$preface.autolabel"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:choose>
+        <xsl:when test="$label.from.part != 0 and ancestor::part">
+          <xsl:number from="part" count="preface" format="{$format}" level="any"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:number from="book" count="preface" format="{$format}" level="any"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="chapter" mode="label.markup">
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="string($chapter.autolabel) != 0">
+      <xsl:if test="$component.label.includes.part.label != 0 and
+                      ancestor::part">
+        <xsl:variable name="part.label">
+          <xsl:apply-templates select="ancestor::part" 
+                               mode="label.markup"/>
+        </xsl:variable>
+        <xsl:if test="$part.label != ''">
+          <xsl:value-of select="$part.label"/>
+          <xsl:apply-templates select="ancestor::part" 
+                               mode="intralabel.punctuation"/>
+        </xsl:if>
+      </xsl:if>
+      <xsl:variable name="format">
+        <xsl:call-template name="autolabel.format">
+          <xsl:with-param name="format" select="$chapter.autolabel"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:choose>
+        <xsl:when test="$label.from.part != 0 and ancestor::part">
+          <xsl:number from="part" count="chapter" format="{$format}" level="any"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:number from="book" count="chapter" format="{$format}" level="any"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="appendix" mode="label.markup">
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="string($appendix.autolabel) != 0">
+      <xsl:if test="$component.label.includes.part.label != 0 and
+                      ancestor::part">
+        <xsl:variable name="part.label">
+          <xsl:apply-templates select="ancestor::part" 
+                               mode="label.markup"/>
+        </xsl:variable>
+        <xsl:if test="$part.label != ''">
+          <xsl:value-of select="$part.label"/>
+          <xsl:apply-templates select="ancestor::part" 
+                               mode="intralabel.punctuation"/>
+        </xsl:if>
+      </xsl:if>
+      <xsl:variable name="format">
+        <xsl:call-template name="autolabel.format">
+          <xsl:with-param name="format" select="$appendix.autolabel"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:choose>
+        <xsl:when test="$label.from.part != 0 and ancestor::part">
+          <xsl:number from="part" count="appendix" format="{$format}" level="any"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:number from="book|article"
+                      count="appendix" format="{$format}" level="any"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="article" mode="label.markup">
+  <xsl:if test="@label">
+    <xsl:value-of select="@label"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="dedication|colophon" mode="label.markup">
+  <xsl:if test="@label">
+    <xsl:value-of select="@label"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="reference" mode="label.markup">
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="string($reference.autolabel) != 0">
+      <xsl:variable name="format">
+        <xsl:call-template name="autolabel.format">
+          <xsl:with-param name="format" select="$reference.autolabel"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:number from="book" count="reference" format="{$format}" level="any"/>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="refentry" mode="label.markup">
+  <xsl:if test="@label">
+    <xsl:value-of select="@label"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="section" mode="label.markup">
+  <!-- if this is a nested section, label the parent -->
+  <xsl:if test="local-name(..) = 'section'">
+    <xsl:variable name="parent.section.label">
+      <xsl:call-template name="label.this.section">
+        <xsl:with-param name="section" select=".."/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:if test="$parent.section.label != '0'">
+      <xsl:apply-templates select=".." mode="label.markup"/>
+      <xsl:apply-templates select=".." mode="intralabel.punctuation"/>
+    </xsl:if>
+  </xsl:if>
+
+  <!-- if the parent is a component, maybe label that too -->
+  <xsl:variable name="parent.is.component">
+    <xsl:call-template name="is.component">
+      <xsl:with-param name="node" select=".."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <!-- does this section get labelled? -->
+  <xsl:variable name="label">
+    <xsl:call-template name="label.this.section">
+      <xsl:with-param name="section" select="."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="$section.label.includes.component.label != 0
+                and $parent.is.component != 0">
+    <xsl:variable name="parent.label">
+      <xsl:apply-templates select=".." mode="label.markup"/>
+    </xsl:variable>
+    <xsl:if test="$parent.label != ''">
+      <xsl:apply-templates select=".." mode="label.markup"/>
+      <xsl:apply-templates select=".." mode="intralabel.punctuation"/>
+    </xsl:if>
+  </xsl:if>
+
+<!--
+  <xsl:message>
+    test: <xsl:value-of select="$label"/>, <xsl:number count="section"/>
+  </xsl:message>
+-->
+
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="$label != 0">      
+      <xsl:variable name="format">
+        <xsl:call-template name="autolabel.format">
+          <xsl:with-param name="format" select="$section.autolabel"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:number format="{$format}" count="section"/>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="sect1" mode="label.markup">
+  <!-- if the parent is a component, maybe label that too -->
+  <xsl:variable name="parent.is.component">
+    <xsl:call-template name="is.component">
+      <xsl:with-param name="node" select=".."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="component.label">
+    <xsl:if test="$section.label.includes.component.label != 0
+                  and $parent.is.component != 0">
+      <xsl:variable name="parent.label">
+        <xsl:apply-templates select=".." mode="label.markup"/>
+      </xsl:variable>
+      <xsl:if test="$parent.label != ''">
+        <xsl:apply-templates select=".." mode="label.markup"/>
+        <xsl:apply-templates select=".." mode="intralabel.punctuation"/>
+      </xsl:if>
+    </xsl:if>
+  </xsl:variable>
+
+
+  <xsl:variable name="is.numbered">
+    <xsl:call-template name="label.this.section"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="$is.numbered != 0">
+      <xsl:variable name="format">
+        <xsl:call-template name="autolabel.format">
+          <xsl:with-param name="format" select="$section.autolabel"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:copy-of select="$component.label"/>
+      <xsl:number format="{$format}" count="sect1"/>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="sect2|sect3|sect4|sect5" mode="label.markup">
+  <!-- label the parent -->
+  <xsl:variable name="parent.section.label">
+    <xsl:call-template name="label.this.section">
+      <xsl:with-param name="section" select=".."/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:if test="$parent.section.label != '0'">
+    <xsl:apply-templates select=".." mode="label.markup"/>
+    <xsl:apply-templates select=".." mode="intralabel.punctuation"/>
+  </xsl:if>
+
+  <xsl:variable name="is.numbered">
+    <xsl:call-template name="label.this.section"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="$is.numbered != 0">
+      <xsl:variable name="format">
+        <xsl:call-template name="autolabel.format">
+          <xsl:with-param name="format" select="$section.autolabel"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:choose>
+        <xsl:when test="local-name(.) = 'sect2'">
+          <xsl:number format="{$format}" count="sect2"/>
+        </xsl:when>
+        <xsl:when test="local-name(.) = 'sect3'">
+          <xsl:number format="{$format}" count="sect3"/>
+        </xsl:when>
+        <xsl:when test="local-name(.) = 'sect4'">
+          <xsl:number format="{$format}" count="sect4"/>
+        </xsl:when>
+        <xsl:when test="local-name(.) = 'sect5'">
+          <xsl:number format="{$format}" count="sect5"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>label.markup: this can't happen!</xsl:message>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="bridgehead" mode="label.markup">
+  <!-- FIXME: could we do a better job here? -->
+  <xsl:variable name="contsec"
+                select="(ancestor::section
+                         |ancestor::simplesect
+                         |ancestor::sect1
+                         |ancestor::sect2
+                         |ancestor::sect3
+                         |ancestor::sect4
+                         |ancestor::sect5
+                         |ancestor::refsect1
+                         |ancestor::refsect2
+                         |ancestor::refsect3
+                         |ancestor::chapter
+                         |ancestor::appendix
+                         |ancestor::preface)[last()]"/>
+
+  <xsl:apply-templates select="$contsec" mode="label.markup"/>
+</xsl:template>
+
+<xsl:template match="refsect1" mode="label.markup">
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="$section.autolabel != 0">
+      <xsl:variable name="format">
+        <xsl:call-template name="autolabel.format">
+          <xsl:with-param name="format" select="$section.autolabel"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:number count="refsect1" format="{$format}"/>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="refsect2|refsect3" mode="label.markup">
+  <!-- label the parent -->
+  <xsl:variable name="parent.label">
+    <xsl:apply-templates select=".." mode="label.markup"/>
+  </xsl:variable>
+  <xsl:if test="$parent.label != ''">
+    <xsl:apply-templates select=".." mode="label.markup"/>
+    <xsl:apply-templates select=".." mode="intralabel.punctuation"/>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="$section.autolabel != 0">
+      <xsl:variable name="format">
+        <xsl:call-template name="autolabel.format">
+          <xsl:with-param name="format" select="$section.autolabel"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:choose>
+        <xsl:when test="local-name(.) = 'refsect2'">
+          <xsl:number count="refsect2" format="{$format}"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:number count="refsect3" format="{$format}"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="simplesect" mode="label.markup">
+  <!-- if this is a nested section, label the parent -->
+  <xsl:if test="local-name(..) = 'section'
+                or local-name(..) = 'sect1'
+                or local-name(..) = 'sect2'
+                or local-name(..) = 'sect3'
+                or local-name(..) = 'sect4'
+                or local-name(..) = 'sect5'">
+    <xsl:variable name="parent.section.label">
+      <xsl:apply-templates select=".." mode="label.markup"/>
+    </xsl:variable>
+    <xsl:if test="$parent.section.label != ''">
+      <xsl:apply-templates select=".." mode="label.markup"/>
+      <xsl:apply-templates select=".." mode="intralabel.punctuation"/>
+    </xsl:if>
+  </xsl:if>
+
+  <!-- if the parent is a component, maybe label that too -->
+  <xsl:variable name="parent.is.component">
+    <xsl:call-template name="is.component">
+      <xsl:with-param name="node" select=".."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <!-- does this section get labelled? -->
+  <xsl:variable name="label">
+    <xsl:call-template name="label.this.section">
+      <xsl:with-param name="section" select="."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="$section.label.includes.component.label != 0
+                and $parent.is.component != 0">
+    <xsl:variable name="parent.label">
+      <xsl:apply-templates select=".." mode="label.markup"/>
+    </xsl:variable>
+    <xsl:if test="$parent.label != ''">
+      <xsl:apply-templates select=".." mode="label.markup"/>
+      <xsl:apply-templates select=".." mode="intralabel.punctuation"/>
+    </xsl:if>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="$label != 0">
+      <xsl:variable name="format">
+        <xsl:call-template name="autolabel.format">
+          <xsl:with-param name="format" select="$section.autolabel"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:number format="{$format}" count="simplesect"/>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="qandadiv" mode="label.markup">
+  <xsl:variable name="lparent" select="(ancestor::set
+                                       |ancestor::book
+                                       |ancestor::chapter
+                                       |ancestor::appendix
+                                       |ancestor::preface
+                                       |ancestor::section
+                                       |ancestor::simplesect
+                                       |ancestor::sect1
+                                       |ancestor::sect2
+                                       |ancestor::sect3
+                                       |ancestor::sect4
+                                       |ancestor::sect5
+                                       |ancestor::refsect1
+                                       |ancestor::refsect2
+                                       |ancestor::refsect3)[last()]"/>
+
+  <xsl:variable name="lparent.prefix">
+    <xsl:apply-templates select="$lparent" mode="label.markup"/>
+  </xsl:variable>
+
+  <xsl:variable name="prefix">
+    <xsl:if test="$qanda.inherit.numeration != 0">
+      <xsl:if test="$lparent.prefix != ''">
+        <xsl:apply-templates select="$lparent" mode="label.markup"/>
+        <xsl:apply-templates select="$lparent" mode="intralabel.punctuation"/>
+      </xsl:if>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$qandadiv.autolabel != 0">
+      <xsl:variable name="format">
+        <xsl:call-template name="autolabel.format">
+          <xsl:with-param name="format" select="$qandadiv.autolabel"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:value-of select="$prefix"/>
+      <xsl:number level="multiple" count="qandadiv" format="{$format}"/>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="question|answer" mode="label.markup">
+  <xsl:variable name="lparent" select="(ancestor::set
+                                       |ancestor::book
+                                       |ancestor::chapter
+                                       |ancestor::appendix
+                                       |ancestor::preface
+                                       |ancestor::section
+                                       |ancestor::simplesect
+                                       |ancestor::sect1
+                                       |ancestor::sect2
+                                       |ancestor::sect3
+                                       |ancestor::sect4
+                                       |ancestor::sect5
+                                       |ancestor::refsect1
+                                       |ancestor::refsect2
+                                       |ancestor::refsect3)[last()]"/>
+
+  <xsl:variable name="lparent.prefix">
+    <xsl:apply-templates select="$lparent" mode="label.markup"/>
+  </xsl:variable>
+
+  <xsl:variable name="prefix">
+    <xsl:if test="$qanda.inherit.numeration != 0">
+      <xsl:choose>
+        <xsl:when test="ancestor::qandadiv">
+          <xsl:apply-templates select="ancestor::qandadiv[1]" mode="label.markup"/>
+          <xsl:apply-templates select="ancestor::qandadiv[1]"
+                               mode="intralabel.punctuation"/>
+        </xsl:when>
+        <xsl:when test="$lparent.prefix != ''">
+          <xsl:apply-templates select="$lparent" mode="label.markup"/>
+          <xsl:apply-templates select="$lparent" mode="intralabel.punctuation"/>
+        </xsl:when>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="inhlabel"
+                select="ancestor-or-self::qandaset/@defaultlabel[1]"/>
+
+  <xsl:variable name="deflabel">
+    <xsl:choose>
+      <xsl:when test="$inhlabel != ''">
+        <xsl:value-of select="$inhlabel"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$qanda.defaultlabel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="label" select="label"/>
+
+  <xsl:choose>
+    <xsl:when test="count($label)>0">
+      <xsl:apply-templates select="$label"/>
+    </xsl:when>
+
+    <xsl:when test="$deflabel = 'qanda' and local-name(.) = 'question'">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'Question'"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:when test="$deflabel = 'qanda' and local-name(.) = 'answer'">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'Answer'"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:when test="$deflabel = 'number' and local-name(.) = 'question'">
+      <xsl:value-of select="$prefix"/>
+      <xsl:number level="multiple" count="qandaentry" format="1"/>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="bibliography|glossary|
+                     qandaset|index|setindex" mode="label.markup">
+  <xsl:if test="@label">
+    <xsl:value-of select="@label"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="figure|table|example" mode="label.markup">
+  <xsl:variable name="pchap"
+                select="ancestor::chapter
+                        |ancestor::appendix
+                        |ancestor::article[ancestor::book]"/>
+
+  <xsl:variable name="prefix">
+    <xsl:if test="count($pchap) &gt; 0">
+      <xsl:apply-templates select="$pchap" mode="label.markup"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$prefix != ''">
+            <xsl:apply-templates select="$pchap" mode="label.markup"/>
+            <xsl:apply-templates select="$pchap" mode="intralabel.punctuation"/>
+          <xsl:number format="1" from="chapter|appendix" level="any"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:number format="1" from="book|article" level="any"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="procedure" mode="label.markup">
+  <xsl:variable name="pchap"
+                select="ancestor::chapter
+                        |ancestor::appendix
+                        |ancestor::article[ancestor::book]"/>
+
+  <xsl:variable name="prefix">
+    <xsl:if test="count($pchap) &gt; 0">
+      <xsl:apply-templates select="$pchap" mode="label.markup"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="$formal.procedures = 0">
+      <!-- No label -->
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="count($pchap)>0">
+          <xsl:if test="$prefix != ''">
+            <xsl:apply-templates select="$pchap" mode="label.markup"/>
+            <xsl:apply-templates select="$pchap" mode="intralabel.punctuation"/>
+          </xsl:if>
+          <xsl:number count="procedure[title]" format="1" 
+                      from="chapter|appendix" level="any"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:number count="procedure[title]" format="1" 
+                      from="book|article" level="any"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="equation" mode="label.markup">
+  <xsl:variable name="pchap"
+                select="ancestor::chapter
+                        |ancestor::appendix
+                        |ancestor::article[ancestor::book]"/>
+
+  <xsl:variable name="prefix">
+    <xsl:if test="count($pchap) &gt; 0">
+      <xsl:apply-templates select="$pchap" mode="label.markup"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="@label">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="count($pchap)>0">
+          <xsl:if test="$prefix != ''">
+            <xsl:apply-templates select="$pchap" mode="label.markup"/>
+            <xsl:apply-templates select="$pchap" mode="intralabel.punctuation"/>
+          </xsl:if>
+          <xsl:number format="1" count="equation[title or info/title]" 
+	              from="chapter|appendix" level="any"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:number format="1" count="equation[title or info/title]" 
+	              from="book|article" level="any"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="orderedlist/listitem" mode="label.markup">
+  <xsl:variable name="numeration">
+    <xsl:call-template name="list.numeration">
+      <xsl:with-param name="node" select="parent::orderedlist"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:choose>
+      <xsl:when test="$numeration='arabic'">1</xsl:when>
+      <xsl:when test="$numeration='loweralpha'">a</xsl:when>
+      <xsl:when test="$numeration='lowerroman'">i</xsl:when>
+      <xsl:when test="$numeration='upperalpha'">A</xsl:when>
+      <xsl:when test="$numeration='upperroman'">I</xsl:when>
+      <!-- What!? This should never happen -->
+      <xsl:otherwise>
+        <xsl:message>
+          <xsl:text>Unexpected numeration: </xsl:text>
+          <xsl:value-of select="$numeration"/>
+        </xsl:message>
+        <xsl:value-of select="1."/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="item-number">
+    <xsl:call-template name="orderedlist-item-number"/>
+  </xsl:variable>
+
+  <xsl:number value="$item-number" format="{$type}"/>
+</xsl:template>
+
+<xsl:template match="abstract" mode="label.markup">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="sidebar" mode="label.markup">
+  <!-- nop -->
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="label.this.section">
+  <xsl:param name="section" select="."/>
+
+  <xsl:variable name="level">
+    <xsl:call-template name="section.level"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$level &lt;= $section.autolabel.max.depth">      
+      <xsl:value-of select="$section.autolabel"/>
+    </xsl:when>
+    <xsl:otherwise>0</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<doc:template name="label.this.section" xmlns="">
+<refpurpose>Returns true if $section should be labelled</refpurpose>
+<refdescription>
+<para>Returns true if the specified section should be labelled.
+By default, this template returns zero unless 
+the section level is less than or equal to the value of the
+<literal>$section.autolabel.max.depth</literal> parameter, in
+which case it returns
+<literal>$section.autolabel</literal>.
+Custom stylesheets may override it to get more selective behavior.</para>
+</refdescription>
+</doc:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="default.autolabel.format">
+  <xsl:param name="context" select="."/>
+  <xsl:choose>
+    <xsl:when test="local-name($context) = 'appendix'">
+      <xsl:value-of select="'A'"/>
+    </xsl:when>
+    <xsl:when test="local-name($context) = 'part'">
+      <xsl:value-of select="'I'"/>
+    </xsl:when>
+    <xsl:otherwise>1</xsl:otherwise>
+  </xsl:choose>  
+</xsl:template>
+  
+<xsl:template name="autolabel.format">
+  <xsl:param name="context" select="."/>
+  <xsl:param name="format"/>
+
+  <xsl:choose>
+    <xsl:when test="string($format) != 0">
+      <xsl:choose>
+        <xsl:when test="string($format)='arabic' or $format='1'">1</xsl:when>
+        <xsl:when test="$format='loweralpha' or $format='a'">
+          <xsl:value-of select="'a'"/>
+        </xsl:when>
+        <xsl:when test="$format='lowerroman' or $format='i'">
+          <xsl:value-of select="'i'"/>
+        </xsl:when>
+        <xsl:when test="$format='upperalpha' or $format='A'">
+          <xsl:value-of select="'A'"/>
+        </xsl:when>
+        <xsl:when test="$format='upperroman' or $format='I'">
+          <xsl:value-of select="'I'"/>
+        </xsl:when>      
+	<xsl:when test="$format='arabicindic' or $format='&#x661;'">
+	  <xsl:value-of select="'&#x661;'"/>
+	</xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>Unexpected </xsl:text><xsl:value-of select="local-name(.)"/><xsl:text>.autolabel value: </xsl:text>
+            <xsl:value-of select="$format"/><xsl:text>; using default.</xsl:text>
+          </xsl:message>
+          <xsl:call-template name="default.autolabel.format"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<doc:template name="autolabel.format" xmlns="">
+<refpurpose>Returns format for autolabel parameters</refpurpose>
+<refdescription>
+<para>Returns format passed as parameter if non zero. Supported
+  format are 'arabic' or '1', 'loweralpha' or 'a', 'lowerroman' or 'i', 
+  'upperlapha' or 'A', 'upperroman' or 'I', 'arabicindic' or '&#x661;'.
+  If its not one of these then 
+  returns the default format.</para>
+</refdescription>
+</doc:template>
+
+<!-- ============================================================ -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/common/lt.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/lt.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/lt.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,651 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="lt" english-language-name="Lithuanian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/lt.xml -->
+<!-- * -->
+<!-- * E-mail the edited lt.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Santrauka"/>
+   <l:gentext key="abstract" text="Santrauka"/>
+   <l:gentext key="Answer" text="Ats:"/>
+   <l:gentext key="answer" text="Ats:"/>
+   <l:gentext key="Appendix" text="Priedas"/>
+   <l:gentext key="appendix" text="Priedas"/>
+   <l:gentext key="Article" text="Straipsnis"/>
+   <l:gentext key="article" text="Straipsnis"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Bibliografija"/>
+   <l:gentext key="bibliography" text="Bibliografija"/>
+   <l:gentext key="Book" text="Knyga"/>
+   <l:gentext key="book" text="Knyga"/>
+   <l:gentext key="CAUTION" text="ATSARGIAI"/>
+   <l:gentext key="Caution" text="Atsargiai"/>
+   <l:gentext key="caution" text="Atsargiai"/>
+   <l:gentext key="Chapter" text="Skyrius"/>
+   <l:gentext key="chapter" text="Skyrius"/>
+   <l:gentext key="Colophon" text="Knygos metrika"/>
+   <l:gentext key="colophon" text="Knygos metrika"/>
+   <l:gentext key="Copyright" text="Autorin&#279;s teis&#279;s"/>
+   <l:gentext key="copyright" text="Autorin&#279;s teis&#279;s"/>
+   <l:gentext key="Dedication" text="Dedikacija"/>
+   <l:gentext key="dedication" text="Dedikacija"/>
+   <l:gentext key="Edition" text="Leidimas"/>
+   <l:gentext key="edition" text="Leidimas"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Lygtis"/>
+   <l:gentext key="equation" text="Lygtis"/>
+   <l:gentext key="Example" text="Pavyzdys"/>
+   <l:gentext key="example" text="Pavyzdys"/>
+   <l:gentext key="Figure" text="Pav."/>
+   <l:gentext key="figure" text="Pav."/>
+   <l:gentext key="Glossary" text="Termin&#371; &#382;odynas"/>
+   <l:gentext key="glossary" text="Termin&#371; &#382;odynas"/>
+   <l:gentext key="GlossSee" text="&#381;r."/>
+   <l:gentext key="glosssee" text="&#381;r."/>
+   <l:gentext key="GlossSeeAlso" text="Taip pat &#382;r."/>
+   <l:gentext key="glossseealso" text="Taip pat &#382;r."/>
+   <l:gentext key="IMPORTANT" text="SVARBU"/>
+   <l:gentext key="important" text="Svarbu"/>
+   <l:gentext key="Important" text="Svarbu"/>
+   <l:gentext key="Index" text="Rodykl&#279;"/>
+   <l:gentext key="index" text="Rodykl&#279;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Teisin&#279; pastaba"/>
+   <l:gentext key="legalnotice" text="Teisin&#279; pastaba"/>
+   <l:gentext key="MsgAud" text="Auditorija"/>
+   <l:gentext key="msgaud" text="Auditorija"/>
+   <l:gentext key="MsgLevel" text="Lygmuo"/>
+   <l:gentext key="msglevel" text="Lygmuo"/>
+   <l:gentext key="MsgOrig" text="Kilm&#279;"/>
+   <l:gentext key="msgorig" text="Kilm&#279;"/>
+   <l:gentext key="NOTE" text="PASTABA"/>
+   <l:gentext key="Note" text="Pastaba"/>
+   <l:gentext key="note" text="Pastaba"/>
+   <l:gentext key="Part" text="Dalis"/>
+   <l:gentext key="part" text="Dalis"/>
+   <l:gentext key="Preface" text="&#302;vadas"/>
+   <l:gentext key="preface" text="&#302;vadas"/>
+   <l:gentext key="Procedure" text="Proced&#363;ra"/>
+   <l:gentext key="procedure" text="Proced&#363;ra"/>
+   <l:gentext key="ProductionSet" text="Produkcija"/>
+   <l:gentext key="PubDate" text="I&#353;leidimo data"/>
+   <l:gentext key="pubdate" text="I&#353;leidimo data"/>
+   <l:gentext key="Published" text="I&#353;leistas"/>
+   <l:gentext key="published" text="I&#353;leistas"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Klaus. ir Ats."/>
+   <l:gentext key="qandadiv" text="Klaus. ir Ats."/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Klaus.:"/>
+   <l:gentext key="question" text="Klaus.:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Nuoroda"/>
+   <l:gentext key="reference" text="Nuoroda"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Pavadinimas"/>
+   <l:gentext key="refname" text="Pavadinimas"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Trumpa ap&#382;valga"/>
+   <l:gentext key="refsynopsisdiv" text="Trumpa ap&#382;valga"/>
+   <l:gentext key="RevHistory" text="Pataisym&#371; istorija"/>
+   <l:gentext key="revhistory" text="Pataisym&#371; istorija"/>
+   <l:gentext key="revision" text="Pataisytas leidimas"/>
+   <l:gentext key="Revision" text="Pataisytas leidimas"/>
+   <l:gentext key="sect1" text="Skyrius"/>
+   <l:gentext key="sect2" text="Skyrius"/>
+   <l:gentext key="sect3" text="Skyrius"/>
+   <l:gentext key="sect4" text="Skyrius"/>
+   <l:gentext key="sect5" text="Skyrius"/>
+   <l:gentext key="section" text="Skyrius"/>
+   <l:gentext key="Section" text="Skyrius"/>
+   <l:gentext key="see" text="&#382;r."/>
+   <l:gentext key="See" text="&#381;r."/>
+   <l:gentext key="seealso" text="taip pat &#382;r."/>
+   <l:gentext key="Seealso" text="Taip pat &#382;r."/>
+   <l:gentext key="SeeAlso" text="Taip pat &#382;r."/>
+   <l:gentext key="set" text="Set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Set Index"/>
+   <l:gentext key="SetIndex" text="Set Index"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="&#382;ingsnis"/>
+   <l:gentext key="Step" text="&#381;ingsnis"/>
+   <l:gentext key="table" text="Lentel&#279;"/>
+   <l:gentext key="Table" text="Lentel&#279;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Patarimas"/>
+   <l:gentext key="TIP" text="PATARIMAS"/>
+   <l:gentext key="Tip" text="Patarimas"/>
+   <l:gentext key="Warning" text="&#302;sp&#279;jimas"/>
+   <l:gentext key="warning" text="&#302;sp&#279;jimas"/>
+   <l:gentext key="WARNING" text="&#302;SP&#278;JIMAS"/>
+   <l:gentext key="and" text="ir"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="Redaguotas"/>
+   <l:gentext key="edited" text="Redaguotas"/>
+   <l:gentext key="Editedby" text="Redagavo"/>
+   <l:gentext key="editedby" text="Redagavo"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="neegzistuojantis elementas"/>
+   <l:gentext key="notes" text="Pastabos"/>
+   <l:gentext key="Notes" text="Pastabos"/>
+   <l:gentext key="Pgs" text="P."/>
+   <l:gentext key="pgs" text="P."/>
+   <l:gentext key="Revisedby" text="Patais&#279;: "/>
+   <l:gentext key="revisedby" text="Patais&#279;: "/>
+   <l:gentext key="TableNotes" text="Pastabos"/>
+   <l:gentext key="tablenotes" text="Pastabos"/>
+   <l:gentext key="TableofContents" text="Turinys"/>
+   <l:gentext key="tableofcontents" text="Turinys"/>
+   <l:gentext key="unexpectedelementname" text="Nenumatyto elemento pavadinimas"/>
+   <l:gentext key="unsupported" text="nepalaikomas"/>
+   <l:gentext key="xrefto" text="xref &#303;"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Lyg&#269;i&#371; s&#261;ra&#353;as"/>
+   <l:gentext key="ListofEquations" text="Lyg&#269;i&#371; s&#261;ra&#353;as"/>
+   <l:gentext key="ListofExamples" text="Pavyzd&#382;i&#371; s&#261;ra&#353;as"/>
+   <l:gentext key="listofexamples" text="Pavyzd&#382;i&#371; s&#261;ra&#353;as"/>
+   <l:gentext key="ListofFigures" text="Paveiksl&#371; s&#261;ra&#353;as"/>
+   <l:gentext key="listoffigures" text="Paveiksl&#371; s&#261;ra&#353;as"/>
+   <l:gentext key="ListofProcedures" text="Proced&#363;r&#371; s&#261;ra&#353;as"/>
+   <l:gentext key="listofprocedures" text="Proced&#363;r&#371; s&#261;ra&#353;as"/>
+   <l:gentext key="listoftables" text="Lenteli&#371; s&#261;ra&#353;as"/>
+   <l:gentext key="ListofTables" text="Lenteli&#371; s&#261;ra&#353;as"/>
+   <l:gentext key="ListofUnknown" text="Ne&#382;inomas s&#261;ra&#353;as"/>
+   <l:gentext key="listofunknown" text="Ne&#382;inomas s&#261;ra&#353;as"/>
+   <l:gentext key="nav-home" text="&#302; prad&#382;i&#261;"/>
+   <l:gentext key="nav-next" text="Sekantis"/>
+   <l:gentext key="nav-next-sibling" text="Spartus pirmyn"/>
+   <l:gentext key="nav-prev" text="Ankstesnis"/>
+   <l:gentext key="nav-prev-sibling" text="Spartus atgal"/>
+   <l:gentext key="nav-up" text="Auk&#353;tyn"/>
+   <l:gentext key="nav-toc" text="Turinys"/>
+   <l:gentext key="Draft" text="Planas"/>
+   <l:gentext key="above" text="auk&#353;&#269;iau"/>
+   <l:gentext key="below" text="&#382;emiau"/>
+   <l:gentext key="sectioncalled" text="skyrius pavadinimu"/>
+   <l:gentext key="index symbols" text="Simboliai"/>
+   <l:gentext key="lowercase.alpha" text="a&#261;bc&#269;de&#281;&#279;fghi&#303;yjklmnoprs&#353;tu&#371;&#363;vz&#382;qwx"/>
+   <l:gentext key="uppercase.alpha" text="A&#260;BC&#268;DE&#280;&#278;FGHI&#302;YJKLMNOPRS&#352;TU&#370;&#362;VZ&#381;QWX"/>
+   <l:dingbat key="startquote" text="&#8222;"/>
+   <l:dingbat key="endquote" text="&#8220;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Priedas&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Skyrius&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Lygtis&#160;%n.&#160;%t"/>
+      <l:template name="example" text="Pavyzdys&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="Pav.&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Dalis&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Proced&#363;ra&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Produkcija&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Lentel&#279;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Priedas&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Skyrius&#160;%n.&#160;%t"/>
+      <l:template name="part" text="Dalis&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="Ats:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Klaus.:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Klaus.:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o"/>
+      <l:template name="olink.page.citation" text=" (page %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)"/>
+      <l:template name="docname" text=" in %o"/>
+      <l:template name="docnamelong" text=" in the document titled %o"/>
+      <l:template name="pageabbrev" text="(p. %p)"/>
+      <l:template name="Page" text="Page %p"/>
+      <l:template name="bridgehead" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="refsection" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="refsect1" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="refsect2" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="refsect3" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="sect1" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="sect2" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="sect3" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="sect4" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="sect5" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="section" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="simplesect" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="Ats:&#160;%n"/>
+      <l:template name="appendix" text="Priedas&#160;%n"/>
+      <l:template name="bridgehead" text="Skyrius&#160;%n"/>
+      <l:template name="chapter" text="Skyrius&#160;%n"/>
+      <l:template name="equation" text="Lygtis&#160;%n"/>
+      <l:template name="example" text="Pavyzdys&#160;%n"/>
+      <l:template name="figure" text="Pav.&#160;%n"/>
+      <l:template name="part" text="Dalis&#160;%n"/>
+      <l:template name="procedure" text="Proced&#363;ra&#160;%n"/>
+      <l:template name="productionset" text="Produkcija&#160;%n"/>
+      <l:template name="qandadiv" text="Klaus. ir Ats.&#160;%n"/>
+      <l:template name="qandaentry" text="Klaus.:&#160;%n"/>
+      <l:template name="question" text="Klaus.:&#160;%n"/>
+      <l:template name="sect1" text="Skyrius&#160;%n"/>
+      <l:template name="sect2" text="Skyrius&#160;%n"/>
+      <l:template name="sect3" text="Skyrius&#160;%n"/>
+      <l:template name="sect4" text="Skyrius&#160;%n"/>
+      <l:template name="sect5" text="Skyrius&#160;%n"/>
+      <l:template name="section" text="Skyrius&#160;%n"/>
+      <l:template name="table" text="Lentel&#279;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Priedas&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Skyrius&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="chapter" text="Skyrius&#160;%n, %t"/>
+      <l:template name="equation" text="Lygtis&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="example" text="Pavyzdys&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="figure" text="Pav.&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="part" text="Dalis&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="procedure" text="Proced&#363;ra&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="productionset" text="Produkcija&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="qandadiv" text="Klaus. ir Ats.&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="refsect1" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="refsect2" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="refsect3" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="refsection" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="sect1" text="Skyrius&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect2" text="Skyrius&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect3" text="Skyrius&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect4" text="Skyrius&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="sect5" text="Skyrius&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="section" text="Skyrius&#160;%n, &#8222;%t&#8220;"/>
+      <l:template name="simplesect" text="skyrius pavadinimu &#8222;%t&#8220;"/>
+      <l:template name="table" text="Lentel&#279;&#160;%n, &#8222;%t&#8220;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" ir "/>
+      <l:template name="seplast" text=", ir "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#381;r. %t"/>
+      <l:template name="seealso" text="Taip pat &#382;r. %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Auditorija: "/>
+      <l:template name="MsgLevel" text="Lygmuo: "/>
+      <l:template name="MsgOrig" text="Kilm&#279;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="Y-m-d"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="Sausis"/>
+      <l:template name="February" text="Vasaris"/>
+      <l:template name="March" text="Kovas"/>
+      <l:template name="April" text="Balandis"/>
+      <l:template name="May" text="Gegu&#382;&#279;"/>
+      <l:template name="June" text="Bir&#382;elis"/>
+      <l:template name="July" text="Liepa"/>
+      <l:template name="August" text="Rugpj&#363;tis"/>
+      <l:template name="September" text="Rugs&#279;jis"/>
+      <l:template name="October" text="Spalis"/>
+      <l:template name="November" text="Lapkritis"/>
+      <l:template name="December" text="Gruodis"/>
+      <l:template name="Monday" text="Pirmadienis"/>
+      <l:template name="Tuesday" text="Antradienis"/>
+      <l:template name="Wednesday" text="Tre&#269;iadienis"/>
+      <l:template name="Thursday" text="Ketvirtadienis"/>
+      <l:template name="Friday" text="Penktadienis"/>
+      <l:template name="Saturday" text="&#352;e&#353;tadienis"/>
+      <l:template name="Sunday" text="Sekmadienis"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Sau"/>
+      <l:template name="Feb" text="Vas"/>
+      <l:template name="Mar" text="Kov"/>
+      <l:template name="Apr" text="Bal"/>
+      <l:template name="May" text="Geg"/>
+      <l:template name="Jun" text="Bir"/>
+      <l:template name="Jul" text="Lie"/>
+      <l:template name="Aug" text="Rugp"/>
+      <l:template name="Sep" text="Rugs"/>
+      <l:template name="Oct" text="Spa"/>
+      <l:template name="Nov" text="Lap"/>
+      <l:template name="Dec" text="Gru"/>
+      <l:template name="Mon" text="Pr"/>
+      <l:template name="Tue" text="An"/>
+      <l:template name="Wed" text="Tr"/>
+      <l:template name="Thu" text="Kt"/>
+      <l:template name="Fri" text="Pn"/>
+      <l:template name="Sat" text="&#352;t"/>
+      <l:template name="Sun" text="Sk"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0427 Lithuanian"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Simboliai</l:l>
+      <l:l i="1">A</l:l>
+      <l:l i="1">a</l:l>
+      <l:l i="1">&#260;</l:l>
+      <l:l i="1">&#261;</l:l>
+      <l:l i="2">B</l:l>
+      <l:l i="2">b</l:l>
+      <l:l i="3">C</l:l>
+      <l:l i="3">c</l:l>
+      <l:l i="3">&#268;</l:l>
+      <l:l i="3">&#269;</l:l>
+      <l:l i="4">D</l:l>
+      <l:l i="4">d</l:l>
+      <l:l i="5">E</l:l>
+      <l:l i="5">e</l:l>
+      <l:l i="5">&#280;</l:l>
+      <l:l i="5">&#281;</l:l>
+      <l:l i="5">&#278;</l:l>
+      <l:l i="5">&#279;</l:l>
+      <l:l i="6">F</l:l>
+      <l:l i="6">f</l:l>
+      <l:l i="7">G</l:l>
+      <l:l i="7">g</l:l>
+      <l:l i="8">H</l:l>
+      <l:l i="8">h</l:l>
+      <l:l i="9">I</l:l>
+      <l:l i="9">i</l:l>
+      <l:l i="9">&#302;</l:l>
+      <l:l i="9">&#303;</l:l>
+      <l:l i="10">Y</l:l>
+      <l:l i="10">y</l:l>
+      <l:l i="11">J</l:l>
+      <l:l i="11">j</l:l>
+      <l:l i="12">K</l:l>
+      <l:l i="12">k</l:l>
+      <l:l i="13">L</l:l>
+      <l:l i="13">l</l:l>
+      <l:l i="14">M</l:l>
+      <l:l i="14">m</l:l>
+      <l:l i="15">N</l:l>
+      <l:l i="15">n</l:l>
+      <l:l i="16">O</l:l>
+      <l:l i="16">o</l:l>
+      <l:l i="17">P</l:l>
+      <l:l i="17">p</l:l>
+      <l:l i="18">R</l:l>
+      <l:l i="18">r</l:l>
+      <l:l i="19">S</l:l>
+      <l:l i="19">s</l:l>
+      <l:l i="19">&#352;</l:l>
+      <l:l i="19">&#353;</l:l>
+      <l:l i="20">T</l:l>
+      <l:l i="20">t</l:l>
+      <l:l i="21">U</l:l>
+      <l:l i="21">u</l:l>
+      <l:l i="21">&#370;</l:l>
+      <l:l i="21">&#371;</l:l>
+      <l:l i="21">&#362;</l:l>
+      <l:l i="21">&#363;</l:l>
+      <l:l i="22">V</l:l>
+      <l:l i="22">v</l:l>
+      <l:l i="23">Z</l:l>
+      <l:l i="23">z</l:l>
+      <l:l i="23">&#381;</l:l>
+      <l:l i="23">&#382;</l:l>
+      <l:l i="24">Q</l:l>
+      <l:l i="24">q</l:l>
+      <l:l i="25">W</l:l>
+      <l:l i="25">w</l:l>
+      <l:l i="26">X</l:l>
+      <l:l i="26">x</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/mn.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/mn.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/mn.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,651 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="mn" english-language-name="Mongolian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/mn.xml -->
+<!-- * -->
+<!-- * E-mail the edited mn.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#1058;&#1086;&#1074;&#1095; &#1072;&#1075;&#1091;&#1091;&#1083;&#1075;&#1072;"/>
+   <l:gentext key="abstract" text="&#1090;&#1086;&#1074;&#1095; &#1072;&#1075;&#1091;&#1091;&#1083;&#1075;&#1072;"/>
+   <l:gentext key="Answer" text="&#1061;:"/>
+   <l:gentext key="answer" text="&#1061;:"/>
+   <l:gentext key="Appendix" text="&#1061;&#1072;&#1074;&#1089;&#1088;&#1072;&#1083;&#1090;"/>
+   <l:gentext key="appendix" text="&#1093;&#1072;&#1074;&#1089;&#1088;&#1072;&#1083;&#1090;"/>
+   <l:gentext key="Article" text="&#1256;&#1075;&#1199;&#1199;&#1083;&#1101;&#1083;"/>
+   <l:gentext key="article" text="&#1257;&#1075;&#1199;&#1199;&#1083;&#1101;&#1083;"/>
+   <l:gentext key="Author" text="&#1047;&#1086;&#1093;&#1080;&#1086;&#1075;&#1095;"/>
+   <l:gentext key="Bibliography" text="&#1053;&#1086;&#1084; &#1079;&#1199;&#1081;"/>
+   <l:gentext key="bibliography" text="&#1085;&#1086;&#1084; &#1079;&#1199;&#1081;"/>
+   <l:gentext key="Book" text="&#1053;&#1086;&#1084;"/>
+   <l:gentext key="book" text="&#1085;&#1086;&#1084;"/>
+   <l:gentext key="CAUTION" text="&#1040;&#1053;&#1061;&#1040;&#1040;&#1056;&#1059;&#1059;&#1051;&#1043;&#1040;"/>
+   <l:gentext key="Caution" text="&#1040;&#1085;&#1093;&#1072;&#1072;&#1088;&#1091;&#1091;&#1083;&#1075;&#1072;"/>
+   <l:gentext key="caution" text="&#1072;&#1085;&#1093;&#1072;&#1072;&#1088;&#1091;&#1091;&#1083;&#1075;&#1072;"/>
+   <l:gentext key="Chapter" text="&#1041;&#1199;&#1083;&#1101;&#1075;"/>
+   <l:gentext key="chapter" text="&#1073;&#1199;&#1083;&#1101;&#1075;"/>
+   <l:gentext key="Colophon" text="&#1058;&#1199;&#1083;&#1093;&#1199;&#1199;&#1088; &#1199;&#1075;"/>
+   <l:gentext key="colophon" text="&#1058;&#1199;&#1083;&#1093;&#1199;&#1199;&#1088; &#1199;&#1075;"/>
+   <l:gentext key="Copyright" text="&#1047;&#1086;&#1093;&#1080;&#1086;&#1075;&#1095;&#1080;&#1081;&#1085; &#1101;&#1088;&#1093;"/>
+   <l:gentext key="copyright" text="&#1079;&#1086;&#1093;&#1080;&#1086;&#1075;&#1095;&#1080;&#1081;&#1085; &#1101;&#1088;&#1093;"/>
+   <l:gentext key="Dedication" text="&#1047;&#1086;&#1093;&#1080;&#1086;&#1075;&#1095;&#1080;&#1081;&#1085; &#1199;&#1075;"/>
+   <l:gentext key="dedication" text="&#1079;&#1086;&#1093;&#1080;&#1086;&#1075;&#1095;&#1080;&#1081;&#1085; &#1199;&#1075;"/>
+   <l:gentext key="Edition" text="&#1061;&#1101;&#1074;&#1083;&#1101;&#1083;"/>
+   <l:gentext key="edition" text="&#1093;&#1101;&#1074;&#1083;&#1101;&#1083;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#1058;&#1101;&#1075;&#1096;&#1080;&#1090;&#1075;&#1101;&#1083;"/>
+   <l:gentext key="equation" text="&#1090;&#1101;&#1075;&#1096;&#1080;&#1090;&#1075;&#1101;&#1083;"/>
+   <l:gentext key="Example" text="&#1046;&#1080;&#1096;&#1101;&#1101;"/>
+   <l:gentext key="example" text="&#1078;&#1080;&#1096;&#1101;&#1101;"/>
+   <l:gentext key="Figure" text="&#1047;&#1091;&#1088;&#1072;&#1075;"/>
+   <l:gentext key="figure" text="&#1079;&#1091;&#1088;&#1072;&#1075;"/>
+   <l:gentext key="Glossary" text="&#1058;&#1072;&#1081;&#1083;&#1073;&#1072;&#1088; &#1199;&#1075;&#1089;"/>
+   <l:gentext key="glossary" text="&#1090;&#1072;&#1081;&#1083;&#1073;&#1072;&#1088; &#1199;&#1075;&#1089;"/>
+   <l:gentext key="GlossSee" text="&#1061;&#1072;&#1088;&#1085;&#1072; &#1091;&#1091;"/>
+   <l:gentext key="glosssee" text="&#1093;&#1072;&#1088;&#1085;&#1072; &#1091;&#1091;"/>
+   <l:gentext key="GlossSeeAlso" text="&#1041;&#1072;&#1089; &#1093;&#1072;&#1088;&#1085;&#1072; &#1091;&#1091;"/>
+   <l:gentext key="glossseealso" text="&#1073;&#1072;&#1089; &#1093;&#1072;&#1088;&#1085;&#1072; &#1091;&#1091;"/>
+   <l:gentext key="IMPORTANT" text="&#1063;&#1059;&#1061;&#1040;&#1051;"/>
+   <l:gentext key="important" text="&#1095;&#1091;&#1093;&#1072;&#1083;"/>
+   <l:gentext key="Important" text="&#1063;&#1091;&#1093;&#1072;&#1083;"/>
+   <l:gentext key="Index" text="&#1058;&#1086;&#1083;&#1075;&#1086;&#1081;&#1083;&#1089;&#1086;&#1085; &#1199;&#1075;&#1089;"/>
+   <l:gentext key="index" text="&#1090;&#1086;&#1083;&#1075;&#1086;&#1081;&#1083;&#1089;&#1086;&#1085; &#1199;&#1075;&#1089;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#1061;&#1091;&#1091;&#1083;&#1080;&#1081;&#1085; &#1079;&#1072;&#1072;&#1083;&#1090;"/>
+   <l:gentext key="legalnotice" text="&#1093;&#1091;&#1091;&#1083;&#1080;&#1081;&#1085; &#1079;&#1072;&#1072;&#1083;&#1090;"/>
+   <l:gentext key="MsgAud" text="&#1047;&#1086;&#1088;&#1080;&#1091;&#1083;&#1089;&#1072;&#1085;"/>
+   <l:gentext key="msgaud" text="&#1079;&#1086;&#1088;&#1080;&#1091;&#1083;&#1089;&#1072;&#1085;"/>
+   <l:gentext key="MsgLevel" text="&#1071;&#1072;&#1088;&#1072;&#1083;&#1090;&#1072;&#1081; &#1073;&#1072;&#1081;&#1076;&#1072;&#1083;"/>
+   <l:gentext key="msglevel" text="&#1103;&#1072;&#1088;&#1072;&#1083;&#1090;&#1072;&#1081; &#1073;&#1072;&#1081;&#1076;&#1072;&#1083;"/>
+   <l:gentext key="MsgOrig" text="&#1198;&#1199;&#1089;&#1101;&#1083;"/>
+   <l:gentext key="msgorig" text="&#1199;&#1199;&#1089;&#1101;&#1083;"/>
+   <l:gentext key="NOTE" text="&#1058;&#1069;&#1052;&#1044;&#1069;&#1043;&#1051;&#1069;&#1051;"/>
+   <l:gentext key="Note" text="&#1058;&#1101;&#1084;&#1076;&#1101;&#1075;&#1083;&#1101;&#1083;"/>
+   <l:gentext key="note" text="&#1090;&#1101;&#1084;&#1076;&#1101;&#1075;&#1083;&#1101;&#1083;"/>
+   <l:gentext key="Part" text="&#1093;&#1101;&#1089;&#1101;&#1075;"/>
+   <l:gentext key="part" text="&#1061;&#1101;&#1089;&#1101;&#1075;"/>
+   <l:gentext key="Preface" text="&#1256;&#1084;&#1085;&#1257;&#1093; &#1199;&#1075;"/>
+   <l:gentext key="preface" text="&#1257;&#1084;&#1085;&#1257;&#1093; &#1199;&#1075;"/>
+   <l:gentext key="Procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;"/>
+   <l:gentext key="procedure" text="&#1087;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;"/>
+   <l:gentext key="ProductionSet" text="&#1041;&#1199;&#1090;&#1101;&#1101;&#1075;&#1076;&#1101;&#1093;&#1199;&#1199;&#1085;"/>
+   <l:gentext key="PubDate" text="&#1061;&#1101;&#1074;&#1083;&#1101;&#1075;&#1076;&#1089;&#1101;&#1085; &#1086;&#1075;&#1085;&#1086;&#1086;"/>
+   <l:gentext key="pubdate" text="&#1093;&#1101;&#1074;&#1083;&#1101;&#1075;&#1076;&#1089;&#1101;&#1085; &#1086;&#1075;&#1085;&#1086;&#1086;"/>
+   <l:gentext key="Published" text="&#1061;&#1101;&#1074;&#1083;&#1101;&#1075;&#1076;&#1089;&#1101;&#1085;"/>
+   <l:gentext key="published" text="&#1093;&#1101;&#1074;&#1083;&#1101;&#1075;&#1076;&#1089;&#1101;&#1085;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#1040; &amp; &#1061;"/>
+   <l:gentext key="qandadiv" text="&#1040; &amp; &#1061;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#1040;:"/>
+   <l:gentext key="question" text="&#1040;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#1040;&#1096;&#1080;&#1075;&#1083;&#1072;&#1089;&#1072;&#1085; &#1085;&#1086;&#1084;"/>
+   <l:gentext key="reference" text="&#1072;&#1096;&#1080;&#1075;&#1083;&#1072;&#1089;&#1072;&#1085; &#1085;&#1086;&#1084;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#1053;&#1101;&#1088;"/>
+   <l:gentext key="refname" text="&#1085;&#1101;&#1088;"/>
+   <l:gentext key="RefSection" text="&#1061;&#1101;&#1089;&#1101;&#1075;"/>
+   <l:gentext key="refsection" text="&#1061;&#1101;&#1089;&#1101;&#1075;"/>
+   <l:gentext key="RefSynopsisDiv" text="&#1058;&#1086;&#1081;&#1084;"/>
+   <l:gentext key="refsynopsisdiv" text="&#1090;&#1086;&#1081;&#1084;"/>
+   <l:gentext key="RevHistory" text="&#1061;&#1091;&#1074;&#1080;&#1083;&#1073;&#1072;&#1088;&#1099;&#1085; &#1090;&#1199;&#1199;&#1093;"/>
+   <l:gentext key="revhistory" text="&#1093;&#1091;&#1074;&#1080;&#1083;&#1073;&#1072;&#1088;&#1099;&#1085; &#1090;&#1199;&#1199;&#1093;"/>
+   <l:gentext key="revision" text="&#1093;&#1091;&#1074;&#1080;&#1083;&#1073;&#1072;&#1088;"/>
+   <l:gentext key="Revision" text="&#1061;&#1091;&#1074;&#1080;&#1083;&#1073;&#1072;&#1088;"/>
+   <l:gentext key="sect1" text="&#1061;&#1101;&#1089;&#1101;&#1075;"/>
+   <l:gentext key="sect2" text="&#1061;&#1101;&#1089;&#1101;&#1075;"/>
+   <l:gentext key="sect3" text="&#1061;&#1101;&#1089;&#1101;&#1075;"/>
+   <l:gentext key="sect4" text="&#1061;&#1101;&#1089;&#1101;&#1075;"/>
+   <l:gentext key="sect5" text="&#1061;&#1101;&#1089;&#1101;&#1075;"/>
+   <l:gentext key="section" text="&#1093;&#1101;&#1089;&#1101;&#1075;"/>
+   <l:gentext key="Section" text="&#1061;&#1101;&#1089;&#1101;&#1075;"/>
+   <l:gentext key="see" text="&#1061;&#1072;&#1088;&#1085;&#1072; &#1091;&#1091;"/>
+   <l:gentext key="See" text="&#1093;&#1072;&#1088;&#1085;&#1072; &#1091;&#1091;"/>
+   <l:gentext key="seealso" text="&#1073;&#1072;&#1089; &#1093;&#1072;&#1088;&#1085;&#1072; &#1091;&#1091;"/>
+   <l:gentext key="Seealso" text="&#1041;&#1072;&#1089; &#1093;&#1072;&#1088;&#1085;&#1072; &#1091;&#1091;"/>
+   <l:gentext key="SeeAlso" text="&#1041;&#1072;&#1089; &#1093;&#1072;&#1088;&#1085;&#1072; &#1091;&#1091;"/>
+   <l:gentext key="set" text="&#1090;&#1086;&#1083;&#1075;&#1086;&#1081; &#1199;&#1075;&#1089;"/>
+   <l:gentext key="Set" text="&#1058;&#1086;&#1083;&#1075;&#1086;&#1081; &#1199;&#1075;&#1089;"/>
+   <l:gentext key="setindex" text="&#1090;&#1086;&#1083;&#1075;&#1086;&#1081; &#1199;&#1075;&#1089;&#1080;&#1081;&#1085; &#1078;&#1072;&#1075;&#1089;&#1072;&#1072;&#1083;&#1090;"/>
+   <l:gentext key="SetIndex" text="&#1058;&#1086;&#1083;&#1075;&#1086;&#1081; &#1199;&#1075;&#1089;&#1080;&#1081;&#1085; &#1078;&#1072;&#1075;&#1089;&#1072;&#1072;&#1083;&#1090;"/>
+   <l:gentext key="Sidebar" text="&#1047;&#1072;&#1093;&#1099;&#1085; &#1090;&#1101;&#1084;&#1076;&#1101;&#1075;&#1083;&#1101;&#1083;"/>
+   <l:gentext key="sidebar" text="&#1079;&#1072;&#1093;&#1099;&#1085; &#1090;&#1101;&#1084;&#1076;&#1101;&#1075;&#1083;&#1101;&#1083;"/>
+   <l:gentext key="step" text="&#1072;&#1083;&#1093;&#1072;&#1084;"/>
+   <l:gentext key="Step" text="&#1040;&#1083;&#1093;&#1072;&#1084;"/>
+   <l:gentext key="table" text="&#1093;&#1199;&#1089;&#1085;&#1101;&#1075;&#1090;"/>
+   <l:gentext key="Table" text="&#1061;&#1199;&#1089;&#1085;&#1101;&#1075;&#1090;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#1079;&#1257;&#1074;&#1257;&#1083;&#1075;&#1257;&#1257;"/>
+   <l:gentext key="TIP" text="&#1047;&#1256;&#1042;&#1256;&#1051;&#1043;&#1256;&#1256;"/>
+   <l:gentext key="Tip" text="&#1047;&#1257;&#1074;&#1257;&#1083;&#1075;&#1257;&#1257;"/>
+   <l:gentext key="Warning" text="&#1057;&#1072;&#1085;&#1091;&#1091;&#1083;&#1075;&#1072;"/>
+   <l:gentext key="warning" text="&#1089;&#1072;&#1085;&#1091;&#1091;&#1083;&#1075;&#1072;"/>
+   <l:gentext key="WARNING" text="&#1057;&#1040;&#1053;&#1059;&#1059;&#1051;&#1043;&#1040;"/>
+   <l:gentext key="and" text="&#1073;&#1072;"/>
+   <l:gentext key="by" text="-&#1072;&#1072;&#1088;"/>
+   <l:gentext key="Edited" text="&#1061;&#1101;&#1074;&#1083;&#1101;&#1075;&#1076;&#1089;&#1101;&#1085;"/>
+   <l:gentext key="edited" text="&#1093;&#1101;&#1074;&#1083;&#1101;&#1075;&#1076;&#1089;&#1101;&#1085;"/>
+   <l:gentext key="Editedby" text="&#1069;&#1088;&#1093;&#1101;&#1083;&#1089;&#1101;&#1085;"/>
+   <l:gentext key="editedby" text="&#1069;&#1088;&#1093;&#1101;&#1083;&#1089;&#1101;&#1085;"/>
+   <l:gentext key="in" text="&#1076;&#1086;&#1090;&#1086;&#1088;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#1073;&#1072;&#1081;&#1093;&#1075;&#1199;&#1081; &#1101;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;"/>
+   <l:gentext key="notes" text="&#1093;&#1257;&#1083;&#1080;&#1081;&#1085; &#1090;&#1072;&#1081;&#1083;&#1073;&#1072;&#1088;"/>
+   <l:gentext key="Notes" text="&#1061;&#1257;&#1083;&#1080;&#1081;&#1085; &#1090;&#1072;&#1081;&#1083;&#1073;&#1072;&#1088;"/>
+   <l:gentext key="Pgs" text="&#1061;&#1091;&#1091;&#1076;&#1072;&#1089;"/>
+   <l:gentext key="pgs" text="&#1093;&#1091;&#1091;&#1076;&#1072;&#1089;"/>
+   <l:gentext key="Revisedby" text="&#1256;&#1257;&#1088;&#1095;&#1080;&#1083;&#1089;&#1257;&#1085;: "/>
+   <l:gentext key="revisedby" text="&#1256;&#1257;&#1088;&#1095;&#1080;&#1083;&#1089;&#1257;&#1085;: "/>
+   <l:gentext key="TableNotes" text="&#1040;&#1078;&#1080;&#1075;&#1083;&#1072;&#1083;&#1090;"/>
+   <l:gentext key="tablenotes" text="&#1040;&#1078;&#1080;&#1075;&#1083;&#1072;&#1083;&#1090;"/>
+   <l:gentext key="TableofContents" text="&#1043;&#1072;&#1088;&#1095;&#1080;&#1075;"/>
+   <l:gentext key="tableofcontents" text="&#1043;&#1072;&#1088;&#1095;&#1080;&#1075;"/>
+   <l:gentext key="unexpectedelementname" text="&#1057;&#1072;&#1085;&#1072;&#1084;&#1089;&#1072;&#1088;&#1075;&#1199;&#1081; &#1101;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;"/>
+   <l:gentext key="unsupported" text="&#1076;&#1101;&#1084;&#1078;&#1080;&#1075;&#1076;&#1101;&#1101;&#1075;&#1199;&#1081;"/>
+   <l:gentext key="xrefto" text="xref &#1088;&#1091;&#1091;"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#1090;&#1101;&#1075;&#1096;&#1080;&#1090;&#1075;&#1101;&#1083;"/>
+   <l:gentext key="ListofEquations" text="&#1058;&#1101;&#1075;&#1096;&#1080;&#1090;&#1075;&#1101;&#1083;"/>
+   <l:gentext key="ListofExamples" text="&#1046;&#1080;&#1096;&#1101;&#1101;"/>
+   <l:gentext key="listofexamples" text="&#1078;&#1080;&#1096;&#1101;&#1101;"/>
+   <l:gentext key="ListofFigures" text="&#1047;&#1091;&#1088;&#1075;&#1080;&#1081;&#1085; &#1083;&#1072;&#1074;&#1083;&#1072;&#1093;"/>
+   <l:gentext key="listoffigures" text="&#1079;&#1091;&#1088;&#1075;&#1080;&#1081;&#1085; &#1083;&#1072;&#1074;&#1083;&#1072;&#1093;"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="&#1093;&#1199;&#1089;&#1085;&#1101;&#1075;&#1090;&#1199;&#1199;&#1076;&#1080;&#1081;&#1085; &#1083;&#1072;&#1074;&#1083;&#1072;&#1093;"/>
+   <l:gentext key="ListofTables" text="&#1061;&#1199;&#1089;&#1085;&#1101;&#1075;&#1090;&#1199;&#1199;&#1076;&#1080;&#1081;&#1085; &#1083;&#1072;&#1074;&#1083;&#1072;&#1093;"/>
+   <l:gentext key="ListofUnknown" text="???-&#1051;&#1072;&#1074;&#1083;&#1072;&#1093;"/>
+   <l:gentext key="listofunknown" text="???-&#1051;&#1072;&#1074;&#1083;&#1072;&#1093;"/>
+   <l:gentext key="nav-home" text="&#1069;&#1093;&#1083;&#1101;&#1083; &#1088;&#1199;&#1199;"/>
+   <l:gentext key="nav-next" text="&#1044;&#1072;&#1088;&#1072;&#1072;&#1093;"/>
+   <l:gentext key="nav-next-sibling" text="&#1058;&#1199;&#1088;&#1075;&#1101;&#1085; &#1076;&#1072;&#1088;&#1072;&#1072;&#1093;"/>
+   <l:gentext key="nav-prev" text="&#1256;&#1084;&#1085;&#1257;&#1093;"/>
+   <l:gentext key="nav-prev-sibling" text="&#1058;&#1199;&#1088;&#1075;&#1101;&#1085; &#1257;&#1084;&#1085;&#1257;&#1093;"/>
+   <l:gentext key="nav-up" text="&#1044;&#1101;&#1101;&#1096;"/>
+   <l:gentext key="nav-toc" text="&#1051;&#1088;&#1091;&#1091;"/>
+   <l:gentext key="Draft" text="&#1053;&#1086;&#1086;&#1088;&#1086;&#1075;"/>
+   <l:gentext key="above" text="&#1076;&#1101;&#1101;&#1088;"/>
+   <l:gentext key="below" text="&#1076;&#1086;&#1086;&#1088;"/>
+   <l:gentext key="sectioncalled" text="&#1061;&#1101;&#1089;&#1075;&#1199;&#1199;&#1076;&#1080;&#1081;&#1085; &#1085;&#1101;&#1088;&#1089;"/>
+   <l:gentext key="index symbols" text="&#1057;&#1080;&#1084;&#1074;&#1086;&#1083;"/>
+   <l:gentext key="lowercase.alpha" text="&#1072;&#1073;&#1074;&#1075;&#1076;&#1077;&#1105;&#1078;&#1079;&#1080;&#1081;&#1082;&#1083;&#1084;&#1085;&#1086;&#1257;&#1087;&#1088;&#1089;&#1090;&#1091;&#1199;&#1092;&#1093;&#1094;&#1095;&#1096;&#1097;&#1098;&#1099;&#1100;&#1101;&#1102;&#1103;"/>
+   <l:gentext key="uppercase.alpha" text="&#1040;&#1041;&#1042;&#1043;&#1044;&#1045;&#1025;&#1046;&#1047;&#1048;&#1049;&#1050;&#1051;&#1052;&#1053;&#1054;&#1256;&#1055;&#1056;&#1057;&#1058;&#1059;&#1198;&#1060;&#1061;&#1062;&#1063;&#1064;&#1065;&#1066;&#1067;&#1068;&#1069;&#1070;&#1071;"/>
+   <l:dingbat key="startquote" text="&#171;"/>
+   <l:dingbat key="endquote" text="&#187;"/>
+   <l:dingbat key="nestedstartquote" text="&#8222;"/>
+   <l:dingbat key="nestedendquote" text="&#8220;"/>
+   <l:dingbat key="singlestartquote" text="&#8218;"/>
+   <l:dingbat key="singleendquote" text="&#8216;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="3"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#1061;&#1072;&#1074;&#1089;&#1088;&#1072;&#1083;&#1090; %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#1041;&#1199;&#1083;&#1101;&#1075; %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#1058;&#1101;&#1075;&#1096;&#1080;&#1090;&#1075;&#1101;&#1083; %n. %t"/>
+      <l:template name="example" text="&#1046;&#1080;&#1096;&#1101;&#1101; %n. %t"/>
+      <l:template name="figure" text="&#1047;&#1091;&#1088;&#1072;&#1075; %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#1093;&#1101;&#1089;&#1101;&#1075; %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088; %n. %t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#1041;&#1199;&#1090;&#1101;&#1101;&#1075;&#1076;&#1101;&#1093;&#1199;&#1199;&#1085;&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#1040;: %n"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#1061;&#1199;&#1089;&#1085;&#1101;&#1075;&#1090; %n. %t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#1061;&#1072;&#1074;&#1089;&#1088;&#1072;&#1083;&#1090; %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#1041;&#1199;&#1083;&#1101;&#1075; %n. %t"/>
+      <l:template name="part" text="&#1093;&#1101;&#1089;&#1101;&#1075;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#1061;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#1040;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#1040;: %n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(Seite %p)"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(S. %p)"/>
+      <l:template name="Page" text="Seite %p"/>
+      <l:template name="bridgehead" text="&#171;%t&#187;"/>
+      <l:template name="refsection" text="&#171;%t&#187;"/>
+      <l:template name="refsect1" text="&#171;%t&#187;"/>
+      <l:template name="refsect2" text="&#171;%t&#187;"/>
+      <l:template name="refsect3" text="&#171;%t&#187;"/>
+      <l:template name="sect1" text="&#171;%t&#187;"/>
+      <l:template name="sect2" text="&#171;%t&#187;"/>
+      <l:template name="sect3" text="&#171;%t&#187;"/>
+      <l:template name="sect4" text="&#171;%t&#187;"/>
+      <l:template name="sect5" text="&#171;%t&#187;"/>
+      <l:template name="section" text="&#171;%t&#187;"/>
+      <l:template name="simplesect" text="&#171;%t&#187;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#1061;:&#160;%n"/>
+      <l:template name="appendix" text="&#1061;&#1072;&#1074;&#1089;&#1088;&#1072;&#1083;&#1090;&#160;%n"/>
+      <l:template name="bridgehead" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n"/>
+      <l:template name="chapter" text="&#1041;&#1199;&#1083;&#1101;&#1075;&#160;%n"/>
+      <l:template name="equation" text="&#1058;&#1101;&#1075;&#1096;&#1080;&#1090;&#1075;&#1101;&#1083;&#160;%n"/>
+      <l:template name="example" text="&#1046;&#1080;&#1096;&#1101;&#1101;&#160;%n"/>
+      <l:template name="figure" text="&#1047;&#1091;&#1088;&#1072;&#1075;&#160;%n"/>
+      <l:template name="part" text="&#1093;&#1101;&#1089;&#1101;&#1075;&#160;%n"/>
+      <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#160;%n"/>
+      <l:template name="productionset" text="&#1041;&#1199;&#1090;&#1101;&#1101;&#1075;&#1076;&#1101;&#1093;&#1199;&#1199;&#1085;&#160;%n"/>
+      <l:template name="qandadiv" text="&#1040; &amp; &#1061;&#160;%n"/>
+      <l:template name="qandaentry" text="&#1040;:&#160;%n"/>
+      <l:template name="question" text="&#1040;:&#160;%n"/>
+      <l:template name="sect1" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n"/>
+      <l:template name="sect2" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n"/>
+      <l:template name="sect3" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n"/>
+      <l:template name="sect4" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n"/>
+      <l:template name="sect5" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n"/>
+      <l:template name="section" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n"/>
+      <l:template name="table" text="&#1061;&#1199;&#1089;&#1085;&#1101;&#1075;&#1090;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#1061;&#1072;&#1074;&#1089;&#1088;&#1072;&#1083;&#1090;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="chapter" text="&#1041;&#1199;&#1083;&#1101;&#1075;&#160;%n, %t"/>
+      <l:template name="equation" text="&#1058;&#1101;&#1075;&#1096;&#1080;&#1090;&#1075;&#1101;&#1083;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="example" text="&#1046;&#1080;&#1096;&#1101;&#1101;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="figure" text="&#1047;&#1091;&#1088;&#1072;&#1075;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="part" text="&#1093;&#1101;&#1089;&#1101;&#1075;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="productionset" text="&#1041;&#1199;&#1090;&#1101;&#1101;&#1075;&#1076;&#1101;&#1093;&#1199;&#1199;&#1085;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="qandadiv" text="&#1040; &amp; &#1061;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="refsect1" text="&#1061;&#1101;&#1089;&#1075;&#1199;&#1199;&#1076;&#1080;&#1081;&#1085; &#1085;&#1101;&#1088;&#1089; &#171;%t&#187;"/>
+      <l:template name="refsect2" text="&#1061;&#1101;&#1089;&#1075;&#1199;&#1199;&#1076;&#1080;&#1081;&#1085; &#1085;&#1101;&#1088;&#1089; &#171;%t&#187;"/>
+      <l:template name="refsect3" text="&#1061;&#1101;&#1089;&#1075;&#1199;&#1199;&#1076;&#1080;&#1081;&#1085; &#1085;&#1101;&#1088;&#1089; &#171;%t&#187;"/>
+      <l:template name="refsection" text="&#1061;&#1101;&#1089;&#1075;&#1199;&#1199;&#1076;&#1080;&#1081;&#1085; &#1085;&#1101;&#1088;&#1089; &#171;%t&#187;"/>
+      <l:template name="sect1" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="sect2" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="sect3" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="sect4" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="sect5" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="section" text="&#1061;&#1101;&#1089;&#1101;&#1075;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="simplesect" text="&#1061;&#1101;&#1089;&#1075;&#1199;&#1199;&#1076;&#1080;&#1081;&#1085; &#1085;&#1101;&#1088;&#1089; &#171;%t&#187;"/>
+      <l:template name="table" text="&#1061;&#1199;&#1089;&#1085;&#1101;&#1075;&#1090;&#160;%n, &#171;%t&#187;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#1073;&#1072; "/>
+      <l:template name="seplast" text=" &#1073;&#1072; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#1061;&#1072;&#1088;&#1085;&#1072; &#1091;&#1091; %t"/>
+      <l:template name="seealso" text="&#1041;&#1072;&#1089; &#1093;&#1072;&#1088;&#1085;&#1072; &#1091;&#1091; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#1047;&#1086;&#1088;&#1080;&#1091;&#1083;&#1089;&#1072;&#1085;: "/>
+      <l:template name="MsgLevel" text="&#1071;&#1072;&#1088;&#1072;&#1083;&#1090;&#1072;&#1081; &#1073;&#1072;&#1081;&#1076;&#1072;&#1083;: "/>
+      <l:template name="MsgOrig" text="&#1198;&#1199;&#1089;&#1101;&#1083;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d.m.Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="&#1061;&#1091;&#1083;&#1075;&#1072;&#1085;&#1072;"/>
+      <l:template name="February" text="&#1198;&#1093;&#1101;&#1088;"/>
+      <l:template name="March" text="&#1041;&#1072;&#1088;"/>
+      <l:template name="April" text="&#1058;&#1091;&#1091;&#1083;&#1072;&#1081;"/>
+      <l:template name="May" text="&#1051;&#1091;&#1091;"/>
+      <l:template name="June" text="&#1052;&#1086;&#1075;&#1086;&#1081;"/>
+      <l:template name="July" text="&#1052;&#1086;&#1088;&#1100;"/>
+      <l:template name="August" text="&#1061;&#1086;&#1085;&#1100;"/>
+      <l:template name="September" text="&#1041;&#1080;&#1095;"/>
+      <l:template name="October" text="&#1058;&#1072;&#1093;&#1080;&#1072;"/>
+      <l:template name="November" text="&#1053;&#1086;&#1093;&#1086;&#1081;"/>
+      <l:template name="December" text="&#1043;&#1072;&#1093;&#1072;&#1081;"/>
+      <l:template name="Monday" text="&#1044;&#1072;&#1074;&#1072;&#1072;"/>
+      <l:template name="Tuesday" text="&#1052;&#1103;&#1075;&#1084;&#1072;&#1088;"/>
+      <l:template name="Wednesday" text="&#1051;&#1093;&#1072;&#1075;&#1074;&#1072;"/>
+      <l:template name="Thursday" text="&#1055;&#1199;&#1088;&#1101;&#1074;"/>
+      <l:template name="Friday" text="&#1041;&#1072;&#1072;&#1089;&#1072;&#1085;"/>
+      <l:template name="Saturday" text="&#1041;&#1103;&#1084;&#1073;&#1072;"/>
+      <l:template name="Sunday" text="&#1053;&#1103;&#1084;"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="&#1061;&#1091;&#1083;"/>
+      <l:template name="Feb" text="&#1198;&#1093;&#1101;"/>
+      <l:template name="Mar" text="&#1041;&#1072;&#1088;"/>
+      <l:template name="Apr" text="&#1058;&#1091;&#1091;"/>
+      <l:template name="May" text="&#1051;&#1091;&#1091;"/>
+      <l:template name="Jun" text="&#1052;&#1086;&#1075;"/>
+      <l:template name="Jul" text="&#1052;&#1086;&#1088;"/>
+      <l:template name="Aug" text="&#1061;&#1086;&#1085;"/>
+      <l:template name="Sep" text="&#1041;&#1080;&#1095;"/>
+      <l:template name="Oct" text="&#1058;&#1072;&#1093;"/>
+      <l:template name="Nov" text="&#1053;&#1086;&#1093;"/>
+      <l:template name="Dec" text="&#1043;&#1072;&#1093;"/>
+      <l:template name="Mon" text="&#1044;&#1072;"/>
+      <l:template name="Tue" text="&#1052;&#1103;"/>
+      <l:template name="Wed" text="&#1051;&#1093;"/>
+      <l:template name="Thu" text="&#1055;&#1199;"/>
+      <l:template name="Fri" text="&#1041;&#1072;"/>
+      <l:template name="Sat" text="&#1041;&#1103;"/>
+      <l:template name="Sun" text="&#1053;&#1103;"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0450 Mongolian (MONGOLIA)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Symbole</l:l>
+      <l:l i="1">&#1040;</l:l>
+      <l:l i="1">&#1072;</l:l>
+      <l:l i="2">&#1041;</l:l>
+      <l:l i="2">&#1073;</l:l>
+      <l:l i="3">&#1042;</l:l>
+      <l:l i="3">&#1074;</l:l>
+      <l:l i="4">&#1043;</l:l>
+      <l:l i="4">&#1075;</l:l>
+      <l:l i="5">&#1044;</l:l>
+      <l:l i="5">&#1076;</l:l>
+      <l:l i="6">&#1045;</l:l>
+      <l:l i="6">&#1077;</l:l>
+      <l:l i="7">&#1025;</l:l>
+      <l:l i="7">&#1105;</l:l>
+      <l:l i="8">&#1046;</l:l>
+      <l:l i="8">&#1078;</l:l>
+      <l:l i="9">&#1047;</l:l>
+      <l:l i="9">&#1079;</l:l>
+      <l:l i="10">&#1048;</l:l>
+      <l:l i="10">&#1080;</l:l>
+      <l:l i="11">&#1049;</l:l>
+      <l:l i="11">&#1081;</l:l>
+      <l:l i="12">&#1050;</l:l>
+      <l:l i="12">&#1082;</l:l>
+      <l:l i="13">&#1051;</l:l>
+      <l:l i="13">&#1083;</l:l>
+      <l:l i="14">&#1052;</l:l>
+      <l:l i="14">&#1084;</l:l>
+      <l:l i="15">&#1053;</l:l>
+      <l:l i="15">&#1085;</l:l>
+      <l:l i="16">&#1054;</l:l>
+      <l:l i="16">&#1086;</l:l>
+      <l:l i="17">&#1256;</l:l>
+      <l:l i="17">&#1257;</l:l>
+      <l:l i="18">&#1055;</l:l>
+      <l:l i="18">&#1087;</l:l>
+      <l:l i="19">&#1056;</l:l>
+      <l:l i="19">&#1088;</l:l>
+      <l:l i="20">&#1057;</l:l>
+      <l:l i="20">&#1089;</l:l>
+      <l:l i="21">&#1058;</l:l>
+      <l:l i="21">&#1090;</l:l>
+      <l:l i="22">&#1059;</l:l>
+      <l:l i="22">&#1091;</l:l>
+      <l:l i="23">&#1198;</l:l>
+      <l:l i="23">&#1199;</l:l>
+      <l:l i="24">&#1060;</l:l>
+      <l:l i="24">&#1092;</l:l>
+      <l:l i="25">&#1061;</l:l>
+      <l:l i="25">&#1093;</l:l>
+      <l:l i="26">&#1062;</l:l>
+      <l:l i="26">&#1094;</l:l>
+      <l:l i="27">&#1063;</l:l>
+      <l:l i="27">&#1095;</l:l>
+      <l:l i="28">&#1064;</l:l>
+      <l:l i="28">&#1096;</l:l>
+      <l:l i="29">&#1065;</l:l>
+      <l:l i="29">&#1097;</l:l>
+      <l:l i="30">&#1066;</l:l>
+      <l:l i="30">&#1098;</l:l>
+      <l:l i="31">&#1067;</l:l>
+      <l:l i="31">&#1099;</l:l>
+      <l:l i="32">&#1068;</l:l>
+      <l:l i="32">&#1100;</l:l>
+      <l:l i="33">&#1069;</l:l>
+      <l:l i="33">&#1101;</l:l>
+      <l:l i="34">&#1070;</l:l>
+      <l:l i="34">&#1102;</l:l>
+      <l:l i="35">&#1071;</l:l>
+      <l:l i="35">&#1103;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/nl.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/nl.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/nl.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nl" english-language-name="Dutch">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/nl.xml -->
+<!-- * -->
+<!-- * E-mail the edited nl.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Samenvatting"/>
+   <l:gentext key="abstract" text="Samenvatting"/>
+   <l:gentext key="Answer" text="Antwoord:"/>
+   <l:gentext key="answer" text="Antwoord:"/>
+   <l:gentext key="Appendix" text="Bijlage"/>
+   <l:gentext key="appendix" text="Bijlage"/>
+   <l:gentext key="Article" text="Artikel"/>
+   <l:gentext key="article" text="Artikel"/>
+   <l:gentext key="Author" text="Auteur"/>
+   <l:gentext key="Bibliography" text="Literatuurlijst"/>
+   <l:gentext key="bibliography" text="Literatuurlijst"/>
+   <l:gentext key="Book" text="Boek"/>
+   <l:gentext key="book" text="Boek"/>
+   <l:gentext key="CAUTION" text="LET OP"/>
+   <l:gentext key="Caution" text="Let op"/>
+   <l:gentext key="caution" text="Let op"/>
+   <l:gentext key="Chapter" text="Hoofdstuk"/>
+   <l:gentext key="chapter" text="hoofdstuk"/>
+   <l:gentext key="Colophon" text="Colofon"/>
+   <l:gentext key="colophon" text="Colofon"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Opdracht"/>
+   <l:gentext key="dedication" text="Opdracht"/>
+   <l:gentext key="Edition" text="Uitgave"/>
+   <l:gentext key="edition" text="Uitgave"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Vergelijking"/>
+   <l:gentext key="equation" text="Vergelijking"/>
+   <l:gentext key="Example" text="Voorbeeld"/>
+   <l:gentext key="example" text="Voorbeeld"/>
+   <l:gentext key="Figure" text="Figuur"/>
+   <l:gentext key="figure" text="Figuur"/>
+   <l:gentext key="Glossary" text="Woordenlijst"/>
+   <l:gentext key="glossary" text="Woordenlijst"/>
+   <l:gentext key="GlossSee" text="Zie"/>
+   <l:gentext key="glosssee" text="Zie"/>
+   <l:gentext key="GlossSeeAlso" text="Zie ook"/>
+   <l:gentext key="glossseealso" text="Zie ook"/>
+   <l:gentext key="IMPORTANT" text="BELANGRIJK"/>
+   <l:gentext key="important" text="Belangrijk"/>
+   <l:gentext key="Important" text="Belangrijk"/>
+   <l:gentext key="Index" text="Register"/>
+   <l:gentext key="index" text="Register"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Bericht"/>
+   <l:gentext key="legalnotice" text="Bericht"/>
+   <l:gentext key="MsgAud" text="Doelgroep"/>
+   <l:gentext key="msgaud" text="Doelgroep"/>
+   <l:gentext key="MsgLevel" text="Niveau"/>
+   <l:gentext key="msglevel" text="Niveau"/>
+   <l:gentext key="MsgOrig" text="Herkomst"/>
+   <l:gentext key="msgorig" text="Herkomst"/>
+   <l:gentext key="NOTE" text="OPMERKING"/>
+   <l:gentext key="Note" text="Opmerking"/>
+   <l:gentext key="note" text="Opmerking"/>
+   <l:gentext key="Part" text="Deel"/>
+   <l:gentext key="part" text="Deel"/>
+   <l:gentext key="Preface" text="Voorwoord"/>
+   <l:gentext key="preface" text="Voorwoord"/>
+   <l:gentext key="Procedure" text="Procedure"/>
+   <l:gentext key="procedure" text="Procedure"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Uitgegeven"/>
+   <l:gentext key="published" text="Uitgegeven"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Vraag en Antwoord"/>
+   <l:gentext key="qandadiv" text="Vraag en Antwoord"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Vraag:"/>
+   <l:gentext key="question" text="Vraag:"/>
+   <l:gentext key="RefEntry" text="Referentielemma"/>
+   <l:gentext key="refentry" text="Referentielemma"/>
+   <l:gentext key="Reference" text="Referentie"/>
+   <l:gentext key="reference" text="Referentie"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Referentienaam"/>
+   <l:gentext key="refname" text="Referentienaam"/>
+   <l:gentext key="RefSection" text="Referentieparagraaf"/>
+   <l:gentext key="refsection" text="Referentieparagraaf"/>
+   <l:gentext key="RefSynopsisDiv" text="Referentiesamenvatting"/>
+   <l:gentext key="refsynopsisdiv" text="Referentiesamenvatting"/>
+   <l:gentext key="RevHistory" text="Wijzigingen"/>
+   <l:gentext key="revhistory" text="Wijzigingen"/>
+   <l:gentext key="revision" text="Herziening"/>
+   <l:gentext key="Revision" text="Herziening"/>
+   <l:gentext key="sect1" text="Paragraaf"/>
+   <l:gentext key="sect2" text="Paragraaf"/>
+   <l:gentext key="sect3" text="Paragraaf"/>
+   <l:gentext key="sect4" text="Paragraaf"/>
+   <l:gentext key="sect5" text="Paragraaf"/>
+   <l:gentext key="section" text="paragraaf"/>
+   <l:gentext key="Section" text="Paragraaf"/>
+   <l:gentext key="see" text="Zie"/>
+   <l:gentext key="See" text="Zie"/>
+   <l:gentext key="seealso" text="Zie ook"/>
+   <l:gentext key="Seealso" text="Zie ook"/>
+   <l:gentext key="SeeAlso" text="Zie ook"/>
+   <l:gentext key="set" text="Verzameling"/>
+   <l:gentext key="Set" text="Verzameling"/>
+   <l:gentext key="setindex" text="Hoofdregister"/>
+   <l:gentext key="SetIndex" text="Hoofdregister"/>
+   <l:gentext key="Sidebar" text="Excursie"/>
+   <l:gentext key="sidebar" text="excursie"/>
+   <l:gentext key="step" text="stap"/>
+   <l:gentext key="Step" text="Stap"/>
+   <l:gentext key="table" text="Tabel"/>
+   <l:gentext key="Table" text="Tabel"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Tip"/>
+   <l:gentext key="TIP" text="TIP"/>
+   <l:gentext key="Tip" text="Tip"/>
+   <l:gentext key="Warning" text="Waarschuwing"/>
+   <l:gentext key="warning" text="Waarschuwing"/>
+   <l:gentext key="WARNING" text="WAARSCHUWING"/>
+   <l:gentext key="and" text="en"/>
+   <l:gentext key="by" text="door"/>
+   <l:gentext key="Edited" text="Redactie"/>
+   <l:gentext key="edited" text="Redactie"/>
+   <l:gentext key="Editedby" text="Redactie door"/>
+   <l:gentext key="editedby" text="Redactie door"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="niet bestaand element"/>
+   <l:gentext key="notes" text="Noten"/>
+   <l:gentext key="Notes" text="Noten"/>
+   <l:gentext key="Pgs" text="blz."/>
+   <l:gentext key="pgs" text="blz."/>
+   <l:gentext key="Revisedby" text="Herzien door: "/>
+   <l:gentext key="revisedby" text="Herzien door: "/>
+   <l:gentext key="TableNotes" text="Opmerkingen"/>
+   <l:gentext key="tablenotes" text="Opmerkingen"/>
+   <l:gentext key="TableofContents" text="Inhoudsopgave"/>
+   <l:gentext key="tableofcontents" text="Inhoudsopgave"/>
+   <l:gentext key="unexpectedelementname" text="ONVERWACHT-ELEMENT"/>
+   <l:gentext key="unsupported" text="niet ondersteund"/>
+   <l:gentext key="xrefto" text="verwijzing naar"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Lijst van vergelijkingen"/>
+   <l:gentext key="ListofEquations" text="Lijst van vergelijkingen"/>
+   <l:gentext key="ListofExamples" text="Lijst van voorbeelden"/>
+   <l:gentext key="listofexamples" text="Lijst van voorbeelden"/>
+   <l:gentext key="ListofFigures" text="Lijst van figuren"/>
+   <l:gentext key="listoffigures" text="Lijst van figuren"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Lijst van tabellen"/>
+   <l:gentext key="ListofTables" text="Lijst van tabellen"/>
+   <l:gentext key="ListofUnknown" text="Lijst van ???"/>
+   <l:gentext key="listofunknown" text="Lijst van ???"/>
+   <l:gentext key="nav-home" text="Begin"/>
+   <l:gentext key="nav-next" text="Volgende"/>
+   <l:gentext key="nav-next-sibling" text="Verder vooruit"/>
+   <l:gentext key="nav-prev" text="Terug"/>
+   <l:gentext key="nav-prev-sibling" text="Verder terug"/>
+   <l:gentext key="nav-up" text="Omhoog"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Ontwerp"/>
+   <l:gentext key="above" text="boven"/>
+   <l:gentext key="below" text="onder"/>
+   <l:gentext key="sectioncalled" text="de paragraaf"/>
+   <l:gentext key="index symbols" text="Symbolen"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#235;&#239;&#233;"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#203;&#207;&#201;"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Bijlage %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Hoofdstuk %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Vergelijking %n. %t"/>
+      <l:template name="example" text="Voorbeeld %n. %t"/>
+      <l:template name="figure" text="Figuur %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Deel %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Procedure&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabel %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Bijlage %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n. %t"/>
+      <l:template name="chapter" text="Hoofdstuk %n. %t"/>
+      <l:template name="part" text="Deel&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="Antwoord:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Vraag:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Vraag:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="section" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="de paragraaf &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="Antwoord:&#160;%n"/>
+      <l:template name="appendix" text="Bijlage&#160;%n"/>
+      <l:template name="bridgehead" text="Paragraaf&#160;%n"/>
+      <l:template name="chapter" text="Hoofdstuk&#160;%n"/>
+      <l:template name="equation" text="Vergelijking&#160;%n"/>
+      <l:template name="example" text="Voorbeeld&#160;%n"/>
+      <l:template name="figure" text="Figuur&#160;%n"/>
+      <l:template name="part" text="Deel&#160;%n"/>
+      <l:template name="procedure" text="Procedure&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="Vraag en Antwoord&#160;%n"/>
+      <l:template name="qandaentry" text="Vraag:&#160;%n"/>
+      <l:template name="question" text="Vraag:&#160;%n"/>
+      <l:template name="sect1" text="Paragraaf&#160;%n"/>
+      <l:template name="sect2" text="Paragraaf&#160;%n"/>
+      <l:template name="sect3" text="Paragraaf&#160;%n"/>
+      <l:template name="sect4" text="Paragraaf&#160;%n"/>
+      <l:template name="sect5" text="Paragraaf&#160;%n"/>
+      <l:template name="section" text="Paragraaf&#160;%n"/>
+      <l:template name="table" text="Tabel&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Bijlage&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Hoofdstuk&#160;%n, %t"/>
+      <l:template name="equation" text="Vergelijking&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Voorbeeld&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Figuur&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Deel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Procedure&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Vraag en Antwoord&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Paragraaf&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="de paragraaf &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabel&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" en "/>
+      <l:template name="seplast" text=", en "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Zie %t"/>
+      <l:template name="seealso" text="Zie ook %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Doelgroep: "/>
+      <l:template name="MsgLevel" text="Niveau: "/>
+      <l:template name="MsgOrig" text="Herkomst: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0413 Dutch"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/nn.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/nn.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/nn.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nn" english-language-name="Nynorsk">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/nn.xml -->
+<!-- * -->
+<!-- * E-mail the edited nn.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Samandrag"/>
+   <l:gentext key="abstract" text="Samandrag"/>
+   <l:gentext key="Answer" text="Svar"/>
+   <l:gentext key="answer" text="svar"/>
+   <l:gentext key="Appendix" text="Tillegg"/>
+   <l:gentext key="appendix" text="tillegg"/>
+   <l:gentext key="Article" text="Artikkel"/>
+   <l:gentext key="article" text="artikkel"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Bibliografi"/>
+   <l:gentext key="bibliography" text="bibliografi"/>
+   <l:gentext key="Book" text="Bok"/>
+   <l:gentext key="book" text="bok"/>
+   <l:gentext key="CAUTION" text="OBS"/>
+   <l:gentext key="Caution" text="Obs"/>
+   <l:gentext key="caution" text="OBS"/>
+   <l:gentext key="Chapter" text="Kapittel"/>
+   <l:gentext key="chapter" text="kapittel"/>
+   <l:gentext key="Colophon" text="Kolofon"/>
+   <l:gentext key="colophon" text="kolofon"/>
+   <l:gentext key="Copyright" text="Opphavsrett"/>
+   <l:gentext key="copyright" text="opphavsrett"/>
+   <l:gentext key="Dedication" text="Dedikasjon"/>
+   <l:gentext key="dedication" text="dedikasjon"/>
+   <l:gentext key="Edition" text="Utg&#229;ve"/>
+   <l:gentext key="edition" text="utg&#229;ve"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Formel"/>
+   <l:gentext key="equation" text="formel"/>
+   <l:gentext key="Example" text="D&#248;me"/>
+   <l:gentext key="example" text="d&#248;me"/>
+   <l:gentext key="Figure" text="Figur"/>
+   <l:gentext key="figure" text="figur"/>
+   <l:gentext key="Glossary" text="Ordliste"/>
+   <l:gentext key="glossary" text="ordliste"/>
+   <l:gentext key="GlossSee" text="Sj&#229;"/>
+   <l:gentext key="glosssee" text="sj&#229;"/>
+   <l:gentext key="GlossSeeAlso" text="Sj&#229; &#242;g"/>
+   <l:gentext key="glossseealso" text="sj&#229; &#242;g"/>
+   <l:gentext key="IMPORTANT" text="VIKTIG"/>
+   <l:gentext key="important" text="viktig"/>
+   <l:gentext key="Important" text="Viktig"/>
+   <l:gentext key="Index" text="Indeks"/>
+   <l:gentext key="index" text="indeks"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Legal Notice"/>
+   <l:gentext key="legalnotice" text="Legal Notice"/>
+   <l:gentext key="MsgAud" text="Publikum"/>
+   <l:gentext key="msgaud" text="publikum"/>
+   <l:gentext key="MsgLevel" text="Niv&#229;"/>
+   <l:gentext key="msglevel" text="niv&#229;"/>
+   <l:gentext key="MsgOrig" text="Opphav"/>
+   <l:gentext key="msgorig" text="Opphav"/>
+   <l:gentext key="NOTE" text="NOTAT"/>
+   <l:gentext key="Note" text="Notat"/>
+   <l:gentext key="note" text="NOTAT"/>
+   <l:gentext key="Part" text="Del"/>
+   <l:gentext key="part" text="del"/>
+   <l:gentext key="Preface" text="Forord"/>
+   <l:gentext key="preface" text="forord"/>
+   <l:gentext key="Procedure" text="Prosedyre"/>
+   <l:gentext key="procedure" text="prosedyre"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Utgitt"/>
+   <l:gentext key="published" text="utgitt"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Sp&#248;rsm&#229;l og Svar"/>
+   <l:gentext key="qandadiv" text="Sp&#248;rsm&#229;l og Svar"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Sp&#248;rsm&#229;l"/>
+   <l:gentext key="question" text="sp&#248;rsm&#229;l"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Referanse"/>
+   <l:gentext key="reference" text="referanse"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Namn"/>
+   <l:gentext key="refname" text="namn"/>
+   <l:gentext key="RefSection" text="Del"/>
+   <l:gentext key="refsection" text="del"/>
+   <l:gentext key="RefSynopsisDiv" text="Oversyn"/>
+   <l:gentext key="refsynopsisdiv" text="oversyn"/>
+   <l:gentext key="RevHistory" text="Revisjonshistorie"/>
+   <l:gentext key="revhistory" text="revisjonshistorie"/>
+   <l:gentext key="revision" text="revisjon"/>
+   <l:gentext key="Revision" text="Revisjon"/>
+   <l:gentext key="sect1" text="Section"/>
+   <l:gentext key="sect2" text="Section"/>
+   <l:gentext key="sect3" text="Section"/>
+   <l:gentext key="sect4" text="Section"/>
+   <l:gentext key="sect5" text="Section"/>
+   <l:gentext key="section" text="del"/>
+   <l:gentext key="Section" text="Del"/>
+   <l:gentext key="see" text="sj&#229;"/>
+   <l:gentext key="See" text="Sj&#229;"/>
+   <l:gentext key="seealso" text="sj&#229; &#242;g"/>
+   <l:gentext key="Seealso" text="Sj&#229; &#242;g"/>
+   <l:gentext key="SeeAlso" text="Sj&#229; &#242;g"/>
+   <l:gentext key="set" text="set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Indeks"/>
+   <l:gentext key="SetIndex" text="Indeks"/>
+   <l:gentext key="Sidebar" text="Sidestolpe"/>
+   <l:gentext key="sidebar" text="sidestolpe"/>
+   <l:gentext key="step" text="steg"/>
+   <l:gentext key="Step" text="Steg"/>
+   <l:gentext key="table" text="tabell"/>
+   <l:gentext key="Table" text="Tabell"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="tips"/>
+   <l:gentext key="TIP" text="TIPS"/>
+   <l:gentext key="Tip" text="Tips"/>
+   <l:gentext key="Warning" text="&#197;tvaring"/>
+   <l:gentext key="warning" text="&#229;tvaring"/>
+   <l:gentext key="WARNING" text="&#197;TVARING"/>
+   <l:gentext key="and" text="og"/>
+   <l:gentext key="by" text="av"/>
+   <l:gentext key="Edited" text="Redigert"/>
+   <l:gentext key="edited" text="redigert"/>
+   <l:gentext key="Editedby" text="Redigert av"/>
+   <l:gentext key="editedby" text="redigert av"/>
+   <l:gentext key="in" text="i"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="ikkje-eksisterande element"/>
+   <l:gentext key="notes" text="merknader"/>
+   <l:gentext key="Notes" text="Merknader"/>
+   <l:gentext key="Pgs" text="Sider"/>
+   <l:gentext key="pgs" text="sider"/>
+   <l:gentext key="Revisedby" text="Revidert av: "/>
+   <l:gentext key="revisedby" text="revidert av: "/>
+   <l:gentext key="TableNotes" text="Merknader"/>
+   <l:gentext key="tablenotes" text="merknader"/>
+   <l:gentext key="TableofContents" text="Innhald"/>
+   <l:gentext key="tableofcontents" text="Innhald"/>
+   <l:gentext key="unexpectedelementname" text="UVENTA-ELEMENTNAVN"/>
+   <l:gentext key="unsupported" text="ikkje st&#248;tta"/>
+   <l:gentext key="xrefto" text="xref til"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="formeloversikt"/>
+   <l:gentext key="ListofEquations" text="Formeloversikt"/>
+   <l:gentext key="ListofExamples" text="D&#248;meoversikt"/>
+   <l:gentext key="listofexamples" text="d&#248;meoversikt"/>
+   <l:gentext key="ListofFigures" text="Figuroversikt"/>
+   <l:gentext key="listoffigures" text="figuroversikt"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="tabelloversikt"/>
+   <l:gentext key="ListofTables" text="Tabelloversikt"/>
+   <l:gentext key="ListofUnknown" text="???-oversikt"/>
+   <l:gentext key="listofunknown" text="???-oversikt"/>
+   <l:gentext key="nav-home" text="Heim"/>
+   <l:gentext key="nav-next" text="Fram"/>
+   <l:gentext key="nav-next-sibling" text="Raskt framover"/>
+   <l:gentext key="nav-prev" text="Att"/>
+   <l:gentext key="nav-prev-sibling" text="Raskt bakover"/>
+   <l:gentext key="nav-up" text="Opp"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Tillegg %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Kapittel %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Formel %n. %t"/>
+      <l:template name="example" text="D&#248;me %n. %t"/>
+      <l:template name="figure" text="Figur %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Del %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Prosedyre&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabell %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Tillegg %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="Kapittel %n. %t"/>
+      <l:template name="part" text="Del&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="Svar&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Sp&#248;rsm&#229;l&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Sp&#248;rsm&#229;l&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="Svar&#160;%n"/>
+      <l:template name="appendix" text="Tillegg&#160;%n"/>
+      <l:template name="bridgehead" text="Del&#160;%n"/>
+      <l:template name="chapter" text="Kapittel&#160;%n"/>
+      <l:template name="equation" text="Formel&#160;%n"/>
+      <l:template name="example" text="D&#248;me&#160;%n"/>
+      <l:template name="figure" text="Figur&#160;%n"/>
+      <l:template name="part" text="Del&#160;%n"/>
+      <l:template name="procedure" text="Prosedyre&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="Sp&#248;rsm&#229;l og Svar&#160;%n"/>
+      <l:template name="qandaentry" text="Sp&#248;rsm&#229;l&#160;%n"/>
+      <l:template name="question" text="Sp&#248;rsm&#229;l&#160;%n"/>
+      <l:template name="sect1" text="Del&#160;%n"/>
+      <l:template name="sect2" text="Del&#160;%n"/>
+      <l:template name="sect3" text="Del&#160;%n"/>
+      <l:template name="sect4" text="Del&#160;%n"/>
+      <l:template name="sect5" text="Del&#160;%n"/>
+      <l:template name="section" text="Del&#160;%n"/>
+      <l:template name="table" text="Tabell&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Tillegg&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Del&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Kapittel&#160;%n, %t"/>
+      <l:template name="equation" text="Formel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="D&#248;me&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Figur&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Del&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Prosedyre&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Sp&#248;rsm&#229;l og Svar&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Del&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Del&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Del&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Del&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Del&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Del&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabell&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" og "/>
+      <l:template name="seplast" text=", og "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Sj&#229; %t"/>
+      <l:template name="seealso" text="Sj&#229; &#242;g %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Publikum: "/>
+      <l:template name="MsgLevel" text="Niv&#229;: "/>
+      <l:template name="MsgOrig" text="Opphav: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0814 Norwegian (Nynorsk)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/no.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/no.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/no.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="no" english-language-name="Norwegian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/no.xml -->
+<!-- * -->
+<!-- * E-mail the edited no.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Abstract"/>
+   <l:gentext key="abstract" text="Abstract"/>
+   <l:gentext key="Answer" text="A:"/>
+   <l:gentext key="answer" text="A:"/>
+   <l:gentext key="Appendix" text="Tillegg"/>
+   <l:gentext key="appendix" text="Tillegg"/>
+   <l:gentext key="Article" text="Article"/>
+   <l:gentext key="article" text="Article"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Bibliografi"/>
+   <l:gentext key="bibliography" text="Bibliografi"/>
+   <l:gentext key="Book" text="Book"/>
+   <l:gentext key="book" text="Book"/>
+   <l:gentext key="CAUTION" text="OBS"/>
+   <l:gentext key="Caution" text="Obs"/>
+   <l:gentext key="caution" text="Obs"/>
+   <l:gentext key="Chapter" text="Kapittel"/>
+   <l:gentext key="chapter" text="Kapittel"/>
+   <l:gentext key="Colophon" text="Colophon"/>
+   <l:gentext key="colophon" text="Colophon"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Dedikasjon"/>
+   <l:gentext key="dedication" text="Dedikasjon"/>
+   <l:gentext key="Edition" text="Edition"/>
+   <l:gentext key="edition" text="Edition"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Formel"/>
+   <l:gentext key="equation" text="Formel"/>
+   <l:gentext key="Example" text="Eksempel"/>
+   <l:gentext key="example" text="Eksempel"/>
+   <l:gentext key="Figure" text="Figur"/>
+   <l:gentext key="figure" text="Figur"/>
+   <l:gentext key="Glossary" text="Ordliste"/>
+   <l:gentext key="glossary" text="Ordliste"/>
+   <l:gentext key="GlossSee" text="Se"/>
+   <l:gentext key="glosssee" text="Se"/>
+   <l:gentext key="GlossSeeAlso" text="Se Ogs&#229;"/>
+   <l:gentext key="glossseealso" text="Se Ogs&#229;"/>
+   <l:gentext key="IMPORTANT" text="VIKTIG"/>
+   <l:gentext key="important" text="Viktig"/>
+   <l:gentext key="Important" text="Viktig"/>
+   <l:gentext key="Index" text="Indeks"/>
+   <l:gentext key="index" text="Indeks"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Legal Notice"/>
+   <l:gentext key="legalnotice" text="Legal Notice"/>
+   <l:gentext key="MsgAud" text="Publikum"/>
+   <l:gentext key="msgaud" text="Publikum"/>
+   <l:gentext key="MsgLevel" text="Niv&#229;"/>
+   <l:gentext key="msglevel" text="Niv&#229;"/>
+   <l:gentext key="MsgOrig" text="Opphav"/>
+   <l:gentext key="msgorig" text="Opphav"/>
+   <l:gentext key="NOTE" text="NOTAT"/>
+   <l:gentext key="Note" text="Notat"/>
+   <l:gentext key="note" text="Notat"/>
+   <l:gentext key="Part" text="Del"/>
+   <l:gentext key="part" text="Del"/>
+   <l:gentext key="Preface" text="Forord"/>
+   <l:gentext key="preface" text="Forord"/>
+   <l:gentext key="Procedure" text="Prosedyre"/>
+   <l:gentext key="procedure" text="Prosedyre"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Published"/>
+   <l:gentext key="published" text="Published"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Q &amp; A"/>
+   <l:gentext key="qandadiv" text="Q &amp; A"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Q:"/>
+   <l:gentext key="question" text="Q:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Referanse"/>
+   <l:gentext key="reference" text="Referanse"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Navn"/>
+   <l:gentext key="refname" text="Navn"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+   <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+   <l:gentext key="RevHistory" text="Revisjonshistorie"/>
+   <l:gentext key="revhistory" text="Revisjonshistorie"/>
+   <l:gentext key="revision" text="Revisjon"/>
+   <l:gentext key="Revision" text="Revisjon"/>
+   <l:gentext key="sect1" text="Section"/>
+   <l:gentext key="sect2" text="Section"/>
+   <l:gentext key="sect3" text="Section"/>
+   <l:gentext key="sect4" text="Section"/>
+   <l:gentext key="sect5" text="Section"/>
+   <l:gentext key="section" text="seksjon"/>
+   <l:gentext key="Section" text="Seksjon"/>
+   <l:gentext key="see" text="Se"/>
+   <l:gentext key="See" text="Se"/>
+   <l:gentext key="seealso" text="Se Ogs&#229;"/>
+   <l:gentext key="Seealso" text="Se ogs&#229;"/>
+   <l:gentext key="SeeAlso" text="Se Ogs&#229;"/>
+   <l:gentext key="set" text="Set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Indeks"/>
+   <l:gentext key="SetIndex" text="Indeks"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="steg"/>
+   <l:gentext key="Step" text="Steg"/>
+   <l:gentext key="table" text="Tabell"/>
+   <l:gentext key="Table" text="Tabell"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Tips"/>
+   <l:gentext key="TIP" text="TIPS"/>
+   <l:gentext key="Tip" text="Tips"/>
+   <l:gentext key="Warning" text="Advarsel"/>
+   <l:gentext key="warning" text="Advarsel"/>
+   <l:gentext key="WARNING" text="ADVARSEL"/>
+   <l:gentext key="and" text="og"/>
+   <l:gentext key="by" text="av"/>
+   <l:gentext key="Edited" text="Redigert"/>
+   <l:gentext key="edited" text="Redigert"/>
+   <l:gentext key="Editedby" text="Redigert av"/>
+   <l:gentext key="editedby" text="Redigert av"/>
+   <l:gentext key="in" text="i"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="ikke-eksisterende element"/>
+   <l:gentext key="notes" text="Sluttnotater"/>
+   <l:gentext key="Notes" text="Sluttnotater"/>
+   <l:gentext key="Pgs" text="Sdr."/>
+   <l:gentext key="pgs" text="Sdr."/>
+   <l:gentext key="Revisedby" text="Revised by: "/>
+   <l:gentext key="revisedby" text="Revised by: "/>
+   <l:gentext key="TableNotes" text="Notater"/>
+   <l:gentext key="tablenotes" text="Notater"/>
+   <l:gentext key="TableofContents" text="Innholdsfortegnelse"/>
+   <l:gentext key="tableofcontents" text="Innholdsfortegnelse"/>
+   <l:gentext key="unexpectedelementname" text="UVENTET-ELEMENTNAVN"/>
+   <l:gentext key="unsupported" text="ikke st&#248;ttet"/>
+   <l:gentext key="xrefto" text="xref til"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Formeloversikt"/>
+   <l:gentext key="ListofEquations" text="Formeloversikt"/>
+   <l:gentext key="ListofExamples" text="Eksempeloversikt"/>
+   <l:gentext key="listofexamples" text="Eksempeloversikt"/>
+   <l:gentext key="ListofFigures" text="Figuroversikt"/>
+   <l:gentext key="listoffigures" text="Figuroversikt"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Tabelloversikt"/>
+   <l:gentext key="ListofTables" text="Tabelloversikt"/>
+   <l:gentext key="ListofUnknown" text="???-oversikt"/>
+   <l:gentext key="listofunknown" text="???-oversikt"/>
+   <l:gentext key="nav-home" text="Hjem"/>
+   <l:gentext key="nav-next" text="Neste"/>
+   <l:gentext key="nav-next-sibling" text="Raskt Fremover"/>
+   <l:gentext key="nav-prev" text="Forrige"/>
+   <l:gentext key="nav-prev-sibling" text="Raskt Bakover"/>
+   <l:gentext key="nav-up" text="Opp"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Tillegg %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Kapittel %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Formel %n. %t"/>
+      <l:template name="example" text="Eksempel %n. %t"/>
+      <l:template name="figure" text="Figur %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Del %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Prosedyre&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabell %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Tillegg %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="Kapittel %n. %t"/>
+      <l:template name="part" text="Del&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Q:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Q:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="Tillegg&#160;%n"/>
+      <l:template name="bridgehead" text="Seksjon&#160;%n"/>
+      <l:template name="chapter" text="Kapittel&#160;%n"/>
+      <l:template name="equation" text="Formel&#160;%n"/>
+      <l:template name="example" text="Eksempel&#160;%n"/>
+      <l:template name="figure" text="Figur&#160;%n"/>
+      <l:template name="part" text="Del&#160;%n"/>
+      <l:template name="procedure" text="Prosedyre&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+      <l:template name="qandaentry" text="Q:&#160;%n"/>
+      <l:template name="question" text="Q:&#160;%n"/>
+      <l:template name="sect1" text="Seksjon&#160;%n"/>
+      <l:template name="sect2" text="Seksjon&#160;%n"/>
+      <l:template name="sect3" text="Seksjon&#160;%n"/>
+      <l:template name="sect4" text="Seksjon&#160;%n"/>
+      <l:template name="sect5" text="Seksjon&#160;%n"/>
+      <l:template name="section" text="Seksjon&#160;%n"/>
+      <l:template name="table" text="Tabell&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Tillegg&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Kapittel&#160;%n, %t"/>
+      <l:template name="equation" text="Formel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Eksempel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Figur&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Del&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Prosedyre&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Seksjon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabell&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" og "/>
+      <l:template name="seplast" text=", og "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Se %t"/>
+      <l:template name="seealso" text="Se Ogs&#229; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Publikum: "/>
+      <l:template name="MsgLevel" text="Niv&#229;: "/>
+      <l:template name="MsgOrig" text="Opphav: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0414 Norwegian"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/olink.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/olink.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/olink.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1149 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<!-- Create keys for quickly looking up olink targets -->
+<xsl:key name="targetdoc-key" match="document" use="@targetdoc" />
+<xsl:key name="targetptr-key"  match="div|obj"
+         use="concat(ancestor::document/@targetdoc, '/',
+                     @targetptr, '/', ancestor::document/@lang)" />
+
+<!-- Return filename of database -->
+<xsl:template name="select.target.database">
+  <xsl:param name="targetdoc.att" select="''"/>
+  <xsl:param name="targetptr.att" select="''"/>
+  <xsl:param name="olink.lang" select="''"/>
+
+  <!-- use root's xml:base if exists -->
+  <xsl:variable name="xml.base" select="/*/@xml:base"/>
+
+  <!-- This selection can be customized if needed -->
+  <xsl:variable name="target.database.filename">
+    <xsl:choose>
+      <xsl:when test="$xml.base != '' and
+                   not(starts-with($target.database.document, 'file:/')) and
+                   not(starts-with($target.database.document, '/'))">
+        <xsl:call-template name="systemIdToBaseURI">
+          <xsl:with-param name="systemId" select="$xml.base"/>
+        </xsl:call-template>
+        <xsl:value-of select="$target.database.document"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$target.database.document"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="target.database" 
+      select="document($target.database.filename,/)"/>
+
+  <xsl:choose>
+    <!-- Was the database document parameter not set? -->
+    <xsl:when test="$target.database.document = ''">
+      <xsl:message>
+        <xsl:text>Olinks not processed: must specify a </xsl:text>
+        <xsl:text>$target.database.document parameter&#10;</xsl:text>
+        <xsl:text>when using olinks with targetdoc </xsl:text>
+        <xsl:text>and targetptr attributes.</xsl:text>
+      </xsl:message>
+    </xsl:when>
+    <!-- Did it not open? Should be a targetset element -->
+    <xsl:when test="not($target.database/*)">
+      <xsl:message>
+        <xsl:text>Olink error: could not open target database '</xsl:text>
+        <xsl:value-of select="$target.database.filename"/>
+        <xsl:text>'.</xsl:text>
+      </xsl:message>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$target.database.filename"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="select.olink.key">
+  <xsl:param name="targetdoc.att" select="''"/>
+  <xsl:param name="targetptr.att" select="''"/>
+  <xsl:param name="olink.lang" select="''"/>
+  <xsl:param name="target.database"/>
+
+  <xsl:if test="$target.database/*">
+    <xsl:variable name="olink.fallback.sequence">
+      <xsl:call-template name="select.olink.lang.fallback">
+        <xsl:with-param name="olink.lang" select="$olink.lang"/>
+      </xsl:call-template>
+    </xsl:variable>
+  
+    <!-- Recurse through the languages until you find a match -->
+    <xsl:call-template name="select.olink.key.in.lang">
+      <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/>
+      <xsl:with-param name="targetptr.att" select="$targetptr.att"/>
+      <xsl:with-param name="olink.lang" select="$olink.lang"/>
+      <xsl:with-param name="target.database" select="$target.database"/>
+      <xsl:with-param name="fallback.index" select="1"/>
+      <xsl:with-param name="olink.fallback.sequence"
+                      select="$olink.fallback.sequence"/>
+    </xsl:call-template>
+  </xsl:if>
+  
+</xsl:template>
+
+<!-- Locate olink key in a particular language -->
+<xsl:template name="select.olink.key.in.lang">
+  <xsl:param name="targetdoc.att" select="''"/>
+  <xsl:param name="targetptr.att" select="''"/>
+  <xsl:param name="olink.lang" select="''"/>
+  <xsl:param name="target.database"/>
+  <xsl:param name="fallback.index" select="1"/>
+  <xsl:param name="olink.fallback.sequence" select="''"/>
+  
+  <xsl:variable name="target.lang">
+    <xsl:call-template name="select.target.lang">
+      <xsl:with-param name="fallback.index" select="$fallback.index"/>
+      <xsl:with-param name="olink.fallback.sequence"
+                      select="$olink.fallback.sequence"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="$olink.debug != 0">
+    <xsl:message><xsl:text>Olink debug: cases for targetdoc='</xsl:text>
+      <xsl:value-of select="$targetdoc.att"/>
+      <xsl:text>' and targetptr='</xsl:text>
+      <xsl:value-of select="$targetptr.att"/>
+      <xsl:text>' in language '</xsl:text>
+      <xsl:value-of select="$target.lang"/>
+      <xsl:text>'.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <!-- Customize these cases if you want different selection logic -->
+  <xsl:variable name="CaseA">
+    <!-- targetdoc.att = not blank
+         targetptr.att = not blank
+    -->
+    <xsl:if test="$targetdoc.att != '' and
+                  $targetptr.att != ''">
+      <xsl:for-each select="$target.database">
+        <xsl:variable name="key" 
+                      select="concat($targetdoc.att, '/', 
+                                     $targetptr.att, '/',
+                                     $target.lang)"/>
+        <xsl:choose>
+          <xsl:when test="key('targetptr-key', $key)/@href != ''">
+            <xsl:value-of select="$key"/>
+            <xsl:if test="$olink.debug != 0">
+              <xsl:message>Olink debug: CaseA matched.</xsl:message>
+            </xsl:if>
+          </xsl:when>
+          <xsl:when test="$olink.debug != 0">
+            <xsl:message>Olink debug: CaseA NOT matched</xsl:message>
+          </xsl:when>
+        </xsl:choose>
+      </xsl:for-each>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="CaseB">
+    <!-- targetdoc.att = not blank
+         targetptr.att = not blank
+         prefer.internal.olink = not zero
+         current.docid = not blank 
+    -->
+    <xsl:if test="$targetdoc.att != '' and
+                  $targetptr.att != '' and
+                  $current.docid != '' and
+                  $prefer.internal.olink != 0">
+      <xsl:for-each select="$target.database">
+        <xsl:variable name="key" 
+                      select="concat($current.docid, '/', 
+                                     $targetptr.att, '/',
+                                     $target.lang)"/>
+        <xsl:choose>
+          <xsl:when test="key('targetptr-key', $key)/@href != ''">
+            <xsl:value-of select="$key"/>
+            <xsl:if test="$olink.debug != 0">
+              <xsl:message>Olink debug: CaseB matched.</xsl:message>
+            </xsl:if>
+          </xsl:when>
+          <xsl:when test="$olink.debug != 0">
+            <xsl:message>Olink debug: CaseB NOT matched</xsl:message>
+          </xsl:when>
+        </xsl:choose>
+      </xsl:for-each>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="CaseC">
+    <!-- targetdoc.att = blank
+         targetptr.att = not blank
+         current.docid = not blank 
+    -->
+    <xsl:if test="string-length($targetdoc.att) = 0 and
+                  $targetptr.att != '' and
+                  $current.docid != ''">
+      <!-- Must use a for-each to change context for keys to work -->
+      <xsl:for-each select="$target.database">
+        <xsl:variable name="key" 
+                      select="concat($current.docid, '/', 
+                                     $targetptr.att, '/',
+                                     $target.lang)"/>
+        <xsl:choose>
+          <xsl:when test="key('targetptr-key', $key)/@href != ''">
+            <xsl:value-of select="$key"/>
+            <xsl:if test="$olink.debug != 0">
+              <xsl:message>Olink debug: CaseC matched.</xsl:message>
+            </xsl:if>
+          </xsl:when>
+          <xsl:when test="$olink.debug != 0">
+            <xsl:message>Olink debug: CaseC NOT matched.</xsl:message>
+          </xsl:when>
+        </xsl:choose>
+      </xsl:for-each>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="CaseD">
+    <!-- targetdoc.att = blank
+         targetptr.att = not blank
+         current.docid = blank 
+    -->
+    <!-- This is possible if only one document in the database -->
+    <xsl:if test="string-length($targetdoc.att) = 0 and
+                  $targetptr.att != '' and
+                  string-length($current.docid) = 0 and
+                  count($target.database//document) = 1">
+      <xsl:for-each select="$target.database">
+        <xsl:variable name="key" 
+                      select="concat(.//document/@targetdoc, '/', 
+                                     $targetptr.att, '/',
+                                     $target.lang)"/>
+        <xsl:choose>
+          <xsl:when test="key('targetptr-key', $key)/@href != ''">
+            <xsl:value-of select="$key"/>
+            <xsl:if test="$olink.debug != 0">
+              <xsl:message>Olink debug: CaseD matched.</xsl:message>
+            </xsl:if>
+          </xsl:when>
+          <xsl:when test="$olink.debug != 0">
+            <xsl:message>Olink debug: CaseD NOT matched</xsl:message>
+          </xsl:when>
+        </xsl:choose>
+      </xsl:for-each>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="CaseE">
+    <!-- targetdoc.att = not blank
+         targetptr.att = blank
+    -->
+    <xsl:if test="$targetdoc.att != '' and
+                  string-length($targetptr.att) = 0">
+
+      <!-- Try the document's root element id -->
+      <xsl:variable name="rootid">
+        <xsl:choose>
+          <xsl:when test="$target.lang != ''">
+            <xsl:value-of select="$target.database//document[@targetdoc = $targetdoc.att and @lang = $target.lang]/*[1]/@targetptr"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$target.database//document[@targetdoc = $targetdoc.att and not(@lang)]/*[1]/@targetptr"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:for-each select="$target.database">
+        <xsl:variable name="key" 
+                      select="concat($targetdoc.att, '/', 
+                                     $rootid, '/',
+                                     $target.lang)"/>
+        <xsl:choose>
+          <xsl:when test="key('targetptr-key', $key)/@href != ''">
+            <xsl:value-of select="$key"/>
+            <xsl:if test="$olink.debug != 0">
+              <xsl:message>Olink debug: CaseE matched.</xsl:message>
+            </xsl:if>
+          </xsl:when>
+          <xsl:when test="$olink.debug != 0">
+            <xsl:message>Olink debug: CaseE NOT matched.</xsl:message>
+          </xsl:when>
+        </xsl:choose>
+      </xsl:for-each>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="CaseF">
+    <!-- targetdoc.att = not blank
+         targetptr.att = blank
+         prefer.internal.olink = not zero
+         current.docid = not blank 
+    -->
+    <xsl:if test="$targetdoc.att != '' and
+                  string-length($targetptr.att) = 0 and
+                  $current.docid != '' and
+                  $prefer.internal.olink != 0">
+      <!-- Try the document's root element id -->
+      <xsl:variable name="rootid">
+        <xsl:choose>
+          <xsl:when test="$target.lang != ''">
+            <xsl:value-of select="$target.database//document[@targetdoc = $current.docid and @lang = $target.lang]/*[1]/@targetptr"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$target.database//document[@targetdoc = $current.docid and not(@lang)]/*[1]/@targetptr"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:for-each select="$target.database">
+        <xsl:variable name="key" 
+                      select="concat($current.docid, '/', 
+                                     $rootid, '/',
+                                     $target.lang)"/>
+        <xsl:choose>
+          <xsl:when test="key('targetptr-key', $key)/@href != ''">
+            <xsl:value-of select="$key"/>
+            <xsl:if test="$olink.debug != 0">
+              <xsl:message>Olink debug: CaseF matched.</xsl:message>
+            </xsl:if>
+          </xsl:when>
+          <xsl:when test="$olink.debug != 0">
+            <xsl:message>Olink debug: CaseF NOT matched.</xsl:message>
+          </xsl:when>
+        </xsl:choose>
+      </xsl:for-each>
+    </xsl:if>
+  </xsl:variable>
+
+  <!-- Now select the best match. Customize the order if needed -->
+  <xsl:variable name="selected.key">
+    <xsl:choose>
+      <xsl:when test="$CaseB != ''">
+        <xsl:value-of select="$CaseB"/>
+        <xsl:if test="$olink.debug != 0">
+          <xsl:message>
+            <xsl:text>Olink debug: CaseB key is the final selection: </xsl:text>
+            <xsl:value-of select="$CaseB"/>
+          </xsl:message>
+        </xsl:if>
+      </xsl:when>
+      <xsl:when test="$CaseA != ''">
+        <xsl:value-of select="$CaseA"/>
+        <xsl:if test="$olink.debug != 0">
+          <xsl:message>
+            <xsl:text>Olink debug: CaseA key is the final selection: </xsl:text>
+            <xsl:value-of select="$CaseA"/>
+          </xsl:message>
+        </xsl:if>
+      </xsl:when>
+      <xsl:when test="$CaseC != ''">
+        <xsl:value-of select="$CaseC"/>
+        <xsl:if test="$olink.debug != 0">
+          <xsl:message>
+            <xsl:text>Olink debug: CaseC key is the final selection: </xsl:text>
+            <xsl:value-of select="$CaseC"/>
+          </xsl:message>
+        </xsl:if>
+      </xsl:when>
+      <xsl:when test="$CaseD != ''">
+        <xsl:value-of select="$CaseD"/>
+        <xsl:if test="$olink.debug != 0">
+          <xsl:message>
+            <xsl:text>Olink debug: CaseD key is the final selection: </xsl:text>
+            <xsl:value-of select="$CaseD"/>
+          </xsl:message>
+        </xsl:if>
+      </xsl:when>
+      <xsl:when test="$CaseF != ''">
+        <xsl:value-of select="$CaseF"/>
+        <xsl:if test="$olink.debug != 0">
+          <xsl:message>
+            <xsl:text>Olink debug: CaseF key is the final selection: </xsl:text>
+            <xsl:value-of select="$CaseF"/>
+          </xsl:message>
+        </xsl:if>
+      </xsl:when>
+      <xsl:when test="$CaseE != ''">
+        <xsl:value-of select="$CaseE"/>
+        <xsl:if test="$olink.debug != 0">
+          <xsl:message>
+            <xsl:text>Olink debug: CaseE key is the final selection: </xsl:text>
+            <xsl:value-of select="$CaseE"/>
+          </xsl:message>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:if test="$olink.debug != 0">
+          <xsl:message>
+            <xsl:text>Olink debug: No case matched for lang '</xsl:text>
+            <xsl:value-of select="$target.lang"/>
+            <xsl:text>'.</xsl:text>
+          </xsl:message>
+        </xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$selected.key != ''">
+      <xsl:value-of select="$selected.key"/>
+    </xsl:when>
+    <xsl:when test="string-length($selected.key) = 0 and 
+                    string-length($target.lang) = 0">
+      <!-- No match on last try, and we are done -->
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- Recurse through next language -->
+      <xsl:call-template name="select.olink.key.in.lang">
+        <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/>
+        <xsl:with-param name="targetptr.att" select="$targetptr.att"/>
+        <xsl:with-param name="olink.lang" select="$olink.lang"/>
+        <xsl:with-param name="target.database" select="$target.database"/>
+        <xsl:with-param name="fallback.index" select="$fallback.index + 1"/>
+        <xsl:with-param name="olink.fallback.sequence"
+                        select="$olink.fallback.sequence"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="select.target.lang">
+  <xsl:param name="fallback.index" select="1"/>
+  <xsl:param name="olink.fallback.sequence" select="''"/>
+
+  <!-- recurse backwards to find the lang matching the index -->
+  <xsl:variable name="firstlang" 
+                select="substring-before($olink.fallback.sequence, ' ')"/>
+  <xsl:variable name="rest" 
+                select="substring-after($olink.fallback.sequence, ' ')"/>
+  <xsl:choose>
+    <xsl:when test="$fallback.index = 1">
+      <xsl:value-of select="$firstlang"/>
+    </xsl:when>
+    <xsl:when test="$fallback.index &gt; 1">
+      <xsl:call-template name="select.target.lang">
+        <xsl:with-param name="fallback.index" select="$fallback.index - 1"/>
+        <xsl:with-param name="olink.fallback.sequence"
+                        select="$rest"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="select.olink.lang.fallback">
+  <xsl:param name="olink.lang" select="''"/>
+
+  <!-- Prefer language of the olink element -->
+  <xsl:value-of select="concat(normalize-space(concat($olink.lang, ' ', 
+                        $olink.lang.fallback.sequence)), ' ')"/>
+</xsl:template>
+
+<!-- Returns the complete olink href value if found -->
+<xsl:template name="make.olink.href">
+  <xsl:param name="olink.key" select="''"/>
+  <xsl:param name="target.database"/>
+
+  <xsl:if test="$olink.key != ''">
+    <xsl:variable name="target.href" >
+      <xsl:for-each select="$target.database" >
+        <xsl:value-of select="key('targetptr-key', $olink.key)/@href" />
+      </xsl:for-each>
+    </xsl:variable>
+  
+    <xsl:variable name="targetdoc">
+      <xsl:value-of select="substring-before($olink.key, '/')"/>
+    </xsl:variable>
+  
+    <!-- Does the target database use a sitemap? -->
+    <xsl:variable name="use.sitemap">
+      <xsl:choose>
+        <xsl:when test="$target.database//sitemap">1</xsl:when>
+        <xsl:otherwise>0</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+  
+  
+    <!-- Get the baseuri for this targetptr -->
+    <xsl:variable name="baseuri" >
+      <xsl:choose>
+        <!-- Does the database use a sitemap? -->
+        <xsl:when test="$use.sitemap != 0" >
+          <xsl:choose>
+            <!-- Was current.docid parameter set? -->
+            <xsl:when test="$current.docid != ''">
+              <!-- Was it found in the database? -->
+              <xsl:variable name="currentdoc.key" >
+                <xsl:for-each select="$target.database" >
+                  <xsl:value-of select="key('targetdoc-key',
+                                        $current.docid)/@targetdoc" />
+                </xsl:for-each>
+              </xsl:variable>
+              <xsl:choose>
+                <xsl:when test="$currentdoc.key != ''">
+                  <xsl:for-each select="$target.database" >
+                    <xsl:call-template name="targetpath" >
+                      <xsl:with-param name="dirnode" 
+                          select="key('targetdoc-key', $current.docid)/parent::dir"/>
+                      <xsl:with-param name="targetdoc" select="$targetdoc"/>
+                    </xsl:call-template>
+                  </xsl:for-each >
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:message>
+                    <xsl:text>Olink error: cannot compute relative </xsl:text>
+                    <xsl:text>sitemap path because $current.docid '</xsl:text>
+                    <xsl:value-of select="$current.docid"/>
+                    <xsl:text>' not found in target database.</xsl:text>
+                  </xsl:message>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message>
+                <xsl:text>Olink warning: cannot compute relative </xsl:text>
+                <xsl:text>sitemap path without $current.docid parameter</xsl:text>
+              </xsl:message>
+            </xsl:otherwise>
+          </xsl:choose> 
+          <!-- In either case, add baseuri from its document entry-->
+          <xsl:variable name="docbaseuri">
+            <xsl:for-each select="$target.database" >
+              <xsl:value-of select="key('targetdoc-key', $targetdoc)/@baseuri" />
+            </xsl:for-each>
+          </xsl:variable>
+          <xsl:if test="$docbaseuri != ''" >
+            <xsl:value-of select="$docbaseuri"/>
+          </xsl:if>
+        </xsl:when>
+        <!-- No database sitemap in use -->
+        <xsl:otherwise>
+          <!-- Just use any baseuri from its document entry -->
+          <xsl:variable name="docbaseuri">
+            <xsl:for-each select="$target.database" >
+              <xsl:value-of select="key('targetdoc-key', $targetdoc)/@baseuri" />
+            </xsl:for-each>
+          </xsl:variable>
+          <xsl:if test="$docbaseuri != ''" >
+            <xsl:value-of select="$docbaseuri"/>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+  
+    <!-- Form the href information -->
+    <xsl:if test="$baseuri != ''">
+      <xsl:value-of select="$baseuri"/>
+      <xsl:if test="substring($target.href,1,1) != '#'">
+        <!--xsl:text>/</xsl:text-->
+      </xsl:if>
+    </xsl:if>
+    <!-- optionally turn off frag for PDF references -->
+    <xsl:if test="not($insert.olink.pdf.frag = 0 and
+          translate(substring($baseuri, string-length($baseuri) - 3),
+                    'PDF', 'pdf') = '.pdf'
+          and starts-with($target.href, '#') )">
+      <xsl:value-of select="$target.href"/>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<!-- Computes the href of the object containing the olink element -->
+<xsl:template name="olink.from.uri">
+  <xsl:param name="target.database"/>
+  <xsl:param name="object" select="NotAnElement"/>
+  <xsl:param name="object.targetdoc" select="$current.docid"/>
+  <xsl:param name="object.lang" 
+           select="concat($object/ancestor::*[last()]/@lang,
+                          $object/ancestor::*[last()]/@xml:lang)"/>
+
+  <xsl:variable name="parent.id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$object"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <!-- Get the olink key for the parent of olink element -->
+  <xsl:variable name="from.key">
+    <xsl:call-template name="select.olink.key">
+      <xsl:with-param name="targetdoc.att" select="$object.targetdoc"/>
+      <xsl:with-param name="targetptr.att" select="$parent.id"/>
+      <xsl:with-param name="olink.lang" select="$object.lang"/>
+      <xsl:with-param name="target.database" select="$target.database"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="from.olink.href">
+    <xsl:for-each select="$target.database" >
+      <xsl:value-of select="key('targetptr-key', $from.key)/@href" />
+    </xsl:for-each>
+  </xsl:variable>
+
+  <xsl:choose>
+    <!-- we found the olink object -->
+    <xsl:when test="$from.olink.href != ''">
+      <xsl:value-of select="$from.olink.href"/>
+    </xsl:when>
+    <xsl:when test="not($object/parent::*)">
+      <xsl:value-of select="$from.olink.href"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- recurse upward in current document -->
+      <xsl:call-template name="olink.from.uri">
+        <xsl:with-param name="target.database" select="$target.database"/>
+        <xsl:with-param name="object" select="$object/parent::*"/>
+        <xsl:with-param name="object.targetdoc" select="$object.targetdoc"/>
+        <xsl:with-param name="object.lang" select="$object.lang"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="olink.hottext">
+  <xsl:param name="target.database"/>
+  <xsl:param name="olink.lang" select="''"/>
+  <xsl:param name="olink.key" select="''"/>
+  <xsl:param name="referrer" select="."/>
+  <xsl:param name="xrefstyle">
+    <xsl:choose>
+      <xsl:when test="@role and not(@xrefstyle) 
+                      and $use.role.as.xrefstyle != 0">
+        <xsl:value-of select="@role"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="@xrefstyle"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:param>
+
+  <xsl:choose>
+    <!-- If it has elements or text (not just PI or comment) -->
+    <xsl:when test="child::text() or child::*">
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:when test="$olink.key != ''">
+      <!-- Get the xref text for this record -->
+      <xsl:variable name="xref.text" >
+        <xsl:for-each select="$target.database" >
+          <xsl:copy-of 
+                  select="key('targetptr-key', $olink.key)/xreftext/node()" />
+        </xsl:for-each>
+      </xsl:variable>
+
+      <xsl:variable name="xref.number" >
+        <xsl:for-each select="$target.database" >
+          <xsl:value-of select="key('targetptr-key', $olink.key)/@number" />
+        </xsl:for-each>
+      </xsl:variable>
+
+      <xsl:variable name="target.elem" >
+        <xsl:for-each select="$target.database" >
+          <xsl:value-of select="key('targetptr-key', $olink.key)/@element" />
+        </xsl:for-each>
+      </xsl:variable>
+
+      <xsl:variable name="lang">
+        <xsl:variable name="candidate">
+          <xsl:for-each select="$target.database" >
+            <xsl:value-of 
+                      select="key('targetptr-key', $olink.key)/@lang" />
+          </xsl:for-each>
+        </xsl:variable>
+        <xsl:choose>
+          <xsl:when test="$candidate != ''">
+            <xsl:value-of select="$candidate"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$olink.lang"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:variable name="targetdoc">
+        <xsl:value-of select="substring-before($olink.key, '/')"/>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$xrefstyle != '' and
+                        starts-with(normalize-space($xrefstyle), 'select:') and
+                        (contains($xrefstyle, 'nodocname') or
+                        contains($xrefstyle, 'nopage')) and
+                        not(contains($xrefstyle, 'title')) and
+                        not(contains($xrefstyle, 'label'))"> 
+          <xsl:copy-of select="$xref.text"/>
+        </xsl:when>
+        <xsl:when test="$xrefstyle != ''">
+          <xsl:if test="$olink.debug != 0">
+            <xsl:message>
+              <xsl:text>xrefstyle is '</xsl:text>
+              <xsl:value-of select="$xrefstyle"/>
+              <xsl:text>'.</xsl:text>
+            </xsl:message>
+          </xsl:if>
+          <xsl:variable name="template">
+            <xsl:choose>
+              <xsl:when test="starts-with(normalize-space($xrefstyle),
+                                          'select:')">
+                <xsl:call-template name="make.gentext.template">
+                  <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+                  <xsl:with-param name="purpose" select="'olink'"/>
+                  <xsl:with-param name="referrer" select="."/>
+                  <xsl:with-param name="target.elem" select="$target.elem"/>
+                </xsl:call-template>
+              </xsl:when>
+              <xsl:when test="starts-with(normalize-space($xrefstyle),
+                                          'template:')">
+                <xsl:value-of select="substring-after(
+                                 normalize-space($xrefstyle), 'template:')"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <!-- Look for Gentext template with @style attribute -->
+                <!-- Must compare to no style value because gentext.template
+                     falls back to no style -->
+
+                <xsl:variable name="xref-context">
+                  <xsl:call-template name="gentext.template">
+                    <xsl:with-param name="context" select="'xref'"/>
+                    <xsl:with-param name="name" select="$target.elem"/>
+                    <xsl:with-param name="lang" select="$lang"/>
+                  </xsl:call-template>
+                </xsl:variable>
+
+                <xsl:variable name="styled-xref-context">
+                  <xsl:call-template name="gentext.template">
+                    <xsl:with-param name="context" select="'xref'"/>
+                    <xsl:with-param name="name" select="$target.elem"/>
+                    <xsl:with-param name="lang" select="$lang"/>
+                    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+                  </xsl:call-template>
+                </xsl:variable>
+
+                <xsl:variable name="xref-number-context">
+                  <xsl:call-template name="gentext.template">
+                    <xsl:with-param name="context" select="'xref-number'"/>
+                    <xsl:with-param name="name" select="$target.elem"/>
+                    <xsl:with-param name="lang" select="$lang"/>
+                  </xsl:call-template>
+                </xsl:variable>
+
+                <xsl:variable name="styled-xref-number-context">
+                  <xsl:call-template name="gentext.template">
+                    <xsl:with-param name="context" select="'xref-number'"/>
+                    <xsl:with-param name="name" select="$target.elem"/>
+                    <xsl:with-param name="lang" select="$lang"/>
+                    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+                  </xsl:call-template>
+                </xsl:variable>
+
+                <xsl:variable name="xref-number-and-title-context">
+                  <xsl:call-template name="gentext.template">
+                    <xsl:with-param name="context" 
+                                    select="'xref-number-and-title'"/>
+                    <xsl:with-param name="name" select="$target.elem"/>
+                    <xsl:with-param name="lang" select="$lang"/>
+                  </xsl:call-template>
+                </xsl:variable>
+
+                <xsl:variable name="styled-xref-number-and-title-context">
+                  <xsl:call-template name="gentext.template">
+                    <xsl:with-param name="context" 
+                                    select="'xref-number-and-title'"/>
+                    <xsl:with-param name="name" select="$target.elem"/>
+                    <xsl:with-param name="lang" select="$lang"/>
+                    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+                  </xsl:call-template>
+                </xsl:variable>
+
+                <xsl:choose>
+                  <xsl:when test="$xref-number-and-title-context != 
+                                 $styled-xref-number-and-title-context and
+                                 $xref.number != '' and
+                                 $xref.with.number.and.title != 0">
+                    <xsl:value-of 
+                            select="$styled-xref-number-and-title-context"/>
+                  </xsl:when>
+                  <xsl:when test="$xref-number-context != 
+                                 $styled-xref-number-context and
+                                 $xref.number != ''">
+                    <xsl:value-of select="$styled-xref-number-context"/>
+                  </xsl:when>
+                  <xsl:when test="$xref-context != $styled-xref-context">
+                    <xsl:value-of select="$styled-xref-context"/>
+                  </xsl:when>
+                  <xsl:when test="$xref-number-and-title-context != '' and
+                                 $xref.number != '' and
+                                 $xref.with.number.and.title != 0">
+                    <xsl:value-of 
+                            select="$xref-number-and-title-context"/>
+                    <xsl:if test="$olink.debug">
+                      <xsl:message>
+                        <xsl:text>Olink error: no gentext template</xsl:text>
+                        <xsl:text> exists for xrefstyle '</xsl:text>
+                        <xsl:value-of select="$xrefstyle"/>
+                        <xsl:text>' for element '</xsl:text>
+                        <xsl:value-of select="$target.elem"/>
+                        <xsl:text>' in language '</xsl:text>
+                        <xsl:value-of select="$lang"/>
+                        <xsl:text>' in context 'xref-number-and-title</xsl:text>
+                        <xsl:text>'. Using template without @style.</xsl:text>
+                      </xsl:message>
+                    </xsl:if>
+                  </xsl:when>
+                  <xsl:when test="$xref-number-context != '' and
+                                 $xref.number != ''">
+                    <xsl:value-of select="$xref-number-context"/>
+                    <xsl:if test="$olink.debug">
+                      <xsl:message>
+                        <xsl:text>Olink error: no gentext template</xsl:text>
+                        <xsl:text> exists for xrefstyle '</xsl:text>
+                        <xsl:value-of select="$xrefstyle"/>
+                        <xsl:text>' for element '</xsl:text>
+                        <xsl:value-of select="$target.elem"/>
+                        <xsl:text>' in language '</xsl:text>
+                        <xsl:value-of select="$lang"/>
+                        <xsl:text>' in context 'xref-number</xsl:text>
+                        <xsl:text>'. Using template without @style.</xsl:text>
+                      </xsl:message>
+                    </xsl:if>
+                  </xsl:when>
+                  <xsl:when test="$xref-context != ''">
+                    <xsl:value-of select="$xref-context"/>
+                    <xsl:if test="$olink.debug">
+                      <xsl:message>
+                        <xsl:text>Olink error: no gentext template</xsl:text>
+                        <xsl:text> exists for xrefstyle '</xsl:text>
+                        <xsl:value-of select="$xrefstyle"/>
+                        <xsl:text>' for element '</xsl:text>
+                        <xsl:value-of select="$target.elem"/>
+                        <xsl:text>' in language '</xsl:text>
+                        <xsl:value-of select="$lang"/>
+                        <xsl:text>' in context 'xref</xsl:text>
+                        <xsl:text>'. Using template without @style.</xsl:text>
+                      </xsl:message>
+                    </xsl:if>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <xsl:message>
+                      <xsl:text>Olink error: no gentext template</xsl:text>
+                      <xsl:text> exists for xrefstyle '</xsl:text>
+                      <xsl:value-of select="$xrefstyle"/>
+                      <xsl:text>' for element '</xsl:text>
+                      <xsl:value-of select="$target.elem"/>
+                      <xsl:text>' in language '</xsl:text>
+                      <xsl:value-of select="$lang"/>
+                      <xsl:text>'. Trying '%t'.</xsl:text>
+                    </xsl:message>
+                    <xsl:value-of select="'%t'"/>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:variable>
+
+          <xsl:if test="$olink.debug != 0">
+            <xsl:message>
+              <xsl:text>Olink debug: xrefstyle template is '</xsl:text>
+              <xsl:value-of select="$template"/>
+              <xsl:text>'.</xsl:text>
+            </xsl:message>
+          </xsl:if>
+
+          <xsl:call-template name="substitute-markup">
+            <xsl:with-param name="template" select="$template"/>
+            <xsl:with-param name="title">
+              <xsl:for-each select="$target.database" >
+                <xsl:value-of select="key('targetptr-key', $olink.key)/ttl" />
+              </xsl:for-each>
+            </xsl:with-param>
+            <xsl:with-param name="label">
+              <xsl:for-each select="$target.database" >
+                <xsl:value-of 
+                        select="key('targetptr-key', $olink.key)/@number" />
+              </xsl:for-each>
+            </xsl:with-param>
+            <xsl:with-param name="pagenumber">
+              <xsl:for-each select="$target.database" >
+                <xsl:value-of 
+                        select="key('targetptr-key', $olink.key)/@page" />
+              </xsl:for-each>
+            </xsl:with-param>
+            <xsl:with-param name="docname">
+              <xsl:for-each select="$target.database" >
+                <xsl:value-of 
+                       select="key('targetdoc-key', $targetdoc)/div[1]/ttl" />
+              </xsl:for-each>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+
+        <xsl:when test="$use.local.olink.style != 0">
+
+          <xsl:variable name="template">
+            <xsl:call-template name="gentext.template">
+              <xsl:with-param name="context" select="'xref'"/>
+              <xsl:with-param name="name" select="$target.elem"/>
+              <xsl:with-param name="lang" select="$lang"/>
+            </xsl:call-template>
+          </xsl:variable>
+
+          <xsl:call-template name="substitute-markup">
+            <xsl:with-param name="template" select="$template"/>
+            <xsl:with-param name="title">
+              <xsl:for-each select="$target.database" >
+                <xsl:value-of select="key('targetptr-key', $olink.key)/ttl" />
+              </xsl:for-each>
+            </xsl:with-param>
+            <xsl:with-param name="label">
+              <xsl:for-each select="$target.database" >
+                <xsl:value-of 
+                          select="key('targetptr-key', $olink.key)/@number" />
+              </xsl:for-each>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$xref.text !=''">
+          <xsl:copy-of select="$xref.text"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>Olink error: no generated text for </xsl:text>
+            <xsl:text>targetdoc/targetptr/lang = '</xsl:text>
+            <xsl:value-of select="$olink.key"/>
+            <xsl:text>'.</xsl:text>
+          </xsl:message>
+          <xsl:text>????</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="@targetdoc != '' or @targetptr != ''">
+      <xsl:if test="$olink.key != ''">
+        <xsl:message>
+          <xsl:text>Olink error: no generated text for </xsl:text>
+          <xsl:text>targetdoc/targetptr/lang = '</xsl:text>
+          <xsl:value-of select="$olink.key"/>
+          <xsl:text>'.</xsl:text>
+        </xsl:message>
+      </xsl:if>
+      <xsl:text>????</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- old style olink -->
+      <xsl:call-template name="olink.outline">
+        <xsl:with-param name="outline.base.uri"
+                        select="unparsed-entity-uri(@targetdocent)"/>
+        <xsl:with-param name="localinfo" select="@localinfo"/>
+        <xsl:with-param name="return" select="'xreftext'"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="olink.docname.markup">
+  <!-- No-op for now -->
+</xsl:template>
+
+<xsl:template name="targetpath">
+  <xsl:param name="dirnode" />
+  <xsl:param name="targetdoc" select="''"/>
+
+<!-- 
+<xsl:message>dirnode is <xsl:value-of select="$dirnode/@name"/></xsl:message>
+<xsl:message>targetdoc is <xsl:value-of select="$targetdoc"/></xsl:message>
+-->
+  <!-- recursive template generates path to olink target directory -->
+  <xsl:choose>
+    <!-- Have we arrived at the final path step? -->
+    <xsl:when test="$dirnode/child::document[@targetdoc = $targetdoc]">
+      <!-- We are done -->
+    </xsl:when>
+    <!-- Have we reached the top without a match? -->
+    <xsl:when test="local-name($dirnode) != 'dir'" >
+        <xsl:message>Olink error: cannot locate targetdoc <xsl:value-of select="$targetdoc"/> in sitemap</xsl:message>
+    </xsl:when>
+    <!-- Is the target in a descendant? -->
+    <xsl:when test="$dirnode/descendant::document/@targetdoc = $targetdoc">
+      <xsl:variable name="step" select="$dirnode/child::dir[descendant::document/@targetdoc = $targetdoc]"/>
+      <xsl:if test = "$step">
+        <xsl:value-of select="$step/@name"/>
+        <xsl:text>/</xsl:text>
+      </xsl:if>
+      <!-- Now recurse with the child -->
+      <xsl:call-template name="targetpath" >
+        <xsl:with-param name="dirnode" select="$step"/>
+        <xsl:with-param name="targetdoc" select="$targetdoc"/>
+      </xsl:call-template>
+    </xsl:when>
+    <!-- Otherwise we need to move up a step -->
+    <xsl:otherwise>
+      <xsl:if test="$dirnode/parent::dir">
+        <xsl:text>../</xsl:text>
+      </xsl:if>
+      <xsl:call-template name="targetpath" >
+        <xsl:with-param name="dirnode" select="$dirnode/parent::*"/>
+        <xsl:with-param name="targetdoc" select="$targetdoc"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="olink.page.citation">
+  <xsl:param name="olink.key" select="''"/>
+  <xsl:param name="olink.lang" select="'en'"/>
+  <xsl:param name="target.database"/>
+  <xsl:param name="linkend" select="''"/>
+  <xsl:param name="xrefstyle">
+    <xsl:choose>
+      <xsl:when test="@role and not(@xrefstyle) 
+                      and $use.role.as.xrefstyle != 0">
+        <xsl:value-of select="@role"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="@xrefstyle"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:param>
+
+  <xsl:variable name="targetdoc">
+    <xsl:value-of select="substring-before($olink.key, '/')"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$linkend != ''">
+      <xsl:call-template name="xref.page.citation">
+        <xsl:with-param name="linkend" select="$linkend"/>
+        <xsl:with-param name="target" select="key('id', $linkend)"/>
+        <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="not(starts-with(normalize-space($xrefstyle),
+                        'select:') 
+                and (contains($xrefstyle, 'page')
+                     or contains($xrefstyle, 'Page')))
+                and $current.docid != '' 
+                and $current.docid != $targetdoc
+                and $insert.olink.page.number = 'yes' ">
+  
+      <xsl:variable name="page-number">
+        <xsl:for-each select="$target.database" >
+          <xsl:value-of 
+                 select="key('targetptr-key', $olink.key)/@page" />
+        </xsl:for-each>
+      </xsl:variable>
+  
+      <xsl:if test="$page-number != ''">
+        <xsl:call-template name="substitute-markup">
+          <xsl:with-param name="template">
+            <xsl:call-template name="gentext.template">
+              <xsl:with-param name="name" select="'olink.page.citation'"/>
+              <xsl:with-param name="context" select="'xref'"/>
+              <xsl:with-param name="lang" select="$olink.lang"/>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="pagenumber" select="$page-number"/>
+        </xsl:call-template>
+      </xsl:if>
+  
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="olink.document.citation">
+  <xsl:param name="olink.key" select="''"/>
+  <xsl:param name="olink.lang" select="'en'"/>
+  <xsl:param name="target.database"/>
+  <xsl:param name="xrefstyle">
+    <xsl:choose>
+      <xsl:when test="@role and not(@xrefstyle) 
+                      and $use.role.as.xrefstyle != 0">
+        <xsl:value-of select="@role"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="@xrefstyle"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:param>
+
+  <xsl:variable name="page">
+    <xsl:for-each select="$target.database" >
+      <xsl:value-of 
+             select="key('targetptr-key', $olink.key)/@page" />
+    </xsl:for-each>
+  </xsl:variable>
+
+  <xsl:variable name="targetdoc">
+    <xsl:value-of select="substring-before($olink.key, '/')"/>
+  </xsl:variable>
+
+  <xsl:variable name="targetptr">
+    <xsl:value-of 
+          select="substring-before(substring-after($olink.key, '/'), '/')"/>
+  </xsl:variable>
+
+  <!-- Don't add docname if pointing to root element -->
+  <xsl:variable name="rootptr">
+    <xsl:for-each select="$target.database" >
+      <xsl:value-of 
+             select="key('targetdoc-key', $targetdoc)/div[1]/@targetptr" />
+    </xsl:for-each>
+  </xsl:variable>
+
+  <xsl:variable name="docname">
+    <xsl:for-each select="$target.database" >
+      <xsl:value-of 
+             select="key('targetdoc-key', $targetdoc)/div[1]/ttl" />
+    </xsl:for-each>
+  </xsl:variable>
+
+  <xsl:if test="not(starts-with(normalize-space($xrefstyle), 'select:') 
+              and (contains($xrefstyle, 'docname')))
+              and ($olink.doctitle = 'yes' or $olink.doctitle = '1')
+              and $current.docid != '' 
+              and $rootptr != $targetptr
+              and $current.docid != $targetdoc
+              and $docname != ''">
+    <xsl:call-template name="substitute-markup">
+      <xsl:with-param name="template">
+        <xsl:call-template name="gentext.template">
+          <xsl:with-param name="name" select="'olink.document.citation'"/>
+          <xsl:with-param name="context" select="'xref'"/>
+          <xsl:with-param name="lang" select="$olink.lang"/>
+        </xsl:call-template>
+      </xsl:with-param>
+      <xsl:with-param name="docname" select="$docname"/>
+      <xsl:with-param name="pagenumber" select="$page"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="xref.page.citation">
+  <!-- Determine if this xref should have a page citation.
+       Context node is the xref or local olink element -->
+  <xsl:param name="linkend" select="@linkend"/>
+  <xsl:param name="target" select="key('id', $linkend)"/>
+  <xsl:param name="xrefstyle">
+    <xsl:choose>
+      <xsl:when test="@role and not(@xrefstyle) 
+                      and $use.role.as.xrefstyle != 0">
+        <xsl:value-of select="@role"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="@xrefstyle"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:param>
+
+  <xsl:if test="not(starts-with(normalize-space($xrefstyle),'select:')
+                    and (contains($xrefstyle, 'page')
+                         or contains($xrefstyle, 'Page')))
+                and ( $insert.xref.page.number = 'yes' 
+                   or $insert.xref.page.number = '1')
+                or local-name($target) = 'para'">
+    <xsl:apply-templates select="$target" mode="page.citation">
+      <xsl:with-param name="id" select="$linkend"/>
+    </xsl:apply-templates>
+  </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/common/or.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/or.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/or.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="or" english-language-name="Oriya">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/or.xml -->
+<!-- * -->
+<!-- * E-mail the edited or.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#2872;&#2878;&#2864;&#2878;&#2818;&#2870;"/>
+   <l:gentext key="abstract" text="&#2872;&#2878;&#2864;&#2878;&#2818;&#2870;"/>
+   <l:gentext key="Answer" text="&#2825;:"/>
+   <l:gentext key="answer" text="&#2825;:"/>
+   <l:gentext key="Appendix" text="&#2858;&#2864;&#2879;&#2870;&#2879;&#2871;&#2893;&#2848;"/>
+   <l:gentext key="appendix" text="&#2858;&#2864;&#2879;&#2870;&#2879;&#2871;&#2893;&#2848;"/>
+   <l:gentext key="Article" text="&#2856;&#2879;&#2860;&#2856;&#2893;&#2855;"/>
+   <l:gentext key="article" text="&#2856;&#2879;&#2860;&#2856;&#2893;&#2855;"/>
+   <l:gentext key="Author" text="&#2866;&#2887;&#2838;&#2837;"/>
+   <l:gentext key="Bibliography" text="&#2839;&#2893;&#2864;&#2856;&#2893;&#2853;&#2872;&#2882;&#2842;&#2880;"/>
+   <l:gentext key="bibliography" text="&#2839;&#2893;&#2864;&#2856;&#2893;&#2853;&#2872;&#2882;&#2842;&#2880;"/>
+   <l:gentext key="Book" text="&#2858;&#2881;&#2872;&#2893;&#2852;&#2837;"/>
+   <l:gentext key="book" text="&#2858;&#2881;&#2872;&#2893;&#2852;&#2837;"/>
+   <l:gentext key="CAUTION" text="&#2872;&#2878;&#2860;&#2855;&#2878;&#2856;"/>
+   <l:gentext key="Caution" text="&#2872;&#2878;&#2860;&#2855;&#2878;&#2856;"/>
+   <l:gentext key="caution" text="&#2872;&#2878;&#2860;&#2855;&#2878;&#2856;"/>
+   <l:gentext key="Chapter" text="&#2821;&#2855;&#2893;&#2863;&#2878;&#2911;"/>
+   <l:gentext key="chapter" text="&#2821;&#2855;&#2893;&#2863;&#2878;&#2911;"/>
+   <l:gentext key="Colophon" text="&#2858;&#2881;&#2872;&#2893;&#2852;&#2837; &#2858;&#2864;&#2879;&#2842;&#2911;"/>
+   <l:gentext key="colophon" text="&#2858;&#2881;&#2872;&#2893;&#2852;&#2837; &#2858;&#2864;&#2879;&#2842;&#2911;"/>
+   <l:gentext key="Copyright" text="&#2872;&#2893;&#2860;&#2852;&#2893;&#2852;&#2893;&#2860;&#2878;&#2855;&#2880;&#2837;&#2878;&#2864;"/>
+   <l:gentext key="copyright" text="&#2872;&#2893;&#2860;&#2852;&#2893;&#2852;&#2893;&#2860;&#2878;&#2855;&#2880;&#2837;&#2878;&#2864;"/>
+   <l:gentext key="Dedication" text="&#2872;&#2862;&#2864;&#2893;&#2858;&#2851;"/>
+   <l:gentext key="dedication" text="&#2872;&#2862;&#2864;&#2893;&#2858;&#2851;"/>
+   <l:gentext key="Edition" text="&#2872;&#2818;&#2872;&#2837;&#2864;&#2851;"/>
+   <l:gentext key="edition" text="&#2872;&#2818;&#2872;&#2837;&#2864;&#2851;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#2872;&#2862;&#2880;&#2837;&#2864;&#2851;"/>
+   <l:gentext key="equation" text="&#2872;&#2862;&#2880;&#2837;&#2864;&#2851;"/>
+   <l:gentext key="Example" text="&#2825;&#2854;&#2878;&#2873;&#2864;&#2851;"/>
+   <l:gentext key="example" text="&#2825;&#2854;&#2878;&#2873;&#2864;&#2851;"/>
+   <l:gentext key="Figure" text="&#2842;&#2879;&#2852;&#2893;&#2864;"/>
+   <l:gentext key="figure" text="&#2842;&#2879;&#2852;&#2893;&#2864;"/>
+   <l:gentext key="Glossary" text="&#2870;&#2860;&#2893;&#2854;&#2837;&#2891;&#2871;"/>
+   <l:gentext key="glossary" text="&#2870;&#2860;&#2893;&#2854;&#2837;&#2891;&#2871;"/>
+   <l:gentext key="GlossSee" text="&#2854;&#2887;&#2838;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="glosssee" text="&#2854;&#2887;&#2838;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="GlossSeeAlso" text="&#2831;&#2873;&#2878; &#2861;&#2879; &#2854;&#2887;&#2838;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="glossseealso" text="&#2831;&#2873;&#2878; &#2861;&#2879; &#2854;&#2887;&#2838;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="IMPORTANT" text="&#2839;&#2881;&#2864;&#2881;&#2852;&#2893;&#2860;&#2858;&#2882;&#2864;&#2893;&#2851;&#2893;&#2851;"/>
+   <l:gentext key="important" text="&#2839;&#2881;&#2864;&#2881;&#2852;&#2893;&#2860;&#2858;&#2882;&#2864;&#2893;&#2851;&#2893;&#2851;"/>
+   <l:gentext key="Important" text="&#2839;&#2881;&#2864;&#2881;&#2852;&#2893;&#2860;&#2858;&#2882;&#2864;&#2893;&#2851;&#2893;&#2851;"/>
+   <l:gentext key="Index" text="&#2821;&#2856;&#2881;&#2837;&#2893;&#2864;&#2862;&#2851;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="index" text="&#2821;&#2856;&#2881;&#2837;&#2893;&#2864;&#2862;&#2851;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="ISBN" text="&#2822;&#2823;.&#2831;&#2872;.&#2860;&#2879;.&#2831;&#2856;."/>
+   <l:gentext key="isbn" text="&#2822;&#2823;.&#2831;&#2872;.&#2860;&#2879;.&#2831;&#2856;."/>
+   <l:gentext key="LegalNotice" text="&#2860;&#2888;&#2855;&#2878;&#2856;&#2879;&#2837; &#2872;&#2882;&#2842;&#2856;&#2878;"/>
+   <l:gentext key="legalnotice" text="&#2860;&#2888;&#2855;&#2878;&#2856;&#2879;&#2837; &#2872;&#2882;&#2842;&#2856;&#2878;"/>
+   <l:gentext key="MsgAud" text="&#2870;&#2893;&#2864;&#2891;&#2852;&#2883;&#2860;&#2864;&#2893;&#2839;"/>
+   <l:gentext key="msgaud" text="&#2870;&#2893;&#2864;&#2891;&#2852;&#2883;&#2860;&#2864;&#2893;&#2839;"/>
+   <l:gentext key="MsgLevel" text="&#2872;&#2893;&#2852;&#2864;"/>
+   <l:gentext key="msglevel" text="&#2872;&#2893;&#2852;&#2864;"/>
+   <l:gentext key="MsgOrig" text="&#2825;&#2852;&#2893;&#2858;&#2852;&#2893;&#2852;&#2879;"/>
+   <l:gentext key="msgorig" text="&#2825;&#2852;&#2893;&#2858;&#2852;&#2893;&#2852;&#2879;"/>
+   <l:gentext key="NOTE" text="&#2847;&#2880;&#2837;&#2878;"/>
+   <l:gentext key="Note" text="&#2847;&#2880;&#2837;&#2878;"/>
+   <l:gentext key="note" text="&#2847;&#2880;&#2837;&#2878;"/>
+   <l:gentext key="Part" text="&#2861;&#2878;&#2839;"/>
+   <l:gentext key="part" text="&#2861;&#2878;&#2839;"/>
+   <l:gentext key="Preface" text="&#2861;&#2882;&#2862;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="preface" text="&#2861;&#2882;&#2862;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="Procedure" text="&#2837;&#2878;&#2864;&#2893;&#2863;&#2893;&#2863;&#2860;&#2879;&#2855;&#2879;"/>
+   <l:gentext key="procedure" text="&#2837;&#2878;&#2864;&#2893;&#2863;&#2893;&#2863;&#2860;&#2879;&#2855;&#2879;"/>
+   <l:gentext key="ProductionSet" text="&#2825;&#2852;&#2893;&#2858;&#2878;&#2854;&#2856;"/>
+   <l:gentext key="PubDate" text="&#2858;&#2893;&#2864;&#2837;&#2878;&#2870;&#2856; &#2852;&#2878;&#2864;&#2880;&#2838;"/>
+   <l:gentext key="pubdate" text="&#2858;&#2893;&#2864;&#2837;&#2878;&#2870;&#2856; &#2852;&#2878;&#2864;&#2880;&#2838;"/>
+   <l:gentext key="Published" text="&#2858;&#2893;&#2864;&#2837;&#2878;&#2870;&#2879;&#2852;"/>
+   <l:gentext key="published" text="&#2858;&#2893;&#2864;&#2837;&#2878;&#2870;&#2879;&#2852;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#2858;&#2893;&#2864; &amp; &#2825;"/>
+   <l:gentext key="qandadiv" text="&#2858;&#2893;&#2864; &amp; &#2825;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#2858;&#2893;&#2864;:"/>
+   <l:gentext key="question" text="&#2858;&#2893;&#2864;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#2872;&#2856;&#2893;&#2854;&#2864;&#2893;&#2861;"/>
+   <l:gentext key="reference" text="&#2872;&#2856;&#2893;&#2854;&#2864;&#2893;&#2861;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#2856;&#2878;&#2862;"/>
+   <l:gentext key="refname" text="&#2856;&#2878;&#2862;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#2872;&#2878;&#2864;&#2878;&#2818;&#2870;"/>
+   <l:gentext key="refsynopsisdiv" text="&#2872;&#2878;&#2864;&#2878;&#2818;&#2870;"/>
+   <l:gentext key="RevHistory" text="&#2872;&#2818;&#2870;&#2891;&#2855;&#2856; &#2823;&#2852;&#2879;&#2873;&#2878;&#2872;"/>
+   <l:gentext key="revhistory" text="&#2872;&#2818;&#2870;&#2891;&#2855;&#2856; &#2823;&#2852;&#2879;&#2873;&#2878;&#2872;"/>
+   <l:gentext key="revision" text="&#2872;&#2818;&#2870;&#2891;&#2855;&#2856;"/>
+   <l:gentext key="Revision" text="&#2872;&#2818;&#2870;&#2891;&#2855;&#2856;"/>
+   <l:gentext key="sect1" text="&#2821;&#2818;&#2870;"/>
+   <l:gentext key="sect2" text="&#2821;&#2818;&#2870;"/>
+   <l:gentext key="sect3" text="&#2821;&#2818;&#2870;"/>
+   <l:gentext key="sect4" text="&#2821;&#2818;&#2870;"/>
+   <l:gentext key="sect5" text="&#2821;&#2818;&#2870;"/>
+   <l:gentext key="section" text="&#2821;&#2818;&#2870;"/>
+   <l:gentext key="Section" text="&#2821;&#2818;&#2870;"/>
+   <l:gentext key="see" text="&#2854;&#2887;&#2838;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="See" text="&#2854;&#2887;&#2838;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="seealso" text="&#2831;&#2873;&#2878; &#2861;&#2879; &#2854;&#2887;&#2838;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="Seealso" text="&#2831;&#2873;&#2878; &#2861;&#2879; &#2854;&#2887;&#2838;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="SeeAlso" text="&#2831;&#2873;&#2878; &#2861;&#2879; &#2854;&#2887;&#2838;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="set" text="&#2860;&#2879;&#2856;&#2893;&#2863;&#2878;&#2872; &#2837;&#2864;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="Set" text="&#2860;&#2879;&#2856;&#2893;&#2863;&#2878;&#2872; &#2837;&#2864;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="setindex" text="&#2821;&#2856;&#2881;&#2837;&#2893;&#2864;&#2862;&#2851;&#2879;&#2837;&#2878; &#2860;&#2879;&#2856;&#2893;&#2863;&#2878;&#2872; &#2837;&#2864;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="SetIndex" text="&#2821;&#2856;&#2881;&#2837;&#2893;&#2864;&#2862;&#2851;&#2879;&#2837;&#2878; &#2860;&#2879;&#2856;&#2893;&#2863;&#2878;&#2872; &#2837;&#2864;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="Sidebar" text="&#2858;&#2878;&#2864;&#2893;&#2870;&#2893;&#2860;&#2858;&#2847;&#2879;"/>
+   <l:gentext key="sidebar" text="&#2858;&#2878;&#2864;&#2893;&#2870;&#2893;&#2860;&#2858;&#2847;&#2879;"/>
+   <l:gentext key="step" text="&#2858;&#2854;&#2837;&#2893;&#2871;&#2887;&#2858;"/>
+   <l:gentext key="Step" text="&#2858;&#2854;&#2837;&#2893;&#2871;&#2887;&#2858;"/>
+   <l:gentext key="table" text="&#2872;&#2878;&#2864;&#2851;&#2880;"/>
+   <l:gentext key="Table" text="&#2872;&#2878;&#2864;&#2851;&#2880;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#2872;&#2818;&#2837;&#2887;&#2852;"/>
+   <l:gentext key="TIP" text="&#2872;&#2818;&#2837;&#2887;&#2852;"/>
+   <l:gentext key="Tip" text="&#2872;&#2818;&#2837;&#2887;&#2852;"/>
+   <l:gentext key="Warning" text="&#2842;&#2887;&#2852;&#2878;&#2860;&#2856;&#2880;"/>
+   <l:gentext key="warning" text="&#2842;&#2887;&#2852;&#2878;&#2860;&#2856;&#2880;"/>
+   <l:gentext key="WARNING" text="&#2842;&#2887;&#2852;&#2878;&#2860;&#2856;&#2880;"/>
+   <l:gentext key="and" text="&#2835;"/>
+   <l:gentext key="by" text="&#2854;&#2893;&#2860;&#2878;&#2864;&#2878;"/>
+   <l:gentext key="Edited" text="&#2872;&#2862;&#2893;&#2858;&#2878;&#2854;&#2879;&#2852;"/>
+   <l:gentext key="edited" text="&#2872;&#2862;&#2893;&#2858;&#2878;&#2854;&#2879;&#2852;"/>
+   <l:gentext key="Editedby" text="&#2854;&#2893;&#2860;&#2878;&#2864;&#2878; &#2872;&#2862;&#2893;&#2858;&#2878;&#2854;&#2879;&#2852;"/>
+   <l:gentext key="editedby" text="&#2854;&#2893;&#2860;&#2878;&#2864;&#2878; &#2872;&#2862;&#2893;&#2858;&#2878;&#2854;&#2879;&#2852;"/>
+   <l:gentext key="in" text="&#2861;&#2879;&#2852;&#2864;&#2887;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#2821;&#2872;&#2893;&#2852;&#2879;&#2872;&#2893;&#2860;&#2873;&#2880;&#2856; &#2825;&#2858;&#2878;&#2854;&#2878;&#2856;"/>
+   <l:gentext key="notes" text="&#2847;&#2880;&#2837;&#2878;"/>
+   <l:gentext key="Notes" text="&#2847;&#2880;&#2837;&#2878;"/>
+   <l:gentext key="Pgs" text="&#2858;&#2883;&#2871;&#2893;&#2848;&#2878;"/>
+   <l:gentext key="pgs" text="&#2858;&#2883;&#2871;&#2893;&#2848;&#2878;"/>
+   <l:gentext key="Revisedby" text="&#2854;&#2893;&#2860;&#2878;&#2864;&#2878; &#2872;&#2818;&#2870;&#2891;&#2855;&#2879;&#2852;: "/>
+   <l:gentext key="revisedby" text="&#2854;&#2893;&#2860;&#2878;&#2864;&#2878; &#2872;&#2818;&#2870;&#2891;&#2855;&#2879;&#2852;: "/>
+   <l:gentext key="TableNotes" text="&#2847;&#2880;&#2837;&#2878;"/>
+   <l:gentext key="tablenotes" text="&#2847;&#2880;&#2837;&#2878;"/>
+   <l:gentext key="TableofContents" text="&#2872;&#2882;&#2842;&#2880;&#2858;&#2852;&#2893;&#2864;"/>
+   <l:gentext key="tableofcontents" text="&#2872;&#2882;&#2842;&#2880;&#2858;&#2852;&#2893;&#2864;"/>
+   <l:gentext key="unexpectedelementname" text="&#2821;&#2858;&#2893;&#2864;&#2852;&#2893;&#2863;&#2878;&#2870;&#2879;&#2852; &#2825;&#2858;&#2878;&#2854;&#2878;&#2856; &#2856;&#2878;&#2862;"/>
+   <l:gentext key="unsupported" text="&#2821;&#2872;&#2873;&#2878;&#2911;&#2837;"/>
+   <l:gentext key="xrefto" text="&#2872;&#2873;&#2879;&#2852; &#2858;&#2893;&#2864;&#2878;&#2872;&#2841;&#2893;&#2839;&#2879;&#2837; &#2872;&#2856;&#2893;&#2854;&#2864;&#2893;&#2861; &#2837;&#2864;&#2856;&#2893;&#2852;&#2881;"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#2872;&#2862;&#2880;&#2837;&#2864;&#2851; &#2852;&#2878;&#2866;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="ListofEquations" text="&#2872;&#2862;&#2880;&#2837;&#2864;&#2851; &#2852;&#2878;&#2866;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="ListofExamples" text="&#2825;&#2854;&#2878;&#2873;&#2864;&#2851; &#2852;&#2878;&#2866;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="listofexamples" text="&#2825;&#2854;&#2878;&#2873;&#2864;&#2851; &#2852;&#2878;&#2866;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="ListofFigures" text="&#2842;&#2879;&#2852;&#2893;&#2864; &#2852;&#2878;&#2866;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="listoffigures" text="&#2842;&#2879;&#2852;&#2893;&#2864; &#2852;&#2878;&#2866;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="ListofProcedures" text="&#2837;&#2878;&#2864;&#2893;&#2863;&#2893;&#2863;&#2860;&#2879;&#2855;&#2879; &#2852;&#2878;&#2866;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="listofprocedures" text="&#2837;&#2878;&#2864;&#2893;&#2863;&#2893;&#2863;&#2860;&#2879;&#2855;&#2879; &#2852;&#2878;&#2866;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="listoftables" text="&#2872;&#2878;&#2864;&#2851;&#2880; &#2852;&#2878;&#2866;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="ListofTables" text="&#2872;&#2878;&#2864;&#2851;&#2880; &#2852;&#2878;&#2866;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="ListofUnknown" text="&#2821;&#2844;&#2851;&#2878;&#2864; &#2852;&#2878;&#2866;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="listofunknown" text="&#2821;&#2844;&#2851;&#2878;&#2864; &#2852;&#2878;&#2866;&#2879;&#2837;&#2878;"/>
+   <l:gentext key="nav-home" text="&#2862;&#2882;&#2867; &#2872;&#2893;&#2853;&#2878;&#2856;"/>
+   <l:gentext key="nav-next" text="&#2858;&#2864;&#2860;&#2864;&#2893;&#2852;&#2893;&#2852;&#2880;"/>
+   <l:gentext key="nav-next-sibling" text="&#2854;&#2893;&#2864;&#2881;&#2852; &#2822;&#2839;&#2837;&#2881;"/>
+   <l:gentext key="nav-prev" text="&#2858;&#2882;&#2864;&#2893;&#2860;"/>
+   <l:gentext key="nav-prev-sibling" text="&#2854;&#2893;&#2864;&#2881;&#2852; &#2858;&#2843;&#2837;&#2881;"/>
+   <l:gentext key="nav-up" text="&#2825;&#2858;&#2864;&#2837;&#2881;"/>
+   <l:gentext key="nav-toc" text="&#2872;&#2882;&#2842;&#2880;&#2858;&#2852;&#2893;&#2864;"/>
+   <l:gentext key="Draft" text="&#2849;&#2893;&#2864;&#2878;&#2859;&#2893;&#2847;"/>
+   <l:gentext key="above" text="&#2825;&#2858;&#2864;&#2887;"/>
+   <l:gentext key="below" text="&#2852;&#2867;&#2887;"/>
+   <l:gentext key="sectioncalled" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862;"/>
+   <l:gentext key="index symbols" text="&#2858;&#2893;&#2864;&#2852;&#2880;&#2837;"/>
+   <l:gentext key="lowercase.alpha" text="&#2821;&#2822;&#2823;&#2824;&#2825;&#2826;&#2827;&#2831;&#2832;&#2835;&#2836;&#2837;&#2838;&#2839;&#2840;&#2841;&#2842;&#2843;&#2844;&#2845;&#2846;&#2847;&#2848;&#2849;&#2850;&#2851;&#2852;&#2853;&#2854;&#2855;&#2856;&#2858;&#2859;&#2860;&#2861;&#2862;&#2863;&#2911;&#2864;&#2866;&#2867;&#2929;&#2870;&#2871;&#2872;&#2873;"/>
+   <l:gentext key="uppercase.alpha" text="&#2821;&#2822;&#2823;&#2824;&#2825;&#2826;&#2827;&#2831;&#2832;&#2835;&#2836;&#2837;&#2838;&#2839;&#2840;&#2841;&#2842;&#2843;&#2844;&#2845;&#2846;&#2847;&#2848;&#2849;&#2850;&#2851;&#2852;&#2853;&#2854;&#2855;&#2856;&#2858;&#2859;&#2860;&#2861;&#2862;&#2863;&#2911;&#2864;&#2866;&#2867;&#2929;&#2870;&#2871;&#2872;&#2873;"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="&#2858;&#2893;&#2864;&#2853;&#2862;-&#2870;&#2887;&#2871;"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#2858;&#2864;&#2879;&#2870;&#2879;&#2871;&#2893;&#2848;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#2821;&#2855;&#2893;&#2863;&#2878;&#2911;&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#2872;&#2862;&#2880;&#2837;&#2864;&#2851;&#160;%n.&#160;%t"/>
+      <l:template name="example" text="&#2825;&#2854;&#2878;&#2873;&#2864;&#2851;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="&#2842;&#2879;&#2852;&#2893;&#2864;&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#2861;&#2878;&#2839;&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#2837;&#2878;&#2864;&#2893;&#2863;&#2893;&#2863;&#2860;&#2879;&#2855;&#2879;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#2825;&#2852;&#2893;&#2858;&#2878;&#2854;&#2856;&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#2872;&#2878;&#2864;&#2851;&#2880;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#2858;&#2864;&#2879;&#2870;&#2879;&#2871;&#2893;&#2848;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#2821;&#2855;&#2893;&#2863;&#2878;&#2911;&#160;%n.&#160;%t"/>
+      <l:template name="part" text="&#2861;&#2878;&#2839;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#2825;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#2858;&#2893;&#2864;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#2858;&#2893;&#2864;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text="%o&#2864;&#2887;"/>
+      <l:template name="olink.page.citation" text=" (&#2858;&#2883;&#2871;&#2893;&#2848;&#2878; %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(&#2858;&#2883;&#2871;&#2893;&#2848;&#2878; %p)"/>
+      <l:template name="docname" text="%o&#2864;&#2887;"/>
+      <l:template name="docnamelong" text="%o &#2856;&#2878;&#2862;&#2837; &#2854;&#2866;&#2879;&#2866;&#2864;&#2887;"/>
+      <l:template name="pageabbrev" text="(&#2858;&#2883;. %p)"/>
+      <l:template name="Page" text="&#2858;&#2883;&#2871;&#2893;&#2848;&#2878; %p"/>
+      <l:template name="bridgehead" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#2825;:&#160;%n"/>
+      <l:template name="appendix" text="&#2858;&#2864;&#2879;&#2870;&#2879;&#2871;&#2893;&#2848;&#160;%n"/>
+      <l:template name="bridgehead" text="&#2821;&#2818;&#2870;&#160;%n"/>
+      <l:template name="chapter" text="&#2821;&#2855;&#2893;&#2863;&#2878;&#2911;&#160;%n"/>
+      <l:template name="equation" text="&#2872;&#2862;&#2880;&#2837;&#2864;&#2851;&#160;%n"/>
+      <l:template name="example" text="&#2825;&#2854;&#2878;&#2873;&#2864;&#2851;&#160;%n"/>
+      <l:template name="figure" text="&#2842;&#2879;&#2852;&#2893;&#2864;&#160;%n"/>
+      <l:template name="part" text="&#2861;&#2878;&#2839;&#160;%n"/>
+      <l:template name="procedure" text="&#2837;&#2878;&#2864;&#2893;&#2863;&#2893;&#2863;&#2860;&#2879;&#2855;&#2879;&#160;%n"/>
+      <l:template name="productionset" text="&#2825;&#2852;&#2893;&#2858;&#2878;&#2854;&#2856;&#160;%n"/>
+      <l:template name="qandadiv" text="&#2858;&#2893;&#2864; &amp; &#2825;&#160;%n"/>
+      <l:template name="qandaentry" text="&#2858;&#2893;&#2864;:&#160;%n"/>
+      <l:template name="question" text="&#2858;&#2893;&#2864;:&#160;%n"/>
+      <l:template name="sect1" text="&#2821;&#2818;&#2870;&#160;%n"/>
+      <l:template name="sect2" text="&#2821;&#2818;&#2870;&#160;%n"/>
+      <l:template name="sect3" text="&#2821;&#2818;&#2870;&#160;%n"/>
+      <l:template name="sect4" text="&#2821;&#2818;&#2870;&#160;%n"/>
+      <l:template name="sect5" text="&#2821;&#2818;&#2870;&#160;%n"/>
+      <l:template name="section" text="&#2821;&#2818;&#2870;&#160;%n"/>
+      <l:template name="table" text="&#2872;&#2878;&#2864;&#2851;&#2880;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#2858;&#2864;&#2879;&#2870;&#2879;&#2871;&#2893;&#2848;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#2821;&#2818;&#2870;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#2821;&#2855;&#2893;&#2863;&#2878;&#2911;&#160;%n, %t"/>
+      <l:template name="equation" text="&#2872;&#2862;&#2880;&#2837;&#2864;&#2851;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#2825;&#2854;&#2878;&#2873;&#2864;&#2851;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#2842;&#2879;&#2852;&#2893;&#2864;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#2861;&#2878;&#2839;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#2837;&#2878;&#2864;&#2893;&#2863;&#2893;&#2863;&#2860;&#2879;&#2855;&#2879;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="&#2825;&#2852;&#2893;&#2858;&#2878;&#2854;&#2856;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="&#2858;&#2893;&#2864; &amp; &#2825;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#2821;&#2818;&#2870;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#2821;&#2818;&#2870;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#2821;&#2818;&#2870;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#2821;&#2818;&#2870;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#2821;&#2818;&#2870;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#2821;&#2818;&#2870;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#2831;&#2873;&#2879; &#2821;&#2818;&#2870;&#2864; &#2856;&#2878;&#2862; &#8220;%t&#8221;"/>
+      <l:template name="table" text="&#2872;&#2878;&#2864;&#2851;&#2880;&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#2835; "/>
+      <l:template name="seplast" text=", &#2835; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#2854;&#2887;&#2838;&#2856;&#2893;&#2852;&#2881; %t"/>
+      <l:template name="seealso" text="&#2831;&#2873;&#2878; &#2861;&#2879; &#2854;&#2887;&#2838;&#2856;&#2893;&#2852;&#2881; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#2870;&#2893;&#2864;&#2891;&#2852;&#2883;&#2860;&#2864;&#2893;&#2839;: "/>
+      <l:template name="MsgLevel" text="&#2872;&#2893;&#2852;&#2864;: "/>
+      <l:template name="MsgOrig" text="&#2825;&#2852;&#2893;&#2858;&#2852;&#2893;&#2852;&#2879;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="&#2862;&#2878;&#2872;/&#2854;&#2879;&#2856;/&#2860;&#2864;&#2893;&#2871;"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[&#2860;&#2893;&#2863;&#2878;&#2838;&#2893;&#2863;&#2878;: "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="&#2844;&#2878;&#2856;&#2881;&#2822;&#2864;&#2879;"/>
+      <l:template name="February" text="&#2859;&#2887;&#2860;&#2893;&#2864;&#2881;&#2822;&#2864;&#2879;"/>
+      <l:template name="March" text="&#2862;&#2878;&#2864;&#2893;&#2842;&#2893;&#2842;"/>
+      <l:template name="April" text="&#2831;&#2858;&#2893;&#2864;&#2879;&#2866;"/>
+      <l:template name="May" text="&#2862;&#2887;"/>
+      <l:template name="June" text="&#2844;&#2881;&#2856;"/>
+      <l:template name="July" text="&#2844;&#2881;&#2866;&#2878;&#2823;"/>
+      <l:template name="August" text="&#2821;&#2839;&#2871;&#2893;&#2847;"/>
+      <l:template name="September" text="&#2872;&#2887;&#2858;&#2893;&#2847;&#2887;&#2862;&#2893;&#2860;&#2864;"/>
+      <l:template name="October" text="&#2821;&#2837;&#2893;&#2847;&#2891;&#2860;&#2864;"/>
+      <l:template name="November" text="&#2856;&#2861;&#2887;&#2862;&#2893;&#2860;&#2864;"/>
+      <l:template name="December" text="&#2849;&#2879;&#2872;&#2887;&#2862;&#2893;&#2860;&#2864;"/>
+      <l:template name="Monday" text="&#2872;&#2891;&#2862;&#2860;&#2878;&#2864;"/>
+      <l:template name="Tuesday" text="&#2862;&#2841;&#2893;&#2839;&#2867;&#2860;&#2878;&#2864;"/>
+      <l:template name="Wednesday" text="&#2860;&#2881;&#2855;&#2860;&#2878;&#2864;"/>
+      <l:template name="Thursday" text="&#2839;&#2881;&#2864;&#2881;&#2860;&#2878;&#2864;"/>
+      <l:template name="Friday" text="&#2870;&#2881;&#2837;&#2893;&#2864;&#2860;&#2878;&#2864;"/>
+      <l:template name="Saturday" text="&#2870;&#2856;&#2879;&#2860;&#2878;&#2864;"/>
+      <l:template name="Sunday" text="&#2864;&#2860;&#2879;&#2860;&#2878;&#2864;"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="&#2844;&#2878;&#2856;"/>
+      <l:template name="Feb" text="&#2859;&#2887;&#2860;"/>
+      <l:template name="Mar" text="&#2862;&#2878;&#2864;"/>
+      <l:template name="Apr" text="&#2831;&#2858;&#2893;&#2864;"/>
+      <l:template name="May" text="&#2862;&#2887;"/>
+      <l:template name="Jun" text="&#2844;&#2881;&#2856;"/>
+      <l:template name="Jul" text="&#2844;&#2881;&#2866;"/>
+      <l:template name="Aug" text="&#2821;&#2839;"/>
+      <l:template name="Sep" text="&#2872;&#2887;&#2858;"/>
+      <l:template name="Oct" text="&#2821;&#2837;&#2893;&#2847;"/>
+      <l:template name="Nov" text="&#2856;&#2861;"/>
+      <l:template name="Dec" text="&#2849;&#2879;&#2872;"/>
+      <l:template name="Mon" text="&#2872;&#2891;&#2862;"/>
+      <l:template name="Tue" text="&#2862;&#2818;&#2839;&#2867;"/>
+      <l:template name="Wed" text="&#2860;&#2881;&#2855;"/>
+      <l:template name="Thu" text="&#2839;&#2881;&#2864;&#2881;"/>
+      <l:template name="Fri" text="&#2870;&#2881;&#2837;&#2893;&#2864;"/>
+      <l:template name="Sat" text="&#2870;&#2856;&#2879;"/>
+      <l:template name="Sun" text="&#2864;&#2860;&#2879;"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0409 English (UNITED STATES)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/pa.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/pa.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/pa.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pa" english-language-name="Punjabi">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/pa.xml -->
+<!-- * -->
+<!-- * E-mail the edited pa.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#2616;&#2622;&#2608;"/>
+   <l:gentext key="abstract" text="&#2616;&#2622;&#2608;"/>
+   <l:gentext key="Answer" text="&#2588;:"/>
+   <l:gentext key="answer" text="&#2588;:"/>
+   <l:gentext key="Appendix" text="&#2565;&#2672;&#2596;&#2623;&#2581;&#2622;"/>
+   <l:gentext key="appendix" text="&#2565;&#2672;&#2596;&#2623;&#2581;&#2622;"/>
+   <l:gentext key="Article" text="&#2610;&#2631;&#2582;"/>
+   <l:gentext key="article" text="&#2610;&#2631;&#2582;"/>
+   <l:gentext key="Author" text="Author"/>
+   <l:gentext key="Bibliography" text="&#2602;&#2625;&#2616;&#2596;&#2581;-&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="bibliography" text="&#2602;&#2625;&#2616;&#2596;&#2581;-&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="Book" text="&#2602;&#2625;&#2616;&#2596;&#2581;"/>
+   <l:gentext key="book" text="&#2602;&#2625;&#2616;&#2596;&#2581;"/>
+   <l:gentext key="CAUTION" text="&#2616;&#2622;&#2613;&#2599;&#2622;&#2600;"/>
+   <l:gentext key="Caution" text="&#2616;&#2622;&#2613;&#2599;&#2622;&#2600;"/>
+   <l:gentext key="caution" text="&#2616;&#2622;&#2613;&#2599;&#2622;&#2600;"/>
+   <l:gentext key="Chapter" text="&#2565;&#2599;&#2623;&#2566;&#2567;"/>
+   <l:gentext key="chapter" text="&#2565;&#2599;&#2623;&#2566;&#2567;"/>
+   <l:gentext key="Colophon" text="&#2610;&#2631;&#2582;&#2581;&#2622;&#2562;&#2604;&#2622;&#2608;&#2631;"/>
+   <l:gentext key="colophon" text="&#2610;&#2631;&#2582;&#2581;&#2622;&#2562;&#2604;&#2622;&#2608;&#2631;"/>
+   <l:gentext key="Copyright" text="&#2617;&#2673;&#2581;&#2608;&#2622;&#2582;&#2613;&#2631;&#2562;&#2617;&#2600;"/>
+   <l:gentext key="copyright" text="&#2617;&#2673;&#2581;&#2608;&#2622;&#2582;&#2613;&#2631;&#2562;&#2617;&#2600;"/>
+   <l:gentext key="Dedication" text="&#2616;&#2606;&#2608;&#2602;&#2623;&#2596;"/>
+   <l:gentext key="dedication" text="&#2616;&#2606;&#2608;&#2602;&#2623;&#2596;"/>
+   <l:gentext key="Edition" text="&#2602;&#2637;&#2608;&#2581;&#2622;&#2614;&#2600;"/>
+   <l:gentext key="edition" text="&#2602;&#2637;&#2608;&#2581;&#2622;&#2614;&#2600;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#2616;&#2606;&#2624;&#2581;&#2608;&#2600;"/>
+   <l:gentext key="equation" text="&#2616;&#2606;&#2624;&#2581;&#2608;&#2600;"/>
+   <l:gentext key="Example" text="&#2569;&#2598;&#2622;&#2617;&#2608;&#2600;"/>
+   <l:gentext key="example" text="&#2569;&#2598;&#2622;&#2617;&#2608;&#2600;"/>
+   <l:gentext key="Figure" text="&#2586;&#2623;&#2673;&#2596;&#2608;"/>
+   <l:gentext key="figure" text="&#2586;&#2623;&#2673;&#2596;&#2608;"/>
+   <l:gentext key="Glossary" text="&#2614;&#2604;&#2598;&#2622;&#2613;&#2610;&#2624;"/>
+   <l:gentext key="glossary" text="&#2614;&#2604;&#2598;&#2622;&#2613;&#2610;&#2624;"/>
+   <l:gentext key="GlossSee" text="&#2613;&#2631;&#2582;&#2635;"/>
+   <l:gentext key="glosssee" text="&#2613;&#2631;&#2582;&#2635;"/>
+   <l:gentext key="GlossSeeAlso" text="&#2567;&#2617;&#2613;&#2624;&#2613;&#2631;&#2582;&#2635;"/>
+   <l:gentext key="glossseealso" text="&#2567;&#2617;&#2613;&#2624;&#2613;&#2631;&#2582;&#2635;"/>
+   <l:gentext key="IMPORTANT" text="&#2582;&#2622;&#2616;"/>
+   <l:gentext key="important" text="&#2582;&#2622;&#2616;"/>
+   <l:gentext key="Important" text="&#2582;&#2622;&#2616;"/>
+   <l:gentext key="Index" text="&#2596;&#2596;&#2581;&#2608;&#2622;"/>
+   <l:gentext key="index" text="&#2596;&#2596;&#2581;&#2608;&#2622;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#2581;&#2622;&#2600;&#2626;&#2672;&#2600;&#2624;&#2616;&#2626;&#2586;&#2600;&#2622;"/>
+   <l:gentext key="legalnotice" text="&#2581;&#2622;&#2600;&#2626;&#2672;&#2600;&#2624;&#2616;&#2626;&#2586;&#2600;&#2622;"/>
+   <l:gentext key="MsgAud" text="&#2602;&#2622;&#2592;&#2581;"/>
+   <l:gentext key="msgaud" text="&#2602;&#2622;&#2592;&#2581;"/>
+   <l:gentext key="MsgLevel" text="&#2602;&#2673;&#2599;&#2608;"/>
+   <l:gentext key="msglevel" text="&#2602;&#2673;&#2599;&#2608;"/>
+   <l:gentext key="MsgOrig" text="&#2606;&#2625;&#2673;&#2594;"/>
+   <l:gentext key="msgorig" text="&#2606;&#2625;&#2673;&#2594;"/>
+   <l:gentext key="NOTE" text="&#2616;&#2626;&#2586;&#2600;&#2622;"/>
+   <l:gentext key="Note" text="&#2616;&#2626;&#2586;&#2600;&#2622;"/>
+   <l:gentext key="note" text="&#2616;&#2626;&#2586;&#2600;&#2622;"/>
+   <l:gentext key="Part" text="&#2605;&#2622;&#2583;"/>
+   <l:gentext key="part" text="&#2605;&#2622;&#2583;"/>
+   <l:gentext key="Preface" text="&#2605;&#2626;&#2606;&#2623;&#2581;&#2622;"/>
+   <l:gentext key="preface" text="&#2605;&#2626;&#2606;&#2623;&#2581;&#2622;"/>
+   <l:gentext key="Procedure" text="&#2581;&#2622;&#2608;&#2613;&#2622;&#2568;"/>
+   <l:gentext key="procedure" text="&#2581;&#2622;&#2608;&#2613;&#2622;&#2568;"/>
+   <l:gentext key="ProductionSet" text="&#2569;&#2596;&#2602;&#2622;&#2598;&#2600;"/>
+   <l:gentext key="PubDate" text="Publication Date"/>
+   <l:gentext key="pubdate" text="Publication date"/>
+   <l:gentext key="Published" text="&#2602;&#2637;&#2608;&#2581;&#2622;&#2614;&#2623;&#2596;"/>
+   <l:gentext key="published" text="&#2602;&#2637;&#2608;&#2581;&#2622;&#2614;&#2623;&#2596;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Q &amp; A"/>
+   <l:gentext key="qandadiv" text="Q &amp; A"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#2616;:"/>
+   <l:gentext key="question" text="&#2616;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#2617;&#2613;&#2622;&#2610;&#2622;"/>
+   <l:gentext key="reference" text="&#2617;&#2613;&#2622;&#2610;&#2622;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#2600;&#2622;&#2562;"/>
+   <l:gentext key="refname" text="&#2600;&#2622;&#2562;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#2582;&#2625;&#2610;&#2622;&#2616;&#2622;"/>
+   <l:gentext key="refsynopsisdiv" text="&#2582;&#2625;&#2610;&#2622;&#2616;&#2622;"/>
+   <l:gentext key="RevHistory" text="&#2616;&#2625;&#2599;&#2622;&#2568;&#2565;&#2596;&#2624;&#2596;"/>
+   <l:gentext key="revhistory" text="&#2616;&#2625;&#2599;&#2622;&#2568;&#2565;&#2596;&#2624;&#2596;"/>
+   <l:gentext key="revision" text="&#2616;&#2625;&#2599;&#2622;&#2568;"/>
+   <l:gentext key="Revision" text="&#2616;&#2625;&#2599;&#2622;&#2568;"/>
+   <l:gentext key="sect1" text="&#2617;&#2623;&#2673;&#2616;&#2622;"/>
+   <l:gentext key="sect2" text="&#2617;&#2623;&#2673;&#2616;&#2622;"/>
+   <l:gentext key="sect3" text="&#2617;&#2623;&#2673;&#2616;&#2622;"/>
+   <l:gentext key="sect4" text="&#2617;&#2623;&#2673;&#2616;&#2622;"/>
+   <l:gentext key="sect5" text="&#2617;&#2623;&#2673;&#2616;&#2622;"/>
+   <l:gentext key="section" text="&#2617;&#2623;&#2673;&#2616;&#2622;"/>
+   <l:gentext key="Section" text="&#2617;&#2623;&#2673;&#2616;&#2622;"/>
+   <l:gentext key="see" text="&#2613;&#2631;&#2582;&#2635;"/>
+   <l:gentext key="See" text="&#2613;&#2631;&#2582;&#2635;"/>
+   <l:gentext key="seealso" text="&#2567;&#2617;&#2613;&#2624;&#2613;&#2631;&#2582;&#2635;"/>
+   <l:gentext key="Seealso" text="&#2567;&#2617;&#2613;&#2624;&#2613;&#2631;&#2582;&#2635;"/>
+   <l:gentext key="SeeAlso" text="&#2567;&#2617;&#2613;&#2624;&#2613;&#2631;&#2582;&#2635;"/>
+   <l:gentext key="set" text="&#2600;&#2623;&#2608;&#2599;&#2622;&#2608;&#2623;&#2596;"/>
+   <l:gentext key="Set" text="&#2600;&#2623;&#2608;&#2599;&#2622;&#2608;&#2623;&#2596;"/>
+   <l:gentext key="setindex" text="&#2596;&#2596;&#2581;&#2608;&#2622;&#2600;&#2623;&#2608;&#2599;&#2622;&#2608;&#2600;"/>
+   <l:gentext key="SetIndex" text="&#2596;&#2596;&#2581;&#2608;&#2622;&#2600;&#2623;&#2608;&#2599;&#2622;&#2608;&#2600;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="&#2604;&#2622;&#2617;&#2624;"/>
+   <l:gentext key="step" text="&#2602;&#2650;"/>
+   <l:gentext key="Step" text="&#2602;&#2650;"/>
+   <l:gentext key="table" text="&#2616;&#2622;&#2608;&#2595;&#2624;"/>
+   <l:gentext key="Table" text="&#2616;&#2622;&#2608;&#2595;&#2624;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#2616;&#2672;&#2581;&#2631;&#2596;"/>
+   <l:gentext key="TIP" text="&#2616;&#2672;&#2581;&#2631;&#2596;"/>
+   <l:gentext key="Tip" text="&#2616;&#2672;&#2581;&#2631;&#2596;"/>
+   <l:gentext key="Warning" text="&#2616;&#2622;&#2613;&#2599;&#2622;&#2600;"/>
+   <l:gentext key="warning" text="&#2616;&#2622;&#2613;&#2599;&#2622;&#2600;"/>
+   <l:gentext key="WARNING" text="&#2616;&#2622;&#2613;&#2599;&#2622;&#2600;"/>
+   <l:gentext key="and" text="&#2565;&#2596;&#2631;"/>
+   <l:gentext key="by" text="&#2610;&#2568;"/>
+   <l:gentext key="Edited" text="&#2616;&#2672;&#2602;&#2622;&#2598;&#2600;"/>
+   <l:gentext key="edited" text="&#2616;&#2672;&#2602;&#2622;&#2598;&#2600;"/>
+   <l:gentext key="Editedby" text="&#2616;&#2672;&#2602;&#2622;&#2598;&#2600;&#2581;&#2624;&#2596;&#2622;"/>
+   <l:gentext key="editedby" text="&#2616;&#2672;&#2602;&#2622;&#2598;&#2600;&#2581;&#2624;&#2596;&#2622;"/>
+   <l:gentext key="in" text="&#2613;&#2623;&#2673;&#2586;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#2600;&#2622;-&#2606;&#2636;&#2588;&#2626;&#2598;&#2622;&#2567;&#2581;&#2622;&#2568;"/>
+   <l:gentext key="notes" text="&#2616;&#2626;&#2586;&#2600;&#2622;"/>
+   <l:gentext key="Notes" text="&#2616;&#2626;&#2586;&#2600;&#2622;"/>
+   <l:gentext key="Pgs" text="&#2616;&#2654;&#2631;"/>
+   <l:gentext key="pgs" text="&#2616;&#2654;&#2631;"/>
+   <l:gentext key="Revisedby" text="&#2616;&#2625;&#2599;&#2622;&#2568;&#2581;&#2624;&#2596;&#2624;:"/>
+   <l:gentext key="revisedby" text="&#2616;&#2625;&#2599;&#2622;&#2568;&#2581;&#2624;&#2596;&#2624;:"/>
+   <l:gentext key="TableNotes" text="&#2616;&#2626;&#2586;&#2600;&#2622;"/>
+   <l:gentext key="tablenotes" text="&#2616;&#2626;&#2586;&#2600;&#2622;"/>
+   <l:gentext key="TableofContents" text="&#2605;&#2622;&#2583;&#2616;&#2622;&#2608;&#2595;&#2624;"/>
+   <l:gentext key="tableofcontents" text="&#2605;&#2622;&#2583;&#2616;&#2622;&#2608;&#2595;&#2624;"/>
+   <l:gentext key="unexpectedelementname" text="&#2600;&#2622;-&#2610;&#2635;&#2652;&#2624;&#2598;&#2622;&#2567;&#2581;&#2622;&#2568;&#2600;&#2622;&#2562;"/>
+   <l:gentext key="unsupported" text="&#2600;&#2622;-&#2616;&#2617;&#2622;&#2567;&#2581;"/>
+   <l:gentext key="xrefto" text="xrefto"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#2616;&#2606;&#2624;&#2581;&#2608;&#2600;&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="ListofEquations" text="&#2616;&#2606;&#2624;&#2581;&#2608;&#2600;&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="ListofExamples" text="&#2569;&#2598;&#2622;&#2617;&#2608;&#2600;&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="listofexamples" text="&#2569;&#2598;&#2622;&#2617;&#2608;&#2600;&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="ListofFigures" text="&#2586;&#2623;&#2673;&#2596;&#2608;&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="listoffigures" text="&#2586;&#2623;&#2673;&#2596;&#2608;&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="ListofProcedures" text="&#2581;&#2622;&#2608;&#2613;&#2622;&#2568;&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="listofprocedures" text="&#2581;&#2622;&#2608;&#2613;&#2622;&#2568;&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="listoftables" text="&#2616;&#2622;&#2608;&#2595;&#2624;&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="ListofTables" text="&#2616;&#2622;&#2608;&#2595;&#2624;&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="ListofUnknown" text="&#2565;&#2595;&#2588;&#2622;&#2595;&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="listofunknown" text="&#2565;&#2595;&#2588;&#2622;&#2595;&#2616;&#2626;&#2586;&#2624;"/>
+   <l:gentext key="nav-home" text="&#2584;&#2608;"/>
+   <l:gentext key="nav-next" text="&#2565;&#2673;&#2583;&#2631;"/>
+   <l:gentext key="nav-next-sibling" text="&#2596;&#2631;&#2651;&#2565;&#2673;&#2583;&#2631;"/>
+   <l:gentext key="nav-prev" text="&#2602;&#2623;&#2673;&#2587;&#2631;"/>
+   <l:gentext key="nav-prev-sibling" text="&#2596;&#2631;&#2651;&#2602;&#2623;&#2673;&#2587;&#2631;"/>
+   <l:gentext key="nav-up" text="&#2569;&#2673;&#2602;&#2608;"/>
+   <l:gentext key="nav-toc" text="&#2616;&#2622;&#2608;&#2595;&#2624;"/>
+   <l:gentext key="Draft" text="&#2593;&#2608;&#2622;&#2603;&#2591;"/>
+   <l:gentext key="above" text="&#2569;&#2673;&#2602;&#2608;"/>
+   <l:gentext key="below" text="&#2617;&#2631;&#2592;&#2622;&#2562;"/>
+   <l:gentext key="sectioncalled" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631;"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#2565;&#2672;&#2596;&#2623;&#2581;&#2622;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#2565;&#2599;&#2623;&#2566;&#2567;&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#2616;&#2606;&#2624;&#2581;&#2608;&#2600;&#160;%n.&#160;%t"/>
+      <l:template name="example" text="&#2569;&#2598;&#2622;&#2617;&#2608;&#2600;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="&#2586;&#2623;&#2673;&#2596;&#2608;&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#2605;&#2622;&#2583;&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#2581;&#2622;&#2608;&#2613;&#2622;&#2568;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#2569;&#2596;&#2602;&#2622;&#2598;&#2600;&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#2616;&#2622;&#2608;&#2595;&#2624;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#2565;&#2672;&#2596;&#2623;&#2581;&#2622;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#2565;&#2599;&#2623;&#2566;&#2567;&#160;%n.&#160;%t"/>
+      <l:template name="part" text="&#2605;&#2622;&#2583;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#2588;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#2616;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#2616;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o"/>
+      <l:template name="olink.page.citation" text=" (page %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)"/>
+      <l:template name="docname" text=" in %o"/>
+      <l:template name="docnamelong" text=" in the document titled %o"/>
+      <l:template name="pageabbrev" text="(p. %p)"/>
+      <l:template name="Page" text="Page %p"/>
+      <l:template name="bridgehead" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#2588;:&#160;%n"/>
+      <l:template name="appendix" text="&#2565;&#2672;&#2596;&#2623;&#2581;&#2622;&#160;%n"/>
+      <l:template name="bridgehead" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n"/>
+      <l:template name="chapter" text="&#2565;&#2599;&#2623;&#2566;&#2567;&#160;%n"/>
+      <l:template name="equation" text="&#2616;&#2606;&#2624;&#2581;&#2608;&#2600;&#160;%n"/>
+      <l:template name="example" text="&#2569;&#2598;&#2622;&#2617;&#2608;&#2600;&#160;%n"/>
+      <l:template name="figure" text="&#2586;&#2623;&#2673;&#2596;&#2608;&#160;%n"/>
+      <l:template name="part" text="&#2605;&#2622;&#2583;&#160;%n"/>
+      <l:template name="procedure" text="&#2581;&#2622;&#2608;&#2613;&#2622;&#2568;&#160;%n"/>
+      <l:template name="productionset" text="&#2569;&#2596;&#2602;&#2622;&#2598;&#2600;&#160;%n"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+      <l:template name="qandaentry" text="&#2616;:&#160;%n"/>
+      <l:template name="question" text="&#2616;:&#160;%n"/>
+      <l:template name="sect1" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n"/>
+      <l:template name="sect2" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n"/>
+      <l:template name="sect3" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n"/>
+      <l:template name="sect4" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n"/>
+      <l:template name="sect5" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n"/>
+      <l:template name="section" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n"/>
+      <l:template name="table" text="&#2616;&#2622;&#2608;&#2595;&#2624;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#2565;&#2672;&#2596;&#2623;&#2581;&#2622;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#2565;&#2599;&#2623;&#2566;&#2567;&#160;%n, %t"/>
+      <l:template name="equation" text="&#2616;&#2606;&#2624;&#2581;&#2608;&#2600;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#2569;&#2598;&#2622;&#2617;&#2608;&#2600;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#2586;&#2623;&#2673;&#2596;&#2608;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#2605;&#2622;&#2583;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#2581;&#2622;&#2608;&#2613;&#2622;&#2568;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="&#2569;&#2596;&#2602;&#2622;&#2598;&#2600;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#2617;&#2623;&#2673;&#2616;&#2622;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#2605;&#2622;&#2583;&#2581;&#2617;&#2623;&#2672;&#2598;&#2631;&#2600;&#2631; &#8220;%t&#8221;"/>
+      <l:template name="table" text="&#2616;&#2622;&#2608;&#2595;&#2624;&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#2565;&#2596;&#2631; "/>
+      <l:template name="seplast" text=", &#2565;&#2596;&#2631; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#2613;&#2631;&#2582;&#2635; %t"/>
+      <l:template name="seealso" text="&#2567;&#2617;&#2613;&#2624;&#2613;&#2631;&#2582;&#2635; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#2602;&#2622;&#2592;&#2581;: "/>
+      <l:template name="MsgLevel" text="&#2602;&#2673;&#2599;&#2608;: "/>
+      <l:template name="MsgOrig" text="&#2606;&#2625;&#2673;&#2594;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January"/>
+      <l:template name="February" text="February"/>
+      <l:template name="March" text="March"/>
+      <l:template name="April" text="April"/>
+      <l:template name="May" text="May"/>
+      <l:template name="June" text="June"/>
+      <l:template name="July" text="July"/>
+      <l:template name="August" text="August"/>
+      <l:template name="September" text="September"/>
+      <l:template name="October" text="October"/>
+      <l:template name="November" text="November"/>
+      <l:template name="December" text="December"/>
+      <l:template name="Monday" text="Monday"/>
+      <l:template name="Tuesday" text="Tuesday"/>
+      <l:template name="Wednesday" text="Wednesday"/>
+      <l:template name="Thursday" text="Thursday"/>
+      <l:template name="Friday" text="Friday"/>
+      <l:template name="Saturday" text="Saturday"/>
+      <l:template name="Sunday" text="Sunday"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan"/>
+      <l:template name="Feb" text="Feb"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Apr"/>
+      <l:template name="May" text="May"/>
+      <l:template name="Jun" text="Jun"/>
+      <l:template name="Jul" text="Jul"/>
+      <l:template name="Aug" text="Aug"/>
+      <l:template name="Sep" text="Sep"/>
+      <l:template name="Oct" text="Oct"/>
+      <l:template name="Nov" text="Nov"/>
+      <l:template name="Dec" text="Dec"/>
+      <l:template name="Mon" text="Mon"/>
+      <l:template name="Tue" text="Tue"/>
+      <l:template name="Wed" text="Wed"/>
+      <l:template name="Thu" text="Thu"/>
+      <l:template name="Fri" text="Fri"/>
+      <l:template name="Sat" text="Sat"/>
+      <l:template name="Sun" text="Sun"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0446 Punjabi"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/pi.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/pi.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/pi.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,209 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                xmlns:date="http://exslt.org/dates-and-times"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="doc date exsl"
+                extension-element-prefixes="date exsl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: pi.xsl 5161 2005-09-09 03:58:58Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     This file contains general templates for processing processing
+     instructions common to both the HTML and FO versions of the
+     DocBook stylesheets.
+     ******************************************************************** -->
+
+<!-- Process PIs also on title pages -->
+<xsl:template match="processing-instruction()" mode="titlepage.mode">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="processing-instruction('dbtimestamp')">
+  <xsl:variable name="format">
+    <xsl:variable name="pi-format">
+      <xsl:call-template name="pi-attribute">
+        <xsl:with-param name="pis" select="."/>
+        <xsl:with-param name="attribute">format</xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:choose>
+      <xsl:when test="$pi-format != ''">
+        <xsl:value-of select="$pi-format"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="gentext.template">
+          <xsl:with-param name="context" select="'datetime'"/>
+          <xsl:with-param name="name" select="'format'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>  
+
+  <xsl:variable name="padding">
+    <xsl:variable name="pi-padding">
+      <xsl:call-template name="pi-attribute">
+        <xsl:with-param name="pis" select="."/>
+        <xsl:with-param name="attribute">padding</xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:choose>
+      <xsl:when test="$pi-padding != ''">
+        <xsl:value-of select="$pi-padding"/>
+      </xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="date">
+    <xsl:choose>
+      <xsl:when test="function-available('date:date-time')">
+        <xsl:value-of select="date:date-time()"/>
+      </xsl:when>
+      <xsl:when test="function-available('date:dateTime')">
+        <!-- Xalan quirk -->
+        <xsl:value-of select="date:dateTime()"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('date:date-time') or
+                    function-available('date:dateTime')">
+      <xsl:call-template name="datetime.format">
+        <xsl:with-param name="date" select="$date"/>
+        <xsl:with-param name="format" select="$format"/>
+        <xsl:with-param name="padding" select="$padding"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+        Timestamp processing requires XSLT processor with EXSLT date support.
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="datetime.format">
+  <xsl:param name="date"/>
+  <xsl:param name="format"/>
+  <xsl:param name="padding" select="1"/>
+  
+  <xsl:if test="$format != ''">
+    <!-- replace any whitespace in the format string with a non-breaking space -->
+    <xsl:variable name="format-nbsp"
+		  select="translate($format,
+			  '&#x20;&#x9;&#xd;&#xa;',
+			  '&#xa0;&#xa0;&#xa0;&#xa0;')"/>
+    <xsl:variable name="tokenized-format-string">
+      <xsl:call-template name="str.tokenize.keep.delimiters">
+	<xsl:with-param name="string" select="$format-nbsp"/>
+	<xsl:with-param name="delimiters" select="'&#xa0;,./-()[]:'"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set')">
+      <!-- We must preserve context node in order to get valid language -->
+      <xsl:variable name="context" select="."/>
+      <xsl:for-each select="exsl:node-set($tokenized-format-string)/node()">
+        <xsl:variable name="token">
+          <xsl:value-of select="."/>
+        </xsl:variable>
+        <!-- Restore context node -->
+        <xsl:for-each select="$context">
+          <xsl:choose>
+            <xsl:when test="$token = 'a'">
+              <xsl:call-template name="gentext.template">
+                <xsl:with-param name="context" select="'datetime-abbrev'"/>
+                <xsl:with-param name="name" select="date:day-abbreviation($date)"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$token = 'A'">
+              <xsl:call-template name="gentext.template">
+                <xsl:with-param name="context" select="'datetime-full'"/>
+                <xsl:with-param name="name" select="date:day-name($date)"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$token = 'b'">
+              <xsl:call-template name="gentext.template">
+                <xsl:with-param name="context" select="'datetime-abbrev'"/>
+                <xsl:with-param name="name" select="date:month-abbreviation($date)"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$token = 'c'">
+              <xsl:value-of select="date:date($date)"/>
+              <xsl:text> </xsl:text>
+              <xsl:value-of select="date:time($date)"/>
+            </xsl:when>
+            <xsl:when test="$token = 'B'">
+              <xsl:call-template name="gentext.template">
+                <xsl:with-param name="context" select="'datetime-full'"/>
+                <xsl:with-param name="name" select="date:month-name($date)"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$token = 'd'">
+              <xsl:if test="$padding = 1 and
+              string-length(date:day-in-month($date)) = 1">0</xsl:if>
+              <xsl:value-of select="date:day-in-month($date)"/>
+            </xsl:when>
+            <xsl:when test="$token = 'H'">
+              <xsl:if test="$padding = 1 and string-length(date:hour-in-day($date)) = 1">0</xsl:if>
+              <xsl:value-of select="date:hour-in-day($date)"/>
+            </xsl:when>
+            <xsl:when test="$token = 'j'">
+              <xsl:value-of select="date:day-in-year($date)"/>
+            </xsl:when>
+            <xsl:when test="$token = 'm'">
+              <xsl:if test="$padding = 1 and string-length(date:month-in-year($date)) = 1">0</xsl:if>
+              <xsl:value-of select="date:month-in-year($date)"/>
+            </xsl:when>
+            <xsl:when test="$token = 'M'">
+              <xsl:if test="string-length(date:minute-in-hour($date)) = 1">0</xsl:if>
+              <xsl:value-of select="date:minute-in-hour($date)"/>
+            </xsl:when>
+            <xsl:when test="$token = 'S'">
+              <xsl:if test="string-length(date:second-in-minute($date)) = 1">0</xsl:if>
+              <xsl:value-of select="date:second-in-minute($date)"/>
+            </xsl:when>
+            <xsl:when test="$token = 'U'">
+              <xsl:value-of select="date:week-in-year($date)"/>
+            </xsl:when>
+            <xsl:when test="$token = 'w'">
+              <xsl:value-of select="date:day-in-week($date)"/>
+            </xsl:when>
+            <xsl:when test="$token = 'x'">
+              <xsl:value-of select="date:date($date)"/>
+            </xsl:when>
+            <xsl:when test="$token = 'X'">
+              <xsl:value-of select="date:time($date)"/>
+            </xsl:when>
+            <xsl:when test="$token = 'Y'">
+              <xsl:value-of select="date:year($date)"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="$token"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:for-each>
+      </xsl:for-each>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+        Timestamp processing requires an XSLT processor with support
+        for the EXSLT node-set() function.
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+  </xsl:if>
+
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/common/pl.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/pl.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/pl.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pl" english-language-name="Polish">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/pl.xml -->
+<!-- * -->
+<!-- * E-mail the edited pl.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Abstrakt"/>
+   <l:gentext key="abstract" text="Abstrakt"/>
+   <l:gentext key="Answer" text="Odp:"/>
+   <l:gentext key="answer" text="Odp:"/>
+   <l:gentext key="Appendix" text="Dodatek"/>
+   <l:gentext key="appendix" text="dodatek"/>
+   <l:gentext key="Article" text="Artyku&#322;"/>
+   <l:gentext key="article" text="Artyku&#322;"/>
+   <l:gentext key="Author" text="Autor"/>
+   <l:gentext key="Bibliography" text="Bibliografia"/>
+   <l:gentext key="bibliography" text="Bibliografia"/>
+   <l:gentext key="Book" text="Ksi&#261;&#380;ka"/>
+   <l:gentext key="book" text="Ksi&#261;&#380;ka"/>
+   <l:gentext key="CAUTION" text="PRZYPADEK"/>
+   <l:gentext key="Caution" text="Uwaga!"/>
+   <l:gentext key="caution" text="Uwaga!"/>
+   <l:gentext key="Chapter" text="Rozdzia&#322;"/>
+   <l:gentext key="chapter" text="rozdzia&#322;"/>
+   <l:gentext key="Colophon" text="Colophon"/>
+   <l:gentext key="colophon" text="Colophon"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Dedykacja"/>
+   <l:gentext key="dedication" text="Dedykacja"/>
+   <l:gentext key="Edition" text="Wydanie"/>
+   <l:gentext key="edition" text="Wydanie"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="R&#243;wnanie"/>
+   <l:gentext key="equation" text="R&#243;wnanie"/>
+   <l:gentext key="Example" text="Przyk&#322;ad"/>
+   <l:gentext key="example" text="Przyk&#322;ad"/>
+   <l:gentext key="Figure" text="Rysunek"/>
+   <l:gentext key="figure" text="Rysunek"/>
+   <l:gentext key="Glossary" text="Glossary"/>
+   <l:gentext key="glossary" text="Glossary"/>
+   <l:gentext key="GlossSee" text="Patrz"/>
+   <l:gentext key="glosssee" text="Patrz"/>
+   <l:gentext key="GlossSeeAlso" text="Patrz te&#380;"/>
+   <l:gentext key="glossseealso" text="Patrz te&#380;"/>
+   <l:gentext key="IMPORTANT" text="WA&#379;NE"/>
+   <l:gentext key="important" text="WA&#379;NE"/>
+   <l:gentext key="Important" text="WA&#379;NE"/>
+   <l:gentext key="Index" text="Indeks"/>
+   <l:gentext key="index" text="Indeks"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Legal Notice"/>
+   <l:gentext key="legalnotice" text="Legal Notice"/>
+   <l:gentext key="MsgAud" text="Odbiorcy"/>
+   <l:gentext key="msgaud" text="Odbiorcy"/>
+   <l:gentext key="MsgLevel" text="Poziom"/>
+   <l:gentext key="msglevel" text="Poziom"/>
+   <l:gentext key="MsgOrig" text="Nadawca"/>
+   <l:gentext key="msgorig" text="Nadawca"/>
+   <l:gentext key="NOTE" text="Notatka"/>
+   <l:gentext key="Note" text="Notatka"/>
+   <l:gentext key="note" text="Notatka"/>
+   <l:gentext key="Part" text="Cz&#281;&#347;&#263;"/>
+   <l:gentext key="part" text="Cz&#281;&#347;&#263;"/>
+   <l:gentext key="Preface" text="Przedmowa"/>
+   <l:gentext key="preface" text="Przedmowa"/>
+   <l:gentext key="Procedure" text="Procedura"/>
+   <l:gentext key="procedure" text="Procedura"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Data wydania"/>
+   <l:gentext key="published" text="Data wydania"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Pyt i Odp"/>
+   <l:gentext key="qandadiv" text="Pyt i Odp"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Pyt:"/>
+   <l:gentext key="question" text="Pyt:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Materia&#322;y &#378;r&#243;d&#322;owe"/>
+   <l:gentext key="reference" text="Materia&#322;y &#378;r&#243;d&#322;owe"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Nazwa"/>
+   <l:gentext key="refname" text="Nazwa"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Sk&#322;adnia"/>
+   <l:gentext key="refsynopsisdiv" text="Sk&#322;adnia"/>
+   <l:gentext key="RevHistory" text="Historia zmian"/>
+   <l:gentext key="revhistory" text="Historia zmian"/>
+   <l:gentext key="revision" text="Zmiana"/>
+   <l:gentext key="Revision" text="Zmiana"/>
+   <l:gentext key="sect1" text="Section"/>
+   <l:gentext key="sect2" text="Section"/>
+   <l:gentext key="sect3" text="Section"/>
+   <l:gentext key="sect4" text="Section"/>
+   <l:gentext key="sect5" text="Section"/>
+   <l:gentext key="section" text="sekcja"/>
+   <l:gentext key="Section" text="Sekcja"/>
+   <l:gentext key="see" text="Patrz"/>
+   <l:gentext key="See" text="Patrz"/>
+   <l:gentext key="seealso" text="Patrz te&#380;"/>
+   <l:gentext key="Seealso" text="Patrz te&#380;"/>
+   <l:gentext key="SeeAlso" text="Patrz te&#380;"/>
+   <l:gentext key="set" text="Set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Indeks"/>
+   <l:gentext key="SetIndex" text="Indeks"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="krok"/>
+   <l:gentext key="Step" text="krok"/>
+   <l:gentext key="table" text="Tabela"/>
+   <l:gentext key="Table" text="Tabela"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Podpowied&#378;"/>
+   <l:gentext key="TIP" text="Podpowied&#378;"/>
+   <l:gentext key="Tip" text="Podpowied&#378;"/>
+   <l:gentext key="Warning" text="Ostrze&#380;enie"/>
+   <l:gentext key="warning" text="Ostrze&#380;enie"/>
+   <l:gentext key="WARNING" text="Ostrze&#380;enie"/>
+   <l:gentext key="and" text="i"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="Edited"/>
+   <l:gentext key="edited" text="Edited"/>
+   <l:gentext key="Editedby" text="Redakcja: "/>
+   <l:gentext key="editedby" text="Redakcja: "/>
+   <l:gentext key="in" text="w"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="nie istniej&#261;cy element"/>
+   <l:gentext key="notes" text="Przypisy"/>
+   <l:gentext key="Notes" text="Przypisy"/>
+   <l:gentext key="Pgs" text="stron"/>
+   <l:gentext key="pgs" text="stron"/>
+   <l:gentext key="Revisedby" text="Revised by: "/>
+   <l:gentext key="revisedby" text="Revised by: "/>
+   <l:gentext key="TableNotes" text="Przypisy"/>
+   <l:gentext key="tablenotes" text="Przypisy"/>
+   <l:gentext key="TableofContents" text="Spis tre&#347;ci"/>
+   <l:gentext key="tableofcontents" text="Spis tre&#347;ci"/>
+   <l:gentext key="unexpectedelementname" text="Unexpected element name"/>
+   <l:gentext key="unsupported" text="nie wspierany"/>
+   <l:gentext key="xrefto" text="xref to"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Spis r&#243;wna&#324;"/>
+   <l:gentext key="ListofEquations" text="Spis r&#243;wna&#324;"/>
+   <l:gentext key="ListofExamples" text="Spis przyk&#322;ad&#243;w"/>
+   <l:gentext key="listofexamples" text="Spis przyk&#322;ad&#243;w"/>
+   <l:gentext key="ListofFigures" text="Spis rysunk&#243;w"/>
+   <l:gentext key="listoffigures" text="Spis rysunk&#243;w"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Spis tabel"/>
+   <l:gentext key="ListofTables" text="Spis tabel"/>
+   <l:gentext key="ListofUnknown" text="Spis ???"/>
+   <l:gentext key="listofunknown" text="Spis ???"/>
+   <l:gentext key="nav-home" text="Spis tre&#347;ci"/>
+   <l:gentext key="nav-next" text="Nast&#281;pny"/>
+   <l:gentext key="nav-next-sibling" text="Nast&#281;pny rozdzia&#322;"/>
+   <l:gentext key="nav-prev" text="Poprzedni"/>
+   <l:gentext key="nav-prev-sibling" text="Poprzedni rozdzia&#322;"/>
+   <l:gentext key="nav-up" text="Pocz&#261;tek rozdzia&#322;u"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="a&#261;bc&#263;de&#281;fghijkl&#322;mn&#324;o&#242;pqrs&#347;tuvwxyz&#378;&#380;"/>
+   <l:gentext key="uppercase.alpha" text="A&#260;BC&#262;DE&#280;FGHIJKL&#321;MN&#323;O&#210;PQRS&#346;TUVWXYZ&#377;&#379;"/>
+   <l:dingbat key="startquote" text="&#8222;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#171;"/>
+   <l:dingbat key="nestedendquote" text="&#187;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#2022;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Dodatek %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Rozdzia&#322; %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="R&#243;wnanie %n. %t"/>
+      <l:template name="example" text="Przyk&#322;ad %n. %t"/>
+      <l:template name="figure" text="Rysunek %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Cz&#281;&#347;&#263; %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Procedura&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabela %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Dodatek %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="Rozdzia&#322; %n. %t"/>
+      <l:template name="part" text="Cz&#281;&#347;&#263;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="Odp:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Pyt:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Pyt:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8222;%t&#8221;"/>
+      <l:template name="refsection" text="&#8222;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8222;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8222;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8222;%t&#8221;"/>
+      <l:template name="sect1" text="&#8222;%t&#8221;"/>
+      <l:template name="sect2" text="&#8222;%t&#8221;"/>
+      <l:template name="sect3" text="&#8222;%t&#8221;"/>
+      <l:template name="sect4" text="&#8222;%t&#8221;"/>
+      <l:template name="sect5" text="&#8222;%t&#8221;"/>
+      <l:template name="section" text="&#8222;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8222;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="Odp:&#160;%n"/>
+      <l:template name="appendix" text="Dodatek&#160;%n"/>
+      <l:template name="bridgehead" text="Sekcja&#160;%n"/>
+      <l:template name="chapter" text="Rozdzia&#322;&#160;%n"/>
+      <l:template name="equation" text="R&#243;wnanie&#160;%n"/>
+      <l:template name="example" text="Przyk&#322;ad&#160;%n"/>
+      <l:template name="figure" text="Rysunek&#160;%n"/>
+      <l:template name="part" text="Cz&#281;&#347;&#263;&#160;%n"/>
+      <l:template name="procedure" text="Procedura&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="Pyt i Odp&#160;%n"/>
+      <l:template name="qandaentry" text="Pyt:&#160;%n"/>
+      <l:template name="question" text="Pyt:&#160;%n"/>
+      <l:template name="sect1" text="Sekcja&#160;%n"/>
+      <l:template name="sect2" text="Sekcja&#160;%n"/>
+      <l:template name="sect3" text="Sekcja&#160;%n"/>
+      <l:template name="sect4" text="Sekcja&#160;%n"/>
+      <l:template name="sect5" text="Sekcja&#160;%n"/>
+      <l:template name="section" text="Sekcja&#160;%n"/>
+      <l:template name="table" text="Tabela&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Dodatek&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="chapter" text="Rozdzia&#322;&#160;%n, %t"/>
+      <l:template name="equation" text="R&#243;wnanie&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="example" text="Przyk&#322;ad&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="figure" text="Rysunek&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="part" text="Cz&#281;&#347;&#263;&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="procedure" text="Procedura&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="qandadiv" text="Pyt i Odp&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8222;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8222;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8222;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8222;%t&#8221;"/>
+      <l:template name="sect1" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="sect2" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="sect3" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="sect4" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="sect5" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="section" text="Sekcja&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8222;%t&#8221;"/>
+      <l:template name="table" text="Tabela&#160;%n, &#8222;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" i "/>
+      <l:template name="seplast" text=", i "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Patrz %t"/>
+      <l:template name="seealso" text="Patrz te&#380; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Odbiorcy: "/>
+      <l:template name="MsgLevel" text="Poziom: "/>
+      <l:template name="MsgOrig" text="Nadawca: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0415 Polish"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/pt.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/pt.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/pt.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pt" english-language-name="Portuguese">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/pt.xml -->
+<!-- * -->
+<!-- * E-mail the edited pt.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Resumo"/>
+   <l:gentext key="abstract" text="Resumo"/>
+   <l:gentext key="Answer" text="R:"/>
+   <l:gentext key="answer" text="R:"/>
+   <l:gentext key="Appendix" text="Ap&#234;ndice"/>
+   <l:gentext key="appendix" text="ap&#234;ndice"/>
+   <l:gentext key="Article" text="Artigo"/>
+   <l:gentext key="article" text="Artigo"/>
+   <l:gentext key="Author" text="Autor"/>
+   <l:gentext key="Bibliography" text="Bibliografia"/>
+   <l:gentext key="bibliography" text="Bibliografia"/>
+   <l:gentext key="Book" text="Livro"/>
+   <l:gentext key="book" text="Livro"/>
+   <l:gentext key="CAUTION" text="CUIDADO"/>
+   <l:gentext key="Caution" text="Cuidado"/>
+   <l:gentext key="caution" text="Cuidado"/>
+   <l:gentext key="Chapter" text="Cap&#237;tulo"/>
+   <l:gentext key="chapter" text="cap&#237;tulo"/>
+   <l:gentext key="Colophon" text="Ficha T&#233;cnica"/>
+   <l:gentext key="colophon" text="Ficha T&#233;cnica"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Dedicat&#243;ria"/>
+   <l:gentext key="dedication" text="Dedicat&#243;ria"/>
+   <l:gentext key="Edition" text="Edi&#231;&#227;o"/>
+   <l:gentext key="edition" text="Edi&#231;&#227;o"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Equa&#231;&#227;o"/>
+   <l:gentext key="equation" text="Equa&#231;&#227;o"/>
+   <l:gentext key="Example" text="Exemplo"/>
+   <l:gentext key="example" text="Exemplo"/>
+   <l:gentext key="Figure" text="Figura"/>
+   <l:gentext key="figure" text="Figura"/>
+   <l:gentext key="Glossary" text="Gloss&#225;rio"/>
+   <l:gentext key="glossary" text="Gloss&#225;rio"/>
+   <l:gentext key="GlossSee" text="Ver"/>
+   <l:gentext key="glosssee" text="Ver"/>
+   <l:gentext key="GlossSeeAlso" text="Ver Tamb&#233;m"/>
+   <l:gentext key="glossseealso" text="Ver Tamb&#233;m"/>
+   <l:gentext key="IMPORTANT" text="IMPORTANTE"/>
+   <l:gentext key="important" text="Importante"/>
+   <l:gentext key="Important" text="Importante"/>
+   <l:gentext key="Index" text="&#205;ndice Remissivo"/>
+   <l:gentext key="index" text="&#205;ndice Remissivo"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Aviso Legal"/>
+   <l:gentext key="legalnotice" text="Aviso Legal"/>
+   <l:gentext key="MsgAud" text="Audi&#234;ncia"/>
+   <l:gentext key="msgaud" text="Audi&#234;ncia"/>
+   <l:gentext key="MsgLevel" text="N&#237;vel"/>
+   <l:gentext key="msglevel" text="N&#237;vel"/>
+   <l:gentext key="MsgOrig" text="Origem"/>
+   <l:gentext key="msgorig" text="Origem"/>
+   <l:gentext key="NOTE" text="NOTA"/>
+   <l:gentext key="Note" text="Nota"/>
+   <l:gentext key="note" text="Nota"/>
+   <l:gentext key="Part" text="Parte"/>
+   <l:gentext key="part" text="Parte"/>
+   <l:gentext key="Preface" text="Pref&#225;cio"/>
+   <l:gentext key="preface" text="Pref&#225;cio"/>
+   <l:gentext key="Procedure" text="Procedimento"/>
+   <l:gentext key="procedure" text="Procedimento"/>
+   <l:gentext key="ProductionSet" text="Produ&#231;&#227;o"/>
+   <l:gentext key="PubDate" text="Editado"/>
+   <l:gentext key="pubdate" text="Editado"/>
+   <l:gentext key="Published" text="Publicado"/>
+   <l:gentext key="published" text="Publicado"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="P &amp; R"/>
+   <l:gentext key="qandadiv" text="P &amp; R"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="P:"/>
+   <l:gentext key="question" text="P:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Refer&#234;ncia"/>
+   <l:gentext key="reference" text="Refer&#234;ncia"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Nome"/>
+   <l:gentext key="refname" text="Nome"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Sinopse"/>
+   <l:gentext key="refsynopsisdiv" text="Sinopse"/>
+   <l:gentext key="RevHistory" text="Historial de Revis&#245;es"/>
+   <l:gentext key="revhistory" text="Historial de Revis&#245;es"/>
+   <l:gentext key="revision" text="Revis&#227;o"/>
+   <l:gentext key="Revision" text="Revis&#227;o"/>
+   <l:gentext key="sect1" text="Sec&#231;&#227;o"/>
+   <l:gentext key="sect2" text="Sec&#231;&#227;o"/>
+   <l:gentext key="sect3" text="Sec&#231;&#227;o"/>
+   <l:gentext key="sect4" text="Sec&#231;&#227;o"/>
+   <l:gentext key="sect5" text="Sec&#231;&#227;o"/>
+   <l:gentext key="section" text="sec&#231;&#227;o"/>
+   <l:gentext key="Section" text="Sec&#231;&#227;o"/>
+   <l:gentext key="see" text="Ver"/>
+   <l:gentext key="See" text="Ver"/>
+   <l:gentext key="seealso" text="Ver Tamb&#233;m"/>
+   <l:gentext key="Seealso" text="ver tamb&#233;m"/>
+   <l:gentext key="SeeAlso" text="Ver Tamb&#233;m"/>
+   <l:gentext key="set" text="Conjunto"/>
+   <l:gentext key="Set" text="Conjunto"/>
+   <l:gentext key="setindex" text="&#205;ndice de Conjuntos"/>
+   <l:gentext key="SetIndex" text="&#205;ndice de Conjuntos"/>
+   <l:gentext key="Sidebar" text="Barra Lateral"/>
+   <l:gentext key="sidebar" text="barra lateral"/>
+   <l:gentext key="step" text="passo"/>
+   <l:gentext key="Step" text="Passo"/>
+   <l:gentext key="table" text="Tabela"/>
+   <l:gentext key="Table" text="Tabela"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Dica"/>
+   <l:gentext key="TIP" text="DICA"/>
+   <l:gentext key="Tip" text="Dica"/>
+   <l:gentext key="Warning" text="Aten&#231;&#227;o"/>
+   <l:gentext key="warning" text="Aten&#231;&#227;o"/>
+   <l:gentext key="WARNING" text="ATEN&#199;&#195;O"/>
+   <l:gentext key="and" text="e"/>
+   <l:gentext key="by" text="por"/>
+   <l:gentext key="Edited" text="Editado"/>
+   <l:gentext key="edited" text="Editado"/>
+   <l:gentext key="Editedby" text="Editado por"/>
+   <l:gentext key="editedby" text="Editado por"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="elemento n&#227;o existente"/>
+   <l:gentext key="notes" text="Notas"/>
+   <l:gentext key="Notes" text="Notas"/>
+   <l:gentext key="Pgs" text="P&#225;ginas"/>
+   <l:gentext key="pgs" text="P&#225;ginas"/>
+   <l:gentext key="Revisedby" text="Revisto por: "/>
+   <l:gentext key="revisedby" text="Revisto por: "/>
+   <l:gentext key="TableNotes" text="Notas"/>
+   <l:gentext key="tablenotes" text="Notas"/>
+   <l:gentext key="TableofContents" text="&#205;ndice"/>
+   <l:gentext key="tableofcontents" text="&#205;ndice"/>
+   <l:gentext key="unexpectedelementname" text="Nome de elemento inesperado"/>
+   <l:gentext key="unsupported" text="n&#227;o suportado"/>
+   <l:gentext key="xrefto" text="refer&#234;ncia cruzada para"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Lista de Equa&#231;&#245;es"/>
+   <l:gentext key="ListofEquations" text="Lista de Equa&#231;&#245;es"/>
+   <l:gentext key="ListofExamples" text="Lista de Exemplos"/>
+   <l:gentext key="listofexamples" text="Lista de Exemplos"/>
+   <l:gentext key="ListofFigures" text="Lista de Figuras"/>
+   <l:gentext key="listoffigures" text="Lista de Figuras"/>
+   <l:gentext key="ListofProcedures" text="Lista de Procedimentos"/>
+   <l:gentext key="listofprocedures" text="Lista de Procedimentos"/>
+   <l:gentext key="listoftables" text="Lista de Tabelas"/>
+   <l:gentext key="ListofTables" text="Lista de Tabelas"/>
+   <l:gentext key="ListofUnknown" text="Lista de Desconhecido"/>
+   <l:gentext key="listofunknown" text="Lista de Desconhecido"/>
+   <l:gentext key="nav-home" text="In&#237;cio"/>
+   <l:gentext key="nav-next" text="Pr&#243;ximo"/>
+   <l:gentext key="nav-next-sibling" text="Pr&#243;xima Parte"/>
+   <l:gentext key="nav-prev" text="Anterior"/>
+   <l:gentext key="nav-prev-sibling" text="Parte Anterior"/>
+   <l:gentext key="nav-up" text="Subir"/>
+   <l:gentext key="nav-toc" text="&#205;ndice"/>
+   <l:gentext key="Draft" text="Rascunho"/>
+   <l:gentext key="above" text="acima"/>
+   <l:gentext key="below" text="abaixo"/>
+   <l:gentext key="sectioncalled" text="a sec&#231;&#227;o chamada"/>
+   <l:gentext key="index symbols" text="S&#237;mbolos"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Ap&#234;ndice %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Cap&#237;tulo %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Equa&#231;&#227;o %n. %t"/>
+      <l:template name="example" text="Exemplo %n. %t"/>
+      <l:template name="figure" text="Figura %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Parte %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Procedimento&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Produ&#231;&#227;o&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Pergunta %n"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabela %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Ap&#234;ndice %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="Cap&#237;tulo %n. %t"/>
+      <l:template name="part" text="Parte&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="R:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="P:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="P:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="R:&#160;%n"/>
+      <l:template name="appendix" text="Ap&#234;ndice&#160;%n"/>
+      <l:template name="bridgehead" text="Sec&#231;&#227;o&#160;%n"/>
+      <l:template name="chapter" text="Cap&#237;tulo&#160;%n"/>
+      <l:template name="equation" text="Equa&#231;&#227;o&#160;%n"/>
+      <l:template name="example" text="Exemplo&#160;%n"/>
+      <l:template name="figure" text="Figura&#160;%n"/>
+      <l:template name="part" text="Parte&#160;%n"/>
+      <l:template name="procedure" text="Procedimento&#160;%n"/>
+      <l:template name="productionset" text="Produ&#231;&#227;o&#160;%n"/>
+      <l:template name="qandadiv" text="P &amp; R&#160;%n"/>
+      <l:template name="qandaentry" text="P:&#160;%n"/>
+      <l:template name="question" text="P:&#160;%n"/>
+      <l:template name="sect1" text="Sec&#231;&#227;o&#160;%n"/>
+      <l:template name="sect2" text="Sec&#231;&#227;o&#160;%n"/>
+      <l:template name="sect3" text="Sec&#231;&#227;o&#160;%n"/>
+      <l:template name="sect4" text="Sec&#231;&#227;o&#160;%n"/>
+      <l:template name="sect5" text="Sec&#231;&#227;o&#160;%n"/>
+      <l:template name="section" text="Sec&#231;&#227;o&#160;%n"/>
+      <l:template name="table" text="Tabela&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Ap&#234;ndice&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Cap&#237;tulo&#160;%n, %t"/>
+      <l:template name="equation" text="Equa&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Exemplo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Figura&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Parte&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Procedimento&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Produ&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="P &amp; R&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="a sec&#231;&#227;o chamada &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="a sec&#231;&#227;o chamada &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="a sec&#231;&#227;o chamada &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="a sec&#231;&#227;o chamada &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Sec&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="a sec&#231;&#227;o chamada &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabela&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" e "/>
+      <l:template name="seplast" text=" e "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Ver %t"/>
+      <l:template name="seealso" text="Ver Tamb&#233;m %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Audi&#234;ncia: "/>
+      <l:template name="MsgLevel" text="N&#237;vel: "/>
+      <l:template name="MsgOrig" text="Origem: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0816 Portuguese (PORTUGAL)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/pt_br.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/pt_br.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/pt_br.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pt_br" english-language-name="Portuguese (Brazil)">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/pt_br.xml -->
+<!-- * -->
+<!-- * E-mail the edited pt_br.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Resumo"/>
+   <l:gentext key="abstract" text="Resumo"/>
+   <l:gentext key="Answer" text="R:"/>
+   <l:gentext key="answer" text="R:"/>
+   <l:gentext key="Appendix" text="Ap&#234;ndice"/>
+   <l:gentext key="appendix" text="ap&#234;ndice"/>
+   <l:gentext key="Article" text="Artigo"/>
+   <l:gentext key="article" text="Artigo"/>
+   <l:gentext key="Author" text="Autor"/>
+   <l:gentext key="Bibliography" text="Bibliografia"/>
+   <l:gentext key="bibliography" text="Bibliografia"/>
+   <l:gentext key="Book" text="Livro"/>
+   <l:gentext key="book" text="Livro"/>
+   <l:gentext key="CAUTION" text="CUIDADO"/>
+   <l:gentext key="Caution" text="Cuidado"/>
+   <l:gentext key="caution" text="Cuidado"/>
+   <l:gentext key="Chapter" text="Cap&#237;tulo"/>
+   <l:gentext key="chapter" text="cap&#237;tulo"/>
+   <l:gentext key="Colophon" text="Considera&#231;&#245;es finais"/>
+   <l:gentext key="colophon" text="Considera&#231;&#245;es finais"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Dedicat&#243;ria"/>
+   <l:gentext key="dedication" text="Dedicat&#243;ria"/>
+   <l:gentext key="Edition" text="Edi&#231;&#227;o"/>
+   <l:gentext key="edition" text="Edi&#231;&#227;o"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Equa&#231;&#227;o"/>
+   <l:gentext key="equation" text="Equa&#231;&#227;o"/>
+   <l:gentext key="Example" text="Exemplo"/>
+   <l:gentext key="example" text="Exemplo"/>
+   <l:gentext key="Figure" text="Figura"/>
+   <l:gentext key="figure" text="Figura"/>
+   <l:gentext key="Glossary" text="Gloss&#225;rio"/>
+   <l:gentext key="glossary" text="Gloss&#225;rio"/>
+   <l:gentext key="GlossSee" text="Ver"/>
+   <l:gentext key="glosssee" text="Ver"/>
+   <l:gentext key="GlossSeeAlso" text="Ver Tamb&#233;m"/>
+   <l:gentext key="glossseealso" text="Ver Tamb&#233;m"/>
+   <l:gentext key="IMPORTANT" text="IMPORTANTE"/>
+   <l:gentext key="important" text="Importante"/>
+   <l:gentext key="Important" text="Importante"/>
+   <l:gentext key="Index" text="&#205;ndice Remissivo"/>
+   <l:gentext key="index" text="&#205;ndice Remissivo"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Nota Legal"/>
+   <l:gentext key="legalnotice" text="Nota Legal"/>
+   <l:gentext key="MsgAud" text="Audi&#234;ncia"/>
+   <l:gentext key="msgaud" text="Audi&#234;ncia"/>
+   <l:gentext key="MsgLevel" text="N&#237;vel"/>
+   <l:gentext key="msglevel" text="N&#237;vel"/>
+   <l:gentext key="MsgOrig" text="Origem"/>
+   <l:gentext key="msgorig" text="Origem"/>
+   <l:gentext key="NOTE" text="NOTA"/>
+   <l:gentext key="Note" text="Nota"/>
+   <l:gentext key="note" text="Nota"/>
+   <l:gentext key="Part" text="Parte"/>
+   <l:gentext key="part" text="Parte"/>
+   <l:gentext key="Preface" text="Pref&#225;cio"/>
+   <l:gentext key="preface" text="Pref&#225;cio"/>
+   <l:gentext key="Procedure" text="Procedimento"/>
+   <l:gentext key="procedure" text="Procedimento"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Data de Publica&#231;&#227;o"/>
+   <l:gentext key="pubdate" text="Data de Publica&#231;&#227;o"/>
+   <l:gentext key="Published" text="Publicado"/>
+   <l:gentext key="published" text="Publicado"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="P &amp; R"/>
+   <l:gentext key="qandadiv" text="P &amp; R"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="P:"/>
+   <l:gentext key="question" text="P:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Refer&#234;ncia"/>
+   <l:gentext key="reference" text="Refer&#234;ncia"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Nome"/>
+   <l:gentext key="refname" text="Nome"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Sinopse"/>
+   <l:gentext key="refsynopsisdiv" text="Sinopse"/>
+   <l:gentext key="RevHistory" text="Hist&#243;rico de Revis&#245;es"/>
+   <l:gentext key="revhistory" text="Hist&#243;rico de Revis&#245;es"/>
+   <l:gentext key="revision" text="Revis&#227;o"/>
+   <l:gentext key="Revision" text="Revis&#227;o"/>
+   <l:gentext key="sect1" text="Section"/>
+   <l:gentext key="sect2" text="Section"/>
+   <l:gentext key="sect3" text="Section"/>
+   <l:gentext key="sect4" text="Section"/>
+   <l:gentext key="sect5" text="Section"/>
+   <l:gentext key="section" text="se&#231;&#227;o"/>
+   <l:gentext key="Section" text="Se&#231;&#227;o"/>
+   <l:gentext key="see" text="Ver"/>
+   <l:gentext key="See" text="Ver"/>
+   <l:gentext key="seealso" text="Ver Tamb&#233;m"/>
+   <l:gentext key="Seealso" text="ver tamb&#233;m"/>
+   <l:gentext key="SeeAlso" text="Ver Tamb&#233;m"/>
+   <l:gentext key="set" text="Conjunto"/>
+   <l:gentext key="Set" text="Conjunto"/>
+   <l:gentext key="setindex" text="&#205;ndice do Conjunto"/>
+   <l:gentext key="SetIndex" text="&#205;ndice do Conjunto"/>
+   <l:gentext key="Sidebar" text="Quadro Lateral"/>
+   <l:gentext key="sidebar" text="quadro lateral"/>
+   <l:gentext key="step" text="passo"/>
+   <l:gentext key="Step" text="Passo"/>
+   <l:gentext key="table" text="Tabela"/>
+   <l:gentext key="Table" text="Tabela"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Dica"/>
+   <l:gentext key="TIP" text="DICA"/>
+   <l:gentext key="Tip" text="Dica"/>
+   <l:gentext key="Warning" text="Aten&#231;&#227;o"/>
+   <l:gentext key="warning" text="Aten&#231;&#227;o"/>
+   <l:gentext key="WARNING" text="ATEN&#199;&#195;O"/>
+   <l:gentext key="and" text="e"/>
+   <l:gentext key="by" text="por"/>
+   <l:gentext key="Edited" text="Editado"/>
+   <l:gentext key="edited" text="Editado"/>
+   <l:gentext key="Editedby" text="Editado por"/>
+   <l:gentext key="editedby" text="Editado por"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="elemento inexistente"/>
+   <l:gentext key="notes" text="Notas"/>
+   <l:gentext key="Notes" text="Notas"/>
+   <l:gentext key="Pgs" text="P&#225;ginas"/>
+   <l:gentext key="pgs" text="P&#225;ginas"/>
+   <l:gentext key="Revisedby" text="Revisado por: "/>
+   <l:gentext key="revisedby" text="Revisado por: "/>
+   <l:gentext key="TableNotes" text="Notas"/>
+   <l:gentext key="tablenotes" text="Notas"/>
+   <l:gentext key="TableofContents" text="&#205;ndice"/>
+   <l:gentext key="tableofcontents" text="&#205;ndice"/>
+   <l:gentext key="unexpectedelementname" text="Nome de elemento inesperado"/>
+   <l:gentext key="unsupported" text="n&#227;o suportado"/>
+   <l:gentext key="xrefto" text="refer&#234;ncia para"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Lista de Equa&#231;&#245;es"/>
+   <l:gentext key="ListofEquations" text="Lista de Equa&#231;&#245;es"/>
+   <l:gentext key="ListofExamples" text="Lista de Exemplos"/>
+   <l:gentext key="listofexamples" text="Lista de Exemplos"/>
+   <l:gentext key="ListofFigures" text="Lista de Figuras"/>
+   <l:gentext key="listoffigures" text="Lista de Figuras"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Lista de Tabelas"/>
+   <l:gentext key="ListofTables" text="Lista de Tabelas"/>
+   <l:gentext key="ListofUnknown" text="Lista de ???"/>
+   <l:gentext key="listofunknown" text="Lista de ???"/>
+   <l:gentext key="nav-home" text="Principal"/>
+   <l:gentext key="nav-next" text="Pr&#243;xima"/>
+   <l:gentext key="nav-next-sibling" text="Fim"/>
+   <l:gentext key="nav-prev" text="Anterior"/>
+   <l:gentext key="nav-prev-sibling" text="In&#237;cio"/>
+   <l:gentext key="nav-up" text="Acima"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Ap&#234;ndice %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Cap&#237;tulo %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Equa&#231;&#227;o %n. %t"/>
+      <l:template name="example" text="Exemplo %n. %t"/>
+      <l:template name="figure" text="Figura %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Parte %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Procedimento&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t" lang="en"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabela %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Ap&#234;ndice %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="Cap&#237;tulo %n. %t"/>
+      <l:template name="part" text="Parte&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s" lang="en"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="R:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="P:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="P:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="R:&#160;%n"/>
+      <l:template name="appendix" text="Ap&#234;ndice&#160;%n"/>
+      <l:template name="bridgehead" text="Se&#231;&#227;o&#160;%n"/>
+      <l:template name="chapter" text="Cap&#237;tulo&#160;%n"/>
+      <l:template name="equation" text="Equa&#231;&#227;o&#160;%n"/>
+      <l:template name="example" text="Exemplo&#160;%n"/>
+      <l:template name="figure" text="Figura&#160;%n"/>
+      <l:template name="part" text="Parte&#160;%n"/>
+      <l:template name="procedure" text="Procedimento&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="P &amp; R&#160;%n"/>
+      <l:template name="qandaentry" text="P:&#160;%n"/>
+      <l:template name="question" text="P:&#160;%n"/>
+      <l:template name="sect1" text="Se&#231;&#227;o&#160;%n"/>
+      <l:template name="sect2" text="Se&#231;&#227;o&#160;%n"/>
+      <l:template name="sect3" text="Se&#231;&#227;o&#160;%n"/>
+      <l:template name="sect4" text="Se&#231;&#227;o&#160;%n"/>
+      <l:template name="sect5" text="Se&#231;&#227;o&#160;%n"/>
+      <l:template name="section" text="Se&#231;&#227;o&#160;%n"/>
+      <l:template name="table" text="Tabela&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Ap&#234;ndice&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Cap&#237;tulo&#160;%n, %t"/>
+      <l:template name="equation" text="Equa&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Exemplo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Figura&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Parte&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Procedimento&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="P &amp; R&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Se&#231;&#227;o&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabela&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" e "/>
+      <l:template name="seplast" text=", e "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Ver %t"/>
+      <l:template name="seealso" text="Ver Tamb&#233;m %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Audi&#234;ncia: "/>
+      <l:template name="MsgLevel" text="N&#237;vel: "/>
+      <l:template name="MsgOrig" text="Origem: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0416 Portuguese (BRAZIL)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/refentry.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/refentry.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/refentry.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1276 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                xmlns:date="http://exslt.org/dates-and-times"
+                exclude-result-prefixes="doc date"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: refentry.xsl 6243 2006-09-02 04:54:17Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<doc:reference xmlns="">
+  <referenceinfo>
+    <releaseinfo role="meta">
+      $Id: refentry.xsl 6243 2006-09-02 04:54:17Z xmldoc $
+    </releaseinfo>
+    <corpauthor>The DocBook Project</corpauthor>
+    <copyright><year>2005</year>
+    <holder>The DocBook Project</holder>
+    </copyright>
+  </referenceinfo>
+  <title>Refentry Metadata-Gathering Template Reference</title>
+
+  <partintro id="partintro">
+    <title>Introduction</title>
+
+    <para>This is technical reference documentation for the "refentry
+    metadata gathering" templates in the DocBook XSL Stylesheets.</para>
+
+    <para>This is not intended to be user documentation. It is provided
+    for developers writing customization layers for the
+    stylesheets.</para>
+
+    <note>
+      <para>Currently, only the manpages stylesheets make use of these
+      templates. They are, however, potentially useful elsewhere.</para>
+    </note>
+
+  </partintro>
+
+</doc:reference>
+
+<!-- ==================================================================== -->
+
+<doc:template name="get.refentry.metadata" xmlns="">
+  <refpurpose>Gathers metadata from a refentry and its ancestors</refpurpose>
+
+  <refdescription>
+    <para>Reference documentation for particular commands, functions,
+    etc., is sometimes viewed in isolation from its greater "context". For
+    example, users view Unix man pages as, well, individual pages, not as
+    part of a "book" of some kind. Therefore, it is sometimes necessary to
+    embed "context" information in output for each <sgmltag>refentry</sgmltag>.</para>
+
+    <para>However, one problem is that different users mark up that
+    context information in different ways. Often (usually), the
+    context information is not actually part of the content of the
+    <sgmltag>refentry</sgmltag> itself, but instead part of the content of a
+    parent or ancestor element to the the <sgmltag>refentry</sgmltag>. And
+    even then, DocBook provides a variety of elements that users might
+    potentially use to mark up the same kind of information. One user
+    might use the <sgmltag>productnumber</sgmltag> element to mark up version
+    information about a particular product, while another might use
+    the <sgmltag>releaseinfo</sgmltag> element.</para>
+
+    <para>Taking all that in mind, the
+    <function>get.refentry.metadata</function> function tries to gather
+    metadata from a <sgmltag>refentry</sgmltag> element and its ancestor
+    elements in an intelligent and user-configurable way. The basic
+    mechanism used in the XPath expressions throughout this stylesheet
+    is to select the relevant metadata from the *info element that is
+    closest to the actual <sgmltag>refentry</sgmltag>&#160;– either on the
+    <sgmltag>refentry</sgmltag> itself, or on its nearest ancestor.</para>
+
+    <note>
+      <para>The <function>get.refentry.metadata</function> function is
+      actually just sort of a "driver" function; it calls other
+      functions that do the actual data collection, then returns the
+      data as a set.</para>
+    </note>
+
+  </refdescription>
+
+  <refparameter>
+    <variablelist>
+      <varlistentry>
+        <term>refname</term>
+        <listitem>
+          <para>The first <sgmltag>refname</sgmltag> in the refentry</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>info</term>
+        <listitem>
+          <para>A set of info nodes (from a <sgmltag>refentry</sgmltag>
+          element and its ancestors)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>prefs</term>
+        <listitem>
+          <para>A node containing user preferences (from global
+          stylesheet parameters)</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+
+  <refreturn>
+    <para>Returns a node set with the following elements. The
+    descriptions are verbatim from the <literal>man(7)</literal> man
+    page.
+    <variablelist>
+      <varlistentry>
+        <term>title</term>
+        <listitem>
+          <para>the title of the man page (e.g., <literal>MAN</literal>)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>section</term>
+        <listitem>
+          <para>the section number the man page should be placed in (e.g.,
+          <literal>7</literal>)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>date</term>
+        <listitem>
+          <para>the date of the last revision</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>source</term>
+        <listitem>
+          <para>the source of the command</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>manual</term>
+        <listitem>
+          <para>the title of the manual (e.g., <citetitle>Linux
+          Programmer's Manual</citetitle>)</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+    </para>
+  </refreturn>
+</doc:template>
+
+<xsl:template name="get.refentry.metadata">
+  <xsl:param name="refname"/>
+  <xsl:param name="info"/>
+  <xsl:param name="prefs"/>
+  <title>
+    <xsl:call-template name="get.refentry.title">
+      <xsl:with-param name="refname" select="$refname"/>
+    </xsl:call-template>
+  </title>
+  <section>
+    <xsl:call-template name="get.refentry.section">
+      <xsl:with-param name="refname" select="$refname"/>
+    </xsl:call-template>
+  </section>
+  <date>
+    <xsl:call-template name="get.refentry.date">
+      <xsl:with-param name="info" select="$info"/>
+      <xsl:with-param name="refname" select="$refname"/>
+      <xsl:with-param name="prefs" select="$prefs/DatePrefs"/>
+    </xsl:call-template>
+  </date>
+  <source>
+    <xsl:call-template name="get.refentry.source">
+      <xsl:with-param name="info" select="$info"/>
+      <xsl:with-param name="refname" select="$refname"/>
+      <xsl:with-param name="prefs" select="$prefs/SourcePrefs"/>
+    </xsl:call-template>
+  </source>
+  <manual>
+    <xsl:call-template name="get.refentry.manual">
+      <xsl:with-param name="info" select="$info"/>
+      <xsl:with-param name="refname" select="$refname"/>
+      <xsl:with-param name="prefs" select="$prefs/ManualPrefs"/>
+    </xsl:call-template>
+  </manual>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<doc:template name="get.refentry.title" xmlns="">
+  <refpurpose>Gets title metadata for a refentry</refpurpose>
+
+  <refdescription>
+    <para>The <literal>man(7)</literal> man page describes this as "the
+    title of the man page (e.g., <literal>MAN</literal>). This differs
+    from <sgmltag>refname</sgmltag> in that, if the <sgmltag>refentry</sgmltag> has a
+    <sgmltag>refentrytitle</sgmltag>, we use that as the <sgmltag>title</sgmltag>;
+    otherwise, we just use first <sgmltag>refname</sgmltag> in the first
+    <sgmltag>refnamediv</sgmltag> in the source.</para>
+  </refdescription>
+
+  <refparameter>
+    <variablelist>
+      <varlistentry>
+        <term>refname</term>
+        <listitem>
+          <para>The first <sgmltag>refname</sgmltag> in the refentry</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+
+  <refreturn>
+  <para>Returns a <sgmltag>title</sgmltag> node.</para></refreturn>
+</doc:template>
+
+<xsl:template name="get.refentry.title">
+  <xsl:param name="refname"/>
+  <xsl:choose>
+    <xsl:when test="refmeta/refentrytitle">
+      <xsl:copy>
+        <xsl:apply-templates select="refmeta/refentrytitle/node()"/>
+      </xsl:copy>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$refname"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template name="get.refentry.section" xmlns="">
+  <refpurpose>Gets section metadata for a refentry</refpurpose>
+
+  <refdescription>
+    <para>The <literal>man(7)</literal> man page describes this as "the
+    section number the man page should be placed in (e.g.,
+    <literal>7</literal>)". If we do not find a <sgmltag>manvolnum</sgmltag>
+    specified in the source, and we find that the <sgmltag>refentry</sgmltag> is
+    for a function, we use the section number <literal>3</literal>
+    ["Library calls (functions within program libraries)"]; otherwise, we
+    default to using <literal>1</literal> ["Executable programs or shell
+    commands"].</para>
+  </refdescription>
+
+  <refparameter>
+    <variablelist>
+      <varlistentry>
+        <term>refname</term>
+        <listitem>
+          <para>The first <sgmltag>refname</sgmltag> in the refentry</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>quiet</term>
+        <listitem>
+          <para>If non-zero, no "missing" message is emitted</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+
+  <refreturn>
+  <para>Returns a string representing a section number.</para></refreturn>
+</doc:template>
+<xsl:template name="get.refentry.section">
+  <xsl:param name="refname"/>
+  <xsl:param name="quiet" select="0"/>
+  <xsl:choose>
+    <xsl:when test="refmeta/manvolnum">
+      <xsl:value-of select="refmeta/manvolnum"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$quiet = 0">
+        <xsl:if test="$refentry.meta.get.quietly = 0">
+          <xsl:call-template name="log.message">
+            <xsl:with-param name="level">Note</xsl:with-param>
+            <xsl:with-param name="source" select="$refname"/>
+            <xsl:with-param
+                name="message"
+                >meta manvol : No manvolnum</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+      </xsl:if>
+      <xsl:choose>
+        <xsl:when test=".//funcsynopsis">
+          <xsl:if test="$quiet = 0">
+            <xsl:if test="$refentry.meta.get.quietly = 0">
+              <xsl:call-template name="log.message">
+                <xsl:with-param name="level">Note</xsl:with-param>
+                <xsl:with-param name="source" select="$refname"/>
+                <xsl:with-param
+                    name="message"
+                    >meta manvol : Setting man section to 3</xsl:with-param>
+              </xsl:call-template>
+            </xsl:if>
+          </xsl:if>
+          <xsl:text>3</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>1</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template name="get.refentry.date" xmlns="">
+  <refpurpose>Gets date metadata for a refentry</refpurpose>
+
+  <refdescription>
+    <para>The <literal>man(7)</literal> man page describes this as "the
+    date of the last revision". If we cannot find a date in the source, we
+    generate one.</para>
+  </refdescription>
+
+  <refparameter>
+    <variablelist>
+      <varlistentry>
+        <term>refname</term>
+        <listitem>
+          <para>The first <sgmltag>refname</sgmltag> in the refentry</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>info</term>
+        <listitem>
+          <para>A set of info nodes (from a <sgmltag>refentry</sgmltag>
+          element and its ancestors)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>prefs</term>
+        <listitem>
+          <para>A node containing users preferences (from global stylesheet parameters)</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+
+  <refreturn><para>Returns a <sgmltag>date</sgmltag> node.</para></refreturn>
+</doc:template>
+
+<xsl:template name="get.refentry.date">
+  <xsl:param name="refname"/>
+  <xsl:param name="info"/>
+  <xsl:param name="prefs"/>
+  <xsl:variable name="Date">
+    <xsl:choose>
+      <!-- * if profiling is enabled for date, and the date -->
+      <!-- * profile is non-empty, use it -->
+      <xsl:when test="not($prefs/@profileEnabled = 0) and
+                      not($prefs/@profile = '')">
+        <xsl:call-template name="evaluate.info.profile">
+          <xsl:with-param name="profile" select="$prefs/@profile"/>
+          <xsl:with-param name="info" select="$info"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * either profiling is not enabled for date, or the-->
+        <!-- * date profile is empty, so we need to look for date -->
+        <!-- * in *info -->
+        <xsl:choose>
+          <!-- * look for date or pubdate in *info -->
+          <xsl:when test="$info/date/node()
+                          |$info/pubdate/node()">
+            <xsl:apply-templates
+                select="(($info[date])[last()]/date)[1]|
+                        (($info[pubdate])[last()]/pubdate)[1]"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <!-- * found no Date or Pubdate -->
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:choose>
+    <xsl:when test="not($Date = '')">
+      <xsl:value-of select="$Date"/>
+    </xsl:when>
+    <!-- * We couldn't find a date, so we generate a date. -->
+    <!-- * And we make it an appropriately localized date. -->
+    <xsl:otherwise>
+      <xsl:if test="$refentry.meta.get.quietly = 0">
+        <xsl:call-template name="log.message">
+          <xsl:with-param name="level">Note</xsl:with-param>
+          <xsl:with-param name="source" select="$refname"/>
+          <xsl:with-param
+              name="message"
+              >meta date   : No date. Using generated date</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <xsl:call-template name="datetime.format">
+        <xsl:with-param name="date">
+          <xsl:choose>
+            <xsl:when test="function-available('date:date-time')">
+              <xsl:value-of select="date:date-time()"/>
+            </xsl:when>
+            <xsl:when test="function-available('date:dateTime')">
+              <!-- Xalan quirk -->
+              <xsl:value-of select="date:dateTime()"/>
+            </xsl:when>
+          </xsl:choose>
+        </xsl:with-param>
+        <xsl:with-param name="format">
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="context" select="'datetime'"/>
+            <xsl:with-param name="name" select="'format'"/>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template name="get.refentry.source" xmlns="">
+  <refpurpose>Gets source metadata for a refentry</refpurpose>
+
+  <refdescription>
+    <para>The <literal>man(7)</literal> man page describes this as "the
+    source of the command", and provides the following examples:
+    <itemizedlist>
+      <listitem>
+        <para>For binaries, use something like: GNU, NET-2, SLS
+        Distribution, MCC Distribution.</para>
+      </listitem>
+      <listitem>
+        <para>For system calls, use the version of the kernel that you are
+        currently looking at: Linux 0.99.11.</para>
+      </listitem>
+      <listitem>
+        <para>For library calls, use the source of the function: GNU, BSD
+        4.3, Linux DLL 4.4.1.</para>
+      </listitem>
+    </itemizedlist>
+    </para>
+
+    <para>The <literal>solbook(5)</literal> man page describes
+    something very much like what <literal>man(7)</literal> calls
+    "source", except that <literal>solbook(5)</literal> names it
+    "software" and describes it like this:
+    <blockquote>
+      <para>This is the name of the software product that the topic
+      discussed on the reference page belongs to. For example UNIX
+      commands are part of the <literal>SunOS x.x</literal>
+      release.</para>
+    </blockquote>
+    </para>
+
+    <para>In practice, there are many pages that simply have a version
+    number in the "source" field. So, it looks like what we have is a
+    two-part field,
+    <replaceable>Name</replaceable>&#160;<replaceable>Version</replaceable>,
+    where:
+    <variablelist>
+      <varlistentry>
+        <term>Name</term>
+        <listitem>
+          <para>product name (e.g., BSD) or org. name (e.g., GNU)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>Version</term>
+        <listitem>
+          <para>version name</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+    Each part is optional. If the <replaceable>Name</replaceable> is a
+    product name, then the <replaceable>Version</replaceable> is probably
+    the version of the product. Or there may be no
+    <replaceable>Name</replaceable>, in which case, if there is a
+    <replaceable>Version</replaceable>, it is probably the version of the
+    item itself, not the product it is part of. Or, if the
+    <replaceable>Name</replaceable> is an organization name, then there
+    probably will be no <replaceable>Version</replaceable>.
+    </para>
+  </refdescription>
+
+  <refparameter>
+    <variablelist>
+      <varlistentry>
+        <term>refname</term>
+        <listitem>
+          <para>The first <sgmltag>refname</sgmltag> in the refentry</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>info</term>
+        <listitem>
+          <para>A set of info nodes (from a <sgmltag>refentry</sgmltag>
+          element and its ancestors)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>prefs</term>
+        <listitem>
+          <para>A node containing users preferences (from global
+          stylesheet parameters)</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+
+  <refreturn><para>Returns a <sgmltag>source</sgmltag> node.</para></refreturn>
+</doc:template>
+
+<xsl:template name="get.refentry.source">
+  <xsl:param name="refname"/>
+  <xsl:param name="info"/>
+  <xsl:param name="prefs"/>
+  <xsl:variable name="Name">
+    <xsl:if test="$prefs/Name/@suppress = 0">
+      <xsl:call-template name="get.refentry.source.name">
+        <xsl:with-param name="info" select="$info"/>
+        <xsl:with-param name="refname" select="$refname"/>
+        <xsl:with-param name="prefs" select="$prefs/Name"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="Version">
+    <xsl:if test="$prefs/Version/@suppress = 0">
+      <xsl:call-template name="get.refentry.version">
+        <xsl:with-param name="info" select="$info"/>
+        <xsl:with-param name="refname" select="$refname"/>
+        <xsl:with-param name="prefs" select="$prefs/Version"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:choose>
+    <!-- * if we have a Name and/or Version, use either or both -->
+    <!-- * of those, in the form "Name Version" or just "Name" -->
+    <!-- * or just "Version" -->
+    <xsl:when test="not($Name = '') or not($Version = '')">
+      <xsl:choose>
+        <xsl:when test="not($Name = '') and not($Version = '')">
+          <xsl:copy-of select="$Name"/>
+          <xsl:text> </xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:copy-of select="$Name"/>
+        </xsl:otherwise>
+      </xsl:choose>
+      <xsl:copy-of select="$Version"/>
+    </xsl:when>
+    <!-- * if no Name and no Version, use fallback (if any) -->
+    <xsl:when test="not($prefs/@fallback = '')">
+      <xsl:variable name="source.fallback">
+        <xsl:call-template name="evaluate.info.profile">
+          <xsl:with-param name="profile" select="$prefs/@fallback"/>
+          <xsl:with-param name="info" select="$info"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:choose>
+        <xsl:when test="not($source.fallback = '')">
+          <xsl:value-of select="$source.fallback"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$refentry.meta.get.quietly = 0">
+            <xsl:call-template name="log.message">
+              <xsl:with-param name="level">Warn</xsl:with-param>
+              <xsl:with-param name="source" select="$refname"/>
+              <xsl:with-param
+                  name="message"
+                  >meta source : No valid fallback. Leaving empty</xsl:with-param>
+            </xsl:call-template>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$refentry.meta.get.quietly = 0">
+        <xsl:call-template name="log.message">
+          <xsl:with-param name="level">Warn</xsl:with-param>
+          <xsl:with-param name="source" select="$refname"/>
+          <xsl:with-param
+              name="message"
+              >meta source : No fallback specified; leaving empty.</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template name="get.refentry.source.name" xmlns="">
+  <refpurpose>Gets source-name metadata for a refentry</refpurpose>
+
+  <refdescription>
+    <para>A "source name" is one part of a (potentially) two-part
+    <replaceable>Name</replaceable>&#160;<replaceable>Version</replaceable>
+    source field. For more details, see the documentation for the
+    <function>get.refentry.source</function> template.</para>
+  </refdescription>
+
+  <refparameter>
+    <variablelist>
+      <varlistentry>
+        <term>refname</term>
+        <listitem>
+          <para>The first <sgmltag>refname</sgmltag> in the refentry</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>info</term>
+        <listitem>
+          <para>A set of info nodes (from a <sgmltag>refentry</sgmltag>
+          element and its ancestors)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>prefs</term>
+        <listitem>
+          <para>A node containing users preferences (from global
+          stylesheet parameters)</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+
+  <refreturn><para>Depending on what output method is used for the
+  current stylesheet, either returns a text node or possibly an element
+  node, containing "source name" data.</para></refreturn>
+</doc:template>
+
+<xsl:template name="get.refentry.source.name">
+  <xsl:param name="refname"/>
+  <xsl:param name="info"/>
+  <xsl:param name="prefs"/>
+  <xsl:choose>
+    <!-- * if profiling is enabled for source.name, and the -->
+    <!-- * source.name profile is non-empty, use it -->
+    <xsl:when test="not($prefs/@profileEnabled = 0) and
+                    not($prefs/@profile = '')">
+      <xsl:call-template name="evaluate.info.profile">
+        <xsl:with-param name="profile" select="$prefs/@profile"/>
+        <xsl:with-param name="info" select="$info"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- * either profiling for source.name is not enabled, or-->
+      <!-- * the source.name profile is empty; so we need to look -->
+      <!-- * for a name to use -->
+      <xsl:choose>
+        <xsl:when test="refmeta/refmiscinfo[@class = 'source' or @class = 'software']">
+          <xsl:apply-templates 
+              select="refmeta/refmiscinfo[@class = 'source' or @class='software'][1]/node()"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:choose>
+            <xsl:when test="$info/productname">
+              <xsl:call-template name="set.refentry.metadata">
+                <xsl:with-param name="refname" select="$refname"/>
+                <xsl:with-param
+                    name="info"
+                    select="($info[productname])[last()]"/>
+                <xsl:with-param
+                    name="contents"
+                    select="(($info[productname])[last()]/productname)[1]"/>
+                <xsl:with-param name="context">source</xsl:with-param>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$info/corpname">
+              <xsl:call-template name="set.refentry.metadata">
+                <xsl:with-param name="refname" select="$refname"/>
+                <xsl:with-param
+                    name="info"
+                    select="($info[corpname])[last()]"/>
+                <xsl:with-param
+                    name="contents"
+                    select="(($info[corpname])[last()]/corpname)[1]"/>
+                <xsl:with-param name="context">source</xsl:with-param>
+                <xsl:with-param name="preferred">productname</xsl:with-param>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$info/corpcredit">
+              <xsl:call-template name="set.refentry.metadata">
+                <xsl:with-param name="refname" select="$refname"/>
+                <xsl:with-param
+                    name="info"
+                    select="($info[corpcredit])[last()]"/>
+                <xsl:with-param
+                    name="contents"
+                    select="(($info[corpcredit])[last()]/corpcredit)[1]"/>
+                <xsl:with-param name="context">source</xsl:with-param>
+                <xsl:with-param name="preferred">productname</xsl:with-param>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$info/corpauthor">
+              <xsl:call-template name="set.refentry.metadata">
+                <xsl:with-param name="refname" select="$refname"/>
+                <xsl:with-param
+                    name="info"
+                    select="($info[corpauthor])[last()]"/>
+                <xsl:with-param
+                    name="contents"
+                    select="(($info[corpauthor])[last()]/corpauthor)[1]"/>
+                <xsl:with-param name="context">source</xsl:with-param>
+                <xsl:with-param name="preferred">productname</xsl:with-param>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$info//orgname">
+              <xsl:call-template name="set.refentry.metadata">
+                <xsl:with-param name="refname" select="$refname"/>
+                <xsl:with-param
+                    name="info"
+                    select="($info[//orgname])[last()]"/>
+                <xsl:with-param
+                    name="contents"
+                    select="(($info[//orgname])[last()]//orgname)[1]"/>
+                <xsl:with-param name="context">source</xsl:with-param>
+                <xsl:with-param name="preferred">productname</xsl:with-param>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$info//publishername">
+              <xsl:call-template name="set.refentry.metadata">
+                <xsl:with-param name="refname" select="$refname"/>
+                <xsl:with-param
+                    name="info"
+                    select="($info[//publishername])[last()]"/>
+                <xsl:with-param
+                    name="contents"
+                    select="(($info[//publishername])[last()]//publishername)[1]"/>
+                <xsl:with-param name="context">source</xsl:with-param>
+                <xsl:with-param name="preferred">productname</xsl:with-param>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:if test="$refentry.meta.get.quietly = 0">
+                <xsl:call-template name="log.message">
+                  <xsl:with-param name="level">Note</xsl:with-param>
+                  <xsl:with-param name="source" select="$refname"/>
+                  <xsl:with-param
+                      name="message"
+                      >meta source : No productname or alternative</xsl:with-param>
+                </xsl:call-template>
+                <xsl:call-template name="log.message">
+                  <xsl:with-param name="level">Note</xsl:with-param>
+                  <xsl:with-param name="source" select="$refname"/>
+                  <xsl:with-param
+                      name="message"
+                      >meta source : No refmiscinfo at class=source</xsl:with-param>
+                </xsl:call-template>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template name="get.refentry.version" xmlns="">
+  <refpurpose>Gets version metadata for a refentry</refpurpose>
+
+  <refdescription>
+    <para>A "version" is one part of a (potentially) two-part
+    <replaceable>Name</replaceable>&#160;<replaceable>Version</replaceable>
+    source field. For more details, see the documentation for the
+    <function>get.refentry.source</function> template.</para>
+  </refdescription>
+
+  <refparameter>
+    <variablelist>
+      <varlistentry>
+        <term>refname</term>
+        <listitem>
+          <para>The first <sgmltag>refname</sgmltag> in the refentry</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>info</term>
+        <listitem>
+          <para>A set of info nodes (from a <sgmltag>refentry</sgmltag>
+          element and its ancestors)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>prefs</term>
+        <listitem>
+          <para>A node containing users preferences (from global
+          stylesheet parameters)</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+
+  <refreturn><para>Depending on what output method is used for the
+  current stylesheet, either returns a text node or possibly an element
+  node, containing "version" data.</para></refreturn>
+</doc:template>
+
+<xsl:template name="get.refentry.version">
+  <xsl:param name="refname"/>
+  <xsl:param name="info"/>
+  <xsl:param name="prefs"/>
+  <xsl:choose>
+    <!-- * if profiling is enabled for version, and the -->
+    <!-- * version profile is non-empty, use it -->
+    <xsl:when test="not($prefs/@profileEnabled = 0) and
+                    not($prefs/@profile = '')">
+      <xsl:call-template name="evaluate.info.profile">
+        <xsl:with-param name="profile" select="$prefs/@profile"/>
+        <xsl:with-param name="info" select="$info"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- * either profiling for source.name is not enabled, or-->
+      <!-- * the source.name profile is empty; so we need to look -->
+      <!-- * for a name to use -->
+      <xsl:choose>
+        <xsl:when test="refmeta/refmiscinfo[@class = 'version']">
+          <xsl:apply-templates 
+              select="refmeta/refmiscinfo[@class = 'version'][1]/node()"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:choose>
+            <xsl:when test="$info/productnumber">
+              <xsl:call-template name="set.refentry.metadata">
+                <xsl:with-param name="refname" select="$refname"/>
+                <xsl:with-param
+                    name="info"
+                    select="($info[productnumber])[last()]"/>
+                <xsl:with-param
+                    name="contents"
+                    select="(($info[productnumber])[last()]/productnumber)[1]"/>
+                <xsl:with-param name="context">version</xsl:with-param>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$info/edition">
+              <xsl:call-template name="set.refentry.metadata">
+                <xsl:with-param name="refname" select="$refname"/>
+                <xsl:with-param
+                    name="info"
+                    select="($info[edition])[last()]"/>
+                <xsl:with-param
+                    name="contents"
+                    select="(($info[edition])[last()]/edition)[1]"/>
+                <xsl:with-param name="context">version</xsl:with-param>
+                <xsl:with-param name="preferred">productnumber</xsl:with-param>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$info/releaseinfo">
+              <xsl:call-template name="set.refentry.metadata">
+                <xsl:with-param name="refname" select="$refname"/>
+                <xsl:with-param
+                    name="info"
+                    select="($info[releaseinfo])[last()]"/>
+                <xsl:with-param
+                    name="contents"
+                    select="(($info[releaseinfo])[last()]/releaseinfo)[1]"/>
+                <xsl:with-param name="context">version</xsl:with-param>
+                <xsl:with-param name="preferred">productnumber</xsl:with-param>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:if test="$refentry.meta.get.quietly = 0">
+                <xsl:call-template name="log.message">
+                  <xsl:with-param name="level">Note</xsl:with-param>
+                  <xsl:with-param name="source" select="$refname"/>
+                  <xsl:with-param
+                      name="message"
+                      >meta version: No productnumber or alternative</xsl:with-param>
+                </xsl:call-template>
+                <xsl:call-template name="log.message">
+                  <xsl:with-param name="level">Note</xsl:with-param>
+                  <xsl:with-param name="source" select="$refname"/>
+                  <xsl:with-param
+                      name="message"
+                      >meta version: No refmiscinfo at class=version</xsl:with-param>
+                </xsl:call-template>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template name="get.refentry.manual" xmlns="">
+  <refpurpose>Gets source metadata for a refentry</refpurpose>
+
+  <refdescription>
+    <para>The <literal>man(7)</literal> man page describes this as "the
+    title of the manual (e.g., <citetitle>Linux Programmer's
+    Manual</citetitle>)". Here are some examples from existing man pages:
+    <itemizedlist>
+      <listitem>
+        <para><citetitle>dpkg utilities</citetitle>
+        (<command>dpkg-name</command>)</para>
+      </listitem>
+      <listitem>
+        <para><citetitle>User Contributed Perl Documentation</citetitle>
+        (<command>GET</command>)</para>
+      </listitem>
+      <listitem>
+        <para><citetitle>GNU Development Tools</citetitle>
+        (<command>ld</command>)</para>
+      </listitem>
+      <listitem>
+        <para><citetitle>Emperor Norton Utilities</citetitle>
+        (<command>ddate</command>)</para>
+      </listitem>
+      <listitem>
+        <para><citetitle>Debian GNU/Linux manual</citetitle>
+        (<command>faked</command>)</para>
+      </listitem>
+      <listitem>
+        <para><citetitle>GIMP Manual Pages</citetitle>
+        (<command>gimp</command>)</para>
+      </listitem>
+      <listitem>
+        <para><citetitle>KDOC Documentation System</citetitle>
+        (<command>qt2kdoc</command>)</para>
+      </listitem>
+    </itemizedlist>
+    </para>
+
+    <para>The <literal>solbook(5)</literal> man page describes
+    something very much like what <literal>man(7)</literal> calls
+    "manual", except that <literal>solbook(5)</literal> names it
+    "sectdesc" and describes it like this:
+    <blockquote>
+      <para>This is the section title of the reference page; for
+      example <literal>User Commands</literal>.</para>
+    </blockquote>
+    </para>
+
+  </refdescription>
+
+  <refparameter>
+    <variablelist>
+      <varlistentry>
+        <term>refname</term>
+        <listitem>
+          <para>The first <sgmltag>refname</sgmltag> in the refentry</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>info</term>
+        <listitem>
+          <para>A set of info nodes (from a <sgmltag>refentry</sgmltag>
+          element and its ancestors)</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>prefs</term>
+        <listitem>
+          <para>A node containing users preferences (from global
+          stylesheet parameters)</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+
+  <refreturn><para>Returns a <sgmltag>manual</sgmltag> node.</para></refreturn>
+</doc:template>
+<xsl:template name="get.refentry.manual">
+  <xsl:param name="refname"/>
+  <xsl:param name="info"/>
+  <xsl:param name="prefs"/>
+  <xsl:variable name="Manual">
+    <xsl:choose>
+      <!-- * if profiling is enabled for manual, and the manual -->
+      <!-- * profile is non-empty, use it -->
+      <xsl:when test="not($prefs/@profileEnabled = 0) and
+                      not($prefs/@profile = '')">
+        <xsl:call-template name="evaluate.info.profile">
+          <xsl:with-param name="profile" select="$prefs/@profile"/>
+          <xsl:with-param name="info" select="$info"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:choose>
+          <xsl:when test="refmeta/refmiscinfo[@class = 'manual' or @class = 'sectdesc']">
+            <xsl:apply-templates 
+                select="refmeta/refmiscinfo[@class = 'manual' or @class = 'sectdesc'][1]/node()"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <!-- * only in the case of choosing appropriate -->
+            <!-- * "manual" content do we select the furthest -->
+            <!-- * (first) matching element instead of the -->
+            <!-- * closest (last) matching one -->
+            <xsl:choose>
+              <xsl:when test="ancestor::*/title">
+                <xsl:call-template name="set.refentry.metadata">
+                  <xsl:with-param name="refname" select="$refname"/>
+                  <xsl:with-param
+                      name="info"
+                      select="(ancestor::*[title])[1]"/>
+                  <xsl:with-param
+                      name="contents"
+                      select="(ancestor::*[title])[1]/title"/>
+                  <xsl:with-param name="context">manual</xsl:with-param>
+                </xsl:call-template>
+              </xsl:when>
+              <xsl:when test="$info/title">
+                <xsl:call-template name="set.refentry.metadata">
+                  <xsl:with-param name="refname" select="$refname"/>
+                  <xsl:with-param
+                      name="info"
+                      select="($info[title])[1]"/>
+                  <xsl:with-param
+                      name="contents"
+                      select="(($info[title])[1]/title)[1]"/>
+                  <xsl:with-param name="context">manual</xsl:with-param>
+                </xsl:call-template>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:if test="$refentry.meta.get.quietly = 0">
+                  <xsl:call-template name="log.message">
+                    <xsl:with-param name="level">Note</xsl:with-param>
+                    <xsl:with-param name="source" select="$refname"/>
+                    <xsl:with-param
+                        name="message"
+                        >meta manual : No ancestor with title</xsl:with-param>
+                  </xsl:call-template>
+                  <xsl:call-template name="log.message">
+                    <xsl:with-param name="level">Note</xsl:with-param>
+                    <xsl:with-param name="source" select="$refname"/>
+                    <xsl:with-param
+                        name="message"
+                        >meta manual : No refmiscinfo at class=manual</xsl:with-param>
+                  </xsl:call-template>
+                </xsl:if>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:choose>
+    <xsl:when test="not($Manual = '')">
+      <xsl:copy-of select="$Manual"/>
+    </xsl:when>
+    <!-- * if no Manual, use contents of specified Fallback (if any) -->
+    <xsl:when test="not($prefs/@fallback = '')">
+      <xsl:variable name="manual.fallback">
+        <xsl:call-template name="evaluate.info.profile">
+          <xsl:with-param name="profile" select="$prefs/@fallback"/>
+          <xsl:with-param name="info" select="$info"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:choose>
+        <xsl:when test="not($manual.fallback = '')">
+          <xsl:value-of select="$manual.fallback"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$refentry.meta.get.quietly = 0">
+            <xsl:call-template name="log.message">
+              <xsl:with-param name="level">Warn</xsl:with-param>
+              <xsl:with-param name="source" select="$refname"/>
+              <xsl:with-param
+                  name="message"
+                  >meta manual : No valid fallback. Leaving empty</xsl:with-param>
+            </xsl:call-template>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$refentry.meta.get.quietly = 0">
+        <xsl:call-template name="log.message">
+          <xsl:with-param name="level">Warn</xsl:with-param>
+          <xsl:with-param name="source" select="$refname"/>
+          <xsl:with-param
+              name="message"
+              >meta manual : No fallback specified; leaving empty.</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<doc:template name="get.refentry.metadata.prefs" xmlns="">
+  <refpurpose>Gets user preferences for refentry metadata gathering</refpurpose>
+
+  <refdescription>
+    <para>The DocBook XSL stylesheets include several user-configurable
+    global stylesheet parameters for controlling <sgmltag>refentry</sgmltag>
+    metadata gathering. Those parameters are not read directly by the
+    other <sgmltag>refentry</sgmltag> metadata-gathering functions. Instead, they
+    are read only by the <function>get.refentry.metadata.prefs</function>
+    function, which assembles them into a structure that is then passed to
+    the other <sgmltag>refentry</sgmltag> metadata-gathering functions.</para>
+
+    <para>So the, <function>get.refentry.metadata.prefs</function>
+    function is the only interface to collecting stylesheet parameters for
+    controlling <sgmltag>refentry</sgmltag> metadata gathering.</para>
+  </refdescription>
+
+  <refparameter>
+    <para>There are no local parameters for this function; however, it
+    does rely on a number of global parameters.</para>
+  </refparameter>
+
+  <refreturn><para>Returns a <sgmltag>manual</sgmltag> node.</para></refreturn>
+</doc:template>
+
+<xsl:template name="get.refentry.metadata.prefs">
+  <DatePrefs>
+    <xsl:attribute name="profile">
+      <xsl:value-of select="$refentry.date.profile"/>
+    </xsl:attribute>
+    <xsl:attribute name="profileEnabled">
+      <xsl:value-of select="$refentry.date.profile.enabled"/>
+    </xsl:attribute>
+  </DatePrefs>
+  <SourcePrefs>
+    <xsl:attribute name="fallback">
+      <xsl:value-of select="$refentry.source.fallback.profile"/>
+    </xsl:attribute>
+    <Name>
+      <xsl:attribute name="profile">
+        <xsl:value-of select="$refentry.source.name.profile"/>
+      </xsl:attribute>
+      <xsl:attribute name="profileEnabled">
+        <xsl:value-of select="$refentry.source.name.profile.enabled"/>
+      </xsl:attribute>
+      <xsl:attribute name="suppress">
+        <xsl:value-of select="$refentry.source.name.suppress"/>
+      </xsl:attribute>
+    </Name>
+    <Version>
+      <xsl:attribute name="profile">
+        <xsl:value-of select="$refentry.version.profile"/>
+      </xsl:attribute>
+      <xsl:attribute name="profileEnabled">
+        <xsl:value-of select="$refentry.version.profile.enabled"/>
+      </xsl:attribute>
+      <xsl:attribute name="suppress">
+        <xsl:value-of select="$refentry.version.suppress"/>
+      </xsl:attribute>
+    </Version>
+  </SourcePrefs>
+  <ManualPrefs>
+    <xsl:attribute name="fallback">
+      <xsl:value-of select="$refentry.manual.fallback.profile"/>
+    </xsl:attribute>
+    <xsl:attribute name="profile">
+      <xsl:value-of select="$refentry.manual.profile"/>
+    </xsl:attribute>
+    <xsl:attribute name="profileEnabled">
+      <xsl:value-of select="$refentry.manual.profile.enabled"/>
+    </xsl:attribute>
+  </ManualPrefs>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<doc:template name="set.refentry.metadata" xmlns="">
+  <refpurpose>Sets content of a refentry metadata item</refpurpose>
+
+  <refdescription>
+    <para>The <function>set.refentry.metadata</function> function is
+    called each time a suitable source element is found for a certain
+    metadata field.</para>
+  </refdescription>
+
+  <refparameter>
+    <variablelist>
+      <varlistentry>
+        <term>refname</term>
+        <listitem>
+          <para>The first <sgmltag>refname</sgmltag> in the refentry</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>info</term>
+        <listitem>
+          <para>A single *info node that contains the selected source element.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>contents</term>
+        <listitem>
+          <para>A node containing the selected source element.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>context</term>
+        <listitem>
+          <para>A string describing the metadata context in which the
+          <function>set.refentry.metadata</function> function was
+          called: either "date", "source", "version", or "manual".</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+  <refreturn>
+  <para>Returns formatted contents of a selected source element.</para></refreturn>
+</doc:template>
+
+<xsl:template name="set.refentry.metadata">
+  <xsl:param name="refname"/>
+  <xsl:param name="info"/>
+  <xsl:param name="contents"/>
+  <xsl:param name="context"/>
+  <xsl:param name="preferred"/>
+  <xsl:if test="not($preferred = '')">
+    <xsl:if test="$refentry.meta.get.quietly = 0">
+      <xsl:call-template name="log.message">
+        <xsl:with-param name="level">Note</xsl:with-param>
+        <xsl:with-param name="source" select="$refname"/>
+        <xsl:with-param
+            name="message"
+            >meta <xsl:value-of
+            select="$context"/><xsl:call-template
+            name="copy-string">
+        <xsl:with-param name="string" select="'&#x20;'"/>
+        <xsl:with-param
+            name="count"
+            select="7 - string-length($context)"/>
+        </xsl:call-template>: No <xsl:value-of select="$preferred"
+        /></xsl:with-param>
+      </xsl:call-template>
+      <xsl:call-template name="log.message">
+        <xsl:with-param name="level">Note</xsl:with-param>
+        <xsl:with-param name="source" select="$refname"/>
+        <xsl:with-param
+            name="message"
+            >meta <xsl:value-of
+            select="$context"/><xsl:call-template
+            name="copy-string">
+        <xsl:with-param name="string" select="'&#x20;'"/>
+        <xsl:with-param
+            name="count"
+            select="7 - string-length($context)"/>
+        </xsl:call-template>: No refmiscinfo at class=<xsl:value-of
+        select="$context"/></xsl:with-param>
+      </xsl:call-template>
+      <xsl:call-template name="log.message">
+        <xsl:with-param name="level">Note</xsl:with-param>
+        <xsl:with-param name="source" select="$refname"/>
+        <xsl:with-param
+            name="message"
+            >meta <xsl:value-of
+            select="$context"/><xsl:call-template
+            name="copy-string">
+        <xsl:with-param name="string" select="'&#x20;'"/>
+        <xsl:with-param
+            name="count"
+            select="7 - string-length($context)"/>
+        </xsl:call-template>: Using <xsl:value-of
+        select="local-name($contents)"/></xsl:with-param>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:if>
+  <xsl:value-of select="$contents"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/common/ro.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/ro.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/ro.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ro" english-language-name="Romanian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/ro.xml -->
+<!-- * -->
+<!-- * E-mail the edited ro.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Rezumat"/>
+   <l:gentext key="abstract" text="Rezumat"/>
+   <l:gentext key="Answer" text="R:"/>
+   <l:gentext key="answer" text="R:"/>
+   <l:gentext key="Appendix" text="Anexa"/>
+   <l:gentext key="appendix" text="anexa"/>
+   <l:gentext key="Article" text="Articol"/>
+   <l:gentext key="article" text="Articol"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Bibliografie"/>
+   <l:gentext key="bibliography" text="Bibliografie"/>
+   <l:gentext key="Book" text="Carte"/>
+   <l:gentext key="book" text="Carte"/>
+   <l:gentext key="CAUTION" text="ATEN&#538;IE"/>
+   <l:gentext key="Caution" text="Aten&#539;ie"/>
+   <l:gentext key="caution" text="Aten&#539;ie"/>
+   <l:gentext key="Chapter" text="Cap."/>
+   <l:gentext key="chapter" text="cap."/>
+   <l:gentext key="Colophon" text="Colophon"/>
+   <l:gentext key="colophon" text="Colophon"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Dedica&#539;ie"/>
+   <l:gentext key="dedication" text="Dedica&#539;ie"/>
+   <l:gentext key="Edition" text="Edi&#539;ie"/>
+   <l:gentext key="edition" text="Edi&#539;ie"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="ecua&#539;ia"/>
+   <l:gentext key="equation" text="ecua&#539;ia"/>
+   <l:gentext key="Example" text="Exemplu"/>
+   <l:gentext key="example" text="Exemplu"/>
+   <l:gentext key="Figure" text="Fig."/>
+   <l:gentext key="figure" text="Fig."/>
+   <l:gentext key="Glossary" text="Glosar"/>
+   <l:gentext key="glossary" text="Glosar"/>
+   <l:gentext key="GlossSee" text="Vezi"/>
+   <l:gentext key="glosssee" text="Vezi"/>
+   <l:gentext key="GlossSeeAlso" text="Vezi &#537;i"/>
+   <l:gentext key="glossseealso" text="Vezi &#537;i"/>
+   <l:gentext key="IMPORTANT" text="IMPORTANT"/>
+   <l:gentext key="important" text="Important"/>
+   <l:gentext key="Important" text="Important"/>
+   <l:gentext key="Index" text="Index"/>
+   <l:gentext key="index" text="Index"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Legal Notice"/>
+   <l:gentext key="legalnotice" text="Legal Notice"/>
+   <l:gentext key="MsgAud" text="Audience"/>
+   <l:gentext key="msgaud" text="Audience"/>
+   <l:gentext key="MsgLevel" text="Nivel"/>
+   <l:gentext key="msglevel" text="Nivel"/>
+   <l:gentext key="MsgOrig" text="Origine"/>
+   <l:gentext key="msgorig" text="Origine"/>
+   <l:gentext key="NOTE" text="NOT&#258;"/>
+   <l:gentext key="Note" text="Not&#259;"/>
+   <l:gentext key="note" text="Not&#259;"/>
+   <l:gentext key="Part" text="Parte"/>
+   <l:gentext key="part" text="Parte"/>
+   <l:gentext key="Preface" text="Prefa&#539;&#259;"/>
+   <l:gentext key="preface" text="Prefa&#539;&#259;"/>
+   <l:gentext key="Procedure" text="Procedur&#259;"/>
+   <l:gentext key="procedure" text="Procedur&#259;"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Publicat"/>
+   <l:gentext key="published" text="Publicat"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#206;ntreb&#259;ri &#537;i r&#259;spunsuri"/>
+   <l:gentext key="qandadiv" text="&#238;ntreb&#259;ri &#537;i r&#259;spunsuri"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#206;:"/>
+   <l:gentext key="question" text="&#238;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Referin&#539;&#259;"/>
+   <l:gentext key="reference" text="Referin&#539;&#259;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Nume"/>
+   <l:gentext key="refname" text="Nume"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Rezumat"/>
+   <l:gentext key="refsynopsisdiv" text="Rezumat"/>
+   <l:gentext key="RevHistory" text="Istoricul versiunilor"/>
+   <l:gentext key="revhistory" text="Istoricul versiunilor"/>
+   <l:gentext key="revision" text="Versiune"/>
+   <l:gentext key="Revision" text="Versiune"/>
+   <l:gentext key="sect1" text="Sec&#539;iune"/>
+   <l:gentext key="sect2" text="Sec&#539;iune"/>
+   <l:gentext key="sect3" text="Sec&#539;iune"/>
+   <l:gentext key="sect4" text="Sec&#539;iune"/>
+   <l:gentext key="sect5" text="Sec&#539;iune"/>
+   <l:gentext key="section" text="sec."/>
+   <l:gentext key="Section" text="Sec&#539;iune"/>
+   <l:gentext key="see" text="Vezi"/>
+   <l:gentext key="See" text="Vezi"/>
+   <l:gentext key="seealso" text="Vezi &#537;i"/>
+   <l:gentext key="Seealso" text="Vezi &#537;i"/>
+   <l:gentext key="SeeAlso" text="Vezi &#537;i"/>
+   <l:gentext key="set" text="Set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Index"/>
+   <l:gentext key="SetIndex" text="Index"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="opera&#539;iune"/>
+   <l:gentext key="Step" text="Opera&#539;ie"/>
+   <l:gentext key="table" text="Tabel"/>
+   <l:gentext key="Table" text="Tabel"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Indica&#539;ie"/>
+   <l:gentext key="TIP" text="INDICA&#538;IE"/>
+   <l:gentext key="Tip" text="Indica&#539;ie"/>
+   <l:gentext key="Warning" text="Avertisment"/>
+   <l:gentext key="warning" text="Avertisment"/>
+   <l:gentext key="WARNING" text="AVERTISMENT"/>
+   <l:gentext key="and" text="&#537;i"/>
+   <l:gentext key="by" text="de"/>
+   <l:gentext key="Edited" text="Publicat"/>
+   <l:gentext key="edited" text="Publicat"/>
+   <l:gentext key="Editedby" text="Publicat de"/>
+   <l:gentext key="editedby" text="Publicat de"/>
+   <l:gentext key="in" text="&#238;n"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="element inexistent"/>
+   <l:gentext key="notes" text="Note"/>
+   <l:gentext key="Notes" text="Note"/>
+   <l:gentext key="Pgs" text="Pagini"/>
+   <l:gentext key="pgs" text="Pagini"/>
+   <l:gentext key="Revisedby" text="Revised by: "/>
+   <l:gentext key="revisedby" text="Revised by: "/>
+   <l:gentext key="TableNotes" text="Remarci"/>
+   <l:gentext key="tablenotes" text="Remarci"/>
+   <l:gentext key="TableofContents" text="Cuprins"/>
+   <l:gentext key="tableofcontents" text="Cuprins"/>
+   <l:gentext key="unexpectedelementname" text="Nume de element nea&#537;teptat"/>
+   <l:gentext key="unsupported" text="nerecunoscut de sisitem"/>
+   <l:gentext key="xrefto" text="referin&#539;&#259; c&#259;tre"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="List&#259; de ecua&#539;ii"/>
+   <l:gentext key="ListofEquations" text="List&#259; de ecua&#539;ii"/>
+   <l:gentext key="ListofExamples" text="List&#259; de exemple"/>
+   <l:gentext key="listofexamples" text="List&#259; de exemple"/>
+   <l:gentext key="ListofFigures" text="List&#259; de figuri"/>
+   <l:gentext key="listoffigures" text="List&#259; de figuri"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="List&#259; de tabele"/>
+   <l:gentext key="ListofTables" text="List&#259; de tabele"/>
+   <l:gentext key="ListofUnknown" text="List&#259; de necunoscute"/>
+   <l:gentext key="listofunknown" text="List&#259; de necunoscute"/>
+   <l:gentext key="nav-home" text="Acas&#259;"/>
+   <l:gentext key="nav-next" text="&#206;nainte"/>
+   <l:gentext key="nav-next-sibling" text="Repede &#239;nainte"/>
+   <l:gentext key="nav-prev" text="&#206;napoi"/>
+   <l:gentext key="nav-prev-sibling" text="Repede &#238;napoi"/>
+   <l:gentext key="nav-up" text="Sus"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Ciorn&#259;"/>
+   <l:gentext key="above" text="deasupra"/>
+   <l:gentext key="below" text="sub"/>
+   <l:gentext key="sectioncalled" text="sec&#539;iunea numit&#259;"/>
+   <l:gentext key="index symbols" text="Simboluri"/>
+   <l:gentext key="lowercase.alpha" text="a&#259;&#226;bcdefghi&#238;jklmnopqrs&#537;t&#537;uvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="A&#258;&#194;BCDEFGHI&#206;JKLMNOPQRS&#536;T&#538;UVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8222;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#171;"/>
+   <l:dingbat key="nestedendquote" text="&#187;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Anexa %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Cap. %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="ecua&#539;ia %n. %t"/>
+      <l:template name="example" text="Exemplu %n. %t"/>
+      <l:template name="figure" text="Fig. %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Parte %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Procedur&#259;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabel %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Anexa %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="Cap. %n. %t"/>
+      <l:template name="part" text="Parte&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="R:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#206;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#206;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8222;%t&#8221;"/>
+      <l:template name="refsection" text="&#8222;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8222;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8222;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8222;%t&#8221;"/>
+      <l:template name="sect1" text="&#8222;%t&#8221;"/>
+      <l:template name="sect2" text="&#8222;%t&#8221;"/>
+      <l:template name="sect3" text="&#8222;%t&#8221;"/>
+      <l:template name="sect4" text="&#8222;%t&#8221;"/>
+      <l:template name="sect5" text="&#8222;%t&#8221;"/>
+      <l:template name="section" text="&#8222;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8222;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="R:&#160;%n"/>
+      <l:template name="appendix" text="Anexa&#160;%n"/>
+      <l:template name="bridgehead" text="Sec&#539;iune&#160;%n"/>
+      <l:template name="chapter" text="Cap.&#160;%n"/>
+      <l:template name="equation" text="ecua&#539;ia&#160;%n"/>
+      <l:template name="example" text="Exemplu&#160;%n"/>
+      <l:template name="figure" text="Fig.&#160;%n"/>
+      <l:template name="part" text="Parte&#160;%n"/>
+      <l:template name="procedure" text="Procedur&#259;&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="&#206;ntreb&#259;ri &#537;i r&#259;spunsuri&#160;%n"/>
+      <l:template name="qandaentry" text="&#206;:&#160;%n"/>
+      <l:template name="question" text="&#206;:&#160;%n"/>
+      <l:template name="sect1" text="Sec&#539;iune&#160;%n"/>
+      <l:template name="sect2" text="Sec&#539;iune&#160;%n"/>
+      <l:template name="sect3" text="Sec&#539;iune&#160;%n"/>
+      <l:template name="sect4" text="Sec&#539;iune&#160;%n"/>
+      <l:template name="sect5" text="Sec&#539;iune&#160;%n"/>
+      <l:template name="section" text="Sec&#539;iune&#160;%n"/>
+      <l:template name="table" text="Tabel&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Anexa&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Sec&#539;iune&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="chapter" text="Cap.&#160;%n, %t"/>
+      <l:template name="equation" text="ecua&#539;ia&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="example" text="Exemplu&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="figure" text="Fig.&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="part" text="Parte&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="procedure" text="Procedur&#259;&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="qandadiv" text="&#206;ntreb&#259;ri &#537;i r&#259;spunsuri&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="refsect1" text="sec&#539;iunea numit&#259; &#8222;%t&#8221;"/>
+      <l:template name="refsect2" text="sec&#539;iunea numit&#259; &#8222;%t&#8221;"/>
+      <l:template name="refsect3" text="sec&#539;iunea numit&#259; &#8222;%t&#8221;"/>
+      <l:template name="refsection" text="sec&#539;iunea numit&#259; &#8222;%t&#8221;"/>
+      <l:template name="sect1" text="Sec&#539;iune&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="sect2" text="Sec&#539;iune&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="sect3" text="Sec&#539;iune&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="sect4" text="Sec&#539;iune&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="sect5" text="Sec&#539;iune&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="section" text="Sec&#539;iune&#160;%n, &#8222;%t&#8221;"/>
+      <l:template name="simplesect" text="sec&#539;iunea numit&#259; &#8222;%t&#8221;"/>
+      <l:template name="table" text="Tabel&#160;%n, &#8222;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#537;i "/>
+      <l:template name="seplast" text=", &#537;i "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Vezi %t"/>
+      <l:template name="seealso" text="Vezi &#537;i %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text=": "/>
+      <l:template name="MsgLevel" text="Nivel: "/>
+      <l:template name="MsgOrig" text="Origine: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0418 Romanian"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/ru.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/ru.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/ru.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,699 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ru" english-language-name="Russian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/ru.xml -->
+<!-- * -->
+<!-- * E-mail the edited ru.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#1040;&#1085;&#1085;&#1086;&#1090;&#1072;&#1094;&#1080;&#1103;"/>
+   <l:gentext key="abstract" text="&#1040;&#1085;&#1085;&#1086;&#1090;&#1072;&#1094;&#1080;&#1103;"/>
+   <l:gentext key="Answer" text="&#1054;:"/>
+   <l:gentext key="answer" text="&#1054;:"/>
+   <l:gentext key="Appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="appendix" text="&#1087;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="Article" text="&#1057;&#1090;&#1072;&#1090;&#1100;&#1103;"/>
+   <l:gentext key="article" text="&#1057;&#1090;&#1072;&#1090;&#1100;&#1103;"/>
+   <l:gentext key="Author" text="&#1040;&#1074;&#1090;&#1086;&#1088;"/>
+   <l:gentext key="Bibliography" text="&#1051;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="bibliography" text="&#1051;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="Book" text="&#1050;&#1085;&#1080;&#1075;&#1072;"/>
+   <l:gentext key="book" text="&#1050;&#1085;&#1080;&#1075;&#1072;"/>
+   <l:gentext key="CAUTION" text="&#1055;&#1056;&#1045;&#1044;&#1054;&#1057;&#1058;&#1045;&#1056;&#1045;&#1046;&#1045;&#1053;&#1048;&#1045;"/>
+   <l:gentext key="Caution" text="&#1055;&#1088;&#1077;&#1076;&#1086;&#1089;&#1090;&#1077;&#1088;&#1077;&#1078;&#1077;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="caution" text="&#1055;&#1088;&#1077;&#1076;&#1086;&#1089;&#1090;&#1077;&#1088;&#1077;&#1078;&#1077;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="Chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;"/>
+   <l:gentext key="chapter" text="&#1075;&#1083;&#1072;&#1074;&#1072;"/>
+   <l:gentext key="Colophon" text="Colophon"/>
+   <l:gentext key="colophon" text="Colophon"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="&#1055;&#1086;&#1089;&#1074;&#1103;&#1097;&#1077;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="dedication" text="&#1055;&#1086;&#1089;&#1074;&#1103;&#1097;&#1077;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="Edition" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1094;&#1080;&#1103;"/>
+   <l:gentext key="edition" text="&#1056;&#1077;&#1076;&#1072;&#1082;&#1094;&#1080;&#1103;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;"/>
+   <l:gentext key="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;"/>
+   <l:gentext key="Example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;"/>
+   <l:gentext key="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;"/>
+   <l:gentext key="Figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;"/>
+   <l:gentext key="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;"/>
+   <l:gentext key="Glossary" text="&#1043;&#1083;&#1086;&#1089;&#1089;&#1072;&#1088;&#1080;&#1081;"/>
+   <l:gentext key="glossary" text="&#1043;&#1083;&#1086;&#1089;&#1089;&#1072;&#1088;&#1080;&#1081;"/>
+   <l:gentext key="GlossSee" text="&#1057;&#1084;."/>
+   <l:gentext key="glosssee" text="&#1057;&#1084;."/>
+   <l:gentext key="GlossSeeAlso" text="&#1057;&#1084;. &#1090;&#1072;&#1082;&#1078;&#1077;"/>
+   <l:gentext key="glossseealso" text="&#1057;&#1084;. &#1090;&#1072;&#1082;&#1078;&#1077;"/>
+   <l:gentext key="IMPORTANT" text="&#1042;&#1040;&#1046;&#1053;&#1054;"/>
+   <l:gentext key="important" text="&#1042;&#1072;&#1078;&#1085;&#1086;"/>
+   <l:gentext key="Important" text="&#1042;&#1072;&#1078;&#1085;&#1086;"/>
+   <l:gentext key="Index" text="&#1055;&#1088;&#1077;&#1076;&#1084;&#1077;&#1090;&#1085;&#1099;&#1081; &#1091;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;&#1100;"/>
+   <l:gentext key="index" text="&#1055;&#1088;&#1077;&#1076;&#1084;&#1077;&#1090;&#1085;&#1099;&#1081; &#1091;&#1082;&#1072;&#1079;&#1072;&#1090;&#1077;&#1083;&#1100;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#1040;&#1074;&#1090;&#1086;&#1088;&#1089;&#1082;&#1080;&#1077; &#1087;&#1088;&#1072;&#1074;&#1072;"/>
+   <l:gentext key="legalnotice" text="&#1040;&#1074;&#1090;&#1086;&#1088;&#1089;&#1082;&#1080;&#1077; &#1087;&#1088;&#1072;&#1074;&#1072;"/>
+   <l:gentext key="MsgAud" text="Audience"/>
+   <l:gentext key="msgaud" text="Audience"/>
+   <l:gentext key="MsgLevel" text="Level"/>
+   <l:gentext key="msglevel" text="Level"/>
+   <l:gentext key="MsgOrig" text="Origin"/>
+   <l:gentext key="msgorig" text="Origin"/>
+   <l:gentext key="NOTE" text="&#1047;&#1040;&#1052;&#1045;&#1063;&#1040;&#1053;&#1048;&#1045;"/>
+   <l:gentext key="Note" text="&#1047;&#1072;&#1084;&#1077;&#1095;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="note" text="&#1047;&#1072;&#1084;&#1077;&#1095;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="Part" text="&#1063;&#1072;&#1089;&#1090;&#1100;"/>
+   <l:gentext key="part" text="&#1063;&#1072;&#1089;&#1090;&#1100;"/>
+   <l:gentext key="Preface" text="&#1055;&#1088;&#1077;&#1076;&#1080;&#1089;&#1083;&#1086;&#1074;&#1080;&#1077;"/>
+   <l:gentext key="preface" text="&#1055;&#1088;&#1077;&#1076;&#1080;&#1089;&#1083;&#1086;&#1074;&#1080;&#1077;"/>
+   <l:gentext key="Procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="&#1054;&#1087;&#1091;&#1073;&#1083;&#1080;&#1082;&#1086;&#1074;&#1072;&#1085;&#1086;"/>
+   <l:gentext key="published" text="&#1054;&#1087;&#1091;&#1073;&#1083;&#1080;&#1082;&#1086;&#1074;&#1072;&#1085;&#1086;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#1042; &#1080; &#1054;"/>
+   <l:gentext key="qandadiv" text="&#1042; &#1080; &#1054;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#1042;:"/>
+   <l:gentext key="question" text="&#1042;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#1057;&#1089;&#1099;&#1083;&#1082;&#1072;"/>
+   <l:gentext key="reference" text="&#1057;&#1089;&#1099;&#1083;&#1082;&#1072;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#1053;&#1072;&#1079;&#1074;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="refname" text="&#1053;&#1072;&#1079;&#1074;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#1057;&#1080;&#1085;&#1090;&#1072;&#1082;&#1089;&#1080;&#1089;"/>
+   <l:gentext key="refsynopsisdiv" text="&#1057;&#1080;&#1085;&#1090;&#1072;&#1082;&#1089;&#1080;&#1089;"/>
+   <l:gentext key="RevHistory" text="&#1048;&#1089;&#1090;&#1086;&#1088;&#1080;&#1103; &#1087;&#1077;&#1088;&#1077;&#1080;&#1079;&#1076;&#1072;&#1085;&#1080;&#1103;"/>
+   <l:gentext key="revhistory" text="&#1048;&#1089;&#1090;&#1086;&#1088;&#1080;&#1103; &#1087;&#1077;&#1088;&#1077;&#1080;&#1079;&#1076;&#1072;&#1085;&#1080;&#1103;"/>
+   <l:gentext key="revision" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="Revision" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="sect1" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="sect2" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="sect3" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="sect4" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="sect5" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="section" text="&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="Section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="see" text="&#1057;&#1084;."/>
+   <l:gentext key="See" text="&#1057;&#1084;."/>
+   <l:gentext key="seealso" text="&#1057;&#1084;. &#1090;&#1072;&#1082;&#1078;&#1077;"/>
+   <l:gentext key="Seealso" text="&#1057;&#1084;. &#1090;&#1072;&#1082;&#1078;&#1077;"/>
+   <l:gentext key="SeeAlso" text="&#1057;&#1084;. &#1090;&#1072;&#1082;&#1078;&#1077;"/>
+   <l:gentext key="set" text="&#1055;&#1086;&#1076;&#1073;&#1086;&#1088;&#1082;&#1072;"/>
+   <l:gentext key="Set" text="&#1055;&#1086;&#1076;&#1073;&#1086;&#1088;&#1082;&#1072;"/>
+   <l:gentext key="setindex" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089; &#1087;&#1086;&#1076;&#1073;&#1086;&#1088;&#1082;&#1080;"/>
+   <l:gentext key="SetIndex" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089; &#1087;&#1086;&#1076;&#1073;&#1086;&#1088;&#1082;&#1080;"/>
+   <l:gentext key="Sidebar" text="&#1042;&#1099;&#1076;&#1077;&#1083;&#1077;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="sidebar" text="&#1074;&#1099;&#1076;&#1077;&#1083;&#1077;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="step" text="&#1096;&#1072;&#1075;"/>
+   <l:gentext key="Step" text="&#1064;&#1072;&#1075;"/>
+   <l:gentext key="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;"/>
+   <l:gentext key="Table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#1055;&#1086;&#1076;&#1089;&#1082;&#1072;&#1079;&#1082;&#1072;"/>
+   <l:gentext key="TIP" text="&#1055;&#1054;&#1044;&#1057;&#1050;&#1040;&#1047;&#1050;&#1040;"/>
+   <l:gentext key="Tip" text="&#1055;&#1086;&#1076;&#1089;&#1082;&#1072;&#1079;&#1082;&#1072;"/>
+   <l:gentext key="Warning" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="warning" text="&#1042;&#1085;&#1080;&#1084;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="WARNING" text="&#1042;&#1053;&#1048;&#1052;&#1040;&#1053;&#1048;&#1045;"/>
+   <l:gentext key="and" text="and"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="&#1055;&#1086;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1080;&#1077;&#1081;"/>
+   <l:gentext key="edited" text="&#1055;&#1086;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1080;&#1077;&#1081;"/>
+   <l:gentext key="Editedby" text="&#1055;&#1086;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1080;&#1077;&#1081;"/>
+   <l:gentext key="editedby" text="&#1055;&#1086;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1080;&#1077;&#1081;"/>
+   <l:gentext key="in" text="&#1074;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="non-existant element"/>
+   <l:gentext key="notes" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1095;&#1072;&#1085;&#1080;&#1103;"/>
+   <l:gentext key="Notes" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1095;&#1072;&#1085;&#1080;&#1103;"/>
+   <l:gentext key="Pgs" text="&#1057;&#1090;&#1088;."/>
+   <l:gentext key="pgs" text="&#1057;&#1090;&#1088;."/>
+   <l:gentext key="Revisedby" text="Revised by: "/>
+   <l:gentext key="revisedby" text="Revised by: "/>
+   <l:gentext key="TableNotes" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1095;&#1072;&#1085;&#1080;&#1103;"/>
+   <l:gentext key="tablenotes" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1095;&#1072;&#1085;&#1080;&#1103;"/>
+   <l:gentext key="TableofContents" text="&#1057;&#1086;&#1076;&#1077;&#1088;&#1078;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="tableofcontents" text="&#1057;&#1086;&#1076;&#1077;&#1088;&#1078;&#1072;&#1085;&#1080;&#1077;"/>
+   <l:gentext key="unexpectedelementname" text="unexpected element name"/>
+   <l:gentext key="unsupported" text="unsupported"/>
+   <l:gentext key="xrefto" text="xref to"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1092;&#1086;&#1088;&#1084;&#1091;&#1083;"/>
+   <l:gentext key="ListofEquations" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1092;&#1086;&#1088;&#1084;&#1091;&#1083;"/>
+   <l:gentext key="ListofExamples" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1086;&#1074;"/>
+   <l:gentext key="listofexamples" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1086;&#1074;"/>
+   <l:gentext key="ListofFigures" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1080;&#1083;&#1083;&#1102;&#1089;&#1090;&#1088;&#1072;&#1094;&#1080;&#1081;"/>
+   <l:gentext key="listoffigures" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1080;&#1083;&#1083;&#1102;&#1089;&#1090;&#1088;&#1072;&#1094;&#1080;&#1081;"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1090;&#1072;&#1073;&#1083;&#1080;&#1094;"/>
+   <l:gentext key="ListofTables" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1090;&#1072;&#1073;&#1083;&#1080;&#1094;"/>
+   <l:gentext key="ListofUnknown" text="&#1053;&#1077;&#1086;&#1087;&#1088;&#1077;&#1076;&#1077;&#1083;&#1077;&#1085;&#1085;&#1099;&#1081; &#1089;&#1087;&#1080;&#1089;&#1086;&#1082;"/>
+   <l:gentext key="listofunknown" text="&#1053;&#1077;&#1086;&#1087;&#1088;&#1077;&#1076;&#1077;&#1083;&#1077;&#1085;&#1085;&#1099;&#1081; &#1089;&#1087;&#1080;&#1089;&#1086;&#1082;"/>
+   <l:gentext key="nav-home" text="&#1053;&#1072;&#1095;&#1072;&#1083;&#1086;"/>
+   <l:gentext key="nav-next" text="&#1057;&#1083;&#1077;&#1076;."/>
+   <l:gentext key="nav-next-sibling" text="&#1057;&#1083;&#1077;&#1076;. &#1087;&#1086;&#1076;&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="nav-prev" text="&#1055;&#1088;&#1077;&#1076;."/>
+   <l:gentext key="nav-prev-sibling" text="&#1055;&#1088;&#1077;&#1076;. &#1087;&#1086;&#1076;&#1088;&#1072;&#1079;&#1076;&#1077;&#1083;"/>
+   <l:gentext key="nav-up" text="&#1059;&#1088;&#1086;&#1074;&#1077;&#1085;&#1100; &#1074;&#1099;&#1096;&#1077;"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="&#1063;&#1077;&#1088;&#1085;&#1086;&#1074;&#1080;&#1082;"/>
+   <l:gentext key="above" text="&#1074;&#1099;&#1096;&#1077;"/>
+   <l:gentext key="below" text="&#1085;&#1080;&#1078;&#1077;"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="&#1072;&#1073;&#1074;&#1075;&#1076;&#1077;&#1105;&#1078;&#1079;&#1080;&#1081;&#1082;&#1083;&#1084;&#1085;&#1086;&#1087;&#1088;&#1089;&#1090;&#1091;&#1092;&#1093;&#1094;&#1095;&#1096;&#1097;&#1098;&#1099;&#1100;&#1101;&#1102;&#1103;"/>
+   <l:gentext key="uppercase.alpha" text="&#1040;&#1041;&#1042;&#1043;&#1044;&#1045;&#1025;&#1046;&#1047;&#1048;&#1049;&#1050;&#1051;&#1052;&#1053;&#1054;&#1055;&#1056;&#1057;&#1058;&#1059;&#1060;&#1061;&#1062;&#1063;&#1064;&#1065;&#1066;&#1067;&#1068;&#1069;&#1070;&#1071;"/>
+   <l:dingbat key="startquote" text="&#171;"/>
+   <l:dingbat key="endquote" text="&#187;"/>
+   <l:dingbat key="nestedstartquote" text="&#8222;"/>
+   <l:dingbat key="nestedendquote" text="&#8220;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077; %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072; %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072; %n. %t"/>
+      <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088; %n. %t"/>
+      <l:template name="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082; %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1100; %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072; %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077; %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072; %n. %t"/>
+      <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1100;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#1054;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#1042;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#1042;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#171;%t&#187;"/>
+      <l:template name="refsection" text="&#171;%t&#187;"/>
+      <l:template name="refsect1" text="&#171;%t&#187;"/>
+      <l:template name="refsect2" text="&#171;%t&#187;"/>
+      <l:template name="refsect3" text="&#171;%t&#187;"/>
+      <l:template name="sect1" text="&#171;%t&#187;"/>
+      <l:template name="sect2" text="&#171;%t&#187;"/>
+      <l:template name="sect3" text="&#171;%t&#187;"/>
+      <l:template name="sect4" text="&#171;%t&#187;"/>
+      <l:template name="sect5" text="&#171;%t&#187;"/>
+      <l:template name="section" text="&#171;%t&#187;"/>
+      <l:template name="simplesect" text="&#171;%t&#187;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#1054;:&#160;%n"/>
+      <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;&#160;%n"/>
+      <l:template name="bridgehead" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;&#160;%n"/>
+      <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n"/>
+      <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n"/>
+      <l:template name="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;&#160;%n"/>
+      <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1100;&#160;%n"/>
+      <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="&#1042; &#1080; &#1054;&#160;%n"/>
+      <l:template name="qandaentry" text="&#1042;:&#160;%n"/>
+      <l:template name="question" text="&#1042;:&#160;%n"/>
+      <l:template name="sect1" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="sect2" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="sect3" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="sect4" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="sect5" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n"/>
+      <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#1055;&#1088;&#1080;&#1083;&#1086;&#1078;&#1077;&#1085;&#1080;&#1077;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="chapter" text="&#1043;&#1083;&#1072;&#1074;&#1072;&#160;%n, %t"/>
+      <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1100;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#171;%t&#187;"/>
+      <l:template name="qandadiv" text="&#1042; &#1080; &#1054;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="refsect1" text="the section called &#171;%t&#187;"/>
+      <l:template name="refsect2" text="the section called &#171;%t&#187;"/>
+      <l:template name="refsect3" text="the section called &#171;%t&#187;"/>
+      <l:template name="refsection" text="the section called &#171;%t&#187;"/>
+      <l:template name="sect1" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="sect2" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="sect3" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="sect4" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="sect5" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="section" text="&#1056;&#1072;&#1079;&#1076;&#1077;&#1083;&#160;%n, &#171;%t&#187;"/>
+      <l:template name="simplesect" text="the section called &#171;%t&#187;"/>
+      <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1072;&#160;%n, &#171;%t&#187;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text="  "/>
+      <l:template name="seplast" text=",  "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#1057;&#1084;. %t"/>
+      <l:template name="seealso" text="&#1057;&#1084;. &#1090;&#1072;&#1082;&#1078;&#1077; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Audience: "/>
+      <l:template name="MsgLevel" text="Level: "/>
+      <l:template name="MsgOrig" text="Origin: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="&#1103;&#1085;&#1074;&#1072;&#1088;&#1103;"/>
+      <l:template name="February" text="&#1092;&#1077;&#1074;&#1088;&#1072;&#1083;&#1103;"/>
+      <l:template name="March" text="&#1084;&#1072;&#1088;&#1090;&#1072;"/>
+      <l:template name="April" text="&#1072;&#1087;&#1088;&#1077;&#1083;&#1103;"/>
+      <l:template name="May" text="&#1084;&#1072;&#1103;"/>
+      <l:template name="June" text="&#1080;&#1102;&#1085;&#1103;"/>
+      <l:template name="July" text="&#1080;&#1102;&#1083;&#1103;"/>
+      <l:template name="August" text="&#1072;&#1074;&#1075;&#1091;&#1089;&#1090;&#1072;"/>
+      <l:template name="September" text="&#1089;&#1077;&#1085;&#1090;&#1103;&#1073;&#1088;&#1103;"/>
+      <l:template name="October" text="&#1086;&#1082;&#1090;&#1103;&#1073;&#1088;&#1103;"/>
+      <l:template name="November" text="&#1085;&#1086;&#1103;&#1073;&#1088;&#1103;"/>
+      <l:template name="December" text="&#1076;&#1077;&#1082;&#1072;&#1073;&#1088;&#1103;"/>
+      <l:template name="Monday" text="&#1087;&#1086;&#1085;&#1077;&#1076;&#1077;&#1083;&#1100;&#1085;&#1080;&#1082;"/>
+      <l:template name="Tuesday" text="&#1074;&#1090;&#1086;&#1088;&#1085;&#1080;&#1082;"/>
+      <l:template name="Wednesday" text="&#1089;&#1088;&#1077;&#1076;&#1072;"/>
+      <l:template name="Thursday" text="&#1095;&#1077;&#1090;&#1074;&#1101;&#1088;&#1075;"/>
+      <l:template name="Friday" text="&#1087;&#1103;&#1090;&#1085;&#1080;&#1094;&#1072;"/>
+      <l:template name="Saturday" text="&#1089;&#1091;&#1073;&#1073;&#1086;&#1090;&#1072;"/>
+      <l:template name="Sunday" text="&#1074;&#1086;&#1089;&#1082;&#1088;&#1077;&#1089;&#1077;&#1085;&#1100;&#1077;"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="&#1071;&#1085;&#1074;"/>
+      <l:template name="Feb" text="&#1060;&#1077;&#1074;"/>
+      <l:template name="Mar" text="&#1052;&#1072;&#1088;"/>
+      <l:template name="Apr" text="&#1040;&#1087;&#1088;"/>
+      <l:template name="May" text="&#1052;&#1072;&#1081;"/>
+      <l:template name="Jun" text="&#1048;&#1102;&#1085;"/>
+      <l:template name="Jul" text="&#1048;&#1102;&#1083;"/>
+      <l:template name="Aug" text="&#1040;&#1074;&#1075;"/>
+      <l:template name="Sep" text="&#1057;&#1077;&#1085;"/>
+      <l:template name="Oct" text="&#1054;&#1082;&#1090;"/>
+      <l:template name="Nov" text="&#1053;&#1086;&#1103;"/>
+      <l:template name="Dec" text="&#1044;&#1077;&#1082;"/>
+      <l:template name="Mon" text="&#1055;&#1085;&#1076;"/>
+      <l:template name="Tue" text="&#1042;&#1090;&#1088;"/>
+      <l:template name="Wed" text="&#1057;&#1088;&#1076;"/>
+      <l:template name="Thu" text="&#1063;&#1090;&#1074;"/>
+      <l:template name="Fri" text="&#1055;&#1090;&#1085;"/>
+      <l:template name="Sat" text="&#1057;&#1073;&#1090;"/>
+      <l:template name="Sun" text="&#1042;&#1089;&#1082;"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0419 Russian"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0"/>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="270">&#1040;</l:l>
+      <l:l i="270">&#1072;</l:l>
+      <l:l i="280">&#1041;</l:l>
+      <l:l i="280">&#1073;</l:l>
+      <l:l i="290">&#1042;</l:l>
+      <l:l i="290">&#1074;</l:l>
+      <l:l i="300">&#1043;</l:l>
+      <l:l i="300">&#1075;</l:l>
+      <l:l i="310">&#1044;</l:l>
+      <l:l i="310">&#1076;</l:l>
+      <l:l i="320">&#1045;</l:l>
+      <l:l i="320">&#1077;</l:l>
+      <l:l i="320">&#1025;</l:l>
+      <l:l i="320">&#1105;</l:l>
+      <l:l i="330">&#1046;</l:l>
+      <l:l i="330">&#1078;</l:l>
+      <l:l i="340">&#1047;</l:l>
+      <l:l i="340">&#1079;</l:l>
+      <l:l i="350">&#1048;</l:l>
+      <l:l i="350">&#1080;</l:l>
+      <l:l i="360">&#1049;</l:l>
+      <l:l i="360">&#1081;</l:l>
+      <l:l i="370">&#1050;</l:l>
+      <l:l i="370">&#1082;</l:l>
+      <l:l i="380">&#1051;</l:l>
+      <l:l i="380">&#1083;</l:l>
+      <l:l i="390">&#1052;</l:l>
+      <l:l i="390">&#1084;</l:l>
+      <l:l i="400">&#1053;</l:l>
+      <l:l i="400">&#1085;</l:l>
+      <l:l i="410">&#1054;</l:l>
+      <l:l i="410">&#1086;</l:l>
+      <l:l i="420">&#1055;</l:l>
+      <l:l i="420">&#1087;</l:l>
+      <l:l i="430">&#1056;</l:l>
+      <l:l i="430">&#1088;</l:l>
+      <l:l i="440">&#1057;</l:l>
+      <l:l i="440">&#1089;</l:l>
+      <l:l i="450">&#1058;</l:l>
+      <l:l i="450">&#1090;</l:l>
+      <l:l i="460">&#1059;</l:l>
+      <l:l i="460">&#1091;</l:l>
+      <l:l i="470">&#1060;</l:l>
+      <l:l i="470">&#1092;</l:l>
+      <l:l i="480">&#1061;</l:l>
+      <l:l i="480">&#1093;</l:l>
+      <l:l i="490">&#1062;</l:l>
+      <l:l i="490">&#1094;</l:l>
+      <l:l i="500">&#1063;</l:l>
+      <l:l i="500">&#1095;</l:l>
+      <l:l i="510">&#1064;</l:l>
+      <l:l i="510">&#1096;</l:l>
+      <l:l i="520">&#1065;</l:l>
+      <l:l i="520">&#1097;</l:l>
+      <l:l i="530">&#1066;</l:l>
+      <l:l i="530">&#1098;</l:l>
+      <l:l i="540">&#1067;</l:l>
+      <l:l i="540">&#1099;</l:l>
+      <l:l i="550">&#1068;</l:l>
+      <l:l i="550">&#1100;</l:l>
+      <l:l i="560">&#1069;</l:l>
+      <l:l i="560">&#1101;</l:l>
+      <l:l i="570">&#1070;</l:l>
+      <l:l i="570">&#1102;</l:l>
+      <l:l i="580">&#1071;</l:l>
+      <l:l i="580">&#1103;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/sk.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/sk.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/sk.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sk" english-language-name="Slovak">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/sk.xml -->
+<!-- * -->
+<!-- * E-mail the edited sk.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Abstrakt"/>
+   <l:gentext key="abstract" text="Abstrakt"/>
+   <l:gentext key="Answer" text="A:"/>
+   <l:gentext key="answer" text="A:"/>
+   <l:gentext key="Appendix" text="Dodatok"/>
+   <l:gentext key="appendix" text="dodatok"/>
+   <l:gentext key="Article" text="&#268;l&#225;nok"/>
+   <l:gentext key="article" text="&#268;l&#225;nok"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Bibliografia"/>
+   <l:gentext key="bibliography" text="Bibliografia"/>
+   <l:gentext key="Book" text="Kniha"/>
+   <l:gentext key="book" text="Kniha"/>
+   <l:gentext key="CAUTION" text="V&#221;STRAHA"/>
+   <l:gentext key="Caution" text="V&#253;straha"/>
+   <l:gentext key="caution" text="V&#253;straha"/>
+   <l:gentext key="Chapter" text="Kapitola"/>
+   <l:gentext key="chapter" text="kapitola"/>
+   <l:gentext key="Colophon" text="Tir&#225;&#382;"/>
+   <l:gentext key="colophon" text="Tir&#225;&#382;"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Venovanie"/>
+   <l:gentext key="dedication" text="Venovanie"/>
+   <l:gentext key="Edition" text="Vydanie"/>
+   <l:gentext key="edition" text="Vydanie"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Rovnica"/>
+   <l:gentext key="equation" text="Rovnica"/>
+   <l:gentext key="Example" text="Pr&#237;klad"/>
+   <l:gentext key="example" text="Pr&#237;klad"/>
+   <l:gentext key="Figure" text="Obr&#225;zok"/>
+   <l:gentext key="figure" text="Obr&#225;zok"/>
+   <l:gentext key="Glossary" text="Slovn&#237;k"/>
+   <l:gentext key="glossary" text="Slovn&#237;k"/>
+   <l:gentext key="GlossSee" text="Pozri"/>
+   <l:gentext key="glosssee" text="Pozri"/>
+   <l:gentext key="GlossSeeAlso" text="Pozri tie&#382;"/>
+   <l:gentext key="glossseealso" text="Pozri tie&#382;"/>
+   <l:gentext key="IMPORTANT" text="D&#212;LE&#381;IT&#201;"/>
+   <l:gentext key="important" text="D&#244;le&#382;it&#233;"/>
+   <l:gentext key="Important" text="D&#244;le&#382;it&#233;"/>
+   <l:gentext key="Index" text="Zoznam"/>
+   <l:gentext key="index" text="Zoznam"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Pr&#225;vna pozn&#225;mka"/>
+   <l:gentext key="legalnotice" text="Pr&#225;vna pozn&#225;mka"/>
+   <l:gentext key="MsgAud" text="Publikum"/>
+   <l:gentext key="msgaud" text="Publikum"/>
+   <l:gentext key="MsgLevel" text="&#218;rove&#328;"/>
+   <l:gentext key="msglevel" text="&#218;rove&#328;"/>
+   <l:gentext key="MsgOrig" text="P&#244;vod"/>
+   <l:gentext key="msgorig" text="P&#244;vod"/>
+   <l:gentext key="NOTE" text="POZN&#193;MKA"/>
+   <l:gentext key="Note" text="Pozn&#225;mka"/>
+   <l:gentext key="note" text="Pozn&#225;mka"/>
+   <l:gentext key="Part" text="&#268;as&#357;"/>
+   <l:gentext key="part" text="&#268;as&#357;"/>
+   <l:gentext key="Preface" text="Predslov"/>
+   <l:gentext key="preface" text="Predslov"/>
+   <l:gentext key="Procedure" text="Postup"/>
+   <l:gentext key="procedure" text="Postup"/>
+   <l:gentext key="ProductionSet" text="Produkcia"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Vydan&#233;"/>
+   <l:gentext key="published" text="Vydan&#233;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Q &amp; A"/>
+   <l:gentext key="qandadiv" text="Q &amp; A"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Q:"/>
+   <l:gentext key="question" text="Q:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Odkaz"/>
+   <l:gentext key="reference" text="Odkaz"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Meno"/>
+   <l:gentext key="refname" text="Meno"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Preh&#318;ad"/>
+   <l:gentext key="refsynopsisdiv" text="Preh&#318;ad"/>
+   <l:gentext key="RevHistory" text="Preh&#318;ad rev&#237;zi&#237;"/>
+   <l:gentext key="revhistory" text="Preh&#318;ad rev&#237;zi&#237;"/>
+   <l:gentext key="revision" text="Rev&#237;zia"/>
+   <l:gentext key="Revision" text="Rev&#237;zia"/>
+   <l:gentext key="sect1" text="Oddiel"/>
+   <l:gentext key="sect2" text="Oddiel"/>
+   <l:gentext key="sect3" text="Oddiel"/>
+   <l:gentext key="sect4" text="Oddiel"/>
+   <l:gentext key="sect5" text="Oddiel"/>
+   <l:gentext key="section" text="oddiel"/>
+   <l:gentext key="Section" text="Oddiel"/>
+   <l:gentext key="see" text="Pozri"/>
+   <l:gentext key="See" text="Pozri"/>
+   <l:gentext key="seealso" text="Pozri tie&#382;"/>
+   <l:gentext key="Seealso" text="Pozri tie&#382;"/>
+   <l:gentext key="SeeAlso" text="Pozri tie&#382;"/>
+   <l:gentext key="set" text="Nastavi&#357;"/>
+   <l:gentext key="Set" text="Nastavi&#357;"/>
+   <l:gentext key="setindex" text="nastavi&#357; index"/>
+   <l:gentext key="SetIndex" text="Nastavi&#357; index"/>
+   <l:gentext key="Sidebar" text="Margin&#225;lia"/>
+   <l:gentext key="sidebar" text="margin&#225;lia"/>
+   <l:gentext key="step" text="krok"/>
+   <l:gentext key="Step" text="Krok"/>
+   <l:gentext key="table" text="Tabu&#318;ka"/>
+   <l:gentext key="Table" text="Tabu&#318;ka"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Tip"/>
+   <l:gentext key="TIP" text="TIP"/>
+   <l:gentext key="Tip" text="Tip"/>
+   <l:gentext key="Warning" text="Varovanie"/>
+   <l:gentext key="warning" text="Varovanie"/>
+   <l:gentext key="WARNING" text="VAROVANIE"/>
+   <l:gentext key="and" text="a"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="Vydan&#233;"/>
+   <l:gentext key="edited" text="Vydan&#233;"/>
+   <l:gentext key="Editedby" text="Zostavil: "/>
+   <l:gentext key="editedby" text="Zostavil: "/>
+   <l:gentext key="in" text="v"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="neexistuj&#250;ci prvok"/>
+   <l:gentext key="notes" text="Pozn&#225;mky"/>
+   <l:gentext key="Notes" text="Pozn&#225;mky"/>
+   <l:gentext key="Pgs" text="Str."/>
+   <l:gentext key="pgs" text="Str."/>
+   <l:gentext key="Revisedby" text="Revidoval: "/>
+   <l:gentext key="revisedby" text="Revidoval: "/>
+   <l:gentext key="TableNotes" text="Pozn&#225;mky"/>
+   <l:gentext key="tablenotes" text="Pozn&#225;mky"/>
+   <l:gentext key="TableofContents" text="Obsah"/>
+   <l:gentext key="tableofcontents" text="Obsah"/>
+   <l:gentext key="unexpectedelementname" text="Neo&#269;ak&#225;van&#233; meno prvku"/>
+   <l:gentext key="unsupported" text="nepodporovan&#253;"/>
+   <l:gentext key="xrefto" text="xref k"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Zoznam rovn&#237;c"/>
+   <l:gentext key="ListofEquations" text="Zoznam rovn&#237;c"/>
+   <l:gentext key="ListofExamples" text="Zoznam pr&#237;kladov"/>
+   <l:gentext key="listofexamples" text="Zoznam pr&#237;kladov"/>
+   <l:gentext key="ListofFigures" text="Zoznam obr&#225;zkov"/>
+   <l:gentext key="listoffigures" text="Zoznam obr&#225;zkov"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Zoznam tabuliek"/>
+   <l:gentext key="ListofTables" text="Zoznam tabuliek"/>
+   <l:gentext key="ListofUnknown" text="Zoznam nezn&#225;meho"/>
+   <l:gentext key="listofunknown" text="Zoznam nezn&#225;meho"/>
+   <l:gentext key="nav-home" text="Domov"/>
+   <l:gentext key="nav-next" text="Nasleduj&#250;ci"/>
+   <l:gentext key="nav-next-sibling" text="R&#253;chlo dopredu"/>
+   <l:gentext key="nav-prev" text="Predch&#225;dzaj&#250;ci"/>
+   <l:gentext key="nav-prev-sibling" text="R&#253;chlo nazp&#228;t"/>
+   <l:gentext key="nav-up" text="Hore"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Koncept"/>
+   <l:gentext key="above" text="nad"/>
+   <l:gentext key="below" text="pod"/>
+   <l:gentext key="sectioncalled" text="oddiel nazvan&#253;"/>
+   <l:gentext key="index symbols" text="Symboly"/>
+   <l:gentext key="lowercase.alpha" text="a&#225;&#228;bc&#269;d&#271;e&#233;fghi&#237;jkl&#314;&#318;mn&#328;o&#243;&#244;pqr&#341;s&#353;t&#357;u&#250;vwxy&#253;z&#382;"/>
+   <l:gentext key="uppercase.alpha" text="A&#193;&#196;BC&#268;D&#270;E&#201;FGHI&#205;JKL&#313;&#317;MN&#327;O&#211;&#212;PQR&#340;S&#352;T&#356;U&#218;VWXY&#221;Z&#381;"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Dodatok %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Kapitola %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Rovnica %n. %t"/>
+      <l:template name="example" text="Pr&#237;klad %n. %t"/>
+      <l:template name="figure" text="Obr&#225;zok %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#268;as&#357; %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Postup&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Produkcia&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabu&#318;ka %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Dodatok %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="Kapitola %n. %t"/>
+      <l:template name="part" text="&#268;as&#357;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Q:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Q:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="Dodatok&#160;%n"/>
+      <l:template name="bridgehead" text="Oddiel&#160;%n"/>
+      <l:template name="chapter" text="Kapitola&#160;%n"/>
+      <l:template name="equation" text="Rovnica&#160;%n"/>
+      <l:template name="example" text="Pr&#237;klad&#160;%n"/>
+      <l:template name="figure" text="Obr&#225;zok&#160;%n"/>
+      <l:template name="part" text="&#268;as&#357;&#160;%n"/>
+      <l:template name="procedure" text="Postup&#160;%n"/>
+      <l:template name="productionset" text="Produkcia&#160;%n"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+      <l:template name="qandaentry" text="Q:&#160;%n"/>
+      <l:template name="question" text="Q:&#160;%n"/>
+      <l:template name="sect1" text="Oddiel&#160;%n"/>
+      <l:template name="sect2" text="Oddiel&#160;%n"/>
+      <l:template name="sect3" text="Oddiel&#160;%n"/>
+      <l:template name="sect4" text="Oddiel&#160;%n"/>
+      <l:template name="sect5" text="Oddiel&#160;%n"/>
+      <l:template name="section" text="Oddiel&#160;%n"/>
+      <l:template name="table" text="Tabu&#318;ka&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Dodatok&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Kapitola&#160;%n, %t"/>
+      <l:template name="equation" text="Rovnica&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Pr&#237;klad&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Obr&#225;zok&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#268;as&#357;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Postup&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Produkcia&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="oddiel nazvan&#253; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="oddiel nazvan&#253; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="oddiel nazvan&#253; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="oddiel nazvan&#253; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Oddiel&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="oddiel nazvan&#253; &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabu&#318;ka&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" a "/>
+      <l:template name="seplast" text=", a "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Pozri %t"/>
+      <l:template name="seealso" text="Pozri tie&#382; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Publikum: "/>
+      <l:template name="MsgLevel" text="&#218;rove&#328;: "/>
+      <l:template name="MsgOrig" text="P&#244;vod: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d.&#160;B Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="janu&#225;ra"/>
+      <l:template name="February" text="febru&#225;ra"/>
+      <l:template name="March" text="marca"/>
+      <l:template name="April" text="apr&#237;la"/>
+      <l:template name="May" text="m&#225;ja"/>
+      <l:template name="June" text="j&#250;na"/>
+      <l:template name="July" text="j&#250;la"/>
+      <l:template name="August" text="augusta"/>
+      <l:template name="September" text="septembra"/>
+      <l:template name="October" text="okt&#243;bra"/>
+      <l:template name="November" text="novembra"/>
+      <l:template name="December" text="decembra"/>
+      <l:template name="Monday" text="pondelok"/>
+      <l:template name="Tuesday" text="utorok"/>
+      <l:template name="Wednesday" text="streda"/>
+      <l:template name="Thursday" text="&#353;tvrtok"/>
+      <l:template name="Friday" text="piatok"/>
+      <l:template name="Saturday" text="sobota"/>
+      <l:template name="Sunday" text="nede&#318;a"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="jan"/>
+      <l:template name="Feb" text="feb"/>
+      <l:template name="Mar" text="mar"/>
+      <l:template name="Apr" text="apr"/>
+      <l:template name="May" text="m&#225;j"/>
+      <l:template name="Jun" text="j&#250;n"/>
+      <l:template name="Jul" text="j&#250;l"/>
+      <l:template name="Aug" text="aug"/>
+      <l:template name="Sep" text="sep"/>
+      <l:template name="Oct" text="okt"/>
+      <l:template name="Nov" text="nov"/>
+      <l:template name="Dec" text="dec"/>
+      <l:template name="Mon" text="po"/>
+      <l:template name="Tue" text="ut"/>
+      <l:template name="Wed" text="st"/>
+      <l:template name="Thu" text="&#353;t"/>
+      <l:template name="Fri" text="pi"/>
+      <l:template name="Sat" text="so"/>
+      <l:template name="Sun" text="ne"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x041b Slovak"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/sl.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/sl.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/sl.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sl" english-language-name="Slovenian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/sl.xml -->
+<!-- * -->
+<!-- * E-mail the edited sl.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Povzetek"/>
+   <l:gentext key="abstract" text="Povzetek"/>
+   <l:gentext key="Answer" text="O:"/>
+   <l:gentext key="answer" text="O:"/>
+   <l:gentext key="Appendix" text="Dodatek"/>
+   <l:gentext key="appendix" text="dodatek"/>
+   <l:gentext key="Article" text="&#268;lanek"/>
+   <l:gentext key="article" text="&#268;lanek"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Literatura"/>
+   <l:gentext key="bibliography" text="Literatura"/>
+   <l:gentext key="Book" text="Knjiga"/>
+   <l:gentext key="book" text="Knjiga"/>
+   <l:gentext key="CAUTION" text="OPOZORILO"/>
+   <l:gentext key="Caution" text="Opozorilo"/>
+   <l:gentext key="caution" text="Opozorilo"/>
+   <l:gentext key="Chapter" text="Poglavje"/>
+   <l:gentext key="chapter" text="poglavje"/>
+   <l:gentext key="Colophon" text="Kolofon"/>
+   <l:gentext key="colophon" text="Kolofon"/>
+   <l:gentext key="Copyright" text="Pravna za&#353;&#269;ita"/>
+   <l:gentext key="copyright" text="Pravna za&#353;&#269;ita"/>
+   <l:gentext key="Dedication" text="Posvetilo"/>
+   <l:gentext key="dedication" text="Posvetilo"/>
+   <l:gentext key="Edition" text="Izdaja"/>
+   <l:gentext key="edition" text="Izdaja"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Ena&#269;ba"/>
+   <l:gentext key="equation" text="Ena&#269;ba"/>
+   <l:gentext key="Example" text="Primer"/>
+   <l:gentext key="example" text="Primer"/>
+   <l:gentext key="Figure" text="Slika"/>
+   <l:gentext key="figure" text="Slika"/>
+   <l:gentext key="Glossary" text="Slovar&#269;ek"/>
+   <l:gentext key="glossary" text="Slovar&#269;ek"/>
+   <l:gentext key="GlossSee" text="glej"/>
+   <l:gentext key="glosssee" text="glej"/>
+   <l:gentext key="GlossSeeAlso" text="glej tudi"/>
+   <l:gentext key="glossseealso" text="glej tudi"/>
+   <l:gentext key="IMPORTANT" text="POMEMBNO"/>
+   <l:gentext key="important" text="Pomembno"/>
+   <l:gentext key="Important" text="Pomembno"/>
+   <l:gentext key="Index" text="Stvarno kazalo"/>
+   <l:gentext key="index" text="Stvarno kazalo"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Pravno sporo&#269;ilo"/>
+   <l:gentext key="legalnotice" text="Pravno sporo&#269;ilo"/>
+   <l:gentext key="MsgAud" text="Ob&#269;instvo"/>
+   <l:gentext key="msgaud" text="Ob&#269;instvo"/>
+   <l:gentext key="MsgLevel" text="Raven"/>
+   <l:gentext key="msglevel" text="Raven"/>
+   <l:gentext key="MsgOrig" text="Izvor"/>
+   <l:gentext key="msgorig" text="Izvor"/>
+   <l:gentext key="NOTE" text="OPOMBA"/>
+   <l:gentext key="Note" text="Opomba"/>
+   <l:gentext key="note" text="Opomba"/>
+   <l:gentext key="Part" text="Del"/>
+   <l:gentext key="part" text="Del"/>
+   <l:gentext key="Preface" text="Predgovor"/>
+   <l:gentext key="preface" text="Predgovor"/>
+   <l:gentext key="Procedure" text="Postopek"/>
+   <l:gentext key="procedure" text="Postopek"/>
+   <l:gentext key="ProductionSet" text="Izdelava"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Izdano"/>
+   <l:gentext key="published" text="Izdano"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="V in O"/>
+   <l:gentext key="qandadiv" text="V in O"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="V:"/>
+   <l:gentext key="question" text="V:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Sklic"/>
+   <l:gentext key="reference" text="Sklic"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Ime"/>
+   <l:gentext key="refname" text="Ime"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Sinopsis"/>
+   <l:gentext key="refsynopsisdiv" text="Sinopsis"/>
+   <l:gentext key="RevHistory" text="Zgodovina razli&#269;ic"/>
+   <l:gentext key="revhistory" text="Zgodovina razli&#269;ic"/>
+   <l:gentext key="revision" text="Razli&#269;ica"/>
+   <l:gentext key="Revision" text="Razli&#269;ica"/>
+   <l:gentext key="sect1" text="Razdelek"/>
+   <l:gentext key="sect2" text="Razdelek"/>
+   <l:gentext key="sect3" text="Razdelek"/>
+   <l:gentext key="sect4" text="Razdelek"/>
+   <l:gentext key="sect5" text="Razdelek"/>
+   <l:gentext key="section" text="razdelek"/>
+   <l:gentext key="Section" text="Razdelek"/>
+   <l:gentext key="see" text="glej"/>
+   <l:gentext key="See" text="glej"/>
+   <l:gentext key="seealso" text="glej tudi"/>
+   <l:gentext key="Seealso" text="Glej tudi"/>
+   <l:gentext key="SeeAlso" text="glej tudi"/>
+   <l:gentext key="set" text="Postavi"/>
+   <l:gentext key="Set" text="Postavi"/>
+   <l:gentext key="setindex" text="Postavi stvarno kazalo"/>
+   <l:gentext key="SetIndex" text="Postavi stvarno kazalo"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="korak"/>
+   <l:gentext key="Step" text="Korak"/>
+   <l:gentext key="table" text="Tabela"/>
+   <l:gentext key="Table" text="Tabela"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Namig"/>
+   <l:gentext key="TIP" text="NAMIG"/>
+   <l:gentext key="Tip" text="Namig"/>
+   <l:gentext key="Warning" text="Pozor"/>
+   <l:gentext key="warning" text="Pozor"/>
+   <l:gentext key="WARNING" text="POZOR"/>
+   <l:gentext key="and" text="in"/>
+   <l:gentext key="by" text="od"/>
+   <l:gentext key="Edited" text="Urejeno"/>
+   <l:gentext key="edited" text="Urejeno"/>
+   <l:gentext key="Editedby" text="Uredil"/>
+   <l:gentext key="editedby" text="Uredil"/>
+   <l:gentext key="in" text="v"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="neobstoje&#269;i element"/>
+   <l:gentext key="notes" text="Notes"/>
+   <l:gentext key="Notes" text="Notes"/>
+   <l:gentext key="Pgs" text="Str."/>
+   <l:gentext key="pgs" text="Str."/>
+   <l:gentext key="Revisedby" text="Pregledal: "/>
+   <l:gentext key="revisedby" text="Pregledal: "/>
+   <l:gentext key="TableNotes" text="Notes"/>
+   <l:gentext key="tablenotes" text="Notes"/>
+   <l:gentext key="TableofContents" text="Kazalo"/>
+   <l:gentext key="tableofcontents" text="Kazalo"/>
+   <l:gentext key="unexpectedelementname" text="Nepri&#269;akovano ime elementa"/>
+   <l:gentext key="unsupported" text="nepodprto"/>
+   <l:gentext key="xrefto" text="xref na"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Seznam ena&#269;b"/>
+   <l:gentext key="ListofEquations" text="Seznam ena&#269;b"/>
+   <l:gentext key="ListofExamples" text="Seznam primerov"/>
+   <l:gentext key="listofexamples" text="Seznam primerov"/>
+   <l:gentext key="ListofFigures" text="Seznam slik"/>
+   <l:gentext key="listoffigures" text="Seznam slik"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Seznam tabel"/>
+   <l:gentext key="ListofTables" text="Seznam tabel"/>
+   <l:gentext key="ListofUnknown" text="Seznam neznanih stvari"/>
+   <l:gentext key="listofunknown" text="Seznam neznanih stvari"/>
+   <l:gentext key="nav-home" text="Domov"/>
+   <l:gentext key="nav-next" text="Naprej"/>
+   <l:gentext key="nav-next-sibling" text="Hitro naprej"/>
+   <l:gentext key="nav-prev" text="Nazaj"/>
+   <l:gentext key="nav-prev-sibling" text="Hitro nazaj"/>
+   <l:gentext key="nav-up" text="Gor"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="razdelek, imenovan"/>
+   <l:gentext key="index symbols" text="Simboli"/>
+   <l:gentext key="lowercase.alpha" text="abc&#269;defghijklmnopqrs&#353;tuvwxyz&#382;"/>
+   <l:gentext key="uppercase.alpha" text="ABC&#268;DEFGHIJKLMNOPQRS&#352;TUVWXYZ&#381;"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Dodatek %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Poglavje %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Ena&#269;ba %n. %t"/>
+      <l:template name="example" text="Primer %n. %t"/>
+      <l:template name="figure" text="Slika %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Del %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Postopek %n. %t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Izdelava %n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabela %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Dodatek %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="Poglavje %n. %t"/>
+      <l:template name="part" text="Del&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="O:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="V:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="V:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="O:&#160;%n"/>
+      <l:template name="appendix" text="Dodatek&#160;%n"/>
+      <l:template name="bridgehead" text="Razdelek&#160;%n"/>
+      <l:template name="chapter" text="Poglavje&#160;%n"/>
+      <l:template name="equation" text="Ena&#269;ba&#160;%n"/>
+      <l:template name="example" text="Primer&#160;%n"/>
+      <l:template name="figure" text="Slika&#160;%n"/>
+      <l:template name="part" text="Del&#160;%n"/>
+      <l:template name="procedure" text="Postopek&#160;%n"/>
+      <l:template name="productionset" text="Izdelava&#160;%n"/>
+      <l:template name="qandadiv" text="V in O&#160;%n"/>
+      <l:template name="qandaentry" text="V:&#160;%n"/>
+      <l:template name="question" text="V:&#160;%n"/>
+      <l:template name="sect1" text="Razdelek&#160;%n"/>
+      <l:template name="sect2" text="Razdelek&#160;%n"/>
+      <l:template name="sect3" text="Razdelek&#160;%n"/>
+      <l:template name="sect4" text="Razdelek&#160;%n"/>
+      <l:template name="sect5" text="Razdelek&#160;%n"/>
+      <l:template name="section" text="Razdelek&#160;%n"/>
+      <l:template name="table" text="Tabela&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Dodatek&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Poglavje&#160;%n, %t"/>
+      <l:template name="equation" text="Ena&#269;ba&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Primer&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Slika&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Del&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Postopek&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Izdelava&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="V in O&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="razdelek, imenovan &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="razdelek, imenovan &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="razdelek, imenovan &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="razdelek, imenovan &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Razdelek&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="razdelek, imenovan &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabela&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" in "/>
+      <l:template name="seplast" text=", in "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="glej %t"/>
+      <l:template name="seealso" text="glej tudi %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Ob&#269;instvo: "/>
+      <l:template name="MsgLevel" text="Raven: "/>
+      <l:template name="MsgOrig" text="Izvor: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0424 Slovenian"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/sq.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/sq.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/sq.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sq" english-language-name="Albanian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/sq.xml -->
+<!-- * -->
+<!-- * E-mail the edited sq.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="P&#235;rshkrimi"/>
+   <l:gentext key="abstract" text="P&#235;rshkrimi"/>
+   <l:gentext key="Answer" text="P:"/>
+   <l:gentext key="answer" text="P:"/>
+   <l:gentext key="Appendix" text="Shtes&#235;"/>
+   <l:gentext key="appendix" text="Shtes&#235;"/>
+   <l:gentext key="Article" text="Artikull"/>
+   <l:gentext key="article" text="Artikull"/>
+   <l:gentext key="Author" text="Autor&#235;"/>
+   <l:gentext key="Bibliography" text="Bibliografia"/>
+   <l:gentext key="bibliography" text="Bibliografia"/>
+   <l:gentext key="Book" text="Libri"/>
+   <l:gentext key="book" text="Libri"/>
+   <l:gentext key="CAUTION" text="KUJDES"/>
+   <l:gentext key="Caution" text="Kujdes"/>
+   <l:gentext key="caution" text="Kujdes"/>
+   <l:gentext key="Chapter" text="Kapitulli"/>
+   <l:gentext key="chapter" text="kapitulli"/>
+   <l:gentext key="Colophon" text="Sh&#235;nime publikimi"/>
+   <l:gentext key="colophon" text="sh&#235;nime publikimi"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="P&#235;rkushtim"/>
+   <l:gentext key="dedication" text="P&#235;rkushtim"/>
+   <l:gentext key="Edition" text="Versioni"/>
+   <l:gentext key="edition" text="Versioni"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Ekuacion"/>
+   <l:gentext key="equation" text="Ekuacion"/>
+   <l:gentext key="Example" text="Shembull"/>
+   <l:gentext key="example" text="Shembull"/>
+   <l:gentext key="Figure" text="Figura"/>
+   <l:gentext key="figure" text="Figura"/>
+   <l:gentext key="Glossary" text="Fjalori"/>
+   <l:gentext key="glossary" text="Fjalori"/>
+   <l:gentext key="GlossSee" text="Shiko"/>
+   <l:gentext key="glosssee" text="Shiko"/>
+   <l:gentext key="GlossSeeAlso" text="Shiko Edhe"/>
+   <l:gentext key="glossseealso" text="Shiko Edhe"/>
+   <l:gentext key="IMPORTANT" text="ME R&#203;ND&#203;SI"/>
+   <l:gentext key="important" text="Me r&#235;nd&#235;si"/>
+   <l:gentext key="Important" text="Me r&#235;nd&#235;si"/>
+   <l:gentext key="Index" text="Treguesi"/>
+   <l:gentext key="index" text="Treguesi"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Sh&#235;nime Legale"/>
+   <l:gentext key="legalnotice" text="Sh&#235;nime Legale"/>
+   <l:gentext key="MsgAud" text="Publiku"/>
+   <l:gentext key="msgaud" text="Publiku"/>
+   <l:gentext key="MsgLevel" text="Niveli"/>
+   <l:gentext key="msglevel" text="Niveli"/>
+   <l:gentext key="MsgOrig" text="Origjina"/>
+   <l:gentext key="msgorig" text="Origjina"/>
+   <l:gentext key="NOTE" text="SH&#203;NIM"/>
+   <l:gentext key="Note" text="Sh&#235;nim"/>
+   <l:gentext key="note" text="Sh&#235;nim"/>
+   <l:gentext key="Part" text="Pjesa"/>
+   <l:gentext key="part" text="Pjesa"/>
+   <l:gentext key="Preface" text="Parath&#235;nie"/>
+   <l:gentext key="preface" text="Parath&#235;nie"/>
+   <l:gentext key="Procedure" text="Pro&#231;edura"/>
+   <l:gentext key="procedure" text="Pro&#231;edura"/>
+   <l:gentext key="ProductionSet" text="Prodhimi"/>
+   <l:gentext key="PubDate" text="Data Publikimit"/>
+   <l:gentext key="pubdate" text="Data e publikimit"/>
+   <l:gentext key="Published" text="Publikuar"/>
+   <l:gentext key="published" text="Publikuar"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="P &amp; P"/>
+   <l:gentext key="qandadiv" text="P &amp; P"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Q:"/>
+   <l:gentext key="question" text="Q:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Riferim"/>
+   <l:gentext key="reference" text="Riferim"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Emri"/>
+   <l:gentext key="refname" text="Emri"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="P&#235;rshkrimi"/>
+   <l:gentext key="refsynopsisdiv" text="P&#235;rshkrimi"/>
+   <l:gentext key="RevHistory" text="Ditari i Revizioneve"/>
+   <l:gentext key="revhistory" text="Ditari i Revizioneve"/>
+   <l:gentext key="revision" text="Revizioni"/>
+   <l:gentext key="Revision" text="Revizioni"/>
+   <l:gentext key="sect1" text="Seksioni"/>
+   <l:gentext key="sect2" text="Seksioni"/>
+   <l:gentext key="sect3" text="Seksioni"/>
+   <l:gentext key="sect4" text="Seksioni"/>
+   <l:gentext key="sect5" text="Seksioni"/>
+   <l:gentext key="section" text="Seksioni"/>
+   <l:gentext key="Section" text="Seksioni"/>
+   <l:gentext key="see" text="shiko"/>
+   <l:gentext key="See" text="Shiko"/>
+   <l:gentext key="seealso" text="shiko gjithashtu"/>
+   <l:gentext key="Seealso" text="Shiko gjithashtu"/>
+   <l:gentext key="SeeAlso" text="Shiko Gjithashtu"/>
+   <l:gentext key="set" text="P&#235;rmbledhje"/>
+   <l:gentext key="Set" text="P&#235;rmbledhje"/>
+   <l:gentext key="setindex" text="Treguesi i P&#235;rmbledhjes"/>
+   <l:gentext key="SetIndex" text="Treguesi i P&#235;rmbledhjes"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sh&#235;nim an&#235;sor"/>
+   <l:gentext key="step" text="hapi"/>
+   <l:gentext key="Step" text="Hapi"/>
+   <l:gentext key="table" text="Tabela"/>
+   <l:gentext key="Table" text="Tabela"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Propozim"/>
+   <l:gentext key="TIP" text="PROPOZIM"/>
+   <l:gentext key="Tip" text="Propozim"/>
+   <l:gentext key="Warning" text="Paralajm&#235;rim"/>
+   <l:gentext key="warning" text="Paralajm&#235;rim"/>
+   <l:gentext key="WARNING" text="PARALAJM&#203;RIM"/>
+   <l:gentext key="and" text="dhe"/>
+   <l:gentext key="by" text="nga"/>
+   <l:gentext key="Edited" text="Shkruar"/>
+   <l:gentext key="edited" text="Shkruar"/>
+   <l:gentext key="Editedby" text="Shkruar nga"/>
+   <l:gentext key="editedby" text="Shkruar nga"/>
+   <l:gentext key="in" text="n&#235;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="element jo ekzistues"/>
+   <l:gentext key="notes" text="Sh&#235;nime"/>
+   <l:gentext key="Notes" text="Sh&#235;nime"/>
+   <l:gentext key="Pgs" text="Fq."/>
+   <l:gentext key="pgs" text="Fq."/>
+   <l:gentext key="Revisedby" text="Rishikuar nga: "/>
+   <l:gentext key="revisedby" text="Rishikuar nga: "/>
+   <l:gentext key="TableNotes" text="Sh&#235;nime"/>
+   <l:gentext key="tablenotes" text="Sh&#235;nime"/>
+   <l:gentext key="TableofContents" text="Tabela e p&#235;rmbajtjes"/>
+   <l:gentext key="tableofcontents" text="Tabela e P&#235;rmbajtjes"/>
+   <l:gentext key="unexpectedelementname" text="Em&#235;r i papritur elementi"/>
+   <l:gentext key="unsupported" text="nuk suportohet"/>
+   <l:gentext key="xrefto" text="riferiment me"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Lista e Ekuacioneve"/>
+   <l:gentext key="ListofEquations" text="Lista e Ekuacioneve"/>
+   <l:gentext key="ListofExamples" text="Lista e Shembujve"/>
+   <l:gentext key="listofexamples" text="Lista e Shembujve"/>
+   <l:gentext key="ListofFigures" text="Lista e Figurave"/>
+   <l:gentext key="listoffigures" text="Lista e Figurave"/>
+   <l:gentext key="ListofProcedures" text="Lista e Pro&#231;edurave"/>
+   <l:gentext key="listofprocedures" text="Lista e Pro&#231;edurave"/>
+   <l:gentext key="listoftables" text="Lista e Tabelave"/>
+   <l:gentext key="ListofTables" text="Lista e Tabelave"/>
+   <l:gentext key="ListofUnknown" text="Lista e t&#235; Panjohurave"/>
+   <l:gentext key="listofunknown" text="Lista e t&#235; Panjohurave"/>
+   <l:gentext key="nav-home" text="Fillimi"/>
+   <l:gentext key="nav-next" text="Vazhdo"/>
+   <l:gentext key="nav-next-sibling" text="Para me Shpejt&#235;si"/>
+   <l:gentext key="nav-prev" text="Mbrapa"/>
+   <l:gentext key="nav-prev-sibling" text="Mbrapsht me Shpejt&#235;si"/>
+   <l:gentext key="nav-up" text="Sip&#235;r"/>
+   <l:gentext key="nav-toc" text="TeP"/>
+   <l:gentext key="Draft" text="Kopje prove"/>
+   <l:gentext key="above" text="sip&#235;r"/>
+   <l:gentext key="below" text="posht&#235;"/>
+   <l:gentext key="sectioncalled" text="seksioni i quajtur"/>
+   <l:gentext key="index symbols" text="Simbole"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Shtes&#235;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Kapitulli&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Ekuacion&#160;%n.&#160;%t"/>
+      <l:template name="example" text="Shembull&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="Figura&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Pjesa&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Pro&#231;edura&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Prodhimi&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabela&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Shtes&#235;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Kapitulli&#160;%n.&#160;%t"/>
+      <l:template name="part" text="Pjesa&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="P:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Q:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Q:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o"/>
+      <l:template name="olink.page.citation" text=" (page %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)"/>
+      <l:template name="docname" text=" in %o"/>
+      <l:template name="docnamelong" text=" in the document titled %o"/>
+      <l:template name="pageabbrev" text="(p. %p)"/>
+      <l:template name="Page" text="Page %p"/>
+      <l:template name="bridgehead" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="section" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="seksioni i quajtur &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="P:&#160;%n"/>
+      <l:template name="appendix" text="Shtes&#235;&#160;%n"/>
+      <l:template name="bridgehead" text="Seksioni&#160;%n"/>
+      <l:template name="chapter" text="Kapitulli&#160;%n"/>
+      <l:template name="equation" text="Ekuacion&#160;%n"/>
+      <l:template name="example" text="Shembull&#160;%n"/>
+      <l:template name="figure" text="Figura&#160;%n"/>
+      <l:template name="part" text="Pjesa&#160;%n"/>
+      <l:template name="procedure" text="Pro&#231;edura&#160;%n"/>
+      <l:template name="productionset" text="Prodhimi&#160;%n"/>
+      <l:template name="qandadiv" text="P &amp; P&#160;%n"/>
+      <l:template name="qandaentry" text="Q:&#160;%n"/>
+      <l:template name="question" text="Q:&#160;%n"/>
+      <l:template name="sect1" text="Seksioni&#160;%n"/>
+      <l:template name="sect2" text="Seksioni&#160;%n"/>
+      <l:template name="sect3" text="Seksioni&#160;%n"/>
+      <l:template name="sect4" text="Seksioni&#160;%n"/>
+      <l:template name="sect5" text="Seksioni&#160;%n"/>
+      <l:template name="section" text="Seksioni&#160;%n"/>
+      <l:template name="table" text="Tabela&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Shtes&#235;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Seksioni&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Kapitulli&#160;%n, %t"/>
+      <l:template name="equation" text="Ekuacion&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Shembull&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Figura&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Pjesa&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Pro&#231;edura&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Prodhimi&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="P &amp; P&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Seksioni&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Seksioni&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Seksioni&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Seksioni&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Seksioni&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Seksioni&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="seksioni i quajtur &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabela&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" dhe "/>
+      <l:template name="seplast" text=", dhe "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Shiko %t"/>
+      <l:template name="seealso" text="Shiko Edhe %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Publiku: "/>
+      <l:template name="MsgLevel" text="Niveli: "/>
+      <l:template name="MsgOrig" text="Origjina: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d/m/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="Janar"/>
+      <l:template name="February" text="Shkurt"/>
+      <l:template name="March" text="Mars"/>
+      <l:template name="April" text="Prill"/>
+      <l:template name="May" text="Maj"/>
+      <l:template name="June" text="Qershor"/>
+      <l:template name="July" text="Korrik"/>
+      <l:template name="August" text="Gusht"/>
+      <l:template name="September" text="Shtator"/>
+      <l:template name="October" text="Tetor"/>
+      <l:template name="November" text="N&#235;ntor"/>
+      <l:template name="December" text="Dhjetor"/>
+      <l:template name="Monday" text="E h&#235;n&#235;"/>
+      <l:template name="Tuesday" text="E mart&#235;"/>
+      <l:template name="Wednesday" text="E m&#235;rkur&#235;"/>
+      <l:template name="Thursday" text="E enjte"/>
+      <l:template name="Friday" text="E premte"/>
+      <l:template name="Saturday" text="E shtun&#235;"/>
+      <l:template name="Sunday" text="E djel&#235;"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan"/>
+      <l:template name="Feb" text="Shk"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Pri"/>
+      <l:template name="May" text="Maj"/>
+      <l:template name="Jun" text="Qer"/>
+      <l:template name="Jul" text="Kor"/>
+      <l:template name="Aug" text="Gsh"/>
+      <l:template name="Sep" text="Sht"/>
+      <l:template name="Oct" text="Tet"/>
+      <l:template name="Nov" text="N&#235;n"/>
+      <l:template name="Dec" text="Dhj"/>
+      <l:template name="Mon" text="H&#235;n"/>
+      <l:template name="Tue" text="Mar"/>
+      <l:template name="Wed" text="M&#235;r"/>
+      <l:template name="Thu" text="Enj"/>
+      <l:template name="Fri" text="Pre"/>
+      <l:template name="Sat" text="Sht"/>
+      <l:template name="Sun" text="Dje"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x041c Albanian (ALBANIA)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/sr.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/sr.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/sr.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sr" english-language-name="Serbian in Cyrillic script">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/sr.xml -->
+<!-- * -->
+<!-- * E-mail the edited sr.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#1055;&#1088;&#1077;&#1075;&#1083;&#1077;&#1076;"/>
+   <l:gentext key="abstract" text="&#1087;&#1088;&#1077;&#1075;&#1083;&#1077;&#1076;"/>
+   <l:gentext key="Answer" text="&#1054;:"/>
+   <l:gentext key="answer" text="&#1086;:"/>
+   <l:gentext key="Appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1072;&#1082;"/>
+   <l:gentext key="appendix" text="&#1076;&#1086;&#1076;&#1072;&#1090;&#1072;&#1082;"/>
+   <l:gentext key="Article" text="&#1063;&#1083;&#1072;&#1085;&#1072;&#1082;"/>
+   <l:gentext key="article" text="&#1095;&#1083;&#1072;&#1085;&#1072;&#1082;"/>
+   <l:gentext key="Author" text="&#1040;&#1091;&#1090;&#1086;&#1088;"/>
+   <l:gentext key="Bibliography" text="&#1051;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="bibliography" text="&#1083;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="Book" text="&#1050;&#1114;&#1080;&#1075;&#1072;"/>
+   <l:gentext key="book" text="&#1082;&#1114;&#1080;&#1075;&#1072;"/>
+   <l:gentext key="CAUTION" text="&#1059;&#1055;&#1054;&#1047;&#1054;&#1056;&#1045;&#1034;&#1045;"/>
+   <l:gentext key="Caution" text="&#1059;&#1087;&#1086;&#1079;&#1086;&#1088;&#1077;&#1114;&#1077;"/>
+   <l:gentext key="caution" text="&#1091;&#1087;&#1086;&#1079;&#1086;&#1088;&#1077;&#1114;&#1077;"/>
+   <l:gentext key="Chapter" text="&#1055;&#1086;&#1075;&#1083;&#1072;&#1074;&#1113;&#1077;"/>
+   <l:gentext key="chapter" text="&#1087;&#1086;&#1075;&#1083;&#1072;&#1074;&#1113;&#1077;"/>
+   <l:gentext key="Colophon" text="Colophon" lang="en"/>
+   <l:gentext key="colophon" text="Colophon" lang="en"/>
+   <l:gentext key="Copyright" text="Copyright" lang="en"/>
+   <l:gentext key="copyright" text="Copyright" lang="en"/>
+   <l:gentext key="Dedication" text="&#1055;&#1086;&#1089;&#1074;&#1077;&#1090;&#1072;"/>
+   <l:gentext key="dedication" text="&#1087;&#1086;&#1089;&#1074;&#1077;&#1090;&#1072;"/>
+   <l:gentext key="Edition" text="&#1048;&#1079;&#1076;&#1072;&#1114;&#1077;"/>
+   <l:gentext key="edition" text="&#1080;&#1079;&#1076;&#1072;&#1114;&#1077;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#1032;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;"/>
+   <l:gentext key="equation" text="&#1112;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;"/>
+   <l:gentext key="Example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;"/>
+   <l:gentext key="example" text="&#1087;&#1088;&#1080;&#1084;&#1077;&#1088;"/>
+   <l:gentext key="Figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="figure" text="&#1092;&#1080;&#1075;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="Glossary" text="&#1056;&#1077;&#1095;&#1085;&#1080;&#1082;"/>
+   <l:gentext key="glossary" text="&#1088;&#1077;&#1095;&#1085;&#1080;&#1082;"/>
+   <l:gentext key="GlossSee" text="&#1042;&#1080;&#1076;&#1080;"/>
+   <l:gentext key="glosssee" text="&#1074;&#1080;&#1076;&#1080;"/>
+   <l:gentext key="GlossSeeAlso" text="&#1042;&#1080;&#1076;&#1080;  &#1090;&#1072;&#1082;&#1086;&#1106;&#1077;"/>
+   <l:gentext key="glossseealso" text="&#1074;&#1080;&#1076;&#1080;  &#1090;&#1072;&#1082;&#1086;&#1106;&#1077;"/>
+   <l:gentext key="IMPORTANT" text="&#1042;&#1040;&#1046;&#1053;&#1054;"/>
+   <l:gentext key="important" text="&#1074;&#1072;&#1078;&#1085;&#1086;"/>
+   <l:gentext key="Important" text="&#1042;&#1072;&#1078;&#1085;&#1086;"/>
+   <l:gentext key="Index" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089;"/>
+   <l:gentext key="index" text="&#1080;&#1085;&#1076;&#1077;&#1082;&#1089;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Legal Notice" lang="en"/>
+   <l:gentext key="legalnotice" text="Legal Notice" lang="en"/>
+   <l:gentext key="MsgAud" text="&#1055;&#1091;&#1073;&#1083;&#1080;&#1082;&#1072;"/>
+   <l:gentext key="msgaud" text="&#1087;&#1091;&#1073;&#1083;&#1080;&#1082;&#1072;"/>
+   <l:gentext key="MsgLevel" text="&#1053;&#1080;&#1074;&#1086;"/>
+   <l:gentext key="msglevel" text="&#1085;&#1080;&#1074;&#1086;"/>
+   <l:gentext key="MsgOrig" text="&#1048;&#1079;&#1074;&#1086;&#1088;"/>
+   <l:gentext key="msgorig" text="&#1080;&#1079;&#1074;&#1086;&#1088;"/>
+   <l:gentext key="NOTE" text="&#1055;&#1056;&#1048;&#1052;&#1045;&#1044;&#1041;&#1040;"/>
+   <l:gentext key="Note" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1076;&#1073;&#1072;"/>
+   <l:gentext key="note" text="&#1087;&#1088;&#1080;&#1084;&#1077;&#1076;&#1073;&#1072;"/>
+   <l:gentext key="Part" text="&#1044;&#1077;&#1086;"/>
+   <l:gentext key="part" text="&#1076;&#1077;&#1086;"/>
+   <l:gentext key="Preface" text="&#1055;&#1088;&#1077;&#1076;&#1075;&#1086;&#1074;&#1086;&#1088;"/>
+   <l:gentext key="preface" text="&#1087;&#1088;&#1077;&#1076;&#1075;&#1086;&#1074;&#1086;&#1088;"/>
+   <l:gentext key="Procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="procedure" text="&#1087;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="ProductionSet" text="Production" lang="en"/>
+   <l:gentext key="PubDate" text="&#1044;&#1072;&#1090;&#1091;&#1084;  &#1080;&#1079;&#1076;&#1072;&#1074;&#1072;&#1114;&#1072;"/>
+   <l:gentext key="pubdate" text="&#1076;&#1072;&#1090;&#1091;&#1084;  &#1080;&#1079;&#1076;&#1072;&#1074;&#1072;&#1114;&#1072;"/>
+   <l:gentext key="Published" text="&#1048;&#1079;&#1076;&#1072;&#1085;&#1086;"/>
+   <l:gentext key="published" text="&#1080;&#1079;&#1076;&#1072;&#1085;&#1086;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#1055; &#1080; &#1054;"/>
+   <l:gentext key="qandadiv" text="&#1087; &#1080; &#1086;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#1055;:"/>
+   <l:gentext key="question" text="&#1087;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#1056;&#1077;&#1092;&#1077;&#1088;&#1077;&#1085;&#1094;&#1072;"/>
+   <l:gentext key="reference" text="&#1088;&#1077;&#1092;&#1077;&#1088;&#1077;&#1085;&#1094;&#1072;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#1048;&#1084;&#1077;"/>
+   <l:gentext key="refname" text="&#1080;&#1084;&#1077;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#1050;&#1088;&#1072;&#1090;&#1072;&#1082;  &#1089;&#1072;&#1076;&#1088;&#1078;&#1072;&#1112;"/>
+   <l:gentext key="refsynopsisdiv" text="&#1082;&#1088;&#1072;&#1090;&#1072;&#1082;  &#1089;&#1072;&#1076;&#1088;&#1078;&#1072;&#1112;"/>
+   <l:gentext key="RevHistory" text="&#1048;&#1089;&#1090;&#1086;&#1088;&#1080;&#1112;&#1072;  &#1088;&#1077;&#1074;&#1080;&#1079;&#1080;&#1112;&#1072;"/>
+   <l:gentext key="revhistory" text="&#1080;&#1089;&#1090;&#1086;&#1088;&#1080;&#1112;&#1072;  &#1088;&#1077;&#1074;&#1080;&#1079;&#1080;&#1112;&#1072;"/>
+   <l:gentext key="revision" text="&#1088;&#1077;&#1074;&#1080;&#1079;&#1080;&#1112;&#1072;"/>
+   <l:gentext key="Revision" text="&#1056;&#1077;&#1074;&#1080;&#1079;&#1080;&#1112;&#1072;"/>
+   <l:gentext key="sect1" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+   <l:gentext key="sect2" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+   <l:gentext key="sect3" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+   <l:gentext key="sect4" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+   <l:gentext key="sect5" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+   <l:gentext key="section" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+   <l:gentext key="Section" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+   <l:gentext key="see" text="&#1074;&#1080;&#1076;&#1080;"/>
+   <l:gentext key="See" text="&#1042;&#1080;&#1076;&#1080;"/>
+   <l:gentext key="seealso" text="&#1074;&#1080;&#1076;&#1080;  &#1090;&#1072;&#1082;&#1086;&#1106;&#1077;"/>
+   <l:gentext key="Seealso" text="&#1042;&#1080;&#1076;&#1080;  &#1090;&#1072;&#1082;&#1086;&#1106;&#1077;"/>
+   <l:gentext key="SeeAlso" text="&#1042;&#1080;&#1076;&#1080;  &#1090;&#1072;&#1082;&#1086;&#1106;&#1077;"/>
+   <l:gentext key="set" text="&#1089;&#1082;&#1091;&#1087;"/>
+   <l:gentext key="Set" text="&#1057;&#1082;&#1091;&#1087;"/>
+   <l:gentext key="setindex" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089;  &#1089;&#1082;&#1091;&#1087;&#1072;"/>
+   <l:gentext key="SetIndex" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089;  &#1089;&#1082;&#1091;&#1087;&#1072;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="&#1087;&#1086;&#1074;&#1088;&#1096;  &#1087;&#1086;&#1089;&#1090;&#1088;&#1072;&#1085;&#1094;&#1077;"/>
+   <l:gentext key="step" text="&#1082;&#1086;&#1088;&#1072;&#1082;"/>
+   <l:gentext key="Step" text="&#1050;&#1086;&#1088;&#1072;&#1082;"/>
+   <l:gentext key="table" text="&#1090;&#1072;&#1073;&#1077;&#1083;&#1072;"/>
+   <l:gentext key="Table" text="&#1058;&#1072;&#1073;&#1077;&#1083;&#1072;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#1089;&#1072;&#1074;&#1077;&#1090;"/>
+   <l:gentext key="TIP" text="&#1057;&#1040;&#1042;&#1045;&#1058;"/>
+   <l:gentext key="Tip" text="&#1057;&#1072;&#1074;&#1077;&#1090;"/>
+   <l:gentext key="Warning" text="&#1059;&#1087;&#1086;&#1079;&#1086;&#1088;&#1077;&#1114;&#1077;"/>
+   <l:gentext key="warning" text="&#1091;&#1087;&#1086;&#1079;&#1086;&#1088;&#1077;&#1114;&#1077;"/>
+   <l:gentext key="WARNING" text="&#1059;&#1055;&#1054;&#1047;&#1054;&#1056;&#1045;&#1034;&#1045;"/>
+   <l:gentext key="and" text="&#1080;"/>
+   <l:gentext key="by" text="&#1086;&#1076;"/>
+   <l:gentext key="Edited" text="&#1059;&#1088;&#1077;&#1106;&#1077;&#1085;&#1086;"/>
+   <l:gentext key="edited" text="&#1091;&#1088;&#1077;&#1106;&#1077;&#1085;&#1086;"/>
+   <l:gentext key="Editedby" text="&#1059;&#1088;&#1077;&#1076;&#1080;&#1086;(&#1083;&#1072;)"/>
+   <l:gentext key="editedby" text="&#1059;&#1088;&#1077;&#1076;&#1080;&#1086;(&#1083;&#1072;)"/>
+   <l:gentext key="in" text="&#1091;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#1085;&#1077;&#1087;&#1086;&#1089;&#1090;&#1086;&#1112;&#1077;&#1115;&#1080;  &#1077;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;"/>
+   <l:gentext key="notes" text="&#1087;&#1088;&#1080;&#1084;&#1077;&#1076;&#1073;&#1077;"/>
+   <l:gentext key="Notes" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1076;&#1073;&#1077;"/>
+   <l:gentext key="Pgs" text="&#1057;&#1090;&#1088;."/>
+   <l:gentext key="pgs" text="&#1089;&#1090;&#1088;."/>
+   <l:gentext key="Revisedby" text="&#1055;&#1088;&#1077;&#1075;&#1083;&#1077;&#1076;&#1072;&#1086;(&#1083;&#1072;):  "/>
+   <l:gentext key="revisedby" text="&#1087;&#1088;&#1077;&#1075;&#1083;&#1077;&#1076;&#1072;&#1086;(&#1083;&#1072;):  "/>
+   <l:gentext key="TableNotes" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1076;&#1073;&#1077;"/>
+   <l:gentext key="tablenotes" text="&#1087;&#1088;&#1080;&#1084;&#1077;&#1076;&#1073;&#1077;"/>
+   <l:gentext key="TableofContents" text="&#1057;&#1072;&#1076;&#1088;&#1078;&#1072;&#1112;"/>
+   <l:gentext key="tableofcontents" text="&#1089;&#1072;&#1076;&#1088;&#1078;&#1072;&#1112;"/>
+   <l:gentext key="unexpectedelementname" text="&#1085;&#1077;&#1086;&#1095;&#1077;&#1082;&#1080;&#1074;&#1072;&#1085;&#1086;  &#1080;&#1084;&#1077;  &#1077;&#1083;&#1077;&#1084;&#1077;&#1085;&#1090;&#1072;"/>
+   <l:gentext key="unsupported" text="&#1085;&#1080;&#1112;&#1077;  &#1087;&#1086;&#1076;&#1088;&#1078;&#1072;&#1085;&#1086;"/>
+   <l:gentext key="xrefto" text="&#1091;&#1085;&#1072;&#1082;&#1088;&#1089;&#1085;&#1072;  &#1088;&#1077;&#1092;&#1077;&#1088;&#1077;&#1085;&#1094;&#1072;  &#1085;&#1072;"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#1083;&#1080;&#1089;&#1090;&#1072;  &#1112;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;"/>
+   <l:gentext key="ListofEquations" text="&#1051;&#1080;&#1089;&#1090;&#1072;  &#1112;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;"/>
+   <l:gentext key="ListofExamples" text="&#1051;&#1080;&#1089;&#1090;&#1072;  &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1072;"/>
+   <l:gentext key="listofexamples" text="&#1083;&#1080;&#1089;&#1090;&#1072;  &#1087;&#1088;&#1080;&#1084;&#1077;&#1088;&#1072;"/>
+   <l:gentext key="ListofFigures" text="&#1051;&#1080;&#1089;&#1090;&#1072;  &#1092;&#1080;&#1075;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="listoffigures" text="&#1083;&#1080;&#1089;&#1090;&#1072;  &#1092;&#1080;&#1075;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="ListofProcedures" text="&#1051;&#1080;&#1089;&#1090;&#1072;  &#1087;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="listofprocedures" text="&#1083;&#1080;&#1089;&#1090;&#1072;  &#1087;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="listoftables" text="&#1083;&#1080;&#1089;&#1090;&#1072;  &#1090;&#1072;&#1073;&#1077;&#1083;&#1072;"/>
+   <l:gentext key="ListofTables" text="&#1051;&#1080;&#1089;&#1090;&#1072;  &#1090;&#1072;&#1073;&#1077;&#1083;&#1072;"/>
+   <l:gentext key="ListofUnknown" text="&#1051;&#1080;&#1089;&#1090;&#1072;  &#1085;&#1077;&#1087;&#1086;&#1079;&#1085;&#1072;&#1090;&#1080;&#1093;"/>
+   <l:gentext key="listofunknown" text="&#1083;&#1080;&#1089;&#1090;&#1072;  &#1085;&#1077;&#1087;&#1086;&#1079;&#1085;&#1072;&#1090;&#1080;&#1093;"/>
+   <l:gentext key="nav-home" text="&#1055;&#1086;&#1095;&#1077;&#1090;&#1072;&#1082;"/>
+   <l:gentext key="nav-next" text="&#1057;&#1083;&#1077;&#1076;&#1077;&#1115;&#1077;"/>
+   <l:gentext key="nav-next-sibling" text="&#1041;&#1088;&#1079;&#1086;  &#1085;&#1072;&#1087;&#1088;&#1077;&#1076;"/>
+   <l:gentext key="nav-prev" text="&#1055;&#1088;&#1077;&#1090;&#1093;&#1086;&#1076;&#1085;&#1086;"/>
+   <l:gentext key="nav-prev-sibling" text="&#1041;&#1088;&#1079;&#1086;  &#1085;&#1072;&#1079;&#1072;&#1076;"/>
+   <l:gentext key="nav-up" text="&#1042;&#1088;&#1093;"/>
+   <l:gentext key="nav-toc" text="&#1057;&#1072;&#1076;&#1088;."/>
+   <l:gentext key="Draft" text="&#1053;&#1072;&#1094;&#1088;&#1090;"/>
+   <l:gentext key="above" text="&#1080;&#1079;&#1085;&#1072;&#1076;"/>
+   <l:gentext key="below" text="&#1080;&#1089;&#1087;&#1086;&#1076;"/>
+   <l:gentext key="sectioncalled" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076;  &#1080;&#1084;&#1077;&#1085;&#1086;&#1084;"/>
+   <l:gentext key="index symbols" text="&#1057;&#1080;&#1084;&#1073;&#1086;&#1083;&#1080;"/>
+   <l:gentext key="lowercase.alpha" text="&#1072;&#1073;&#1074;&#1075;&#1076;&#1106;&#1077;&#1078;&#1079;&#1080;&#1112;&#1082;&#1083;&#1113;&#1084;&#1085;&#1114;&#1086;&#1087;&#1088;&#1089;&#1090;&#1115;&#1091;&#1092;&#1093;&#1094;&#1095;&#1119;&#1096;"/>
+   <l:gentext key="uppercase.alpha" text="&#1040;&#1041;&#1042;&#1043;&#1044;&#1026;&#1045;&#1046;&#1047;&#1048;&#1032;&#1050;&#1051;&#1033;&#1052;&#1053;&#1034;&#1054;&#1055;&#1056;&#1057;&#1058;&#1035;&#1059;&#1060;&#1061;&#1062;&#1063;&#1039;&#1064;"/>
+   <l:dingbat key="startquote" text="&#8222;"/>
+   <l:dingbat key="endquote" text="&#8220;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="&#1080;&#1084;&#1077;-&#1087;&#1088;&#1077;&#1079;&#1080;&#1084;&#1077;"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1072;&#1082;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#1055;&#1086;&#1075;&#1083;&#1072;&#1074;&#1113;&#1077;&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#1032;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;&#160;%n.&#160;%t"/>
+      <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#1044;&#1077;&#1086;&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n&#34; &#xA;lang=&#34;en"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#1058;&#1072;&#1073;&#1077;&#1083;&#1072;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1072;&#1082;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#1055;&#1086;&#1075;&#1083;&#1072;&#1074;&#1113;&#1077;&#160;%n.&#160;%t"/>
+      <l:template name="part" text="&#1044;&#1077;&#1086;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#1054;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#1055;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#1055;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(&#1089;&#1090;&#1088;&#1072;&#1085;&#1072; %p)"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(&#1089;&#1090;&#1088;. %p)"/>
+      <l:template name="Page" text="&#1057;&#1090;&#1088;&#1072;&#1085;&#1072; %p"/>
+      <l:template name="bridgehead" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="refsection" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="refsect1" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="refsect2" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="refsect3" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="sect1" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="sect2" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="sect3" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="sect4" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="sect5" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="section" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="simplesect" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#1054;:&#160;%n"/>
+      <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1072;&#1082;&#160;%n"/>
+      <l:template name="bridgehead" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+      <l:template name="chapter" text="&#1055;&#1086;&#1075;&#1083;&#1072;&#1074;&#1113;&#1077;&#160;%n"/>
+      <l:template name="equation" text="&#1032;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;&#160;%n"/>
+      <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n"/>
+      <l:template name="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;&#160;%n"/>
+      <l:template name="part" text="&#1044;&#1077;&#1086;&#160;%n"/>
+      <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n&#34; lang=&#34;en"/>
+      <l:template name="qandadiv" text="&#1055; &#1080; &#1054;&#160;%n"/>
+      <l:template name="qandaentry" text="&#1055;:&#160;%n"/>
+      <l:template name="question" text="&#1055;:&#160;%n"/>
+      <l:template name="sect1" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+      <l:template name="sect2" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+      <l:template name="sect3" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+      <l:template name="sect4" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+      <l:template name="sect5" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+      <l:template name="section" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n"/>
+      <l:template name="table" text="&#1058;&#1072;&#1073;&#1077;&#1083;&#1072;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1072;&#1082;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+      <l:template name="chapter" text="&#1055;&#1086;&#1075;&#1083;&#1072;&#1074;&#1113;&#1077;&#160;%n, &#xA;%t"/>
+      <l:template name="equation" text="&#1032;&#1077;&#1076;&#1085;&#1072;&#1095;&#1080;&#1085;&#1072;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+      <l:template name="example" text="&#1055;&#1088;&#1080;&#1084;&#1077;&#1088;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+      <l:template name="figure" text="&#1060;&#1080;&#1075;&#1091;&#1088;&#1072;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+      <l:template name="part" text="&#1044;&#1077;&#1086;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+      <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#xA;&#8222;%t&#8220;&#34; lang=&#34;en"/>
+      <l:template name="qandadiv" text="&#1055; &#1080; &#1054;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+      <l:template name="refsect1" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="refsect2" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="refsect3" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="refsection" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="sect1" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+      <l:template name="sect2" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+      <l:template name="sect3" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+      <l:template name="sect4" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+      <l:template name="sect5" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+      <l:template name="section" text="&#1054;&#1076;&#1077;&#1113;&#1072;&#1082;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+      <l:template name="simplesect" text="&#1086;&#1076;&#1077;&#1113;&#1072;&#1082; &#1087;&#1086;&#1076; &#xA;&#1080;&#1084;&#1077;&#1085;&#1086;&#1084; &#8222;%t&#8220;"/>
+      <l:template name="table" text="&#1058;&#1072;&#1073;&#1077;&#1083;&#1072;&#160;%n, &#xA;&#8222;%t&#8220;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#1080; "/>
+      <l:template name="seplast" text=", &#1080; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#1042;&#1080;&#1076;&#1080; %t"/>
+      <l:template name="seealso" text="&#1042;&#1080;&#1076;&#1080; &#xA;&#1090;&#1072;&#1082;&#1086;&#1106;&#1077; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#1055;&#1091;&#1073;&#1083;&#1080;&#1082;&#1072;: "/>
+      <l:template name="MsgLevel" text="&#1053;&#1080;&#1074;&#1086;: "/>
+      <l:template name="MsgOrig" text="&#1048;&#1079;&#1074;&#1086;&#1088;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d.m.Y."/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="&#1112;&#1072;&#1085;&#1091;&#1072;&#1088;"/>
+      <l:template name="February" text="&#1092;&#1077;&#1073;&#1088;&#1091;&#1072;&#1088;"/>
+      <l:template name="March" text="&#1084;&#1072;&#1088;&#1090;"/>
+      <l:template name="April" text="&#1072;&#1087;&#1088;&#1080;&#1083;"/>
+      <l:template name="May" text="&#1084;&#1072;&#1112;"/>
+      <l:template name="June" text="&#1112;&#1091;&#1085;"/>
+      <l:template name="July" text="&#1112;&#1091;&#1083;"/>
+      <l:template name="August" text="&#1072;&#1074;&#1075;&#1091;&#1089;&#1090;"/>
+      <l:template name="September" text="&#1089;&#1077;&#1087;&#1090;&#1077;&#1084;&#1073;&#1072;&#1088;"/>
+      <l:template name="October" text="&#1086;&#1082;&#1090;&#1086;&#1073;&#1072;&#1088;"/>
+      <l:template name="November" text="&#1085;&#1086;&#1074;&#1077;&#1084;&#1073;&#1072;&#1088;"/>
+      <l:template name="December" text="&#1076;&#1077;&#1094;&#1077;&#1084;&#1073;&#1072;&#1088;"/>
+      <l:template name="Monday" text="&#1087;&#1086;&#1085;&#1077;&#1076;&#1077;&#1113;&#1072;&#1082;"/>
+      <l:template name="Tuesday" text="&#1091;&#1090;&#1086;&#1088;&#1072;&#1082;"/>
+      <l:template name="Wednesday" text="&#1089;&#1088;&#1077;&#1076;&#1072;"/>
+      <l:template name="Thursday" text="&#1095;&#1077;&#1090;&#1074;&#1088;&#1090;&#1072;&#1082;"/>
+      <l:template name="Friday" text="&#1087;&#1077;&#1090;&#1072;&#1082;"/>
+      <l:template name="Saturday" text="&#1089;&#1091;&#1073;&#1086;&#1090;&#1072;"/>
+      <l:template name="Sunday" text="&#1085;&#1077;&#1076;&#1077;&#1113;&#1072;"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="&#1112;&#1072;&#1085;"/>
+      <l:template name="Feb" text="&#1092;&#1077;&#1073;"/>
+      <l:template name="Mar" text="&#1084;&#1072;&#1088;"/>
+      <l:template name="Apr" text="&#1072;&#1087;&#1088;"/>
+      <l:template name="May" text="&#1084;&#1072;&#1112;"/>
+      <l:template name="Jun" text="&#1112;&#1091;&#1085;"/>
+      <l:template name="Jul" text="&#1112;&#1091;&#1083;"/>
+      <l:template name="Aug" text="&#1072;&#1074;&#1075;"/>
+      <l:template name="Sep" text="&#1089;&#1077;&#1087;"/>
+      <l:template name="Oct" text="&#1086;&#1082;&#1090;"/>
+      <l:template name="Nov" text="&#1085;&#1086;&#1074;"/>
+      <l:template name="Dec" text="&#1076;&#1077;&#1094;"/>
+      <l:template name="Mon" text="&#1087;&#1086;&#1085;"/>
+      <l:template name="Tue" text="&#1091;&#1090;&#1086;"/>
+      <l:template name="Wed" text="&#1089;&#1088;&#1077;"/>
+      <l:template name="Thu" text="&#1095;&#1077;&#1090;"/>
+      <l:template name="Fri" text="&#1087;&#1077;&#1090;"/>
+      <l:template name="Sat" text="&#1089;&#1091;&#1073;"/>
+      <l:template name="Sun" text="&#1085;&#1077;&#1076;"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0C1A Serbian (Cyrillic)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/sr_Latn.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/sr_Latn.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/sr_Latn.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sr_latn" english-language-name="Serbian in Latin script">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/sr_Latn.xml -->
+<!-- * -->
+<!-- * E-mail the edited sr_Latn.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Pregled"/>
+   <l:gentext key="abstract" text="Pregled"/>
+   <l:gentext key="Answer" text="O:"/>
+   <l:gentext key="answer" text="O:"/>
+   <l:gentext key="Appendix" text="Dodatak"/>
+   <l:gentext key="appendix" text="dodatak"/>
+   <l:gentext key="Article" text="&#268;lanak"/>
+   <l:gentext key="article" text="&#268;lanak"/>
+   <l:gentext key="Author" text="Autor"/>
+   <l:gentext key="Bibliography" text="Literatura"/>
+   <l:gentext key="bibliography" text="Literatura"/>
+   <l:gentext key="Book" text="Knjiga"/>
+   <l:gentext key="book" text="Knjiga"/>
+   <l:gentext key="CAUTION" text="UPOZORENJE"/>
+   <l:gentext key="Caution" text="Upozorenje"/>
+   <l:gentext key="caution" text="Upozorenje"/>
+   <l:gentext key="Chapter" text="Poglavlje"/>
+   <l:gentext key="chapter" text="poglavlje"/>
+   <l:gentext key="Colophon" text="Kolofon"/>
+   <l:gentext key="colophon" text="Kolofon"/>
+   <l:gentext key="Copyright" text="Pravna za&#353;tita"/>
+   <l:gentext key="copyright" text="Pravna za&#353;tita"/>
+   <l:gentext key="Dedication" text="Posveta"/>
+   <l:gentext key="dedication" text="Posveta"/>
+   <l:gentext key="Edition" text="Izdanje"/>
+   <l:gentext key="edition" text="Izdanje"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Jedna&#269;ina"/>
+   <l:gentext key="equation" text="Jedna&#269;ina"/>
+   <l:gentext key="Example" text="Primer"/>
+   <l:gentext key="example" text="Primer"/>
+   <l:gentext key="Figure" text="Slika"/>
+   <l:gentext key="figure" text="Slika"/>
+   <l:gentext key="Glossary" text="Re&#269;nik"/>
+   <l:gentext key="glossary" text="Re&#269;nik"/>
+   <l:gentext key="GlossSee" text="Vidi"/>
+   <l:gentext key="glosssee" text="Vidi"/>
+   <l:gentext key="GlossSeeAlso" text="Vidi tako&#273;e"/>
+   <l:gentext key="glossseealso" text="Vidi tako&#273;e"/>
+   <l:gentext key="IMPORTANT" text="VA&#381;NO"/>
+   <l:gentext key="important" text="Va&#382;no"/>
+   <l:gentext key="Important" text="Va&#382;no"/>
+   <l:gentext key="Index" text="Indeks"/>
+   <l:gentext key="index" text="Indeks"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Pravno obave&#353;tenje"/>
+   <l:gentext key="legalnotice" text="Pravno obave&#353;tenje"/>
+   <l:gentext key="MsgAud" text="MsgAud"/>
+   <l:gentext key="msgaud" text="MsgAud"/>
+   <l:gentext key="MsgLevel" text="Nivo"/>
+   <l:gentext key="msglevel" text="Nivo"/>
+   <l:gentext key="MsgOrig" text="Izvor"/>
+   <l:gentext key="msgorig" text="Izvor"/>
+   <l:gentext key="NOTE" text="PRIMEDBA"/>
+   <l:gentext key="Note" text="Primedba"/>
+   <l:gentext key="note" text="Primedba"/>
+   <l:gentext key="Part" text="Deo"/>
+   <l:gentext key="part" text="Deo"/>
+   <l:gentext key="Preface" text="Predgovor"/>
+   <l:gentext key="preface" text="Predgovor"/>
+   <l:gentext key="Procedure" text="Postupak"/>
+   <l:gentext key="procedure" text="Postupak"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Izdato"/>
+   <l:gentext key="published" text="Izdato"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="P i O"/>
+   <l:gentext key="qandadiv" text="P i O"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="P:"/>
+   <l:gentext key="question" text="P:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Referenca"/>
+   <l:gentext key="reference" text="Referenca"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Ime"/>
+   <l:gentext key="refname" text="Ime"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Sinopsis"/>
+   <l:gentext key="refsynopsisdiv" text="Sinopsis"/>
+   <l:gentext key="RevHistory" text="Istorija revizija"/>
+   <l:gentext key="revhistory" text="Istorija revizija"/>
+   <l:gentext key="revision" text="Revizija"/>
+   <l:gentext key="Revision" text="Revizija"/>
+   <l:gentext key="sect1" text="Section"/>
+   <l:gentext key="sect2" text="Section"/>
+   <l:gentext key="sect3" text="Section"/>
+   <l:gentext key="sect4" text="Section"/>
+   <l:gentext key="sect5" text="Section"/>
+   <l:gentext key="section" text="sekcija"/>
+   <l:gentext key="Section" text="Odeljak"/>
+   <l:gentext key="see" text="vidi"/>
+   <l:gentext key="See" text="vidi"/>
+   <l:gentext key="seealso" text="vidi tako&#273;e"/>
+   <l:gentext key="Seealso" text="Vidi tako&#273;e"/>
+   <l:gentext key="SeeAlso" text="vidi tako&#273;e"/>
+   <l:gentext key="set" text="Postavi"/>
+   <l:gentext key="Set" text="Postavi"/>
+   <l:gentext key="setindex" text="Postavi indeks"/>
+   <l:gentext key="SetIndex" text="Postavi indeks"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="korak"/>
+   <l:gentext key="Step" text="Korak"/>
+   <l:gentext key="table" text="Tabela"/>
+   <l:gentext key="Table" text="Tabela"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Savet"/>
+   <l:gentext key="TIP" text="SAVET"/>
+   <l:gentext key="Tip" text="Savet"/>
+   <l:gentext key="Warning" text="Upozorenje"/>
+   <l:gentext key="warning" text="Upozorenje"/>
+   <l:gentext key="WARNING" text="UPOZORENJE"/>
+   <l:gentext key="and" text="i"/>
+   <l:gentext key="by" text="od"/>
+   <l:gentext key="Edited" text="Ure&#273;eno"/>
+   <l:gentext key="edited" text="Ure&#273;eno"/>
+   <l:gentext key="Editedby" text="Ure&#273;eno od"/>
+   <l:gentext key="editedby" text="Ure&#273;eno od"/>
+   <l:gentext key="in" text="u"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="nepostoje&#263;i element"/>
+   <l:gentext key="notes" text="Notes"/>
+   <l:gentext key="Notes" text="Notes"/>
+   <l:gentext key="Pgs" text="Str."/>
+   <l:gentext key="pgs" text="Str."/>
+   <l:gentext key="Revisedby" text="Revised by: "/>
+   <l:gentext key="revisedby" text="Revised by: "/>
+   <l:gentext key="TableNotes" text="Notes"/>
+   <l:gentext key="tablenotes" text="Notes"/>
+   <l:gentext key="TableofContents" text="Sadr&#382;aj"/>
+   <l:gentext key="tableofcontents" text="Sadr&#382;aj"/>
+   <l:gentext key="unexpectedelementname" text="Neo&#269;ekivano ime elementa"/>
+   <l:gentext key="unsupported" text="nepodr&#382;ano"/>
+   <l:gentext key="xrefto" text="xref na"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Spisak jedna&#269;ina"/>
+   <l:gentext key="ListofEquations" text="Spisak jedna&#269;ina"/>
+   <l:gentext key="ListofExamples" text="Spisak primera"/>
+   <l:gentext key="listofexamples" text="Spisak primera"/>
+   <l:gentext key="ListofFigures" text="Spisak slika"/>
+   <l:gentext key="listoffigures" text="Spisak slika"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Spisak tabela"/>
+   <l:gentext key="ListofTables" text="Spisak tabela"/>
+   <l:gentext key="ListofUnknown" text="Spisak nepoznanica"/>
+   <l:gentext key="listofunknown" text="Spisak nepoznanica"/>
+   <l:gentext key="nav-home" text="Ku&#263;i"/>
+   <l:gentext key="nav-next" text="Napred"/>
+   <l:gentext key="nav-next-sibling" text="Brzo napred"/>
+   <l:gentext key="nav-prev" text="Nazad"/>
+   <l:gentext key="nav-prev-sibling" text="Brzo nazad"/>
+   <l:gentext key="nav-up" text="Gore"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Dodatak %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Poglavlje %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Jedna&#269;ina %n. %t"/>
+      <l:template name="example" text="Primer %n. %t"/>
+      <l:template name="figure" text="Slika %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Deo %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Postupak&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabela %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Dodatak %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="Poglavlje %n. %t"/>
+      <l:template name="part" text="Deo&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="O:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="P:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="P:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="O:&#160;%n"/>
+      <l:template name="appendix" text="Dodatak&#160;%n"/>
+      <l:template name="bridgehead" text="Odeljak&#160;%n"/>
+      <l:template name="chapter" text="Poglavlje&#160;%n"/>
+      <l:template name="equation" text="Jedna&#269;ina&#160;%n"/>
+      <l:template name="example" text="Primer&#160;%n"/>
+      <l:template name="figure" text="Slika&#160;%n"/>
+      <l:template name="part" text="Deo&#160;%n"/>
+      <l:template name="procedure" text="Postupak&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="P i O&#160;%n"/>
+      <l:template name="qandaentry" text="P:&#160;%n"/>
+      <l:template name="question" text="P:&#160;%n"/>
+      <l:template name="sect1" text="Odeljak&#160;%n"/>
+      <l:template name="sect2" text="Odeljak&#160;%n"/>
+      <l:template name="sect3" text="Odeljak&#160;%n"/>
+      <l:template name="sect4" text="Odeljak&#160;%n"/>
+      <l:template name="sect5" text="Odeljak&#160;%n"/>
+      <l:template name="section" text="Odeljak&#160;%n"/>
+      <l:template name="table" text="Tabela&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Dodatak&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Poglavlje&#160;%n, %t"/>
+      <l:template name="equation" text="Jedna&#269;ina&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Primer&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Slika&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Deo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Postupak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="P i O&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Odeljak&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tabela&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" i "/>
+      <l:template name="seplast" text=", i "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Vidi %t"/>
+      <l:template name="seealso" text="Vidi tako&#273;e %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="MsgAud: "/>
+      <l:template name="MsgLevel" text="Nivo: "/>
+      <l:template name="MsgOrig" text="Izvor: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x081a Serbian (Latin)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/stripns.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/stripns.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/stripns.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,344 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:ng="http://docbook.org/docbook-ng"
+                xmlns:db="http://docbook.org/ns/docbook"
+                xmlns:saxon="http://icl.com/saxon"
+                xmlns:NodeInfo="http://org.apache.xalan.lib.NodeInfo"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="db ng exsl saxon NodeInfo"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: stripns.xsl 6383 2006-10-25 06:53:54Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     This file contains general templates common to both the HTML and FO
+     versions of the DocBook stylesheets.
+     ******************************************************************** -->
+
+<!-- put an xml:base attribute on the root element -->
+<xsl:template match="/*" mode="stripNS">
+  <xsl:choose>
+    <xsl:when test="self::ng:* or self::db:*">
+      <xsl:element name="{local-name(.)}">
+        <xsl:copy-of select="@*[not(name(.) = 'xml:id')
+                                and not(name(.) = 'version')]"/>
+        <xsl:if test="@xml:id">
+          <xsl:attribute name="id">
+            <xsl:value-of select="@xml:id"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:call-template name="add-xml-base"/>
+
+        <xsl:apply-templates mode="stripNS"/>
+      </xsl:element>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy>
+        <xsl:copy-of select="@*[not(name(.) = 'xml:id')
+                                and not(name(.) = 'version')]"/>
+        <xsl:if test="@xml:id">
+          <xsl:attribute name="id">
+            <xsl:value-of select="@xml:id"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:call-template name="add-xml-base"/>
+
+        <xsl:apply-templates mode="stripNS"/>
+      </xsl:copy>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="stripNS">
+  <xsl:choose>
+    <xsl:when test="self::ng:* or self::db:*">
+      <xsl:element name="{local-name(.)}">
+        <xsl:copy-of select="@*[not(name(.) = 'xml:id')
+                                and not(name(.) = 'version')]"/>
+        <xsl:if test="@xml:id">
+          <xsl:attribute name="id">
+            <xsl:value-of select="@xml:id"/>
+          </xsl:attribute>
+        </xsl:if>
+        <xsl:apply-templates mode="stripNS"/>
+      </xsl:element>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy>
+        <xsl:copy-of select="@*[not(name(.) = 'xml:id')
+                                and not(name(.) = 'version')]"/>
+        <xsl:if test="@xml:id">
+          <xsl:attribute name="id">
+            <xsl:value-of select="@xml:id"/>
+          </xsl:attribute>
+        </xsl:if>
+        <xsl:apply-templates mode="stripNS"/>
+      </xsl:copy>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="db:info" mode="stripNS">
+  <xsl:variable name="info">
+    <xsl:choose>
+      <xsl:when test="parent::db:article
+                      |parent::db:appendix
+                      |parent::db:bibliography
+                      |parent::db:book
+                      |parent::db:chapter
+                      |parent::db:glossary
+                      |parent::db:index
+                      |parent::db:part
+                      |parent::db:preface
+                      |parent::db:refentry
+                      |parent::db:reference
+                      |parent::db:refsect1
+                      |parent::db:refsect2
+                      |parent::db:refsect3
+                      |parent::db:refsection
+                      |parent::db:refsynopsisdiv
+                      |parent::db:sect1
+                      |parent::db:sect2
+                      |parent::db:sect3
+                      |parent::db:sect4
+                      |parent::db:sect5
+                      |parent::db:section
+                      |parent::db:setindex
+                      |parent::db:set
+                      |parent::db:slides
+                      |parent::db:sidebar">
+        <xsl:value-of select="local-name(parent::*)"/>
+        <xsl:text>info</xsl:text>
+      </xsl:when>
+      <xsl:when test="parent::db:audioobject
+                      |parent::db:imageobject
+                      |parent::db:inlinemediaobject
+                      |parent::db:mediaobject
+                      |parent::db:mediaobjectco
+                      |parent::db:textobject
+                      |parent::db:videoobject">
+        <xsl:text>objectinfo</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>blockinfo</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:element name="{$info}">
+    <xsl:copy-of select="@*[not(name(.) = 'xml:id')
+                         and not(name(.) = 'version')]"/>
+    <xsl:if test="@xml:id">
+      <xsl:attribute name="id">
+        <xsl:value-of select="@xml:id"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:apply-templates mode="stripNS"/>
+  </xsl:element>
+
+  <xsl:if test="(not(../db:title) and not(../ng:title))
+                and ($info = 'prefaceinfo'
+                     or $info = 'chapterinfo'
+                     or $info = 'sectioninfo'
+                     or $info = 'sect1info'
+                     or $info = 'sect2info'
+                     or $info = 'sect3info'
+                     or $info = 'sect4info'
+                     or $info = 'sect5info'
+                     or $info = 'refsectioninfo'
+                     or $info = 'refsect1info'
+                     or $info = 'refsect2info'
+                     or $info = 'refsect3info'
+                     or $info = 'blockinfo'
+                     or $info = 'appendixinfo')">
+    <xsl:apply-templates select="db:title|ng:title" mode="stripNS"/>
+  </xsl:if>
+
+</xsl:template>
+
+<xsl:template match="ng:link|db:link" mode="stripNS">
+  <xsl:variable xmlns:xlink="http://www.w3.org/1999/xlink"
+                name="href" select="@xlink:href|@href"/>
+  <xsl:choose>
+    <xsl:when test="$href != '' and not(starts-with($href,'#'))">
+      <ulink url="{$href}">
+        <xsl:for-each select="@*">
+          <xsl:if test="local-name(.) != 'href'
+                        and name(.) != 'version'
+                        and name(.) != 'xml:id'">
+            <xsl:copy/>
+          </xsl:if>
+        </xsl:for-each>
+        <xsl:if test="@xml:id">
+          <xsl:attribute name="id">
+            <xsl:value-of select="@xml:id"/>
+          </xsl:attribute>
+        </xsl:if>
+        <xsl:apply-templates mode="stripNS"/>
+      </ulink>
+    </xsl:when>
+    <xsl:when test="$href != '' and starts-with($href,'#')">
+      <link linkend="{substring-after($href,'#')}">
+        <xsl:for-each select="@*">
+          <xsl:if test="local-name(.) != 'href'
+                        and name(.) != 'version'
+                        and name(.) != 'xml:id'">
+            <xsl:copy/>
+          </xsl:if>
+        </xsl:for-each>
+        <xsl:if test="@xml:id">
+          <xsl:attribute name="id">
+            <xsl:value-of select="@xml:id"/>
+          </xsl:attribute>
+        </xsl:if>
+        <xsl:apply-templates mode="stripNS"/>
+      </link>
+    </xsl:when>
+    <xsl:otherwise>
+      <link>
+        <xsl:copy-of select="@*[not(name(.) = 'xml:id')
+                             and not(name(.) = 'version')]"/>
+        <xsl:if test="@xml:id">
+          <xsl:attribute name="id">
+            <xsl:value-of select="@xml:id"/>
+          </xsl:attribute>
+        </xsl:if>
+        <xsl:apply-templates mode="stripNS"/>
+      </link>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="ng:tag|db:tag" mode="stripNS">
+  <sgmltag>
+    <xsl:copy-of select="@*[not(name(.) = 'xml:id')
+                         and not(name(.) = 'version')]"/>
+    <xsl:apply-templates mode="stripNS"/>
+  </sgmltag>
+</xsl:template>
+
+<xsl:template match="ng:textdata|db:textdata
+                     |ng:imagedata|db:imagedata
+                     |ng:videodata|db:videodata
+                     |ng:audiodata|db:audiodata" mode="stripNS">
+  <xsl:element name="{local-name(.)}">
+    <xsl:copy-of select="@*[not(name(.) = 'xml:id')
+                            and not(name(.) = 'version')
+                            and not(name(.) = 'entityref')]"/>
+    <xsl:if test="@xml:id">
+      <xsl:attribute name="id">
+        <xsl:value-of select="@xml:id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="@entityref">
+        <xsl:attribute name="fileref">
+          <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
+        </xsl:attribute>
+      </xsl:when>
+    </xsl:choose>
+
+    <xsl:apply-templates mode="stripNS"/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template name="add-xml-base">
+  <xsl:if test="not(@xml:base)">
+    <xsl:variable name="base">
+      <xsl:choose>
+        <xsl:when test="function-available('saxon:systemId')">
+          <xsl:value-of select="saxon:systemId()"/>
+        </xsl:when>
+        <xsl:when test="function-available('NodeInfo:systemId')">
+          <xsl:value-of select="NodeInfo:systemId()"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>WARNING: cannot add @xml:base to node </xsl:text>
+            <xsl:text>set root element.  </xsl:text>
+            <xsl:text>Relative paths may not work.</xsl:text>
+          </xsl:message>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <!-- debug
+    <xsl:message>base is <xsl:value-of select="$base"/></xsl:message>
+    -->
+    <xsl:if test="$base != ''">
+      <xsl:attribute name="xml:base">
+        <xsl:call-template name="systemIdToBaseURI">
+          <xsl:with-param name="systemId">
+            <!-- file: seems to confuse some processors. -->
+            <xsl:choose>
+              <!-- however, windows paths must use file:///c:/path -->
+              <xsl:when test="starts-with($base, 'file:///') and
+                              substring($base, 10, 1) = ':'">
+                <xsl:value-of select="$base"/>
+              </xsl:when>
+              <xsl:when test="starts-with($base, 'file:/')
+                              and substring($base, 8, 1) = ':'">
+                <xsl:value-of select="concat('file:///', 
+                                      substring-after($base,'file:/'))"/>
+              </xsl:when>
+              <xsl:when test="starts-with($base, 'file:///')">
+                <xsl:value-of select="substring-after($base,'file://')"/>
+              </xsl:when>
+              <xsl:when test="starts-with($base, 'file://')">
+                <xsl:value-of select="substring-after($base,'file:/')"/>
+              </xsl:when>
+              <xsl:when test="starts-with($base, 'file:/')">
+                <xsl:value-of select="substring-after($base,'file:')"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select="$base"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:attribute>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="systemIdToBaseURI">
+  <xsl:param name="systemId" select="''"/>
+  <xsl:if test="contains($systemId,'/')">
+    <xsl:value-of select="substring-before($systemId,'/')"/>
+    <xsl:text>/</xsl:text>
+    <xsl:call-template name="systemIdToBaseURI">
+      <xsl:with-param name="systemId"
+                      select="substring-after($systemId,'/')"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="comment()|processing-instruction()|text()" mode="stripNS">
+  <xsl:copy/>
+</xsl:template>
+
+<xsl:template match="/" priority="-1">
+  <xsl:choose>
+    <xsl:when test="(function-available('exsl:node-set') or
+                     contains(system-property('xsl:vendor'),
+                       'Apache Software Foundation'))
+                    and (*/self::ng:* or */self::db:*)">
+      <xsl:message>Stripping namespace from DocBook 5 document.</xsl:message>
+      <xsl:variable name="nons">
+        <xsl:apply-templates mode="stripNS"/>
+      </xsl:variable>
+      <xsl:message>Processing stripped document.</xsl:message>
+      <xsl:apply-templates select="exsl:node-set($nons)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="@* | node()"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/common/subtitles.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/subtitles.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/subtitles.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,155 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                exclude-result-prefixes="doc"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: subtitles.xsl 6399 2006-11-11 09:32:28Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- subtitle markup -->
+
+<doc:mode mode="subtitle.markup" xmlns="">
+<refpurpose>Provides access to element subtitles</refpurpose>
+<refdescription>
+<para>Processing an element in the
+<literal role="mode">subtitle.markup</literal> mode produces the
+subtitle of the element.
+</para>
+</refdescription>
+</doc:mode>
+
+<xsl:template match="*" mode="subtitle.markup">
+  <xsl:message>
+    <xsl:text>Request for subtitle of unexpected element: </xsl:text>
+    <xsl:value-of select="local-name(.)"/>
+  </xsl:message>
+  <xsl:text>???SUBTITLE???</xsl:text>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="subtitle.markup">
+  <xsl:param name="allow-anchors" select="'0'"/>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="set" mode="subtitle.markup">
+  <xsl:param name="allow-anchors" select="'0'"/>
+  <xsl:apply-templates select="(setinfo/subtitle|info/subtitle|subtitle)[1]"
+                       mode="subtitle.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="book" mode="subtitle.markup">
+  <xsl:param name="allow-anchors" select="'0'"/>
+  <xsl:apply-templates select="(bookinfo/subtitle|info/subtitle|subtitle)[1]"
+                       mode="subtitle.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="part" mode="subtitle.markup">
+  <xsl:param name="allow-anchors" select="'0'"/>
+  <xsl:apply-templates select="(partinfo/subtitle
+                                |docinfo/subtitle
+                                |info/subtitle
+                                |subtitle)[1]"
+                       mode="subtitle.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="preface|chapter|appendix" mode="subtitle.markup">
+  <xsl:param name="allow-anchors" select="'0'"/>
+  <xsl:apply-templates select="(docinfo/subtitle
+                                |info/subtitle
+                                |prefaceinfo/subtitle
+                                |chapterinfo/subtitle
+                                |appendixinfo/subtitle
+                                |subtitle)[1]"
+                       mode="subtitle.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="article" mode="subtitle.markup">
+  <xsl:param name="allow-anchors" select="'0'"/>
+  <xsl:apply-templates select="(artheader/subtitle
+                                |articleinfo/subtitle
+                                |info/subtitle
+                                |subtitle)[1]"
+                       mode="subtitle.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="dedication|colophon" mode="subtitle.markup">
+  <xsl:param name="allow-anchors" select="'0'"/>
+  <xsl:apply-templates select="(subtitle|info/subtitle)[1]"
+                       mode="subtitle.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="reference" mode="subtitle.markup">
+  <xsl:param name="allow-anchors" select="'0'"/>
+  <xsl:apply-templates select="(referenceinfo/subtitle
+                                |docinfo/subtitle
+                                |info/subtitle
+                                |subtitle)[1]"
+                       mode="subtitle.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="qandaset" mode="subtitle.markup">
+  <xsl:param name="allow-anchors" select="'0'"/>
+  <xsl:apply-templates select="(blockinfo/subtitle|info/subtitle)[1]"
+                       mode="subtitle.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="refentry" mode="subtitle.markup">
+  <xsl:param name="allow-anchors" select="'0'"/>
+  <xsl:apply-templates select="(refentryinfo/subtitle
+                                |info/subtitle
+                                |docinfo/subtitle)[1]"
+                       mode="subtitle.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="section
+                     |sect1|sect2|sect3|sect4|sect5
+                     |refsect1|refsect2|refsect3
+                     |simplesect"
+              mode="subtitle.markup">
+  <xsl:param name="allow-anchors" select="'0'"/>
+  <xsl:apply-templates select="(info/subtitle
+                                |sectioninfo/subtitle
+                                |sect1info/subtitle
+                                |sect2info/subtitle
+                                |sect3info/subtitle
+                                |sect4info/subtitle
+                                |sect5info/subtitle
+                                |refsect1info/subtitle
+                                |refsect2info/subtitle
+                                |refsect3info/subtitle
+                                |subtitle)[1]"
+                       mode="subtitle.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/common/sv.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/sv.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/sv.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,637 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sv" english-language-name="Swedish">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/sv.xml -->
+<!-- * -->
+<!-- * E-mail the edited sv.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Sammanfattning"/>
+   <l:gentext key="abstract" text="Sammanfattning"/>
+   <l:gentext key="Answer" text="A:"/>
+   <l:gentext key="answer" text="A:"/>
+   <l:gentext key="Appendix" text="Appendix"/>
+   <l:gentext key="appendix" text="appendix"/>
+   <l:gentext key="Article" text="Artikel"/>
+   <l:gentext key="article" text="Artikel"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Bibliografi"/>
+   <l:gentext key="bibliography" text="Bibliografi"/>
+   <l:gentext key="Book" text="Bok"/>
+   <l:gentext key="book" text="Bok"/>
+   <l:gentext key="CAUTION" text="OBSERVERA"/>
+   <l:gentext key="Caution" text="Observera"/>
+   <l:gentext key="caution" text="Observera"/>
+   <l:gentext key="Chapter" text="Kapitel"/>
+   <l:gentext key="chapter" text="kapitel"/>
+   <l:gentext key="Colophon" text="Kolofon"/>
+   <l:gentext key="colophon" text="kolofon"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Dedikation"/>
+   <l:gentext key="dedication" text="Dedikation"/>
+   <l:gentext key="Edition" text="Utg&#229;va"/>
+   <l:gentext key="edition" text="Utg&#229;va"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Ekvation"/>
+   <l:gentext key="equation" text="Ekvation"/>
+   <l:gentext key="Example" text="Exempel"/>
+   <l:gentext key="example" text="Exempel"/>
+   <l:gentext key="Figure" text="Figur"/>
+   <l:gentext key="figure" text="Figur"/>
+   <l:gentext key="Glossary" text="Gloslista"/>
+   <l:gentext key="glossary" text="Gloslista"/>
+   <l:gentext key="GlossSee" text="Se"/>
+   <l:gentext key="glosssee" text="Se"/>
+   <l:gentext key="GlossSeeAlso" text="Se &#196;ven"/>
+   <l:gentext key="glossseealso" text="Se &#196;ven"/>
+   <l:gentext key="IMPORTANT" text="VIKTIGT"/>
+   <l:gentext key="important" text="Viktigt"/>
+   <l:gentext key="Important" text="Viktigt"/>
+   <l:gentext key="Index" text="Index"/>
+   <l:gentext key="index" text="Index"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Legal Notice"/>
+   <l:gentext key="legalnotice" text="Legal Notice"/>
+   <l:gentext key="MsgAud" text="M&#229;lgrupp"/>
+   <l:gentext key="msgaud" text="M&#229;lgrupp"/>
+   <l:gentext key="MsgLevel" text="Niv&#229;"/>
+   <l:gentext key="msglevel" text="Niv&#229;"/>
+   <l:gentext key="MsgOrig" text="Ursprung"/>
+   <l:gentext key="msgorig" text="Ursprung"/>
+   <l:gentext key="NOTE" text="NOTERA"/>
+   <l:gentext key="Note" text="Notera"/>
+   <l:gentext key="note" text="Notera"/>
+   <l:gentext key="Part" text="Del"/>
+   <l:gentext key="part" text="Del"/>
+   <l:gentext key="Preface" text="F&#246;retal"/>
+   <l:gentext key="preface" text="F&#246;retal"/>
+   <l:gentext key="Procedure" text="Procedur"/>
+   <l:gentext key="procedure" text="Procedur"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Publicerad"/>
+   <l:gentext key="published" text="Publicerad"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Fr&#229;ga och A"/>
+   <l:gentext key="qandadiv" text="Fr&#229;ga och A"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Fr&#229;ga:"/>
+   <l:gentext key="question" text="Fr&#229;ga:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Referens"/>
+   <l:gentext key="reference" text="Referens"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Namn"/>
+   <l:gentext key="refname" text="Namn"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Synopsis"/>
+   <l:gentext key="refsynopsisdiv" text="Synopsis"/>
+   <l:gentext key="RevHistory" text="Revisionshistorik"/>
+   <l:gentext key="revhistory" text="Revisionshistorik"/>
+   <l:gentext key="revision" text="Revision"/>
+   <l:gentext key="Revision" text="Revision"/>
+   <l:gentext key="sect1" text="Section"/>
+   <l:gentext key="sect2" text="Section"/>
+   <l:gentext key="sect3" text="Section"/>
+   <l:gentext key="sect4" text="Section"/>
+   <l:gentext key="sect5" text="Section"/>
+   <l:gentext key="section" text="avsnitt"/>
+   <l:gentext key="Section" text="Avsnitt"/>
+   <l:gentext key="see" text="se"/>
+   <l:gentext key="See" text="Se"/>
+   <l:gentext key="seealso" text="se &#228;ven"/>
+   <l:gentext key="Seealso" text="Se &#228;ven"/>
+   <l:gentext key="SeeAlso" text="Se &#196;ven"/>
+   <l:gentext key="set" text="Set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Set Index"/>
+   <l:gentext key="SetIndex" text="Set Index"/>
+   <l:gentext key="Sidebar" text="Sidebar"/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="steg"/>
+   <l:gentext key="Step" text="Steg"/>
+   <l:gentext key="table" text="Tabell"/>
+   <l:gentext key="Table" text="Tabell"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Tips"/>
+   <l:gentext key="TIP" text="TIPS"/>
+   <l:gentext key="Tip" text="Tips"/>
+   <l:gentext key="Warning" text="Varning"/>
+   <l:gentext key="warning" text="Varning"/>
+   <l:gentext key="WARNING" text="VARNING"/>
+   <l:gentext key="and" text="och"/>
+   <l:gentext key="by" text="av"/>
+   <l:gentext key="Edited" text="Redigerad"/>
+   <l:gentext key="edited" text="Redigerad"/>
+   <l:gentext key="Editedby" text="Redigerad av"/>
+   <l:gentext key="editedby" text="Redigerad av"/>
+   <l:gentext key="in" text="i"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="icke-existerande element"/>
+   <l:gentext key="notes" text="Noter"/>
+   <l:gentext key="Notes" text="Noter"/>
+   <l:gentext key="Pgs" text="Sid."/>
+   <l:gentext key="pgs" text="Sid."/>
+   <l:gentext key="Revisedby" text="Reviderad av: "/>
+   <l:gentext key="revisedby" text="Reviderad av: "/>
+   <l:gentext key="TableNotes" text="Noter"/>
+   <l:gentext key="tablenotes" text="Noter"/>
+   <l:gentext key="TableofContents" text="Inneh&#229;llsf&#246;rteckning"/>
+   <l:gentext key="tableofcontents" text="Inneh&#229;llsf&#246;rteckning"/>
+   <l:gentext key="unexpectedelementname" text="Ov&#228;ntat elementnamn"/>
+   <l:gentext key="unsupported" text="unsupported"/>
+   <l:gentext key="xrefto" text="korsreferens till"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Ekvationsf&#246;rteckning"/>
+   <l:gentext key="ListofEquations" text="Ekvationsf&#246;rteckning"/>
+   <l:gentext key="ListofExamples" text="Exempelf&#246;rteckning"/>
+   <l:gentext key="listofexamples" text="Exempelf&#246;rteckning"/>
+   <l:gentext key="ListofFigures" text="Figurf&#246;rteckning"/>
+   <l:gentext key="listoffigures" text="Figurf&#246;rteckning"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Tabellf&#246;rteckning"/>
+   <l:gentext key="ListofTables" text="Tabellf&#246;rteckning"/>
+   <l:gentext key="ListofUnknown" text="F&#246;rteckning av ok&#228;nda"/>
+   <l:gentext key="listofunknown" text="F&#246;rteckning av ok&#228;nda"/>
+   <l:gentext key="nav-home" text="Hem"/>
+   <l:gentext key="nav-next" text="N&#228;sta"/>
+   <l:gentext key="nav-next-sibling" text="Snabbt fram&#229;t"/>
+   <l:gentext key="nav-prev" text="F&#246;reg&#229;ende"/>
+   <l:gentext key="nav-prev-sibling" text="Snabbt bak&#229;t"/>
+   <l:gentext key="nav-up" text="Upp"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Utkast"/>
+   <l:gentext key="above" text="ovan"/>
+   <l:gentext key="below" text="nedan"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symboler"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz&#229;&#228;&#246;"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ&#197;&#196;&#214;"/>
+   <l:dingbat key="startquote" text="&#8221;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8217;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Appendix %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Kapitel %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Ekvation %n. %t"/>
+      <l:template name="example" text="Exempel %n. %t"/>
+      <l:template name="figure" text="Figur %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Del %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Procedur&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t" lang="en"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tabell %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Appendix %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="Kapitel %n. %t"/>
+      <l:template name="part" text="Del&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s" lang="en"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Fr&#229;ga:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Fr&#229;ga:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8221;%t&#8221;"/>
+      <l:template name="refsection" text="&#8221;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8221;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8221;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8221;%t&#8221;"/>
+      <l:template name="sect1" text="&#8221;%t&#8221;"/>
+      <l:template name="sect2" text="&#8221;%t&#8221;"/>
+      <l:template name="sect3" text="&#8221;%t&#8221;"/>
+      <l:template name="sect4" text="&#8221;%t&#8221;"/>
+      <l:template name="sect5" text="&#8221;%t&#8221;"/>
+      <l:template name="section" text="&#8221;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8221;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="Appendix&#160;%n"/>
+      <l:template name="bridgehead" text="Avsnitt&#160;%n"/>
+      <l:template name="chapter" text="Kapitel&#160;%n"/>
+      <l:template name="equation" text="Ekvation&#160;%n"/>
+      <l:template name="example" text="Exempel&#160;%n"/>
+      <l:template name="figure" text="Figur&#160;%n"/>
+      <l:template name="part" text="Del&#160;%n"/>
+      <l:template name="procedure" text="Procedur&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="Fr&#229;ga och A&#160;%n"/>
+      <l:template name="qandaentry" text="Fr&#229;ga:&#160;%n"/>
+      <l:template name="question" text="Fr&#229;ga:&#160;%n"/>
+      <l:template name="sect1" text="Avsnitt&#160;%n"/>
+      <l:template name="sect2" text="Avsnitt&#160;%n"/>
+      <l:template name="sect3" text="Avsnitt&#160;%n"/>
+      <l:template name="sect4" text="Avsnitt&#160;%n"/>
+      <l:template name="sect5" text="Avsnitt&#160;%n"/>
+      <l:template name="section" text="Avsnitt&#160;%n"/>
+      <l:template name="table" text="Tabell&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Appendix&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Avsnitt&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="chapter" text="Kapitel&#160;%n, %t"/>
+      <l:template name="equation" text="Ekvation&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="example" text="Exempel&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="figure" text="Figur&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="part" text="Del&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="procedure" text="Procedur&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="qandadiv" text="Fr&#229;ga och A&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8221;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8221;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8221;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8221;%t&#8221;"/>
+      <l:template name="sect1" text="Avsnitt&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="sect2" text="Avsnitt&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="sect3" text="Avsnitt&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="sect4" text="Avsnitt&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="sect5" text="Avsnitt&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="section" text="Avsnitt&#160;%n, &#8221;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8221;%t&#8221;"/>
+      <l:template name="table" text="Tabell&#160;%n, &#8221;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" och "/>
+      <l:template name="seplast" text=" och "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Se %t"/>
+      <l:template name="seealso" text="Se &#196;ven %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="M&#229;lgrupp: "/>
+      <l:template name="MsgLevel" text="Niv&#229;: "/>
+      <l:template name="MsgOrig" text="Ursprung: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d-m-Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="Januari"/>
+      <l:template name="February" text="Februari"/>
+      <l:template name="March" text="Mars"/>
+      <l:template name="April" text="April"/>
+      <l:template name="May" text="Maj"/>
+      <l:template name="June" text="Juni"/>
+      <l:template name="July" text="Juli"/>
+      <l:template name="August" text="Augusti"/>
+      <l:template name="September" text="September"/>
+      <l:template name="October" text="Oktober"/>
+      <l:template name="November" text="November"/>
+      <l:template name="December" text="December"/>
+      <l:template name="Monday" text="M&#229;ndag"/>
+      <l:template name="Tuesday" text="Tisdag"/>
+      <l:template name="Wednesday" text="Onsdag"/>
+      <l:template name="Thursday" text="Torsdag"/>
+      <l:template name="Friday" text="Fredag"/>
+      <l:template name="Saturday" text="L&#246;rdag"/>
+      <l:template name="Sunday" text="S&#246;ndag"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan"/>
+      <l:template name="Feb" text="Feb"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Apr"/>
+      <l:template name="May" text="Maj"/>
+      <l:template name="Jun" text="Jun"/>
+      <l:template name="Jul" text="Jul"/>
+      <l:template name="Aug" text="Aug"/>
+      <l:template name="Sep" text="Sep"/>
+      <l:template name="Oct" text="Okt"/>
+      <l:template name="Nov" text="Nov"/>
+      <l:template name="Dec" text="Dec"/>
+      <l:template name="Mon" text="Mon"/>
+      <l:template name="Tue" text="Tis"/>
+      <l:template name="Wed" text="Ons"/>
+      <l:template name="Thu" text="Tor"/>
+      <l:template name="Fri" text="Fre"/>
+      <l:template name="Sat" text="L&#246;r"/>
+      <l:template name="Sun" text="S&#246;n"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x041d Swedish"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="1">A</l:l>
+      <l:l i="1">a</l:l>
+      <l:l i="2">B</l:l>
+      <l:l i="2">b</l:l>
+      <l:l i="3">C</l:l>
+      <l:l i="3">c</l:l>
+      <l:l i="4">D</l:l>
+      <l:l i="4">d</l:l>
+      <l:l i="5">E</l:l>
+      <l:l i="5">e</l:l>
+      <l:l i="6">F</l:l>
+      <l:l i="6">f</l:l>
+      <l:l i="7">G</l:l>
+      <l:l i="7">g</l:l>
+      <l:l i="8">H</l:l>
+      <l:l i="8">h</l:l>
+      <l:l i="9">I</l:l>
+      <l:l i="9">i</l:l>
+      <l:l i="10">J</l:l>
+      <l:l i="10">j</l:l>
+      <l:l i="11">K</l:l>
+      <l:l i="11">k</l:l>
+      <l:l i="12">L</l:l>
+      <l:l i="12">l</l:l>
+      <l:l i="13">M</l:l>
+      <l:l i="13">m</l:l>
+      <l:l i="14">N</l:l>
+      <l:l i="14">n</l:l>
+      <l:l i="15">O</l:l>
+      <l:l i="15">o</l:l>
+      <l:l i="16">P</l:l>
+      <l:l i="16">p</l:l>
+      <l:l i="17">Q</l:l>
+      <l:l i="17">q</l:l>
+      <l:l i="18">R</l:l>
+      <l:l i="18">r</l:l>
+      <l:l i="19">S</l:l>
+      <l:l i="19">s</l:l>
+      <l:l i="20">T</l:l>
+      <l:l i="20">t</l:l>
+      <l:l i="21">U</l:l>
+      <l:l i="21">u</l:l>
+      <l:l i="22">V</l:l>
+      <l:l i="22">v</l:l>
+      <l:l i="23">W</l:l>
+      <l:l i="23">w</l:l>
+      <l:l i="24">X</l:l>
+      <l:l i="24">x</l:l>
+      <l:l i="25">Y</l:l>
+      <l:l i="25">y</l:l>
+      <l:l i="26">Z</l:l>
+      <l:l i="26">z</l:l>
+      <l:l i="27">&#197;</l:l>
+      <l:l i="27">&#229;</l:l>
+      <l:l i="28">&#196;</l:l>
+      <l:l i="28">&#228;</l:l>
+      <l:l i="29">&#214;</l:l>
+      <l:l i="29">&#246;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/ta.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/ta.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/ta.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ta" english-language-name="Tamil">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/ta.xml -->
+<!-- * -->
+<!-- * E-mail the edited ta.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#2970;&#3009;&#2992;&#3009;&#2965;&#3021;&#2965;&#2990;&#3021;"/>
+   <l:gentext key="abstract" text="&#2970;&#3009;&#2992;&#3009;&#2965;&#3021;&#2965;&#2990;&#3021;"/>
+   <l:gentext key="Answer" text="A:"/>
+   <l:gentext key="answer" text="A:"/>
+   <l:gentext key="Appendix" text="&#2951;&#2979;&#3016;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="appendix" text="&#2951;&#2979;&#3016;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="Article" text="&#2965;&#2975;&#3021;&#2975;&#3009;&#2992;&#3016;"/>
+   <l:gentext key="article" text="&#2965;&#2975;&#3021;&#2975;&#3009;&#2992;&#3016;"/>
+   <l:gentext key="Author" text="Author"/>
+   <l:gentext key="Bibliography" text="&#2997;&#3007;&#2997;&#2992;&#2965;&#3021;&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="bibliography" text="&#2997;&#3007;&#2997;&#2992;&#2965;&#3021;&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="Book" text="&#2986;&#3009;&#2980;&#3021;&#2980;&#2965;&#2990;&#3021;"/>
+   <l:gentext key="book" text="&#2986;&#3009;&#2980;&#3021;&#2980;&#2965;&#2990;&#3021;"/>
+   <l:gentext key="CAUTION" text="&#2958;&#2970;&#3021;&#2970;&#2992;&#3007;&#2965;&#3021;&#2965;&#3016;"/>
+   <l:gentext key="Caution" text="&#2958;&#2970;&#3021;&#2970;&#2992;&#3007;&#2965;&#3021;&#2965;&#3016;"/>
+   <l:gentext key="caution" text="&#2958;&#2970;&#3021;&#2970;&#2992;&#3007;&#2965;&#3021;&#2965;&#3016;"/>
+   <l:gentext key="Chapter" text="&#2986;&#3006;&#2975;&#2990;&#3021;"/>
+   <l:gentext key="chapter" text="&#2986;&#3006;&#2975;&#2990;&#3021;"/>
+   <l:gentext key="Colophon" text="&#2986;&#3007;&#2985;&#3021;&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="colophon" text="&#2986;&#3007;&#2985;&#3021;&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="Copyright" text="&#2965;&#3006;&#2986;&#3021;&#2986;&#3009;&#2992;&#3007;&#2990;&#3016;"/>
+   <l:gentext key="copyright" text="&#2965;&#3006;&#2986;&#3021;&#2986;&#3009;&#2992;&#3007;&#2990;&#3016;"/>
+   <l:gentext key="Dedication" text="&#2970;&#2990;&#2992;&#3021;&#2986;&#2979;&#2990;&#3021;"/>
+   <l:gentext key="dedication" text="&#2970;&#2990;&#2992;&#3021;&#2986;&#2979;&#2990;&#3021;"/>
+   <l:gentext key="Edition" text="&#2986;&#2980;&#3007;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="edition" text="&#2986;&#2980;&#3007;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#2970;&#2990;&#2985;&#3021;&#2986;&#3006;&#2975;&#3009;"/>
+   <l:gentext key="equation" text="&#2970;&#2990;&#2985;&#3021;&#2986;&#3006;&#2975;&#3009;"/>
+   <l:gentext key="Example" text="&#2953;&#2980;&#3006;&#2992;&#2979;&#2990;&#3021;"/>
+   <l:gentext key="example" text="&#2953;&#2980;&#3006;&#2992;&#2979;&#2990;&#3021;"/>
+   <l:gentext key="Figure" text="&#2986;&#2975;&#2990;&#3021;"/>
+   <l:gentext key="figure" text="&#2986;&#2975;&#2990;&#3021;"/>
+   <l:gentext key="Glossary" text="&#2949;&#2965;&#2992;&#3006;&#2980;&#3007;"/>
+   <l:gentext key="glossary" text="&#2949;&#2965;&#2992;&#3006;&#2980;&#3007;"/>
+   <l:gentext key="GlossSee" text="&#2986;&#3006;&#2992;&#3021;"/>
+   <l:gentext key="glosssee" text="&#2986;&#3006;&#2992;&#3021;"/>
+   <l:gentext key="GlossSeeAlso" text="&#2951;&#2980;&#3016;&#2991;&#3009;&#2990;&#3021;&#2986;&#3006;&#2992;&#3021;&#2965;&#3021;&#2965;&#2997;&#3009;&#2990;&#3021;"/>
+   <l:gentext key="glossseealso" text="&#2951;&#2980;&#3016;&#2991;&#3009;&#2990;&#3021;&#2986;&#3006;&#2992;&#3021;&#2965;&#3021;&#2965;&#2997;&#3009;&#2990;&#3021;"/>
+   <l:gentext key="IMPORTANT" text="&#2990;&#3009;&#2965;&#3021;&#2965;&#3007;&#2991;&#2990;&#3021;"/>
+   <l:gentext key="important" text="&#2990;&#3009;&#2965;&#3021;&#2965;&#3007;&#2991;&#2990;&#3021;"/>
+   <l:gentext key="Important" text="&#2990;&#3009;&#2965;&#3021;&#2965;&#3007;&#2991;&#2990;&#3021;"/>
+   <l:gentext key="Index" text="&#2949;&#2975;&#3021;&#2975;&#2997;&#2979;&#3016;"/>
+   <l:gentext key="index" text="&#2949;&#2975;&#3021;&#2975;&#2997;&#2979;&#3016;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#2970;&#2975;&#3021;&#2975;&#2949;&#2993;&#3007;&#2965;&#3021;&#2965;&#3016;"/>
+   <l:gentext key="legalnotice" text="&#2970;&#2975;&#3021;&#2975;&#2949;&#2993;&#3007;&#2965;&#3021;&#2965;&#3016;"/>
+   <l:gentext key="MsgAud" text="&#2986;&#3006;&#2992;&#3021;&#2997;&#3016;&#2991;&#3006;&#2995;&#2992;&#3021;&#2965;&#2995;&#3021;"/>
+   <l:gentext key="msgaud" text="&#2986;&#3006;&#2992;&#3021;&#2997;&#3016;&#2991;&#3006;&#2995;&#2992;&#3021;&#2965;&#2995;&#3021;"/>
+   <l:gentext key="MsgLevel" text="&#2990;&#2975;&#3021;&#2975;&#2990;&#3021;"/>
+   <l:gentext key="msglevel" text="&#2990;&#2975;&#3021;&#2975;&#2990;&#3021;"/>
+   <l:gentext key="MsgOrig" text="&#2990;&#3010;&#2994;&#2990;&#3021;"/>
+   <l:gentext key="msgorig" text="&#2990;&#3010;&#2994;&#2990;&#3021;"/>
+   <l:gentext key="NOTE" text="&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="Note" text="&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="note" text="&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="Part" text="&#2986;&#2965;&#3009;&#2980;&#3007;"/>
+   <l:gentext key="part" text="&#2986;&#2965;&#3009;&#2980;&#3007;"/>
+   <l:gentext key="Preface" text="&#2990;&#3009;&#2985;&#3021;&#2985;&#3009;&#2992;&#3016;"/>
+   <l:gentext key="preface" text="&#2990;&#3009;&#2985;&#3021;&#2985;&#3009;&#2992;&#3016;"/>
+   <l:gentext key="Procedure" text="&#2990;&#3009;&#2993;&#3016;"/>
+   <l:gentext key="procedure" text="&#2990;&#3009;&#2993;&#3016;"/>
+   <l:gentext key="ProductionSet" text="&#2953;&#2993;&#3021;&#2986;&#2980;&#3021;&#2980;&#3007;"/>
+   <l:gentext key="PubDate" text="Publication Date"/>
+   <l:gentext key="pubdate" text="Publication date"/>
+   <l:gentext key="Published" text="&#2986;&#2980;&#3007;&#2986;&#3021;&#2986;&#3007;&#2965;&#3021;&#2965;&#2986;&#3021;&#2986;&#2975;&#3021;&#2975;"/>
+   <l:gentext key="published" text="&#2986;&#2980;&#3007;&#2986;&#3021;&#2986;&#3007;&#2965;&#3021;&#2965;&#2986;&#3021;&#2986;&#2975;&#3021;&#2975;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Q &amp; A"/>
+   <l:gentext key="qandadiv" text="Q &amp; A"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Q:"/>
+   <l:gentext key="question" text="Q:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;&#2965;&#2995;&#3021;"/>
+   <l:gentext key="reference" text="&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;&#2965;&#2995;&#3021;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#2986;&#3014;&#2991;&#2992;&#3021;"/>
+   <l:gentext key="refname" text="&#2986;&#3014;&#2991;&#2992;&#3021;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#2970;&#3009;&#2992;&#3009;&#2965;&#3021;&#2965;&#2990;&#3021;"/>
+   <l:gentext key="refsynopsisdiv" text="&#2970;&#3009;&#2992;&#3009;&#2965;&#3021;&#2965;&#2990;&#3021;"/>
+   <l:gentext key="RevHistory" text="&#2990;&#3008;&#2995;&#3021;&#2986;&#3006;&#2992;&#3021;&#2997;&#3016;&#2997;&#2992;&#2994;&#3006;&#2993;&#3009;"/>
+   <l:gentext key="revhistory" text="&#2990;&#3008;&#2995;&#3021;&#2986;&#3006;&#2992;&#3021;&#2997;&#3016;&#2997;&#2992;&#2994;&#3006;&#2993;&#3009;"/>
+   <l:gentext key="revision" text="&#2990;&#3008;&#2995;&#3021;&#2986;&#3006;&#2992;&#3021;&#2997;&#3016;"/>
+   <l:gentext key="Revision" text="&#2990;&#3008;&#2995;&#3021;&#2986;&#3006;&#2992;&#3021;&#2997;&#3016;"/>
+   <l:gentext key="sect1" text="&#2986;&#2965;&#3009;&#2980;&#3007;"/>
+   <l:gentext key="sect2" text="&#2986;&#2965;&#3009;&#2980;&#3007;"/>
+   <l:gentext key="sect3" text="&#2986;&#2965;&#3009;&#2980;&#3007;"/>
+   <l:gentext key="sect4" text="&#2986;&#2965;&#3009;&#2980;&#3007;"/>
+   <l:gentext key="sect5" text="&#2986;&#2965;&#3009;&#2980;&#3007;"/>
+   <l:gentext key="section" text="&#2986;&#2965;&#3009;&#2980;&#3007;"/>
+   <l:gentext key="Section" text="&#2986;&#2965;&#3009;&#2980;&#3007;"/>
+   <l:gentext key="see" text="&#2986;&#3006;&#2992;&#3021;"/>
+   <l:gentext key="See" text="&#2986;&#3006;&#2992;&#3021;"/>
+   <l:gentext key="seealso" text="&#2951;&#2980;&#3016;&#2991;&#3009;&#2990;&#3021;&#2986;&#3006;&#2992;&#3021;"/>
+   <l:gentext key="Seealso" text="&#2951;&#2980;&#3016;&#2991;&#3009;&#2990;&#3021;&#2986;&#3006;&#2992;&#3021;&#2965;&#3021;&#2965;&#2997;&#3009;&#2990;&#3021;"/>
+   <l:gentext key="SeeAlso" text="&#2951;&#2980;&#3016;&#2991;&#3009;&#2990;&#3021;&#2986;&#3006;&#2992;&#3021;&#2965;&#3021;&#2965;&#2997;&#3009;&#2990;&#3021;"/>
+   <l:gentext key="set" text="&#2949;&#2990;&#3016;"/>
+   <l:gentext key="Set" text="&#2949;&#2990;&#3016;"/>
+   <l:gentext key="setindex" text="&#2949;&#2975;&#3021;&#2975;&#2997;&#2979;&#3016;&#2949;&#2990;&#3016;"/>
+   <l:gentext key="SetIndex" text="&#2949;&#2975;&#3021;&#2975;&#2997;&#2979;&#3016;&#2949;&#2990;&#3016;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="&#2986;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#3007;"/>
+   <l:gentext key="step" text="&#2986;&#2975;&#3007;&#2990;&#3009;&#2993;&#3016;"/>
+   <l:gentext key="Step" text="&#2986;&#2975;&#3007;&#2965;&#2995;&#3021;"/>
+   <l:gentext key="table" text="&#2949;&#2975;&#3021;&#2975;&#2997;&#2979;&#3016;"/>
+   <l:gentext key="Table" text="&#2949;&#2975;&#3021;&#2975;&#2997;&#2979;&#3016;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="TIP" text="&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="Tip" text="&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="Warning" text="&#2958;&#2970;&#3021;&#2970;&#2992;&#3007;&#2965;&#3021;&#2965;&#3016;"/>
+   <l:gentext key="warning" text="&#2958;&#2970;&#3021;&#2970;&#2992;&#3007;&#2965;&#3021;&#2965;&#3016;"/>
+   <l:gentext key="WARNING" text="&#2958;&#2970;&#3021;&#2970;&#2992;&#3007;&#2965;&#3021;&#2965;&#3016;"/>
+   <l:gentext key="and" text="&#2990;&#2993;&#3021;&#2993;&#3009;&#2990;&#3021;"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="&#2980;&#3007;&#2992;&#3009;&#2980;&#3021;&#2980;&#2986;&#3021;&#2986;&#2975;&#3021;&#2975;"/>
+   <l:gentext key="edited" text="&#2980;&#3007;&#2992;&#3009;&#2980;&#3021;&#2980;&#2986;&#3021;&#2986;&#2975;&#3021;&#2975;"/>
+   <l:gentext key="Editedby" text="&#2980;&#3007;&#2992;&#3009;&#2980;&#3021;&#2980;&#3007;&#2991;&#2997;&#2992;&#3021;"/>
+   <l:gentext key="editedby" text="&#2980;&#3007;&#2992;&#3009;&#2980;&#3021;&#2980;&#3007;&#2991;&#2997;&#2992;&#3021;"/>
+   <l:gentext key="in" text="&#2951;&#2994;&#3021;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#2951;&#2994;&#3021;&#2994;&#3006;&#2980;&#2953;&#2993;&#3009;&#2986;&#3021;&#2986;&#3009;"/>
+   <l:gentext key="notes" text="&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;&#2965;&#2995;&#3021;"/>
+   <l:gentext key="Notes" text="&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;&#2965;&#2995;&#3021;"/>
+   <l:gentext key="Pgs" text="Pgs."/>
+   <l:gentext key="pgs" text="Pgs."/>
+   <l:gentext key="Revisedby" text="&#2990;&#3008;&#2979;&#3021;&#2975;&#3009;&#2990;&#3021;&#2986;&#3006;&#2992;&#3021;&#2980;&#3021;&#2980;&#2997;&#2992;&#3021;:"/>
+   <l:gentext key="revisedby" text="&#2990;&#3008;&#2979;&#3021;&#2975;&#3009;&#2990;&#3021;&#2986;&#3006;&#2992;&#3021;&#2980;&#3021;&#2980;&#2997;&#2992;&#3021;:"/>
+   <l:gentext key="TableNotes" text="&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;&#2965;&#2995;&#3021;"/>
+   <l:gentext key="tablenotes" text="&#2965;&#3009;&#2993;&#3007;&#2986;&#3021;&#2986;&#3009;&#2965;&#2995;&#3021;"/>
+   <l:gentext key="TableofContents" text="&#2953;&#2995;&#3021;&#2995;&#2975;&#2965;&#3021;&#2965;&#2969;&#3021;&#2965;&#2995;&#3021;"/>
+   <l:gentext key="tableofcontents" text="&#2953;&#2995;&#3021;&#2995;&#2975;&#2965;&#3021;&#2965;&#2969;&#3021;&#2965;&#2995;&#3021;"/>
+   <l:gentext key="unexpectedelementname" text="&#2958;&#2980;&#3007;&#2992;&#3021;&#2986;&#3006;&#2992;&#3006;&#2980;&#2953;&#2993;&#3009;&#2986;&#3021;&#2986;&#3009;&#2986;&#3014;&#2991;&#2992;&#3021;"/>
+   <l:gentext key="unsupported" text="&#2950;&#2980;&#2992;&#2997;&#2993;&#3021;&#2993;"/>
+   <l:gentext key="xrefto" text="xrefto"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#2970;&#2990;&#2985;&#3021;&#2986;&#3006;&#2975;&#3009;&#2965;&#2995;&#3007;&#2985;&#3021;&#2986;&#2975;&#3021;&#2975;&#3007;&#2991;&#2994;&#3021;"/>
+   <l:gentext key="ListofEquations" text="&#2970;&#2990;&#2985;&#3021;&#2986;&#3006;&#2975;&#3009;&#2965;&#2995;&#3007;&#2985;&#3021;&#2986;&#2975;&#3021;&#2975;&#3007;&#2991;&#2994;&#3021;"/>
+   <l:gentext key="ListofExamples" text="&#2953;&#2980;&#3006;&#2992;&#2979;&#2969;&#3021;&#2965;&#2995;&#3007;&#2985;&#3021;&#2986;&#2975;&#3021;&#2975;&#3007;&#2991;&#2994;&#3021;"/>
+   <l:gentext key="listofexamples" text="&#2953;&#2980;&#3006;&#2992;&#2979;&#2969;&#3021;&#2965;&#2995;&#3007;&#2985;&#3021;&#2986;&#2975;&#3021;&#2975;&#3007;&#2991;&#2994;&#3021;"/>
+   <l:gentext key="ListofFigures" text="&#2986;&#2975;&#2969;&#3021;&#2965;&#2995;&#3007;&#2985;&#3021;&#2986;&#2975;&#3021;&#2975;&#3007;&#2991;&#2994;&#3021;"/>
+   <l:gentext key="listoffigures" text="&#2986;&#2975;&#2969;&#3021;&#2965;&#2995;&#3007;&#2985;&#3021;&#2986;&#2975;&#3021;&#2975;&#3007;&#2991;&#2994;&#3021;"/>
+   <l:gentext key="ListofProcedures" text="&#2970;&#3014;&#2991;&#3021;&#2990;&#3009;&#2993;&#3016;&#2965;&#2995;&#3007;&#2985;&#3021;&#2986;&#2975;&#3021;&#2975;&#3007;&#2991;&#2994;&#3021;"/>
+   <l:gentext key="listofprocedures" text="&#2970;&#3014;&#2991;&#3021;&#2990;&#3009;&#2993;&#3016;&#2965;&#2995;&#3007;&#2985;&#3021;&#2986;&#2975;&#3021;&#2975;&#3007;&#2991;&#2994;&#3021;"/>
+   <l:gentext key="listoftables" text="&#2949;&#2975;&#3021;&#2975;&#2997;&#2979;&#3016;&#2965;&#2995;&#3007;&#2985;&#3021;&#2986;&#2975;&#3021;&#2975;&#3007;&#2991;&#2994;&#3021;"/>
+   <l:gentext key="ListofTables" text="&#2949;&#2975;&#3021;&#2975;&#2997;&#2979;&#3016;&#2965;&#2995;&#3007;&#2985;&#3021;&#2986;&#2975;&#3021;&#2975;&#3007;&#2991;&#2994;&#3021;"/>
+   <l:gentext key="ListofUnknown" text="&#2980;&#3014;&#2992;&#3007;&#2991;&#3006;&#2980;&#2986;&#2975;&#3021;&#2975;&#3007;&#2991;&#2994;&#3021;"/>
+   <l:gentext key="listofunknown" text="&#2980;&#3014;&#2992;&#3007;&#2991;&#3006;&#2980;&#2986;&#2975;&#3021;&#2975;&#3007;&#2991;&#2994;&#3021;"/>
+   <l:gentext key="nav-home" text="&#2951;&#2994;&#3021;&#2994;&#2990;&#3021;"/>
+   <l:gentext key="nav-next" text="&#2949;&#2975;&#3009;&#2980;&#3021;&#2980;&#3009;"/>
+   <l:gentext key="nav-next-sibling" text="&#2997;&#3015;&#2965;&#2990;&#3006;&#2965;&#2990;&#3009;&#2985;&#3021;&#2970;&#3014;&#2994;&#3021;"/>
+   <l:gentext key="nav-prev" text="&#2990;&#3009;&#2985;&#3021;"/>
+   <l:gentext key="nav-prev-sibling" text="&#2997;&#3015;&#2965;&#2990;&#3006;&#2965;&#2986;&#3007;&#2985;&#3021;&#2970;&#3014;&#2994;&#3021;"/>
+   <l:gentext key="nav-up" text="&#2990;&#3015;&#2994;&#3021;"/>
+   <l:gentext key="nav-toc" text="ToC"/>
+   <l:gentext key="Draft" text="&#2950;&#2997;&#2979;&#2990;&#3021;"/>
+   <l:gentext key="above" text="&#2990;&#3015;&#2994;&#3021;"/>
+   <l:gentext key="below" text="&#2965;&#3008;&#2996;&#3021;"/>
+   <l:gentext key="sectioncalled" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007;"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#2951;&#2979;&#3016;&#2986;&#3021;&#2986;&#3009;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#2986;&#3006;&#2975;&#2990;&#3021;&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#2970;&#2990;&#2985;&#3021;&#2986;&#3006;&#2975;&#3009;&#160;%n.&#160;%t"/>
+      <l:template name="example" text="&#2953;&#2980;&#3006;&#2992;&#2979;&#2990;&#3021;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="&#2986;&#2975;&#2990;&#3021;&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#2990;&#3009;&#2993;&#3016;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#2953;&#2993;&#3021;&#2986;&#2980;&#3021;&#2980;&#3007;&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#2949;&#2975;&#3021;&#2975;&#2997;&#2979;&#3016;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#2951;&#2979;&#3016;&#2986;&#3021;&#2986;&#3009;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#2986;&#3006;&#2975;&#2990;&#3021;&#160;%n.&#160;%t"/>
+      <l:template name="part" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Q:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Q:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o"/>
+      <l:template name="olink.page.citation" text=" (page %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)"/>
+      <l:template name="docname" text=" in %o"/>
+      <l:template name="docnamelong" text=" in the document titled %o"/>
+      <l:template name="pageabbrev" text="(p. %p)"/>
+      <l:template name="Page" text="Page %p"/>
+      <l:template name="bridgehead" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="A:&#160;%n"/>
+      <l:template name="appendix" text="&#2951;&#2979;&#3016;&#2986;&#3021;&#2986;&#3009;&#160;%n"/>
+      <l:template name="bridgehead" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n"/>
+      <l:template name="chapter" text="&#2986;&#3006;&#2975;&#2990;&#3021;&#160;%n"/>
+      <l:template name="equation" text="&#2970;&#2990;&#2985;&#3021;&#2986;&#3006;&#2975;&#3009;&#160;%n"/>
+      <l:template name="example" text="&#2953;&#2980;&#3006;&#2992;&#2979;&#2990;&#3021;&#160;%n"/>
+      <l:template name="figure" text="&#2986;&#2975;&#2990;&#3021;&#160;%n"/>
+      <l:template name="part" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n"/>
+      <l:template name="procedure" text="&#2990;&#3009;&#2993;&#3016;&#160;%n"/>
+      <l:template name="productionset" text="&#2953;&#2993;&#3021;&#2986;&#2980;&#3021;&#2980;&#3007;&#160;%n"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n"/>
+      <l:template name="qandaentry" text="Q:&#160;%n"/>
+      <l:template name="question" text="Q:&#160;%n"/>
+      <l:template name="sect1" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n"/>
+      <l:template name="sect2" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n"/>
+      <l:template name="sect3" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n"/>
+      <l:template name="sect4" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n"/>
+      <l:template name="sect5" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n"/>
+      <l:template name="section" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n"/>
+      <l:template name="table" text="&#2949;&#2975;&#3021;&#2975;&#2997;&#2979;&#3016;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#2951;&#2979;&#3016;&#2986;&#3021;&#2986;&#3009;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#2986;&#3006;&#2975;&#2990;&#3021;&#160;%n, %t"/>
+      <l:template name="equation" text="&#2970;&#2990;&#2985;&#3021;&#2986;&#3006;&#2975;&#3009;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#2953;&#2980;&#3006;&#2992;&#2979;&#2990;&#3021;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#2986;&#2975;&#2990;&#3021;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#2990;&#3009;&#2993;&#3016;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="&#2953;&#2993;&#3021;&#2986;&#2980;&#3021;&#2980;&#3007;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Q &amp; A&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#2986;&#2965;&#3009;&#2980;&#3007;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#2949;&#2996;&#3016;&#2965;&#3021;&#2965;&#2986;&#2975;&#3021;&#2975;&#2986;&#2965;&#3009;&#2980;&#3007; &#8220;%t&#8221;"/>
+      <l:template name="table" text="&#2949;&#2975;&#3021;&#2975;&#2997;&#2979;&#3016;&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#2990;&#2993;&#3021;&#2993;&#3009;&#2990;&#3021; "/>
+      <l:template name="seplast" text=", &#2990;&#2993;&#3021;&#2993;&#3009;&#2990;&#3021; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#2986;&#3006;&#2992;&#3021; %t"/>
+      <l:template name="seealso" text="&#2951;&#2980;&#3016;&#2991;&#3009;&#2990;&#3021;&#2986;&#3006;&#2992;&#3021;&#2965;&#3021;&#2965;&#2997;&#3009;&#2990;&#3021; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#2986;&#3006;&#2992;&#3021;&#2997;&#3016;&#2991;&#3006;&#2995;&#2992;&#3021;&#2965;&#2995;&#3021;: "/>
+      <l:template name="MsgLevel" text="&#2990;&#2975;&#3021;&#2975;&#2990;&#3021;: "/>
+      <l:template name="MsgOrig" text="&#2990;&#3010;&#2994;&#2990;&#3021;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January"/>
+      <l:template name="February" text="February"/>
+      <l:template name="March" text="March"/>
+      <l:template name="April" text="April"/>
+      <l:template name="May" text="May"/>
+      <l:template name="June" text="June"/>
+      <l:template name="July" text="July"/>
+      <l:template name="August" text="August"/>
+      <l:template name="September" text="September"/>
+      <l:template name="October" text="October"/>
+      <l:template name="November" text="November"/>
+      <l:template name="December" text="December"/>
+      <l:template name="Monday" text="Monday"/>
+      <l:template name="Tuesday" text="Tuesday"/>
+      <l:template name="Wednesday" text="Wednesday"/>
+      <l:template name="Thursday" text="Thursday"/>
+      <l:template name="Friday" text="Friday"/>
+      <l:template name="Saturday" text="Saturday"/>
+      <l:template name="Sunday" text="Sunday"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan"/>
+      <l:template name="Feb" text="Feb"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Apr"/>
+      <l:template name="May" text="May"/>
+      <l:template name="Jun" text="Jun"/>
+      <l:template name="Jul" text="Jul"/>
+      <l:template name="Aug" text="Aug"/>
+      <l:template name="Sep" text="Sep"/>
+      <l:template name="Oct" text="Oct"/>
+      <l:template name="Nov" text="Nov"/>
+      <l:template name="Dec" text="Dec"/>
+      <l:template name="Mon" text="Mon"/>
+      <l:template name="Tue" text="Tue"/>
+      <l:template name="Wed" text="Wed"/>
+      <l:template name="Thu" text="Thu"/>
+      <l:template name="Fri" text="Fri"/>
+      <l:template name="Sat" text="Sat"/>
+      <l:template name="Sun" text="Sun"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0049 Tamil"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/table.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/table.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/table.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,503 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                exclude-result-prefixes="doc"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: table.xsl 6482 2007-01-08 03:32:20Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template name="blank.spans">
+  <xsl:param name="cols" select="1"/>
+  <xsl:if test="$cols &gt; 0">
+    <xsl:text>0:</xsl:text>
+    <xsl:call-template name="blank.spans">
+      <xsl:with-param name="cols" select="$cols - 1"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="calculate.following.spans">
+  <xsl:param name="colspan" select="1"/>
+  <xsl:param name="spans" select="''"/>
+
+  <xsl:choose>
+    <xsl:when test="$colspan &gt; 0">
+      <xsl:call-template name="calculate.following.spans">
+        <xsl:with-param name="colspan" select="$colspan - 1"/>
+        <xsl:with-param name="spans" select="substring-after($spans,':')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$spans"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="finaltd">
+  <xsl:param name="spans"/>
+  <xsl:param name="col" select="0"/>
+
+  <xsl:if test="$spans != ''">
+    <xsl:choose>
+      <xsl:when test="starts-with($spans,'0:')">
+        <xsl:call-template name="empty.table.cell">
+          <xsl:with-param name="colnum" select="$col"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise></xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:call-template name="finaltd">
+      <xsl:with-param name="spans" select="substring-after($spans,':')"/>
+      <xsl:with-param name="col" select="$col+1"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="sfinaltd">
+  <xsl:param name="spans"/>
+
+  <xsl:if test="$spans != ''">
+    <xsl:choose>
+      <xsl:when test="starts-with($spans,'0:')">0:</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="substring-before($spans,':')-1"/>
+        <xsl:text>:</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:call-template name="sfinaltd">
+      <xsl:with-param name="spans" select="substring-after($spans,':')"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="entry.colnum">
+  <xsl:param name="entry" select="."/>
+
+  <xsl:choose>
+    <xsl:when test="$entry/@spanname">
+      <xsl:variable name="spanname" select="$entry/@spanname"/>
+      <xsl:variable name="spanspec"
+                    select="($entry/ancestor::tgroup/spanspec[@spanname=$spanname]
+                             |$entry/ancestor::entrytbl/spanspec[@spanname=$spanname])[last()]"/>
+      <xsl:variable name="colspec"
+                    select="($entry/ancestor::tgroup/colspec[@colname=$spanspec/@namest]
+                             |$entry/ancestor::entrytbl/colspec[@colname=$spanspec/@namest])[last()]"/>
+      <xsl:call-template name="colspec.colnum">
+        <xsl:with-param name="colspec" select="$colspec"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$entry/@colname">
+      <xsl:variable name="colname" select="$entry/@colname"/>
+      <xsl:variable name="colspec"
+                    select="($entry/ancestor::tgroup/colspec[@colname=$colname]
+                             |$entry/ancestor::entrytbl/colspec[@colname=$colname])[last()]"/>
+      <xsl:call-template name="colspec.colnum">
+        <xsl:with-param name="colspec" select="$colspec"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$entry/@namest">
+      <xsl:variable name="namest" select="$entry/@namest"/>
+      <xsl:variable name="colspec"
+                    select="($entry/ancestor::tgroup/colspec[@colname=$namest]
+                             |$entry/ancestor::entrytbl/colspec[@colname=$namest])[last()]"/>
+      <xsl:call-template name="colspec.colnum">
+        <xsl:with-param name="colspec" select="$colspec"/>
+      </xsl:call-template>
+    </xsl:when>
+    <!-- no idea, return 0 -->
+    <xsl:otherwise>0</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<doc:template name="entry.colnum" xmlns="">
+<refpurpose>Determine the column number in which a given entry occurs</refpurpose>
+<refdescription>
+<para>If an <sgmltag>entry</sgmltag> has a
+<sgmltag class="attribute">colname</sgmltag> or
+<sgmltag class="attribute">namest</sgmltag> attribute, this template
+will determine the number of the column in which the entry should occur.
+For other <sgmltag>entry</sgmltag>s, nothing is returned.</para>
+</refdescription>
+<refparameter>
+<variablelist>
+<varlistentry><term>entry</term>
+<listitem>
+<para>The <sgmltag>entry</sgmltag>-element which is to be tested.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparameter>
+
+<refreturn>
+<para>This template returns the column number if it can be determined,
+or 0 (the empty string)</para>
+</refreturn>
+</doc:template>
+
+<xsl:template name="colspec.colnum">
+  <xsl:param name="colspec" select="."/>
+  <xsl:choose>
+    <xsl:when test="$colspec/@colnum">
+      <xsl:value-of select="$colspec/@colnum"/>
+    </xsl:when>
+    <xsl:when test="$colspec/preceding-sibling::colspec">
+      <xsl:variable name="prec.colspec.colnum">
+        <xsl:call-template name="colspec.colnum">
+          <xsl:with-param name="colspec"
+                          select="$colspec/preceding-sibling::colspec[1]"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:value-of select="$prec.colspec.colnum + 1"/>
+    </xsl:when>
+    <xsl:otherwise>1</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="calculate.colspan">
+  <xsl:param name="entry" select="."/>
+  <xsl:variable name="spanname" select="$entry/@spanname"/>
+  <xsl:variable name="spanspec"
+                select="($entry/ancestor::tgroup/spanspec[@spanname=$spanname]
+                         |$entry/ancestor::entrytbl/spanspec[@spanname=$spanname])[last()]"/>
+
+  <xsl:variable name="namest">
+    <xsl:choose>
+      <xsl:when test="@spanname">
+        <xsl:value-of select="$spanspec/@namest"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$entry/@namest"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="nameend">
+    <xsl:choose>
+      <xsl:when test="@spanname">
+        <xsl:value-of select="$spanspec/@nameend"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$entry/@nameend"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="scol">
+    <xsl:call-template name="colspec.colnum">
+      <xsl:with-param name="colspec"
+                      select="($entry/ancestor::tgroup/colspec[@colname=$namest]
+                               |$entry/ancestor::entrytbl/colspec[@colname=$namest])[last()]"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="ecol">
+    <xsl:call-template name="colspec.colnum">
+      <xsl:with-param name="colspec"
+                      select="($entry/ancestor::tgroup/colspec[@colname=$nameend]
+                               |$entry/ancestor::entrytbl/colspec[@colname=$nameend])[last()]"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$namest != '' and $nameend != ''">
+      <xsl:choose>
+        <xsl:when test="number($ecol) &gt;= number($scol)">
+          <xsl:value-of select="number($ecol) - number($scol) + 1"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="number($scol) - number($ecol) + 1"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>1</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="calculate.rowsep">
+  <xsl:param name="entry" select="."/>
+  <xsl:param name="colnum" select="0"/>
+
+  <xsl:call-template name="inherited.table.attribute">
+    <xsl:with-param name="entry" select="$entry"/>
+    <xsl:with-param name="colnum" select="$colnum"/>
+    <xsl:with-param name="attribute" select="'rowsep'"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="calculate.colsep">
+  <xsl:param name="entry" select="."/>
+  <xsl:param name="colnum" select="0"/>
+
+  <xsl:call-template name="inherited.table.attribute">
+    <xsl:with-param name="entry" select="$entry"/>
+    <xsl:with-param name="colnum" select="$colnum"/>
+    <xsl:with-param name="attribute" select="'colsep'"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="inherited.table.attribute">
+  <xsl:param name="entry" select="."/>
+  <xsl:param name="row" select="$entry/ancestor-or-self::row[1]"/>
+  <xsl:param name="colnum" select="0"/>
+  <xsl:param name="attribute" select="'colsep'"/>
+
+  <xsl:variable name="tgroup" select="$row/parent::*/parent::tgroup[1]"/>
+
+  <xsl:variable name="table" select="($tgroup/ancestor::table
+                                     |$tgroup/ancestor::informaltable
+				     |$entry/ancestor::entrytbl)[last()]"/>
+
+  <xsl:variable name="entry.value">
+    <xsl:call-template name="get-attribute">
+      <xsl:with-param name="element" select="$entry"/>
+      <xsl:with-param name="attribute" select="$attribute"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="row.value">
+    <xsl:call-template name="get-attribute">
+      <xsl:with-param name="element" select="$row"/>
+      <xsl:with-param name="attribute" select="$attribute"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="span.value">
+    <xsl:if test="$entry/@spanname">
+      <xsl:variable name="spanname" select="$entry/@spanname"/>
+      <xsl:variable name="spanspec"
+                    select="$tgroup/spanspec[@spanname=$spanname]"/>
+      <xsl:variable name="span.colspec"
+                    select="$tgroup/colspec[@colname=$spanspec/@namest]"/>
+
+      <xsl:variable name="spanspec.value">
+        <xsl:call-template name="get-attribute">
+          <xsl:with-param name="element" select="$spanspec"/>
+          <xsl:with-param name="attribute" select="$attribute"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="scolspec.value">
+        <xsl:call-template name="get-attribute">
+          <xsl:with-param name="element" select="$span.colspec"/>
+          <xsl:with-param name="attribute" select="$attribute"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$spanspec.value != ''">
+          <xsl:value-of select="$spanspec.value"/>
+        </xsl:when>
+        <xsl:when test="$scolspec.value != ''">
+          <xsl:value-of select="$scolspec.value"/>
+        </xsl:when>
+        <xsl:otherwise></xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="namest.value">
+    <xsl:if test="$entry/@namest">
+      <xsl:variable name="namest" select="$entry/@namest"/>
+      <xsl:variable name="colspec"
+                    select="$tgroup/colspec[@colname=$namest]"/>
+
+      <xsl:variable name="inner.namest.value">
+        <xsl:call-template name="get-attribute">
+          <xsl:with-param name="element" select="$colspec"/>
+          <xsl:with-param name="attribute" select="$attribute"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$inner.namest.value">
+          <xsl:value-of select="$inner.namest.value"/>
+        </xsl:when>
+        <xsl:otherwise></xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="tgroup.value">
+    <xsl:call-template name="get-attribute">
+      <xsl:with-param name="element" select="$tgroup"/>
+      <xsl:with-param name="attribute" select="$attribute"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="table.value">
+    <xsl:call-template name="get-attribute">
+      <xsl:with-param name="element" select="$table"/>
+      <xsl:with-param name="attribute" select="$attribute"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="default.value">
+    <!-- This section used to say that rowsep and colsep have defaults based -->
+    <!-- on the frame setting. Further reflection and closer examination of the -->
+    <!-- CALS spec reveals I was mistaken. The default is "1" for rowsep and colsep. -->
+    <!-- For everything else, the default is the tgroup value -->
+    <xsl:choose>
+      <xsl:when test="$tgroup.value != ''">
+        <xsl:value-of select="$tgroup.value"/>
+      </xsl:when>
+      <xsl:when test="$attribute = 'rowsep'">1</xsl:when>
+      <xsl:when test="$attribute = 'colsep'">1</xsl:when>
+      <xsl:otherwise><!-- empty --></xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="calc.colvalue">
+    <xsl:if test="$colnum &gt; 0">
+      <xsl:call-template name="colnum.colspec">
+        <xsl:with-param name="colnum" select="$colnum"/>
+        <xsl:with-param name="attribute" select="$attribute"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$entry.value != ''">
+      <xsl:value-of select="$entry.value"/>
+    </xsl:when>
+    <xsl:when test="$row.value != ''">
+      <xsl:value-of select="$row.value"/>
+    </xsl:when>
+    <xsl:when test="$span.value != ''">
+      <xsl:value-of select="$span.value"/>
+    </xsl:when>
+    <xsl:when test="$namest.value != ''">
+      <xsl:value-of select="$namest.value"/>
+    </xsl:when>
+    <xsl:when test="$calc.colvalue != ''">
+      <xsl:value-of select="$calc.colvalue"/>
+    </xsl:when>
+    <xsl:when test="$tgroup.value != ''">
+      <xsl:value-of select="$tgroup.value"/>
+    </xsl:when>
+    <xsl:when test="$table.value != ''">
+      <xsl:value-of select="$table.value"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$default.value"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="colnum.colspec">
+  <xsl:param name="colnum" select="0"/>
+  <xsl:param name="attribute" select="'colname'"/>
+  <xsl:param name="colspec.ancestor" 
+             select="(ancestor::tgroup|ancestor::entrytbl)
+	             [position() = last()]"/>
+  <xsl:param name="colspecs" select="$colspec.ancestor/colspec"/>
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="not($colspecs) or $count &gt; $colnum">
+      <!-- nop -->
+    </xsl:when>
+    <xsl:when test="$colspecs[1]/@colnum">
+      <xsl:choose>
+        <xsl:when test="$colspecs[1]/@colnum = $colnum">
+          <xsl:call-template name="get-attribute">
+            <xsl:with-param name="element" select="$colspecs[1]"/>
+            <xsl:with-param name="attribute" select="$attribute"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="colnum.colspec">
+            <xsl:with-param name="colnum" select="$colnum"/>
+            <xsl:with-param name="attribute" select="$attribute"/>
+            <xsl:with-param name="colspecs"
+                            select="$colspecs[position()&gt;1]"/>
+            <xsl:with-param name="count"
+                            select="$colspecs[1]/@colnum+1"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$count = $colnum">
+          <xsl:call-template name="get-attribute">
+            <xsl:with-param name="element" select="$colspecs[1]"/>
+            <xsl:with-param name="attribute" select="$attribute"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="colnum.colspec">
+            <xsl:with-param name="colnum" select="$colnum"/>
+            <xsl:with-param name="attribute" select="$attribute"/>
+            <xsl:with-param name="colspecs"
+                            select="$colspecs[position()&gt;1]"/>
+            <xsl:with-param name="count" select="$count+1"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="get-attribute">
+  <xsl:param name="element" select="."/>
+  <xsl:param name="attribute" select="''"/>
+
+  <xsl:for-each select="$element/@*">
+    <xsl:if test="local-name(.) = $attribute">
+      <xsl:value-of select="."/>
+    </xsl:if>
+  </xsl:for-each>
+</xsl:template>
+
+<xsl:template name="consume-row">
+  <xsl:param name="spans"/>
+
+  <xsl:if test="contains($spans,':')">
+    <xsl:value-of select="substring-before($spans,':') - 1"/>
+    <xsl:text>:</xsl:text>
+    <xsl:call-template name="consume-row">
+      <xsl:with-param name="spans" select="substring-after($spans,':')"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<!-- Returns the table style for the context element -->
+<xsl:template name="tabstyle">
+  <xsl:param name="node" select="."/>
+
+  <xsl:variable name="tgroup" select="$node/tgroup[1] | 
+                                      $node/ancestor-or-self::tgroup[1]"/>
+
+  <xsl:variable name="table" 
+                select="($node/ancestor-or-self::table | 
+                         $node/ancestor-or-self::informaltable)[1]"/>
+
+  <xsl:variable name="tabstyle">
+    <xsl:choose>
+      <xsl:when test="$table/@tabstyle != ''">
+        <xsl:value-of select="normalize-space($table/@tabstyle)"/>
+      </xsl:when>
+      <xsl:when test="$tgroup/@tgroupstyle != ''">
+        <xsl:value-of select="normalize-space($tgroup/@tgroupstyle)"/>
+      </xsl:when>
+      <xsl:otherwise>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:value-of select="$tabstyle"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/common/targetdatabase.dtd
===================================================================
--- trunk/docs/docbook/src/main/resources/common/targetdatabase.dtd	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/targetdatabase.dtd	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,49 @@
+<!-- targetdatabase.dtd -->
+<!-- A DTD for managing cross reference target information -->
+
+<!ELEMENT targetset (targetsetinfo?, sitemap*, document*) >
+
+<!ELEMENT targetsetinfo ANY >
+
+<!ELEMENT sitemap (dir) >
+
+<!ELEMENT dir ((dir|document)*) >
+<!ATTLIST dir
+        name      CDATA   #REQUIRED
+>
+
+<!ELEMENT document (div*) >
+<!ATTLIST document
+        targetdoc CDATA   #REQUIRED
+        uri       CDATA   #IMPLIED
+        baseuri   CDATA   #IMPLIED
+        href      CDATA   #IMPLIED
+        dir       CDATA   #IMPLIED
+>
+
+<!ELEMENT div (ttl?, objttl?, xreftext?, (div|obj)*)>
+<!ATTLIST div
+        targetptr  CDATA   #IMPLIED
+        element   CDATA   #IMPLIED
+        name      CDATA   #IMPLIED
+        number    CDATA   #IMPLIED
+        href      CDATA   #IMPLIED
+        lang      CDATA   #IMPLIED
+        page      CDATA   #IMPLIED
+>
+        
+        
+<!ELEMENT ttl ANY >
+<!ELEMENT objttl ANY >
+<!ELEMENT xreftext ANY >
+
+<!ELEMENT obj (ttl?, objttl?, xreftext?)>
+<!ATTLIST obj
+        targetptr  CDATA   #IMPLIED
+        element   CDATA   #IMPLIED
+        name      CDATA   #IMPLIED
+        number    CDATA   #IMPLIED
+        href      CDATA   #IMPLIED
+        lang      CDATA   #IMPLIED
+        page      CDATA   #IMPLIED
+>

Added: trunk/docs/docbook/src/main/resources/common/targets.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/targets.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/targets.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,272 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                exclude-result-prefixes="doc"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: targets.xsl 6413 2006-11-15 09:00:26Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- cross reference target collection  -->
+
+<doc:mode mode="collect.targets" xmlns="">
+<refpurpose>Collects information for potential cross reference targets</refpurpose>
+<refdescription>
+<para>Processing the root element in the
+<literal role="mode">collect.targets</literal> mode produces 
+a set of target database elements that can be used by
+the olink mechanism to resolve external cross references.
+The collection process is controlled by the <literal>
+collect.xref.targets</literal> parameter, which can be
+<literal>yes</literal> to collect targets and process
+the document for output, <literal>only</literal> to
+only collect the targets, and <literal>no</literal>
+(default) to not collect the targets and only process the document.
+</para>
+<para>
+A <literal>targets.filename</literal> parameter must be
+specified to receive the output if 
+<literal>collect.xref.targets</literal> is
+set to <literal>yes</literal> so as to
+redirect the target data to a file separate from the
+document output.
+</para>
+</refdescription>
+</doc:mode>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="collect.targets">
+  <xsl:choose>
+    <xsl:when test="$collect.xref.targets = 'yes' and $targets.filename = ''">
+      <xsl:message>
+        Must specify a $targets.filename parameter when
+        $collect.xref.targets is set to 'yes'.
+        The xref targets were not collected.
+      </xsl:message>
+    </xsl:when> 
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$targets.filename">
+          <xsl:call-template name="write.chunk">
+            <xsl:with-param name="filename" select="$targets.filename"/>
+            <xsl:with-param name="method" select="'xml'"/>
+            <xsl:with-param name="encoding" select="'utf-8'"/>
+            <xsl:with-param name="omit-xml-declaration" select="'yes'"/>
+            <xsl:with-param name="doctype-public" select="''"/>
+            <xsl:with-param name="doctype-system" select="''"/>
+            <xsl:with-param name="indent" select="'no'"/>
+            <xsl:with-param name="quiet" select="0"/>
+            <xsl:with-param name="content">
+              <xsl:apply-templates select="." mode="olink.mode"/>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <!-- Else write to standard output -->
+          <xsl:apply-templates select="." mode="olink.mode"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="olink.href.target">
+  <xsl:param name="nd" select="."/>
+
+  <xsl:value-of select="$olink.base.uri"/>
+  <xsl:call-template name="href.target">
+    <xsl:with-param name="object" select="$nd"/>
+    <xsl:with-param name="context" select="NOTANODE"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- Templates for extracting cross reference information
+     from a document for use in an xref database.
+-->
+
+<xsl:template name="attrs">
+  <xsl:param name="nd" select="."/>
+
+  <xsl:attribute name="element">
+    <xsl:value-of select="local-name(.)"/>
+  </xsl:attribute>
+
+  <xsl:attribute name="href">
+    <xsl:call-template name="olink.href.target">
+      <xsl:with-param name="nd" select="$nd"/>
+    </xsl:call-template>
+  </xsl:attribute>
+
+  <xsl:variable name="num">
+    <xsl:apply-templates select="$nd" mode="label.markup">
+      <xsl:with-param name="verbose" select="0"/>
+    </xsl:apply-templates>
+  </xsl:variable>
+
+  <xsl:if test="$num">
+    <xsl:attribute name="number">
+      <xsl:value-of select="$num"/>
+    </xsl:attribute>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="$nd/@id">
+      <xsl:attribute name="targetptr">
+        <xsl:value-of select="$nd/@id"/>
+      </xsl:attribute>
+    </xsl:when>
+    <xsl:when test="$nd/@xml:id">
+      <xsl:attribute name="targetptr">
+        <xsl:value-of select="$nd/@xml:id"/>
+      </xsl:attribute>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:if test="$nd/@lang">
+    <xsl:attribute name="lang">
+      <xsl:value-of select="$nd/@lang"/>
+    </xsl:attribute>
+  </xsl:if>
+
+</xsl:template>
+
+<xsl:template name="div">
+  <xsl:param name="nd" select="."/>
+
+  <div>
+    <xsl:call-template name="attrs">
+      <xsl:with-param name="nd" select="$nd"/>
+    </xsl:call-template>
+    <ttl>
+      <xsl:apply-templates select="$nd" mode="title.markup">
+        <xsl:with-param name="verbose" select="0"/>
+      </xsl:apply-templates>
+    </ttl>
+    <xreftext>
+      <xsl:choose>
+        <xsl:when test="$nd/@xreflabel">
+          <xsl:call-template name="xref.xreflabel">
+            <xsl:with-param name="target" select="$nd"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$nd" mode="xref-to">
+            <xsl:with-param name="verbose" select="0"/>
+          </xsl:apply-templates>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xreftext>
+    <xsl:apply-templates mode="olink.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template name="obj">
+  <xsl:param name="nd" select="."/>
+
+  <obj>
+    <xsl:call-template name="attrs">
+      <xsl:with-param name="nd" select="$nd"/>
+    </xsl:call-template>
+    <ttl>
+      <xsl:apply-templates select="$nd" mode="title.markup">
+        <xsl:with-param name="verbose" select="0"/>
+      </xsl:apply-templates>
+    </ttl>
+    <xreftext>
+      <xsl:choose>
+        <xsl:when test="$nd/@xreflabel">
+          <xsl:call-template name="xref.xreflabel">
+            <xsl:with-param name="target" select="$nd"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$nd" mode="xref-to">
+            <xsl:with-param name="verbose" select="0"/>
+          </xsl:apply-templates>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xreftext>
+  </obj>
+</xsl:template>
+
+<xsl:template match="text()|processing-instruction()|comment()"
+              mode="olink.mode">
+  <!-- nop -->
+</xsl:template>
+
+<!--
+<xsl:template match="*" mode="olink.mode">
+</xsl:template>
+-->
+
+<xsl:template match="set" mode="olink.mode">
+  <xsl:call-template name="div"/>
+</xsl:template>
+
+<xsl:template match="book" mode="olink.mode">
+  <xsl:call-template name="div"/>
+</xsl:template>
+
+<xsl:template match="preface|chapter|appendix" mode="olink.mode">
+  <xsl:call-template name="div"/>
+</xsl:template>
+
+<xsl:template match="part|reference" mode="olink.mode">
+  <xsl:call-template name="div"/>
+</xsl:template>
+
+<xsl:template match="article" mode="olink.mode">
+  <xsl:call-template name="div"/>
+</xsl:template>
+
+<xsl:template match="bibliography|bibliodiv" mode="olink.mode">
+  <xsl:call-template name="div"/>
+</xsl:template>
+
+<xsl:template match="biblioentry|bibliomixed" mode="olink.mode">
+  <xsl:call-template name="obj"/>
+</xsl:template>
+
+<xsl:template match="refentry" mode="olink.mode">
+  <xsl:call-template name="div"/>
+</xsl:template>
+
+<xsl:template match="section|sect1|sect2|sect3|sect4|sect5" mode="olink.mode">
+  <xsl:call-template name="div"/>
+</xsl:template>
+
+<xsl:template match="refsection|refsect1|refsect2|refsect3" mode="olink.mode">
+  <xsl:call-template name="div"/>
+</xsl:template>
+
+<xsl:template match="figure|example|table" mode="olink.mode">
+  <xsl:call-template name="obj"/>
+  <xsl:apply-templates mode="olink.mode"/>
+</xsl:template>
+
+<xsl:template match="equation[title or info/title]" mode="olink.mode">
+  <xsl:call-template name="obj"/>
+</xsl:template>
+
+<xsl:template match="qandaset|qandaentry" mode="olink.mode">
+  <xsl:call-template name="div"/>
+</xsl:template>
+
+<xsl:template match="*" mode="olink.mode">
+  <xsl:if test="@id or @xml:id">
+    <xsl:call-template name="obj"/>
+  </xsl:if> 
+  <xsl:apply-templates mode="olink.mode"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/common/th.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/th.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/th.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="th" english-language-name="Thai">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/th.xml -->
+<!-- * -->
+<!-- * E-mail the edited th.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#3610;&#3607;&#3588;&#3633;&#3604;&#3618;&#3656;&#3629;"/>
+   <l:gentext key="abstract" text="&#3610;&#3607;&#3588;&#3633;&#3604;&#3618;&#3656;&#3629;"/>
+   <l:gentext key="Answer" text="&#3605;&#3629;&#3610;:"/>
+   <l:gentext key="answer" text="&#3605;&#3629;&#3610;:"/>
+   <l:gentext key="Appendix" text="&#3616;&#3634;&#3588;&#3612;&#3609;&#3623;&#3585;"/>
+   <l:gentext key="appendix" text="&#3616;&#3634;&#3588;&#3612;&#3609;&#3623;&#3585;"/>
+   <l:gentext key="Article" text="&#3610;&#3607;&#3588;&#3623;&#3634;&#3617;"/>
+   <l:gentext key="article" text="&#3610;&#3607;&#3588;&#3623;&#3634;&#3617;"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="&#3610;&#3619;&#3619;&#3603;&#3634;&#3609;&#3640;&#3585;&#3619;&#3617;"/>
+   <l:gentext key="bibliography" text="&#3610;&#3619;&#3619;&#3603;&#3634;&#3609;&#3640;&#3585;&#3619;&#3617;"/>
+   <l:gentext key="Book" text="&#3627;&#3609;&#3633;&#3591;&#3626;&#3639;&#3629;"/>
+   <l:gentext key="book" text="&#3627;&#3609;&#3633;&#3591;&#3626;&#3639;&#3629;"/>
+   <l:gentext key="CAUTION" text="&#3588;&#3635;&#3648;&#3605;&#3639;&#3629;&#3609;"/>
+   <l:gentext key="Caution" text="&#3588;&#3635;&#3648;&#3605;&#3639;&#3629;&#3609;"/>
+   <l:gentext key="caution" text="&#3588;&#3635;&#3648;&#3605;&#3639;&#3629;&#3609;"/>
+   <l:gentext key="Chapter" text="&#3610;&#3607;&#3607;&#3637;&#3656;"/>
+   <l:gentext key="chapter" text="&#3610;&#3607;&#3607;&#3637;&#3656;"/>
+   <l:gentext key="Colophon" text="&#3648;&#3610;&#3639;&#3657;&#3629;&#3591;&#3627;&#3621;&#3633;&#3591;"/>
+   <l:gentext key="colophon" text="&#3648;&#3610;&#3639;&#3657;&#3629;&#3591;&#3627;&#3621;&#3633;&#3591;"/>
+   <l:gentext key="Copyright" text="&#3626;&#3591;&#3623;&#3609;&#3626;&#3636;&#3586;&#3626;&#3636;&#3607;&#3608;&#3636;&#3660;"/>
+   <l:gentext key="copyright" text="&#3626;&#3591;&#3623;&#3609;&#3626;&#3636;&#3586;&#3626;&#3636;&#3607;&#3608;&#3636;&#3660;"/>
+   <l:gentext key="Dedication" text="&#3588;&#3635;&#3629;&#3640;&#3607;&#3636;&#3624;"/>
+   <l:gentext key="dedication" text="&#3588;&#3635;&#3629;&#3640;&#3607;&#3636;&#3624;"/>
+   <l:gentext key="Edition" text="&#3593;&#3610;&#3633;&#3610;"/>
+   <l:gentext key="edition" text="&#3593;&#3610;&#3633;&#3610;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#3626;&#3617;&#3585;&#3634;&#3619;"/>
+   <l:gentext key="equation" text="&#3626;&#3617;&#3585;&#3634;&#3619;"/>
+   <l:gentext key="Example" text="&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591;"/>
+   <l:gentext key="example" text="&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591;"/>
+   <l:gentext key="Figure" text="&#3619;&#3641;&#3611;"/>
+   <l:gentext key="figure" text="&#3619;&#3641;&#3611;"/>
+   <l:gentext key="Glossary" text="&#3629;&#3616;&#3636;&#3608;&#3634;&#3609;&#3624;&#3633;&#3614;&#3607;&#3660;"/>
+   <l:gentext key="glossary" text="&#3629;&#3616;&#3636;&#3608;&#3634;&#3609;&#3624;&#3633;&#3614;&#3607;&#3660;"/>
+   <l:gentext key="GlossSee" text="&#3604;&#3641;"/>
+   <l:gentext key="glosssee" text="&#3604;&#3641;"/>
+   <l:gentext key="GlossSeeAlso" text="&#3604;&#3641;&#3648;&#3614;&#3636;&#3656;&#3617;&#3648;&#3605;&#3636;&#3617;"/>
+   <l:gentext key="glossseealso" text="&#3604;&#3641;&#3648;&#3614;&#3636;&#3656;&#3617;&#3648;&#3605;&#3636;&#3617;"/>
+   <l:gentext key="IMPORTANT" text="&#3586;&#3657;&#3629;&#3588;&#3623;&#3619;&#3592;&#3635;"/>
+   <l:gentext key="important" text="&#3586;&#3657;&#3629;&#3588;&#3623;&#3619;&#3592;&#3635;"/>
+   <l:gentext key="Important" text="&#3586;&#3657;&#3629;&#3588;&#3623;&#3619;&#3592;&#3635;"/>
+   <l:gentext key="Index" text="&#3604;&#3619;&#3619;&#3594;&#3609;&#3637;"/>
+   <l:gentext key="index" text="&#3604;&#3619;&#3619;&#3594;&#3609;&#3637;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#3586;&#3657;&#3629;&#3612;&#3641;&#3585;&#3614;&#3633;&#3609;&#3605;&#3634;&#3617;&#3585;&#3598;&#3627;&#3617;&#3634;&#3618;"/>
+   <l:gentext key="legalnotice" text="&#3586;&#3657;&#3629;&#3612;&#3641;&#3585;&#3614;&#3633;&#3609;&#3605;&#3634;&#3617;&#3585;&#3598;&#3627;&#3617;&#3634;&#3618;"/>
+   <l:gentext key="MsgAud" text="&#3612;&#3641;&#3657;&#3629;&#3656;&#3634;&#3609;"/>
+   <l:gentext key="msgaud" text="&#3612;&#3641;&#3657;&#3629;&#3656;&#3634;&#3609;"/>
+   <l:gentext key="MsgLevel" text="&#3619;&#3632;&#3604;&#3633;&#3610;"/>
+   <l:gentext key="msglevel" text="&#3619;&#3632;&#3604;&#3633;&#3610;"/>
+   <l:gentext key="MsgOrig" text="&#3607;&#3637;&#3656;&#3617;&#3634;"/>
+   <l:gentext key="msgorig" text="&#3607;&#3637;&#3656;&#3617;&#3634;"/>
+   <l:gentext key="NOTE" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+   <l:gentext key="Note" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+   <l:gentext key="note" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+   <l:gentext key="Part" text="&#3616;&#3634;&#3588;"/>
+   <l:gentext key="part" text="&#3616;&#3634;&#3588;"/>
+   <l:gentext key="Preface" text="&#3588;&#3635;&#3609;&#3635;"/>
+   <l:gentext key="preface" text="&#3588;&#3635;&#3609;&#3635;"/>
+   <l:gentext key="Procedure" text="&#3619;&#3632;&#3648;&#3610;&#3637;&#3618;&#3610;&#3585;&#3634;&#3619;"/>
+   <l:gentext key="procedure" text="&#3619;&#3632;&#3648;&#3610;&#3637;&#3618;&#3610;&#3585;&#3634;&#3619;"/>
+   <l:gentext key="ProductionSet" text="&#3612;&#3621;&#3636;&#3605;"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="&#3605;&#3637;&#3614;&#3636;&#3617;&#3614;&#3660;"/>
+   <l:gentext key="published" text="&#3605;&#3637;&#3614;&#3636;&#3617;&#3614;&#3660;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#3606;&#3634;&#3617;-&#3605;&#3629;&#3610;"/>
+   <l:gentext key="qandadiv" text="&#3606;&#3634;&#3617;-&#3605;&#3629;&#3610;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#3606;&#3634;&#3617;:"/>
+   <l:gentext key="question" text="&#3606;&#3634;&#3617;:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#3627;&#3609;&#3633;&#3591;&#3626;&#3639;&#3629;&#3629;&#3657;&#3634;&#3591;&#3629;&#3636;&#3591;"/>
+   <l:gentext key="reference" text="&#3627;&#3609;&#3633;&#3591;&#3626;&#3639;&#3629;&#3629;&#3657;&#3634;&#3591;&#3629;&#3636;&#3591;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#3594;&#3639;&#3656;&#3629;"/>
+   <l:gentext key="refname" text="&#3594;&#3639;&#3656;&#3629;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#3626;&#3634;&#3619;&#3632;&#3626;&#3635;&#3588;&#3633;&#3597;"/>
+   <l:gentext key="refsynopsisdiv" text="&#3626;&#3634;&#3619;&#3632;&#3626;&#3635;&#3588;&#3633;&#3597;"/>
+   <l:gentext key="RevHistory" text="&#3610;&#3633;&#3609;&#3607;&#3638;&#3585;&#3619;&#3640;&#3656;&#3609;"/>
+   <l:gentext key="revhistory" text="&#3610;&#3633;&#3609;&#3607;&#3638;&#3585;&#3619;&#3640;&#3656;&#3609;"/>
+   <l:gentext key="revision" text="&#3619;&#3640;&#3656;&#3609;&#3607;&#3637;&#3656;"/>
+   <l:gentext key="Revision" text="&#3619;&#3640;&#3656;&#3609;&#3607;&#3637;&#3656;"/>
+   <l:gentext key="sect1" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+   <l:gentext key="sect2" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+   <l:gentext key="sect3" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+   <l:gentext key="sect4" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+   <l:gentext key="sect5" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+   <l:gentext key="section" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+   <l:gentext key="Section" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;"/>
+   <l:gentext key="see" text="&#3604;&#3641;"/>
+   <l:gentext key="See" text="&#3604;&#3641;"/>
+   <l:gentext key="seealso" text="&#3604;&#3641;&#3648;&#3614;&#3636;&#3656;&#3617;&#3648;&#3605;&#3636;&#3617;"/>
+   <l:gentext key="Seealso" text="&#3604;&#3641;&#3648;&#3614;&#3636;&#3656;&#3617;&#3648;&#3605;&#3636;&#3617;"/>
+   <l:gentext key="SeeAlso" text="&#3604;&#3641;&#3648;&#3614;&#3636;&#3656;&#3617;&#3648;&#3605;&#3636;&#3617;"/>
+   <l:gentext key="set" text="&#3594;&#3640;&#3604;"/>
+   <l:gentext key="Set" text="&#3594;&#3640;&#3604;"/>
+   <l:gentext key="setindex" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3594;&#3640;&#3604;"/>
+   <l:gentext key="SetIndex" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3594;&#3640;&#3604;"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="&#3621;&#3635;&#3604;&#3633;&#3610;"/>
+   <l:gentext key="Step" text="&#3621;&#3635;&#3604;&#3633;&#3610;"/>
+   <l:gentext key="table" text="&#3605;&#3634;&#3619;&#3634;&#3591;"/>
+   <l:gentext key="Table" text="&#3605;&#3634;&#3619;&#3634;&#3591;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#3588;&#3635;&#3649;&#3609;&#3632;&#3609;&#3635;"/>
+   <l:gentext key="TIP" text="&#3588;&#3635;&#3649;&#3609;&#3632;&#3609;&#3635;"/>
+   <l:gentext key="Tip" text="&#3588;&#3635;&#3649;&#3609;&#3632;&#3609;&#3635;"/>
+   <l:gentext key="Warning" text="&#3588;&#3635;&#3648;&#3605;&#3639;&#3629;&#3609;"/>
+   <l:gentext key="warning" text="&#3588;&#3635;&#3648;&#3605;&#3639;&#3629;&#3609;"/>
+   <l:gentext key="WARNING" text="&#3588;&#3635;&#3648;&#3605;&#3639;&#3629;&#3609;"/>
+   <l:gentext key="and" text="&#3649;&#3621;&#3632;"/>
+   <l:gentext key="by" text="&#3650;&#3604;&#3618;"/>
+   <l:gentext key="Edited" text="&#3648;&#3619;&#3637;&#3618;&#3610;&#3648;&#3619;&#3637;&#3618;&#3591;"/>
+   <l:gentext key="edited" text="&#3648;&#3619;&#3637;&#3618;&#3610;&#3648;&#3619;&#3637;&#3618;&#3591;"/>
+   <l:gentext key="Editedby" text="&#3648;&#3619;&#3637;&#3618;&#3610;&#3648;&#3619;&#3637;&#3618;&#3591;&#3650;&#3604;&#3618;"/>
+   <l:gentext key="editedby" text="&#3648;&#3619;&#3637;&#3618;&#3610;&#3648;&#3619;&#3637;&#3618;&#3591;&#3650;&#3604;&#3618;"/>
+   <l:gentext key="in" text="&#3651;&#3609;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#3652;&#3617;&#3656;&#3614;&#3610;&#3626;&#3656;&#3623;&#3609;&#3607;&#3637;&#3656;&#3605;&#3657;&#3629;&#3591;&#3585;&#3634;&#3619;"/>
+   <l:gentext key="notes" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+   <l:gentext key="Notes" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+   <l:gentext key="Pgs" text="&#3627;&#3609;&#3657;&#3634;"/>
+   <l:gentext key="pgs" text="&#3627;&#3609;&#3657;&#3634;"/>
+   <l:gentext key="Revisedby" text="&#3649;&#3585;&#3657;&#3652;&#3586;&#3611;&#3619;&#3633;&#3610;&#3611;&#3619;&#3640;&#3591;&#3650;&#3604;&#3618;: "/>
+   <l:gentext key="revisedby" text="&#3649;&#3585;&#3657;&#3652;&#3586;&#3611;&#3619;&#3633;&#3610;&#3611;&#3619;&#3640;&#3591;&#3650;&#3604;&#3618;: "/>
+   <l:gentext key="TableNotes" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+   <l:gentext key="tablenotes" text="&#3627;&#3617;&#3634;&#3618;&#3648;&#3627;&#3605;&#3640;"/>
+   <l:gentext key="TableofContents" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;"/>
+   <l:gentext key="tableofcontents" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;"/>
+   <l:gentext key="unexpectedelementname" text="&#3614;&#3610;&#3626;&#3656;&#3623;&#3609;&#3607;&#3637;&#3656;&#3652;&#3617;&#3656;&#3605;&#3657;&#3629;&#3591;&#3585;&#3634;&#3619;"/>
+   <l:gentext key="unsupported" text="&#3652;&#3617;&#3656;&#3626;&#3609;&#3633;&#3610;&#3626;&#3609;&#3640;&#3609;"/>
+   <l:gentext key="xrefto" text="xref to"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3626;&#3617;&#3585;&#3634;&#3619;"/>
+   <l:gentext key="ListofEquations" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3626;&#3617;&#3585;&#3634;&#3619;"/>
+   <l:gentext key="ListofExamples" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591;"/>
+   <l:gentext key="listofexamples" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591;"/>
+   <l:gentext key="ListofFigures" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3619;&#3641;&#3611;"/>
+   <l:gentext key="listoffigures" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3619;&#3641;&#3611;"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3605;&#3634;&#3619;&#3634;&#3591;"/>
+   <l:gentext key="ListofTables" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3605;&#3634;&#3619;&#3634;&#3591;"/>
+   <l:gentext key="ListofUnknown" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3629;&#3639;&#3656;&#3609; &#3654;"/>
+   <l:gentext key="listofunknown" text="&#3626;&#3634;&#3619;&#3610;&#3633;&#3597;&#3629;&#3639;&#3656;&#3609; &#3654;"/>
+   <l:gentext key="nav-home" text="&#3627;&#3609;&#3657;&#3634;&#3649;&#3619;&#3585;"/>
+   <l:gentext key="nav-next" text="&#3605;&#3656;&#3629;&#3652;&#3611;"/>
+   <l:gentext key="nav-next-sibling" text="&#3605;&#3656;&#3629;&#3652;&#3611;"/>
+   <l:gentext key="nav-prev" text="&#3585;&#3656;&#3629;&#3609;&#3627;&#3609;&#3657;&#3634;"/>
+   <l:gentext key="nav-prev-sibling" text="&#3585;&#3656;&#3629;&#3609;&#3627;&#3609;&#3657;&#3634;"/>
+   <l:gentext key="nav-up" text="&#3585;&#3621;&#3633;&#3610;"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629;"/>
+   <l:gentext key="index symbols" text="&#3626;&#3633;&#3597;&#3621;&#3633;&#3585;&#3625;&#3603;&#3660;"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#3616;&#3634;&#3588;&#3612;&#3609;&#3623;&#3585; %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#3610;&#3607;&#3607;&#3637;&#3656; %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#3626;&#3617;&#3585;&#3634;&#3619; %n. %t"/>
+      <l:template name="example" text="&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591; %n. %t"/>
+      <l:template name="figure" text="&#3619;&#3641;&#3611; %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#3616;&#3634;&#3588; %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#3619;&#3632;&#3648;&#3610;&#3637;&#3618;&#3610;&#3585;&#3634;&#3619; %n. %t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="&#3612;&#3621;&#3636;&#3605; %n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#3605;&#3634;&#3619;&#3634;&#3591; %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#3616;&#3634;&#3588;&#3612;&#3609;&#3623;&#3585; %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n. %t"/>
+      <l:template name="chapter" text="&#3610;&#3607;&#3607;&#3637;&#3656; %n. %t"/>
+      <l:template name="part" text="&#3616;&#3634;&#3588;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#3605;&#3629;&#3610;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#3606;&#3634;&#3617;:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#3606;&#3634;&#3617;:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#3605;&#3629;&#3610;:&#160;%n"/>
+      <l:template name="appendix" text="&#3616;&#3634;&#3588;&#3612;&#3609;&#3623;&#3585;&#160;%n"/>
+      <l:template name="bridgehead" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+      <l:template name="chapter" text="&#3610;&#3607;&#3607;&#3637;&#3656;&#160;%n"/>
+      <l:template name="equation" text="&#3626;&#3617;&#3585;&#3634;&#3619;&#160;%n"/>
+      <l:template name="example" text="&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591;&#160;%n"/>
+      <l:template name="figure" text="&#3619;&#3641;&#3611;&#160;%n"/>
+      <l:template name="part" text="&#3616;&#3634;&#3588;&#160;%n"/>
+      <l:template name="procedure" text="&#3619;&#3632;&#3648;&#3610;&#3637;&#3618;&#3610;&#3585;&#3634;&#3619;&#160;%n"/>
+      <l:template name="productionset" text="&#3612;&#3621;&#3636;&#3605;&#160;%n"/>
+      <l:template name="qandadiv" text="&#3606;&#3634;&#3617;-&#3605;&#3629;&#3610;&#160;%n"/>
+      <l:template name="qandaentry" text="&#3606;&#3634;&#3617;:&#160;%n"/>
+      <l:template name="question" text="&#3606;&#3634;&#3617;:&#160;%n"/>
+      <l:template name="sect1" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+      <l:template name="sect2" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+      <l:template name="sect3" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+      <l:template name="sect4" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+      <l:template name="sect5" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+      <l:template name="section" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n"/>
+      <l:template name="table" text="&#3605;&#3634;&#3619;&#3634;&#3591;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#3616;&#3634;&#3588;&#3612;&#3609;&#3623;&#3585;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#3610;&#3607;&#3607;&#3637;&#3656;&#160;%n, %t"/>
+      <l:template name="equation" text="&#3626;&#3617;&#3585;&#3634;&#3619;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#3605;&#3633;&#3623;&#3629;&#3618;&#3656;&#3634;&#3591;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#3619;&#3641;&#3611;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#3616;&#3634;&#3588;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#3619;&#3632;&#3648;&#3610;&#3637;&#3618;&#3610;&#3585;&#3634;&#3619;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="&#3612;&#3621;&#3636;&#3605;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="&#3606;&#3634;&#3617;-&#3605;&#3629;&#3610;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#3605;&#3629;&#3609;&#3607;&#3637;&#3656;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#3627;&#3633;&#3623;&#3586;&#3657;&#3629; &#8220;%t&#8221;"/>
+      <l:template name="table" text="&#3605;&#3634;&#3619;&#3634;&#3591;&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#3649;&#3621;&#3632; "/>
+      <l:template name="seplast" text=", &#3649;&#3621;&#3632; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#3604;&#3641; %t"/>
+      <l:template name="seealso" text="&#3604;&#3641;&#3648;&#3614;&#3636;&#3656;&#3617;&#3648;&#3605;&#3636;&#3617; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#3612;&#3641;&#3657;&#3629;&#3656;&#3634;&#3609;: "/>
+      <l:template name="MsgLevel" text="&#3619;&#3632;&#3604;&#3633;&#3610;: "/>
+      <l:template name="MsgOrig" text="&#3607;&#3637;&#3656;&#3617;&#3634;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x041e Thai"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/titles.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/common/titles.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/titles.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,738 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                exclude-result-prefixes="doc"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: titles.xsl 6470 2007-01-06 18:25:09Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- title markup -->
+
+<doc:mode mode="title.markup" xmlns="">
+<refpurpose>Provides access to element titles</refpurpose>
+<refdescription>
+<para>Processing an element in the
+<literal role="mode">title.markup</literal> mode produces the
+title of the element. This does not include the label.
+</para>
+</refdescription>
+</doc:mode>
+
+<xsl:template match="*" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="title">
+      <xsl:apply-templates select="title[1]" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:when test="local-name(.) = 'partintro'">
+      <!-- partintro's don't have titles, use the parent (part or reference)
+           title instead. -->
+      <xsl:apply-templates select="parent::*" mode="title.markup"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$verbose != 0">
+        <xsl:message>
+          <xsl:text>Request for title of element with no title: </xsl:text>
+          <xsl:value-of select="local-name(.)"/>
+          <xsl:choose>
+            <xsl:when test="@id">
+              <xsl:text> (id="</xsl:text>
+              <xsl:value-of select="@id"/>
+              <xsl:text>")</xsl:text>
+            </xsl:when>
+            <xsl:when test="@xml:id">
+              <xsl:text> (xml:id="</xsl:text>
+              <xsl:value-of select="@xml:id"/>
+              <xsl:text>")</xsl:text>
+            </xsl:when>
+          </xsl:choose>
+        </xsl:message>
+      </xsl:if>
+      <xsl:text>???TITLE???</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="title" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+
+  <xsl:choose>
+    <xsl:when test="$allow-anchors != 0">
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="no.anchor.mode"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- only occurs in HTML Tables! -->
+<xsl:template match="caption" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+
+  <xsl:choose>
+    <xsl:when test="$allow-anchors != 0">
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="no.anchor.mode"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="set" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="(setinfo/title|info/title|title)[1]"
+                       mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="book" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="(bookinfo/title|info/title|title)[1]"
+                       mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="part" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="(partinfo/title|info/title|docinfo/title|title)[1]"
+                       mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="preface|chapter|appendix" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+
+<!--
+  <xsl:message>
+    <xsl:value-of select="local-name(.)"/>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="$allow-anchors"/>
+  </xsl:message>
+-->
+
+  <xsl:variable name="title" select="(docinfo/title
+                                      |info/title
+                                      |prefaceinfo/title
+                                      |chapterinfo/title
+                                      |appendixinfo/title
+                                      |title)[1]"/>
+  <xsl:apply-templates select="$title" mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="dedication" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:choose>
+    <xsl:when test="title">
+      <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'Dedication'"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="colophon" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:choose>
+    <xsl:when test="title">
+      <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'Colophon'"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="article" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:variable name="title" select="(artheader/title
+                                      |articleinfo/title
+                                      |info/title
+                                      |title)[1]"/>
+
+  <xsl:apply-templates select="$title" mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="reference" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="(referenceinfo/title|docinfo/title|info/title|title)[1]"
+                       mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="refentry" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:variable name="refmeta" select=".//refmeta"/>
+  <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/>
+  <xsl:variable name="refnamediv" select=".//refnamediv"/>
+  <xsl:variable name="refname" select="$refnamediv//refname"/>
+  <xsl:variable name="refdesc" select="$refnamediv//refdescriptor"/>
+
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="$refentrytitle">
+        <xsl:apply-templates select="$refentrytitle[1]" mode="title.markup"/>
+      </xsl:when>
+      <xsl:when test="$refdesc">
+        <xsl:apply-templates select="$refdesc" mode="title.markup"/>
+      </xsl:when>
+      <xsl:when test="$refname">
+        <xsl:apply-templates select="$refname[1]" mode="title.markup"/>
+      </xsl:when>
+      <xsl:otherwise>REFENTRY WITHOUT TITLE???</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:copy-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="refentrytitle|refname|refdescriptor" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:choose>
+    <xsl:when test="$allow-anchors != 0">
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="no.anchor.mode"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="section
+                     |sect1|sect2|sect3|sect4|sect5
+                     |refsect1|refsect2|refsect3
+                     |simplesect"
+              mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:variable name="title" select="(info/title
+                                      |sectioninfo/title
+                                      |sect1info/title
+                                      |sect2info/title
+                                      |sect3info/title
+                                      |sect4info/title
+                                      |sect5info/title
+                                      |refsect1info/title
+                                      |refsect2info/title
+                                      |refsect3info/title
+                                      |title)[1]"/>
+
+  <xsl:apply-templates select="$title" mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="bridgehead" mode="title.markup">
+  <xsl:apply-templates mode="title.markup"/>
+</xsl:template>
+
+<xsl:template match="refsynopsisdiv" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:choose>
+    <xsl:when test="title">
+      <xsl:apply-templates select="title" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'RefSynopsisDiv'"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="bibliography" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:variable name="title" select="(bibliographyinfo/title|info/title|title)[1]"/>
+  <xsl:choose>
+    <xsl:when test="$title">
+      <xsl:apply-templates select="$title" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'Bibliography'"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="glossary" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:variable name="title" select="(glossaryinfo/title|info/title|title)[1]"/>
+  <xsl:choose>
+    <xsl:when test="$title">
+      <xsl:apply-templates select="$title" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext.element.name">
+        <xsl:with-param name="element.name" select="local-name(.)"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="glossdiv" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:variable name="title" select="(info/title|title)[1]"/>
+  <xsl:choose>
+    <xsl:when test="$title">
+      <xsl:apply-templates select="$title" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>ERROR: glossdiv missing its required title</xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="glossentry" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="glossterm" mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="glossterm" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+
+  <xsl:choose>
+    <xsl:when test="$allow-anchors != 0">
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="no.anchor.mode"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="index" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:variable name="title" select="(indexinfo/title|info/title|title)[1]"/>
+  <xsl:choose>
+    <xsl:when test="$title">
+      <xsl:apply-templates select="$title" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'Index'"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="setindex" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:variable name="title" select="(setindexinfo/title|info/title|title)[1]"/>
+  <xsl:choose>
+    <xsl:when test="$title">
+      <xsl:apply-templates select="$title" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'SetIndex'"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="figure|example|equation" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="title|info/title" mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="table" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="title|caption" mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="procedure" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="title" mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="task" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="title" mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="sidebar" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="(info/title|sidebarinfo/title|title)[1]"
+                       mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="abstract" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:choose>
+    <xsl:when test="title|info/title">
+      <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'Abstract'"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="caution|tip|warning|important|note" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:variable name="title" select="(title|info/title)[1]"/>
+  <xsl:choose>
+    <xsl:when test="$title">
+      <xsl:apply-templates select="$title" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key">
+          <xsl:choose>
+            <xsl:when test="local-name(.)='note'">Note</xsl:when>
+            <xsl:when test="local-name(.)='important'">Important</xsl:when>
+            <xsl:when test="local-name(.)='caution'">Caution</xsl:when>
+            <xsl:when test="local-name(.)='warning'">Warning</xsl:when>
+            <xsl:when test="local-name(.)='tip'">Tip</xsl:when>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="question" mode="title.markup">
+  <!-- questions don't have titles -->
+  <xsl:text>Question</xsl:text>
+</xsl:template>
+
+<xsl:template match="answer" mode="title.markup">
+  <!-- answers don't have titles -->
+  <xsl:text>Answer</xsl:text>
+</xsl:template>
+
+<xsl:template match="qandaentry" mode="title.markup">
+  <!-- qandaentrys are represented by the first question in them -->
+  <xsl:text>Question</xsl:text>
+</xsl:template>
+
+<xsl:template match="qandaset" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:variable name="title" select="(info/title|
+                                      blockinfo/title|
+                                      title)[1]"/>
+  <xsl:choose>
+    <xsl:when test="$title">
+      <xsl:apply-templates select="$title" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'QandASet'"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:choose>
+    <xsl:when test="title">
+      <xsl:apply-templates select="title" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'LegalNotice'"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="titleabbrev.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="titleabbrev">
+      <xsl:apply-templates select="titleabbrev[1]" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="." mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+        <xsl:with-param name="verbose" select="$verbose"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="book|preface|chapter|appendix" mode="titleabbrev.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:variable name="titleabbrev" select="(docinfo/titleabbrev
+                                           |bookinfo/titleabbrev
+                                           |info/titleabbrev
+                                           |prefaceinfo/titleabbrev
+                                           |chapterinfo/titleabbrev
+                                           |appendixinfo/titleabbrev
+                                           |titleabbrev)[1]"/>
+
+  <xsl:choose>
+    <xsl:when test="$titleabbrev">
+      <xsl:apply-templates select="$titleabbrev" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="." mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+        <xsl:with-param name="verbose" select="$verbose"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="article" mode="titleabbrev.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:variable name="titleabbrev" select="(artheader/titleabbrev
+                                           |articleinfo/titleabbrev
+                                           |info/titleabbrev
+                                           |titleabbrev)[1]"/>
+
+  <xsl:choose>
+    <xsl:when test="$titleabbrev">
+      <xsl:apply-templates select="$titleabbrev" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="." mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+        <xsl:with-param name="verbose" select="$verbose"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="section
+                     |sect1|sect2|sect3|sect4|sect5
+                     |refsect1|refsect2|refsect3
+                     |simplesect"
+              mode="titleabbrev.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:variable name="titleabbrev" select="(info/titleabbrev
+                                            |sectioninfo/titleabbrev
+                                            |sect1info/titleabbrev
+                                            |sect2info/titleabbrev
+                                            |sect3info/titleabbrev
+                                            |sect4info/titleabbrev
+                                            |sect5info/titleabbrev
+                                            |refsect1info/titleabbrev
+                                            |refsect2info/titleabbrev
+                                            |refsect3info/titleabbrev
+                                            |titleabbrev)[1]"/>
+
+  <xsl:choose>
+    <xsl:when test="$titleabbrev">
+      <xsl:apply-templates select="$titleabbrev" mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="." mode="title.markup">
+        <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+        <xsl:with-param name="verbose" select="$verbose"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="titleabbrev" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+
+  <xsl:choose>
+    <xsl:when test="$allow-anchors != 0">
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="no.anchor.mode"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="no.anchor.mode">
+  <!-- Switch to normal mode if no links -->
+  <xsl:choose>
+    <xsl:when test="descendant-or-self::footnote or
+                    descendant-or-self::anchor or
+                    descendant-or-self::ulink or
+                    descendant-or-self::link or
+                    descendant-or-self::olink or
+                    descendant-or-self::xref or
+                    descendant-or-self::indexterm">
+
+      <xsl:apply-templates mode="no.anchor.mode"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="."/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="footnote" mode="no.anchor.mode">
+  <!-- nop, suppressed -->
+</xsl:template>
+
+<xsl:template match="anchor" mode="no.anchor.mode">
+  <!-- nop, suppressed -->
+</xsl:template>
+
+<xsl:template match="ulink" mode="no.anchor.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="link" mode="no.anchor.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="olink" mode="no.anchor.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="no.anchor.mode">
+  <!-- nop, suppressed -->
+</xsl:template>
+
+<xsl:template match="xref" mode="no.anchor.mode">
+  <xsl:variable name="targets" select="key('id', at linkend)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+  <xsl:variable name="refelem" select="local-name($target)"/>
+  
+  <xsl:call-template name="check.id.unique">
+    <xsl:with-param name="linkend" select="@linkend"/>
+  </xsl:call-template>
+
+  <xsl:choose>
+    <xsl:when test="count($target) = 0">
+      <xsl:message>
+        <xsl:text>XRef to nonexistent id: </xsl:text>
+        <xsl:value-of select="@linkend"/>
+      </xsl:message>
+      <xsl:text>???</xsl:text>
+    </xsl:when>
+
+    <xsl:when test="@endterm">
+      <xsl:variable name="etargets" select="key('id', at endterm)"/>
+      <xsl:variable name="etarget" select="$etargets[1]"/>
+      <xsl:choose>
+        <xsl:when test="count($etarget) = 0">
+          <xsl:message>
+            <xsl:value-of select="count($etargets)"/>
+            <xsl:text>Endterm points to nonexistent ID: </xsl:text>
+            <xsl:value-of select="@endterm"/>
+          </xsl:message>
+          <xsl:text>???</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$etarget" mode="endterm"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="$target/@xreflabel">
+      <xsl:call-template name="xref.xreflabel">
+        <xsl:with-param name="target" select="$target"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:apply-templates select="$target" mode="xref-to-prefix"/>
+
+      <xsl:apply-templates select="$target" mode="xref-to">
+        <xsl:with-param name="referrer" select="."/>
+        <xsl:with-param name="xrefstyle">
+          <xsl:choose>
+            <xsl:when test="@role and not(@xrefstyle) and $use.role.as.xrefstyle != 0">
+              <xsl:value-of select="@role"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="@xrefstyle"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:apply-templates>
+
+      <xsl:apply-templates select="$target" mode="xref-to-suffix"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/common/tl.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/tl.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/tl.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="tl" english-language-name="Tagalog">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/tl.xml -->
+<!-- * -->
+<!-- * E-mail the edited tl.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Abstrak"/>
+   <l:gentext key="abstract" text="Abstrak"/>
+   <l:gentext key="Answer" text="Sagot:"/>
+   <l:gentext key="answer" text="Sagot:"/>
+   <l:gentext key="Appendix" text="Apendiks"/>
+   <l:gentext key="appendix" text="Apendiks"/>
+   <l:gentext key="Article" text="Artikulo"/>
+   <l:gentext key="article" text="Artikulo"/>
+   <l:gentext key="Author" text="May Akda"/>
+   <l:gentext key="Bibliography" text="Bibliograpiya"/>
+   <l:gentext key="bibliography" text="Bibliograpiya"/>
+   <l:gentext key="Book" text="Libro"/>
+   <l:gentext key="book" text="Libro"/>
+   <l:gentext key="CAUTION" text="BABALA"/>
+   <l:gentext key="Caution" text="Babala"/>
+   <l:gentext key="caution" text="Babala"/>
+   <l:gentext key="Chapter" text="Kabanata"/>
+   <l:gentext key="chapter" text="Kabanata"/>
+   <l:gentext key="Colophon" text="Kolopon"/>
+   <l:gentext key="colophon" text="Kolopon"/>
+   <l:gentext key="Copyright" text="Copyright"/>
+   <l:gentext key="copyright" text="Copyright"/>
+   <l:gentext key="Dedication" text="Pag-aalay"/>
+   <l:gentext key="dedication" text="Pag-aalay"/>
+   <l:gentext key="Edition" text="Edisyon"/>
+   <l:gentext key="edition" text="Ediisyon"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Equation"/>
+   <l:gentext key="equation" text="Equation"/>
+   <l:gentext key="Example" text="Halimbawa"/>
+   <l:gentext key="example" text="Halimbawa"/>
+   <l:gentext key="Figure" text="Pigyur"/>
+   <l:gentext key="figure" text="Pigyur"/>
+   <l:gentext key="Glossary" text="Talahuguhanan"/>
+   <l:gentext key="glossary" text="Talahuguhanan"/>
+   <l:gentext key="GlossSee" text="Tingnan Ang"/>
+   <l:gentext key="glosssee" text="Tingnan Ang"/>
+   <l:gentext key="GlossSeeAlso" text="Tingnan Din Ang"/>
+   <l:gentext key="glossseealso" text="Tingnan din ang"/>
+   <l:gentext key="IMPORTANT" text="MAHALAGA"/>
+   <l:gentext key="important" text="Mahalaga"/>
+   <l:gentext key="Important" text="Mahalaga"/>
+   <l:gentext key="Index" text="Indeks"/>
+   <l:gentext key="index" text="Indeks"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Paunawang Legal"/>
+   <l:gentext key="legalnotice" text="Paunawang Legal"/>
+   <l:gentext key="MsgAud" text="Awdiyens"/>
+   <l:gentext key="msgaud" text="Awdiyens"/>
+   <l:gentext key="MsgLevel" text="Lebel"/>
+   <l:gentext key="msglevel" text="Lebel"/>
+   <l:gentext key="MsgOrig" text="Pinagmulan"/>
+   <l:gentext key="msgorig" text="Pinagmulan"/>
+   <l:gentext key="NOTE" text="TALA"/>
+   <l:gentext key="Note" text="Tala"/>
+   <l:gentext key="note" text="Tala"/>
+   <l:gentext key="Part" text="Bahagi"/>
+   <l:gentext key="part" text="Bahagi"/>
+   <l:gentext key="Preface" text="Panimula"/>
+   <l:gentext key="preface" text="Panimula"/>
+   <l:gentext key="Procedure" text="Mga Hakbang"/>
+   <l:gentext key="procedure" text="Mga Hakbang"/>
+   <l:gentext key="ProductionSet" text="Produksiyon"/>
+   <l:gentext key="PubDate" text="Petsa ng Paglimbag"/>
+   <l:gentext key="pubdate" text="Petsa ng Paglimbag"/>
+   <l:gentext key="Published" text="Nalimbag"/>
+   <l:gentext key="published" text="Nalimbag"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="Tanong at Sagot"/>
+   <l:gentext key="qandadiv" text="Tanong at Sagot"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Tanong:"/>
+   <l:gentext key="question" text="Tanong:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Reperens"/>
+   <l:gentext key="reference" text="Reperens"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Pangalan"/>
+   <l:gentext key="refname" text="Pangalan"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Buod"/>
+   <l:gentext key="refsynopsisdiv" text="Buod"/>
+   <l:gentext key="RevHistory" text="Talaan Ng Mga Rebisyon"/>
+   <l:gentext key="revhistory" text="Talaan ng mga Rebisyon"/>
+   <l:gentext key="revision" text="Rebisyon"/>
+   <l:gentext key="Revision" text="Revision"/>
+   <l:gentext key="sect1" text="Bahagi"/>
+   <l:gentext key="sect2" text="Bahagi"/>
+   <l:gentext key="sect3" text="Bahagi"/>
+   <l:gentext key="sect4" text="Bahagi"/>
+   <l:gentext key="sect5" text="Bahagi"/>
+   <l:gentext key="section" text="Bahagi"/>
+   <l:gentext key="Section" text="Bahagi"/>
+   <l:gentext key="see" text="tingnan"/>
+   <l:gentext key="See" text="Tingnan"/>
+   <l:gentext key="seealso" text="tingnan din ang"/>
+   <l:gentext key="Seealso" text="Tingnan din ang"/>
+   <l:gentext key="SeeAlso" text="Tingnan Din Ang"/>
+   <l:gentext key="set" text="Set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Indeks ng Set"/>
+   <l:gentext key="SetIndex" text="Indeks ng Set"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="hakbang"/>
+   <l:gentext key="Step" text="Hakbang"/>
+   <l:gentext key="table" text="Talaan"/>
+   <l:gentext key="Table" text="Talaan"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Tip"/>
+   <l:gentext key="TIP" text="TIP"/>
+   <l:gentext key="Tip" text="Tip"/>
+   <l:gentext key="Warning" text="Babala"/>
+   <l:gentext key="warning" text="Babala"/>
+   <l:gentext key="WARNING" text="BABALA"/>
+   <l:gentext key="and" text="at"/>
+   <l:gentext key="by" text="ni"/>
+   <l:gentext key="Edited" text="In-edit"/>
+   <l:gentext key="edited" text="In-edit"/>
+   <l:gentext key="Editedby" text="In-edit ni"/>
+   <l:gentext key="editedby" text="In-edit ni"/>
+   <l:gentext key="in" text="sa"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="hindi kilalang element"/>
+   <l:gentext key="notes" text="Mga tala"/>
+   <l:gentext key="Notes" text="Mga Tala"/>
+   <l:gentext key="Pgs" text="p."/>
+   <l:gentext key="pgs" text="p."/>
+   <l:gentext key="Revisedby" text="Nirebisa ni: "/>
+   <l:gentext key="revisedby" text="Nirebisa ni: "/>
+   <l:gentext key="TableNotes" text="Mga Tala"/>
+   <l:gentext key="tablenotes" text="Mga Tala"/>
+   <l:gentext key="TableofContents" text="Talaan ng Nilalaman"/>
+   <l:gentext key="tableofcontents" text="Talaan ng Nilalaman"/>
+   <l:gentext key="unexpectedelementname" text="hindi inaasahang element"/>
+   <l:gentext key="unsupported" text="hindi sinusuportahan"/>
+   <l:gentext key="xrefto" text="xref sa"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Listahan ng mga Ekwasyon"/>
+   <l:gentext key="ListofEquations" text="Listahan Ng Mga Ekwasyon"/>
+   <l:gentext key="ListofExamples" text="Listahan Ng Mga Halimbawa"/>
+   <l:gentext key="listofexamples" text="Listahan ng mga Halimbawa"/>
+   <l:gentext key="ListofFigures" text="Listahan Ng Mga Pigyur "/>
+   <l:gentext key="listoffigures" text="Listahan ng mga Pigyur"/>
+   <l:gentext key="ListofProcedures" text="Listahan Ng Mga Prosidyur"/>
+   <l:gentext key="listofprocedures" text="Listahan ng mga Prosidyur"/>
+   <l:gentext key="listoftables" text="Listahan ng mga Talaan"/>
+   <l:gentext key="ListofTables" text="Listahan Ng Mga Talaan"/>
+   <l:gentext key="ListofUnknown" text="Listahan Ng Mga Di Alam"/>
+   <l:gentext key="listofunknown" text="Listahan ng mga Di Alam"/>
+   <l:gentext key="nav-home" text="Home"/>
+   <l:gentext key="nav-next" text="Sulong"/>
+   <l:gentext key="nav-next-sibling" text="Mabilis na pasulong"/>
+   <l:gentext key="nav-prev" text="Balik"/>
+   <l:gentext key="nav-prev-sibling" text="Mabilis na pabalik"/>
+   <l:gentext key="nav-up" text="Taas"/>
+   <l:gentext key="nav-toc" text="TnN"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="taas"/>
+   <l:gentext key="below" text="baba"/>
+   <l:gentext key="sectioncalled" text="ang bahaging tinatawag na"/>
+   <l:gentext key="index symbols" text="Mga simbolo"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Apendiks&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Kabanata&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Equation&#160;%n.&#160;%t"/>
+      <l:template name="example" text="Halimbawa&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="Pigyur&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Bahagi&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Mga Hakbang&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Produksiyon&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Talaan&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Apendiks&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Kabanata&#160;%n.&#160;%t"/>
+      <l:template name="part" text="Bahagi&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="Sagot:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Tanong:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Tanong:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" sa %o"/>
+      <l:template name="olink.page.citation" text=" (pahina %p)"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(pahina %p)"/>
+      <l:template name="docname" text=" sa %o"/>
+      <l:template name="docnamelong" text=" sa dokumento na %o"/>
+      <l:template name="pageabbrev" text="(p. %p)"/>
+      <l:template name="Page" text="Pahina %p"/>
+      <l:template name="bridgehead" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="section" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="Sagot:&#160;%n"/>
+      <l:template name="appendix" text="Apendiks&#160;%n"/>
+      <l:template name="bridgehead" text="Bahagi&#160;%n"/>
+      <l:template name="chapter" text="Kabanata&#160;%n"/>
+      <l:template name="equation" text="Equation&#160;%n"/>
+      <l:template name="example" text="Halimbawa&#160;%n"/>
+      <l:template name="figure" text="Pigyur&#160;%n"/>
+      <l:template name="part" text="Bahagi&#160;%n"/>
+      <l:template name="procedure" text="Mga Hakbang&#160;%n"/>
+      <l:template name="productionset" text="Produksiyon&#160;%n"/>
+      <l:template name="qandadiv" text="Tanong at Sagot&#160;%n"/>
+      <l:template name="qandaentry" text="Tanong:&#160;%n"/>
+      <l:template name="question" text="Tanong:&#160;%n"/>
+      <l:template name="sect1" text="Bahagi&#160;%n"/>
+      <l:template name="sect2" text="Bahagi&#160;%n"/>
+      <l:template name="sect3" text="Bahagi&#160;%n"/>
+      <l:template name="sect4" text="Bahagi&#160;%n"/>
+      <l:template name="sect5" text="Bahagi&#160;%n"/>
+      <l:template name="section" text="Bahagi&#160;%n"/>
+      <l:template name="table" text="Talaan&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Apendiks&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Bahagi&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Kabanata&#160;%n, %t"/>
+      <l:template name="equation" text="Equation&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Halimbawa&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Pigyur&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Bahagi&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Mga Hakbang&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Produksiyon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="Tanong at Sagot&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Bahagi&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Bahagi&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Bahagi&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Bahagi&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Bahagi&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Bahagi&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="ang bahaging tinatawag na &#8220;%t&#8221;"/>
+      <l:template name="table" text="Talaan&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" at "/>
+      <l:template name="seplast" text=", at "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Tingnan Ang %t"/>
+      <l:template name="seealso" text="Tingnan Din Ang %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Awdiyens: "/>
+      <l:template name="MsgLevel" text="Lebel: "/>
+      <l:template name="MsgOrig" text="Pinagmulan: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Depinisyon: "/>
+      <l:template name="suffix" text="]"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="Enero"/>
+      <l:template name="February" text="Pebrero"/>
+      <l:template name="March" text="Marso"/>
+      <l:template name="April" text="Abril"/>
+      <l:template name="May" text="Mayo"/>
+      <l:template name="June" text="Hunyo"/>
+      <l:template name="July" text="Hulyo"/>
+      <l:template name="August" text="Agosto"/>
+      <l:template name="September" text="Setyembre"/>
+      <l:template name="October" text="Oktubre"/>
+      <l:template name="November" text="Nobyembre"/>
+      <l:template name="December" text="Disyembre"/>
+      <l:template name="Monday" text="Lunes"/>
+      <l:template name="Tuesday" text="Martes"/>
+      <l:template name="Wednesday" text="Miyeskules"/>
+      <l:template name="Thursday" text="Huwebes"/>
+      <l:template name="Friday" text="Biyernes"/>
+      <l:template name="Saturday" text="Sabado"/>
+      <l:template name="Sunday" text="Linggo"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Ene"/>
+      <l:template name="Feb" text="Peb"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Abr"/>
+      <l:template name="May" text="Mayo"/>
+      <l:template name="Jun" text="Hun"/>
+      <l:template name="Jul" text="Hul"/>
+      <l:template name="Aug" text="Ago"/>
+      <l:template name="Sep" text="Set"/>
+      <l:template name="Oct" text="Okt"/>
+      <l:template name="Nov" text="Nob"/>
+      <l:template name="Dec" text="Dis"/>
+      <l:template name="Mon" text="Lun"/>
+      <l:template name="Tue" text="Mar"/>
+      <l:template name="Wed" text="Miy"/>
+      <l:template name="Thu" text="Huw"/>
+      <l:template name="Fri" text="Biy"/>
+      <l:template name="Sat" text="Sab"/>
+      <l:template name="Sun" text="Lin"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0409 Tagalog (PHILIPPINES)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/tr.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/tr.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/tr.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,639 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="tr" english-language-name="Turkish">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/tr.xml -->
+<!-- * -->
+<!-- * E-mail the edited tr.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#214;zet"/>
+   <l:gentext key="abstract" text="&#214;zet"/>
+   <l:gentext key="Answer" text="Cevap:"/>
+   <l:gentext key="answer" text="Cevap:"/>
+   <l:gentext key="Appendix" text="Ek"/>
+   <l:gentext key="appendix" text="Ek"/>
+   <l:gentext key="Article" text="Makale"/>
+   <l:gentext key="article" text="Makale"/>
+   <l:gentext key="Author" text="Yazar"/>
+   <l:gentext key="Bibliography" text="Kaynak&#231;a"/>
+   <l:gentext key="bibliography" text="Kaynak&#231;a"/>
+   <l:gentext key="Book" text="Kitap"/>
+   <l:gentext key="book" text="Kitap"/>
+   <l:gentext key="CAUTION" text="D&#304;KKAT"/>
+   <l:gentext key="Caution" text="Dikkat"/>
+   <l:gentext key="caution" text="Dikkat"/>
+   <l:gentext key="Chapter" text="B&#246;l&#252;m"/>
+   <l:gentext key="chapter" text="B&#246;l&#252;m"/>
+   <l:gentext key="Colophon" text="Kitap hakk&#305;nda"/>
+   <l:gentext key="colophon" text="Kitap hakk&#305;nda"/>
+   <l:gentext key="Copyright" text="Telif Hakk&#305;"/>
+   <l:gentext key="copyright" text="Telif Hakk&#305;"/>
+   <l:gentext key="Dedication" text="&#304;thaf"/>
+   <l:gentext key="dedication" text="&#304;thaf"/>
+   <l:gentext key="Edition" text="Bask&#305;"/>
+   <l:gentext key="edition" text="Bask&#305;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Denklem"/>
+   <l:gentext key="equation" text="Denklem"/>
+   <l:gentext key="Example" text="&#214;rnek"/>
+   <l:gentext key="example" text="&#214;rnek"/>
+   <l:gentext key="Figure" text="&#350;ekil"/>
+   <l:gentext key="figure" text="&#350;ekil"/>
+   <l:gentext key="Glossary" text="S&#246;zl&#252;k"/>
+   <l:gentext key="glossary" text="S&#246;zl&#252;k"/>
+   <l:gentext key="GlossSee" text="Bkz."/>
+   <l:gentext key="glosssee" text="Bkz."/>
+   <l:gentext key="GlossSeeAlso" text="Bkz."/>
+   <l:gentext key="glossseealso" text="Bkz."/>
+   <l:gentext key="IMPORTANT" text="&#214;NEML&#304;"/>
+   <l:gentext key="important" text="&#214;nemli"/>
+   <l:gentext key="Important" text="&#214;nemli"/>
+   <l:gentext key="Index" text="Dizin"/>
+   <l:gentext key="index" text="Dizin"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Yasal Uyar&#305;"/>
+   <l:gentext key="legalnotice" text="Yasal Uyar&#305;"/>
+   <l:gentext key="MsgAud" text="Hedef Okuyucu"/>
+   <l:gentext key="msgaud" text="Hedef Okuyucu"/>
+   <l:gentext key="MsgLevel" text="D&#252;zey"/>
+   <l:gentext key="msglevel" text="D&#252;zey"/>
+   <l:gentext key="MsgOrig" text="Kaynak"/>
+   <l:gentext key="msgorig" text="Kaynak"/>
+   <l:gentext key="NOTE" text="NOT"/>
+   <l:gentext key="Note" text="Not"/>
+   <l:gentext key="note" text="Not"/>
+   <l:gentext key="Part" text="K&#305;s&#305;m"/>
+   <l:gentext key="part" text="K&#305;s&#305;m"/>
+   <l:gentext key="Preface" text="&#214;ns&#246;z"/>
+   <l:gentext key="preface" text="&#214;ns&#246;z"/>
+   <l:gentext key="Procedure" text="Y&#246;nerge"/>
+   <l:gentext key="procedure" text="Y&#246;nerge"/>
+   <l:gentext key="ProductionSet" text="Prod&#252;ksiyon"/>
+   <l:gentext key="PubDate" text="Yay&#305;mlanma Tarihi"/>
+   <l:gentext key="pubdate" text="Yay&#305;mlanma Tarihi"/>
+   <l:gentext key="Published" text="Yay&#305;mlanma"/>
+   <l:gentext key="published" text="Yay&#305;mlanma"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="S ve C"/>
+   <l:gentext key="qandadiv" text="S ve C"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="Soru:"/>
+   <l:gentext key="question" text="Soru:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Referans"/>
+   <l:gentext key="reference" text="Referans"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Referans Ad&#305;"/>
+   <l:gentext key="refname" text="Referans Ad&#305;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#214;zet"/>
+   <l:gentext key="refsynopsisdiv" text="&#214;zet"/>
+   <l:gentext key="RevHistory" text="Bask&#305; Tarih&#231;esi"/>
+   <l:gentext key="revhistory" text="Bask&#305; Tarih&#231;esi"/>
+   <l:gentext key="revision" text="Bask&#305;"/>
+   <l:gentext key="Revision" text="Bask&#305;"/>
+   <l:gentext key="sect1" text="K&#305;s&#305;m"/>
+   <l:gentext key="sect2" text="K&#305;s&#305;m"/>
+   <l:gentext key="sect3" text="K&#305;s&#305;m"/>
+   <l:gentext key="sect4" text="K&#305;s&#305;m"/>
+   <l:gentext key="sect5" text="K&#305;s&#305;m"/>
+   <l:gentext key="section" text="K&#305;s&#305;m"/>
+   <l:gentext key="Section" text="K&#305;s&#305;m"/>
+   <l:gentext key="see" text="bkz."/>
+   <l:gentext key="See" text="Bkz."/>
+   <l:gentext key="seealso" text="Bkz."/>
+   <l:gentext key="Seealso" text="Bak&#305;n&#305;z"/>
+   <l:gentext key="SeeAlso" text="Bak&#305;n&#305;z"/>
+   <l:gentext key="set" text="Tak&#305;m"/>
+   <l:gentext key="Set" text="Tak&#305;m"/>
+   <l:gentext key="setindex" text="Tak&#305;m Dizini"/>
+   <l:gentext key="SetIndex" text="Tak&#305;m Dizini"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="kenar &#231;ubu&#287;u"/>
+   <l:gentext key="step" text="ad&#305;m"/>
+   <l:gentext key="Step" text="Ad&#305;m"/>
+   <l:gentext key="table" text="Tablo"/>
+   <l:gentext key="Table" text="Tablo"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#304;pucu"/>
+   <l:gentext key="TIP" text="&#304;PUCU"/>
+   <l:gentext key="Tip" text="&#304;pucu"/>
+   <l:gentext key="Warning" text="Uyar&#305;"/>
+   <l:gentext key="warning" text="Uyar&#305;"/>
+   <l:gentext key="WARNING" text="UYARI"/>
+   <l:gentext key="and" text="ve"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="Yay&#305;na haz&#305;rlayan"/>
+   <l:gentext key="edited" text="yay&#305;na haz&#305;rlayan"/>
+   <l:gentext key="Editedby" text="Yay&#305;na haz&#305;rlayan"/>
+   <l:gentext key="editedby" text="yay&#305;na haz&#305;rlayan"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="varolmayan eleman"/>
+   <l:gentext key="notes" text="Notlar"/>
+   <l:gentext key="Notes" text="Notlar"/>
+   <l:gentext key="Pgs" text="Sayfa"/>
+   <l:gentext key="pgs" text="Sayfa"/>
+   <l:gentext key="Revisedby" text="D&#252;zeltmeler: "/>
+   <l:gentext key="revisedby" text="D&#252;zeltmeler: "/>
+   <l:gentext key="TableNotes" text="Notlar"/>
+   <l:gentext key="tablenotes" text="Notlar"/>
+   <l:gentext key="TableofContents" text="&#304;&#231;indekiler"/>
+   <l:gentext key="tableofcontents" text="&#304;&#231;indekiler"/>
+   <l:gentext key="unexpectedelementname" text="Beklenmeyen eleman ad&#305;"/>
+   <l:gentext key="unsupported" text="desteklenmiyor"/>
+   <l:gentext key="xrefto" text="xref to"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Denklemler"/>
+   <l:gentext key="ListofEquations" text="Denklemler"/>
+   <l:gentext key="ListofExamples" text="&#214;rnekler"/>
+   <l:gentext key="listofexamples" text="&#214;rnekler"/>
+   <l:gentext key="ListofFigures" text="&#350;ekiller"/>
+   <l:gentext key="listoffigures" text="&#350;ekiller"/>
+   <l:gentext key="ListofProcedures" text="Y&#246;nergeler"/>
+   <l:gentext key="listofprocedures" text="Y&#246;nergeler"/>
+   <l:gentext key="listoftables" text="Tablolar"/>
+   <l:gentext key="ListofTables" text="Tablolar"/>
+   <l:gentext key="ListofUnknown" text="Bilinmeyenler"/>
+   <l:gentext key="listofunknown" text="Bilinmeyenler"/>
+   <l:gentext key="nav-home" text="Ba&#351;lang&#305;&#231;"/>
+   <l:gentext key="nav-next" text="Sonraki"/>
+   <l:gentext key="nav-next-sibling" text="Sonraki B&#246;l&#252;m"/>
+   <l:gentext key="nav-prev" text="&#214;nceki"/>
+   <l:gentext key="nav-prev-sibling" text="&#214;nceki B&#246;l&#252;m"/>
+   <l:gentext key="nav-up" text="Yukar&#305;"/>
+   <l:gentext key="nav-toc" text="&#304;&#231;indekiler"/>
+   <l:gentext key="Draft" text="Taslak"/>
+   <l:gentext key="above" text="&#252;st&#252;nde"/>
+   <l:gentext key="below" text="alt&#305;nda"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Semboller"/>
+   <l:gentext key="lowercase.alpha" text="abc&#231;defg&#287;h&#305;ijklmno&#246;prs&#351;tu&#252;vyz"/>
+   <l:gentext key="uppercase.alpha" text="ABC&#199;DEFG&#286;HI&#304;JKLMNO&#214;PRS&#350;TU&#220;VYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="3"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Ek %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="B&#246;l&#252;m %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Denklem %n. %t"/>
+      <l:template name="example" text="&#214;rnek %n. %t"/>
+      <l:template name="figure" text="&#350;ekil %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="K&#305;s&#305;m %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Y&#246;nerge %n. %t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Prod&#252;ksiyon %n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Tablo %n. %t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Ek %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n. %t"/>
+      <l:template name="chapter" text="B&#246;l&#252;m %n. %t"/>
+      <l:template name="part" text="K&#305;s&#305;m&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="Cevap: %n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="Soru: %n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="Soru: %n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(sayfa %p)"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(shf. %p)"/>
+      <l:template name="Page" text="Sayfa %p"/>
+      <l:template name="bridgehead" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsection" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text=" &#8220;%t&#8221;"/>
+      <l:template name="sect1" text=" &#8220;%t&#8221;"/>
+      <l:template name="sect2" text=" &#8220;%t&#8221;"/>
+      <l:template name="sect3" text=" &#8220;%t&#8221;"/>
+      <l:template name="sect4" text=" &#8220;%t&#8221;"/>
+      <l:template name="sect5" text=" &#8220;%t&#8221;"/>
+      <l:template name="section" text=" &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text=" &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="Cevap:&#160;%n"/>
+      <l:template name="appendix" text="Ek&#160;%n"/>
+      <l:template name="bridgehead" text="K&#305;s&#305;m&#160;%n"/>
+      <l:template name="chapter" text="B&#246;l&#252;m&#160;%n"/>
+      <l:template name="equation" text="Denklem&#160;%n"/>
+      <l:template name="example" text="&#214;rnek&#160;%n"/>
+      <l:template name="figure" text="&#350;ekil&#160;%n"/>
+      <l:template name="part" text="K&#305;s&#305;m&#160;%n"/>
+      <l:template name="procedure" text="Y&#246;nerge&#160;%n"/>
+      <l:template name="productionset" text="Prod&#252;ksiyon&#160;%n"/>
+      <l:template name="qandadiv" text="S ve C&#160;%n"/>
+      <l:template name="qandaentry" text="Soru:&#160;%n"/>
+      <l:template name="question" text="Soru:&#160;%n"/>
+      <l:template name="sect1" text="K&#305;s&#305;m&#160;%n"/>
+      <l:template name="sect2" text="K&#305;s&#305;m&#160;%n"/>
+      <l:template name="sect3" text="K&#305;s&#305;m&#160;%n"/>
+      <l:template name="sect4" text="K&#305;s&#305;m&#160;%n"/>
+      <l:template name="sect5" text="K&#305;s&#305;m&#160;%n"/>
+      <l:template name="section" text="K&#305;s&#305;m&#160;%n"/>
+      <l:template name="table" text="Tablo&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Ek&#160;%n, %t"/>
+      <l:template name="bridgehead" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="B&#246;l&#252;m&#160;%n, %t"/>
+      <l:template name="equation" text="Denklem&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#214;rnek&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#350;ekil&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Y&#246;nerge&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Prod&#252;ksiyon&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="S ve C&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text=" &#8220;%t&#8221;"/>
+      <l:template name="refsection" text=" &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="K&#305;s&#305;m&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text=" &#8220;%t&#8221;"/>
+      <l:template name="table" text="Tablo&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" ve "/>
+      <l:template name="seplast" text=", ve "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Bkz. %t"/>
+      <l:template name="seealso" text="Bkz. %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Hedef Okuyucu: "/>
+      <l:template name="MsgLevel" text="D&#252;zey: "/>
+      <l:template name="MsgOrig" text="Kaynak: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="d/m/Y"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="Ocak"/>
+      <l:template name="February" text="&#350;ubat"/>
+      <l:template name="March" text="Mart"/>
+      <l:template name="April" text="Nisan"/>
+      <l:template name="May" text="May&#305;s"/>
+      <l:template name="June" text="Haziran"/>
+      <l:template name="July" text="Temmuz"/>
+      <l:template name="August" text="A&#287;ustos"/>
+      <l:template name="September" text="Eyl&#252;l"/>
+      <l:template name="October" text="Ekim"/>
+      <l:template name="November" text="Kas&#305;m"/>
+      <l:template name="December" text="Aral&#305;k"/>
+      <l:template name="Monday" text="Pazartesi"/>
+      <l:template name="Tuesday" text="Sal&#305;"/>
+      <l:template name="Wednesday" text="&#199;ar&#351;amba"/>
+      <l:template name="Thursday" text="Per&#351;embe"/>
+      <l:template name="Friday" text="Cuma"/>
+      <l:template name="Saturday" text="Cumartesi"/>
+      <l:template name="Sunday" text="Pazar"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Oca"/>
+      <l:template name="Feb" text="&#350;ub"/>
+      <l:template name="Mar" text="Mar"/>
+      <l:template name="Apr" text="Nis"/>
+      <l:template name="May" text="May"/>
+      <l:template name="Jun" text="Haz"/>
+      <l:template name="Jul" text="Tem"/>
+      <l:template name="Aug" text="A&#287;u"/>
+      <l:template name="Sep" text="Eyl"/>
+      <l:template name="Oct" text="Eki"/>
+      <l:template name="Nov" text="Kas"/>
+      <l:template name="Dec" text="Ara"/>
+      <l:template name="Mon" text="Pzt"/>
+      <l:template name="Tue" text="Sal"/>
+      <l:template name="Wed" text="&#199;ar"/>
+      <l:template name="Thu" text="Per"/>
+      <l:template name="Fri" text="Cum"/>
+      <l:template name="Sat" text="Cts"/>
+      <l:template name="Sun" text="Paz"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x041f Turkish"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">Semboller</l:l>
+      <l:l i="1">A</l:l>
+      <l:l i="1">a</l:l>
+      <l:l i="2">B</l:l>
+      <l:l i="2">b</l:l>
+      <l:l i="3">C</l:l>
+      <l:l i="3">c</l:l>
+      <l:l i="4">&#199;</l:l>
+      <l:l i="4">&#231;</l:l>
+      <l:l i="5">D</l:l>
+      <l:l i="5">d</l:l>
+      <l:l i="6">E</l:l>
+      <l:l i="6">e</l:l>
+      <l:l i="7">F</l:l>
+      <l:l i="7">f</l:l>
+      <l:l i="8">G</l:l>
+      <l:l i="8">g</l:l>
+      <l:l i="9">&#286;</l:l>
+      <l:l i="9">&#287;</l:l>
+      <l:l i="10">H</l:l>
+      <l:l i="10">h</l:l>
+      <l:l i="11">I</l:l>
+      <l:l i="11">&#305;</l:l>
+      <l:l i="12">&#304;</l:l>
+      <l:l i="12">i</l:l>
+      <l:l i="13">J</l:l>
+      <l:l i="13">j</l:l>
+      <l:l i="14">K</l:l>
+      <l:l i="14">k</l:l>
+      <l:l i="15">L</l:l>
+      <l:l i="15">l</l:l>
+      <l:l i="16">M</l:l>
+      <l:l i="16">m</l:l>
+      <l:l i="17">N</l:l>
+      <l:l i="17">n</l:l>
+      <l:l i="18">O</l:l>
+      <l:l i="18">o</l:l>
+      <l:l i="19">&#214;</l:l>
+      <l:l i="19">&#246;</l:l>
+      <l:l i="20">P</l:l>
+      <l:l i="20">p</l:l>
+      <l:l i="21">R</l:l>
+      <l:l i="21">r</l:l>
+      <l:l i="22">S</l:l>
+      <l:l i="22">s</l:l>
+      <l:l i="23">&#350;</l:l>
+      <l:l i="23">&#351;</l:l>
+      <l:l i="24">T</l:l>
+      <l:l i="24">t</l:l>
+      <l:l i="25">U</l:l>
+      <l:l i="25">u</l:l>
+      <l:l i="26">&#220;</l:l>
+      <l:l i="26">&#252;</l:l>
+      <l:l i="27">V</l:l>
+      <l:l i="27">v</l:l>
+      <l:l i="28">Y</l:l>
+      <l:l i="28">y</l:l>
+      <l:l i="29">Z</l:l>
+      <l:l i="29">z</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/uk.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/uk.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/uk.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="uk" english-language-name="Ukrainian">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/uk.xml -->
+<!-- * -->
+<!-- * E-mail the edited uk.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#1040;&#1085;&#1086;&#1090;&#1072;&#1094;&#1110;&#1103;"/>
+   <l:gentext key="abstract" text="&#1040;&#1085;&#1086;&#1090;&#1072;&#1094;&#1110;&#1103;"/>
+   <l:gentext key="Answer" text="&#1042;:"/>
+   <l:gentext key="answer" text="&#1074;:"/>
+   <l:gentext key="Appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082;"/>
+   <l:gentext key="appendix" text="&#1076;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082;"/>
+   <l:gentext key="Article" text="&#1057;&#1090;&#1072;&#1090;&#1090;&#1103;"/>
+   <l:gentext key="article" text="&#1089;&#1090;&#1072;&#1090;&#1090;&#1103;"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="&#1051;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="bibliography" text="&#1083;&#1080;&#1090;&#1077;&#1088;&#1072;&#1090;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="Book" text="&#1050;&#1085;&#1080;&#1075;&#1072;"/>
+   <l:gentext key="book" text="&#1082;&#1085;&#1080;&#1075;&#1072;"/>
+   <l:gentext key="CAUTION" text="&#1047;&#1040;&#1057;&#1058;&#1045;&#1056;&#1045;&#1046;&#1045;&#1053;&#1053;&#1071;"/>
+   <l:gentext key="Caution" text="&#1047;&#1072;&#1089;&#1090;&#1077;&#1088;&#1077;&#1078;&#1077;&#1085;&#1085;&#1103;"/>
+   <l:gentext key="caution" text="&#1079;&#1072;&#1089;&#1090;&#1077;&#1088;&#1077;&#1078;&#1077;&#1085;&#1085;&#1103;"/>
+   <l:gentext key="Chapter" text="&#1056;&#1086;&#1079;&#1076;&#1110;&#1083;"/>
+   <l:gentext key="chapter" text="&#1088;&#1086;&#1079;&#1076;&#1110;&#1083;"/>
+   <l:gentext key="Colophon" text="Colophon"/>
+   <l:gentext key="colophon" text="Colophon"/>
+   <l:gentext key="Copyright" text="&#1040;&#1074;&#1090;&#1086;&#1088;&#1089;&#1100;&#1082;&#1077; &#1087;&#1088;&#1072;&#1074;&#1086;"/>
+   <l:gentext key="copyright" text="&#1072;&#1074;&#1090;&#1086;&#1088;&#1089;&#1100;&#1082;&#1077; &#1087;&#1088;&#1072;&#1074;&#1086;"/>
+   <l:gentext key="Dedication" text="&#1055;&#1088;&#1080;&#1089;&#1074;&#1103;&#1095;&#1077;&#1085;&#1085;&#1103;"/>
+   <l:gentext key="dedication" text="&#1087;&#1088;&#1080;&#1089;&#1074;&#1103;&#1095;&#1077;&#1085;&#1085;&#1103;"/>
+   <l:gentext key="Edition" text="&#1042;&#1080;&#1076;&#1072;&#1085;&#1085;&#1103;"/>
+   <l:gentext key="edition" text="&#1074;&#1080;&#1076;&#1072;&#1085;&#1085;&#1103;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;"/>
+   <l:gentext key="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;"/>
+   <l:gentext key="Example" text="&#1055;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;"/>
+   <l:gentext key="example" text="&#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;"/>
+   <l:gentext key="Figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;"/>
+   <l:gentext key="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;"/>
+   <l:gentext key="Glossary" text="&#1043;&#1083;&#1086;&#1089;&#1072;&#1088;&#1110;&#1081;"/>
+   <l:gentext key="glossary" text="&#1075;&#1083;&#1086;&#1089;&#1072;&#1088;&#1110;&#1081;"/>
+   <l:gentext key="GlossSee" text="&#1044;&#1080;&#1074;."/>
+   <l:gentext key="glosssee" text="&#1076;&#1080;&#1074;."/>
+   <l:gentext key="GlossSeeAlso" text="&#1044;&#1080;&#1074;. &#1090;&#1072;&#1082;&#1086;&#1078;"/>
+   <l:gentext key="glossseealso" text="&#1076;&#1080;&#1074;. &#1090;&#1072;&#1082;&#1086;&#1078;"/>
+   <l:gentext key="IMPORTANT" text="&#1042;&#1040;&#1046;&#1051;&#1048;&#1042;&#1054;"/>
+   <l:gentext key="important" text="&#1074;&#1072;&#1078;&#1083;&#1080;&#1074;&#1086;"/>
+   <l:gentext key="Important" text="&#1042;&#1072;&#1078;&#1083;&#1080;&#1074;&#1086;"/>
+   <l:gentext key="Index" text="&#1055;&#1088;&#1077;&#1076;&#1084;&#1077;&#1090;&#1085;&#1099;&#1081; &#1087;&#1086;&#1082;&#1072;&#1078;chcy;&#1080;&#1082;"/>
+   <l:gentext key="index" text="&#1087;&#1088;&#1077;&#1076;&#1084;&#1077;&#1090;&#1085;&#1099;&#1081; &#1087;&#1086;&#1082;&#1072;&#1078;chcy;&#1080;&#1082;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#1055;&#1088;&#1072;&#1074;&#1086;&#1074;&#1072; &#1087;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1072;"/>
+   <l:gentext key="legalnotice" text="&#1087;&#1088;&#1072;&#1074;&#1086;&#1074;&#1072; &#1087;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1072;"/>
+   <l:gentext key="MsgAud" text="&#1040;&#1091;&#1076;&#1080;&#1090;&#1086;&#1088;&#1110;&#1103;"/>
+   <l:gentext key="msgaud" text="&#1072;&#1091;&#1076;&#1080;&#1090;&#1086;&#1088;&#1110;&#1103;"/>
+   <l:gentext key="MsgLevel" text="&#1056;&#1110;&#1074;&#1077;&#1085;&#1100;"/>
+   <l:gentext key="msglevel" text="&#1088;&#1110;&#1074;&#1077;&#1085;&#1100;"/>
+   <l:gentext key="MsgOrig" text="&#1044;&#1078;&#1077;&#1088;&#1077;&#1083;&#1086;"/>
+   <l:gentext key="msgorig" text="&#1076;&#1078;&#1077;&#1088;&#1077;&#1083;&#1086;"/>
+   <l:gentext key="NOTE" text="&#1055;&#1056;&#1048;&#1052;&#1030;&#1058;&#1050;&#1040;"/>
+   <l:gentext key="Note" text="&#1055;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1072;"/>
+   <l:gentext key="note" text="&#1087;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1072;"/>
+   <l:gentext key="Part" text="&#1063;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072;"/>
+   <l:gentext key="part" text="&#1095;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072;"/>
+   <l:gentext key="Preface" text="&#1055;&#1077;&#1088;&#1077;&#1076;&#1084;&#1086;&#1074;&#1072;"/>
+   <l:gentext key="preface" text="&#1087;&#1077;&#1088;&#1077;&#1076;&#1084;&#1086;&#1074;&#1072;"/>
+   <l:gentext key="Procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="&#1054;&#1087;&#1091;&#1073;&#1083;&#1110;&#1082;&#1086;&#1074;&#1072;&#1085;&#1086;"/>
+   <l:gentext key="published" text="&#1086;&#1087;&#1091;&#1073;&#1083;&#1110;&#1082;&#1086;&#1074;&#1072;&#1085;&#1086;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#1055; &#1080; &#1042;"/>
+   <l:gentext key="qandadiv" text="&#1055; &#1080; &#1042;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#1055;"/>
+   <l:gentext key="question" text="&#1087;"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#1055;&#1086;&#1089;&#1080;&#1083;&#1072;&#1085;&#1085;&#1103;"/>
+   <l:gentext key="reference" text="&#1087;&#1086;&#1089;&#1080;&#1083;&#1072;&#1085;&#1085;&#1103;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Name"/>
+   <l:gentext key="refname" text="Name"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#1050;&#1086;&#1088;&#1086;&#1090;&#1082;&#1080;&#1081; &#1086;&#1075;&#1083;&#1103;&#1076;"/>
+   <l:gentext key="refsynopsisdiv" text="&#1082;&#1086;&#1088;&#1086;&#1090;&#1082;&#1080;&#1081; &#1086;&#1075;&#1083;&#1103;&#1076;"/>
+   <l:gentext key="RevHistory" text="&#1054;&#1087;&#1080;&#1089; zcy;&#1084;&#1110;&#1085;"/>
+   <l:gentext key="revhistory" text="&#1086;&#1087;&#1080;&#1089; zcy;&#1084;&#1110;&#1085;"/>
+   <l:gentext key="revision" text="&#1087;&#1077;&#1088;&#1077;&#1075;&#1083;&#1103;&#1076;"/>
+   <l:gentext key="Revision" text="&#1055;&#1077;&#1088;&#1077;&#1075;&#1083;&#1103;&#1076;"/>
+   <l:gentext key="sect1" text="Section"/>
+   <l:gentext key="sect2" text="Section"/>
+   <l:gentext key="sect3" text="Section"/>
+   <l:gentext key="sect4" text="Section"/>
+   <l:gentext key="sect5" text="Section"/>
+   <l:gentext key="section" text="&#1087;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;"/>
+   <l:gentext key="Section" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;"/>
+   <l:gentext key="see" text="&#1076;&#1080;&#1074;."/>
+   <l:gentext key="See" text="&#1044;&#1080;&#1074;."/>
+   <l:gentext key="seealso" text="&#1089;&#1080;&#1074;. tcy;&#1072;&#1082;&#1086;&#1078;"/>
+   <l:gentext key="Seealso" text="&#1044;&#1080;&#1074;. tcy;&#1072;&#1082;&#1086;&#1078;"/>
+   <l:gentext key="SeeAlso" text="&#1044;&#1080;&#1074;. tcy;&#1072;&#1082;&#1086;&#1078;"/>
+   <l:gentext key="set" text="&#1074;&#1080;&#1073;&#1110;&#1088;&#1082;&#1072;"/>
+   <l:gentext key="Set" text="&#1042;&#1080;&#1073;&#1110;&#1088;&#1082;&#1072;"/>
+   <l:gentext key="setindex" text="&#1080;&#1085;&#1076;&#1077;&#1082;&#1089; &#1074;&#1080;&#1073;&#1110;&#1088;&#1082;&#1080;"/>
+   <l:gentext key="SetIndex" text="&#1048;&#1085;&#1076;&#1077;&#1082;&#1089; &#1074;&#1080;&#1073;&#1110;&#1088;&#1082;&#1080;"/>
+   <l:gentext key="Sidebar" text="&#1042;&#1099;&#1076;&#1110;&#1083;&#1077;&#1085;&#1085;&#1103;"/>
+   <l:gentext key="sidebar" text="&#1074;&#1099;&#1076;&#1110;&#1083;&#1077;&#1085;&#1085;&#1103;"/>
+   <l:gentext key="step" text="&#1082;&#1088;&#1086;&#1082;"/>
+   <l:gentext key="Step" text="&#1050;&#1088;&#1086;&#1082;"/>
+   <l:gentext key="table" text="&#1090;&#1072;&#1073;&#1083;&#1080;&#1094;&#1103;"/>
+   <l:gentext key="Table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1103;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#1087;&#1110;&#1076;&#1082;&#1072;&#1079;&#1082;&#1072;"/>
+   <l:gentext key="TIP" text="&#1055;&#1030;&#1044;&#1050;&#1040;&#1047;&#1050;&#1040;"/>
+   <l:gentext key="Tip" text="&#1055;&#1110;&#1076;&#1082;&#1072;&#1079;&#1082;&#1072;"/>
+   <l:gentext key="Warning" text="&#1047;&#1072;&#1089;&#1090;&#1077;&#1088;&#1077;&#1078;&#1077;&#1085;&#1085;&#1103;"/>
+   <l:gentext key="warning" text="&#1079;&#1072;&#1089;&#1090;&#1077;&#1088;&#1077;&#1078;&#1077;&#1085;&#1085;&#1103;"/>
+   <l:gentext key="WARNING" text="&#1047;&#1040;&#1057;&#1058;&#1045;&#1056;&#1045;&#1046;&#1045;&#1053;&#1053;&#1071;"/>
+   <l:gentext key="and" text="and"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="&#1055;&#1080;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1110;&#1108;&#1102;"/>
+   <l:gentext key="edited" text="&#1087;&#1080;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1110;&#1108;&#1102;"/>
+   <l:gentext key="Editedby" text="&#1055;&#1080;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1110;&#1108;&#1102;"/>
+   <l:gentext key="editedby" text="&#1087;&#1080;&#1076; &#1088;&#1077;&#1076;&#1072;&#1082;&#1094;&#1110;&#1108;&#1102;"/>
+   <l:gentext key="in" text="&#1074;"/>
+   <l:gentext key="lastlistcomma" text="."/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="non-existant element"/>
+   <l:gentext key="notes" text="&#1087;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1080;"/>
+   <l:gentext key="Notes" text="&#1055;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1080;"/>
+   <l:gentext key="Pgs" text="&#1057;&#1090;&#1086;&#1088;."/>
+   <l:gentext key="pgs" text="&#1089;&#1090;&#1086;&#1088;."/>
+   <l:gentext key="Revisedby" text="&#1050;&#1086;&#1088;&#1077;&#1082;&#1090;&#1091;&#1088;&#1072;:;"/>
+   <l:gentext key="revisedby" text="&#1082;&#1086;&#1088;&#1077;&#1082;&#1090;&#1091;&#1088;&#1072;:;"/>
+   <l:gentext key="TableNotes" text="&#1055;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1080;"/>
+   <l:gentext key="tablenotes" text="&#1087;&#1088;&#1080;&#1084;&#1110;&#1090;&#1082;&#1080;"/>
+   <l:gentext key="TableofContents" text="&#1047;&#1084;&#1110;&#1089;&#1090;"/>
+   <l:gentext key="tableofcontents" text="&#1079;&#1084;&#1110;&#1089;&#1090;"/>
+   <l:gentext key="unexpectedelementname" text="unexpected element name"/>
+   <l:gentext key="unsupported" text="unsupported"/>
+   <l:gentext key="xrefto" text="xref to"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#1089;&#1087;&#1080;&#1089;&#1086;&#1082; &#1092;&#1086;&#1088;&#1084;&#1091;&#1083;"/>
+   <l:gentext key="ListofEquations" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1092;&#1086;&#1088;&#1084;&#1091;&#1083;"/>
+   <l:gentext key="ListofExamples" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;&#1110;&#1074;"/>
+   <l:gentext key="listofexamples" text="&#1089;&#1087;&#1080;&#1089;&#1086;&#1082; &#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;&#1110;&#1074;"/>
+   <l:gentext key="ListofFigures" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1110;&#1083;&#1102;&#1089;&#1090;&#1088;&#1072;&#1094;&#1110;&#1081;"/>
+   <l:gentext key="listoffigures" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1110;&#1083;&#1102;&#1089;&#1090;&#1088;&#1072;&#1094;&#1110;&#1081;"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="&#1089;&#1087;&#1080;&#1089;&#1086;&#1082; &#1090;&#1072;&#1073;&#1083;&#1080;&#1094;&#1100;"/>
+   <l:gentext key="ListofTables" text="&#1057;&#1087;&#1080;&#1089;&#1086;&#1082; &#1090;&#1072;&#1073;&#1083;&#1080;&#1094;;&#1100;"/>
+   <l:gentext key="ListofUnknown" text="&#1053;&#1077;&#1074;&#1080;&#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1080;&#1081; &#1089;&#1087;&#1080;&#1089;&#1086;&#1082;"/>
+   <l:gentext key="listofunknown" text="&#1085;&#1077;&#1074;&#1080;&#1079;&#1085;&#1072;&#1095;&#1077;&#1085;&#1080;&#1081; &#1089;&#1087;&#1080;&#1089;&#1086;&#1082;"/>
+   <l:gentext key="nav-home" text="&#1055;&#1086;&#1095;&#1072;&#1090;&#1086;&#1082;"/>
+   <l:gentext key="nav-next" text="&#1076;&#1072;&#1083;&#1110;"/>
+   <l:gentext key="nav-next-sibling" text="&#1076;&#1072;&#1083;&#1110; &#1087;&#1086; &#1088;&#1110;&#1074;&#1085;&#1102;"/>
+   <l:gentext key="nav-prev" text="&#1085;&#1072;&#1079;&#1072;&#1076;"/>
+   <l:gentext key="nav-prev-sibling" text="&#1085;&#1072;&#1079;&#1072;&#1076; &#1087;&#1086; &#1088;&#1110;&#1074;&#1085;&#1102;"/>
+   <l:gentext key="nav-up" text="&#1044;&#1086;&#1075;&#1086;&#1088;&#1080;"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082; %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#1056;&#1086;&#1079;&#1076;&#1110;&#1083; %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072; %n. %t"/>
+      <l:template name="example" text="&#1055;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076; %n. %t"/>
+      <l:template name="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082; %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072; %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1103; %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082; %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="&#1056;&#1086;&#1079;&#1076;&#1110;&#1083; %n. %t"/>
+      <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#1042;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#1055;&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#1055;&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#1042;:&#160;%n"/>
+      <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082;&#160;%n"/>
+      <l:template name="bridgehead" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+      <l:template name="chapter" text="&#1056;&#1086;&#1079;&#1076;&#1110;&#1083;&#160;%n"/>
+      <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n"/>
+      <l:template name="example" text="&#1055;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;&#160;%n"/>
+      <l:template name="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;&#160;%n"/>
+      <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072;&#160;%n"/>
+      <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="&#1055; &#1080; &#1042;&#160;%n"/>
+      <l:template name="qandaentry" text="&#1055;&#160;%n"/>
+      <l:template name="question" text="&#1055;&#160;%n"/>
+      <l:template name="sect1" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+      <l:template name="sect2" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+      <l:template name="sect3" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+      <l:template name="sect4" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+      <l:template name="sect5" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+      <l:template name="section" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n"/>
+      <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1103;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#1044;&#1086;&#1076;&#1072;&#1090;&#1086;&#1082;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#1056;&#1086;&#1079;&#1076;&#1110;&#1083;&#160;%n, %t"/>
+      <l:template name="equation" text="&#1060;&#1086;&#1088;&#1084;&#1091;&#1083;&#1072;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#1055;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#1056;&#1080;&#1089;&#1091;&#1085;&#1086;&#1082;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#1063;&#1072;&#1089;&#1090;&#1080;&#1085;&#1072;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#1055;&#1088;&#1086;&#1094;&#1077;&#1076;&#1091;&#1088;&#1072;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="&#1055; &#1080; &#1042;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#1055;&#1072;&#1088;&#1072;&#1075;&#1088;&#1072;&#1092;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="table" text="&#1058;&#1072;&#1073;&#1083;&#1080;&#1094;&#1103;&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text="  "/>
+      <l:template name="seplast" text=".  "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#1044;&#1080;&#1074;. %t"/>
+      <l:template name="seealso" text="&#1044;&#1080;&#1074;. &#1090;&#1072;&#1082;&#1086;&#1078; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#1040;&#1091;&#1076;&#1080;&#1090;&#1086;&#1088;&#1110;&#1103;: "/>
+      <l:template name="MsgLevel" text="&#1056;&#1110;&#1074;&#1077;&#1085;&#1100;: "/>
+      <l:template name="MsgOrig" text="&#1044;&#1078;&#1077;&#1088;&#1077;&#1083;&#1086;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0422 Ukrainian"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/vi.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/vi.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/vi.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="vi" english-language-name="Vietnamese">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/vi.xml -->
+<!-- * -->
+<!-- * E-mail the edited vi.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="T&#7893;ng quan"/>
+   <l:gentext key="abstract" text="T&#7893;ng quan"/>
+   <l:gentext key="Answer" text="&#272;:"/>
+   <l:gentext key="answer" text="&#272;:"/>
+   <l:gentext key="Appendix" text="Ph&#7909; l&#7909;c"/>
+   <l:gentext key="appendix" text="ph&#7909; l&#7909;c"/>
+   <l:gentext key="Article" text="B&#224;i vi&#7871;t"/>
+   <l:gentext key="article" text="B&#224;i vi&#7871;t"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Th&#432; m&#7909;c"/>
+   <l:gentext key="bibliography" text="Th&#432; m&#7909;c"/>
+   <l:gentext key="Book" text="S&#225;ch"/>
+   <l:gentext key="book" text="S&#225;ch"/>
+   <l:gentext key="CAUTION" text="C&#7848;N TH&#7852;N"/>
+   <l:gentext key="Caution" text="C&#7849;n th&#7853;n"/>
+   <l:gentext key="caution" text="C&#7849;n th&#7853;n"/>
+   <l:gentext key="Chapter" text="Ch&#432;&#417;ng"/>
+   <l:gentext key="chapter" text="ch&#432;&#417;ng"/>
+   <l:gentext key="Colophon" text="Colophon"/>
+   <l:gentext key="colophon" text="Colophon"/>
+   <l:gentext key="Copyright" text="B&#7843;n quy&#7873;n"/>
+   <l:gentext key="copyright" text="B&#7843;n quy&#7873;n"/>
+   <l:gentext key="Dedication" text="T&#7863;ng"/>
+   <l:gentext key="dedication" text="T&#7863;ng"/>
+   <l:gentext key="Edition" text="Edition"/>
+   <l:gentext key="edition" text="Edition"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Ph&#432;&#417;ng tr&#236;nh"/>
+   <l:gentext key="equation" text="Ph&#432;&#417;ng tr&#236;nh"/>
+   <l:gentext key="Example" text="V&#237; d&#7909;"/>
+   <l:gentext key="example" text="V&#237; d&#7909;"/>
+   <l:gentext key="Figure" text="H&#236;nh"/>
+   <l:gentext key="figure" text="H&#236;nh"/>
+   <l:gentext key="Glossary" text="Thu&#7853;t ng&#7919;"/>
+   <l:gentext key="glossary" text="Thu&#7853;t ng&#7919;"/>
+   <l:gentext key="GlossSee" text="Xem"/>
+   <l:gentext key="glosssee" text="Xem"/>
+   <l:gentext key="GlossSeeAlso" text="Xem th&#234;m"/>
+   <l:gentext key="glossseealso" text="Xem th&#234;m"/>
+   <l:gentext key="IMPORTANT" text="QUAN TR&#7884;NG"/>
+   <l:gentext key="important" text="Quan tr&#7885;ng"/>
+   <l:gentext key="Important" text="Quan tr&#7885;ng"/>
+   <l:gentext key="Index" text="Ch&#7881; m&#7909;c"/>
+   <l:gentext key="index" text="Ch&#7881; m&#7909;c"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="Legal Notice"/>
+   <l:gentext key="legalnotice" text="Legal Notice"/>
+   <l:gentext key="MsgAud" text="&#272;&#7885;c gi&#7843;"/>
+   <l:gentext key="msgaud" text="&#272;&#7885;c gi&#7843;"/>
+   <l:gentext key="MsgLevel" text="C&#7845;p"/>
+   <l:gentext key="msglevel" text="C&#7845;p"/>
+   <l:gentext key="MsgOrig" text="G&#7889;c"/>
+   <l:gentext key="msgorig" text="G&#7889;c"/>
+   <l:gentext key="NOTE" text="GHI CH&#218;"/>
+   <l:gentext key="Note" text="Ghi ch&#250;"/>
+   <l:gentext key="note" text="Ghi ch&#250;"/>
+   <l:gentext key="Part" text="Ph&#7847;n"/>
+   <l:gentext key="part" text="Ph&#7847;n"/>
+   <l:gentext key="Preface" text="M&#7903; &#273;&#7847;u"/>
+   <l:gentext key="preface" text="M&#7903; &#273;&#7847;u"/>
+   <l:gentext key="Procedure" text="Th&#7911; t&#7909;c"/>
+   <l:gentext key="procedure" text="Th&#7911; t&#7909;c"/>
+   <l:gentext key="ProductionSet" text="S&#7843;n ph&#7849;m"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Xu&#7845;t b&#7843;n"/>
+   <l:gentext key="published" text="Xu&#7845;t b&#7843;n"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="H v&#224; &#272;"/>
+   <l:gentext key="qandadiv" text="H v&#224; &#272;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="H:"/>
+   <l:gentext key="question" text="H:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Tham kh&#7843;o"/>
+   <l:gentext key="reference" text="Tham kh&#7843;o"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="T&#234;n"/>
+   <l:gentext key="refname" text="T&#234;n"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="T&#243;m t&#7855;t"/>
+   <l:gentext key="refsynopsisdiv" text="T&#243;m t&#7855;t"/>
+   <l:gentext key="RevHistory" text="Revision History"/>
+   <l:gentext key="revhistory" text="Revision History"/>
+   <l:gentext key="revision" text="B&#7843;n hi&#7879;u ch&#7881;nh"/>
+   <l:gentext key="Revision" text="B&#7843;n hi&#7879;u ch&#7881;nh"/>
+   <l:gentext key="sect1" text="Ph&#7847;n"/>
+   <l:gentext key="sect2" text="Ph&#7847;n"/>
+   <l:gentext key="sect3" text="Ph&#7847;n"/>
+   <l:gentext key="sect4" text="Ph&#7847;n"/>
+   <l:gentext key="sect5" text="Ph&#7847;n"/>
+   <l:gentext key="section" text="Ph&#7847;n"/>
+   <l:gentext key="Section" text="Ph&#7847;n"/>
+   <l:gentext key="see" text="xem"/>
+   <l:gentext key="See" text="See" lang="en"/>
+   <l:gentext key="seealso" text="xem th&#234;m"/>
+   <l:gentext key="Seealso" text="See also" lang="en"/>
+   <l:gentext key="SeeAlso" text="See Also" lang="en"/>
+   <l:gentext key="set" text="&#272;&#7863;t"/>
+   <l:gentext key="Set" text="&#272;&#7863;t"/>
+   <l:gentext key="setindex" text="&#272;&#7863;t ch&#7881; m&#7909;c"/>
+   <l:gentext key="SetIndex" text="&#272;&#7863;t ch&#7881; m&#7909;c"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="thanh b&#234;n"/>
+   <l:gentext key="step" text="b&#432;&#7899;c"/>
+   <l:gentext key="Step" text="B&#432;&#7899;c"/>
+   <l:gentext key="table" text="B&#7843;ng"/>
+   <l:gentext key="Table" text="B&#7843;ng"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="M&#7865;o"/>
+   <l:gentext key="TIP" text="M&#7864;O"/>
+   <l:gentext key="Tip" text="M&#7865;o"/>
+   <l:gentext key="Warning" text="C&#7843;nh b&#225;o"/>
+   <l:gentext key="warning" text="C&#7843;nh b&#225;o"/>
+   <l:gentext key="WARNING" text="C&#7842;NH B&#193;O"/>
+   <l:gentext key="and" text="v&#224;"/>
+   <l:gentext key="by" text="b&#7903;i"/>
+   <l:gentext key="Edited" text="&#272;&#432;&#7907;c bi&#234;n so&#7841;n"/>
+   <l:gentext key="edited" text="&#272;&#432;&#7907;c bi&#234;n so&#7841;n"/>
+   <l:gentext key="Editedby" text="&#272;&#432;&#7907;c bi&#234;n so&#7841;n b&#7903;i"/>
+   <l:gentext key="editedby" text="&#272;&#432;&#7907;c bi&#234;n so&#7841;n b&#7903;i"/>
+   <l:gentext key="in" text="trong"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="ph&#7847;n t&#7917; kh&#244;ng c&#243;"/>
+   <l:gentext key="notes" text="Ghi ch&#250;"/>
+   <l:gentext key="Notes" text="Ghi ch&#250;"/>
+   <l:gentext key="Pgs" text="Pgs."/>
+   <l:gentext key="pgs" text="Pgs."/>
+   <l:gentext key="Revisedby" text="Hi&#7879;u ch&#7881;nh b&#7903;i: "/>
+   <l:gentext key="revisedby" text="Hi&#7879;u ch&#7881;nh b&#7903;i: "/>
+   <l:gentext key="TableNotes" text="Ghi ch&#250;"/>
+   <l:gentext key="tablenotes" text="Ghi ch&#250;"/>
+   <l:gentext key="TableofContents" text="M&#7909;c l&#7909;c"/>
+   <l:gentext key="tableofcontents" text="M&#7909;c l&#7909;c"/>
+   <l:gentext key="unexpectedelementname" text="T&#234;n ph&#7847;n t&#7917; kh&#244;ng &#273;&#250;ng"/>
+   <l:gentext key="unsupported" text="kh&#244;ng h&#7895; tr&#7907;"/>
+   <l:gentext key="xrefto" text="xref t&#7899;i"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Danh s&#225;ch Ph&#432;&#417;ng tr&#236;nh"/>
+   <l:gentext key="ListofEquations" text="Danh s&#225;ch Ph&#432;&#417;ng tr&#236;nh"/>
+   <l:gentext key="ListofExamples" text="Danh s&#225;ch V&#237; d&#7909;"/>
+   <l:gentext key="listofexamples" text="Danh s&#225;ch V&#237; d&#7909;"/>
+   <l:gentext key="ListofFigures" text="Danh s&#225;ch H&#236;nh"/>
+   <l:gentext key="listoffigures" text="Danh s&#225;ch H&#236;nh"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Danh s&#225;ch B&#7843;ng"/>
+   <l:gentext key="ListofTables" text="Danh s&#225;ch B&#7843;ng"/>
+   <l:gentext key="ListofUnknown" text="Danh s&#225;ch L&#7841;"/>
+   <l:gentext key="listofunknown" text="Danh s&#225;ch L&#7841;"/>
+   <l:gentext key="nav-home" text="&#272;&#7847;u"/>
+   <l:gentext key="nav-next" text="K&#7871; ti&#7871;p"/>
+   <l:gentext key="nav-next-sibling" text="T&#7899;i nhanh"/>
+   <l:gentext key="nav-prev" text="Tr&#432;&#7899;c &#273;&#243;"/>
+   <l:gentext key="nav-prev-sibling" text="L&#249;i nhanh"/>
+   <l:gentext key="nav-up" text="L&#234;n"/>
+   <l:gentext key="nav-toc" text="M&#7909;c l&#7909;c"/>
+   <l:gentext key="Draft" text="B&#7843;n th&#7843;o"/>
+   <l:gentext key="above" text="tr&#234;n"/>
+   <l:gentext key="below" text="d&#432;&#7899;i"/>
+   <l:gentext key="sectioncalled" text="ph&#7847;n"/>
+   <l:gentext key="index symbols" text="K&#253; hi&#7879;u"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="last-first"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Ph&#7909; l&#7909;c&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Ch&#432;&#417;ng&#160;%n.&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Ph&#432;&#417;ng tr&#236;nh&#160;%n.&#160;%t"/>
+      <l:template name="example" text="V&#237; d&#7909;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="H&#236;nh&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Ph&#7847;n&#160;%n.&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Th&#7911; t&#7909;c&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="S&#7843;n ph&#7849;m&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="B&#7843;ng&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Ph&#7909; l&#7909;c&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="Ch&#432;&#417;ng&#160;%n.&#160;%t"/>
+      <l:template name="part" text="Ph&#7847;n&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#272;:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="H:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="H:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="section" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="ph&#7847;n &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#272;:&#160;%n"/>
+      <l:template name="appendix" text="Ph&#7909; l&#7909;c&#160;%n"/>
+      <l:template name="bridgehead" text="Ph&#7847;n&#160;%n"/>
+      <l:template name="chapter" text="Ch&#432;&#417;ng&#160;%n"/>
+      <l:template name="equation" text="Ph&#432;&#417;ng tr&#236;nh&#160;%n"/>
+      <l:template name="example" text="V&#237; d&#7909;&#160;%n"/>
+      <l:template name="figure" text="H&#236;nh&#160;%n"/>
+      <l:template name="part" text="Ph&#7847;n&#160;%n"/>
+      <l:template name="procedure" text="Th&#7911; t&#7909;c&#160;%n"/>
+      <l:template name="productionset" text="S&#7843;n ph&#7849;m&#160;%n"/>
+      <l:template name="qandadiv" text="H v&#224; &#272;&#160;%n"/>
+      <l:template name="qandaentry" text="H:&#160;%n"/>
+      <l:template name="question" text="H:&#160;%n"/>
+      <l:template name="sect1" text="Ph&#7847;n&#160;%n"/>
+      <l:template name="sect2" text="Ph&#7847;n&#160;%n"/>
+      <l:template name="sect3" text="Ph&#7847;n&#160;%n"/>
+      <l:template name="sect4" text="Ph&#7847;n&#160;%n"/>
+      <l:template name="sect5" text="Ph&#7847;n&#160;%n"/>
+      <l:template name="section" text="Ph&#7847;n&#160;%n"/>
+      <l:template name="table" text="B&#7843;ng&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Ph&#7909; l&#7909;c&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Ch&#432;&#417;ng&#160;%n, %t"/>
+      <l:template name="equation" text="Ph&#432;&#417;ng tr&#236;nh&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="V&#237; d&#7909;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="H&#236;nh&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Th&#7911; t&#7909;c&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="S&#7843;n ph&#7849;m&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="H v&#224; &#272;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Ph&#7847;n&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="ph&#7847;n &#8220;%t&#8221;"/>
+      <l:template name="table" text="B&#7843;ng&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" v&#224; "/>
+      <l:template name="seplast" text=", v&#224; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Xem %t"/>
+      <l:template name="seealso" text="Xem th&#234;m %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#272;&#7885;c gi&#7843;: "/>
+      <l:template name="MsgLevel" text="C&#7845;p: "/>
+      <l:template name="MsgOrig" text="G&#7889;c: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x042a Vietnamese"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/xh.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/xh.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/xh.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="xh" english-language-name="Xhosa">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/xh.xml -->
+<!-- * -->
+<!-- * E-mail the edited xh.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="Isiqalo"/>
+   <l:gentext key="abstract" text="Isiqalo"/>
+   <l:gentext key="Answer" text="I:"/>
+   <l:gentext key="answer" text="I:"/>
+   <l:gentext key="Appendix" text="Isivalo"/>
+   <l:gentext key="appendix" text="isivalo"/>
+   <l:gentext key="Article" text="Umba"/>
+   <l:gentext key="article" text="Umba"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="Ezobunzululwazi"/>
+   <l:gentext key="bibliography" text="Ezobunzululwazi"/>
+   <l:gentext key="Book" text="Incwadi"/>
+   <l:gentext key="book" text="Incwadi"/>
+   <l:gentext key="CAUTION" text="ISILUMKISO"/>
+   <l:gentext key="Caution" text="Isilumkiso"/>
+   <l:gentext key="caution" text="Isilumkiso"/>
+   <l:gentext key="Chapter" text="Isiqendu"/>
+   <l:gentext key="chapter" text="isiqendu"/>
+   <l:gentext key="Colophon" text="Ikolophon"/>
+   <l:gentext key="colophon" text="Ikolophon"/>
+   <l:gentext key="Copyright" text="Ushicilelo olusemthethweni"/>
+   <l:gentext key="copyright" text="Ushicilelo olusemthethweni"/>
+   <l:gentext key="Dedication" text="Ulwaziso"/>
+   <l:gentext key="dedication" text="Ulwaziso"/>
+   <l:gentext key="Edition" text="Uhlelo"/>
+   <l:gentext key="edition" text="Uhlelo"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="Ulinganiselo"/>
+   <l:gentext key="equation" text="Ulinganiselo"/>
+   <l:gentext key="Example" text="Umzekelo"/>
+   <l:gentext key="example" text="Umzekelo"/>
+   <l:gentext key="Figure" text="Ulungu"/>
+   <l:gentext key="figure" text="Ulungu"/>
+   <l:gentext key="Glossary" text="Inkcazelo yamagama"/>
+   <l:gentext key="glossary" text="Inkcazelo yamagama"/>
+   <l:gentext key="GlossSee" text="Bona"/>
+   <l:gentext key="glosssee" text="Bona"/>
+   <l:gentext key="GlossSeeAlso" text="Bona Kwakhona"/>
+   <l:gentext key="glossseealso" text="Bona Kwakhona"/>
+   <l:gentext key="IMPORTANT" text="IBALULEKILE"/>
+   <l:gentext key="important" text="Ibalulekile"/>
+   <l:gentext key="Important" text="Ibalulekile"/>
+   <l:gentext key="Index" text="Isalathiso"/>
+   <l:gentext key="index" text="Isalathiso"/>
+   <l:gentext key="ISBN" text="iISBN"/>
+   <l:gentext key="isbn" text="iISBN"/>
+   <l:gentext key="LegalNotice" text="Isaziso Esesimthethweni"/>
+   <l:gentext key="legalnotice" text="Isaziso Esesimthethweni"/>
+   <l:gentext key="MsgAud" text="Ababhali"/>
+   <l:gentext key="msgaud" text="Ababhali"/>
+   <l:gentext key="MsgLevel" text="Umphakamo"/>
+   <l:gentext key="msglevel" text="Umphakamo"/>
+   <l:gentext key="MsgOrig" text="Uqobo"/>
+   <l:gentext key="msgorig" text="Uqobo"/>
+   <l:gentext key="NOTE" text="QAPHELA"/>
+   <l:gentext key="Note" text="Qaphela"/>
+   <l:gentext key="note" text="Qaphela"/>
+   <l:gentext key="Part" text="Inxenye"/>
+   <l:gentext key="part" text="Inxenye"/>
+   <l:gentext key="Preface" text="Isihloko"/>
+   <l:gentext key="preface" text="Isihloko"/>
+   <l:gentext key="Procedure" text="Inkqubo"/>
+   <l:gentext key="procedure" text="Inkqubo"/>
+   <l:gentext key="ProductionSet" text="Imveliso"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="Ipapashwe"/>
+   <l:gentext key="published" text="Ipapashwe"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="U no I"/>
+   <l:gentext key="qandadiv" text="U no I"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="U:"/>
+   <l:gentext key="question" text="U:"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="Uthelekiso"/>
+   <l:gentext key="reference" text="Uthelekiso"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="Igama lothelekiso"/>
+   <l:gentext key="refname" text="Igama lothelekiso"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="Isinopsisi"/>
+   <l:gentext key="refsynopsisdiv" text="Isinopsisi"/>
+   <l:gentext key="RevHistory" text="Imbali yophindo"/>
+   <l:gentext key="revhistory" text="Imbali yophindo"/>
+   <l:gentext key="revision" text="Iphindo"/>
+   <l:gentext key="Revision" text="Iphindo"/>
+   <l:gentext key="sect1" text="Icandelo"/>
+   <l:gentext key="sect2" text="Icandelo"/>
+   <l:gentext key="sect3" text="Icandelo"/>
+   <l:gentext key="sect4" text="Icandelo"/>
+   <l:gentext key="sect5" text="Icandelo"/>
+   <l:gentext key="section" text="Icandelo"/>
+   <l:gentext key="Section" text="Icandelo"/>
+   <l:gentext key="see" text="Bona"/>
+   <l:gentext key="See" text="Bona"/>
+   <l:gentext key="seealso" text="Bona Kwakhona"/>
+   <l:gentext key="Seealso" text="Bona Kwakhona"/>
+   <l:gentext key="SeeAlso" text="Bona Kwakhona"/>
+   <l:gentext key="set" text="Cwangcisa"/>
+   <l:gentext key="Set" text="Cwangcisa"/>
+   <l:gentext key="setindex" text="Cwangcisa Isalathiso"/>
+   <l:gentext key="SetIndex" text="Cwangcisa Isalathiso"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="ibar esecaleni"/>
+   <l:gentext key="step" text="inqwanqwa"/>
+   <l:gentext key="Step" text="Inqwanqwa"/>
+   <l:gentext key="table" text="Indlela Yokwenza Imigca"/>
+   <l:gentext key="Table" text="Indlela Yokwenza Imigca"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="Incam"/>
+   <l:gentext key="TIP" text="INCAM"/>
+   <l:gentext key="Tip" text="Incam"/>
+   <l:gentext key="Warning" text="Isilumkiso"/>
+   <l:gentext key="warning" text="Isilumkiso"/>
+   <l:gentext key="WARNING" text="ISILUMKISO"/>
+   <l:gentext key="and" text="no"/>
+   <l:gentext key="by" text="by"/>
+   <l:gentext key="Edited" text="Ihleliwe"/>
+   <l:gentext key="edited" text="Ihleliwe"/>
+   <l:gentext key="Editedby" text="Ihlelwe"/>
+   <l:gentext key="editedby" text="Ihlelwe"/>
+   <l:gentext key="in" text="in"/>
+   <l:gentext key="lastlistcomma" text=", "/>
+   <l:gentext key="listcomma" text=", "/>
+   <l:gentext key="nonexistantelement" text="isiqalelo esingekhayo"/>
+   <l:gentext key="notes" text="Iziqaphelo"/>
+   <l:gentext key="Notes" text="Iziqaphelo"/>
+   <l:gentext key="Pgs" text="Amaphepha"/>
+   <l:gentext key="pgs" text="Amaphepha"/>
+   <l:gentext key="Revisedby" text="Iphindwe ngu: "/>
+   <l:gentext key="revisedby" text="Iphindwe ngu:"/>
+   <l:gentext key="TableNotes" text="Iziqaphelo"/>
+   <l:gentext key="tablenotes" text="Iziqaphelo"/>
+   <l:gentext key="TableofContents" text="Imigca Yemixholo"/>
+   <l:gentext key="tableofcontents" text="Imigca Yemixholo"/>
+   <l:gentext key="unexpectedelementname" text="Igama lesiqalelo esingalindelwanga"/>
+   <l:gentext key="unsupported" text="ayixhaswanga"/>
+   <l:gentext key="xrefto" text="thelekiso ku"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="Uluhlu Lemilinganiselo"/>
+   <l:gentext key="ListofEquations" text="Uluhlu Lemilinganiselo"/>
+   <l:gentext key="ListofExamples" text="Uluhlu Lemizekelo"/>
+   <l:gentext key="listofexamples" text="Uluhlu Lemizekelo"/>
+   <l:gentext key="ListofFigures" text="Uluhlu Lamalungu"/>
+   <l:gentext key="listoffigures" text="Uluhlu Lamalungu"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="Uluhlu Lendlela Yokwenza Imigca"/>
+   <l:gentext key="ListofTables" text="Uluhlu Lendlela Yokwenza Imigca"/>
+   <l:gentext key="ListofUnknown" text="Uluhlu Lokungaziwayo"/>
+   <l:gentext key="listofunknown" text="Uluhlu Lokungaziwayo"/>
+   <l:gentext key="nav-home" text="Ikhaya"/>
+   <l:gentext key="nav-next" text="Elandelayo"/>
+   <l:gentext key="nav-next-sibling" text="Yisa Phambili"/>
+   <l:gentext key="nav-prev" text="Edlulileyo"/>
+   <l:gentext key="nav-prev-sibling" text="Yisa Emva"/>
+   <l:gentext key="nav-up" text="Phezulu"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="icandelo libizwa ngokuba"/>
+   <l:gentext key="index symbols" text="Iimpawu"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="Isivalo %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="Isiqendu %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="Ulinganiselo %n. %t"/>
+      <l:template name="example" text="Umzekelo %n. %t"/>
+      <l:template name="figure" text="Ulungu %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="Inxenye %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="Inkqubo %n. %t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Imveliso %n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="Indlela Yokwenza Imigca %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="Isivalo %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%n. %t"/>
+      <l:template name="chapter" text="Isiqendu %n. %t"/>
+      <l:template name="part" text="Inxenye&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="I:&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="U:&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="U:&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="section" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="I:&#160;%n"/>
+      <l:template name="appendix" text="Isivalo&#160;%n"/>
+      <l:template name="bridgehead" text="Icandelo&#160;%n"/>
+      <l:template name="chapter" text="Isiqendu&#160;%n"/>
+      <l:template name="equation" text="Ulinganiselo&#160;%n"/>
+      <l:template name="example" text="Umzekelo&#160;%n"/>
+      <l:template name="figure" text="Ulungu&#160;%n"/>
+      <l:template name="part" text="Inxenye&#160;%n"/>
+      <l:template name="procedure" text="Inkqubo&#160;%n"/>
+      <l:template name="productionset" text="Imveliso&#160;%n"/>
+      <l:template name="qandadiv" text="U no I&#160;%n"/>
+      <l:template name="qandaentry" text="U:&#160;%n"/>
+      <l:template name="question" text="U:&#160;%n"/>
+      <l:template name="sect1" text="Icandelo&#160;%n"/>
+      <l:template name="sect2" text="Icandelo&#160;%n"/>
+      <l:template name="sect3" text="Icandelo&#160;%n"/>
+      <l:template name="sect4" text="Icandelo&#160;%n"/>
+      <l:template name="sect5" text="Icandelo&#160;%n"/>
+      <l:template name="section" text="Icandelo&#160;%n"/>
+      <l:template name="table" text="Indlela Yokwenza Imigca&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="Isivalo&#160;%n, %t"/>
+      <l:template name="bridgehead" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="Isiqendu&#160;%n, %t"/>
+      <l:template name="equation" text="Ulinganiselo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="Umzekelo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="Ulungu&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="Inxenye&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="Inkqubo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Imveliso&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="U no I&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="Icandelo&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="icandelo libizwa ngokuba &#8220;%t&#8221;"/>
+      <l:template name="table" text="Indlela Yokwenza Imigca&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=" no "/>
+      <l:template name="sep2" text=" no "/>
+      <l:template name="seplast" text=" no "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="Bona %t"/>
+      <l:template name="seealso" text="Bona Kwakhona %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="Ababhali: "/>
+      <l:template name="MsgLevel" text="Umphakamo: "/>
+      <l:template name="MsgOrig" text="Uqobo: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0434 Xhosa"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/zh_cn.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/zh_cn.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/zh_cn.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,633 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh_cn" english-language-name="Chinese Simplified">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/zh_cn.xml -->
+<!-- * -->
+<!-- * E-mail the edited zh_cn.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#25688;&#35201;"/>
+   <l:gentext key="abstract" text="&#25688;&#35201;"/>
+   <l:gentext key="Answer" text="&#31572;&#65306;"/>
+   <l:gentext key="answer" text="&#31572;&#65306;"/>
+   <l:gentext key="Appendix" text="&#38468;&#24405;"/>
+   <l:gentext key="appendix" text="&#38468;&#24405;"/>
+   <l:gentext key="Article" text="&#25991;&#31456;"/>
+   <l:gentext key="article" text="&#25991;&#31456;"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="&#21442;&#32771;&#20070;&#30446;"/>
+   <l:gentext key="bibliography" text="&#21442;&#32771;&#20070;&#30446;"/>
+   <l:gentext key="Book" text="&#20070;"/>
+   <l:gentext key="book" text="&#20070;"/>
+   <l:gentext key="CAUTION" text="&#23567;&#24515;"/>
+   <l:gentext key="Caution" text="&#23567;&#24515;"/>
+   <l:gentext key="caution" text="&#23567;&#24515;"/>
+   <l:gentext key="Chapter" text="&#31456;"/>
+   <l:gentext key="chapter" text="&#31456;"/>
+   <l:gentext key="Colophon" text="Colophon"/>
+   <l:gentext key="colophon" text="Colophon"/>
+   <l:gentext key="Copyright" text="&#29256;&#26435;"/>
+   <l:gentext key="copyright" text="&#29256;&#26435;"/>
+   <l:gentext key="Dedication" text="&#39064;&#35789;"/>
+   <l:gentext key="dedication" text="&#39064;&#35789;"/>
+   <l:gentext key="Edition" text="&#29256;"/>
+   <l:gentext key="edition" text="&#29256;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#20844;&#24335;"/>
+   <l:gentext key="equation" text="&#20844;&#24335;"/>
+   <l:gentext key="Example" text="&#20363;"/>
+   <l:gentext key="example" text="&#20363;"/>
+   <l:gentext key="Figure" text="&#22270;"/>
+   <l:gentext key="figure" text="&#22270;"/>
+   <l:gentext key="Glossary" text="&#26415;&#35821;&#34920;"/>
+   <l:gentext key="glossary" text="&#26415;&#35821;&#34920;"/>
+   <l:gentext key="GlossSee" text="&#35265;"/>
+   <l:gentext key="glosssee" text="&#35265;"/>
+   <l:gentext key="GlossSeeAlso" text="&#21442;&#35265;"/>
+   <l:gentext key="glossseealso" text="&#21442;&#35265;"/>
+   <l:gentext key="IMPORTANT" text="&#37325;&#35201;"/>
+   <l:gentext key="important" text="&#37325;&#35201;"/>
+   <l:gentext key="Important" text="&#37325;&#35201;"/>
+   <l:gentext key="Index" text="&#32034;&#24341;"/>
+   <l:gentext key="index" text="&#32034;&#24341;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#27861;&#24459;&#36890;&#21578;"/>
+   <l:gentext key="legalnotice" text="&#27861;&#24459;&#36890;&#21578;"/>
+   <l:gentext key="MsgAud" text="&#21463;&#20247;"/>
+   <l:gentext key="msgaud" text="&#21463;&#20247;"/>
+   <l:gentext key="MsgLevel" text="&#32423;&#21035;"/>
+   <l:gentext key="msglevel" text="&#32423;&#21035;"/>
+   <l:gentext key="MsgOrig" text="&#20986;&#22788;"/>
+   <l:gentext key="msgorig" text="&#20986;&#22788;"/>
+   <l:gentext key="NOTE" text="&#27880;&#24847;"/>
+   <l:gentext key="Note" text="&#27880;&#24847;"/>
+   <l:gentext key="note" text="&#27880;&#24847;"/>
+   <l:gentext key="Part" text="&#37096;&#20998;"/>
+   <l:gentext key="part" text="&#37096;&#20998;"/>
+   <l:gentext key="Preface" text="&#21069;&#35328;"/>
+   <l:gentext key="preface" text="&#21069;&#35328;"/>
+   <l:gentext key="Procedure" text="&#36807;&#31243;"/>
+   <l:gentext key="procedure" text="&#36807;&#31243;"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="&#20986;&#29256;&#26085;&#26399;"/>
+   <l:gentext key="pubdate" text="&#20986;&#29256;&#26085;&#26399;"/>
+   <l:gentext key="Published" text="&#20986;&#29256;&#26041;"/>
+   <l:gentext key="published" text="&#20986;&#29256;&#26041;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#36136;&#20445;"/>
+   <l:gentext key="qandadiv" text="&#36136;&#20445;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#38382;&#65306;"/>
+   <l:gentext key="question" text="&#38382;&#65306;"/>
+   <l:gentext key="RefEntry" text=""/>
+   <l:gentext key="refentry" text=""/>
+   <l:gentext key="Reference" text="&#21442;&#32771;"/>
+   <l:gentext key="reference" text="&#21442;&#32771;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#21517;&#31216;"/>
+   <l:gentext key="refname" text="&#21517;&#31216;"/>
+   <l:gentext key="RefSection" text=""/>
+   <l:gentext key="refsection" text=""/>
+   <l:gentext key="RefSynopsisDiv" text="&#22823;&#32434;"/>
+   <l:gentext key="refsynopsisdiv" text="&#22823;&#32434;"/>
+   <l:gentext key="RevHistory" text="&#20462;&#35746;&#21382;&#21490;"/>
+   <l:gentext key="revhistory" text="&#20462;&#35746;&#21382;&#21490;"/>
+   <l:gentext key="revision" text="&#20462;&#35746;"/>
+   <l:gentext key="Revision" text="&#20462;&#35746;"/>
+   <l:gentext key="sect1" text="&#33410;"/>
+   <l:gentext key="sect2" text="&#33410;"/>
+   <l:gentext key="sect3" text="&#33410;"/>
+   <l:gentext key="sect4" text="&#33410;"/>
+   <l:gentext key="sect5" text="&#33410;"/>
+   <l:gentext key="section" text="&#33410;"/>
+   <l:gentext key="Section" text="&#33410;"/>
+   <l:gentext key="see" text="&#35265;"/>
+   <l:gentext key="See" text="&#35265;"/>
+   <l:gentext key="seealso" text="&#21442;&#35265;"/>
+   <l:gentext key="Seealso" text="&#21442;&#35265;"/>
+   <l:gentext key="SeeAlso" text="&#21442;&#35265;"/>
+   <l:gentext key="set" text="Set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Set Index"/>
+   <l:gentext key="SetIndex" text="Set Index"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="&#27493;&#39588;"/>
+   <l:gentext key="Step" text="&#27493;&#39588;"/>
+   <l:gentext key="table" text="&#34920;"/>
+   <l:gentext key="Table" text="&#34920;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#25552;&#31034;"/>
+   <l:gentext key="TIP" text="&#25552;&#31034;"/>
+   <l:gentext key="Tip" text="&#25552;&#31034;"/>
+   <l:gentext key="Warning" text="&#35686;&#21578;"/>
+   <l:gentext key="warning" text="&#35686;&#21578;"/>
+   <l:gentext key="WARNING" text="&#35686;&#21578;"/>
+   <l:gentext key="and" text="&#21644;"/>
+   <l:gentext key="by" text="&#30001;"/>
+   <l:gentext key="Edited" text="&#32534;&#36753;&#26102;&#38388;"/>
+   <l:gentext key="edited" text="&#32534;&#36753;&#26102;&#38388;"/>
+   <l:gentext key="Editedby" text="&#32534;&#36753;&#32773;"/>
+   <l:gentext key="editedby" text="&#32534;&#36753;&#32773;"/>
+   <l:gentext key="in" text="&#20110;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text="&#12289;"/>
+   <l:gentext key="nonexistantelement" text="&#19981;&#23384;&#22312;&#30340;&#20803;&#32032;"/>
+   <l:gentext key="notes" text="&#22791;&#27880;"/>
+   <l:gentext key="Notes" text="&#22791;&#27880;"/>
+   <l:gentext key="Pgs" text="&#39029;"/>
+   <l:gentext key="pgs" text="&#39029;"/>
+   <l:gentext key="Revisedby" text="&#20462;&#35746;&#32773;&#65306;"/>
+   <l:gentext key="revisedby" text="&#20462;&#35746;&#32773;&#65306;"/>
+   <l:gentext key="TableNotes" text="&#34920;&#27880;"/>
+   <l:gentext key="tablenotes" text="&#34920;&#27880;"/>
+   <l:gentext key="TableofContents" text="&#30446;&#24405;"/>
+   <l:gentext key="tableofcontents" text="&#30446;&#24405;"/>
+   <l:gentext key="unexpectedelementname" text="&#26410;&#39044;&#26399;&#30340;&#21517;&#31216;"/>
+   <l:gentext key="unsupported" text="&#19981;&#25903;&#25345;"/>
+   <l:gentext key="xrefto" text="xref to"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#20844;&#24335;&#28165;&#21333;"/>
+   <l:gentext key="ListofEquations" text="&#20844;&#24335;&#28165;&#21333;"/>
+   <l:gentext key="ListofExamples" text="&#33539;&#20363;&#28165;&#21333;"/>
+   <l:gentext key="listofexamples" text="&#33539;&#20363;&#28165;&#21333;"/>
+   <l:gentext key="ListofFigures" text="&#25554;&#22270;&#28165;&#21333;"/>
+   <l:gentext key="listoffigures" text="&#25554;&#22270;&#28165;&#21333;"/>
+   <l:gentext key="ListofProcedures" text="&#36807;&#31243;&#28165;&#21333;"/>
+   <l:gentext key="listofprocedures" text="&#36807;&#31243;&#28165;&#21333;"/>
+   <l:gentext key="listoftables" text="&#34920;&#26684;&#28165;&#21333;"/>
+   <l:gentext key="ListofTables" text="&#34920;&#26684;&#28165;&#21333;"/>
+   <l:gentext key="ListofUnknown" text="&#26410;&#30693;&#28165;&#21333;"/>
+   <l:gentext key="listofunknown" text="&#26410;&#30693;&#28165;&#21333;"/>
+   <l:gentext key="nav-home" text="&#36215;&#22987;&#39029;"/>
+   <l:gentext key="nav-next" text="&#19979;&#19968;&#39029;"/>
+   <l:gentext key="nav-next-sibling" text="&#24555;&#36827;"/>
+   <l:gentext key="nav-prev" text="&#19978;&#19968;&#39029;"/>
+   <l:gentext key="nav-prev-sibling" text="&#24555;&#36864;"/>
+   <l:gentext key="nav-up" text="&#19978;&#19968;&#32423;"/>
+   <l:gentext key="nav-toc" text="&#30446;&#24405;"/>
+   <l:gentext key="Draft" text="&#33609;&#31295;"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="&#19968;&#33410;"/>
+   <l:gentext key="index symbols" text="&#31526;&#21495;"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;"/>
+   <l:dingbat key="singleendquote" text="&#8217;"/>
+   <l:dingbat key="bullet" text="&#183;"/>
+   <l:gentext key="hyphenation-character" text="-"/>
+   <l:gentext key="hyphenation-push-character-count" text="2"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#38468;&#24405;&#160;%n.&#160;%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#31532;&#160;%n&#160;&#31456;&#160;%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#20844;&#24335;&#160;%n.&#160;%t"/>
+      <l:template name="example" text="&#20363;&#160;%n.&#160;%t"/>
+      <l:template name="figure" text="&#22270;&#160;%n.&#160;%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t"/>
+      <l:template name="glossentry" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#31532;&#160;%n&#160;&#37096;&#20998;&#160;%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#36807;&#31243;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#34920;&#160;%n.&#160;%t"/>
+      <l:template name="task" text="%t"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text=""/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#38468;&#24405;&#160;%n.&#160;%t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t"/>
+      <l:template name="bridgehead" text="%n.&#160;%t"/>
+      <l:template name="chapter" text="&#31532;&#160;%n&#160;&#31456;&#160;%t"/>
+      <l:template name="part" text="&#37096;&#20998;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n.&#160;%t"/>
+      <l:template name="sect2" text="%n.&#160;%t"/>
+      <l:template name="sect3" text="%n.&#160;%t"/>
+      <l:template name="sect4" text="%n.&#160;%t"/>
+      <l:template name="sect5" text="%n.&#160;%t"/>
+      <l:template name="section" text="%n.&#160;%t"/>
+      <l:template name="simplesect" text="%t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#31572;&#65306;&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#38382;&#65306;&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#38382;&#65306;&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(&#31532; %p &#39029;)"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(&#31532; %p &#39029;)"/>
+      <l:template name="Page" text="&#31532; %p &#39029;"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="section" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#31572;&#65306;&#160;%n"/>
+      <l:template name="appendix" text="&#38468;&#24405;&#160;%n"/>
+      <l:template name="bridgehead" text="&#31532;&#160;%n&#160;&#33410;"/>
+      <l:template name="chapter" text="&#31532;&#160;%n&#160;&#31456;"/>
+      <l:template name="equation" text="&#20844;&#24335;&#160;%n"/>
+      <l:template name="example" text="&#20363;&#160;%n"/>
+      <l:template name="figure" text="&#22270;&#160;%n"/>
+      <l:template name="part" text="&#31532;&#160;%n&#160;&#37096;&#20998;"/>
+      <l:template name="procedure" text="&#36807;&#31243;&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="&#36136;&#20445;&#160;%n"/>
+      <l:template name="qandaentry" text="&#38382;&#65306;&#160;%n"/>
+      <l:template name="question" text="&#38382;&#65306;&#160;%n"/>
+      <l:template name="sect1" text="&#31532;&#160;%n&#160;&#33410;"/>
+      <l:template name="sect2" text="&#31532;&#160;%n&#160;&#33410;"/>
+      <l:template name="sect3" text="&#31532;&#160;%n&#160;&#33410;"/>
+      <l:template name="sect4" text="&#31532;&#160;%n&#160;&#33410;"/>
+      <l:template name="sect5" text="&#31532;&#160;%n&#160;&#33410;"/>
+      <l:template name="section" text="&#31532;&#160;%n&#160;&#33410;"/>
+      <l:template name="table" text="&#34920;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#38468;&#24405;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#31532;&#160;%n&#160;&#33410; &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#31532;&#160;%n&#160;&#31456; %t"/>
+      <l:template name="equation" text="&#20844;&#24335;&#160;%n &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#20363;&#160;%n &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#22270;&#160;%n &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#31532;&#160;%n&#160;&#37096;&#20998; &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#36807;&#31243;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="&#36136;&#20445;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="sect1" text="&#31532;&#160;%n&#160;&#33410; &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#31532;&#160;%n&#160;&#33410; &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#31532;&#160;%n&#160;&#33410; &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#31532;&#160;%n&#160;&#33410; &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#31532;&#160;%n&#160;&#33410; &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#31532;&#160;%n&#160;&#33410; &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;&#19968;&#33410;"/>
+      <l:template name="table" text="&#34920;&#160;%n &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text="&#12289;"/>
+      <l:template name="sep2" text="&#21644;"/>
+      <l:template name="seplast" text="&#21644;"/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#35265;%t"/>
+      <l:template name="seealso" text="&#21442;&#35265;%t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#21463;&#20247;&#65306;"/>
+      <l:template name="MsgLevel" text="&#32423;&#21035;&#65306;"/>
+      <l:template name="MsgOrig" text="&#20986;&#22788;&#65306;"/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="Y-m-d"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="&#19968;&#26376;"/>
+      <l:template name="February" text="&#20108;&#26376;"/>
+      <l:template name="March" text="&#19977;&#26376;"/>
+      <l:template name="April" text="&#22235;&#26376;"/>
+      <l:template name="May" text="&#20116;&#26376;"/>
+      <l:template name="June" text="&#20845;&#26376;"/>
+      <l:template name="July" text="&#19971;&#26376;"/>
+      <l:template name="August" text="&#20843;&#26376;"/>
+      <l:template name="September" text="&#20061;&#26376;"/>
+      <l:template name="October" text="&#21313;&#26376;"/>
+      <l:template name="November" text="&#21313;&#19968;&#26376;"/>
+      <l:template name="December" text="&#21313;&#20108;&#26376;"/>
+      <l:template name="Monday" text="&#26143;&#26399;&#19968;"/>
+      <l:template name="Tuesday" text="&#26143;&#26399;&#20108;"/>
+      <l:template name="Wednesday" text="&#26143;&#26399;&#19977;"/>
+      <l:template name="Thursday" text="&#26143;&#26399;&#22235;"/>
+      <l:template name="Friday" text="&#26143;&#26399;&#20116;"/>
+      <l:template name="Saturday" text="&#26143;&#26399;&#20845;"/>
+      <l:template name="Sunday" text="&#26143;&#26399;&#26085;"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="&#19968;&#26376;"/>
+      <l:template name="Feb" text="&#20108;&#26376;"/>
+      <l:template name="Mar" text="&#19977;&#26376;"/>
+      <l:template name="Apr" text="&#22235;&#26376;"/>
+      <l:template name="May" text="&#20116;&#26376;"/>
+      <l:template name="Jun" text="&#20845;&#26376;"/>
+      <l:template name="Jul" text="&#19971;&#26376;"/>
+      <l:template name="Aug" text="&#20843;&#26376;"/>
+      <l:template name="Sep" text="&#20061;&#26376;"/>
+      <l:template name="Oct" text="&#21313;&#26376;"/>
+      <l:template name="Nov" text="&#21313;&#19968;&#26376;"/>
+      <l:template name="Dec" text="&#21313;&#20108;&#26376;"/>
+      <l:template name="Mon" text="&#21608;&#19968;"/>
+      <l:template name="Tue" text="&#21608;&#20108;"/>
+      <l:template name="Wed" text="&#21608;&#19977;"/>
+      <l:template name="Thu" text="&#21608;&#22235;"/>
+      <l:template name="Fri" text="&#21608;&#20116;"/>
+      <l:template name="Sat" text="&#21608;&#20845;"/>
+      <l:template name="Sun" text="&#21608;&#26085;"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0804 Chinese (CHINA)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters>
+      <l:l i="-1"/>
+      <l:l i="0">&#20854;&#23427;</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/common/zh_tw.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/common/zh_tw.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/common/zh_tw.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1202 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh_tw" english-language-name="Chinese (Taiwan)">
+
+<!-- * This file is generated automatically. -->
+<!-- * To submit changes to this file upstream (to the DocBook Project) -->
+<!-- * do not submit an edited version of this file. Instead, submit an -->
+<!-- * edited version of the source file at the following location: -->
+<!-- * -->
+<!-- *  https://svn.sourceforge.net/svnroot/docbook/trunk/gentext/locale/zh_tw.xml -->
+<!-- * -->
+<!-- * E-mail the edited zh_tw.xml source file to: -->
+<!-- * -->
+<!-- *  docbook-developers at lists.sourceforge.net -->
+
+<!-- ******************************************************************** -->
+
+<!-- This file is part of the XSL DocBook Stylesheet distribution. -->
+<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for -->
+<!-- copyright and other information. -->
+
+<!-- ******************************************************************** -->
+
+   <l:gentext key="Abstract" text="&#25688;&#35201;"/>
+   <l:gentext key="abstract" text="&#25688;&#35201;"/>
+   <l:gentext key="Answer" text="&#31572;&#65306;"/>
+   <l:gentext key="answer" text="&#31572;&#65306;"/>
+   <l:gentext key="Appendix" text="&#38468;&#37636;"/>
+   <l:gentext key="appendix" text="&#38468;&#37636;"/>
+   <l:gentext key="Article" text="&#25991;&#31456;"/>
+   <l:gentext key="article" text="&#25991;&#31456;"/>
+   <l:gentext key="Author" text="Author" lang="en"/>
+   <l:gentext key="Bibliography" text="&#21443;&#32771;&#25991;&#29563;"/>
+   <l:gentext key="bibliography" text="&#21443;&#32771;&#25991;&#29563;"/>
+   <l:gentext key="Book" text="&#26360;&#30446;"/>
+   <l:gentext key="book" text="&#26360;&#30446;"/>
+   <l:gentext key="CAUTION" text="&#27880;&#24847;"/>
+   <l:gentext key="Caution" text="&#27880;&#24847;"/>
+   <l:gentext key="caution" text="&#27880;&#24847;"/>
+   <l:gentext key="Chapter" text="&#31456;"/>
+   <l:gentext key="chapter" text="&#31456;"/>
+   <l:gentext key="Colophon" text="&#29256;&#26412;&#35352;&#37636;"/>
+   <l:gentext key="colophon" text="&#29256;&#26412;&#35352;&#37636;"/>
+   <l:gentext key="Copyright" text="&#29256;&#27402;"/>
+   <l:gentext key="copyright" text="&#29256;&#27402;"/>
+   <l:gentext key="Dedication" text="&#22857;&#29563;"/>
+   <l:gentext key="dedication" text="&#22857;&#29563;"/>
+   <l:gentext key="Edition" text="&#29256;"/>
+   <l:gentext key="edition" text="&#29256;"/>
+   <l:gentext key="Editor" text="Editor" lang="en"/>
+   <l:gentext key="Equation" text="&#26041;&#31243;&#24335;"/>
+   <l:gentext key="equation" text="&#26041;&#31243;&#24335;"/>
+   <l:gentext key="Example" text="&#31684;&#20363;"/>
+   <l:gentext key="example" text="&#31684;&#20363;"/>
+   <l:gentext key="Figure" text="&#22294;&#24418;"/>
+   <l:gentext key="figure" text="&#22294;&#24418;"/>
+   <l:gentext key="Glossary" text="&#23567;&#36781;&#24409;"/>
+   <l:gentext key="glossary" text="&#23567;&#36781;&#24409;"/>
+   <l:gentext key="GlossSee" text="&#21443;&#35211;"/>
+   <l:gentext key="glosssee" text="&#21443;&#35211;"/>
+   <l:gentext key="GlossSeeAlso" text="&#21478;&#21443;&#35211;"/>
+   <l:gentext key="glossseealso" text="&#21478;&#21443;&#35211;"/>
+   <l:gentext key="IMPORTANT" text="&#37325;&#35201;"/>
+   <l:gentext key="important" text="&#37325;&#35201;"/>
+   <l:gentext key="Important" text="&#37325;&#35201;"/>
+   <l:gentext key="Index" text="&#32034;&#24341;"/>
+   <l:gentext key="index" text="&#32034;&#24341;"/>
+   <l:gentext key="ISBN" text="ISBN"/>
+   <l:gentext key="isbn" text="ISBN"/>
+   <l:gentext key="LegalNotice" text="&#27861;&#24459;&#32882;&#26126;"/>
+   <l:gentext key="legalnotice" text="&#27861;&#24459;&#32882;&#26126;"/>
+   <l:gentext key="MsgAud" text="&#35712;&#32773;"/>
+   <l:gentext key="msgaud" text="&#35712;&#32773;"/>
+   <l:gentext key="MsgLevel" text="&#31243;&#24230;"/>
+   <l:gentext key="msglevel" text="&#31243;&#24230;"/>
+   <l:gentext key="MsgOrig" text="&#20986;&#34389;"/>
+   <l:gentext key="msgorig" text="&#20986;&#34389;"/>
+   <l:gentext key="NOTE" text="&#27880;"/>
+   <l:gentext key="Note" text="&#27880;"/>
+   <l:gentext key="note" text="&#27880;"/>
+   <l:gentext key="Part" text="&#37096;"/>
+   <l:gentext key="part" text="&#37096;"/>
+   <l:gentext key="Preface" text="&#24207;&#35328;"/>
+   <l:gentext key="preface" text="&#24207;&#35328;"/>
+   <l:gentext key="Procedure" text="&#36942;&#31243;"/>
+   <l:gentext key="procedure" text="&#36942;&#31243;"/>
+   <l:gentext key="ProductionSet" text="Production"/>
+   <l:gentext key="PubDate" text="Publication Date" lang="en"/>
+   <l:gentext key="pubdate" text="Publication date" lang="en"/>
+   <l:gentext key="Published" text="&#20986;&#29256;"/>
+   <l:gentext key="published" text="&#20986;&#29256;"/>
+   <l:gentext key="Publisher" text="Publisher" lang="en"/>
+   <l:gentext key="Qandadiv" text="&#21839;&#65306;&#19988;&#31572;&#65306;"/>
+   <l:gentext key="qandadiv" text="&#21839;&#65306;&#19988;&#31572;&#65306;"/>
+   <l:gentext key="QandASet" text="Frequently Asked Questions" lang="en"/>
+   <l:gentext key="Question" text="&#21839;&#65306;"/>
+   <l:gentext key="question" text="&#21839;&#65306;"/>
+   <l:gentext key="RefEntry" text="&#21443;&#29031;&#38917;&#30446;"/>
+   <l:gentext key="refentry" text="&#21443;&#29031;&#38917;&#30446;"/>
+   <l:gentext key="Reference" text="&#21443;&#32771;"/>
+   <l:gentext key="reference" text="&#21443;&#32771;"/>
+   <l:gentext key="References" text="References" lang="en"/>
+   <l:gentext key="RefName" text="&#21443;&#32771;&#21517;"/>
+   <l:gentext key="refname" text="&#21443;&#32771;&#21517;"/>
+   <l:gentext key="RefSection" text="&#21443;&#29031;&#31456;&#31680;"/>
+   <l:gentext key="refsection" text="&#21443;&#29031;&#31456;&#31680;"/>
+   <l:gentext key="RefSynopsisDiv" text="&#22823;&#32177;"/>
+   <l:gentext key="refsynopsisdiv" text="&#22823;&#32177;"/>
+   <l:gentext key="RevHistory" text="&#20462;&#35330;&#35352;&#37636;"/>
+   <l:gentext key="revhistory" text="&#20462;&#35330;&#35352;&#37636;"/>
+   <l:gentext key="revision" text="&#20462;&#35330;"/>
+   <l:gentext key="Revision" text="&#20462;&#35330;"/>
+   <l:gentext key="sect1" text="Section"/>
+   <l:gentext key="sect2" text="Section"/>
+   <l:gentext key="sect3" text="Section"/>
+   <l:gentext key="sect4" text="Section"/>
+   <l:gentext key="sect5" text="Section"/>
+   <l:gentext key="section" text="&#31680;"/>
+   <l:gentext key="Section" text="&#31680;"/>
+   <l:gentext key="see" text="&#35211;"/>
+   <l:gentext key="See" text="&#35211;"/>
+   <l:gentext key="seealso" text="&#21478;&#35211;"/>
+   <l:gentext key="Seealso" text="&#21478;&#35211;"/>
+   <l:gentext key="SeeAlso" text="&#21478;&#35211;"/>
+   <l:gentext key="set" text="Set"/>
+   <l:gentext key="Set" text="Set"/>
+   <l:gentext key="setindex" text="Set Index"/>
+   <l:gentext key="SetIndex" text="Set Index"/>
+   <l:gentext key="Sidebar" text=""/>
+   <l:gentext key="sidebar" text="sidebar"/>
+   <l:gentext key="step" text="&#27493;&#39519;"/>
+   <l:gentext key="Step" text="&#27493;&#39519;"/>
+   <l:gentext key="table" text="&#34920;&#26684;"/>
+   <l:gentext key="Table" text="&#34920;&#26684;"/>
+   <l:gentext key="task" text="Task" lang="en"/>
+   <l:gentext key="Task" text="Task" lang="en"/>
+   <l:gentext key="tip" text="&#25552;&#31034;"/>
+   <l:gentext key="TIP" text="&#25552;&#31034;"/>
+   <l:gentext key="Tip" text="&#25552;&#31034;"/>
+   <l:gentext key="Warning" text="&#35686;&#21578;"/>
+   <l:gentext key="warning" text="&#35686;&#21578;"/>
+   <l:gentext key="WARNING" text="&#35686;&#21578;"/>
+   <l:gentext key="and" text="&#19988;"/>
+   <l:gentext key="by" text="&#30001;"/>
+   <l:gentext key="Edited" text="&#32232;&#36655;"/>
+   <l:gentext key="edited" text="&#32232;&#36655;"/>
+   <l:gentext key="Editedby" text="&#32232;&#36655;"/>
+   <l:gentext key="editedby" text="&#32232;&#36655;"/>
+   <l:gentext key="in" text="&#22312;"/>
+   <l:gentext key="lastlistcomma" text=","/>
+   <l:gentext key="listcomma" text=","/>
+   <l:gentext key="nonexistantelement" text="&#19981;&#23384;&#22312;&#30340;&#20803;&#32032;"/>
+   <l:gentext key="notes" text="&#27880;"/>
+   <l:gentext key="Notes" text="&#27880;"/>
+   <l:gentext key="Pgs" text="&#38913;"/>
+   <l:gentext key="pgs" text="&#38913;"/>
+   <l:gentext key="Revisedby" text="&#20462;&#35330;"/>
+   <l:gentext key="revisedby" text="&#20462;&#35330;"/>
+   <l:gentext key="TableNotes" text="&#27880;&#37323;"/>
+   <l:gentext key="tablenotes" text="&#27880;&#37323;"/>
+   <l:gentext key="TableofContents" text="&#20839;&#23481;&#30446;&#37636;"/>
+   <l:gentext key="tableofcontents" text="&#20839;&#23481;&#30446;&#37636;"/>
+   <l:gentext key="unexpectedelementname" text="&#38750;&#38928;&#26399;&#30340;&#20803;&#32032;&#21517;"/>
+   <l:gentext key="unsupported" text="&#26410;&#25903;&#25588;"/>
+   <l:gentext key="xrefto" text="&#21443;&#29031;"/>
+   <l:gentext key="Authors" text="Authors" lang="en"/>
+   <l:gentext key="copyeditor" text="Copy Editor" lang="en"/>
+   <l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/>
+   <l:gentext key="productioneditor" text="Production Editor" lang="en"/>
+   <l:gentext key="technicaleditor" text="Technical Editor" lang="en"/>
+   <l:gentext key="translator" text="Translator" lang="en"/>
+   <l:gentext key="listofequations" text="&#20844;&#24335;&#30446;&#37636;"/>
+   <l:gentext key="ListofEquations" text="&#20844;&#24335;&#30446;&#37636;"/>
+   <l:gentext key="ListofExamples" text="&#31684;&#20363;&#30446;&#37636;"/>
+   <l:gentext key="listofexamples" text="&#31684;&#20363;&#30446;&#37636;"/>
+   <l:gentext key="ListofFigures" text="&#38468;&#22294;&#30446;&#37636;"/>
+   <l:gentext key="listoffigures" text="&#38468;&#22294;&#30446;&#37636;"/>
+   <l:gentext key="ListofProcedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listofprocedures" text="List of Procedures" lang="en"/>
+   <l:gentext key="listoftables" text="&#38468;&#34920;&#30446;&#37636;"/>
+   <l:gentext key="ListofTables" text="&#38468;&#34920;&#30446;&#37636;"/>
+   <l:gentext key="ListofUnknown" text="&#20854;&#23427;&#20839;&#23481;&#30446;&#37636;"/>
+   <l:gentext key="listofunknown" text="&#20854;&#23427;&#20839;&#23481;&#30446;&#37636;"/>
+   <l:gentext key="nav-home" text="&#20839;&#23481;"/>
+   <l:gentext key="nav-next" text="&#19979;&#19968;&#38913;"/>
+   <l:gentext key="nav-next-sibling" text="&#24555;&#36895;&#21521;&#24460;"/>
+   <l:gentext key="nav-prev" text="&#21069;&#19968;&#38913;"/>
+   <l:gentext key="nav-prev-sibling" text="&#24555;&#36895;&#21521;&#21069;"/>
+   <l:gentext key="nav-up" text="&#19978;&#19968;&#23652;"/>
+   <l:gentext key="nav-toc" text="ToC" lang="en"/>
+   <l:gentext key="Draft" text="Draft"/>
+   <l:gentext key="above" text="above"/>
+   <l:gentext key="below" text="below"/>
+   <l:gentext key="sectioncalled" text="the section called"/>
+   <l:gentext key="index symbols" text="Symbols"/>
+   <l:gentext key="lowercase.alpha" text="abcdefghijklmnopqrstuvwxyz" lang="en"/>
+   <l:gentext key="uppercase.alpha" text="ABCDEFGHIJKLMNOPQRSTUVWXYZ" lang="en"/>
+   <l:dingbat key="startquote" text="&#8220;"/>
+   <l:dingbat key="endquote" text="&#8221;"/>
+   <l:dingbat key="nestedstartquote" text="&#8216;"/>
+   <l:dingbat key="nestedendquote" text="&#8217;"/>
+   <l:dingbat key="singlestartquote" text="&#8216;" lang="en"/>
+   <l:dingbat key="singleendquote" text="&#8217;" lang="en"/>
+   <l:dingbat key="bullet" text="&#8226;"/>
+   <l:gentext key="hyphenation-character" text="-" lang="en"/>
+   <l:gentext key="hyphenation-push-character-count" text="2" lang="en"/>
+   <l:gentext key="hyphenation-remain-character-count" text="2" lang="en"/>
+
+   <l:context name="styles">
+      <l:template name="person-name" text="first-last"/>
+   </l:context>
+
+   <l:context name="title">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="%t"/>
+      <l:template name="appendix" text="&#38468;&#37636; %n. %t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="biblioentry" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliolist" text="%t" lang="en"/>
+      <l:template name="bibliomixed" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="&#31456; %n. %t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="&#26041;&#31243;&#24335; %n. %t"/>
+      <l:template name="example" text="&#31684;&#20363; %n. %t"/>
+      <l:template name="figure" text="&#22294;&#24418; %n. %t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="glosslist" text="%t" lang="en"/>
+      <l:template name="glossentry" text="%t" lang="en"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text=""/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="&#37096; %n. %t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="procedure.formal" text="&#36942;&#31243;&#160;%n.&#160;%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="productionset.formal" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="%t"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="%t"/>
+      <l:template name="refentry" text="%t"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsection" text="%t" lang="en"/>
+      <l:template name="refsect1" text="%t"/>
+      <l:template name="refsect2" text="%t"/>
+      <l:template name="refsect3" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="refsynopsisdivinfo" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="step" text="%t"/>
+      <l:template name="table" text="&#34920;&#26684; %n. %t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tasksummary" text="%t" lang="en"/>
+      <l:template name="taskprerequisites" text="%t" lang="en"/>
+      <l:template name="taskrelated" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="" lang="en"/>
+      <l:template name="warning" text="%t"/>
+   </l:context>
+
+   <l:context name="title-unnumbered">
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article/appendix" text="%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="sect1" text="%t"/>
+      <l:template name="sect2" text="%t"/>
+      <l:template name="sect3" text="%t"/>
+      <l:template name="sect4" text="%t"/>
+      <l:template name="sect5" text="%t"/>
+      <l:template name="section" text="%t"/>
+      <l:template name="simplesect" text="%t"/>
+      <l:template name="part" text="%t" lang="en"/>
+   </l:context>
+
+   <l:context name="title-numbered">
+      <l:template name="appendix" text="&#38468;&#37636; %n. %t"/>
+      <l:template name="article/appendix" text="%n.&#160;%t" lang="en"/>
+      <l:template name="bridgehead" text="%t"/>
+      <l:template name="chapter" text="&#31456; %n. %t"/>
+      <l:template name="part" text="&#37096;&#160;%n.&#160;%t"/>
+      <l:template name="sect1" text="%n. %t"/>
+      <l:template name="sect2" text="%n. %t"/>
+      <l:template name="sect3" text="%n. %t"/>
+      <l:template name="sect4" text="%n. %t"/>
+      <l:template name="sect5" text="%n. %t"/>
+      <l:template name="section" text="%n. %t"/>
+      <l:template name="simplesect" text="%n. %t"/>
+   </l:context>
+
+   <l:context name="subtitle">
+      <l:template name="appendix" text="%s"/>
+      <l:template name="article" text="%s"/>
+      <l:template name="bibliodiv" text="%s"/>
+      <l:template name="biblioentry" text="%s"/>
+      <l:template name="bibliography" text="%s"/>
+      <l:template name="bibliomixed" text="%s"/>
+      <l:template name="bibliomset" text="%s"/>
+      <l:template name="biblioset" text="%s"/>
+      <l:template name="book" text="%s"/>
+      <l:template name="chapter" text="%s"/>
+      <l:template name="colophon" text="%s"/>
+      <l:template name="dedication" text="%s"/>
+      <l:template name="glossary" text="%s"/>
+      <l:template name="glossdiv" text="%s"/>
+      <l:template name="index" text="%s"/>
+      <l:template name="indexdiv" text="%s"/>
+      <l:template name="lot" text="%s"/>
+      <l:template name="part" text="%s"/>
+      <l:template name="partintro" text="%s"/>
+      <l:template name="preface" text="%s"/>
+      <l:template name="refentry" text="%s"/>
+      <l:template name="reference" text="%s"/>
+      <l:template name="refsection" text="%s" lang="en"/>
+      <l:template name="refsect1" text="%s"/>
+      <l:template name="refsect2" text="%s"/>
+      <l:template name="refsect3" text="%s"/>
+      <l:template name="refsynopsisdiv" text="%s"/>
+      <l:template name="sect1" text="%s"/>
+      <l:template name="sect2" text="%s"/>
+      <l:template name="sect3" text="%s"/>
+      <l:template name="sect4" text="%s"/>
+      <l:template name="sect5" text="%s"/>
+      <l:template name="section" text="%s"/>
+      <l:template name="set" text="%s"/>
+      <l:template name="setindex" text="%s"/>
+      <l:template name="sidebar" text="%s"/>
+      <l:template name="simplesect" text="%s"/>
+      <l:template name="toc" text="%s"/>
+   </l:context>
+
+   <l:context name="xref">
+      <l:template name="abstract" text="%t"/>
+      <l:template name="answer" text="&#31572;&#65306;&#160;%n"/>
+      <l:template name="appendix" text="%t"/>
+      <l:template name="article" text="%t"/>
+      <l:template name="authorblurb" text="%t"/>
+      <l:template name="bibliodiv" text="%t"/>
+      <l:template name="bibliography" text="%t"/>
+      <l:template name="bibliomset" text="%t"/>
+      <l:template name="biblioset" text="%t"/>
+      <l:template name="blockquote" text="%t"/>
+      <l:template name="book" text="%t"/>
+      <l:template name="calloutlist" text="%t"/>
+      <l:template name="caution" text="%t"/>
+      <l:template name="chapter" text="%t"/>
+      <l:template name="colophon" text="%t"/>
+      <l:template name="constraintdef" text="%t"/>
+      <l:template name="dedication" text="%t"/>
+      <l:template name="equation" text="%t"/>
+      <l:template name="example" text="%t"/>
+      <l:template name="figure" text="%t"/>
+      <l:template name="foil" text="%t" lang="en"/>
+      <l:template name="foilgroup" text="%t" lang="en"/>
+      <l:template name="formalpara" text="%t"/>
+      <l:template name="glossary" text="%t"/>
+      <l:template name="glossdiv" text="%t"/>
+      <l:template name="important" text="%t"/>
+      <l:template name="index" text="%t"/>
+      <l:template name="indexdiv" text="%t"/>
+      <l:template name="itemizedlist" text="%t"/>
+      <l:template name="legalnotice" text="%t"/>
+      <l:template name="listitem" text="%n"/>
+      <l:template name="lot" text="%t"/>
+      <l:template name="msg" text="%t"/>
+      <l:template name="msgexplan" text="%t"/>
+      <l:template name="msgmain" text="%t"/>
+      <l:template name="msgrel" text="%t"/>
+      <l:template name="msgset" text="%t"/>
+      <l:template name="msgsub" text="%t"/>
+      <l:template name="note" text="%t"/>
+      <l:template name="orderedlist" text="%t"/>
+      <l:template name="part" text="%t"/>
+      <l:template name="partintro" text="%t"/>
+      <l:template name="preface" text="%t"/>
+      <l:template name="procedure" text="%t"/>
+      <l:template name="productionset" text="%t"/>
+      <l:template name="qandadiv" text="%t"/>
+      <l:template name="qandaentry" text="&#21839;&#65306;&#160;%n"/>
+      <l:template name="qandaset" text="%t"/>
+      <l:template name="question" text="&#21839;&#65306;&#160;%n"/>
+      <l:template name="reference" text="%t"/>
+      <l:template name="refsynopsisdiv" text="%t"/>
+      <l:template name="segmentedlist" text="%t"/>
+      <l:template name="set" text="%t"/>
+      <l:template name="setindex" text="%t"/>
+      <l:template name="sidebar" text="%t"/>
+      <l:template name="table" text="%t"/>
+      <l:template name="task" text="%t" lang="en"/>
+      <l:template name="tip" text="%t"/>
+      <l:template name="toc" text="%t"/>
+      <l:template name="variablelist" text="%t"/>
+      <l:template name="varlistentry" text="%n"/>
+      <l:template name="warning" text="%t"/>
+      <l:template name="olink.document.citation" text=" in %o" lang="en"/>
+      <l:template name="olink.page.citation" text=" (page %p)" lang="en"/>
+      <l:template name="page.citation" text=" [%p]"/>
+      <l:template name="page" text="(page %p)" lang="en"/>
+      <l:template name="docname" text=" in %o" lang="en"/>
+      <l:template name="docnamelong" text=" in the document titled %o" lang="en"/>
+      <l:template name="pageabbrev" text="(p. %p)" lang="en"/>
+      <l:template name="Page" text="Page %p" lang="en"/>
+      <l:template name="bridgehead" text="&#8220;%t&#8221;"/>
+      <l:template name="refsection" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="&#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#8220;%t&#8221;"/>
+      <l:template name="section" text="&#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="&#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="xref-number">
+      <l:template name="answer" text="&#31572;&#65306;&#160;%n"/>
+      <l:template name="appendix" text="&#38468;&#37636;&#160;%n"/>
+      <l:template name="bridgehead" text="&#31680;&#160;%n"/>
+      <l:template name="chapter" text="&#31456;&#160;%n"/>
+      <l:template name="equation" text="&#26041;&#31243;&#24335;&#160;%n"/>
+      <l:template name="example" text="&#31684;&#20363;&#160;%n"/>
+      <l:template name="figure" text="&#22294;&#24418;&#160;%n"/>
+      <l:template name="part" text="&#37096;&#160;%n"/>
+      <l:template name="procedure" text="&#36942;&#31243;&#160;%n"/>
+      <l:template name="productionset" text="Production&#160;%n"/>
+      <l:template name="qandadiv" text="&#21839;&#65306;&#19988;&#31572;&#65306;&#160;%n"/>
+      <l:template name="qandaentry" text="&#21839;&#65306;&#160;%n"/>
+      <l:template name="question" text="&#21839;&#65306;&#160;%n"/>
+      <l:template name="sect1" text="&#31680;&#160;%n"/>
+      <l:template name="sect2" text="&#31680;&#160;%n"/>
+      <l:template name="sect3" text="&#31680;&#160;%n"/>
+      <l:template name="sect4" text="&#31680;&#160;%n"/>
+      <l:template name="sect5" text="&#31680;&#160;%n"/>
+      <l:template name="section" text="&#31680;&#160;%n"/>
+      <l:template name="table" text="&#34920;&#26684;&#160;%n"/>
+   </l:context>
+
+   <l:context name="xref-number-and-title">
+      <l:template name="appendix" text="&#38468;&#37636;&#160;%n, %t"/>
+      <l:template name="bridgehead" text="&#31680;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="chapter" text="&#31456;&#160;%n, %t"/>
+      <l:template name="equation" text="&#26041;&#31243;&#24335;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="example" text="&#31684;&#20363;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="figure" text="&#22294;&#24418;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="part" text="&#37096;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="procedure" text="&#36942;&#31243;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="productionset" text="Production&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="qandadiv" text="&#21839;&#65306;&#19988;&#31572;&#65306;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="refsect1" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect2" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsect3" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="refsection" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="sect1" text="&#31680;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect2" text="&#31680;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect3" text="&#31680;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect4" text="&#31680;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="sect5" text="&#31680;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="section" text="&#31680;&#160;%n, &#8220;%t&#8221;"/>
+      <l:template name="simplesect" text="the section called &#8220;%t&#8221;"/>
+      <l:template name="table" text="&#34920;&#26684;&#160;%n, &#8220;%t&#8221;"/>
+   </l:context>
+
+   <l:context name="authorgroup">
+      <l:template name="sep" text=", "/>
+      <l:template name="sep2" text=" &#19988; "/>
+      <l:template name="seplast" text=", &#19988; "/>
+   </l:context>
+
+   <l:context name="glossary">
+      <l:template name="see" text="&#21443;&#35211; %t"/>
+      <l:template name="seealso" text="&#21478;&#21443;&#35211; %t"/>
+   </l:context>
+
+   <l:context name="msgset">
+      <l:template name="MsgAud" text="&#35712;&#32773;: "/>
+      <l:template name="MsgLevel" text="&#31243;&#24230;: "/>
+      <l:template name="MsgOrig" text="&#20986;&#34389;: "/>
+   </l:context>
+
+   <l:context name="datetime">
+      <l:template name="format" text="m/d/Y" lang="en"/>
+   </l:context>
+
+   <l:context name="termdef">
+      <l:template name="prefix" text="[Definition: " lang="en"/>
+      <l:template name="suffix" text="]" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-full">
+      <l:template name="January" text="January" lang="en"/>
+      <l:template name="February" text="February" lang="en"/>
+      <l:template name="March" text="March" lang="en"/>
+      <l:template name="April" text="April" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="June" text="June" lang="en"/>
+      <l:template name="July" text="July" lang="en"/>
+      <l:template name="August" text="August" lang="en"/>
+      <l:template name="September" text="September" lang="en"/>
+      <l:template name="October" text="October" lang="en"/>
+      <l:template name="November" text="November" lang="en"/>
+      <l:template name="December" text="December" lang="en"/>
+      <l:template name="Monday" text="Monday" lang="en"/>
+      <l:template name="Tuesday" text="Tuesday" lang="en"/>
+      <l:template name="Wednesday" text="Wednesday" lang="en"/>
+      <l:template name="Thursday" text="Thursday" lang="en"/>
+      <l:template name="Friday" text="Friday" lang="en"/>
+      <l:template name="Saturday" text="Saturday" lang="en"/>
+      <l:template name="Sunday" text="Sunday" lang="en"/>
+   </l:context>
+
+   <l:context name="datetime-abbrev">
+      <l:template name="Jan" text="Jan" lang="en"/>
+      <l:template name="Feb" text="Feb" lang="en"/>
+      <l:template name="Mar" text="Mar" lang="en"/>
+      <l:template name="Apr" text="Apr" lang="en"/>
+      <l:template name="May" text="May" lang="en"/>
+      <l:template name="Jun" text="Jun" lang="en"/>
+      <l:template name="Jul" text="Jul" lang="en"/>
+      <l:template name="Aug" text="Aug" lang="en"/>
+      <l:template name="Sep" text="Sep" lang="en"/>
+      <l:template name="Oct" text="Oct" lang="en"/>
+      <l:template name="Nov" text="Nov" lang="en"/>
+      <l:template name="Dec" text="Dec" lang="en"/>
+      <l:template name="Mon" text="Mon" lang="en"/>
+      <l:template name="Tue" text="Tue" lang="en"/>
+      <l:template name="Wed" text="Wed" lang="en"/>
+      <l:template name="Thu" text="Thu" lang="en"/>
+      <l:template name="Fri" text="Fri" lang="en"/>
+      <l:template name="Sat" text="Sat" lang="en"/>
+      <l:template name="Sun" text="Sun" lang="en"/>
+   </l:context>
+
+   <l:context name="htmlhelp">
+      <l:template name="langcode" text="0x0404 Chinese (TAIWAN)"/>
+   </l:context>
+
+   <l:context name="index">
+      <l:template name="term-separator" text=", " lang="en"/>
+      <l:template name="number-separator" text=", " lang="en"/>
+      <l:template name="range-separator" text="-" lang="en"/>
+   </l:context>
+
+   <l:letters lang="en">
+      <l:l i="-1"/>
+      <l:l i="0">Symbols</l:l>
+      <l:l i="10">A</l:l>
+      <l:l i="10">a</l:l>
+      <l:l i="10">&#192;</l:l>
+      <l:l i="10">&#224;</l:l>
+      <l:l i="10">&#193;</l:l>
+      <l:l i="10">&#225;</l:l>
+      <l:l i="10">&#194;</l:l>
+      <l:l i="10">&#226;</l:l>
+      <l:l i="10">&#195;</l:l>
+      <l:l i="10">&#227;</l:l>
+      <l:l i="10">&#196;</l:l>
+      <l:l i="10">&#228;</l:l>
+      <l:l i="10">&#197;</l:l>
+      <l:l i="10">&#229;</l:l>
+      <l:l i="10">&#256;</l:l>
+      <l:l i="10">&#257;</l:l>
+      <l:l i="10">&#258;</l:l>
+      <l:l i="10">&#259;</l:l>
+      <l:l i="10">&#260;</l:l>
+      <l:l i="10">&#261;</l:l>
+      <l:l i="10">&#461;</l:l>
+      <l:l i="10">&#462;</l:l>
+      <l:l i="10">&#478;</l:l>
+      <l:l i="10">&#479;</l:l>
+      <l:l i="10">&#480;</l:l>
+      <l:l i="10">&#481;</l:l>
+      <l:l i="10">&#506;</l:l>
+      <l:l i="10">&#507;</l:l>
+      <l:l i="10">&#512;</l:l>
+      <l:l i="10">&#513;</l:l>
+      <l:l i="10">&#514;</l:l>
+      <l:l i="10">&#515;</l:l>
+      <l:l i="10">&#550;</l:l>
+      <l:l i="10">&#551;</l:l>
+      <l:l i="10">&#7680;</l:l>
+      <l:l i="10">&#7681;</l:l>
+      <l:l i="10">&#7834;</l:l>
+      <l:l i="10">&#7840;</l:l>
+      <l:l i="10">&#7841;</l:l>
+      <l:l i="10">&#7842;</l:l>
+      <l:l i="10">&#7843;</l:l>
+      <l:l i="10">&#7844;</l:l>
+      <l:l i="10">&#7845;</l:l>
+      <l:l i="10">&#7846;</l:l>
+      <l:l i="10">&#7847;</l:l>
+      <l:l i="10">&#7848;</l:l>
+      <l:l i="10">&#7849;</l:l>
+      <l:l i="10">&#7850;</l:l>
+      <l:l i="10">&#7851;</l:l>
+      <l:l i="10">&#7852;</l:l>
+      <l:l i="10">&#7853;</l:l>
+      <l:l i="10">&#7854;</l:l>
+      <l:l i="10">&#7855;</l:l>
+      <l:l i="10">&#7856;</l:l>
+      <l:l i="10">&#7857;</l:l>
+      <l:l i="10">&#7858;</l:l>
+      <l:l i="10">&#7859;</l:l>
+      <l:l i="10">&#7860;</l:l>
+      <l:l i="10">&#7861;</l:l>
+      <l:l i="10">&#7862;</l:l>
+      <l:l i="10">&#7863;</l:l>
+      <l:l i="20">B</l:l>
+      <l:l i="20">b</l:l>
+      <l:l i="20">&#384;</l:l>
+      <l:l i="20">&#385;</l:l>
+      <l:l i="20">&#595;</l:l>
+      <l:l i="20">&#386;</l:l>
+      <l:l i="20">&#387;</l:l>
+      <l:l i="20">&#7682;</l:l>
+      <l:l i="20">&#7683;</l:l>
+      <l:l i="20">&#7684;</l:l>
+      <l:l i="20">&#7685;</l:l>
+      <l:l i="20">&#7686;</l:l>
+      <l:l i="20">&#7687;</l:l>
+      <l:l i="30">C</l:l>
+      <l:l i="30">c</l:l>
+      <l:l i="30">&#199;</l:l>
+      <l:l i="30">&#231;</l:l>
+      <l:l i="30">&#262;</l:l>
+      <l:l i="30">&#263;</l:l>
+      <l:l i="30">&#264;</l:l>
+      <l:l i="30">&#265;</l:l>
+      <l:l i="30">&#266;</l:l>
+      <l:l i="30">&#267;</l:l>
+      <l:l i="30">&#268;</l:l>
+      <l:l i="30">&#269;</l:l>
+      <l:l i="30">&#391;</l:l>
+      <l:l i="30">&#392;</l:l>
+      <l:l i="30">&#597;</l:l>
+      <l:l i="30">&#7688;</l:l>
+      <l:l i="30">&#7689;</l:l>
+      <l:l i="40">D</l:l>
+      <l:l i="40">d</l:l>
+      <l:l i="40">&#270;</l:l>
+      <l:l i="40">&#271;</l:l>
+      <l:l i="40">&#272;</l:l>
+      <l:l i="40">&#273;</l:l>
+      <l:l i="40">&#394;</l:l>
+      <l:l i="40">&#599;</l:l>
+      <l:l i="40">&#395;</l:l>
+      <l:l i="40">&#396;</l:l>
+      <l:l i="40">&#453;</l:l>
+      <l:l i="40">&#498;</l:l>
+      <l:l i="40">&#545;</l:l>
+      <l:l i="40">&#598;</l:l>
+      <l:l i="40">&#7690;</l:l>
+      <l:l i="40">&#7691;</l:l>
+      <l:l i="40">&#7692;</l:l>
+      <l:l i="40">&#7693;</l:l>
+      <l:l i="40">&#7694;</l:l>
+      <l:l i="40">&#7695;</l:l>
+      <l:l i="40">&#7696;</l:l>
+      <l:l i="40">&#7697;</l:l>
+      <l:l i="40">&#7698;</l:l>
+      <l:l i="40">&#7699;</l:l>
+      <l:l i="50">E</l:l>
+      <l:l i="50">e</l:l>
+      <l:l i="50">&#200;</l:l>
+      <l:l i="50">&#232;</l:l>
+      <l:l i="50">&#201;</l:l>
+      <l:l i="50">&#233;</l:l>
+      <l:l i="50">&#202;</l:l>
+      <l:l i="50">&#234;</l:l>
+      <l:l i="50">&#203;</l:l>
+      <l:l i="50">&#235;</l:l>
+      <l:l i="50">&#274;</l:l>
+      <l:l i="50">&#275;</l:l>
+      <l:l i="50">&#276;</l:l>
+      <l:l i="50">&#277;</l:l>
+      <l:l i="50">&#278;</l:l>
+      <l:l i="50">&#279;</l:l>
+      <l:l i="50">&#280;</l:l>
+      <l:l i="50">&#281;</l:l>
+      <l:l i="50">&#282;</l:l>
+      <l:l i="50">&#283;</l:l>
+      <l:l i="50">&#516;</l:l>
+      <l:l i="50">&#517;</l:l>
+      <l:l i="50">&#518;</l:l>
+      <l:l i="50">&#519;</l:l>
+      <l:l i="50">&#552;</l:l>
+      <l:l i="50">&#553;</l:l>
+      <l:l i="50">&#7700;</l:l>
+      <l:l i="50">&#7701;</l:l>
+      <l:l i="50">&#7702;</l:l>
+      <l:l i="50">&#7703;</l:l>
+      <l:l i="50">&#7704;</l:l>
+      <l:l i="50">&#7705;</l:l>
+      <l:l i="50">&#7706;</l:l>
+      <l:l i="50">&#7707;</l:l>
+      <l:l i="50">&#7708;</l:l>
+      <l:l i="50">&#7709;</l:l>
+      <l:l i="50">&#7864;</l:l>
+      <l:l i="50">&#7865;</l:l>
+      <l:l i="50">&#7866;</l:l>
+      <l:l i="50">&#7867;</l:l>
+      <l:l i="50">&#7868;</l:l>
+      <l:l i="50">&#7869;</l:l>
+      <l:l i="50">&#7870;</l:l>
+      <l:l i="50">&#7871;</l:l>
+      <l:l i="50">&#7872;</l:l>
+      <l:l i="50">&#7873;</l:l>
+      <l:l i="50">&#7874;</l:l>
+      <l:l i="50">&#7875;</l:l>
+      <l:l i="50">&#7876;</l:l>
+      <l:l i="50">&#7877;</l:l>
+      <l:l i="50">&#7878;</l:l>
+      <l:l i="50">&#7879;</l:l>
+      <l:l i="60">F</l:l>
+      <l:l i="60">f</l:l>
+      <l:l i="60">&#401;</l:l>
+      <l:l i="60">&#402;</l:l>
+      <l:l i="60">&#7710;</l:l>
+      <l:l i="60">&#7711;</l:l>
+      <l:l i="70">G</l:l>
+      <l:l i="70">g</l:l>
+      <l:l i="70">&#284;</l:l>
+      <l:l i="70">&#285;</l:l>
+      <l:l i="70">&#286;</l:l>
+      <l:l i="70">&#287;</l:l>
+      <l:l i="70">&#288;</l:l>
+      <l:l i="70">&#289;</l:l>
+      <l:l i="70">&#290;</l:l>
+      <l:l i="70">&#291;</l:l>
+      <l:l i="70">&#403;</l:l>
+      <l:l i="70">&#608;</l:l>
+      <l:l i="70">&#484;</l:l>
+      <l:l i="70">&#485;</l:l>
+      <l:l i="70">&#486;</l:l>
+      <l:l i="70">&#487;</l:l>
+      <l:l i="70">&#500;</l:l>
+      <l:l i="70">&#501;</l:l>
+      <l:l i="70">&#7712;</l:l>
+      <l:l i="70">&#7713;</l:l>
+      <l:l i="80">H</l:l>
+      <l:l i="80">h</l:l>
+      <l:l i="80">&#292;</l:l>
+      <l:l i="80">&#293;</l:l>
+      <l:l i="80">&#294;</l:l>
+      <l:l i="80">&#295;</l:l>
+      <l:l i="80">&#542;</l:l>
+      <l:l i="80">&#543;</l:l>
+      <l:l i="80">&#614;</l:l>
+      <l:l i="80">&#7714;</l:l>
+      <l:l i="80">&#7715;</l:l>
+      <l:l i="80">&#7716;</l:l>
+      <l:l i="80">&#7717;</l:l>
+      <l:l i="80">&#7718;</l:l>
+      <l:l i="80">&#7719;</l:l>
+      <l:l i="80">&#7720;</l:l>
+      <l:l i="80">&#7721;</l:l>
+      <l:l i="80">&#7722;</l:l>
+      <l:l i="80">&#7723;</l:l>
+      <l:l i="80">&#7830;</l:l>
+      <l:l i="90">I</l:l>
+      <l:l i="90">i</l:l>
+      <l:l i="90">&#204;</l:l>
+      <l:l i="90">&#236;</l:l>
+      <l:l i="90">&#205;</l:l>
+      <l:l i="90">&#237;</l:l>
+      <l:l i="90">&#206;</l:l>
+      <l:l i="90">&#238;</l:l>
+      <l:l i="90">&#207;</l:l>
+      <l:l i="90">&#239;</l:l>
+      <l:l i="90">&#296;</l:l>
+      <l:l i="90">&#297;</l:l>
+      <l:l i="90">&#298;</l:l>
+      <l:l i="90">&#299;</l:l>
+      <l:l i="90">&#300;</l:l>
+      <l:l i="90">&#301;</l:l>
+      <l:l i="90">&#302;</l:l>
+      <l:l i="90">&#303;</l:l>
+      <l:l i="90">&#304;</l:l>
+      <l:l i="90">&#407;</l:l>
+      <l:l i="90">&#616;</l:l>
+      <l:l i="90">&#463;</l:l>
+      <l:l i="90">&#464;</l:l>
+      <l:l i="90">&#520;</l:l>
+      <l:l i="90">&#521;</l:l>
+      <l:l i="90">&#522;</l:l>
+      <l:l i="90">&#523;</l:l>
+      <l:l i="90">&#7724;</l:l>
+      <l:l i="90">&#7725;</l:l>
+      <l:l i="90">&#7726;</l:l>
+      <l:l i="90">&#7727;</l:l>
+      <l:l i="90">&#7880;</l:l>
+      <l:l i="90">&#7881;</l:l>
+      <l:l i="90">&#7882;</l:l>
+      <l:l i="90">&#7883;</l:l>
+      <l:l i="100">J</l:l>
+      <l:l i="100">j</l:l>
+      <l:l i="100">&#308;</l:l>
+      <l:l i="100">&#309;</l:l>
+      <l:l i="100">&#496;</l:l>
+      <l:l i="100">&#669;</l:l>
+      <l:l i="110">K</l:l>
+      <l:l i="110">k</l:l>
+      <l:l i="110">&#310;</l:l>
+      <l:l i="110">&#311;</l:l>
+      <l:l i="110">&#408;</l:l>
+      <l:l i="110">&#409;</l:l>
+      <l:l i="110">&#488;</l:l>
+      <l:l i="110">&#489;</l:l>
+      <l:l i="110">&#7728;</l:l>
+      <l:l i="110">&#7729;</l:l>
+      <l:l i="110">&#7730;</l:l>
+      <l:l i="110">&#7731;</l:l>
+      <l:l i="110">&#7732;</l:l>
+      <l:l i="110">&#7733;</l:l>
+      <l:l i="120">L</l:l>
+      <l:l i="120">l</l:l>
+      <l:l i="120">&#313;</l:l>
+      <l:l i="120">&#314;</l:l>
+      <l:l i="120">&#315;</l:l>
+      <l:l i="120">&#316;</l:l>
+      <l:l i="120">&#317;</l:l>
+      <l:l i="120">&#318;</l:l>
+      <l:l i="120">&#319;</l:l>
+      <l:l i="120">&#320;</l:l>
+      <l:l i="120">&#321;</l:l>
+      <l:l i="120">&#322;</l:l>
+      <l:l i="120">&#410;</l:l>
+      <l:l i="120">&#456;</l:l>
+      <l:l i="120">&#564;</l:l>
+      <l:l i="120">&#619;</l:l>
+      <l:l i="120">&#620;</l:l>
+      <l:l i="120">&#621;</l:l>
+      <l:l i="120">&#7734;</l:l>
+      <l:l i="120">&#7735;</l:l>
+      <l:l i="120">&#7736;</l:l>
+      <l:l i="120">&#7737;</l:l>
+      <l:l i="120">&#7738;</l:l>
+      <l:l i="120">&#7739;</l:l>
+      <l:l i="120">&#7740;</l:l>
+      <l:l i="120">&#7741;</l:l>
+      <l:l i="130">M</l:l>
+      <l:l i="130">m</l:l>
+      <l:l i="130">&#625;</l:l>
+      <l:l i="130">&#7742;</l:l>
+      <l:l i="130">&#7743;</l:l>
+      <l:l i="130">&#7744;</l:l>
+      <l:l i="130">&#7745;</l:l>
+      <l:l i="130">&#7746;</l:l>
+      <l:l i="130">&#7747;</l:l>
+      <l:l i="140">N</l:l>
+      <l:l i="140">n</l:l>
+      <l:l i="140">&#209;</l:l>
+      <l:l i="140">&#241;</l:l>
+      <l:l i="140">&#323;</l:l>
+      <l:l i="140">&#324;</l:l>
+      <l:l i="140">&#325;</l:l>
+      <l:l i="140">&#326;</l:l>
+      <l:l i="140">&#327;</l:l>
+      <l:l i="140">&#328;</l:l>
+      <l:l i="140">&#413;</l:l>
+      <l:l i="140">&#626;</l:l>
+      <l:l i="140">&#414;</l:l>
+      <l:l i="140">&#544;</l:l>
+      <l:l i="140">&#459;</l:l>
+      <l:l i="140">&#504;</l:l>
+      <l:l i="140">&#505;</l:l>
+      <l:l i="140">&#565;</l:l>
+      <l:l i="140">&#627;</l:l>
+      <l:l i="140">&#7748;</l:l>
+      <l:l i="140">&#7749;</l:l>
+      <l:l i="140">&#7750;</l:l>
+      <l:l i="140">&#7751;</l:l>
+      <l:l i="140">&#7752;</l:l>
+      <l:l i="140">&#7753;</l:l>
+      <l:l i="140">&#7754;</l:l>
+      <l:l i="140">&#7755;</l:l>
+      <l:l i="150">O</l:l>
+      <l:l i="150">o</l:l>
+      <l:l i="150">&#210;</l:l>
+      <l:l i="150">&#242;</l:l>
+      <l:l i="150">&#211;</l:l>
+      <l:l i="150">&#243;</l:l>
+      <l:l i="150">&#212;</l:l>
+      <l:l i="150">&#244;</l:l>
+      <l:l i="150">&#213;</l:l>
+      <l:l i="150">&#245;</l:l>
+      <l:l i="150">&#214;</l:l>
+      <l:l i="150">&#246;</l:l>
+      <l:l i="150">&#216;</l:l>
+      <l:l i="150">&#248;</l:l>
+      <l:l i="150">&#332;</l:l>
+      <l:l i="150">&#333;</l:l>
+      <l:l i="150">&#334;</l:l>
+      <l:l i="150">&#335;</l:l>
+      <l:l i="150">&#336;</l:l>
+      <l:l i="150">&#337;</l:l>
+      <l:l i="150">&#415;</l:l>
+      <l:l i="150">&#416;</l:l>
+      <l:l i="150">&#417;</l:l>
+      <l:l i="150">&#465;</l:l>
+      <l:l i="150">&#466;</l:l>
+      <l:l i="150">&#490;</l:l>
+      <l:l i="150">&#491;</l:l>
+      <l:l i="150">&#492;</l:l>
+      <l:l i="150">&#493;</l:l>
+      <l:l i="150">&#510;</l:l>
+      <l:l i="150">&#511;</l:l>
+      <l:l i="150">&#524;</l:l>
+      <l:l i="150">&#525;</l:l>
+      <l:l i="150">&#526;</l:l>
+      <l:l i="150">&#527;</l:l>
+      <l:l i="150">&#554;</l:l>
+      <l:l i="150">&#555;</l:l>
+      <l:l i="150">&#556;</l:l>
+      <l:l i="150">&#557;</l:l>
+      <l:l i="150">&#558;</l:l>
+      <l:l i="150">&#559;</l:l>
+      <l:l i="150">&#560;</l:l>
+      <l:l i="150">&#561;</l:l>
+      <l:l i="150">&#7756;</l:l>
+      <l:l i="150">&#7757;</l:l>
+      <l:l i="150">&#7758;</l:l>
+      <l:l i="150">&#7759;</l:l>
+      <l:l i="150">&#7760;</l:l>
+      <l:l i="150">&#7761;</l:l>
+      <l:l i="150">&#7762;</l:l>
+      <l:l i="150">&#7763;</l:l>
+      <l:l i="150">&#7884;</l:l>
+      <l:l i="150">&#7885;</l:l>
+      <l:l i="150">&#7886;</l:l>
+      <l:l i="150">&#7887;</l:l>
+      <l:l i="150">&#7888;</l:l>
+      <l:l i="150">&#7889;</l:l>
+      <l:l i="150">&#7890;</l:l>
+      <l:l i="150">&#7891;</l:l>
+      <l:l i="150">&#7892;</l:l>
+      <l:l i="150">&#7893;</l:l>
+      <l:l i="150">&#7894;</l:l>
+      <l:l i="150">&#7895;</l:l>
+      <l:l i="150">&#7896;</l:l>
+      <l:l i="150">&#7897;</l:l>
+      <l:l i="150">&#7898;</l:l>
+      <l:l i="150">&#7899;</l:l>
+      <l:l i="150">&#7900;</l:l>
+      <l:l i="150">&#7901;</l:l>
+      <l:l i="150">&#7902;</l:l>
+      <l:l i="150">&#7903;</l:l>
+      <l:l i="150">&#7904;</l:l>
+      <l:l i="150">&#7905;</l:l>
+      <l:l i="150">&#7906;</l:l>
+      <l:l i="150">&#7907;</l:l>
+      <l:l i="160">P</l:l>
+      <l:l i="160">p</l:l>
+      <l:l i="160">&#420;</l:l>
+      <l:l i="160">&#421;</l:l>
+      <l:l i="160">&#7764;</l:l>
+      <l:l i="160">&#7765;</l:l>
+      <l:l i="160">&#7766;</l:l>
+      <l:l i="160">&#7767;</l:l>
+      <l:l i="170">Q</l:l>
+      <l:l i="170">q</l:l>
+      <l:l i="170">&#672;</l:l>
+      <l:l i="180">R</l:l>
+      <l:l i="180">r</l:l>
+      <l:l i="180">&#340;</l:l>
+      <l:l i="180">&#341;</l:l>
+      <l:l i="180">&#342;</l:l>
+      <l:l i="180">&#343;</l:l>
+      <l:l i="180">&#344;</l:l>
+      <l:l i="180">&#345;</l:l>
+      <l:l i="180">&#528;</l:l>
+      <l:l i="180">&#529;</l:l>
+      <l:l i="180">&#530;</l:l>
+      <l:l i="180">&#531;</l:l>
+      <l:l i="180">&#636;</l:l>
+      <l:l i="180">&#637;</l:l>
+      <l:l i="180">&#638;</l:l>
+      <l:l i="180">&#7768;</l:l>
+      <l:l i="180">&#7769;</l:l>
+      <l:l i="180">&#7770;</l:l>
+      <l:l i="180">&#7771;</l:l>
+      <l:l i="180">&#7772;</l:l>
+      <l:l i="180">&#7773;</l:l>
+      <l:l i="180">&#7774;</l:l>
+      <l:l i="180">&#7775;</l:l>
+      <l:l i="190">S</l:l>
+      <l:l i="190">s</l:l>
+      <l:l i="190">&#346;</l:l>
+      <l:l i="190">&#347;</l:l>
+      <l:l i="190">&#348;</l:l>
+      <l:l i="190">&#349;</l:l>
+      <l:l i="190">&#350;</l:l>
+      <l:l i="190">&#351;</l:l>
+      <l:l i="190">&#352;</l:l>
+      <l:l i="190">&#353;</l:l>
+      <l:l i="190">&#536;</l:l>
+      <l:l i="190">&#537;</l:l>
+      <l:l i="190">&#642;</l:l>
+      <l:l i="190">&#7776;</l:l>
+      <l:l i="190">&#7777;</l:l>
+      <l:l i="190">&#7778;</l:l>
+      <l:l i="190">&#7779;</l:l>
+      <l:l i="190">&#7780;</l:l>
+      <l:l i="190">&#7781;</l:l>
+      <l:l i="190">&#7782;</l:l>
+      <l:l i="190">&#7783;</l:l>
+      <l:l i="190">&#7784;</l:l>
+      <l:l i="190">&#7785;</l:l>
+      <l:l i="200">T</l:l>
+      <l:l i="200">t</l:l>
+      <l:l i="200">&#354;</l:l>
+      <l:l i="200">&#355;</l:l>
+      <l:l i="200">&#356;</l:l>
+      <l:l i="200">&#357;</l:l>
+      <l:l i="200">&#358;</l:l>
+      <l:l i="200">&#359;</l:l>
+      <l:l i="200">&#427;</l:l>
+      <l:l i="200">&#428;</l:l>
+      <l:l i="200">&#429;</l:l>
+      <l:l i="200">&#430;</l:l>
+      <l:l i="200">&#648;</l:l>
+      <l:l i="200">&#538;</l:l>
+      <l:l i="200">&#539;</l:l>
+      <l:l i="200">&#566;</l:l>
+      <l:l i="200">&#7786;</l:l>
+      <l:l i="200">&#7787;</l:l>
+      <l:l i="200">&#7788;</l:l>
+      <l:l i="200">&#7789;</l:l>
+      <l:l i="200">&#7790;</l:l>
+      <l:l i="200">&#7791;</l:l>
+      <l:l i="200">&#7792;</l:l>
+      <l:l i="200">&#7793;</l:l>
+      <l:l i="200">&#7831;</l:l>
+      <l:l i="210">U</l:l>
+      <l:l i="210">u</l:l>
+      <l:l i="210">&#217;</l:l>
+      <l:l i="210">&#249;</l:l>
+      <l:l i="210">&#218;</l:l>
+      <l:l i="210">&#250;</l:l>
+      <l:l i="210">&#219;</l:l>
+      <l:l i="210">&#251;</l:l>
+      <l:l i="210">&#220;</l:l>
+      <l:l i="210">&#252;</l:l>
+      <l:l i="210">&#360;</l:l>
+      <l:l i="210">&#361;</l:l>
+      <l:l i="210">&#362;</l:l>
+      <l:l i="210">&#363;</l:l>
+      <l:l i="210">&#364;</l:l>
+      <l:l i="210">&#365;</l:l>
+      <l:l i="210">&#366;</l:l>
+      <l:l i="210">&#367;</l:l>
+      <l:l i="210">&#368;</l:l>
+      <l:l i="210">&#369;</l:l>
+      <l:l i="210">&#370;</l:l>
+      <l:l i="210">&#371;</l:l>
+      <l:l i="210">&#431;</l:l>
+      <l:l i="210">&#432;</l:l>
+      <l:l i="210">&#467;</l:l>
+      <l:l i="210">&#468;</l:l>
+      <l:l i="210">&#469;</l:l>
+      <l:l i="210">&#470;</l:l>
+      <l:l i="210">&#471;</l:l>
+      <l:l i="210">&#472;</l:l>
+      <l:l i="210">&#473;</l:l>
+      <l:l i="210">&#474;</l:l>
+      <l:l i="210">&#475;</l:l>
+      <l:l i="210">&#476;</l:l>
+      <l:l i="210">&#532;</l:l>
+      <l:l i="210">&#533;</l:l>
+      <l:l i="210">&#534;</l:l>
+      <l:l i="210">&#535;</l:l>
+      <l:l i="210">&#7794;</l:l>
+      <l:l i="210">&#7795;</l:l>
+      <l:l i="210">&#7796;</l:l>
+      <l:l i="210">&#7797;</l:l>
+      <l:l i="210">&#7798;</l:l>
+      <l:l i="210">&#7799;</l:l>
+      <l:l i="210">&#7800;</l:l>
+      <l:l i="210">&#7801;</l:l>
+      <l:l i="210">&#7802;</l:l>
+      <l:l i="210">&#7803;</l:l>
+      <l:l i="210">&#7908;</l:l>
+      <l:l i="210">&#7909;</l:l>
+      <l:l i="210">&#7910;</l:l>
+      <l:l i="210">&#7911;</l:l>
+      <l:l i="210">&#7912;</l:l>
+      <l:l i="210">&#7913;</l:l>
+      <l:l i="210">&#7914;</l:l>
+      <l:l i="210">&#7915;</l:l>
+      <l:l i="210">&#7916;</l:l>
+      <l:l i="210">&#7917;</l:l>
+      <l:l i="210">&#7918;</l:l>
+      <l:l i="210">&#7919;</l:l>
+      <l:l i="210">&#7920;</l:l>
+      <l:l i="210">&#7921;</l:l>
+      <l:l i="220">V</l:l>
+      <l:l i="220">v</l:l>
+      <l:l i="220">&#434;</l:l>
+      <l:l i="220">&#651;</l:l>
+      <l:l i="220">&#7804;</l:l>
+      <l:l i="220">&#7805;</l:l>
+      <l:l i="220">&#7806;</l:l>
+      <l:l i="220">&#7807;</l:l>
+      <l:l i="230">W</l:l>
+      <l:l i="230">w</l:l>
+      <l:l i="230">&#372;</l:l>
+      <l:l i="230">&#373;</l:l>
+      <l:l i="230">&#7808;</l:l>
+      <l:l i="230">&#7809;</l:l>
+      <l:l i="230">&#7810;</l:l>
+      <l:l i="230">&#7811;</l:l>
+      <l:l i="230">&#7812;</l:l>
+      <l:l i="230">&#7813;</l:l>
+      <l:l i="230">&#7814;</l:l>
+      <l:l i="230">&#7815;</l:l>
+      <l:l i="230">&#7816;</l:l>
+      <l:l i="230">&#7817;</l:l>
+      <l:l i="230">&#7832;</l:l>
+      <l:l i="240">X</l:l>
+      <l:l i="240">x</l:l>
+      <l:l i="240">&#7818;</l:l>
+      <l:l i="240">&#7819;</l:l>
+      <l:l i="240">&#7820;</l:l>
+      <l:l i="240">&#7821;</l:l>
+      <l:l i="250">Y</l:l>
+      <l:l i="250">y</l:l>
+      <l:l i="250">&#221;</l:l>
+      <l:l i="250">&#253;</l:l>
+      <l:l i="250">&#255;</l:l>
+      <l:l i="250">&#376;</l:l>
+      <l:l i="250">&#374;</l:l>
+      <l:l i="250">&#375;</l:l>
+      <l:l i="250">&#435;</l:l>
+      <l:l i="250">&#436;</l:l>
+      <l:l i="250">&#562;</l:l>
+      <l:l i="250">&#563;</l:l>
+      <l:l i="250">&#7822;</l:l>
+      <l:l i="250">&#7823;</l:l>
+      <l:l i="250">&#7833;</l:l>
+      <l:l i="250">&#7922;</l:l>
+      <l:l i="250">&#7923;</l:l>
+      <l:l i="250">&#7924;</l:l>
+      <l:l i="250">&#7925;</l:l>
+      <l:l i="250">&#7926;</l:l>
+      <l:l i="250">&#7927;</l:l>
+      <l:l i="250">&#7928;</l:l>
+      <l:l i="250">&#7929;</l:l>
+      <l:l i="260">Z</l:l>
+      <l:l i="260">z</l:l>
+      <l:l i="260">&#377;</l:l>
+      <l:l i="260">&#378;</l:l>
+      <l:l i="260">&#379;</l:l>
+      <l:l i="260">&#380;</l:l>
+      <l:l i="260">&#381;</l:l>
+      <l:l i="260">&#382;</l:l>
+      <l:l i="260">&#437;</l:l>
+      <l:l i="260">&#438;</l:l>
+      <l:l i="260">&#548;</l:l>
+      <l:l i="260">&#549;</l:l>
+      <l:l i="260">&#656;</l:l>
+      <l:l i="260">&#657;</l:l>
+      <l:l i="260">&#7824;</l:l>
+      <l:l i="260">&#7825;</l:l>
+      <l:l i="260">&#7826;</l:l>
+      <l:l i="260">&#7827;</l:l>
+      <l:l i="260">&#7828;</l:l>
+      <l:l i="260">&#7829;</l:l>
+   </l:letters>
+</l:l10n>

Added: trunk/docs/docbook/src/main/resources/eclipse/eclipse.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/eclipse/eclipse.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/eclipse/eclipse.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,179 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		version="1.0">
+  
+<xsl:import href="../html/chunk.xsl"/>
+
+<!-- ********************************************************************
+     $Id: eclipse.xsl 6118 2006-07-28 21:20:20Z kosek $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="/">
+  <xsl:choose>
+    <xsl:when test="$rootid != ''">
+      <xsl:choose>
+        <xsl:when test="count(key('id',$rootid)) = 0">
+          <xsl:message terminate="yes">
+            <xsl:text>ID '</xsl:text>
+            <xsl:value-of select="$rootid"/>
+            <xsl:text>' not found in document.</xsl:text>
+          </xsl:message>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$collect.xref.targets = 'yes' or
+                        $collect.xref.targets = 'only'">
+            <xsl:apply-templates select="key('id', $rootid)"
+                        mode="collect.targets"/>
+          </xsl:if>
+          <xsl:if test="$collect.xref.targets != 'only'">
+            <xsl:message>Formatting from <xsl:value-of 
+	                          select="$rootid"/></xsl:message>
+            <xsl:apply-templates select="key('id',$rootid)"
+                        mode="process.root"/>
+            <xsl:call-template name="etoc"/>
+            <xsl:call-template name="plugin.xml"/>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$collect.xref.targets = 'yes' or
+                    $collect.xref.targets = 'only'">
+        <xsl:apply-templates select="/" mode="collect.targets"/>
+      </xsl:if>
+      <xsl:if test="$collect.xref.targets != 'only'">
+        <xsl:apply-templates select="/" mode="process.root"/>
+        <xsl:call-template name="etoc"/>
+        <xsl:call-template name="plugin.xml"/>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+
+
+</xsl:template>
+
+<xsl:template name="etoc">
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="'toc.xml'"/>
+    </xsl:with-param>
+    <xsl:with-param name="method" select="'xml'"/>
+    <xsl:with-param name="encoding" select="'utf-8'"/>
+    <xsl:with-param name="indent" select="'yes'"/>
+    <xsl:with-param name="content">
+      <xsl:choose>
+
+        <xsl:when test="$rootid != ''">
+          <xsl:variable name="title">
+            <xsl:if test="$eclipse.autolabel=1">
+              <xsl:variable name="label.markup">
+                <xsl:apply-templates select="key('id',$rootid)" mode="label.markup"/>
+              </xsl:variable>
+              <xsl:if test="normalize-space($label.markup)">
+                <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/>
+              </xsl:if>
+            </xsl:if>
+            <xsl:apply-templates select="key('id',$rootid)" mode="title.markup"/>
+          </xsl:variable>
+          <xsl:variable name="href">
+            <xsl:call-template name="href.target.with.base.dir">
+              <xsl:with-param name="object" select="key('id',$rootid)"/>
+            </xsl:call-template>
+          </xsl:variable>
+          
+          <toc label="{$title}" topic="{$href}">
+            <xsl:apply-templates select="key('id',$rootid)/*" mode="etoc"/>
+          </toc>
+        </xsl:when>
+
+        <xsl:otherwise>
+          <xsl:variable name="title">
+            <xsl:if test="$eclipse.autolabel=1">
+              <xsl:variable name="label.markup">
+                <xsl:apply-templates select="/*" mode="label.markup"/>
+              </xsl:variable>
+              <xsl:if test="normalize-space($label.markup)">
+                <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/>
+              </xsl:if>
+            </xsl:if>
+            <xsl:apply-templates select="/*" mode="title.markup"/>
+          </xsl:variable>
+          <xsl:variable name="href">
+            <xsl:call-template name="href.target.with.base.dir">
+              <xsl:with-param name="object" select="/"/>
+            </xsl:call-template>
+          </xsl:variable>
+          
+          <toc label="{$title}" topic="{$href}">
+            <xsl:apply-templates select="/*/*" mode="etoc"/>
+          </toc>
+        </xsl:otherwise>
+
+      </xsl:choose>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="book|part|reference|preface|chapter|bibliography|appendix|article|glossary|section|sect1|sect2|sect3|sect4|sect5|refentry|colophon|bibliodiv|index" mode="etoc">
+  <xsl:variable name="title">
+    <xsl:if test="$eclipse.autolabel=1">
+      <xsl:variable name="label.markup">
+        <xsl:apply-templates select="." mode="label.markup"/>
+      </xsl:variable>
+      <xsl:if test="normalize-space($label.markup)">
+        <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/>
+      </xsl:if>
+    </xsl:if>
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <xsl:variable name="href">
+    <xsl:call-template name="href.target.with.base.dir">
+      <xsl:with-param name="context" select="/"/>        <!-- Generate links relative to the location of root file/toc.xml file -->
+    </xsl:call-template>
+  </xsl:variable>
+
+  <topic label="{$title}" href="{$href}">
+    <xsl:apply-templates select="part|reference|preface|chapter|bibliography|appendix|article|glossary|section|sect1|sect2|sect3|sect4|sect5|refentry|colophon|bibliodiv|index" mode="etoc"/>
+  </topic>
+
+</xsl:template>
+
+<xsl:template match="text()" mode="etoc"/>
+
+<xsl:template name="plugin.xml">
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="'plugin.xml'"/>
+    </xsl:with-param>
+    <xsl:with-param name="method" select="'xml'"/>
+    <xsl:with-param name="encoding" select="'utf-8'"/>
+    <xsl:with-param name="indent" select="'yes'"/>
+    <xsl:with-param name="content">
+      <plugin name="{$eclipse.plugin.name}"
+        id="{$eclipse.plugin.id}"
+        version="1.0"
+        provider-name="{$eclipse.plugin.provider}">
+
+        <extension point="org.eclipse.help.toc">
+          <toc file="toc.xml" primary="true"/>
+        </extension>
+          
+      </plugin>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/admon.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/admon.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/admon.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,126 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: admon.xsl 6400 2006-11-11 09:33:19Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="note|important|warning|caution|tip">
+  <xsl:choose>
+    <xsl:when test="$admon.graphics != 0">
+      <xsl:call-template name="graphical.admonition"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="nongraphical.admonition"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="admon.graphic.width">
+  <xsl:param name="node" select="."/>
+  <xsl:text>36pt</xsl:text>
+</xsl:template>
+
+<xsl:template name="admon.graphic">
+  <xsl:param name="node" select="."/>
+
+  <xsl:variable name="filename">
+    <xsl:value-of select="$admon.graphics.path"/>
+    <xsl:choose>
+      <xsl:when test="local-name($node)='note'">note</xsl:when>
+      <xsl:when test="local-name($node)='warning'">warning</xsl:when>
+      <xsl:when test="local-name($node)='caution'">caution</xsl:when>
+      <xsl:when test="local-name($node)='tip'">tip</xsl:when>
+      <xsl:when test="local-name($node)='important'">important</xsl:when>
+      <xsl:otherwise>note</xsl:otherwise>
+    </xsl:choose>
+    <xsl:value-of select="$admon.graphics.extension"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$passivetex.extensions != 0
+                    or $fop.extensions != 0
+                    or $arbortext.extensions != 0">
+      <xsl:value-of select="$filename"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>url(</xsl:text>
+      <xsl:value-of select="$filename"/>
+      <xsl:text>)</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="graphical.admonition">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="graphic.width">
+     <xsl:apply-templates select="." mode="admon.graphic.width"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}"
+            xsl:use-attribute-sets="graphical.admonition.properties">
+    <fo:list-block provisional-distance-between-starts="{$graphic.width} + 18pt"
+                    provisional-label-separation="18pt">
+      <fo:list-item>
+          <fo:list-item-label end-indent="label-end()">
+            <fo:block>
+              <fo:external-graphic width="auto" height="auto"
+                                         content-width="{$graphic.width}" >
+                <xsl:attribute name="src">
+                  <xsl:call-template name="admon.graphic"/>
+                </xsl:attribute>
+              </fo:external-graphic>
+            </fo:block>
+          </fo:list-item-label>
+          <fo:list-item-body start-indent="body-start()">
+            <xsl:if test="$admon.textlabel != 0 or title or info/title">
+              <fo:block xsl:use-attribute-sets="admonition.title.properties">
+                <xsl:apply-templates select="." mode="object.title.markup"/>
+              </fo:block>
+            </xsl:if>
+            <fo:block xsl:use-attribute-sets="admonition.properties">
+              <xsl:apply-templates/>
+            </fo:block>
+          </fo:list-item-body>
+      </fo:list-item>
+    </fo:list-block>
+  </fo:block>
+</xsl:template>
+
+<xsl:template name="nongraphical.admonition">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}"
+            xsl:use-attribute-sets="nongraphical.admonition.properties">
+    <xsl:if test="$admon.textlabel != 0 or title or info/title">
+      <fo:block keep-with-next.within-column='always'
+                xsl:use-attribute-sets="admonition.title.properties">
+         <xsl:apply-templates select="." mode="object.title.markup"/>
+      </fo:block>
+    </xsl:if>
+
+    <fo:block xsl:use-attribute-sets="admonition.properties">
+      <xsl:apply-templates/>
+    </fo:block>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="note/title"></xsl:template>
+<xsl:template match="important/title"></xsl:template>
+<xsl:template match="warning/title"></xsl:template>
+<xsl:template match="caution/title"></xsl:template>
+<xsl:template match="tip/title"></xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/annotations.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/annotations.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/annotations.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,18 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: annotations.xsl 6440 2006-11-19 06:33:53Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="annotation"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/autoidx-kimber.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/autoidx-kimber.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/autoidx-kimber.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,178 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [
+
+<!ENTITY primary   'normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = ""]))'>
+<!ENTITY secondary 'normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = ""]))'>
+<!ENTITY tertiary  'normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = ""]))'>
+
+<!ENTITY sep '" "'>
+<!-- Documents using the kimber index method must have a lang attribute -->
+<!-- Only one of these should be present in the entity -->
+<!ENTITY lang 'concat(/*/@lang, /*/@xml:lang)'>
+
+<!ENTITY scope 'count(ancestor::node()|$scope) = count(ancestor::node())
+                and ($role = @role or $type = @type or
+                (string-length($role) = 0 and string-length($type) = 0))'>
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:k="java:com.isogen.saxoni18n.Saxoni18nService"
+                exclude-result-prefixes="k"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: autoidx-kimber.xsl 6486 2007-01-11 20:29:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheet distribution.
+     See ../README or http://docbook.sf.net/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- The "kimber" method contributed by Eliot Kimber of Innodata Isogen.  -->
+<!-- ==================================================================== -->
+<!--   *** THIS MODULE ONLY WORKS WITH SAXON 6 OR SAXON 8 ***             -->
+<!-- ==================================================================== -->
+
+<xsl:include href="../common/autoidx-kimber.xsl"/>
+
+<!-- Java sort apparently works only on lang part, not country -->
+<xsl:param name="sort.lang">
+  <xsl:choose>
+    <xsl:when test="contains(&lang;, '-')">
+      <xsl:value-of select="substring-before(&lang;, '-')"/>
+    </xsl:when>
+    <xsl:when test="contains(&lang;, '_')">
+      <xsl:value-of select="substring-before(&lang;, '_')"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="&lang;"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+
+<xsl:template name="generate-kimber-index">
+  <xsl:param name="scope" select="NOTANODE"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:if test="not(contains($vendor, 'SAXON '))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text>
+      <xsl:text>Saxon version 6 or 8 XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="not(function-available('k:getIndexGroupKey'))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text>
+      <xsl:text>Innodata Isogen &#x0A;Java extensions for </xsl:text>
+      <xsl:text>internationalized indexes. &#x0A;Install those </xsl:text>
+      <xsl:text>extensions, or use a different index method.&#x0A;</xsl:text>
+      <xsl:text>For more information, see:&#x0A;</xsl:text>
+      <xsl:text>http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="role">
+    <xsl:if test="$index.on.role != 0">
+      <xsl:value-of select="@role"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:if test="$index.on.type != 0">
+      <xsl:value-of select="@type"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="terms"
+                select="//indexterm[count(.|key('k-group',
+                   k:getIndexGroupKey(&lang;, &primary;))
+                   [&scope;][1]) = 1
+                   and not(@class = 'endofrange')]"/>
+
+  <xsl:variable name="alphabetical"
+                select="$terms[not(starts-with(
+                k:getIndexGroupKey(&lang;, &primary;),
+                '#NUMERIC'
+                ))]"/>
+
+  <xsl:variable name="others"
+                select="$terms[starts-with(
+                k:getIndexGroupKey(&lang;, &primary;),
+                '#NUMERIC'
+                )]"/>
+
+  <fo:block>
+    <xsl:if test="$others">
+      <xsl:call-template name="indexdiv.title">
+        <xsl:with-param name="titlecontent">
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'index symbols'"/>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:call-template>
+
+      <fo:block>
+        <xsl:apply-templates select="$others"
+                             mode="index-symbol-div">
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort lang="{$sort.lang}"
+              select="k:getIndexGroupSortKey(&lang;,
+                      k:getIndexGroupKey(&lang;, &primary;))"/>
+        </xsl:apply-templates>
+      </fo:block>
+    </xsl:if>
+
+    <xsl:apply-templates select="$alphabetical"
+                         mode="index-div-kimber">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort lang="{$sort.lang}"
+             select="k:getIndexGroupSortKey(&lang;,
+                     k:getIndexGroupKey(&lang;, &primary;))"/>
+    </xsl:apply-templates>
+  </fo:block>
+
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-div-kimber">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key"
+          select="k:getIndexGroupKey(&lang;, &primary;)"/>
+
+  <xsl:variable name="label"
+          select="k:getIndexGroupLabel(&lang;, $key)"/>
+
+  <xsl:if test="key('k-group', $key)[&scope;]
+                [count(.|key('primary', &primary;)[&scope;][1]) = 1]">
+    <fo:block>
+      <xsl:call-template name="indexdiv.title">
+        <xsl:with-param name="titlecontent">
+          <xsl:value-of select="$label"/>
+        </xsl:with-param>
+      </xsl:call-template>
+      <fo:block>
+        <xsl:apply-templates select="key('k-group', $key)[&scope;]
+                            [count(.|key('primary', &primary;)[&scope;]
+                            [1])=1]"
+                             mode="index-primary">
+          <xsl:sort select="&primary;" lang="{$sort.lang}"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+        </xsl:apply-templates>
+      </fo:block>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/autoidx-kosek.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/autoidx-kosek.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/autoidx-kosek.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,150 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [
+
+<!ENTITY primary   'normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = ""]))'>
+<!ENTITY secondary 'normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = ""]))'>
+<!ENTITY tertiary  'normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = ""]))'>
+
+<!ENTITY sep '" "'>
+<!-- Documents using the kimber index method must have a lang attribute -->
+<!-- Only one of these should be present in the entity -->
+
+<!ENTITY scope 'count(ancestor::node()|$scope) = count(ancestor::node())
+                and ($role = @role or $type = @type or
+                (string-length($role) = 0 and string-length($type) = 0))'>
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:rx="http://www.renderx.com/XSL/Extensions"
+                xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"
+                xmlns:i="urn:cz-kosek:functions:index"
+                xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
+                xmlns:func="http://exslt.org/functions"
+                xmlns:exslt="http://exslt.org/common"
+                extension-element-prefixes="func exslt"
+                exclude-result-prefixes="func exslt i l"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: autoidx-kosek.xsl 6352 2006-10-10 14:10:29Z kosek $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheet distribution.
+     See ../README or http://docbook.sf.net/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- The "kosek" method contributed by Jirka Kosek. -->
+
+<xsl:include href="../common/autoidx-kosek.xsl"/>
+
+<xsl:template name="generate-kosek-index">
+  <xsl:param name="scope" select="NOTANODE"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:if test="contains($vendor, 'libxslt')">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method does not </xsl:text>
+      <xsl:text>work with the xsltproc XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="contains($vendor, 'Saxonica')">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method does not </xsl:text>
+      <xsl:text>work with the Saxon 8 XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+
+  <xsl:if test="not(function-available('exslt:node-set') or
+                    function-available('exslt:nodeSet'))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text>
+      <xsl:text>exslt:node-set() function. Use a processor that </xsl:text>
+      <xsl:text>has it, or use a different index method.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="not(function-available('i:group-index'))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method requires the&#xA;</xsl:text>
+      <xsl:text>index extension functions be imported:&#xA;</xsl:text>
+      <xsl:text>  xsl:import href="common/autoidx-kosek.xsl"</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="role">
+    <xsl:if test="$index.on.role != 0">
+      <xsl:value-of select="@role"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:if test="$index.on.type != 0">
+      <xsl:value-of select="@type"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="terms"
+                select="//indexterm[count(.|key('group-code',
+                                          i:group-index(&primary;))
+                                          [&scope;][1]) = 1
+                                and not(@class = 'endofrange')]"/>
+  <fo:block>
+    <xsl:apply-templates select="$terms" mode="index-div-kosek">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="i:group-index(&primary;)" data-type="number"/>
+    </xsl:apply-templates>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-div-kosek">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key"
+                select="i:group-index(&primary;)"/>
+
+  <xsl:variable name="lang">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:variable>
+
+  <xsl:if test="key('group-code', $key)[&scope;]
+                [count(.|key('primary', &primary;)[&scope;][1]) = 1]">
+    <fo:block>
+      <xsl:call-template name="indexdiv.title">
+        <xsl:with-param name="titlecontent">
+          <xsl:choose>
+            <xsl:when test="$key = 0">
+              <xsl:call-template name="gentext">
+                <xsl:with-param name="key" select="'index symbols'"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="i:group-letter($key)"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+      <fo:block>
+        <xsl:apply-templates select="key('group-code', $key)[&scope;]
+                                     [count(.|key('primary', &primary;)
+                                     [&scope;][1])=1]"
+                             mode="index-primary">
+          <xsl:sort select="&primary;" lang="{$lang}"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+        </xsl:apply-templates>
+      </fo:block>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/autoidx-ng.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/autoidx-ng.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/autoidx-ng.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: autoidx-ng.xsl 6352 2006-10-10 14:10:29Z kosek $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheet distribution.
+     See ../README or http://docbook.sf.net/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- You should have this directly in your customization file. -->
+<!-- This file is there only to retain backward compatibility. -->
+<xsl:import href="autoidx-kosek.xsl"/>
+<xsl:param name="index.method">kosek</xsl:param>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/autoidx.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/autoidx.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/autoidx.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1310 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY % common.entities SYSTEM "../common/entities.ent">
+%common.entities;
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:rx="http://www.renderx.com/XSL/Extensions"
+                xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"
+                xmlns:exslt="http://exslt.org/common"
+                extension-element-prefixes="exslt"
+                exclude-result-prefixes="exslt"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: autoidx.xsl 6491 2007-01-14 08:41:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheet distribution.
+     See ../README or http://docbook.sf.net/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- The "basic" method derived from Jeni Tennison's work. -->
+<!-- The "kosek" method contributed by Jirka Kosek. -->
+<!-- The "kimber" method contributed by Eliot Kimber of Innodata Isogen. -->
+
+<!-- Importing module for kimber or kosek method overrides one of these -->
+<xsl:param name="kimber.imported" select="0"/>
+<xsl:param name="kosek.imported" select="0"/>
+
+<!-- These keys used primary in all methods -->
+<xsl:key name="letter"
+         match="indexterm"
+         use="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/>
+
+<xsl:key name="primary"
+         match="indexterm"
+         use="&primary;"/>
+
+<xsl:key name="secondary"
+         match="indexterm"
+         use="concat(&primary;, &sep;, &secondary;)"/>
+
+<xsl:key name="tertiary"
+         match="indexterm"
+         use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/>
+
+<xsl:key name="endofrange"
+         match="indexterm[@class='endofrange']"
+         use="@startref"/>
+
+<xsl:key name="see-also"
+         match="indexterm[seealso]"
+         use="concat(&primary;, &sep;, 
+                     &secondary;, &sep;, 
+                     &tertiary;, &sep;, seealso)"/>
+
+<xsl:key name="see"
+         match="indexterm[see]"
+         use="concat(&primary;, &sep;, 
+                     &secondary;, &sep;, 
+                     &tertiary;, &sep;, see)"/>
+
+
+<xsl:template name="generate-index">
+  <xsl:param name="scope" select="(ancestor::book|/)[last()]"/>
+
+  <xsl:choose>
+    <xsl:when test="$index.method = 'kosek'">
+      <xsl:call-template name="generate-kosek-index">
+        <xsl:with-param name="scope" select="$scope"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$index.method = 'kimber'">
+      <xsl:call-template name="generate-kimber-index">
+        <xsl:with-param name="scope" select="$scope"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:call-template name="generate-basic-index">
+        <xsl:with-param name="scope" select="$scope"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+      
+<xsl:template name="generate-basic-index">
+  <xsl:param name="scope" select="NOTANODE"/>
+
+  <xsl:variable name="role">
+    <xsl:if test="$index.on.role != 0">
+      <xsl:value-of select="@role"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:if test="$index.on.type != 0">
+      <xsl:value-of select="@type"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="terms"
+                select="//indexterm
+                        [count(.|key('letter',
+                          translate(substring(&primary;, 1, 1),
+                             &lowercase;,
+                             &uppercase;))
+                          [&scope;][1]) = 1
+                          and not(@class = 'endofrange')]"/>
+
+  <xsl:variable name="alphabetical"
+                select="$terms[contains(concat(&lowercase;, &uppercase;),
+                                        substring(&primary;, 1, 1))]"/>
+
+  <xsl:variable name="others" select="$terms[not(contains(
+                                        concat(&lowercase;,
+                                        &uppercase;),
+                                        substring(&primary;, 1, 1)))]"/>
+  <fo:block>
+    <xsl:if test="$others">
+      <xsl:call-template name="indexdiv.title">
+        <xsl:with-param name="titlecontent">
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'index symbols'"/>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:call-template>
+
+      <fo:block>
+        <xsl:apply-templates select="$others[count(.|key('primary',
+                                     &primary;)[&scope;][1]) = 1]"
+                             mode="index-symbol-div">
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(&primary;, &lowercase;, 
+                            &uppercase;)"/>
+        </xsl:apply-templates>
+      </fo:block>
+    </xsl:if>
+
+    <xsl:apply-templates select="$alphabetical[count(.|key('letter',
+                                 translate(substring(&primary;, 1, 1),
+                                           &lowercase;,&uppercase;))
+                                           [&scope;][1]) = 1]"
+                         mode="index-div-basic">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/>
+    </xsl:apply-templates>
+  </fo:block>
+</xsl:template>
+
+<!-- This template not used if fo/autoidx-kosek.xsl is imported -->
+<xsl:template name="generate-kosek-index">
+  <xsl:param name="scope" select="NOTANODE"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:if test="contains($vendor, 'libxslt')">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method does not </xsl:text>
+      <xsl:text>work with the xsltproc XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+
+  <xsl:if test="not(function-available('exslt:node-set') or
+                    function-available('exslt:nodeSet'))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text>
+      <xsl:text>exslt:node-set() function. Use a processor that </xsl:text>
+      <xsl:text>has it, or use a different index method.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="$kosek.imported = 0">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method requires the&#xA;</xsl:text>
+      <xsl:text>kosek index extensions be imported:&#xA;</xsl:text>
+      <xsl:text>  xsl:import href="fo/autoidx-kosek.xsl"</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+</xsl:template>
+
+
+<!-- This template not used if fo/autoidx-kimber.xsl is imported -->
+<xsl:template name="generate-kimber-index">
+  <xsl:param name="scope" select="NOTANODE"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:if test="not(contains($vendor, 'SAXON '))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text>
+      <xsl:text>Saxon version 6 or 8 XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="$kimber.imported = 0">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kimber' index method requires the&#xA;</xsl:text>
+      <xsl:text>kimber index extensions be imported:&#xA;</xsl:text>
+      <xsl:text>  xsl:import href="fo/autoidx-kimber.xsl"</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-div-basic">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key"
+                select="translate(substring(&primary;, 1, 1),
+                         &lowercase;,&uppercase;)"/>
+
+  <xsl:if test="key('letter', $key)[&scope;]
+                [count(.|key('primary', &primary;)[&scope;][1]) = 1]">
+    <fo:block>
+      <xsl:if test="contains(concat(&lowercase;, &uppercase;), $key)">
+        <xsl:call-template name="indexdiv.title">
+          <xsl:with-param name="titlecontent">
+            <xsl:value-of select="translate($key, &lowercase;, &uppercase;)"/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:block xsl:use-attribute-sets="index.entry.properties">
+        <xsl:apply-templates select="key('letter', $key)[&scope;]
+                                     [count(.|key('primary', &primary;)
+                                     [&scope;][1])=1]"
+                             mode="index-primary">
+          <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+        </xsl:apply-templates>
+      </fo:block>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-symbol-div">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key"
+                select="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/>
+
+  <fo:block xsl:use-attribute-sets="index.entry.properties">
+    <xsl:apply-templates select="key('letter', $key)[&scope;][count(.|key('primary', &primary;)[&scope;][1]) = 1]"
+                         mode="index-primary">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/>
+    </xsl:apply-templates>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-primary">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key" select="&primary;"/>
+  <xsl:variable name="refs" select="key('primary', $key)[&scope;]"/>
+
+  <xsl:variable name="term.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.term.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="range.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.range.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="number.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.number.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <fo:block>
+    <xsl:if test="$axf.extensions != 0">
+      <xsl:attribute name="axf:suppress-duplicate-page-number">true</xsl:attribute>
+    </xsl:if>
+    <xsl:value-of select="primary"/>
+
+    <xsl:choose>
+      <xsl:when test="$xep.extensions != 0">
+        <xsl:if test="$refs[not(see) and not(secondary)]">
+          <xsl:copy-of select="$term.separator"/>
+          <xsl:variable name="primary" select="&primary;"/>
+          <xsl:variable name="primary.significant" select="concat(&primary;, $significant.flag)"/>
+          <rx:page-index list-separator="{$number.separator}"
+                         range-separator="{$range.separator}">
+            <xsl:if test="$refs[@significance='preferred'][not(see) and not(secondary)]">
+              <rx:index-item xsl:use-attribute-sets="index.preferred.page.properties xep.index.item.properties"
+                ref-key="{$primary.significant}"/>
+            </xsl:if>
+            <xsl:if test="$refs[not(@significance) or @significance!='preferred'][not(see) and not(secondary)]">
+              <rx:index-item xsl:use-attribute-sets="xep.index.item.properties"
+                ref-key="{$primary}"/>
+            </xsl:if>
+          </rx:page-index>        
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:variable name="page-number-citations">
+          <xsl:for-each select="$refs[not(see) 
+                                and not(secondary)]">
+            <xsl:apply-templates select="." mode="reference">
+              <xsl:with-param name="scope" select="$scope"/>
+              <xsl:with-param name="role" select="$role"/>
+              <xsl:with-param name="type" select="$type"/>
+              <xsl:with-param name="position" select="position()"/>
+            </xsl:apply-templates>
+          </xsl:for-each>
+        </xsl:variable>
+
+        <xsl:choose>
+          <xsl:when test="$passivetex.extensions != '0'">
+            <fotex:sort xmlns:fotex="http://www.tug.org/fotex">
+              <xsl:copy-of select="$page-number-citations"/>
+            </fotex:sort>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:copy-of select="$page-number-citations"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test="$refs[not(secondary)]/*[self::see]">
+      <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &sep;, &sep;, see))[&scope;][1])]"
+                           mode="index-see">
+         <xsl:with-param name="scope" select="$scope"/>
+         <xsl:with-param name="role" select="$role"/>
+         <xsl:with-param name="type" select="$type"/>
+         <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/>
+      </xsl:apply-templates>
+    </xsl:if>
+
+  </fo:block>
+
+  <xsl:if test="$refs/secondary or $refs[not(secondary)]/*[self::seealso]">
+    <fo:block start-indent="1pc">
+      <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &sep;, &sep;, seealso))[&scope;][1])]"
+                           mode="index-seealso">
+         <xsl:with-param name="scope" select="$scope"/>
+         <xsl:with-param name="role" select="$role"/>
+         <xsl:with-param name="type" select="$type"/>
+         <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/>
+      </xsl:apply-templates>
+      <xsl:apply-templates select="$refs[secondary and count(.|key('secondary', concat($key, &sep;, &secondary;))[&scope;][1]) = 1]"
+                           mode="index-secondary">
+       <xsl:with-param name="scope" select="$scope"/>
+       <xsl:with-param name="role" select="$role"/>
+       <xsl:with-param name="type" select="$type"/>
+       <xsl:sort select="translate(&secondary;, &lowercase;, &uppercase;)"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-secondary">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;)"/>
+  <xsl:variable name="refs" select="key('secondary', $key)[&scope;]"/>
+
+  <xsl:variable name="term.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.term.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="range.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.range.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="number.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.number.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <fo:block>
+    <xsl:if test="$axf.extensions != 0">
+      <xsl:attribute name="axf:suppress-duplicate-page-number">true</xsl:attribute>
+    </xsl:if>
+    <xsl:value-of select="secondary"/>
+
+    <xsl:choose>
+      <xsl:when test="$xep.extensions != 0">
+        <xsl:if test="$refs[not(see) and not(tertiary)]">
+          <xsl:copy-of select="$term.separator"/>
+          <xsl:variable name="primary" select="&primary;"/>
+          <xsl:variable name="secondary" select="&secondary;"/>
+          <xsl:variable name="primary.significant" select="concat(&primary;, $significant.flag)"/>
+          <rx:page-index list-separator="{$number.separator}"
+                         range-separator="{$range.separator}">
+            <xsl:if test="$refs[@significance='preferred'][not(see) and not(tertiary)]">
+              <rx:index-item xsl:use-attribute-sets="index.preferred.page.properties xep.index.item.properties">
+                <xsl:attribute name="ref-key">
+                  <xsl:value-of select="$primary.significant"/>
+                  <xsl:text>, </xsl:text>
+                  <xsl:value-of select="$secondary"/>
+                </xsl:attribute>
+              </rx:index-item>
+            </xsl:if>
+            <xsl:if test="$refs[not(@significance) or @significance!='preferred'][not(see) and not(tertiary)]">
+              <rx:index-item xsl:use-attribute-sets="xep.index.item.properties">
+                <xsl:attribute name="ref-key">
+                  <xsl:value-of select="$primary"/>
+                  <xsl:text>, </xsl:text>
+                  <xsl:value-of select="$secondary"/>
+                </xsl:attribute>
+              </rx:index-item>
+            </xsl:if>
+          </rx:page-index>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:variable name="page-number-citations">
+          <xsl:for-each select="$refs[not(see) 
+                                and not(tertiary)]">
+            <xsl:apply-templates select="." mode="reference">
+              <xsl:with-param name="scope" select="$scope"/>
+              <xsl:with-param name="role" select="$role"/>
+              <xsl:with-param name="type" select="$type"/>
+              <xsl:with-param name="position" select="position()"/>
+            </xsl:apply-templates>
+          </xsl:for-each>
+        </xsl:variable>
+
+        <xsl:choose>
+          <xsl:when test="$passivetex.extensions != '0'">
+            <fotex:sort xmlns:fotex="http://www.tug.org/fotex">
+              <xsl:copy-of select="$page-number-citations"/>
+            </fotex:sort>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:copy-of select="$page-number-citations"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test="$refs[not(tertiary)]/*[self::see]">
+      <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, see))[&scope;][1])]"
+                           mode="index-see">
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+        <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/>
+      </xsl:apply-templates>
+    </xsl:if>
+
+  </fo:block>
+
+  <xsl:if test="$refs/tertiary or $refs[not(tertiary)]/*[self::seealso]">
+    <fo:block start-indent="2pc">
+      <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, seealso))[&scope;][1])]"
+                           mode="index-seealso">
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/>
+      </xsl:apply-templates>
+      <xsl:apply-templates select="$refs[tertiary and count(.|key('tertiary', concat($key, &sep;, &tertiary;))[&scope;][1]) = 1]" 
+                           mode="index-tertiary">
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(&tertiary;, &lowercase;, &uppercase;)"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-tertiary">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/>
+  <xsl:variable name="refs" select="key('tertiary', $key)[&scope;]"/>
+
+  <xsl:variable name="term.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.term.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="range.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.range.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="number.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.number.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <fo:block>
+    <xsl:if test="$axf.extensions != 0">
+      <xsl:attribute name="axf:suppress-duplicate-page-number">true</xsl:attribute>
+    </xsl:if>
+    <xsl:value-of select="tertiary"/>
+
+    <xsl:choose>
+      <xsl:when test="$xep.extensions != 0">
+        <xsl:if test="$refs[not(see)]">
+          <xsl:copy-of select="$term.separator"/>
+          <xsl:variable name="primary" select="&primary;"/>
+          <xsl:variable name="secondary" select="&secondary;"/>
+          <xsl:variable name="tertiary" select="&tertiary;"/>
+          <xsl:variable name="primary.significant" select="concat(&primary;, $significant.flag)"/>
+          <rx:page-index list-separator="{$number.separator}"
+                         range-separator="{$range.separator}">
+            <xsl:if test="$refs[@significance='preferred'][not(see)]">
+              <rx:index-item xsl:use-attribute-sets="index.preferred.page.properties xep.index.item.properties">
+                <xsl:attribute name="ref-key">
+                  <xsl:value-of select="$primary.significant"/>
+                  <xsl:text>, </xsl:text>
+                  <xsl:value-of select="$secondary"/>
+                  <xsl:text>, </xsl:text>
+                  <xsl:value-of select="$tertiary"/>
+                </xsl:attribute>
+              </rx:index-item>
+            </xsl:if>
+            <xsl:if test="$refs[not(@significance) or @significance!='preferred'][not(see)]">
+              <rx:index-item xsl:use-attribute-sets="xep.index.item.properties">
+                <xsl:attribute name="ref-key">
+                  <xsl:value-of select="$primary"/>
+                  <xsl:text>, </xsl:text>
+                  <xsl:value-of select="$secondary"/>
+                  <xsl:text>, </xsl:text>
+                  <xsl:value-of select="$tertiary"/>
+                </xsl:attribute>
+              </rx:index-item>
+            </xsl:if>
+          </rx:page-index>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:variable name="page-number-citations">
+          <xsl:for-each select="$refs[not(see)]">
+            <xsl:apply-templates select="." mode="reference">
+              <xsl:with-param name="scope" select="$scope"/>
+              <xsl:with-param name="role" select="$role"/>
+              <xsl:with-param name="type" select="$type"/>
+              <xsl:with-param name="position" select="position()"/>
+            </xsl:apply-templates>
+          </xsl:for-each>
+        </xsl:variable>
+
+        <xsl:choose>
+          <xsl:when test="$passivetex.extensions != '0'">
+            <fotex:sort xmlns:fotex="http://www.tug.org/fotex">
+              <xsl:copy-of select="$page-number-citations"/>
+            </fotex:sort>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:copy-of select="$page-number-citations"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test="$refs/see">
+      <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see))[&scope;][1])]"
+                           mode="index-see">
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+        <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/>
+      </xsl:apply-templates>
+    </xsl:if>
+
+  </fo:block>
+
+  <xsl:if test="$refs/seealso">
+    <fo:block>
+      <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, seealso))[&scope;][1])]"
+                           mode="index-seealso">
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+        <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="reference">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <xsl:param name="position" select="0"/>
+  <xsl:param name="separator" select="''"/>
+
+  <xsl:variable name="term.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.term.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="range.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.range.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="number.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.number.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$separator != ''">
+      <xsl:value-of select="$separator"/>
+    </xsl:when>
+    <xsl:when test="$position = 1">
+      <xsl:value-of select="$term.separator"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$number.separator"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="@zone and string(@zone)">
+      <xsl:call-template name="reference">
+        <xsl:with-param name="zones" select="normalize-space(@zone)"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="ancestor::*[contains(local-name(),'info') and not(starts-with(local-name(),'info'))]">
+      <xsl:call-template name="info.reference">
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:variable>
+
+      <fo:basic-link internal-destination="{$id}"
+                     xsl:use-attribute-sets="index.page.number.properties">
+        <fo:page-number-citation ref-id="{$id}"/>
+      </fo:basic-link>
+
+      <xsl:if test="key('endofrange', $id)[&scope;]">
+        <xsl:apply-templates select="key('endofrange', $id)[&scope;][last()]"
+                             mode="reference">
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:with-param name="separator" select="$range.separator"/>
+        </xsl:apply-templates>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="reference">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <xsl:param name="zones"/>
+
+  <xsl:variable name="number.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.number.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="contains($zones, ' ')">
+      <xsl:variable name="zone" select="substring-before($zones, ' ')"/>
+      <xsl:variable name="target" select="key('id', $zone)[&scope;]"/>
+
+      <xsl:variable name="id">
+        <xsl:call-template name="object.id">
+           <xsl:with-param name="object" select="$target[1]"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <fo:basic-link internal-destination="{$id}"
+                     xsl:use-attribute-sets="index.page.number.properties">
+        <fo:page-number-citation ref-id="{$id}"/>
+      </fo:basic-link>
+
+      <xsl:if test="$passivetex.extensions = '0'">
+        <xsl:copy-of select="$number.separator"/>
+      </xsl:if>
+      <xsl:call-template name="reference">
+        <xsl:with-param name="zones" select="substring-after($zones, ' ')"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="zone" select="$zones"/>
+      <xsl:variable name="target" select="key('id', $zone)[&scope;]"/>
+
+      <xsl:variable name="id">
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select="$target[1]"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <fo:basic-link internal-destination="{$id}"
+                     xsl:use-attribute-sets="index.page.number.properties">
+        <fo:page-number-citation ref-id="{$id}"/>
+      </fo:basic-link>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="info.reference">
+  <!-- This is not perfect. It doesn't treat indexterm inside info element as a range covering whole parent of info.
+       It also not work when there is no ID generated for parent element. But it works in the most common cases. -->
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="target" select="(ancestor::appendix|ancestor::article|ancestor::bibliography|ancestor::book|
+                                       ancestor::chapter|ancestor::glossary|ancestor::part|ancestor::preface|
+                                       ancestor::refentry|ancestor::reference|ancestor::refsect1|ancestor::refsect2|
+                                       ancestor::refsect3|ancestor::refsection|ancestor::refsynopsisdiv|
+                                       ancestor::sect1|ancestor::sect2|ancestor::sect3|ancestor::sect4|ancestor::sect5|
+                                       ancestor::section|ancestor::setindex|ancestor::set|ancestor::sidebar)[&scope;]"/>
+  
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$target[1]"/>
+    </xsl:call-template>
+  </xsl:variable>
+  
+  <fo:basic-link internal-destination="{$id}"
+                 xsl:use-attribute-sets="index.page.number.properties">
+    <fo:page-number-citation ref-id="{$id}"/>
+  </fo:basic-link>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-see">
+   <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+   <fo:inline>
+     <xsl:text> (</xsl:text>
+     <xsl:call-template name="gentext">
+       <xsl:with-param name="key" select="'see'"/>
+     </xsl:call-template>
+     <xsl:text> </xsl:text>
+     <xsl:value-of select="see"/>
+     <xsl:text>)</xsl:text>
+   </fo:inline>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-seealso">
+   <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:for-each select="seealso">
+    <xsl:sort select="translate(., &lowercase;, &uppercase;)"/>
+    <fo:block>
+      <xsl:text>(</xsl:text>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'seealso'"/>
+      </xsl:call-template>
+      <xsl:text> </xsl:text>
+      <xsl:value-of select="."/>
+      <xsl:text>)</xsl:text>
+    </fo:block>
+  </xsl:for-each>
+
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="generate-index-markup">
+  <xsl:param name="scope" select="(ancestor::book|/)[last()]"/>
+  <xsl:param name="role" select="@role"/>
+  <xsl:param name="type" select="@type"/>
+
+  <xsl:variable name="terms" select="$scope//indexterm[count(.|key('letter',
+                                     translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;))[&scope;][1]) = 1]"/>
+  <xsl:variable name="alphabetical"
+                select="$terms[contains(concat(&lowercase;, &uppercase;),
+                                        substring(&primary;, 1, 1))]"/>
+  <xsl:variable name="others" select="$terms[not(contains(concat(&lowercase;,
+                                                 &uppercase;),
+                                             substring(&primary;, 1, 1)))]"/>
+
+  <xsl:text>&lt;index&gt;&#10;</xsl:text>
+  <xsl:if test="$others">
+    <xsl:text>&#10;&lt;indexdiv&gt;&#10;</xsl:text>
+    <xsl:text>&lt;title&gt;</xsl:text>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'index symbols'"/>
+    </xsl:call-template>
+    <xsl:text>&lt;/title&gt;&#10;</xsl:text>
+    <xsl:apply-templates select="$others[count(.|key('primary',
+                                 &primary;)[&scope;][1]) = 1]"
+                         mode="index-symbol-div-markup">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/>
+    </xsl:apply-templates>
+    <xsl:text>&lt;/indexdiv&gt;&#10;</xsl:text>
+  </xsl:if>
+
+  <xsl:apply-templates select="$alphabetical[count(.|key('letter',
+                               translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;))[&scope;][1]) = 1]"
+                       mode="index-div-markup">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/>
+  </xsl:apply-templates>
+  <xsl:text>&lt;/index&gt;&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="*" mode="index-markup">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:text>&lt;</xsl:text>
+  <xsl:value-of select="local-name(.)"/>
+  <xsl:text>&gt;&#10;</xsl:text>
+  <xsl:apply-templates mode="index-markup">
+    <xsl:with-param name="scope" select="$scope"/>
+    <xsl:with-param name="role" select="$role"/>
+    <xsl:with-param name="type" select="$type"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-div-markup">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <xsl:variable name="key" select="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/>
+  <xsl:text>&#10;&lt;indexdiv&gt;&#10;</xsl:text>
+  <xsl:text>&lt;title&gt;</xsl:text>
+  <xsl:value-of select="translate($key, &lowercase;, &uppercase;)"/>
+  <xsl:text>&lt;/title&gt;&#10;</xsl:text>
+
+  <xsl:apply-templates select="key('letter', $key)[&scope;][count(.|key('primary', &primary;)[&scope;][1]) = 1]"
+                       mode="index-primary-markup">
+    <xsl:with-param name="scope" select="$scope"/>
+    <xsl:with-param name="role" select="$role"/>
+    <xsl:with-param name="type" select="$type"/>
+    <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/>
+  </xsl:apply-templates>
+  <xsl:text>&lt;/indexdiv&gt;&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-symbol-div-markup">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <xsl:variable name="key" select="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/>
+
+  <xsl:apply-templates select="key('letter', $key)[&scope;][count(.|key('primary', &primary;)[&scope;][1]) = 1]"
+                       mode="index-primary-markup">
+    <xsl:with-param name="scope" select="$scope"/>
+    <xsl:with-param name="role" select="$role"/>
+    <xsl:with-param name="type" select="$type"/>
+    <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-primary-markup">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <xsl:variable name="key" select="&primary;"/>
+  <xsl:variable name="refs" select="key('primary', $key)[&scope;]"/>
+  <xsl:variable name="pages" select="$refs[not(see) and not(seealso)]"/>
+
+  <xsl:text>&#10;&lt;indexentry&gt;&#10;</xsl:text>
+  <xsl:text>&lt;primaryie&gt;</xsl:text>
+  <xsl:text>&lt;phrase&gt;</xsl:text>
+  <xsl:call-template name="escape-text">
+    <xsl:with-param name="text" select="string(primary)"/>
+  </xsl:call-template>
+  <xsl:text>&lt;/phrase&gt;</xsl:text>
+  <xsl:if test="$pages">,</xsl:if>
+  <xsl:text>&#10;</xsl:text>
+
+  <xsl:for-each select="$pages">
+    <xsl:apply-templates select="." mode="reference-markup">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+    </xsl:apply-templates>
+  </xsl:for-each>
+
+  <xsl:text>&lt;/primaryie&gt;&#10;</xsl:text>
+
+  <xsl:if test="$refs/secondary or $refs[not(secondary)]/*[self::see or self::seealso]">
+    <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &sep;, &sep;, see))[&scope;][1])]"
+                         mode="index-see-markup">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/>
+    </xsl:apply-templates>
+
+    <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &sep;, &sep;, seealso))[&scope;][1])]"
+                         mode="index-seealso-markup">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/>
+    </xsl:apply-templates>
+
+    <xsl:apply-templates select="$refs[secondary and count(.|key('secondary', concat($key, &sep;, &secondary;))[&scope;][1]) = 1]" 
+                         mode="index-secondary-markup">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(&secondary;, &lowercase;, &uppercase;)"/>
+    </xsl:apply-templates>
+  </xsl:if>
+  <xsl:text>&lt;/indexentry&gt;&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-secondary-markup">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;)"/>
+  <xsl:variable name="refs" select="key('secondary', $key)[&scope;]"/>
+  <xsl:variable name="pages" select="$refs[not(see) and not(seealso)]"/>
+
+  <xsl:text>&lt;secondaryie&gt;</xsl:text>
+  <xsl:text>&lt;phrase&gt;</xsl:text>
+  <xsl:call-template name="escape-text">
+    <xsl:with-param name="text" select="string(secondary)"/>
+  </xsl:call-template>
+  <xsl:text>&lt;/phrase&gt;</xsl:text>
+  <xsl:if test="$pages">,</xsl:if>
+  <xsl:text>&#10;</xsl:text>
+
+  <xsl:for-each select="$pages">
+    <xsl:apply-templates select="." mode="reference-markup">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+    </xsl:apply-templates>
+  </xsl:for-each>
+
+  <xsl:text>&lt;/secondaryie&gt;&#10;</xsl:text>
+
+  <xsl:if test="$refs/tertiary or $refs[not(tertiary)]/*[self::see or self::seealso]">
+    <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, see))[&scope;][1])]"
+                         mode="index-see-markup">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, seealso))[&scope;][1])]"
+                         mode="index-seealso-markup">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates select="$refs[tertiary and count(.|key('tertiary', concat($key, &sep;, &tertiary;))[&scope;][1]) = 1]" 
+                         mode="index-tertiary-markup">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(&tertiary;, &lowercase;, &uppercase;)"/>
+    </xsl:apply-templates>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-tertiary-markup">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/>
+  <xsl:variable name="refs" select="key('tertiary', $key)[&scope;]"/>
+  <xsl:variable name="pages" select="$refs[not(see) and not(seealso)]"/>
+
+  <xsl:text>&lt;tertiaryie&gt;</xsl:text>
+  <xsl:text>&lt;phrase&gt;</xsl:text>
+  <xsl:call-template name="escape-text">
+    <xsl:with-param name="text" select="string(tertiary)"/>
+  </xsl:call-template>
+  <xsl:text>&lt;/phrase&gt;</xsl:text>
+  <xsl:if test="$pages">,</xsl:if>
+  <xsl:text>&#10;</xsl:text>
+
+  <xsl:for-each select="$pages">
+    <xsl:apply-templates select="." mode="reference-markup">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+    </xsl:apply-templates>
+  </xsl:for-each>
+
+  <xsl:text>&lt;/tertiaryie&gt;&#10;</xsl:text>
+
+  <xsl:variable name="see" select="$refs/see | $refs/seealso"/>
+  <xsl:if test="$see">
+    <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see))[&scope;][1])]"
+                         mode="index-see-markup">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, seealso))[&scope;][1])]"
+                         mode="index-seealso-markup">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/>
+    </xsl:apply-templates>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="reference-markup">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:choose>
+    <xsl:when test="@zone and string(@zone)">
+      <xsl:call-template name="reference-markup">
+        <xsl:with-param name="zones" select="normalize-space(@zone)"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:variable>
+
+
+      <xsl:choose>
+        <xsl:when test="@startref and @class='endofrange'">
+          <xsl:text>&lt;phrase role="pageno"&gt;</xsl:text>
+          <xsl:text>&lt;link linkend="</xsl:text>
+          <xsl:value-of select="@startref"/>
+          <xsl:text>"&gt;</xsl:text>
+          <fo:basic-link internal-destination="{@startref}"
+                     xsl:use-attribute-sets="index.page.number.properties">
+            <fo:page-number-citation ref-id="{@startref}"/>
+            <xsl:text>-</xsl:text>
+            <fo:page-number-citation ref-id="{$id}"/>
+          </fo:basic-link>
+          <xsl:text>&lt;/link&gt;</xsl:text>
+          <xsl:text>&lt;/phrase&gt;&#10;</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>&lt;phrase role="pageno"&gt;</xsl:text>
+          <xsl:if test="$id">
+            <xsl:text>&lt;link linkend="</xsl:text>
+            <xsl:value-of select="$id"/>
+            <xsl:text>"&gt;</xsl:text>
+          </xsl:if>
+          <fo:basic-link internal-destination="{$id}"
+                     xsl:use-attribute-sets="index.page.number.properties">
+            <fo:page-number-citation ref-id="{$id}"/>
+          </fo:basic-link>
+          <xsl:if test="$id">
+            <xsl:text>&lt;/link&gt;</xsl:text>
+          </xsl:if>
+          <xsl:text>&lt;/phrase&gt;&#10;</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="reference-markup">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <xsl:param name="zones"/>
+  <xsl:choose>
+    <xsl:when test="contains($zones, ' ')">
+      <xsl:variable name="zone" select="substring-before($zones, ' ')"/>
+      <xsl:variable name="target" select="key('id', $zone)[&scope;]"/>
+
+      <xsl:variable name="id">
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select="$target[1]"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:text>&lt;phrase fole="pageno"&gt;</xsl:text>
+      <xsl:if test="$target[1]/@id or $target[1]/@xml:id">
+        <xsl:text>&lt;link linkend="</xsl:text>
+        <xsl:value-of select="$id"/>
+        <xsl:text>"&gt;</xsl:text>
+      </xsl:if>
+      <fo:basic-link internal-destination="{$id}"
+                     xsl:use-attribute-sets="index.page.number.properties">
+        <fo:page-number-citation ref-id="{$id}"/>
+      </fo:basic-link>
+      <xsl:if test="$target[1]/@id or $target[1]/@xml:id">
+        <xsl:text>&lt;/link&gt;</xsl:text>
+      </xsl:if>
+      <xsl:text>&lt;/phrase&gt;&#10;</xsl:text>
+
+      <xsl:call-template name="reference">
+        <xsl:with-param name="zones" select="substring-after($zones, ' ')"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="zone" select="$zones"/>
+      <xsl:variable name="target" select="key('id', $zone)[&scope;]"/>
+
+      <xsl:variable name="id">
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select="$target[1]"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:text>&lt;phrase role="pageno"&gt;</xsl:text>
+      <xsl:if test="$target[1]/@id or target[1]/@xml:id">
+        <xsl:text>&lt;link linkend="</xsl:text>
+        <xsl:value-of select="$id"/>
+        <xsl:text>"&gt;</xsl:text>
+      </xsl:if>
+      <fo:basic-link internal-destination="{$id}"
+                     xsl:use-attribute-sets="index.page.number.properties">
+        <fo:page-number-citation ref-id="{$id}"/>
+      </fo:basic-link>
+      <xsl:if test="$target[1]/@id or target[1]/@xml:id">
+        <xsl:text>&lt;/link&gt;</xsl:text>
+      </xsl:if>
+      <xsl:text>&lt;/phrase&gt;&#10;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-see-markup">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <fo:block>
+    <xsl:text>&lt;seeie&gt;</xsl:text>
+    <xsl:text>&lt;phrase&gt;</xsl:text>
+    <xsl:call-template name="escape-text">
+      <xsl:with-param name="text" select="string(see)"/>
+    </xsl:call-template>
+    <xsl:text>&lt;/phrase&gt;</xsl:text>
+    <xsl:text>&lt;/seeie&gt;&#10;</xsl:text>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-seealso-markup">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <fo:block>
+    <xsl:text>&lt;seealsoie&gt;</xsl:text>
+    <xsl:text>&lt;phrase&gt;</xsl:text>
+    <xsl:call-template name="escape-text">
+      <xsl:with-param name="text" select="string(seealso)"/>
+    </xsl:call-template>
+    <xsl:text>&lt;/phrase&gt;</xsl:text>
+    <xsl:text>&lt;/seealsoie&gt;&#10;</xsl:text>
+  </fo:block>
+</xsl:template>
+
+<xsl:template name="escape-text">
+  <xsl:param name="text" select="''"/>
+
+  <xsl:variable name="ltpos" select="substring-before($text, '&lt;')"/>
+  <xsl:variable name="amppos" select="substring-before($text, '&amp;')"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($text,'&lt;') and contains($text, '&amp;')
+                    and string-length($ltpos) &lt; string-length($amppos)">
+      <xsl:value-of select="$ltpos"/>
+      <xsl:text>&amp;lt;</xsl:text>
+      <xsl:call-template name="escape-text">
+        <xsl:with-param name="text" select="substring-after($text, '&lt;')"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:when test="contains($text,'&lt;') and contains($text, '&amp;')
+                    and string-length($amppos) &lt; string-length($ltpos)">
+      <xsl:value-of select="$amppos"/>
+      <xsl:text>&amp;amp;</xsl:text>
+      <xsl:call-template name="escape-text">
+        <xsl:with-param name="text" select="substring-after($text, '&amp;')"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:when test="contains($text, '&lt;')">
+      <xsl:value-of select="$ltpos"/>
+      <xsl:text>&amp;lt;</xsl:text>
+      <xsl:call-template name="escape-text">
+        <xsl:with-param name="text" select="substring-after($text, '&lt;')"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:when test="contains($text, '&amp;')">
+      <xsl:value-of select="$amppos"/>
+      <xsl:text>&amp;amp;</xsl:text>
+      <xsl:call-template name="escape-text">
+        <xsl:with-param name="text" select="substring-after($text, '&amp;')"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:value-of select="$text"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="index.separator">
+  <xsl:param name="key" select="''"/>
+  <xsl:param name="lang">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$key = 'index.term.separator'">
+      <xsl:choose>
+        <!-- Use the override if not blank -->
+        <xsl:when test="$index.term.separator != ''">
+          <xsl:copy-of select="$index.term.separator"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="lang" select="$lang"/>
+            <xsl:with-param name="context">index</xsl:with-param>
+            <xsl:with-param name="name">term-separator</xsl:with-param>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$key = 'index.number.separator'">
+      <xsl:choose>
+        <!-- Use the override if not blank -->
+        <xsl:when test="$index.number.separator != ''">
+          <xsl:copy-of select="$index.number.separator"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="lang" select="$lang"/>
+            <xsl:with-param name="context">index</xsl:with-param>
+            <xsl:with-param name="name">number-separator</xsl:with-param>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$key = 'index.range.separator'">
+      <xsl:choose>
+        <!-- Use the override if not blank -->
+        <xsl:when test="$index.range.separator != ''">
+          <xsl:copy-of select="$index.range.separator"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="lang" select="$lang"/>
+            <xsl:with-param name="context">index</xsl:with-param>
+            <xsl:with-param name="name">range-separator</xsl:with-param>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/autotoc.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/autotoc.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/autotoc.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,806 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: autotoc.xsl 6487 2007-01-12 07:50:17Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template name="set.toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="nodes" select="book|setindex"/>
+
+  <xsl:if test="$nodes">
+    <fo:block id="toc...{$id}"
+              xsl:use-attribute-sets="toc.margin.properties">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:attribute name="axf:outline-level">1</xsl:attribute>
+        <xsl:attribute name="axf:outline-expand">false</xsl:attribute>
+        <xsl:attribute name="axf:outline-title">
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'TableofContents'"/>
+          </xsl:call-template>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:call-template name="table.of.contents.titlepage"/>
+      <xsl:apply-templates select="$nodes" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="division.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="nodes"
+                select="$toc-context/part
+                        |$toc-context/reference
+                        |$toc-context/preface
+                        |$toc-context/chapter
+                        |$toc-context/appendix
+                        |$toc-context/article
+                        |$toc-context/bibliography
+                        |$toc-context/glossary
+                        |$toc-context/index"/>
+
+  <xsl:if test="$nodes">
+    <fo:block id="toc...{$cid}"
+              xsl:use-attribute-sets="toc.margin.properties">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:attribute name="axf:outline-level">1</xsl:attribute>
+        <xsl:attribute name="axf:outline-expand">false</xsl:attribute>
+        <xsl:attribute name="axf:outline-title">
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'TableofContents'"/>
+          </xsl:call-template>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="$toc.title.p">
+        <xsl:call-template name="table.of.contents.titlepage"/>
+      </xsl:if>
+      <xsl:apply-templates select="$nodes" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="component.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="nodes" select="section|sect1|refentry
+                                     |article|bibliography|glossary
+                                     |appendix|index"/>
+  <xsl:if test="$nodes">
+    <fo:block id="toc...{$id}"
+              xsl:use-attribute-sets="toc.margin.properties">
+      <xsl:if test="$toc.title.p">
+        <xsl:call-template name="table.of.contents.titlepage"/>
+      </xsl:if>
+      <xsl:apply-templates select="$nodes" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="component.toc.separator">
+  <!-- Customize to output something between
+       component.toc and first output -->
+</xsl:template>
+
+<xsl:template name="section.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="nodes"
+                select="section|sect1|sect2|sect3|sect4|sect5|refentry
+                        |bridgehead[$bridgehead.in.toc != 0]"/>
+
+  <xsl:variable name="level">
+    <xsl:call-template name="section.level"/>
+  </xsl:variable>
+
+  <xsl:if test="$nodes">
+    <fo:block id="toc...{$id}"
+              xsl:use-attribute-sets="toc.margin.properties">
+
+      <xsl:if test="$toc.title.p">
+        <xsl:call-template name="section.heading">
+          <xsl:with-param name="level" select="$level + 1"/>
+          <xsl:with-param name="title">
+            <fo:block space-after="0.5em">
+              <xsl:call-template name="gentext">
+                <xsl:with-param name="key" select="'TableofContents'"/>
+              </xsl:call-template>
+            </fo:block>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+
+      <xsl:apply-templates select="$nodes" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="section.toc.separator">
+  <!-- Customize to output something between
+       section.toc and first output -->
+</xsl:template>
+<!-- ==================================================================== -->
+
+<xsl:template name="toc.line">
+  <xsl:param name="toc-context" select="NOTANODE"/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="label">
+    <xsl:apply-templates select="." mode="label.markup"/>
+  </xsl:variable>
+
+  <fo:block xsl:use-attribute-sets="toc.line.properties"
+            end-indent="{$toc.indent.width}pt"
+            last-line-end-indent="-{$toc.indent.width}pt">
+    <fo:inline keep-with-next.within-line="always">
+      <fo:basic-link internal-destination="{$id}">
+        <xsl:if test="$label != ''">
+          <xsl:copy-of select="$label"/>
+          <xsl:value-of select="$autotoc.label.separator"/>
+        </xsl:if>
+        <xsl:apply-templates select="." mode="titleabbrev.markup"/>
+      </fo:basic-link>
+    </fo:inline>
+    <fo:inline keep-together.within-line="always">
+      <xsl:text> </xsl:text>
+      <fo:leader leader-pattern="dots"
+                 leader-pattern-width="3pt"
+                 leader-alignment="reference-area"
+                 keep-with-next.within-line="always"/>
+      <xsl:text> </xsl:text> 
+      <fo:basic-link internal-destination="{$id}">
+        <fo:page-number-citation ref-id="{$id}"/>
+      </fo:basic-link>
+    </fo:inline>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<xsl:template name="qandaset.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="nodes" select="qandadiv|qandaentry"/>
+
+  <xsl:if test="$nodes">
+    <fo:block id="toc...{$id}"
+              xsl:use-attribute-sets="toc.margin.properties">
+      <xsl:if test="$toc.title.p">
+        <xsl:call-template name="table.of.contents.titlepage"/>
+      </xsl:if>
+      <xsl:apply-templates select="$nodes" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="qandaset.toc.separator">
+  <!-- Customize to output something between
+       qandaset.toc and first output -->
+</xsl:template>
+
+<xsl:template match="qandadiv" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+
+  <xsl:variable name="nodes" select="qandadiv|qandaentry"/>
+
+  <xsl:if test="$nodes">
+    <fo:block id="toc.{$cid}.{$id}">
+      <xsl:attribute name="margin-left">
+        <xsl:call-template name="set.toc.indent"/>
+      </xsl:attribute>
+
+      <xsl:apply-templates select="$nodes" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="qandaentry" mode="toc">
+  <xsl:apply-templates select="question" mode="toc"/>
+</xsl:template>
+
+<xsl:template match="question" mode="toc">
+  <xsl:variable name="firstchunk">
+    <xsl:apply-templates select="(*[local-name(.)!='label'])[1]/node()"/>
+  </xsl:variable>
+
+  <xsl:variable name="deflabel">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+        <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]
+                              /@defaultlabel"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$qanda.defaultlabel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="label">
+    <xsl:apply-templates select="." mode="label.markup"/>
+  </xsl:variable>
+
+  <fo:block xsl:use-attribute-sets="toc.line.properties"
+	    margin-left="3em"
+	    text-indent="-3em"
+            end-indent="{$toc.indent.width}pt"
+            last-line-end-indent="-{$toc.indent.width}pt">
+    <fo:inline keep-with-next.within-line="always">
+      <fo:basic-link internal-destination="{$id}">
+        <xsl:if test="$label != ''">
+          <xsl:copy-of select="$label"/>
+          <xsl:if test="$deflabel = 'number' and not(label)">
+            <xsl:value-of select="$autotoc.label.separator"/>
+          </xsl:if>
+	  <xsl:text> </xsl:text>
+        </xsl:if>
+        <xsl:copy-of select="$firstchunk"/>
+      </fo:basic-link>
+    </fo:inline>
+    <fo:inline keep-together.within-line="always">
+      <xsl:text> </xsl:text>
+      <fo:leader leader-pattern="dots"
+                 leader-pattern-width="3pt"
+                 leader-alignment="reference-area"
+                 keep-with-next.within-line="always"/>
+      <xsl:text> </xsl:text> 
+      <fo:basic-link internal-destination="{$id}">
+        <fo:page-number-citation ref-id="{$id}"/>
+      </fo:basic-link>
+    </fo:inline>
+  </fo:block>
+
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="book|setindex" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+
+  <xsl:variable name="nodes" select="glossary|bibliography|preface|chapter
+                                     |reference|part|article|appendix|index"/>
+
+  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:if test="$toc.section.depth > 0 
+                and $toc.max.depth > $depth.from.context
+                and $nodes">
+    <fo:block id="toc.{$cid}.{$id}">
+      <xsl:attribute name="margin-left">
+        <xsl:call-template name="set.toc.indent"/>
+      </xsl:attribute>
+
+      <xsl:apply-templates select="$nodes" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="part" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+
+  <xsl:variable name="nodes" select="chapter|appendix|preface|reference|
+                                     refentry|article|index|glossary|
+                                     bibliography"/>
+
+  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:if test="$toc.section.depth > 0 
+                and $toc.max.depth > $depth.from.context
+                and $nodes">
+    <fo:block id="toc.{$cid}.{$id}">
+      <xsl:attribute name="margin-left">
+        <xsl:call-template name="set.toc.indent"/>
+      </xsl:attribute>
+      
+      <xsl:apply-templates select="$nodes" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="reference" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+
+  <xsl:if test="$toc.section.depth > 0
+                and $toc.max.depth > $depth.from.context
+                and refentry">
+    <fo:block id="toc.{$cid}.{$id}">
+      <xsl:attribute name="margin-left">
+        <xsl:call-template name="set.toc.indent"/>
+      </xsl:attribute>
+              
+      <xsl:apply-templates select="refentry" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refentry" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="preface|chapter|appendix|article"
+              mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+
+  <xsl:variable name="nodes" select="section|sect1
+                                     |simplesect[$simplesect.in.toc != 0]
+                                     |refentry|appendix"/>
+
+  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:if test="$toc.section.depth > 0 
+                and $toc.max.depth > $depth.from.context
+                and $nodes">
+    <fo:block id="toc.{$cid}.{$id}">
+      <xsl:attribute name="margin-left">
+        <xsl:call-template name="set.toc.indent"/>
+      </xsl:attribute>
+              
+      <xsl:apply-templates select="$nodes" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect1" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+
+  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:if test="$toc.section.depth > 1 
+                and $toc.max.depth > $depth.from.context
+                and sect2">
+    <fo:block id="toc.{$cid}.{$id}">
+      <xsl:attribute name="margin-left">
+        <xsl:call-template name="set.toc.indent"/>
+      </xsl:attribute>
+              
+      <xsl:apply-templates select="sect2" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect2" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+
+  <xsl:variable name="reldepth"
+                select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:if test="$toc.section.depth > 2 
+                and $toc.max.depth > $depth.from.context
+                and sect3">
+    <fo:block id="toc.{$cid}.{$id}">
+      <xsl:attribute name="margin-left">
+        <xsl:call-template name="set.toc.indent">
+          <xsl:with-param name="reldepth" select="$reldepth"/>
+        </xsl:call-template>
+      </xsl:attribute>
+              
+      <xsl:apply-templates select="sect3" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect3" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+
+  <xsl:variable name="reldepth"
+                select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:if test="$toc.section.depth > 3 
+                and $toc.max.depth > $depth.from.context
+                and sect4">
+    <fo:block id="toc.{$cid}.{$id}">
+      <xsl:attribute name="margin-left">
+        <xsl:call-template name="set.toc.indent">
+          <xsl:with-param name="reldepth" select="$reldepth"/>
+        </xsl:call-template>
+      </xsl:attribute>
+              
+      <xsl:apply-templates select="sect4" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect4" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+
+  <xsl:variable name="reldepth"
+                select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:if test="$toc.section.depth > 4 
+                and $toc.max.depth > $depth.from.context
+                and sect5">
+    <fo:block id="toc.{$cid}.{$id}">
+      <xsl:attribute name="margin-left">
+        <xsl:call-template name="set.toc.indent">
+          <xsl:with-param name="reldepth" select="$reldepth"/>
+        </xsl:call-template>
+      </xsl:attribute>
+              
+      <xsl:apply-templates select="sect5" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect5|simplesect" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="set.toc.indent">
+  <xsl:param name="reldepth"/>
+
+  <xsl:variable name="depth">
+    <xsl:choose>
+      <xsl:when test="$reldepth != ''">
+        <xsl:value-of select="$reldepth"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="count(ancestor::*)"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$fop.extensions != 0 or $passivetex.extensions != 0">
+       <xsl:value-of select="concat($depth*$toc.indent.width, 'pt')"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="concat($toc.indent.width, 'pt')"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+
+<xsl:template match="section" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="cid">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="depth" select="count(ancestor::section) + 1"/>
+  <xsl:variable name="reldepth"
+                select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:if test="$toc.section.depth &gt;= $depth">
+    <xsl:call-template name="toc.line">
+      <xsl:with-param name="toc-context" select="$toc-context"/>
+    </xsl:call-template>
+
+    <xsl:if test="$toc.section.depth > $depth 
+                  and $toc.max.depth > $depth.from.context
+                  and section">
+      <fo:block id="toc.{$cid}.{$id}">
+        <xsl:attribute name="margin-left">
+          <xsl:call-template name="set.toc.indent">
+            <xsl:with-param name="reldepth" select="$reldepth"/>
+          </xsl:call-template>
+        </xsl:attribute>
+                
+        <xsl:apply-templates select="section" mode="toc">
+          <xsl:with-param name="toc-context" select="$toc-context"/>
+        </xsl:apply-templates>
+      </fo:block>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="bibliography|glossary"
+              mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="index" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:if test="* or $generate.index != 0">
+    <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="title" mode="toc">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="list.of.titles">
+  <xsl:param name="titles" select="'table'"/>
+  <xsl:param name="nodes" select=".//table"/>
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:if test="$nodes">
+    <fo:block id="lot...{$titles}...{$id}">
+      <xsl:choose>
+        <xsl:when test="$titles='table'">
+          <xsl:call-template name="list.of.tables.titlepage"/>
+        </xsl:when>
+        <xsl:when test="$titles='figure'">
+          <xsl:call-template name="list.of.figures.titlepage"/>
+        </xsl:when>
+        <xsl:when test="$titles='equation'">
+          <xsl:call-template name="list.of.equations.titlepage"/>
+        </xsl:when>
+        <xsl:when test="$titles='example'">
+          <xsl:call-template name="list.of.examples.titlepage"/>
+        </xsl:when>
+        <xsl:when test="$titles='procedure'">
+          <xsl:call-template name="list.of.procedures.titlepage"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.unknowns.titlepage"/>
+        </xsl:otherwise>
+      </xsl:choose>
+      <xsl:apply-templates select="$nodes" mode="toc">
+        <xsl:with-param name="toc-context" select="$toc-context"/>
+      </xsl:apply-templates>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="figure|table|example|equation|procedure" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:call-template name="toc.line">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/fo/axf.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/axf.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/axf.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,110 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: axf.xsl 6483 2007-01-08 18:00:22Z bobstayton $
+     ******************************************************************** -->
+
+<xsl:template name="axf-document-information">
+
+    <xsl:variable name="authors" select="(//author|//editor|
+                                          //corpauthor|//authorgroup)[1]"/>
+    <xsl:if test="$authors">
+      <xsl:variable name="author">
+        <xsl:choose>
+          <xsl:when test="$authors[self::authorgroup]">
+            <xsl:call-template name="person.name.list">
+              <xsl:with-param name="person.list" 
+                 select="$authors/*[self::author|self::corpauthor|
+                               self::othercredit|self::editor]"/>
+            </xsl:call-template>
+          </xsl:when>
+          <xsl:when test="$authors[self::corpauthor]">
+            <xsl:value-of select="$authors"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="person.name">
+              <xsl:with-param name="node" select="$authors"/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:element name="axf:document-info">
+        <xsl:attribute name="name">author</xsl:attribute>
+        <xsl:attribute name="value">
+          <xsl:value-of select="normalize-space($author)"/>
+        </xsl:attribute>
+      </xsl:element>
+    </xsl:if>
+
+    <xsl:variable name="title">
+      <xsl:apply-templates select="/*[1]" mode="label.markup"/>
+      <xsl:apply-templates select="/*[1]" mode="title.markup"/>
+    </xsl:variable>
+
+    <!-- * see bug report #1465301 - mzjn -->
+    <axf:document-info name="title">
+      <xsl:attribute name="value">
+        <xsl:value-of select="normalize-space($title)"/>
+      </xsl:attribute>
+    </axf:document-info>
+
+    <xsl:if test="//keyword">
+      <xsl:element name="axf:document-info">
+        <xsl:attribute name="name">keywords</xsl:attribute>
+        <xsl:attribute name="value">
+          <xsl:for-each select="//keyword">
+            <xsl:value-of select="normalize-space(.)"/>
+            <xsl:if test="position() != last()">
+              <xsl:text>, </xsl:text>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:attribute>
+      </xsl:element>
+    </xsl:if>
+
+    <xsl:if test="//subjectterm">
+      <xsl:element name="axf:document-info">
+        <xsl:attribute name="name">subject</xsl:attribute>
+        <xsl:attribute name="value">
+          <xsl:for-each select="//subjectterm">
+            <xsl:value-of select="normalize-space(.)"/>
+            <xsl:if test="position() != last()">
+              <xsl:text>, </xsl:text>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:attribute>
+      </xsl:element>
+    </xsl:if>
+
+</xsl:template>
+
+<!-- These properties are added to fo:simple-page-master -->
+<xsl:template name="axf-page-master-properties">
+  <xsl:param name="page.master" select="''"/>
+
+  <xsl:if test="$crop.marks != 0">
+    <xsl:attribute name="axf:printer-marks">crop</xsl:attribute>
+    <xsl:attribute name="axf:bleed"><xsl:value-of
+                          select="$crop.mark.bleed"/></xsl:attribute>
+    <xsl:attribute name="axf:printer-marks-line-width"><xsl:value-of
+                          select="$crop.mark.width"/></xsl:attribute>
+    <xsl:attribute name="axf:crop-offset"><xsl:value-of
+                          select="$crop.mark.offset"/></xsl:attribute>
+  </xsl:if>
+
+  <xsl:call-template name="user-axf-page-master-properties">
+    <xsl:with-param name="page.master" select="$page.master"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+<xsl:template name="user-axf-page-master-properties">
+  <xsl:param name="page.master" select="''"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/biblio.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/biblio.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/biblio.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1162 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: biblio.xsl 6402 2006-11-12 08:23:21Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="bibliography">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="not(parent::*) or parent::part or parent::book">
+      <xsl:variable name="master-reference">
+        <xsl:call-template name="select.pagemaster"/>
+      </xsl:variable>
+
+      <fo:page-sequence hyphenate="{$hyphenate}"
+                        master-reference="{$master-reference}">
+        <xsl:attribute name="language">
+          <xsl:call-template name="l10n.language"/>
+        </xsl:attribute>
+        <xsl:attribute name="format">
+          <xsl:call-template name="page.number.format">
+            <xsl:with-param name="master-reference" select="$master-reference"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="initial-page-number">
+          <xsl:call-template name="initial.page.number">
+            <xsl:with-param name="master-reference" select="$master-reference"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="force-page-count">
+          <xsl:call-template name="force.page.count">
+            <xsl:with-param name="master-reference" select="$master-reference"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="hyphenation-character">
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'hyphenation-character'"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="hyphenation-push-character-count">
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="hyphenation-remain-character-count">
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+          </xsl:call-template>
+        </xsl:attribute>
+
+        <xsl:apply-templates select="." mode="running.head.mode">
+          <xsl:with-param name="master-reference" select="$master-reference"/>
+        </xsl:apply-templates>
+        <xsl:apply-templates select="." mode="running.foot.mode">
+          <xsl:with-param name="master-reference" select="$master-reference"/>
+        </xsl:apply-templates>
+
+        <fo:flow flow-name="xsl-region-body">
+          <xsl:call-template name="set.flow.properties">
+            <xsl:with-param name="element" select="local-name(.)"/>
+            <xsl:with-param name="master-reference" select="$master-reference"/>
+          </xsl:call-template>
+
+          <fo:block id="{$id}">
+            <xsl:call-template name="bibliography.titlepage"/>
+          </fo:block>
+          <xsl:apply-templates/>
+        </fo:flow>
+      </fo:page-sequence>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block id="{$id}"
+                space-before.minimum="1em"
+                space-before.optimum="1.5em"
+                space-before.maximum="2em">
+        <xsl:call-template name="bibliography.titlepage"/>
+      </fo:block>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="bibliography/bibliographyinfo"></xsl:template>
+<xsl:template match="bibliography/info"></xsl:template>
+<xsl:template match="bibliography/title"></xsl:template>
+<xsl:template match="bibliography/subtitle"></xsl:template>
+<xsl:template match="bibliography/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="bibliodiv">
+  <fo:block>
+    <xsl:attribute name="id">
+      <xsl:call-template name="object.id"/>
+    </xsl:attribute>
+    <xsl:call-template name="bibliodiv.titlepage"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="bibliodiv/title"/>
+<xsl:template match="bibliodiv/subtitle"/>
+<xsl:template match="bibliodiv/titleabbrev"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="bibliolist">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}"
+            space-before.minimum="1em"
+            space-before.optimum="1.5em"
+            space-before.maximum="2em">
+
+    <xsl:if test="blockinfo/title|info/title|title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="*[not(self::blockinfo)
+                                   and not(self::info)
+                                   and not(self::title)
+                                   and not(self::titleabbrev)]"/>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="biblioentry">
+  <xsl:param name="label">
+    <xsl:call-template name="biblioentry.label"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="string(.) = ''">
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
+      <xsl:variable name="entry" select="$bib/bibliography/
+                                         *[@id=$id or @xml:id=$id][1]"/>
+      <xsl:choose>
+        <xsl:when test="$entry">
+          <xsl:choose>
+            <xsl:when test="$bibliography.numbered != 0">
+              <xsl:apply-templates select="$entry">
+                <xsl:with-param name="label" select="$label"/>
+              </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="$entry"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>No bibliography entry: </xsl:text>
+            <xsl:value-of select="$id"/>
+            <xsl:text> found in </xsl:text>
+            <xsl:value-of select="$bibliography.collection"/>
+          </xsl:message>
+          <fo:block id="{$id}" xsl:use-attribute-sets="normal.para.spacing">
+            <xsl:text>Error: no bibliography entry: </xsl:text>
+            <xsl:value-of select="$id"/>
+            <xsl:text> found in </xsl:text>
+            <xsl:value-of select="$bibliography.collection"/>
+          </fo:block>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block id="{$id}" xsl:use-attribute-sets="biblioentry.properties">
+        <xsl:copy-of select="$label"/>
+        <xsl:apply-templates mode="bibliography.mode"/>
+      </fo:block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="bibliomixed">
+  <xsl:param name="label">
+    <xsl:call-template name="biblioentry.label"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="string(.) = ''">
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
+      <xsl:variable name="entry" select="$bib/bibliography/
+                                         *[@id=$id or @xml:id=$id][1]"/>
+      <xsl:choose>
+        <xsl:when test="$entry">
+          <xsl:choose>
+            <xsl:when test="$bibliography.numbered != 0">
+              <xsl:apply-templates select="$entry">
+                <xsl:with-param name="label" select="$label"/>
+              </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="$entry"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>No bibliography entry: </xsl:text>
+            <xsl:value-of select="$id"/>
+            <xsl:text> found in </xsl:text>
+            <xsl:value-of select="$bibliography.collection"/>
+          </xsl:message>
+          <fo:block id="{$id}" xsl:use-attribute-sets="normal.para.spacing">
+            <xsl:text>Error: no bibliography entry: </xsl:text>
+            <xsl:value-of select="$id"/>
+            <xsl:text> found in </xsl:text>
+            <xsl:value-of select="$bibliography.collection"/>
+          </fo:block>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block id="{$id}" xsl:use-attribute-sets="biblioentry.properties">
+        <xsl:copy-of select="$label"/>
+        <xsl:apply-templates mode="bibliomixed.mode"/>
+      </fo:block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="biblioentry.label">
+  <xsl:param name="node" select="."/>
+
+  <xsl:choose>
+    <xsl:when test="$bibliography.numbered != 0">
+      <xsl:text>[</xsl:text>
+      <xsl:number from="bibliography" count="biblioentry|bibliomixed"
+                  level="any" format="1"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:when test="local-name($node/child::*[1]) = 'abbrev'">
+      <xsl:text>[</xsl:text>
+      <xsl:apply-templates select="$node/abbrev[1]"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:when test="$node/@xreflabel">
+      <xsl:text>[</xsl:text>
+      <xsl:value-of select="$node/@xreflabel"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:when test="$node/@id or $node/@xml:id">
+      <xsl:text>[</xsl:text>
+      <xsl:value-of select="($node/@id|$node/@xml:id)[1]"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:otherwise><!-- nop --></xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="bibliography.mode">
+  <xsl:apply-templates select="."/><!-- try the default mode -->
+</xsl:template>
+
+<xsl:template match="abbrev" mode="bibliography.mode">
+  <xsl:if test="preceding-sibling::*">
+    <fo:inline>
+      <xsl:apply-templates mode="bibliography.mode"/>
+    </fo:inline>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="abstract" mode="bibliography.mode">
+  <!-- suppressed -->
+</xsl:template>
+
+<xsl:template match="address" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="affiliation" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="shortaffil" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="jobtitle" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="artheader|articleinfo|article/info" 
+              mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="artpagenums" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="author" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:call-template name="person.name"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="authorblurb|personblurb" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:call-template name="person.name.list"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="authorinitials" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="bibliomisc" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="bibliomset" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="biblioset" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="biblioset/title|biblioset/citetitle" 
+              mode="bibliography.mode">
+  <xsl:variable name="relation" select="../@relation"/>
+  <xsl:choose>
+    <xsl:when test="$relation='article' or @pubwork='article'">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:apply-templates mode="bibliography.mode"/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:inline font-style="italic">
+        <xsl:apply-templates/>
+      </fo:inline>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:value-of select="$biblioentry.item.separator"/>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="bookbiblio" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="citetitle" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:choose>
+      <xsl:when test="@pubwork = 'article'">
+        <xsl:call-template name="gentext.startquote"/>
+        <xsl:apply-templates mode="bibliography.mode"/>
+        <xsl:call-template name="gentext.endquote"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <fo:inline font-style="italic">
+          <xsl:apply-templates mode="bibliography.mode"/>
+        </fo:inline>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="collab" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="confgroup" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="contractnum" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="contractsponsor" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="contrib" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="copyright" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'Copyright'"/>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">copyright</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="year" mode="bibliography.mode"/>
+    <xsl:if test="holder">
+      <xsl:call-template name="gentext.space"/>
+      <xsl:apply-templates select="holder" mode="bibliography.mode"/>
+    </xsl:if>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="year" mode="bibliography.mode">
+  <xsl:apply-templates/><xsl:text>, </xsl:text>
+</xsl:template>
+
+<xsl:template match="year[position()=last()]" mode="bibliography.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="holder" mode="bibliography.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="corpauthor" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="corpcredit" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="corpname" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="date" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="edition" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="editor" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:call-template name="person.name"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="firstname" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="honorific" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="bibliography.mode">
+  <xsl:apply-templates select="."/> 
+</xsl:template>
+
+<xsl:template match="invpartnumber" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="isbn" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="issn" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="issuenum" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="lineage" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="orgname" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="othername" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="pagenums" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="printhistory" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="productname" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="productnumber" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="publisher" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="publishername" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="pubsnumber" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="bibliography.mode">
+  <fo:block>
+    <xsl:apply-templates select="."/> <!-- use normal mode -->
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="seriesinfo" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="seriesvolnums" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="surname" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="title" mode="bibliography.mode">
+  <fo:inline>
+    <fo:inline font-style="italic">
+      <xsl:apply-templates mode="bibliography.mode"/>
+    </fo:inline>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="titleabbrev" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="volumenum" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="orgdiv" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="collabname" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="confdates" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="conftitle" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="confnum" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="confsponsor" mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource"
+              mode="bibliography.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </fo:inline>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="bibliomixed.mode">
+  <xsl:apply-templates select="."/><!-- try the default mode -->
+</xsl:template>
+
+<xsl:template match="abbrev" mode="bibliomixed.mode">
+  <xsl:if test="preceding-sibling::*">
+    <fo:inline>
+      <xsl:apply-templates mode="bibliomixed.mode"/>
+    </fo:inline>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="abstract" mode="bibliomixed.mode">
+  <fo:block start-indent="1in">
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="para" mode="bibliomixed.mode">
+  <fo:block>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="address" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="affiliation" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="shortaffil" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="jobtitle" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliography.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="artpagenums" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="author" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:call-template name="person.name"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="authorblurb|personblurb" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="authorinitials" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="bibliomisc" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="bibliomset" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="bibliomset/title|bibliomset/citetitle" 
+              mode="bibliomixed.mode">
+  <xsl:variable name="relation" select="../@relation"/>
+  <xsl:choose>
+    <xsl:when test="$relation='article' or @pubwork='article'">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:apply-templates mode="bibliomixed.mode"/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:inline font-style="italic">
+        <xsl:apply-templates/>
+      </fo:inline>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="biblioset" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="citetitle" mode="bibliomixed.mode">
+  <xsl:choose>
+    <xsl:when test="@pubwork = 'article'">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:apply-templates mode="bibliomixed.mode"/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:inline font-style="italic">
+        <xsl:apply-templates mode="bibliography.mode"/>
+      </fo:inline>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="collab" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="confgroup" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="contractnum" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="contractsponsor" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="contrib" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="copyright" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="corpcredit" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="corpname" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="date" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="edition" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="editor" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="firstname" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="honorific" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="bibliomixed.mode">
+  <xsl:apply-templates select="."/> 
+</xsl:template>
+
+<xsl:template match="invpartnumber" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="isbn" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="issn" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="issuenum" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="lineage" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="orgname" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="othername" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="pagenums" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="printhistory" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="productname" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="productnumber" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="publisher" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="publishername" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="pubsnumber" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="seriesvolnums" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="surname" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="title" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="titleabbrev" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="volumenum" mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource"
+              mode="bibliomixed.mode">
+  <fo:inline>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </fo:inline>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/block.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/block.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/block.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,612 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: block.xsl 6402 2006-11-12 08:23:21Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- What should we do about styling blockinfo? -->
+
+<xsl:template match="blockinfo|info">
+  <!-- suppress -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="block.object">
+  <fo:block>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="para">
+  <fo:block xsl:use-attribute-sets="normal.para.spacing">
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="simpara">
+  <fo:block xsl:use-attribute-sets="normal.para.spacing">
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="formalpara">
+  <fo:block xsl:use-attribute-sets="normal.para.spacing">
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<!-- Only use title from info -->
+<xsl:template match="formalpara/info">
+  <xsl:apply-templates select="title"/>
+</xsl:template>
+
+<xsl:template match="formalpara/title|formalpara/info/title">
+  <xsl:variable name="titleStr">
+      <xsl:apply-templates/>
+  </xsl:variable>
+  <xsl:variable name="lastChar">
+    <xsl:if test="$titleStr != ''">
+      <xsl:value-of select="substring($titleStr,string-length($titleStr),1)"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <fo:inline font-weight="bold"
+             keep-with-next.within-line="always"
+             padding-end="1em">
+    <xsl:copy-of select="$titleStr"/>
+    <xsl:if test="$lastChar != ''
+                  and not(contains($runinhead.title.end.punct, $lastChar))">
+      <xsl:value-of select="$runinhead.default.title.end.punct"/>
+    </xsl:if>
+    <xsl:text>&#160;</xsl:text>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="formalpara/para">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="blockquote">
+  <fo:block xsl:use-attribute-sets="blockquote.properties">
+    <xsl:call-template name="anchor"/>
+    <fo:block>
+      <xsl:if test="title|info/title">
+        <fo:block xsl:use-attribute-sets="formal.title.properties">
+          <xsl:apply-templates select="." mode="object.title.markup"/>
+        </fo:block>
+      </xsl:if>
+      <xsl:apply-templates select="*[local-name(.) != 'title'
+                                   and local-name(.) != 'attribution']"/>
+    </fo:block>
+    <xsl:if test="attribution">
+      <fo:block text-align="right">
+        <!-- mdash -->
+        <xsl:text>&#x2014;</xsl:text>
+        <xsl:apply-templates select="attribution"/>
+      </fo:block>
+    </xsl:if>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="epigraph">
+  <fo:block>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates select="para|simpara|formalpara|literallayout"/>
+    <xsl:if test="attribution">
+      <fo:inline>
+        <xsl:text>--</xsl:text>
+        <xsl:apply-templates select="attribution"/>
+      </fo:inline>
+    </xsl:if>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="attribution">
+  <fo:inline><xsl:apply-templates/></fo:inline>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="floater">
+  <xsl:param name="position" select="'none'"/>
+  <xsl:param name="clear" select="'both'"/>
+  <xsl:param name="width"/>
+  <xsl:param name="content"/>
+  <xsl:param name="start.indent">0pt</xsl:param>
+  <xsl:param name="end.indent">0pt</xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="not($fop.extensions = 0)">
+      <!-- fop 0.20.5 does not support floats -->
+      <xsl:copy-of select="$content"/>
+    </xsl:when>
+    <xsl:when test="$position = 'none'">
+      <xsl:copy-of select="$content"/>
+    </xsl:when>
+    <xsl:when test="$position = 'before'">
+      <fo:float float="before">
+        <xsl:copy-of select="$content"/>
+      </fo:float>
+    </xsl:when>
+    <xsl:when test="$position = 'left' or
+                    $position = 'start' or
+                    $position = 'right' or
+                    $position = 'end' or
+                    $position = 'inside' or
+                    $position = 'outside'">
+      <xsl:variable name="float">
+        <fo:float float="{$position}"
+                  clear="{$clear}">
+          <fo:block-container 
+                    start-indent="{$start.indent}"
+                    end-indent="{$end.indent}">
+            <xsl:if test="$width != ''">
+              <xsl:attribute name="inline-progression-dimension">
+                <xsl:value-of select="$width"/>
+              </xsl:attribute>
+            </xsl:if>
+            <fo:block>
+              <xsl:copy-of select="$content"/>
+            </fo:block>
+          </fo:block-container>
+        </fo:float>
+      </xsl:variable>
+      <xsl:choose>
+        <xsl:when test="$axf.extensions != 0 and self::sidebar">
+          <fo:block xsl:use-attribute-sets="normal.para.spacing"
+                    space-after="0pt"
+                    space-after.precedence="force"
+                    start-indent="0pt" end-indent="0pt">
+            <xsl:copy-of select="$float"/>
+          </fo:block>
+        </xsl:when>
+        <xsl:when test="$axf.extensions != 0 and 
+                        ($position = 'left' or $position = 'start')">
+          <fo:float float="{$position}"
+                    clear="{$clear}">
+            <fo:block-container 
+                      inline-progression-dimension=".001mm"
+                      end-indent="{$start.indent} + {$width} + {$end.indent}">
+              <xsl:attribute name="start-indent">
+                <xsl:choose>
+                  <xsl:when test="ancestor::para">
+                    <!-- Special case for handling inline floats
+                         in Antenna House-->
+                    <xsl:value-of select="concat('-', $body.start.indent)"/>
+                  </xsl:when>
+                  <xsl:otherwise>0pt</xsl:otherwise>
+                </xsl:choose>
+              </xsl:attribute>
+              <fo:block start-indent="{$start.indent}"
+                        end-indent="-{$start.indent} - {$width}">
+                <xsl:copy-of select="$content"/>
+              </fo:block>
+            </fo:block-container>
+          </fo:float>
+
+        </xsl:when>
+        <xsl:when test="$axf.extensions != 0 and 
+                        ($position = 'right' or $position = 'end')">
+          <!-- Special case for handling inline floats in Antenna House-->
+          <fo:float float="{$position}"
+                    clear="{$clear}">
+            <fo:block-container 
+                      inline-progression-dimension=".001mm"
+                      end-indent="-{$body.end.indent}"
+                      start-indent="{$start.indent} + {$width} + {$end.indent}">
+              <fo:block end-indent="{$end.indent}"
+                        start-indent="-{$end.indent} - {$width}">
+                <xsl:copy-of select="$content"/>
+              </fo:block>
+            </fo:block-container>
+          </fo:float>
+
+        </xsl:when>
+        <xsl:when test="$xep.extensions != 0 and self::sidebar">
+          <!-- float needs some space above  to line up with following para -->
+          <fo:block xsl:use-attribute-sets="normal.para.spacing">
+            <xsl:copy-of select="$float"/>
+          </fo:block>
+        </xsl:when>
+        <xsl:when test="$xep.extensions != 0">
+          <xsl:copy-of select="$float"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:copy-of select="$float"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$content"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="sidebar" name="sidebar">
+  <!-- Also does margin notes -->
+  <xsl:variable name="pi-type">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'float-type'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$pi-type = 'margin.note'">
+      <xsl:call-template name="margin.note"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="content">
+        <fo:block xsl:use-attribute-sets="sidebar.properties"
+                  id="{$id}">
+          <xsl:call-template name="sidebar.titlepage"/>
+          <xsl:apply-templates select="node()[not(self::title) and
+                                         not(self::info) and
+                                         not(self::sidebarinfo)]"/>
+        </fo:block>
+      </xsl:variable>
+    
+      <xsl:variable name="pi-width">
+        <xsl:call-template name="dbfo-attribute">
+          <xsl:with-param name="pis"
+                          select="processing-instruction('dbfo')"/>
+          <xsl:with-param name="attribute" select="'sidebar-width'"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="position">
+        <xsl:choose>
+          <xsl:when test="$pi-type != ''">
+            <xsl:value-of select="$pi-type"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$sidebar.float.type"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+    
+      <xsl:call-template name="floater">
+        <xsl:with-param name="content" select="$content"/>
+        <xsl:with-param name="position" select="$position"/>
+        <xsl:with-param name="width">
+          <xsl:choose>
+            <xsl:when test="$pi-width != ''">
+              <xsl:value-of select="$pi-width"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="$sidebar.float.width"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+        <xsl:with-param name="start.indent">
+          <xsl:choose>
+            <xsl:when test="$position = 'start' or 
+                            $position = 'left'">0pt</xsl:when>
+            <xsl:when test="$position = 'end' or 
+                            $position = 'right'">0.5em</xsl:when>
+            <xsl:otherwise>0pt</xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+        <xsl:with-param name="end.indent">
+          <xsl:choose>
+            <xsl:when test="$position = 'start' or 
+                            $position = 'left'">0.5em</xsl:when>
+            <xsl:when test="$position = 'end' or 
+                            $position = 'right'">0pt</xsl:when>
+            <xsl:otherwise>0pt</xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template match="sidebar/title|sidebarinfo|sidebar/info"/>
+
+<xsl:template match="sidebar/title|sidebarinfo/title|sidebar/info/title"
+              mode="titlepage.mode" priority="1">
+  <fo:block xsl:use-attribute-sets="sidebar.title.properties">
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template name="margin.note">
+  <xsl:param name="content">
+    <fo:block xsl:use-attribute-sets="margin.note.properties">
+      <xsl:if test="./title">
+        <fo:block xsl:use-attribute-sets="margin.note.title.properties">
+          <xsl:apply-templates select="./title" mode="margin.note.title.mode"/>
+        </fo:block>
+      </xsl:if>
+      <xsl:apply-templates/>
+    </fo:block>
+  </xsl:param>
+
+  <xsl:variable name="pi-width">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'sidebar-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="position" select="$margin.note.float.type"/>
+
+  <xsl:call-template name="floater">
+    <xsl:with-param name="content" select="$content"/>
+    <xsl:with-param name="position" select="$position"/>
+    <xsl:with-param name="width" >
+      <xsl:choose>
+        <xsl:when test="$pi-width != ''">
+          <xsl:value-of select="$pi-width"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$margin.note.width"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="start.indent">
+      <xsl:choose>
+        <xsl:when test="$position = 'start' or 
+                        $position = 'left'">0pt</xsl:when>
+        <xsl:when test="$position = 'end' or 
+                        $position = 'right'">0.5em</xsl:when>
+        <xsl:otherwise>0pt</xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="end.indent">
+      <xsl:choose>
+        <xsl:when test="$position = 'start' or 
+                        $position = 'left'">0.5em</xsl:when>
+        <xsl:when test="$position = 'end' or 
+                        $position = 'right'">0pt</xsl:when>
+        <xsl:otherwise>0pt</xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="sidebar/title" mode="margin.note.title.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="abstract">
+  <fo:block xsl:use-attribute-sets="abstract.properties">
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="abstract/title|abstract/info/title">
+  <fo:block xsl:use-attribute-sets="abstract.title.properties">
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="msgset">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msgentry">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="simplemsgentry">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="msg">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="msgmain">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msgsub">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msgrel">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msgtext">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msginfo">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="msglevel">
+  <fo:block>
+    <fo:inline font-weight="bold"
+               keep-with-next.within-line="always">
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'msgset'"/>
+        <xsl:with-param name="name" select="'MsgLevel'"/>
+      </xsl:call-template>
+    </fo:inline>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="msgorig">
+  <fo:block>
+    <fo:inline font-weight="bold"
+               keep-with-next.within-line="always">
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'msgset'"/>
+        <xsl:with-param name="name" select="'MsgOrig'"/>
+      </xsl:call-template>
+    </fo:inline>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="msgaud">
+  <fo:block>
+    <fo:inline font-weight="bold"
+               keep-with-next.within-line="always">
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'msgset'"/>
+        <xsl:with-param name="name" select="'MsgAud'"/>
+      </xsl:call-template>
+    </fo:inline>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="msgexplan">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="msgexplan/title">
+  <fo:block font-weight="bold"
+            keep-with-next.within-column="always"
+            hyphenate="false">
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- For better or worse, revhistory is allowed in content... -->
+
+<xsl:template match="revhistory">
+  <fo:table table-layout="fixed" xsl:use-attribute-sets="revhistory.table.properties">
+    <xsl:call-template name="anchor"/>
+    <fo:table-column column-number="1" column-width="proportional-column-width(1)"/>
+    <fo:table-column column-number="2" column-width="proportional-column-width(1)"/>
+    <fo:table-column column-number="3" column-width="proportional-column-width(1)"/>
+    <fo:table-body start-indent="0pt" end-indent="0pt">
+      <fo:table-row>
+        <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties">
+          <fo:block xsl:use-attribute-sets="revhistory.title.properties">
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'RevHistory'"/>
+            </xsl:call-template>
+          </fo:block>
+        </fo:table-cell>
+      </fo:table-row>
+      <xsl:apply-templates/>
+    </fo:table-body>
+  </fo:table>
+</xsl:template>
+
+<xsl:template match="revhistory/revision">
+  <xsl:variable name="revnumber" select="revnumber"/>
+  <xsl:variable name="revdate"   select="date"/>
+  <xsl:variable name="revauthor" select="authorinitials|author"/>
+  <xsl:variable name="revremark" select="revremark|revdescription"/>
+  <fo:table-row>
+    <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
+      <fo:block>
+        <xsl:call-template name="anchor"/>
+        <xsl:if test="$revnumber">
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'Revision'"/>
+          </xsl:call-template>
+          <xsl:call-template name="gentext.space"/>
+          <xsl:apply-templates select="$revnumber[1]"/>
+        </xsl:if>
+      </fo:block>
+    </fo:table-cell>
+    <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
+      <fo:block>
+        <xsl:apply-templates select="$revdate[1]"/>
+      </fo:block>
+    </fo:table-cell>
+    <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
+      <fo:block>
+        <xsl:for-each select="$revauthor">
+          <xsl:apply-templates select="."/>
+          <xsl:if test="position() != last()">
+            <xsl:text>, </xsl:text>
+          </xsl:if>
+        </xsl:for-each>
+      </fo:block>
+    </fo:table-cell>
+  </fo:table-row>
+  <xsl:if test="$revremark">
+    <fo:table-row>
+      <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties">
+        <fo:block>
+          <xsl:apply-templates select="$revremark[1]"/>
+        </fo:block>
+      </fo:table-cell>
+    </fo:table-row>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="revision/revnumber">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/date">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/authorinitials">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/author">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/revremark">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/revdescription">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="ackno">
+  <fo:block xsl:use-attribute-sets="normal.para.spacing">
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="highlights">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/callout.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/callout.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/callout.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,229 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim"
+                xmlns:xverb="com.nwalsh.xalan.Verbatim"
+                xmlns:lxslt="http://xml.apache.org/xslt"
+                exclude-result-prefixes="sverb xverb lxslt"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: callout.xsl 6402 2006-11-12 08:23:21Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<lxslt:component prefix="xverb"
+                 functions="insertCallouts"/>
+
+<xsl:template match="programlistingco|screenco">
+  <xsl:variable name="verbatim" select="programlisting|screen"/>
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+
+  <xsl:choose>
+    <xsl:when test="$use.extensions != '0'
+                    and $callouts.extension != '0'">
+      <xsl:variable name="rtf">
+        <xsl:apply-templates select="$verbatim">
+          <xsl:with-param name="suppress-numbers" select="'1'"/>
+        </xsl:apply-templates>
+      </xsl:variable>
+
+      <xsl:variable name="rtf-with-callouts">
+        <xsl:choose>
+          <xsl:when test="contains($vendor, 'SAXON ')">
+            <xsl:copy-of select="sverb:insertCallouts(areaspec,$rtf)"/>
+          </xsl:when>
+          <xsl:when test="contains($vendor, 'Apache Software Foundation')">
+            <xsl:copy-of select="xverb:insertCallouts(areaspec,$rtf)"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:message terminate="yes">
+              <xsl:text>Don't know how to do callouts with </xsl:text>
+              <xsl:value-of select="$vendor"/>
+            </xsl:message>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$verbatim/@linenumbering = 'numbered'
+                        and $linenumbering.extension != '0'">
+          <xsl:call-template name="number.rtf.lines">
+            <xsl:with-param name="rtf" select="$rtf-with-callouts"/>
+            <xsl:with-param name="pi.context"
+                            select="programlisting|screen"/>
+          </xsl:call-template>
+          <xsl:apply-templates select="calloutlist"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:copy-of select="$rtf-with-callouts"/>
+          <xsl:apply-templates select="calloutlist"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="areaspec|areaset|area">
+</xsl:template>
+
+<xsl:template match="areaset" mode="conumber">
+  <xsl:number count="area|areaset" format="1"/>
+</xsl:template>
+
+<xsl:template match="area" mode="conumber">
+  <xsl:number count="area|areaset" format="1"/>
+</xsl:template>
+
+<xsl:template match="co">
+  <fo:inline>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates select="." mode="callout-bug"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="coref">
+  <!-- tricky; this relies on the fact that we can process the "co" that's -->
+  <!-- "over there" as if it were "right here" -->
+
+  <xsl:variable name="co" select="key('id', @linkend)"/>
+  <xsl:choose>
+    <xsl:when test="not($co)">
+      <xsl:message>
+        <xsl:text>Error: coref link is broken: </xsl:text>
+        <xsl:value-of select="@linkend"/>
+      </xsl:message>
+    </xsl:when>
+    <xsl:when test="local-name($co) != 'co'">
+      <xsl:message>
+        <xsl:text>Error: coref doesn't point to a co: </xsl:text>
+        <xsl:value-of select="@linkend"/>
+      </xsl:message>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:inline>
+        <xsl:call-template name="anchor"/>
+        <xsl:apply-templates select="$co" mode="callout-bug"/>
+      </fo:inline>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="co" mode="callout-bug">
+  <xsl:call-template name="callout-bug">
+    <xsl:with-param name="conum">
+      <xsl:number count="co"
+                  level="any"
+                  from="programlisting|screen|literallayout|synopsis"
+                  format="1"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="callout-bug">
+  <xsl:param name="conum" select='1'/>
+
+  <xsl:choose>
+    <!-- Draw callouts as images -->
+    <xsl:when test="$callout.graphics != '0'
+                    and $conum &lt;= $callout.graphics.number.limit">
+      <xsl:variable name="filename"
+                    select="concat($callout.graphics.path,$conum,$callout.graphics.extension)"/>
+
+      <fo:external-graphic>
+        <xsl:attribute name="src">
+          <xsl:choose>
+            <xsl:when test="$passivetex.extensions != 0
+                            or $fop.extensions != 0
+                            or $arbortext.extensions != 0">
+              <xsl:value-of select="$filename"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:text>url(</xsl:text>
+              <xsl:value-of select="$filename"/>
+              <xsl:text>)</xsl:text>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:attribute>
+      </fo:external-graphic>
+    </xsl:when>
+
+    <xsl:when test="$callout.unicode != 0
+                    and $conum &lt;= $callout.unicode.number.limit">
+      <xsl:variable name="comarkup">
+        <xsl:choose>
+          <xsl:when test="$callout.unicode.start.character = 10102">
+            <xsl:choose>
+              <xsl:when test="$conum = 1">&#10102;</xsl:when>
+              <xsl:when test="$conum = 2">&#10103;</xsl:when>
+              <xsl:when test="$conum = 3">&#10104;</xsl:when>
+              <xsl:when test="$conum = 4">&#10105;</xsl:when>
+              <xsl:when test="$conum = 5">&#10106;</xsl:when>
+              <xsl:when test="$conum = 6">&#10107;</xsl:when>
+              <xsl:when test="$conum = 7">&#10108;</xsl:when>
+              <xsl:when test="$conum = 8">&#10109;</xsl:when>
+              <xsl:when test="$conum = 9">&#10110;</xsl:when>
+              <xsl:when test="$conum = 10">&#10111;</xsl:when>
+            </xsl:choose>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:message>
+              <xsl:text>Don't know how to generate Unicode callouts </xsl:text>
+              <xsl:text>when $callout.unicode.start.character is </xsl:text>
+              <xsl:value-of select="$callout.unicode.start.character"/>
+            </xsl:message>
+            <fo:inline background-color="#404040"
+                       color="white"
+                       padding-top="0.1em"
+                       padding-bottom="0.1em"
+                       padding-start="0.2em"
+                       padding-end="0.2em"
+                       baseline-shift="0.1em"
+                       font-family="{$body.fontset}"
+                       font-weight="bold"
+                       font-size="75%">
+              <xsl:value-of select="$conum"/>
+            </fo:inline>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$callout.unicode.font != ''">
+          <fo:inline font-family="{$callout.unicode.font}">
+            <xsl:copy-of select="$comarkup"/>
+          </fo:inline>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:copy-of select="$comarkup"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <!-- Most safe: draw a dark gray square with a white number inside -->
+    <xsl:otherwise>
+      <fo:inline background-color="#404040"
+                 color="white"
+                 padding-top="0.1em"
+                 padding-bottom="0.1em"
+                 padding-start="0.2em"
+                 padding-end="0.2em"
+                 baseline-shift="0.1em"
+                 font-family="{$body.fontset}"
+                 font-weight="bold"
+                 font-size="75%">
+        <xsl:value-of select="$conum"/>
+      </fo:inline>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/component.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/component.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/component.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,766 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: component.xsl 6395 2006-11-11 08:46:43Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template name="component.title">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="pagewide" select="0"/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$node"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="title">
+    <xsl:apply-templates select="$node" mode="object.title.markup">
+      <xsl:with-param name="allow-anchors" select="1"/>
+    </xsl:apply-templates>
+  </xsl:variable>
+
+  <xsl:variable name="titleabbrev">
+    <xsl:apply-templates select="$node" mode="titleabbrev.markup"/>
+  </xsl:variable>
+
+  <xsl:variable name="level">
+    <xsl:choose>
+      <xsl:when test="ancestor::section">
+        <xsl:value-of select="count(ancestor::section)+1"/>
+      </xsl:when>
+      <xsl:when test="ancestor::sect5">6</xsl:when>
+      <xsl:when test="ancestor::sect4">5</xsl:when>
+      <xsl:when test="ancestor::sect3">4</xsl:when>
+      <xsl:when test="ancestor::sect2">3</xsl:when>
+      <xsl:when test="ancestor::sect1">2</xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:if test="$passivetex.extensions != 0">
+    <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex"
+                    fotex-bookmark-level="2"
+                    fotex-bookmark-label="{$id}">
+      <xsl:value-of select="$titleabbrev"/>
+    </fotex:bookmark>
+  </xsl:if>
+
+  <fo:block xsl:use-attribute-sets="component.title.properties">
+    <xsl:if test="$pagewide != 0">
+      <!-- Doesn't work to use 'all' here since not a child of fo:flow -->
+      <xsl:attribute name="span">inherit</xsl:attribute>
+    </xsl:if>
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:if test="$axf.extensions != 0">
+      <xsl:attribute name="axf:outline-level">
+        <xsl:value-of select="count($node/ancestor::*)"/>
+      </xsl:attribute>
+      <xsl:attribute name="axf:outline-expand">false</xsl:attribute>
+      <xsl:attribute name="axf:outline-title">
+        <xsl:value-of select="normalize-space($title)"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <!-- Let's handle the case where a component (bibliography, for example)
+         occurs inside a section; will we need parameters for this?
+         Danger Will Robinson: using section.title.level*.properties here
+         runs the risk that someone will set something other than
+         font-size there... -->
+    <xsl:choose>
+      <xsl:when test="$level=2">
+        <fo:block xsl:use-attribute-sets="section.title.level2.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$level=3">
+        <fo:block xsl:use-attribute-sets="section.title.level3.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$level=4">
+        <fo:block xsl:use-attribute-sets="section.title.level4.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$level=5">
+        <fo:block xsl:use-attribute-sets="section.title.level5.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$level=6">
+        <fo:block xsl:use-attribute-sets="section.title.level6.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- not in a section: do nothing special -->
+        <xsl:copy-of select="$title"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="dedication" mode="dedication">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+
+      <fo:block id="{$id}">
+        <xsl:call-template name="dedication.titlepage"/>
+      </fo:block>
+      <xsl:apply-templates/>
+    </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+<xsl:template match="dedication"></xsl:template> <!-- see mode="dedication" -->
+<xsl:template match="dedication/docinfo"></xsl:template>
+<xsl:template match="dedication/title"></xsl:template>
+<xsl:template match="dedication/subtitle"></xsl:template>
+<xsl:template match="dedication/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="colophon">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+
+      <fo:block id="{$id}">
+        <xsl:call-template name="colophon.titlepage"/>
+      </fo:block>
+      <xsl:apply-templates/>
+    </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+<xsl:template match="colophon/title"></xsl:template>
+<xsl:template match="colophon/subtitle"></xsl:template>
+<xsl:template match="colophon/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="preface">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+
+      <fo:block id="{$id}">
+        <xsl:call-template name="preface.titlepage"/>
+      </fo:block>
+
+      <xsl:variable name="toc.params">
+        <xsl:call-template name="find.path.params">
+          <xsl:with-param name="table" 
+                          select="normalize-space($generate.toc)"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:if test="contains($toc.params, 'toc')">
+        <xsl:call-template name="component.toc">
+          <xsl:with-param name="toc.title.p" 
+                          select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+        <xsl:call-template name="component.toc.separator"/>
+      </xsl:if>
+
+      <xsl:apply-templates/>
+    </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+<xsl:template match="preface/docinfo|prefaceinfo"></xsl:template>
+<xsl:template match="preface/info"></xsl:template>
+<xsl:template match="preface/title"></xsl:template>
+<xsl:template match="preface/titleabbrev"></xsl:template>
+<xsl:template match="preface/subtitle"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="chapter">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+
+      <fo:block id="{$id}">
+        <xsl:call-template name="chapter.titlepage"/>
+      </fo:block>
+
+      <xsl:variable name="toc.params">
+        <xsl:call-template name="find.path.params">
+          <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:if test="contains($toc.params, 'toc')">
+        <xsl:call-template name="component.toc">
+          <xsl:with-param name="toc.title.p" 
+                          select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+        <xsl:call-template name="component.toc.separator"/>
+      </xsl:if>
+      <xsl:apply-templates/>
+    </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+<xsl:template match="chapter/docinfo|chapterinfo"></xsl:template>
+<xsl:template match="chapter/info"></xsl:template>
+<xsl:template match="chapter/title"></xsl:template>
+<xsl:template match="chapter/titleabbrev"></xsl:template>
+<xsl:template match="chapter/subtitle"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="appendix">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+
+      <fo:block id="{$id}">
+        <xsl:call-template name="appendix.titlepage"/>
+      </fo:block>
+
+      <xsl:variable name="toc.params">
+        <xsl:call-template name="find.path.params">
+          <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:if test="contains($toc.params, 'toc')">
+        <xsl:call-template name="component.toc">
+          <xsl:with-param name="toc.title.p" 
+                          select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+        <xsl:call-template name="component.toc.separator"/>
+      </xsl:if>
+      <xsl:apply-templates/>
+    </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+<xsl:template match="appendix/docinfo|appendixinfo"></xsl:template>
+<xsl:template match="appendix/info"></xsl:template>
+<xsl:template match="appendix/title"></xsl:template>
+<xsl:template match="appendix/titleabbrev"></xsl:template>
+<xsl:template match="appendix/subtitle"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="article">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+
+      <fo:block id="{$id}">
+        <xsl:call-template name="article.titlepage"/>
+      </fo:block>
+
+      <xsl:variable name="toc.params">
+        <xsl:call-template name="find.path.params">
+          <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:if test="contains($toc.params, 'toc')">
+        <xsl:call-template name="component.toc">
+          <xsl:with-param name="toc.title.p" 
+                          select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+        <xsl:call-template name="component.toc.separator"/>
+      </xsl:if>
+      <xsl:apply-templates/>
+    </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+<xsl:template match="article/artheader"></xsl:template>
+<xsl:template match="article/articleinfo"></xsl:template>
+<xsl:template match="article/info"></xsl:template>
+<xsl:template match="article/title"></xsl:template>
+<xsl:template match="article/subtitle"></xsl:template>
+<xsl:template match="article/titleabbrev"></xsl:template>
+
+<xsl:template match="article/appendix">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="object.title.markup"/>
+  </xsl:variable>
+
+  <xsl:variable name="titleabbrev">
+    <xsl:apply-templates select="." mode="titleabbrev.markup"/>
+  </xsl:variable>
+
+  <fo:block id='{$id}'>
+    <xsl:if test="$axf.extensions != 0">
+      <xsl:attribute name="axf:outline-level">
+        <xsl:value-of select="count(ancestor::*)+2"/>
+      </xsl:attribute>
+      <xsl:attribute name="axf:outline-expand">false</xsl:attribute>
+      <xsl:attribute name="axf:outline-title">
+        <xsl:value-of select="normalize-space($titleabbrev)"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$passivetex.extensions != 0">
+      <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex" 
+                      fotex-bookmark-level="{count(ancestor::*)+2}" 
+                      fotex-bookmark-label="{$id}">
+        <xsl:value-of select="$titleabbrev"/>
+      </fotex:bookmark>
+    </xsl:if>
+
+    <fo:block xsl:use-attribute-sets="article.appendix.title.properties">
+      <fo:marker marker-class-name="section.head.marker">
+        <xsl:choose>
+          <xsl:when test="$titleabbrev = ''">
+            <xsl:value-of select="$title"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$titleabbrev"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </fo:marker>
+      <xsl:copy-of select="$title"/>
+    </fo:block>
+
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- Create a page sequence for an element -->
+<xsl:template match="*" mode="page.sequence">
+  <xsl:param name="content" select="NOTANODE"/>
+  <xsl:param name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:param>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+
+      <xsl:copy-of select="$content"/>
+
+    </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/fo/division.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/division.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/division.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,963 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: division.xsl 6358 2006-10-13 21:26:05Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template name="division.title">
+  <xsl:param name="node" select="."/>
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$node"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="$node" mode="object.title.markup"/>
+  </xsl:variable>
+
+  <xsl:if test="$passivetex.extensions != 0">
+    <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex"
+                    fotex-bookmark-level="1"
+                    fotex-bookmark-label="{$id}">
+      <xsl:value-of select="$title"/>
+    </fotex:bookmark>
+  </xsl:if>
+
+  <fo:block keep-with-next.within-column="always"
+            hyphenate="false">
+    <xsl:if test="$axf.extensions != 0">
+      <xsl:attribute name="axf:outline-level">
+        <xsl:choose>
+          <xsl:when test="count($node/ancestor::*) > 0">
+            <xsl:value-of select="count($node/ancestor::*)"/>
+          </xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+      <xsl:attribute name="axf:outline-expand">false</xsl:attribute>
+      <xsl:attribute name="axf:outline-title">
+        <xsl:value-of select="normalize-space($title)"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:copy-of select="$title"/>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="set">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="preamble"
+                select="*[not(self::book or self::setindex)]"/>
+
+  <xsl:variable name="content" select="book|setindex"/>
+
+  <xsl:variable name="titlepage-master-reference">
+    <xsl:call-template name="select.pagemaster">
+      <xsl:with-param name="pageclass" select="'titlepage'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="lot-master-reference">
+    <xsl:call-template name="select.pagemaster">
+      <xsl:with-param name="pageclass" select="'lot'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="$preamble">
+    <fo:page-sequence hyphenate="{$hyphenate}"
+                      master-reference="{$titlepage-master-reference}">
+      <xsl:attribute name="language">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:attribute>
+      <xsl:attribute name="format">
+        <xsl:call-template name="page.number.format">
+          <xsl:with-param name="master-reference" 
+                          select="$titlepage-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="initial-page-number">
+        <xsl:call-template name="initial.page.number">
+          <xsl:with-param name="master-reference" 
+                          select="$titlepage-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="force-page-count">
+        <xsl:call-template name="force.page.count">
+          <xsl:with-param name="master-reference" 
+                          select="$titlepage-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="hyphenation-character">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-character'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-push-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-remain-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates select="." mode="running.head.mode">
+        <xsl:with-param name="master-reference" select="$titlepage-master-reference"/>
+      </xsl:apply-templates>
+
+      <xsl:apply-templates select="." mode="running.foot.mode">
+        <xsl:with-param name="master-reference" select="$titlepage-master-reference"/>
+      </xsl:apply-templates>
+
+      <fo:flow flow-name="xsl-region-body">
+        <xsl:call-template name="set.flow.properties">
+          <xsl:with-param name="element" select="local-name(.)"/>
+          <xsl:with-param name="master-reference" 
+                          select="$titlepage-master-reference"/>
+        </xsl:call-template>
+
+        <fo:block id="{$id}">
+          <xsl:call-template name="set.titlepage"/>
+        </fo:block>
+      </fo:flow>
+    </fo:page-sequence>
+  </xsl:if>
+
+  <xsl:variable name="toc.params">
+    <xsl:call-template name="find.path.params">
+      <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="contains($toc.params, 'toc')">
+    <fo:page-sequence hyphenate="{$hyphenate}"
+                      master-reference="{$lot-master-reference}">
+      <xsl:attribute name="language">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:attribute>
+      <xsl:attribute name="format">
+        <xsl:call-template name="page.number.format">
+          <xsl:with-param name="element" select="'toc'"/>
+          <xsl:with-param name="master-reference"
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="initial-page-number">
+        <xsl:call-template name="initial.page.number">
+          <xsl:with-param name="master-reference"
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="force-page-count">
+        <xsl:call-template name="force.page.count">
+          <xsl:with-param name="master-reference"
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="hyphenation-character">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-character'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-push-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-remain-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates select="." mode="running.head.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+      </xsl:apply-templates>
+
+      <xsl:apply-templates select="." mode="running.foot.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+      </xsl:apply-templates>
+
+      <fo:flow flow-name="xsl-region-body">
+        <xsl:call-template name="set.flow.properties">
+          <xsl:with-param name="element" select="local-name(.)"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="set.toc"/>
+      </fo:flow>
+    </fo:page-sequence>
+  </xsl:if>
+
+  <xsl:apply-templates select="$content"/>
+</xsl:template>
+
+<xsl:template match="set/setinfo"></xsl:template>
+<xsl:template match="set/title"></xsl:template>
+<xsl:template match="set/subtitle"></xsl:template>
+<xsl:template match="set/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="book">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="preamble"
+                select="title|subtitle|titleabbrev|bookinfo|info"/>
+
+  <xsl:variable name="content"
+                select="node()[not(self::title or self::subtitle
+                            or self::titleabbrev
+                            or self::info
+                            or self::bookinfo)]"/>
+
+  <xsl:variable name="titlepage-master-reference">
+    <xsl:call-template name="select.pagemaster">
+      <xsl:with-param name="pageclass" select="'titlepage'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="lot-master-reference">
+    <xsl:call-template name="select.pagemaster">
+      <xsl:with-param name="pageclass" select="'lot'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="$preamble">
+    <fo:page-sequence hyphenate="{$hyphenate}"
+                      master-reference="{$titlepage-master-reference}">
+      <xsl:attribute name="language">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:attribute>
+      <xsl:attribute name="format">
+        <xsl:call-template name="page.number.format">
+          <xsl:with-param name="master-reference"
+                          select="$titlepage-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="initial-page-number">
+        <xsl:call-template name="initial.page.number">
+          <xsl:with-param name="master-reference" 
+	                  select="$titlepage-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="force-page-count">
+        <xsl:call-template name="force.page.count">
+          <xsl:with-param name="master-reference" 
+	                  select="$titlepage-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="hyphenation-character">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-character'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-push-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-remain-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates select="." mode="running.head.mode">
+        <xsl:with-param name="master-reference" select="$titlepage-master-reference"/>
+      </xsl:apply-templates>
+
+      <xsl:apply-templates select="." mode="running.foot.mode">
+        <xsl:with-param name="master-reference" select="$titlepage-master-reference"/>
+      </xsl:apply-templates>
+
+      <fo:flow flow-name="xsl-region-body">
+        <xsl:call-template name="set.flow.properties">
+          <xsl:with-param name="element" select="local-name(.)"/>
+          <xsl:with-param name="master-reference" 
+                          select="$titlepage-master-reference"/>
+        </xsl:call-template>
+
+        <fo:block id="{$id}">
+          <xsl:call-template name="book.titlepage"/>
+        </fo:block>
+      </fo:flow>
+    </fo:page-sequence>
+  </xsl:if>
+
+  <xsl:apply-templates select="dedication" mode="dedication"/>
+
+  <xsl:variable name="toc.params">
+    <xsl:call-template name="find.path.params">
+      <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="contains($toc.params, 'toc')">
+    <fo:page-sequence hyphenate="{$hyphenate}"
+                      master-reference="{$lot-master-reference}">
+      <xsl:attribute name="language">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:attribute>
+      <xsl:attribute name="format">
+        <xsl:call-template name="page.number.format">
+          <xsl:with-param name="element" select="'toc'"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="initial-page-number">
+        <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="element" select="'toc'"/>
+        <xsl:with-param name="master-reference" 
+                        select="$lot-master-reference"/>
+         </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="force-page-count">
+        <xsl:call-template name="force.page.count">
+          <xsl:with-param name="master-reference" 
+	                  select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="hyphenation-character">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-character'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-push-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-remain-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates select="." mode="running.head.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+        <xsl:with-param name="gentext-key" select="'TableofContents'"/>
+      </xsl:apply-templates>
+
+      <xsl:apply-templates select="." mode="running.foot.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+        <xsl:with-param name="gentext-key" select="'TableofContents'"/>
+      </xsl:apply-templates>
+
+      <fo:flow flow-name="xsl-region-body">
+        <xsl:call-template name="set.flow.properties">
+          <xsl:with-param name="element" select="local-name(.)"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="division.toc">
+          <xsl:with-param name="toc.title.p" 
+                          select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+      </fo:flow>
+    </fo:page-sequence>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params,'figure') and .//figure">
+    <fo:page-sequence hyphenate="{$hyphenate}"
+                      master-reference="{$lot-master-reference}">
+      <xsl:attribute name="language">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:attribute>
+      <xsl:attribute name="format">
+        <xsl:call-template name="page.number.format">
+          <xsl:with-param name="element" select="'toc'"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="initial-page-number">
+        <xsl:call-template name="initial.page.number">
+          <xsl:with-param name="element" select="'toc'"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="force-page-count">
+        <xsl:call-template name="force.page.count">
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="hyphenation-character">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-character'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-push-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-remain-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates select="." mode="running.head.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+        <xsl:with-param name="gentext-key" select="'ListofFigures'"/>
+      </xsl:apply-templates>
+
+      <xsl:apply-templates select="." mode="running.foot.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+        <xsl:with-param name="gentext-key" select="'ListofFigures'"/>
+      </xsl:apply-templates>
+
+      <fo:flow flow-name="xsl-region-body">
+        <xsl:call-template name="set.flow.properties">
+          <xsl:with-param name="element" select="local-name(.)"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="list.of.titles">
+          <xsl:with-param name="titles" select="'figure'"/>
+          <xsl:with-param name="nodes" select=".//figure"/>
+        </xsl:call-template>
+      </fo:flow>
+    </fo:page-sequence>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params,'table') and .//table">
+    <fo:page-sequence hyphenate="{$hyphenate}"
+                      master-reference="{$lot-master-reference}">
+      <xsl:attribute name="language">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:attribute>
+      <xsl:attribute name="format">
+        <xsl:call-template name="page.number.format">
+          <xsl:with-param name="element" select="'toc'"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="initial-page-number">
+        <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="element" select="'toc'"/>
+        <xsl:with-param name="master-reference" 
+                        select="$lot-master-reference"/>
+         </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="force-page-count">
+        <xsl:call-template name="force.page.count">
+          <xsl:with-param name="master-reference" 
+	                  select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="hyphenation-character">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-character'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-push-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-remain-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates select="." mode="running.head.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+        <xsl:with-param name="gentext-key" select="'ListofTables'"/>
+      </xsl:apply-templates>
+
+      <xsl:apply-templates select="." mode="running.foot.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+        <xsl:with-param name="gentext-key" select="'ListofTables'"/>
+      </xsl:apply-templates>
+
+      <fo:flow flow-name="xsl-region-body">
+        <xsl:call-template name="set.flow.properties">
+          <xsl:with-param name="element" select="local-name(.)"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="list.of.titles">
+          <xsl:with-param name="titles" select="'table'"/>
+          <xsl:with-param name="nodes" select=".//table"/>
+        </xsl:call-template>
+      </fo:flow>
+    </fo:page-sequence>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params,'example') and .//example">
+    <fo:page-sequence hyphenate="{$hyphenate}"
+                      master-reference="{$lot-master-reference}">
+      <xsl:attribute name="language">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:attribute>
+      <xsl:attribute name="format">
+        <xsl:call-template name="page.number.format">
+          <xsl:with-param name="element" select="'toc'"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="initial-page-number">
+        <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="element" select="'toc'"/>
+        <xsl:with-param name="master-reference" 
+                        select="$lot-master-reference"/>
+         </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="force-page-count">
+        <xsl:call-template name="force.page.count">
+          <xsl:with-param name="master-reference" 
+	                  select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="hyphenation-character">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-character'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-push-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-remain-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates select="." mode="running.head.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+        <xsl:with-param name="gentext-key" select="'ListofExamples'"/>
+      </xsl:apply-templates>
+
+      <xsl:apply-templates select="." mode="running.foot.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+        <xsl:with-param name="gentext-key" select="'ListofExamples'"/>
+      </xsl:apply-templates>
+
+      <fo:flow flow-name="xsl-region-body">
+        <xsl:call-template name="set.flow.properties">
+          <xsl:with-param name="element" select="local-name(.)"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="list.of.titles">
+          <xsl:with-param name="titles" select="'example'"/>
+          <xsl:with-param name="nodes" select=".//example"/>
+        </xsl:call-template>
+      </fo:flow>
+    </fo:page-sequence>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params,'equation') and .//equation">
+    <fo:page-sequence hyphenate="{$hyphenate}"
+                      master-reference="{$lot-master-reference}">
+      <xsl:attribute name="language">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:attribute>
+      <xsl:attribute name="format">
+        <xsl:call-template name="page.number.format">
+          <xsl:with-param name="element" select="'toc'"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="initial-page-number">
+        <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="element" select="'toc'"/>
+        <xsl:with-param name="master-reference" 
+                        select="$lot-master-reference"/>
+         </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="force-page-count">
+        <xsl:call-template name="force.page.count">
+          <xsl:with-param name="master-reference" 
+	                  select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="hyphenation-character">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-character'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-push-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-remain-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates select="." mode="running.head.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+        <xsl:with-param name="gentext-key" select="'ListofEquations'"/>
+      </xsl:apply-templates>
+
+      <xsl:apply-templates select="." mode="running.foot.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+        <xsl:with-param name="gentext-key" select="'ListofEquations'"/>
+      </xsl:apply-templates>
+
+      <fo:flow flow-name="xsl-region-body">
+        <xsl:call-template name="set.flow.properties">
+          <xsl:with-param name="element" select="local-name(.)"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="list.of.titles">
+          <xsl:with-param name="titles" select="'equation'"/>
+          <xsl:with-param name="nodes" select=".//equation[title or info/title]"/>
+        </xsl:call-template>
+      </fo:flow>
+    </fo:page-sequence>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params,'procedure') and .//procedure">
+    <fo:page-sequence hyphenate="{$hyphenate}"
+                      master-reference="{$lot-master-reference}">
+      <xsl:attribute name="language">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:attribute>
+      <xsl:attribute name="format">
+        <xsl:call-template name="page.number.format">
+          <xsl:with-param name="element" select="'toc'"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="initial-page-number">
+        <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="element" select="'toc'"/>
+        <xsl:with-param name="master-reference" 
+                        select="$lot-master-reference"/>
+         </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="force-page-count">
+        <xsl:call-template name="force.page.count">
+          <xsl:with-param name="master-reference" 
+	                  select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="hyphenation-character">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-character'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-push-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-remain-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates select="." mode="running.head.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+        <xsl:with-param name="gentext-key" select="'ListofProcedures'"/>
+      </xsl:apply-templates>
+
+      <xsl:apply-templates select="." mode="running.foot.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+        <xsl:with-param name="gentext-key" select="'ListofProcedures'"/>
+      </xsl:apply-templates>
+
+      <fo:flow flow-name="xsl-region-body">
+        <xsl:call-template name="set.flow.properties">
+          <xsl:with-param name="element" select="local-name(.)"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="list.of.titles">
+          <xsl:with-param name="titles" select="'procedure'"/>
+          <xsl:with-param name="nodes" select=".//procedure[title]"/>
+        </xsl:call-template>
+      </fo:flow>
+    </fo:page-sequence>
+  </xsl:if>
+
+  <xsl:apply-templates select="$content"/>
+</xsl:template>
+
+<xsl:template match="book/bookinfo"></xsl:template>
+<xsl:template match="book/info"></xsl:template>
+<xsl:template match="book/title"></xsl:template>
+<xsl:template match="book/subtitle"></xsl:template>
+<xsl:template match="book/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="part">
+  <xsl:if test="not(partintro)">
+    <xsl:apply-templates select="." mode="part.titlepage.mode"/>
+    <xsl:call-template name="generate.part.toc"/>
+  </xsl:if>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="part" mode="part.titlepage.mode">
+  <!-- done this way to force the context node to be the part -->
+  <xsl:param name="additional.content"/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="titlepage-master-reference">
+    <xsl:call-template name="select.pagemaster">
+      <xsl:with-param name="pageclass" select="'titlepage'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$titlepage-master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" 
+                        select="$titlepage-master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" 
+                        select="$titlepage-master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" 
+                        select="$titlepage-master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$titlepage-master-reference"/>
+    </xsl:apply-templates>
+
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$titlepage-master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" 
+                        select="$titlepage-master-reference"/>
+      </xsl:call-template>
+
+      <fo:block id="{$id}">
+        <xsl:call-template name="part.titlepage"/>
+      </fo:block>
+      <xsl:copy-of select="$additional.content"/>
+    </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+<xsl:template match="part/docinfo|partinfo"></xsl:template>
+<xsl:template match="part/info"></xsl:template>
+<xsl:template match="part/title"></xsl:template>
+<xsl:template match="part/subtitle"></xsl:template>
+<xsl:template match="part/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="generate.part.toc">
+  <xsl:param name="part" select="."/>
+
+  <xsl:variable name="lot-master-reference">
+    <xsl:call-template name="select.pagemaster">
+      <xsl:with-param name="pageclass" select="'lot'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="toc.params">
+    <xsl:call-template name="find.path.params">
+      <xsl:with-param name="node" select="$part"/>
+      <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="nodes" select="reference|
+                                     preface|
+                                     chapter|
+                                     appendix|
+                                     article|
+                                     bibliography|
+                                     glossary|
+                                     index"/>
+
+  <xsl:if test="count($nodes) &gt; 0 and contains($toc.params, 'toc')">
+    <fo:page-sequence hyphenate="{$hyphenate}"
+                      master-reference="{$lot-master-reference}">
+      <xsl:attribute name="language">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:attribute>
+      <xsl:attribute name="format">
+        <xsl:call-template name="page.number.format">
+          <xsl:with-param name="element" select="'toc'"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="initial-page-number">
+        <xsl:call-template name="initial.page.number">
+          <xsl:with-param name="element" select="'toc'"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+         </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="force-page-count">
+        <xsl:call-template name="force.page.count">
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="hyphenation-character">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-character'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-push-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-remain-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates select="$part" mode="running.head.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+      </xsl:apply-templates>
+
+      <xsl:apply-templates select="$part" mode="running.foot.mode">
+        <xsl:with-param name="master-reference" select="$lot-master-reference"/>
+      </xsl:apply-templates>
+
+      <fo:flow flow-name="xsl-region-body">
+        <xsl:call-template name="set.flow.properties">
+          <xsl:with-param name="element" select="local-name(.)"/>
+          <xsl:with-param name="master-reference" 
+                          select="$lot-master-reference"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="division.toc">
+          <xsl:with-param name="toc-context" select="$part"/>
+          <xsl:with-param name="toc.title.p" 
+                          select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+
+      </fo:flow>
+    </fo:page-sequence>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="part/partintro">
+  <xsl:apply-templates select=".." mode="part.titlepage.mode">
+    <xsl:with-param name="additional.content">
+      <xsl:if test="title">
+        <xsl:call-template name="partintro.titlepage"/>
+      </xsl:if>
+      <xsl:apply-templates/>
+    </xsl:with-param>
+  </xsl:apply-templates>
+
+  <xsl:call-template name="generate.part.toc">
+    <xsl:with-param name="part" select=".."/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="partintro/title"></xsl:template>
+<xsl:template match="partintro/subtitle"></xsl:template>
+<xsl:template match="partintro/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="book" mode="division.number">
+  <xsl:number from="set" count="book" format="1."/>
+</xsl:template>
+
+<xsl:template match="part" mode="division.number">
+  <xsl:number from="book" count="part" format="I."/>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/fo/docbook.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/docbook.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/docbook.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,307 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:ng="http://docbook.org/docbook-ng"
+                xmlns:db="http://docbook.org/ns/docbook"
+                exclude-result-prefixes="db ng exsl"
+                version='1.0'>
+
+<!-- It is important to use indent="no" here, otherwise verbatim -->
+<!-- environments get broken by indented tags...at least when the -->
+<!-- callout extension is used...at least with some processors -->
+<xsl:output method="xml" indent="no"/>
+
+<!-- ********************************************************************
+     $Id: docbook.xsl 6465 2007-01-06 09:02:18Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:include href="../VERSION"/>
+<xsl:include href="param.xsl"/>
+<xsl:include href="../lib/lib.xsl"/>
+<xsl:include href="../common/l10n.xsl"/>
+<xsl:include href="../common/common.xsl"/>
+<xsl:include href="../common/labels.xsl"/>
+<xsl:include href="../common/titles.xsl"/>
+<xsl:include href="../common/subtitles.xsl"/>
+<xsl:include href="../common/gentext.xsl"/>
+<xsl:include href="../common/olink.xsl"/>
+<xsl:include href="../common/targets.xsl"/>
+<xsl:include href="../common/pi.xsl"/>
+<xsl:include href="autotoc.xsl"/>
+<xsl:include href="autoidx.xsl"/>
+<xsl:include href="lists.xsl"/>
+<xsl:include href="callout.xsl"/>
+<xsl:include href="verbatim.xsl"/>
+<xsl:include href="graphics.xsl"/>
+<xsl:include href="xref.xsl"/>
+<xsl:include href="formal.xsl"/>
+<xsl:include href="table.xsl"/>
+<xsl:include href="htmltbl.xsl"/>
+<xsl:include href="sections.xsl"/>
+<xsl:include href="inline.xsl"/>
+<xsl:include href="footnote.xsl"/>
+<xsl:include href="fo.xsl"/>
+<xsl:include href="fo-rtf.xsl"/>
+<xsl:include href="info.xsl"/>
+<xsl:include href="keywords.xsl"/>
+<xsl:include href="division.xsl"/>
+<xsl:include href="index.xsl"/>
+<xsl:include href="toc.xsl"/>
+<xsl:include href="refentry.xsl"/>
+<xsl:include href="math.xsl"/>
+<xsl:include href="admon.xsl"/>
+<xsl:include href="component.xsl"/>
+<xsl:include href="biblio.xsl"/>
+<xsl:include href="glossary.xsl"/>
+<xsl:include href="block.xsl"/>
+<xsl:include href="task.xsl"/>
+<xsl:include href="qandaset.xsl"/>
+<xsl:include href="synop.xsl"/>
+<xsl:include href="titlepage.xsl"/>
+<xsl:include href="titlepage.templates.xsl"/>
+<xsl:include href="pagesetup.xsl"/>
+<xsl:include href="pi.xsl"/>
+<xsl:include href="spaces.xsl"/>
+<xsl:include href="ebnf.xsl"/>
+<xsl:include href="../html/chunker.xsl"/>
+<xsl:include href="annotations.xsl"/>
+<xsl:include href="../common/stripns.xsl"/>
+
+<xsl:include href="fop.xsl"/>
+<xsl:include href="fop1.xsl"/>
+<xsl:include href="passivetex.xsl"/>
+<xsl:include href="xep.xsl"/>
+<xsl:include href="axf.xsl"/>
+<xsl:include href="ptc.xsl"/>
+
+<xsl:param name="stylesheet.result.type" select="'fo'"/>
+
+<!-- ==================================================================== -->
+
+<xsl:key name="id" match="*" use="@id|@xml:id"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*">
+  <xsl:message>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text> encountered</xsl:text>
+    <xsl:if test="parent::*">
+      <xsl:text> in </xsl:text>
+      <xsl:value-of select="name(parent::*)"/>
+    </xsl:if>
+    <xsl:text>, but no template matches.</xsl:text>
+  </xsl:message>
+  <fo:block color="red">
+    <xsl:text>&lt;</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text>&gt;</xsl:text>
+    <xsl:apply-templates/> 
+    <xsl:text>&lt;/</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text>&gt;</xsl:text>
+  </fo:block>
+</xsl:template>
+
+<!-- Update this list if new root elements supported -->
+<xsl:variable name="root.elements" select="' appendix article bibliography book chapter colophon dedication glossary index part preface qandaset refentry reference sect1 section set setindex '"/>
+
+<xsl:template match="/">
+  <xsl:choose>
+    <!-- include extra test for Xalan quirk -->
+    <xsl:when test="(function-available('exsl:node-set') or
+                     contains(system-property('xsl:vendor'),
+                       'Apache Software Foundation'))
+                    and (*/self::ng:* or */self::db:*)">
+      <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document,
+           toss the namespace and continue. Someday we'll reverse this logic
+           and add the namespace to documents that don't have one.
+           But not before the whole stylesheet has been converted to use
+           namespaces. i.e., don't hold your breath -->
+      <xsl:message>Stripping namespace from DocBook 5 document.</xsl:message>
+      <xsl:variable name="nons">
+        <xsl:apply-templates mode="stripNS"/>
+      </xsl:variable>
+      <xsl:apply-templates select="exsl:node-set($nons)"/>
+    </xsl:when>
+    <!-- Can't process unless namespace removed -->
+    <xsl:when test="*/self::ng:* or */self::db:*">
+      <xsl:message terminate="yes">
+        <xsl:text>Unable to strip the namespace from DB5 document,</xsl:text>
+        <xsl:text> cannot proceed.</xsl:text>
+      </xsl:message>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$rootid != ''">
+          <xsl:variable name="root.element" select="key('id', $rootid)"/>
+          <xsl:choose>
+            <xsl:when test="count($root.element) = 0">
+              <xsl:message terminate="yes">
+                <xsl:text>ID '</xsl:text>
+                <xsl:value-of select="$rootid"/>
+                <xsl:text>' not found in document.</xsl:text>
+              </xsl:message>
+            </xsl:when>
+            <xsl:when test="not(contains($root.elements, concat(' ', local-name($root.element), ' ')))">
+              <xsl:message terminate="yes">
+                <xsl:text>ERROR: Document root element ($rootid=</xsl:text>
+                <xsl:value-of select="$rootid"/>
+                <xsl:text>) for FO output </xsl:text>
+                <xsl:text>must be one of the following elements:</xsl:text>
+                <xsl:value-of select="$root.elements"/>
+              </xsl:message>
+            </xsl:when>
+            <!-- Otherwise proceed -->
+            <xsl:otherwise>
+              <xsl:if test="$collect.xref.targets = 'yes' or
+                            $collect.xref.targets = 'only'">
+                <xsl:apply-templates select="$root.element"
+                                     mode="collect.targets"/>
+              </xsl:if>
+              <xsl:if test="$collect.xref.targets != 'only'">
+                <xsl:apply-templates select="$root.element"
+                                     mode="process.root"/>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <!-- Otherwise process the document root element -->
+        <xsl:otherwise>
+          <xsl:variable name="document.element" select="*[1]"/>
+          <xsl:choose>
+            <xsl:when test="not(contains($root.elements,
+                     concat(' ', local-name($document.element), ' ')))">
+              <xsl:message terminate="yes">
+                <xsl:text>ERROR: Document root element for FO output </xsl:text>
+                <xsl:text>must be one of the following elements:</xsl:text>
+                <xsl:value-of select="$root.elements"/>
+              </xsl:message>
+            </xsl:when>
+            <!-- Otherwise proceed -->
+            <xsl:otherwise>
+              <xsl:if test="$collect.xref.targets = 'yes' or
+                            $collect.xref.targets = 'only'">
+                <xsl:apply-templates select="/"
+                                     mode="collect.targets"/>
+              </xsl:if>
+              <xsl:if test="$collect.xref.targets != 'only'">
+                <xsl:apply-templates select="/"
+                                     mode="process.root"/>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="process.root">
+  <xsl:variable name="document.element" select="self::*"/>
+
+  <xsl:call-template name="root.messages"/>
+
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="$document.element/title[1]">
+        <xsl:value-of select="$document.element/title[1]"/>
+      </xsl:when>
+      <xsl:otherwise>[could not find document title]</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  
+  <!-- Include all id values in XEP output -->
+  <xsl:if test="$xep.extensions != 0">
+    <xsl:processing-instruction 
+     name="xep-pdf-drop-unused-destinations">false</xsl:processing-instruction>
+  </xsl:if>
+
+  <fo:root xsl:use-attribute-sets="root.properties">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language">
+        <xsl:with-param name="target" select="/*[1]"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:if test="$xep.extensions != 0">
+      <xsl:call-template name="xep-pis"/>
+      <xsl:call-template name="xep-document-information"/>
+    </xsl:if>
+    <xsl:if test="$axf.extensions != 0">
+      <xsl:call-template name="axf-document-information"/>
+    </xsl:if>
+
+    <xsl:call-template name="setup.pagemasters"/>
+
+    <xsl:if test="$fop.extensions != 0">
+      <xsl:apply-templates select="$document.element" mode="fop.outline"/>
+    </xsl:if>
+
+    <xsl:if test="$fop1.extensions != 0">
+      <xsl:variable name="bookmarks">
+        <xsl:apply-templates select="$document.element" 
+                             mode="fop1.outline"/>
+      </xsl:variable>
+      <xsl:if test="string($bookmarks) != ''">
+        <fo:bookmark-tree>
+          <xsl:copy-of select="$bookmarks"/>
+        </fo:bookmark-tree>
+      </xsl:if>
+    </xsl:if>
+
+    <xsl:if test="$xep.extensions != 0">
+      <xsl:variable name="bookmarks">
+        <xsl:apply-templates select="$document.element" mode="xep.outline"/>
+      </xsl:variable>
+      <xsl:if test="string($bookmarks) != ''">
+        <rx:outline xmlns:rx="http://www.renderx.com/XSL/Extensions">
+          <xsl:copy-of select="$bookmarks"/>
+        </rx:outline>
+      </xsl:if>
+    </xsl:if>
+
+    <xsl:if test="$arbortext.extensions != 0 and $ati.xsl11.bookmarks != 0">
+      <xsl:variable name="bookmarks">
+        <xsl:apply-templates select="$document.element"
+                             mode="ati.xsl11.bookmarks"/>
+      </xsl:variable>
+      <xsl:if test="string($bookmarks) != ''">
+        <fo:bookmark-tree>
+          <xsl:copy-of select="$bookmarks"/>
+        </fo:bookmark-tree>
+      </xsl:if>
+    </xsl:if>
+
+    <xsl:apply-templates select="$document.element"/>
+  </fo:root>
+</xsl:template>
+
+<xsl:template name="root.messages">
+  <!-- redefine this any way you'd like to output messages -->
+  <!-- DO NOT OUTPUT ANYTHING FROM THIS TEMPLATE -->
+  <xsl:message>
+    <xsl:text>Making </xsl:text>
+    <xsl:value-of select="$page.orientation"/>
+    <xsl:text> pages on </xsl:text>
+    <xsl:value-of select="$paper.type"/>
+    <xsl:text> paper (</xsl:text>
+    <xsl:value-of select="$page.width"/>
+    <xsl:text>x</xsl:text>
+    <xsl:value-of select="$page.height"/>
+    <xsl:text>)</xsl:text>
+  </xsl:message>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/ebnf.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/ebnf.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/ebnf.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,325 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                exclude-result-prefixes="doc"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: ebnf.xsl 5145 2005-08-09 09:30:44Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<doc:reference xmlns="">
+<referenceinfo>
+<releaseinfo role="meta">
+$Id: ebnf.xsl 5145 2005-08-09 09:30:44Z bobstayton $
+</releaseinfo>
+<author><surname>Walsh</surname>
+<firstname>Norman</firstname></author>
+<copyright><year>1999</year><year>2000</year><year>2001</year>
+<holder>Norman Walsh</holder>
+</copyright>
+</referenceinfo>
+<title>HTML EBNF Reference</title>
+
+<partintro>
+<section><title>Introduction</title>
+
+<para>This is technical reference documentation for the DocBook XSL
+Stylesheets; it documents (some of) the parameters, templates, and
+other elements of the stylesheets.</para>
+
+<para>This reference describes the templates and parameters relevant
+to formatting EBNF markup.</para>
+
+<para>This is not intended to be <quote>user</quote> documentation.
+It is provided for developers writing customization layers for the
+stylesheets, and for anyone who's interested in <quote>how it
+works</quote>.</para>
+
+<para>Although I am trying to be thorough, this documentation is known
+to be incomplete. Don't forget to read the source, too :-)</para>
+</section>
+</partintro>
+</doc:reference>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="productionset">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="title">
+      <fo:block id="{$id}" xsl:use-attribute-sets="formal.object.properties">
+        <xsl:call-template name="formal.object.heading">
+          <xsl:with-param name="placement" select="'before'"/>
+        </xsl:call-template>
+
+        <fo:table table-layout="fixed" width="100%">
+          <fo:table-column column-number="1" column-width="3%"/>
+          <fo:table-column column-number="2" column-width="15%"/>
+          <fo:table-column column-number="3" column-width="5%"/>
+          <fo:table-column column-number="4" column-width="52%"/>
+          <fo:table-column column-number="5" column-width="25%"/>
+          <fo:table-body start-indent="0pt" end-indent="0pt">
+            <xsl:apply-templates select="production|productionrecap"/>
+          </fo:table-body>
+        </fo:table>
+      </fo:block>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:table id="{$id}" table-layout="fixed" width="100%">
+        <fo:table-column column-number="1" column-width="3%"/>
+        <fo:table-column column-number="2" column-width="15%"/>
+        <fo:table-column column-number="3" column-width="5%"/>
+        <fo:table-column column-number="4" column-width="52%"/>
+        <fo:table-column column-number="5" column-width="25%"/>
+        <fo:table-body start-indent="0pt" end-indent="0pt">
+          <xsl:apply-templates select="production|productionrecap"/>
+        </fo:table-body>
+      </fo:table>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="productionset/title">
+  <!-- suppressed -->
+</xsl:template>
+
+<xsl:template match="production">
+  <xsl:param name="recap" select="false()"/>
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+  <fo:table-row>
+    <fo:table-cell>
+      <fo:block text-align="start">
+        <xsl:text>[</xsl:text>
+        <xsl:number count="production" level="any"/>
+        <xsl:text>]</xsl:text>
+      </fo:block>
+    </fo:table-cell>
+    <fo:table-cell>
+      <fo:block text-align="end">
+        <xsl:choose>
+          <xsl:when test="$recap">
+            <fo:basic-link internal-destination="{$id}"
+                           xsl:use-attribute-sets="xref.properties">
+              <xsl:apply-templates select="lhs"/>
+            </fo:basic-link>
+          </xsl:when>
+          <xsl:otherwise>
+            <fo:wrapper id="{$id}">
+              <xsl:apply-templates select="lhs"/>
+            </fo:wrapper>
+          </xsl:otherwise>
+        </xsl:choose>
+      </fo:block>
+    </fo:table-cell>
+    <fo:table-cell>
+      <fo:block text-align="center">
+        <xsl:copy-of select="$ebnf.assignment"/>
+      </fo:block>
+    </fo:table-cell>
+    <fo:table-cell>
+      <fo:block>
+        <xsl:apply-templates select="rhs"/>
+        <xsl:copy-of select="$ebnf.statement.terminator"/>
+      </fo:block>
+    </fo:table-cell>
+    <fo:table-cell border-start-width="3pt">
+      <fo:block text-align="start">
+        <xsl:choose>
+          <xsl:when test="rhs/lineannotation|constraint">
+            <xsl:apply-templates select="rhs/lineannotation" mode="rhslo"/>
+            <xsl:apply-templates select="constraint"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:text>&#160;</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </fo:block>
+    </fo:table-cell>
+  </fo:table-row>
+</xsl:template>
+
+<xsl:template match="productionrecap">
+  <xsl:variable name="targets" select="key('id', at linkend)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:if test="count($targets)=0">
+    <xsl:message>
+      <xsl:text>Error: no ID for productionrecap linkend: </xsl:text>
+      <xsl:value-of select="@linkend"/>
+      <xsl:text>.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="count($targets)>1">
+    <xsl:message>
+      <xsl:text>Warning: multiple "IDs" for productionrecap linkend: </xsl:text>
+      <xsl:value-of select="@linkend"/>
+      <xsl:text>.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:apply-templates select="$target">
+    <xsl:with-param name="recap" select="true()"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="lhs">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="rhs">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="nonterminal">
+  <xsl:variable name="linkend">
+    <xsl:call-template name="xpointer.idref">
+      <xsl:with-param name="xpointer" select="@def"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="check.id.unique">
+    <xsl:with-param name="linkend" select="$linkend"/>
+  </xsl:call-template>
+
+  <xsl:call-template name="check.idref.targets">
+    <xsl:with-param name="linkend" select="$linkend"/>
+    <xsl:with-param name="element-list">production</xsl:with-param>
+  </xsl:call-template>
+
+  <!-- If you don't provide content, you can't point outside this doc. -->
+  <xsl:choose>
+    <xsl:when test="*|text()"><!--nop--></xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$linkend = ''">
+	<xsl:message>
+	  <xsl:text>Non-terminals with no content must point to </xsl:text>
+	  <xsl:text>production elements in the current document.</xsl:text>
+	</xsl:message>
+	<xsl:message>
+	  <xsl:text>Invalid xpointer for empty nt: </xsl:text>
+	  <xsl:value-of select="@def"/>
+	</xsl:message>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:variable name="href">
+    <xsl:choose>
+      <xsl:when test="$linkend != ''">
+	<xsl:variable name="targets" select="key('id',$linkend)"/>
+	<xsl:variable name="target" select="$targets[1]"/>
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select="$target"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:value-of select="@def"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <fo:basic-link internal-destination="{$href}"
+                 xsl:use-attribute-sets="xref.properties">
+    <xsl:choose>
+      <xsl:when test="*|text()">
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:choose>
+          <xsl:when test="$linkend != ''">
+            <xsl:variable name="targets" select="key('id',$linkend)"/>
+            <xsl:variable name="target" select="$targets[1]"/>
+            <xsl:apply-templates select="$target/lhs"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:text>???</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </fo:basic-link>
+</xsl:template>
+
+<xsl:template match="rhs/lineannotation">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="rhs/lineannotation" mode="rhslo">
+  <xsl:text>/*&#160;</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>&#160;*/</xsl:text>
+</xsl:template>
+
+<xsl:template match="constraint">
+  <xsl:call-template name="check.id.unique">
+    <xsl:with-param name="linkend" select="@linkend"/>
+  </xsl:call-template>
+
+  <xsl:call-template name="check.idref.targets">
+    <xsl:with-param name="linkend" select="@linkend"/>
+    <xsl:with-param name="element-list">constraintdef</xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:variable name="href">
+    <xsl:variable name="targets" select="key('id', at linkend)"/>
+    <xsl:variable name="target" select="$targets[1]"/>
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$target"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="preceding-sibling::constraint">
+    <fo:inline linefeed-treatment="preserve">&#xA;</fo:inline>
+  </xsl:if>
+  <xsl:text>[&#160;</xsl:text>
+
+  <xsl:choose>
+    <xsl:when test="@role">
+      <xsl:value-of select="@role"/>
+      <xsl:text>: </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="targets" select="key('id', at linkend)"/>
+      <xsl:variable name="target" select="$targets[1]"/>
+      <xsl:if test="$target/@role">
+	<xsl:value-of select="$target/@role"/>
+	<xsl:text>: </xsl:text>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <fo:basic-link internal-destination="{$href}"
+                 xsl:use-attribute-sets="xref.properties">
+    <xsl:variable name="targets" select="key('id', at linkend)"/>
+    <xsl:variable name="target" select="$targets[1]"/>
+    <xsl:apply-templates select="$target" mode="title.markup"/>
+  </fo:basic-link>
+  <xsl:text>&#160;]</xsl:text>
+</xsl:template>
+
+<xsl:template match="constraintdef">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+  <fo:block id="{$id}">
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="constraintdef/title">
+  <fo:block font-weight="bold">
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/fo-patch-for-fop.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/fo-patch-for-fop.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/fo-patch-for-fop.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,64 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:fox="http://xml.apache.org/fop/extensions"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: fo-patch-for-fop.xsl 1647 2002-06-11 13:38:03Z nwalsh $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheet distribution.
+     See ../README or http://docbook.sf.net/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:output method="xml"/>
+
+<xsl:template match="*">
+  <xsl:element name="{name(.)}">
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="fo:page-sequence
+                     |fo:single-page-master-reference
+                     |fo:repeatable-page-master-reference
+                     |fo:conditional-page-master-reference">
+  <xsl:element name="{name(.)}">
+    <xsl:for-each select="@*">
+      <xsl:choose>
+        <xsl:when test="name(.) = 'master-reference'">
+          <xsl:attribute name="master-name">
+            <xsl:value-of select="."/>
+          </xsl:attribute>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:attribute name="{name(.)}">
+            <xsl:value-of select="."/>
+          </xsl:attribute>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:for-each>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<!-- a clever idea that doesn't quite work. fop 0.20.1 doesn't understand % -->
+<!-- and fop 0.20.2 doesn't work for me at all... -->
+<xsl:template match="fo:table-column">
+  <xsl:element name="{name(.)}">
+    <xsl:if test="not(@column-width)">
+      <xsl:attribute name="column-width">
+        <xsl:value-of select="100 div count(../fo:table-column)"/>
+        <xsl:text>%</xsl:text>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/fo-rtf.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/fo-rtf.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/fo-rtf.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,154 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:set="http://exslt.org/sets"
+                exclude-result-prefixes="exsl set"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: fo-rtf.xsl 1647 2002-06-11 13:38:03Z nwalsh $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheet distribution.
+     See ../README or http://docbook.sf.net/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- This module contains templates that match against FO nodes. It is used
+     to post-process result tree fragments for some sorts of cleanup.
+     These templates can only ever be fired by a processor that supports
+     exslt:node-set(). -->
+
+<!-- ==================================================================== -->
+
+<!-- insert.fo.fnum mode templates insert a particular RTF at the beginning
+     of the first paragraph in the primary RTF. In fact, they are inserting
+     a footnote-number, so we tinker a few other things too, like spacing and
+     font-sizes. -->
+
+<xsl:template match="/" mode="insert.fo.fnum">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:apply-templates mode="insert.fo.fnum">
+    <xsl:with-param name="mark" select="$mark"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.fo.fnum">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="insert.fo.fnum">
+      <xsl:with-param name="mark" select="$mark"/>
+    </xsl:apply-templates>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="fo:block" mode="insert.fo.fnum">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy>
+    <xsl:for-each select="@*">
+      <xsl:choose>
+        <xsl:when test="starts-with(name(.), 'space-before')"/>
+        <xsl:when test="starts-with(name(.), 'space-after')"/>
+        <xsl:when test="starts-with(name(.), 'font-size')"/>
+        <xsl:otherwise>
+          <xsl:copy-of select="."/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:for-each>
+    <xsl:if test="not(preceding::fo:block)">
+      <xsl:copy-of select="$mark"/>
+    </xsl:if>
+    <xsl:apply-templates mode="insert.fo.fnum">
+      <xsl:with-param name="mark" select="$mark"/>
+    </xsl:apply-templates>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="text()|processing-instruction()|comment()" mode="insert.fo.fnum">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- insert.fo.block mode templates insert a particular RTF at the beginning
+     of the first paragraph in the primary RTF. -->
+
+<xsl:template match="/" mode="insert.fo.block">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:apply-templates mode="insert.fo.block">
+    <xsl:with-param name="mark" select="$mark"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.fo.block">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="insert.fo.block">
+      <xsl:with-param name="mark" select="$mark"/>
+    </xsl:apply-templates>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="fo:block" mode="insert.fo.block">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:if test="not(preceding::fo:block)">
+      <xsl:copy-of select="$mark"/>
+    </xsl:if>
+    <xsl:apply-templates mode="insert.fo.block">
+      <xsl:with-param name="mark" select="$mark"/>
+    </xsl:apply-templates>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="text()|processing-instruction()|comment()" mode="insert.fo.block">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- insert.fo.text mode templates insert a particular RTF at the beginning
+     of the first text-node in the primary RTF. -->
+
+<xsl:template match="/" mode="insert.fo.text">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:apply-templates mode="insert.fo.text">
+    <xsl:with-param name="mark" select="$mark"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.fo.text">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="insert.fo.text">
+      <xsl:with-param name="mark" select="$mark"/>
+    </xsl:apply-templates>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="text()|processing-instruction()|comment()" mode="insert.fo.text">
+  <xsl:param name="mark" select="'?'"/>
+
+  <xsl:if test="not(preceding::text())">
+    <xsl:copy-of select="$mark"/>
+  </xsl:if>
+
+  <xsl:copy/>
+</xsl:template>
+
+<xsl:template match="processing-instruction()|comment()" mode="insert.fo.text">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/fo.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/fo.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/fo.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,71 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: fo.xsl 5617 2006-03-06 19:30:04Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template name="anchor">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="conditional" select="1"/>
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$node"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:if test="$conditional = 0 or $node/@id or $node/@xml:id">
+    <xsl:attribute name="id"><xsl:value-of select="$id"/></xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="dingbat">
+  <xsl:param name="dingbat">bullet</xsl:param>
+  <xsl:variable name="symbol">
+    <xsl:choose>
+      <xsl:when test="$dingbat='bullet'">o</xsl:when>
+      <xsl:when test="$dingbat='copyright'">&#x00A9;</xsl:when>
+      <xsl:when test="$dingbat='trademark'">&#x2122;</xsl:when>
+      <xsl:when test="$dingbat='trade'">&#x2122;</xsl:when>
+      <xsl:when test="$dingbat='registered'">&#x00AE;</xsl:when>
+      <xsl:when test="$dingbat='service'">(SM)</xsl:when>
+      <xsl:when test="$dingbat='ldquo'">"</xsl:when>
+      <xsl:when test="$dingbat='rdquo'">"</xsl:when>
+      <xsl:when test="$dingbat='lsquo'">'</xsl:when>
+      <xsl:when test="$dingbat='rsquo'">'</xsl:when>
+      <xsl:when test="$dingbat='em-dash'">&#x2014;</xsl:when>
+      <xsl:when test="$dingbat='en-dash'">-</xsl:when>
+      <xsl:otherwise>o</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$dingbat.font.family = ''">
+      <xsl:copy-of select="$symbol"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:inline font-family="{$dingbat.font.family}">
+        <xsl:copy-of select="$symbol"/>
+      </fo:inline>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="href.target">
+  <xsl:param name="context" select="."/>
+  <xsl:param name="object" select="."/>
+  <xsl:text>#</xsl:text>
+  <xsl:call-template name="object.id">
+    <xsl:with-param name="object" select="$object"/>
+  </xsl:call-template>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/fo/footnote.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/footnote.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/footnote.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,186 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="exsl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: footnote.xsl 5948 2006-05-08 01:53:39Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template name="format.footnote.mark">
+  <xsl:param name="mark" select="'?'"/>
+  <fo:inline xsl:use-attribute-sets="footnote.mark.properties">
+    <xsl:choose>
+      <xsl:when test="$fop.extensions != 0">
+        <xsl:attribute name="vertical-align">super</xsl:attribute>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:attribute name="baseline-shift">super</xsl:attribute>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:copy-of select="$mark"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="footnote">
+  <xsl:choose>
+    <xsl:when test="ancestor::table or ancestor::informaltable">
+      <xsl:call-template name="format.footnote.mark">
+        <xsl:with-param name="mark">
+          <xsl:apply-templates select="." mode="footnote.number"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:footnote>
+        <fo:inline>
+          <xsl:call-template name="format.footnote.mark">
+            <xsl:with-param name="mark">
+              <xsl:apply-templates select="." mode="footnote.number"/>
+            </xsl:with-param>
+          </xsl:call-template>
+        </fo:inline>
+        <fo:footnote-body xsl:use-attribute-sets="footnote.properties">
+          <xsl:apply-templates/>
+        </fo:footnote-body>
+      </fo:footnote>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="footnoteref">
+  <xsl:variable name="footnote" select="key('id', at linkend)"/>
+  <xsl:call-template name="format.footnote.mark">
+    <xsl:with-param name="mark">
+      <xsl:apply-templates select="$footnote" mode="footnote.number"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="footnote" mode="footnote.number">
+  <xsl:choose>
+    <xsl:when test="string-length(@label) != 0">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="ancestor::table or ancestor::informaltable">
+      <xsl:variable name="tfnum">
+        <xsl:number level="any" from="table|informaltable" format="1"/>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="string-length($table.footnote.number.symbols) &gt;= $tfnum">
+          <xsl:value-of select="substring($table.footnote.number.symbols, $tfnum, 1)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:number level="any" from="table|informaltable"
+                      format="{$table.footnote.number.format}"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="fnum">
+        <!-- FIXME: list in @from is probably not complete -->
+        <xsl:number level="any" 
+                    from="chapter|appendix|preface|article|refentry|bibliography" 
+                    count="footnote[not(@label)][not(ancestor::table) and not(ancestor::informaltable)]|ulink[$ulink.footnotes != 0][node()][@url != .][not(ancestor::footnote)]" 
+                    format="1"/>
+      </xsl:variable>
+      <xsl:choose>
+        <xsl:when test="string-length($footnote.number.symbols) &gt;= $fnum">
+          <xsl:value-of select="substring($footnote.number.symbols, $fnum, 1)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:number value="$fnum" format="{$footnote.number.format}"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="footnote.body.number">
+  <xsl:variable name="footnote.mark">
+    <xsl:call-template name="format.footnote.mark">
+      <xsl:with-param name="mark">
+        <xsl:apply-templates select="ancestor::footnote" mode="footnote.number"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="fo">
+    <xsl:apply-templates select="."/>
+  </xsl:variable>
+
+  <xsl:variable name="fo-nodes" select="exsl:node-set($fo)"/>
+
+  <xsl:choose>
+    <xsl:when test="$fo-nodes//fo:block">
+      <xsl:apply-templates select="$fo-nodes" mode="insert.fo.fnum">
+        <xsl:with-param name="mark" select="$footnote.mark"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="$fo-nodes" mode="insert.fo.text">
+        <xsl:with-param name="mark" select="$footnote.mark"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="footnote/para[1]
+                     |footnote/simpara[1]
+                     |footnote/formalpara[1]"
+              priority="2">
+  <!-- this only works if the first thing in a footnote is a para, -->
+  <!-- which is ok, because it usually is. -->
+  <fo:block>
+    <xsl:call-template name="format.footnote.mark">
+      <xsl:with-param name="mark">
+        <xsl:apply-templates select="ancestor::footnote" mode="footnote.number"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="footnote" mode="table.footnote.mode">
+  <xsl:choose>
+    <xsl:when test="local-name(*[1]) = 'para' or local-name(*[1]) = 'simpara'">
+      <fo:block xsl:use-attribute-sets="table.footnote.properties">
+        <xsl:apply-templates/>
+      </fo:block>
+    </xsl:when>
+
+    <xsl:when test="function-available('exsl:node-set')">
+      <fo:block xsl:use-attribute-sets="table.footnote.properties">
+        <xsl:apply-templates select="*[1]" mode="footnote.body.number"/>
+        <xsl:apply-templates select="*[position() &gt; 1]"/>
+      </fo:block>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>Warning: footnote number may not be generated </xsl:text>
+        <xsl:text>correctly; </xsl:text>
+        <xsl:value-of select="local-name(*[1])"/>
+        <xsl:text> unexpected as first child of footnote.</xsl:text>
+      </xsl:message>
+      <fo:block xsl:use-attribute-sets="table.footnote.properties">
+        <xsl:apply-templates/>
+      </fo:block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/fop.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/fop.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/fop.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,92 @@
+<?xml version='1.0' encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:fox="http://xml.apache.org/fop/extensions"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: fop.xsl 6402 2006-11-12 08:23:21Z bobstayton $
+     ********************************************************************
+     (c) Stephane Bline Peregrine Systems 2001
+     Driver file to allow pdf bookmarking (based on fop implementation).
+     ******************************************************************** -->
+<!--
+In PDF bookmarks can't be used characters with code>255. This version of file
+translates characters with code>255 back to ASCII.
+
+   Pavel Zampach (zampach at volny.cz)
+-->
+
+<xsl:variable name="a-dia" select=
+"'&#257;&#259;&#261;&#263;&#265;&#267;&#269;&#271;&#273;&#275;&#277;&#279;&#281;&#283;&#339;&#285;&#287;&#289;&#291;&#293;&#295;&#297;&#299;&#301;&#303;&#305;&#309;&#311;&#314;&#316;&#318;&#320;&#322;&#324;&#326;&#328;&#331;&#333;&#335;&#337;&#341;&#343;&#345;&#347;&#349;&#351;&#353;&#355;&#357;&#359;&#361;&#363;&#365;&#367;&#369;&#371;&#373;&#375;&#378;&#380;&#382;&#256;&#258;&#260;&#262;&#264;&#266;&#268;&#270;&#272;&#274;&#276;&#278;&#280;&#282;&#338;&#284;&#286;&#288;&#290;&#292;&#294;&#296;&#298;&#300;&#302;&#304;&#308;&#310;&#313;&#315;&#317;&#319;&#321;&#323;&#325;&#327;&#330;&#332;&#334;&#336;&#340;&#342;&#344;&#346;&#348;&#350;&#352;&#354;&#356;&#358;&#360;&#362;&#364;&#366;&#368;&#370;&#372;&#374;&#376;&#377;&#379;&#381;'"/>
+<xsl:variable name="a-asc" select=
+"'aaaccccddeeeeeegggghhiiiiijklllllnnnnooorrrsssstttuuuuuuwyzzzAAACCCCDDEEEEEEGGGGHHIIIIIJKLLLLLNNNNOOORRRSSSSTTTUUUUUUWYYZZZ'"/>
+
+<xsl:template match="*" mode="fop.outline">
+  <xsl:variable name="id">
+    <xsl:value-of select="(@id|@xml:id)[1]"/>
+  </xsl:variable>
+  <xsl:if test="$id != ''">
+    <fox:destination internal-destination="{$id}"/>
+  </xsl:if>
+  <xsl:apply-templates select="*" mode="fop.outline"/>
+</xsl:template>
+
+<xsl:template match="set|book|part|reference|preface|chapter|appendix|article
+                     |glossary|bibliography|index|setindex
+                     |refentry
+                     |sect1|sect2|sect3|sect4|sect5|section"
+              mode="fop.outline">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="bookmark-label">
+    <xsl:apply-templates select="." mode="object.title.markup"/>
+  </xsl:variable>
+
+  <!-- Put the root element bookmark at the same level as its children -->
+  <!-- If the object is a set or book, generate a bookmark for the toc -->
+
+  <xsl:choose>
+    <xsl:when test="parent::*">
+      <fox:outline internal-destination="{$id}">
+        <fox:label>
+          <xsl:value-of select="normalize-space(translate($bookmark-label, $a-dia, $a-asc))"/>
+        </fox:label>
+        <xsl:apply-templates select="*" mode="fop.outline"/>
+      </fox:outline>
+    </xsl:when>
+    <xsl:otherwise>
+      <fox:outline internal-destination="{$id}">
+        <fox:label>
+          <xsl:value-of select="normalize-space(translate($bookmark-label, $a-dia, $a-asc))"/>
+        </fox:label>
+      </fox:outline>
+
+      <xsl:variable name="toc.params">
+        <xsl:call-template name="find.path.params">
+          <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:if test="contains($toc.params, 'toc')
+                    and (book|part|reference|preface|chapter|appendix|article
+                         |glossary|bibliography|index|setindex
+                         |refentry
+                         |sect1|sect2|sect3|sect4|sect5|section)">
+        <fox:outline internal-destination="toc...{$id}">
+          <fox:label>
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'TableofContents'"/>
+            </xsl:call-template>
+          </fox:label>
+        </fox:outline>
+      </xsl:if>
+      <xsl:apply-templates select="*" mode="fop.outline"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <fox:destination internal-destination="{$id}"/>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/fo/fop1.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/fop1.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/fop1.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,71 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<xsl:template match="*" mode="fop1.outline">
+  <xsl:apply-templates select="*" mode="fop1.outline"/>
+</xsl:template>
+
+<xsl:template match="set|book|part|reference|
+                     preface|chapter|appendix|article
+                     |glossary|bibliography|index|setindex
+                     |refentry
+                     |sect1|sect2|sect3|sect4|sect5|section"
+              mode="fop1.outline">
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="bookmark-label">
+    <xsl:apply-templates select="." mode="object.title.markup"/>
+  </xsl:variable>
+
+  <!-- Put the root element bookmark at the same level as its children -->
+  <!-- If the object is a set or book, generate a bookmark for the toc -->
+
+  <xsl:choose>
+    <xsl:when test="parent::*">
+      <fo:bookmark internal-destination="{$id}">
+        <fo:bookmark-title>
+          <xsl:value-of select="normalize-space(translate($bookmark-label, $a-dia, $a-asc))"/>
+        </fo:bookmark-title>
+        <xsl:apply-templates select="*" mode="fop1.outline"/>
+      </fo:bookmark>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:bookmark internal-destination="{$id}">
+        <fo:bookmark-title>
+          <xsl:value-of select="normalize-space(translate($bookmark-label, $a-dia, $a-asc))"/>
+        </fo:bookmark-title>
+      </fo:bookmark>
+
+      <xsl:variable name="toc.params">
+        <xsl:call-template name="find.path.params">
+          <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:if test="contains($toc.params, 'toc')
+                    and (book|part|reference|preface|chapter|appendix|article
+                         |glossary|bibliography|index|setindex
+                         |refentry
+                         |sect1|sect2|sect3|sect4|sect5|section)">
+        <fo:bookmark internal-destination="toc...{$id}">
+          <fo:bookmark-title>
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'TableofContents'"/>
+            </xsl:call-template>
+          </fo:bookmark-title>
+        </fo:bookmark>
+      </xsl:if>
+      <xsl:apply-templates select="*" mode="fop1.outline"/>
+    </xsl:otherwise>
+  </xsl:choose>
+<!--
+  <fo:bookmark internal-destination="{$id}"/>
+-->
+</xsl:template>
+
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/formal.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/formal.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/formal.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,550 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: formal.xsl 5925 2006-05-04 07:11:00Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- formal.object creates a basic block containing the
+     result of processing the object, including its title
+     and any keep-together properties.
+     The template calling formal.object may wrap these results in a
+     float or pgwide block. -->
+
+<xsl:template name="formal.object">
+  <xsl:param name="placement" select="'before'"/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="content">
+    <xsl:if test="$placement = 'before'">
+      <xsl:call-template name="formal.object.heading">
+        <xsl:with-param name="placement" select="$placement"/>
+      </xsl:call-template>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:if test="$placement != 'before'">
+      <xsl:call-template name="formal.object.heading">
+        <xsl:with-param name="placement" select="$placement"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="keep.together">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'keep-together'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <!-- tables have their own templates and 
+         are not handled by formal.object -->
+    <xsl:when test="self::figure">
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="figure.properties">
+        <xsl:if test="$keep.together != ''">
+          <xsl:attribute name="keep-together.within-column"><xsl:value-of
+                          select="$keep.together"/></xsl:attribute>
+        </xsl:if>
+        <xsl:copy-of select="$content"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="self::example">
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="example.properties">
+        <xsl:if test="$keep.together != ''">
+          <xsl:attribute name="keep-together.within-column"><xsl:value-of
+                          select="$keep.together"/></xsl:attribute>
+        </xsl:if>
+        <xsl:copy-of select="$content"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="self::equation">
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="equation.properties">
+        <xsl:if test="$keep.together != ''">
+          <xsl:attribute name="keep-together.within-column"><xsl:value-of
+                          select="$keep.together"/></xsl:attribute>
+        </xsl:if>
+        <xsl:copy-of select="$content"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="self::procedure">
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="procedure.properties">
+        <xsl:if test="$keep.together != ''">
+          <xsl:attribute name="keep-together.within-column"><xsl:value-of
+                          select="$keep.together"/></xsl:attribute>
+        </xsl:if>
+        <xsl:copy-of select="$content"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="formal.object.properties">
+        <xsl:if test="$keep.together != ''">
+          <xsl:attribute name="keep-together.within-column"><xsl:value-of
+                          select="$keep.together"/></xsl:attribute>
+        </xsl:if>
+        <xsl:copy-of select="$content"/>
+      </fo:block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="formal.object.heading">
+  <xsl:param name="object" select="."/>
+  <xsl:param name="placement" select="'before'"/>
+
+  <fo:block xsl:use-attribute-sets="formal.title.properties">
+    <xsl:choose>
+      <xsl:when test="$placement = 'before'">
+        <xsl:attribute
+               name="keep-with-next.within-column">always</xsl:attribute>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:attribute
+               name="keep-with-previous.within-column">always</xsl:attribute>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:apply-templates select="$object" mode="object.title.markup">
+      <xsl:with-param name="allow-anchors" select="1"/>
+    </xsl:apply-templates>
+  </fo:block>
+</xsl:template>
+
+<xsl:template name="informal.object">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="keep.together">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'keep-together'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <!-- informaltables have their own templates and 
+         are not handled by formal.object -->
+    <xsl:when test="local-name(.) = 'equation'">
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="equation.properties">
+        <xsl:if test="$keep.together != ''">
+          <xsl:attribute name="keep-together.within-column"><xsl:value-of
+                          select="$keep.together"/></xsl:attribute>
+        </xsl:if>
+        <xsl:apply-templates/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="local-name(.) = 'procedure'">
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="procedure.properties">
+        <xsl:if test="$keep.together != ''">
+          <xsl:attribute name="keep-together.within-column"><xsl:value-of
+                          select="$keep.together"/></xsl:attribute>
+        </xsl:if>
+        <xsl:apply-templates/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="local-name(.) = 'informalfigure'">
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="informalfigure.properties">
+        <xsl:if test="$keep.together != ''">
+          <xsl:attribute name="keep-together.within-column"><xsl:value-of
+                          select="$keep.together"/></xsl:attribute>
+        </xsl:if>
+        <xsl:apply-templates/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="local-name(.) = 'informalexample'">
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="informalexample.properties">
+        <xsl:if test="$keep.together != ''">
+          <xsl:attribute name="keep-together.within-column"><xsl:value-of
+                          select="$keep.together"/></xsl:attribute>
+        </xsl:if>
+        <xsl:apply-templates/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="local-name(.) = 'informalequation'">
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="informalequation.properties">
+        <xsl:apply-templates/>
+      </fo:block>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block id="{$id}" 
+                xsl:use-attribute-sets="informal.object.properties">
+        <xsl:if test="$keep.together != ''">
+          <xsl:attribute name="keep-together.within-column"><xsl:value-of
+                          select="$keep.together"/></xsl:attribute>
+        </xsl:if>
+        <xsl:apply-templates/>
+      </fo:block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="semiformal.object">
+  <xsl:param name="placement" select="'before'"/>
+  <xsl:choose>
+    <xsl:when test="./title">
+      <xsl:call-template name="formal.object">
+        <xsl:with-param name="placement" select="$placement"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="informal.object"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="figure">
+  <xsl:variable name="param.placement"
+              select="substring-after(normalize-space($formal.title.placement),
+                                      concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="figure">
+    <xsl:choose>
+      <xsl:when test="@pgwide = '1'">
+        <fo:block xsl:use-attribute-sets="pgwide.properties">
+          <xsl:call-template name="formal.object">
+            <xsl:with-param name="placement" select="$placement"/>
+          </xsl:call-template>
+        </fo:block>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="formal.object">
+          <xsl:with-param name="placement" select="$placement"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="floatstyle">
+    <xsl:call-template name="floatstyle"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$floatstyle != ''">
+      <xsl:call-template name="floater">
+        <xsl:with-param name="position" select="$floatstyle"/>
+        <xsl:with-param name="content" select="$figure"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$figure"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="example">
+  <xsl:variable name="param.placement"
+             select="substring-after(normalize-space($formal.title.placement),
+                                     concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- Example doesn't have a pgwide attribute, so may use a PI -->
+  <xsl:variable name="pgwide.pi">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'pgwide'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="pgwide">
+    <xsl:choose>
+      <xsl:when test="$pgwide.pi">
+        <xsl:value-of select="$pgwide.pi"/>
+      </xsl:when>
+      <!-- child element may set pgwide -->
+      <xsl:when test="*[@pgwide]">
+        <xsl:value-of select="*[@pgwide][1]/@pgwide"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- Get align value from internal mediaobject -->
+  <xsl:variable name="align">
+    <xsl:if test="mediaobject|mediaobjectco">
+      <xsl:variable name="olist" select="mediaobject/imageobject
+                     |mediaobjectco/imageobjectco
+                     |mediaobject/videoobject
+                     |mediaobject/audioobject
+                     |mediaobject/textobject"/>
+
+      <xsl:variable name="object.index">
+        <xsl:call-template name="select.mediaobject.index">
+          <xsl:with-param name="olist" select="$olist"/>
+          <xsl:with-param name="count" select="1"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="object" select="$olist[position() = $object.index]"/>
+
+      <xsl:value-of select="$object/descendant::imagedata[@align][1]/@align"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="example">
+    <xsl:choose>
+      <xsl:when test="$pgwide = '1'">
+        <fo:block xsl:use-attribute-sets="pgwide.properties">
+          <xsl:if test="$align != ''">
+            <xsl:attribute name="text-align">
+              <xsl:value-of select="$align"/>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:call-template name="formal.object">
+            <xsl:with-param name="placement" select="$placement"/>
+          </xsl:call-template>
+        </fo:block>
+      </xsl:when>
+      <xsl:otherwise>
+        <fo:block>
+          <xsl:if test="$align != ''">
+            <xsl:attribute name="text-align">
+              <xsl:value-of select="$align"/>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:call-template name="formal.object">
+            <xsl:with-param name="placement" select="$placement"/>
+          </xsl:call-template>
+        </fo:block>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="floatstyle">
+    <xsl:call-template name="floatstyle"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$floatstyle != ''">
+      <xsl:call-template name="floater">
+        <xsl:with-param name="position" select="$floatstyle"/>
+        <xsl:with-param name="content" select="$example"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$example"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<!-- Unified handling of CALS and HTML tables, formal and not -->
+<!-- Creates a hierarchy of nested containers:
+     - Outer container does a float.
+     - Nested container does block-container for rotation
+     - Nested block contains title, layout table and footnotes
+     - Nested layout table placeholder template supports extensions.
+     - fo:table is innermost.
+     Created from the innermost and working out.
+     Not all layers apply to every table.
+-->
+<xsl:template match="table|informaltable">
+  <xsl:if test="tgroup/tbody/tr
+                |tgroup/thead/tr
+                |tgroup/tfoot/tr">
+    <xsl:message terminate="yes">
+      <xsl:text>Broken table: tr descendent of CALS Table.</xsl:text>
+      <xsl:text>The text in the first tr is:&#10;</xsl:text>
+      <xsl:value-of 
+               select="(tgroup//tr)[1]"/>
+    </xsl:message>
+  </xsl:if>
+  <xsl:if test="not(tgroup) and .//row">
+    <xsl:message terminate="yes">
+      <xsl:text>Broken table: row descendent of HTML table.</xsl:text>
+      <xsl:text>The text in the first row is:&#10;</xsl:text>
+      <xsl:value-of 
+               select=".//row[1]"/>
+    </xsl:message>
+  </xsl:if>
+
+  <!-- Contains fo:table, not title or footnotes -->
+  <xsl:variable name="table.content">
+    <xsl:call-template name="make.table.content"/>
+  </xsl:variable>
+
+  <!-- Optional layout table template for extensions -->
+  <xsl:variable name="table.layout">
+    <xsl:call-template name="table.layout">
+      <xsl:with-param name="table.content" select="$table.content"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <!-- fo:block contains title, layout table, and footnotes  -->
+  <xsl:variable name="table.block">
+    <xsl:call-template name="table.block">
+      <xsl:with-param name="table.layout" select="$table.layout"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <!-- pgwide or orient container -->
+  <xsl:variable name="table.container">
+    <xsl:call-template name="table.container">
+      <xsl:with-param name="table.block" select="$table.block"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <!-- float or not -->
+  <xsl:variable name="floatstyle">
+    <xsl:call-template name="floatstyle"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$floatstyle != ''">
+      <xsl:call-template name="floater">
+        <xsl:with-param name="position" select="$floatstyle"/>
+        <xsl:with-param name="content" select="$table.container"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$table.container"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+
+<xsl:template match="equation">
+  <xsl:variable name="param.placement"
+              select="substring-after(normalize-space($formal.title.placement),
+                                      concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- Equation doesn't have a pgwide attribute, so may use a PI -->
+  <xsl:variable name="pgwide">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'pgwide'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="equation">
+    <xsl:choose>
+      <xsl:when test="$pgwide = '1'">
+        <fo:block xsl:use-attribute-sets="pgwide.properties">
+          <xsl:call-template name="semiformal.object">
+            <xsl:with-param name="placement" select="$placement"/>
+          </xsl:call-template>
+        </fo:block>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="semiformal.object">
+          <xsl:with-param name="placement" select="$placement"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="floatstyle">
+    <xsl:call-template name="floatstyle"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$floatstyle != ''">
+      <xsl:call-template name="floater">
+        <xsl:with-param name="position" select="$floatstyle"/>
+        <xsl:with-param name="content" select="$equation"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$equation"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="figure/title"></xsl:template>
+<xsl:template match="figure/titleabbrev"></xsl:template>
+<xsl:template match="table/title"></xsl:template>
+<xsl:template match="table/titleabbrev"></xsl:template>
+<xsl:template match="table/textobject"></xsl:template>
+<xsl:template match="example/title"></xsl:template>
+<xsl:template match="example/titleabbrev"></xsl:template>
+<xsl:template match="equation/title"></xsl:template>
+<xsl:template match="equation/titleabbrev"></xsl:template>
+
+<xsl:template match="informalfigure">
+  <xsl:call-template name="informal.object"/>
+</xsl:template>
+
+<xsl:template match="informalexample">
+  <xsl:call-template name="informal.object"/>
+</xsl:template>
+
+<xsl:template match="informaltable/textobject"></xsl:template>
+
+<xsl:template match="informalequation">
+  <xsl:call-template name="informal.object"/>
+</xsl:template>
+
+<xsl:template name="floatstyle">
+  <xsl:if test="(@float and @float != '0') or @floatstyle != ''">
+    <xsl:choose>
+      <xsl:when test="@floatstyle != ''">
+        <xsl:value-of select="@floatstyle"/>
+      </xsl:when>
+      <xsl:when test="@float = '1'">
+        <xsl:value-of select="$default.float.class"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="@float"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/glossary.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/glossary.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/glossary.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1178 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY % common.entities SYSTEM "../common/entities.ent">
+%common.entities;
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: glossary.xsl 6469 2007-01-06 18:14:40Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="glossary">
+  <xsl:call-template name="make-glossary"/>
+</xsl:template>
+
+<xsl:template match="glossdiv/title"/>
+<xsl:template match="glossdiv/subtitle"/>
+<xsl:template match="glossdiv/titleabbrev"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="make-glossary">
+  <xsl:param name="divs" select="glossdiv"/>
+  <xsl:param name="entries" select="glossentry"/>
+  <xsl:param name="preamble" select="*[not(self::title
+                                           or self::subtitle
+                                           or self::glossdiv
+                                           or self::glossentry)]"/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="presentation">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'glossary-presentation'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="term-width">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'glossterm-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="width">
+    <xsl:choose>
+      <xsl:when test="$term-width = ''">
+        <xsl:value-of select="$glossterm.width"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$term-width"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="language">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}">
+    <xsl:call-template name="glossary.titlepage"/>
+  </fo:block>
+
+  <xsl:if test="$preamble">
+    <xsl:apply-templates select="$preamble"/>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="$presentation = 'list'">
+      <xsl:apply-templates select="$divs" mode="glossary.as.list">
+        <xsl:with-param name="width" select="$width"/>
+      </xsl:apply-templates>
+      <xsl:if test="$entries">
+        <fo:list-block provisional-distance-between-starts="{$width}"
+                       provisional-label-separation="{$glossterm.separation}"
+                       xsl:use-attribute-sets="normal.para.spacing">
+          <xsl:choose>
+            <xsl:when test="$glossary.sort != 0">
+              <xsl:apply-templates select="$entries" mode="glossary.as.list">
+                <xsl:sort lang="{$language}"
+                          select="translate(glossterm, &lowercase;, 
+                                            &uppercase;)"/>
+              </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="$entries" mode="glossary.as.list"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </fo:list-block>
+      </xsl:if>
+    </xsl:when>
+    <xsl:when test="$presentation = 'blocks'">
+      <xsl:apply-templates select="$divs" mode="glossary.as.blocks"/>
+      <xsl:choose>
+        <xsl:when test="$glossary.sort != 0">
+          <xsl:apply-templates select="$entries" mode="glossary.as.blocks">
+            <xsl:sort lang="{$language}"
+                      select="translate(glossterm, &lowercase;, 
+                                        &uppercase;)"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$entries" mode="glossary.as.blocks"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$glossary.as.blocks != 0">
+      <xsl:apply-templates select="$divs" mode="glossary.as.blocks"/>
+      <xsl:choose>
+        <xsl:when test="$glossary.sort != 0">
+          <xsl:apply-templates select="$entries" mode="glossary.as.blocks">
+            <xsl:sort lang="{$language}"
+                      select="translate(glossterm, &lowercase;, 
+                                        &uppercase;)"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$entries" mode="glossary.as.blocks"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="$divs" mode="glossary.as.list">
+        <xsl:with-param name="width" select="$width"/>
+      </xsl:apply-templates>
+      <xsl:if test="$entries">
+        <fo:list-block provisional-distance-between-starts="{$width}"
+                       provisional-label-separation="{$glossterm.separation}"
+                       xsl:use-attribute-sets="normal.para.spacing">
+          <xsl:choose>
+            <xsl:when test="$glossary.sort != 0">
+              <xsl:apply-templates select="$entries" mode="glossary.as.list">
+                <xsl:sort lang="{$language}"
+                          select="translate(glossterm, &lowercase;, 
+                                            &uppercase;)"/>
+              </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="$entries" mode="glossary.as.list"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </fo:list-block>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="book/glossary|part/glossary|/glossary" priority="2">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="make-glossary"/>
+    </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+<xsl:template match="glossary/glossaryinfo"></xsl:template>
+<xsl:template match="glossary/info"></xsl:template>
+<xsl:template match="glossary/title"></xsl:template>
+<xsl:template match="glossary/subtitle"></xsl:template>
+<xsl:template match="glossary/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="glosslist">
+  <xsl:variable name="presentation">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'glosslist-presentation'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="term-width">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'glossterm-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="width">
+    <xsl:choose>
+      <xsl:when test="$term-width = ''">
+        <xsl:value-of select="$glossterm.width"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$term-width"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="language">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:variable>
+
+  <xsl:if test="title or info/title">
+    <xsl:apply-templates select="(title|info/title)[1]" mode="list.title.mode"/>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="$presentation = 'list'">
+      <fo:list-block provisional-distance-between-starts="{$width}"
+                     provisional-label-separation="{$glossterm.separation}"
+                     xsl:use-attribute-sets="normal.para.spacing">
+        <xsl:choose>
+          <xsl:when test="$glossary.sort != 0">
+            <xsl:apply-templates select="glossentry" mode="glossary.as.list">
+              <xsl:sort lang="{$language}"
+                        select="translate(glossterm, &lowercase;, 
+                                          &uppercase;)"/>
+            </xsl:apply-templates>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="glossentry" mode="glossary.as.list"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </fo:list-block>
+    </xsl:when>
+    <xsl:when test="$presentation = 'blocks'">
+      <xsl:choose>
+        <xsl:when test="$glossary.sort != 0">
+          <xsl:apply-templates select="glossentry" mode="glossary.as.blocks">
+            <xsl:sort lang="{$language}"
+                      select="translate(glossterm, &lowercase;, 
+                                        &uppercase;)"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="glossentry" mode="glossary.as.blocks"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$glosslist.as.blocks != 0">
+      <xsl:choose>
+        <xsl:when test="$glossary.sort != 0">
+          <xsl:apply-templates select="glossentry" mode="glossary.as.blocks">
+            <xsl:sort lang="{$language}"
+                      select="translate(glossterm, &lowercase;, 
+                                        &uppercase;)"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="glossentry" mode="glossary.as.blocks"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:list-block provisional-distance-between-starts="{$width}"
+                     provisional-label-separation="{$glossterm.separation}"
+                     xsl:use-attribute-sets="normal.para.spacing">
+        <xsl:choose>
+          <xsl:when test="$glossary.sort != 0">
+            <xsl:apply-templates select="glossentry" mode="glossary.as.list">
+              <xsl:sort lang="{$language}"
+                        select="translate(glossterm, &lowercase;, 
+                                          &uppercase;)"/>
+            </xsl:apply-templates>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="glossentry" mode="glossary.as.list"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </fo:list-block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- Glossary collection -->
+
+<xsl:template match="glossary[@role='auto']" priority="2">
+  <xsl:variable name="collection" select="document($glossary.collection, .)"/>
+  <xsl:if test="$glossary.collection = ''">
+    <xsl:message>
+      <xsl:text>Warning: processing automatic glossary </xsl:text>
+      <xsl:text>without a glossary.collection file.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="not($collection) and $glossary.collection != ''">
+    <xsl:message>
+      <xsl:text>Warning: processing automatic glossary but unable to </xsl:text>
+      <xsl:text>open glossary.collection file '</xsl:text>
+      <xsl:value-of select="$glossary.collection"/>
+      <xsl:text>'</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:call-template name="make-auto-glossary"/>
+</xsl:template>
+
+<xsl:template name="make-auto-glossary">
+  <xsl:param name="collection" select="document($glossary.collection, .)"/>
+  <xsl:param name="terms" select="//glossterm[not(parent::glossdef)]|//firstterm"/>
+  <xsl:param name="preamble" select="*[not(self::title
+                                           or self::subtitle
+                                           or self::glossdiv
+                                           or self::glossentry)]"/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="presentation">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'glossary-presentation'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="term-width">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'glossterm-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="width">
+    <xsl:choose>
+      <xsl:when test="$term-width = ''">
+        <xsl:value-of select="$glossterm.width"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$term-width"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="language">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:variable>
+
+  <xsl:if test="$glossary.collection = ''">
+    <xsl:message>
+      <xsl:text>Warning: processing automatic glossary </xsl:text>
+      <xsl:text>without a glossary.collection file.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <fo:block id="{$id}">
+    <xsl:call-template name="glossary.titlepage"/>
+  </fo:block>
+
+  <xsl:if test="$preamble">
+    <xsl:apply-templates select="$preamble"/>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="glossdiv and $collection//glossdiv">
+      <xsl:for-each select="$collection//glossdiv">
+        <!-- first see if there are any in this div -->
+        <xsl:variable name="exist.test">
+          <xsl:for-each select="glossentry">
+            <xsl:variable name="cterm" select="glossterm"/>
+            <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+              <xsl:value-of select="glossterm"/>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:variable>
+
+        <xsl:if test="$exist.test != ''">
+          <xsl:choose>
+            <xsl:when test="$presentation = 'list'">
+              <xsl:apply-templates select="." mode="auto-glossary-as-list">
+                <xsl:with-param name="width" select="$width"/>
+                <xsl:with-param name="terms" select="$terms"/>
+              </xsl:apply-templates>
+            </xsl:when>
+            <xsl:when test="$presentation = 'blocks'">
+              <xsl:apply-templates select="." mode="auto-glossary-as-blocks">
+                <xsl:with-param name="terms" select="$terms"/>
+              </xsl:apply-templates>
+            </xsl:when>
+            <xsl:when test="$glossary.as.blocks != 0">
+              <xsl:apply-templates select="." mode="auto-glossary-as-blocks">
+                <xsl:with-param name="terms" select="$terms"/>
+              </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="." mode="auto-glossary-as-list">
+                <xsl:with-param name="width" select="$width"/>
+                <xsl:with-param name="terms" select="$terms"/>
+              </xsl:apply-templates>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:if>
+      </xsl:for-each>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$presentation = 'list'">
+          <fo:list-block provisional-distance-between-starts="{$width}"
+                         provisional-label-separation="{$glossterm.separation}"
+                         xsl:use-attribute-sets="normal.para.spacing">
+            <xsl:choose>
+              <xsl:when test="$glossary.sort != 0">
+                <xsl:for-each select="$collection//glossentry">
+                  <xsl:sort lang="{$language}"
+                            select="translate(glossterm, &lowercase;, 
+                                              &uppercase;)"/>
+                  <xsl:variable name="cterm" select="glossterm"/>
+                  <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+                    <xsl:apply-templates select="." 
+                                         mode="auto-glossary-as-list"/>
+                  </xsl:if>
+                </xsl:for-each>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:for-each select="$collection//glossentry">
+                  <xsl:variable name="cterm" select="glossterm"/>
+                  <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+                    <xsl:apply-templates select="." 
+                                         mode="auto-glossary-as-list"/>
+                  </xsl:if>
+                </xsl:for-each>
+              </xsl:otherwise>
+            </xsl:choose>
+          </fo:list-block>
+        </xsl:when>
+        <xsl:when test="$presentation = 'blocks' or
+                        $glossary.as.blocks != 0">
+          <xsl:choose>
+            <xsl:when test="$glossary.sort != 0">
+              <xsl:for-each select="$collection//glossentry">
+                <xsl:sort lang="{$language}"
+                          select="translate(glossterm, &lowercase;, 
+                                            &uppercase;)"/>
+                <xsl:variable name="cterm" select="glossterm"/>
+                <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+                  <xsl:apply-templates select="." 
+                                       mode="auto-glossary-as-blocks"/>
+                </xsl:if>
+              </xsl:for-each>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:for-each select="$collection//glossentry">
+                <xsl:variable name="cterm" select="glossterm"/>
+                <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+                  <xsl:apply-templates select="." 
+                                       mode="auto-glossary-as-blocks"/>
+                </xsl:if>
+              </xsl:for-each>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <fo:list-block provisional-distance-between-starts="{$width}"
+                         provisional-label-separation="{$glossterm.separation}"
+                         xsl:use-attribute-sets="normal.para.spacing">
+            <xsl:choose>
+              <xsl:when test="$glossary.sort != 0">
+                <xsl:for-each select="$collection//glossentry">
+                  <xsl:sort lang="{$language}"
+                            select="translate(glossterm, &lowercase;, 
+                                              &uppercase;)"/>
+                  <xsl:variable name="cterm" select="glossterm"/>
+                  <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+                    <xsl:apply-templates select="." 
+                                         mode="auto-glossary-as-list"/>
+                  </xsl:if>
+                </xsl:for-each>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:for-each select="$collection//glossentry">
+                  <xsl:variable name="cterm" select="glossterm"/>
+                  <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+                    <xsl:apply-templates select="." 
+                                         mode="auto-glossary-as-list"/>
+                  </xsl:if>
+                </xsl:for-each>
+              </xsl:otherwise>
+            </xsl:choose>
+          </fo:list-block>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="book/glossary[@role='auto']|
+                     part/glossary[@role='auto']|
+                     /glossary[@role='auto']" priority="2.5">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <xsl:if test="$glossary.collection = ''">
+    <xsl:message>
+      <xsl:text>Warning: processing automatic glossary </xsl:text>
+      <xsl:text>without a glossary.collection file.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="make-auto-glossary"/>
+    </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+<xsl:template match="glossdiv" mode="auto-glossary-as-list">
+  <xsl:param name="width" select="$glossterm.width"/>
+  <xsl:param name="terms" select="."/>
+
+  <xsl:variable name="language">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:variable>
+
+  <xsl:variable name="preamble"
+                select="*[not(self::title
+                            or self::subtitle
+                            or self::glossentry)]"/>
+
+  <xsl:call-template name="glossdiv.titlepage"/>
+
+  <xsl:apply-templates select="$preamble"/>
+
+  <fo:list-block provisional-distance-between-starts="{$width}"
+                 provisional-label-separation="{$glossterm.separation}"
+                 xsl:use-attribute-sets="normal.para.spacing">
+    <xsl:choose>
+      <xsl:when test="$glossary.sort != 0">
+        <xsl:for-each select="glossentry">
+          <xsl:sort lang="{$language}"
+                    select="translate(glossterm, &lowercase;, &uppercase;)"/>
+          <xsl:variable name="cterm" select="glossterm"/>
+          <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+            <xsl:apply-templates select="." mode="auto-glossary-as-list"/>
+          </xsl:if>
+        </xsl:for-each>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:for-each select="glossentry">
+          <xsl:variable name="cterm" select="glossterm"/>
+          <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+            <xsl:apply-templates select="." mode="auto-glossary-as-list"/>
+          </xsl:if>
+        </xsl:for-each>
+      </xsl:otherwise>
+    </xsl:choose>
+  </fo:list-block>
+</xsl:template>
+
+<xsl:template match="glossentry" mode="auto-glossary-as-list">
+  <xsl:apply-templates select="." mode="glossary.as.list"/>
+</xsl:template>
+
+<xsl:template match="glossdiv" mode="auto-glossary-as-blocks">
+  <xsl:param name="terms" select="."/>
+
+  <xsl:variable name="language">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:variable>
+
+  <xsl:variable name="preamble"
+                select="*[not(self::title
+                            or self::subtitle
+                            or self::glossentry)]"/>
+
+  <xsl:call-template name="glossdiv.titlepage"/>
+
+  <xsl:apply-templates select="$preamble"/>
+
+  <xsl:choose>
+    <xsl:when test="$glossary.sort != 0">
+      <xsl:for-each select="glossentry">
+        <xsl:sort lang="{$language}"
+                  select="translate(glossterm, &lowercase;, &uppercase;)"/>
+        <xsl:variable name="cterm" select="glossterm"/>
+        <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+          <xsl:apply-templates select="." mode="auto-glossary-as-blocks"/>
+        </xsl:if>
+      </xsl:for-each>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:for-each select="glossentry">
+        <xsl:variable name="cterm" select="glossterm"/>
+        <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+          <xsl:apply-templates select="." mode="auto-glossary-as-blocks"/>
+        </xsl:if>
+      </xsl:for-each>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template match="glossentry" mode="auto-glossary-as-blocks">
+  <xsl:apply-templates select="." mode="glossary.as.blocks"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- Format glossary as a list -->
+
+<xsl:template match="glossdiv" mode="glossary.as.list">
+  <xsl:param name="width" select="$glossterm.width"/>
+
+  <xsl:variable name="entries" select="glossentry"/>
+
+  <xsl:variable name="language">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:variable>
+
+  <xsl:variable name="preamble"
+                select="*[not(self::title
+                            or self::subtitle
+                            or self::glossentry)]"/>
+
+  <xsl:call-template name="glossdiv.titlepage"/>
+
+  <xsl:apply-templates select="$preamble"/>
+
+  <fo:list-block provisional-distance-between-starts="{$width}"
+                 provisional-label-separation="{$glossterm.separation}"
+                 xsl:use-attribute-sets="normal.para.spacing">
+    <xsl:choose>
+      <xsl:when test="$glossary.sort != 0">
+        <xsl:apply-templates select="$entries" mode="glossary.as.list">
+          <xsl:sort lang="{$language}"
+                    select="translate(glossterm, &lowercase;, 
+                                      &uppercase;)"/>
+        </xsl:apply-templates>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="$entries" mode="glossary.as.list"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </fo:list-block>
+</xsl:template>
+
+<!--
+GlossEntry ::=
+  GlossTerm, Acronym?, Abbrev?,
+  (IndexTerm)*,
+  RevHistory?,
+  (GlossSee | GlossDef+)
+-->
+
+<xsl:template match="glossentry" mode="glossary.as.list">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:list-item xsl:use-attribute-sets="normal.para.spacing">
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="conditional">
+        <xsl:choose>
+          <xsl:when test="$glossterm.auto.link != 0
+                          or $glossary.collection != ''">0</xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <fo:list-item-label end-indent="label-end()">
+      <fo:block>
+        <xsl:choose>
+          <xsl:when test="$glossentry.show.acronym = 'primary'">
+            <xsl:choose>
+              <xsl:when test="acronym|abbrev">
+                <xsl:apply-templates select="acronym|abbrev" 
+                                     mode="glossary.as.list"/>
+                <xsl:text> (</xsl:text>
+                <xsl:apply-templates select="glossterm" 
+                                     mode="glossary.as.list"/>
+                <xsl:text>)</xsl:text>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:apply-templates select="glossterm" 
+                                     mode="glossary.as.list"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:when>
+
+          <xsl:when test="$glossentry.show.acronym = 'yes'">
+            <xsl:apply-templates select="glossterm" mode="glossary.as.list"/>
+
+            <xsl:if test="acronym|abbrev">
+              <xsl:text> (</xsl:text>
+              <xsl:apply-templates select="acronym|abbrev" 
+                                   mode="glossary.as.list"/>
+              <xsl:text>)</xsl:text>
+            </xsl:if>
+          </xsl:when>
+
+          <xsl:otherwise>
+            <xsl:apply-templates select="glossterm" mode="glossary.as.list"/>
+          </xsl:otherwise>
+        </xsl:choose>
+        <xsl:apply-templates select="indexterm"/>
+      </fo:block>
+    </fo:list-item-label>
+
+    <fo:list-item-body start-indent="body-start()">
+      <xsl:apply-templates select="glosssee|glossdef" mode="glossary.as.list"/>
+    </fo:list-item-body>
+  </fo:list-item>
+</xsl:template>
+
+<xsl:template match="glossentry/glossterm" mode="glossary.as.list">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <fo:inline id="{$id}">
+    <xsl:apply-templates/>
+  </fo:inline>
+  <xsl:if test="following-sibling::glossterm">, </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/acronym" mode="glossary.as.list">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::acronym|following-sibling::abbrev">, </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/abbrev" mode="glossary.as.list">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::acronym|following-sibling::abbrev">, </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/revhistory" mode="glossary.as.list">
+</xsl:template>
+
+<xsl:template match="glossentry/glosssee" mode="glossary.as.list">
+  <xsl:variable name="otherterm" select="@otherterm"/>
+  <xsl:variable name="targets" select="key('id', $otherterm)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <fo:block>
+    <xsl:variable name="template">
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'glossary'"/>
+        <xsl:with-param name="name" select="'see'"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:variable name="title">
+      <xsl:choose>
+        <xsl:when test="$target">
+          <fo:basic-link internal-destination="{$otherterm}"
+                         xsl:use-attribute-sets="xref.properties">
+            <xsl:apply-templates select="$target" mode="xref-to"/>
+          </fo:basic-link>
+        </xsl:when>
+        <xsl:when test="$otherterm != '' and not($target)">
+          <xsl:message>
+            <xsl:text>Warning: glosssee @otherterm reference not found: </xsl:text>
+            <xsl:value-of select="$otherterm"/>
+          </xsl:message>
+          <xsl:apply-templates mode="glossary.as.list"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates mode="glossary.as.list"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:call-template name="substitute-markup">
+      <xsl:with-param name="template" select="$template"/>
+      <xsl:with-param name="title" select="$title"/>
+    </xsl:call-template>
+
+    <xsl:text>.</xsl:text>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="glossentry/glossdef" mode="glossary.as.list">
+  <xsl:apply-templates select="*[local-name(.) != 'glossseealso']"/>
+  <xsl:if test="glossseealso">
+    <fo:block>
+      <xsl:variable name="template">
+        <xsl:call-template name="gentext.template">
+          <xsl:with-param name="context" select="'glossary'"/>
+          <xsl:with-param name="name" select="'seealso'"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:variable name="title">
+        <xsl:apply-templates select="glossseealso" mode="glossary.as.list"/>
+      </xsl:variable>
+      <xsl:call-template name="substitute-markup">
+        <xsl:with-param name="template" select="$template"/>
+        <xsl:with-param name="title" select="$title"/>
+      </xsl:call-template>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/glossdef/para[1]|glossentry/glossdef/simpara[1]"
+              mode="glossary.as.list">
+  <fo:block>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="glossseealso" mode="glossary.as.list">
+  <xsl:variable name="otherterm" select="@otherterm"/>
+  <xsl:variable name="targets" select="key('id', $otherterm)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:choose>
+    <xsl:when test="$target">
+      <fo:basic-link internal-destination="{$otherterm}"
+                     xsl:use-attribute-sets="xref.properties">
+        <xsl:apply-templates select="$target" mode="xref-to"/>
+      </fo:basic-link>
+    </xsl:when>
+    <xsl:when test="$otherterm != '' and not($target)">
+      <xsl:message>
+        <xsl:text>Warning: glossseealso @otherterm reference not found: </xsl:text>
+        <xsl:value-of select="$otherterm"/>
+      </xsl:message>
+      <xsl:apply-templates mode="glossary.as.list"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="glossary.as.list"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="position() = last()">
+      <xsl:text>.</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>, </xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- Format glossary blocks -->
+
+<xsl:template match="glossdiv" mode="glossary.as.blocks">
+  <xsl:variable name="entries" select="glossentry"/>
+  <xsl:variable name="preamble"
+                select="*[not(self::title
+                            or self::subtitle
+                            or self::glossentry)]"/>
+
+  <xsl:variable name="language">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:variable>
+
+  <xsl:call-template name="glossdiv.titlepage"/>
+
+  <xsl:apply-templates select="$preamble"/>
+
+  <xsl:choose>
+    <xsl:when test="$glossary.sort != 0">
+      <xsl:apply-templates select="$entries" mode="glossary.as.blocks">
+        <xsl:sort lang="{$language}"
+                  select="translate(glossterm, &lowercase;, 
+                                    &uppercase;)"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="$entries" mode="glossary.as.blocks"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!--
+GlossEntry ::=
+  GlossTerm, Acronym?, Abbrev?,
+  (IndexTerm)*,
+  RevHistory?,
+  (GlossSee | GlossDef+)
+-->
+
+<xsl:template match="glossentry" mode="glossary.as.blocks">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block xsl:use-attribute-sets="list.item.spacing"
+           keep-with-next.within-column="always" 
+           keep-together.within-column="always">
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="conditional">
+        <xsl:choose>
+          <xsl:when test="$glossterm.auto.link != 0
+                          or $glossary.collection != ''">0</xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <xsl:choose>
+      <xsl:when test="$glossentry.show.acronym = 'primary'">
+        <xsl:choose>
+          <xsl:when test="acronym|abbrev">
+            <xsl:apply-templates select="acronym|abbrev" mode="glossary.as.blocks"/>
+            <xsl:text> (</xsl:text>
+            <xsl:apply-templates select="glossterm" mode="glossary.as.blocks"/>
+            <xsl:text>)</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="glossterm" mode="glossary.as.blocks"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+
+      <xsl:when test="$glossentry.show.acronym = 'yes'">
+        <xsl:apply-templates select="glossterm" mode="glossary.as.blocks"/>
+
+        <xsl:if test="acronym|abbrev">
+          <xsl:text> (</xsl:text>
+          <xsl:apply-templates select="acronym|abbrev" mode="glossary.as.blocks"/>
+          <xsl:text>)</xsl:text>
+        </xsl:if>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <xsl:apply-templates select="glossterm" mode="glossary.as.blocks"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:apply-templates select="indexterm"/>
+  </fo:block>
+
+  <fo:block margin-left="0.25in">
+    <xsl:apply-templates select="glosssee|glossdef" mode="glossary.as.blocks"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="glossentry/glossterm" mode="glossary.as.blocks">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <fo:inline id="{$id}">
+    <xsl:apply-templates/>
+  </fo:inline>
+  <xsl:if test="following-sibling::glossterm">, </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/acronym" mode="glossary.as.blocks">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::acronym|following-sibling::abbrev">, </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/abbrev" mode="glossary.as.blocks">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::acronym|following-sibling::abbrev">, </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/glosssee" mode="glossary.as.blocks">
+  <xsl:variable name="otherterm" select="@otherterm"/>
+  <xsl:variable name="targets" select="key('id', $otherterm)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:variable name="template">
+    <xsl:call-template name="gentext.template">
+      <xsl:with-param name="context" select="'glossary'"/>
+      <xsl:with-param name="name" select="'see'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="$target">
+        <fo:basic-link internal-destination="{$otherterm}"
+                       xsl:use-attribute-sets="xref.properties">
+          <xsl:apply-templates select="$target" mode="xref-to"/>
+        </fo:basic-link>
+      </xsl:when>
+      <xsl:when test="$otherterm != '' and not($target)">
+        <xsl:message>
+          <xsl:text>Warning: glosssee @otherterm reference not found: </xsl:text>
+          <xsl:value-of select="$otherterm"/>
+        </xsl:message>
+        <xsl:apply-templates mode="glossary.as.blocks"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates mode="glossary.as.blocks"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:call-template name="substitute-markup">
+    <xsl:with-param name="template" select="$template"/>
+    <xsl:with-param name="title" select="$title"/>
+  </xsl:call-template>
+
+  <xsl:text>.</xsl:text>
+</xsl:template>
+
+<xsl:template match="glossentry/glossdef" mode="glossary.as.blocks">
+  <xsl:apply-templates select="*[local-name(.) != 'glossseealso']"
+                       mode="glossary.as.blocks"/>
+  <xsl:if test="glossseealso">
+    <fo:block>
+      <xsl:variable name="template">
+        <xsl:call-template name="gentext.template">
+          <xsl:with-param name="context" select="'glossary'"/>
+          <xsl:with-param name="name" select="'seealso'"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:variable name="title">
+        <xsl:apply-templates select="glossseealso" mode="glossary.as.blocks"/>
+      </xsl:variable>
+      <xsl:call-template name="substitute-markup">
+        <xsl:with-param name="template" select="$template"/>
+        <xsl:with-param name="title" select="$title"/>
+      </xsl:call-template>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/glossdef/para[1]|glossentry/glossdef/simpara[1]"
+              mode="glossary.as.blocks">
+  <fo:block>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<!-- Handle any other glossdef content normally -->
+<xsl:template match="*" mode="glossary.as.blocks">
+  <xsl:apply-templates select="." />
+</xsl:template>
+
+<xsl:template match="glossseealso" mode="glossary.as.blocks">
+  <xsl:variable name="otherterm" select="@otherterm"/>
+  <xsl:variable name="targets" select="key('id', $otherterm)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:choose>
+    <xsl:when test="$target">
+      <fo:basic-link internal-destination="{$otherterm}"
+                     xsl:use-attribute-sets="xref.properties">
+        <xsl:apply-templates select="$target" mode="xref-to"/>
+      </fo:basic-link>
+    </xsl:when>
+    <xsl:when test="$otherterm != '' and not($target)">
+      <xsl:message>
+        <xsl:text>Warning: glossseealso @otherterm reference not found: </xsl:text>
+        <xsl:value-of select="$otherterm"/>
+      </xsl:message>
+      <xsl:apply-templates mode="glossary.as.blocks"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="glossary.as.blocks"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="position() = last()">
+      <xsl:text>.</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>, </xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/graphics.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/graphics.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/graphics.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,631 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY lowercase "'abcdefghijklmnopqrstuvwxyz'">
+<!ENTITY uppercase "'ABCDEFGHIJKLMNOPQRSTUVWXYZ'">
+ ]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:stext="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.TextFactory"
+                xmlns:xtext="com.nwalsh.xalan.Text"
+                xmlns:lxslt="http://xml.apache.org/xslt"
+                exclude-result-prefixes="xlink stext xtext lxslt"
+                extension-element-prefixes="stext xtext"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: graphics.xsl 5936 2006-05-07 01:02:44Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     Contributors:
+     Colin Paul Adams, <colin at colina.demon.co.uk>
+     Paul Grosso, <pgrosso at arbortext.com>
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- Graphic format tests for the FO backend -->
+
+<xsl:param name="graphic.notations">
+  <!-- n.b. exactly one leading space, one trailing space, and one inter-word space -->
+  <xsl:choose>
+    <xsl:when test="$passivetex.extensions != 0">
+      <xsl:text> PNG PDF JPG JPEG linespecific </xsl:text>
+    </xsl:when>
+    <xsl:when test="$fop1.extensions != 0">
+      <xsl:text> BMP GIF TIFF SVG PNG EPS JPG JPEG linespecific </xsl:text>
+    </xsl:when>
+    <xsl:when test="$fop.extensions != 0">
+      <xsl:text> BMP GIF TIFF SVG PNG EPS JPG JPEG linespecific </xsl:text>
+    </xsl:when>
+    <xsl:when test="$arbortext.extensions != 0">
+      <xsl:text> PNG PDF JPG JPEG linespecific GIF GIF87a GIF89a TIFF BMP </xsl:text>
+    </xsl:when>
+    <xsl:when test="$xep.extensions != 0">
+      <xsl:text> SVG PNG PDF JPG JPEG linespecific GIF GIF87a GIF89a TIFF BMP </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text> PNG PDF JPG JPEG linespecific GIF GIF87a GIF89a TIFF BMP </xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+
+<xsl:template name="is.graphic.format">
+  <xsl:param name="format"/>
+  <xsl:if test="contains($graphic.notations, concat(' ',$format,' '))">1</xsl:if>
+</xsl:template>
+
+<xsl:param name="graphic.extensions">
+  <!-- n.b. exactly one leading space, one trailing space, and one inter-word space -->
+  <xsl:choose>
+    <xsl:when test="$passivetex.extensions != 0">
+      <xsl:text> png pdf jpg jpeg </xsl:text>
+    </xsl:when>
+    <xsl:when test="$fop1.extensions != 0">
+      <xsl:text> bmp gif tif tiff svg png pdf jpg jpeg eps </xsl:text>
+    </xsl:when>
+    <xsl:when test="$fop.extensions != 0">
+      <xsl:text> bmp gif tif tiff svg png pdf jpg jpeg eps </xsl:text>
+    </xsl:when>
+    <xsl:when test="$arbortext.extensions != 0">
+      <xsl:text> png pdf jpg jpeg gif tif tiff bmp </xsl:text>
+    </xsl:when>
+    <xsl:when test="$xep.extensions != 0">
+      <xsl:text> svg png pdf jpg jpeg gif tif tiff bmp eps </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text> svg png pdf jpg jpeg gif tif tiff bmp eps </xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+
+<xsl:template name="is.graphic.extension">
+  <xsl:param name="ext"/>
+  <xsl:variable name="lcext" select="translate($ext,
+                                       'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
+                                       'abcdefghijklmnopqrstuvwxyz')"/>
+
+  <xsl:if test="contains($graphic.extensions,
+                         concat(' ', $lcext, ' '))">1</xsl:if>
+</xsl:template>
+
+<xsl:template name="graphic.format.content-type">
+  <xsl:param name="format"/>
+  <xsl:variable name="is.graphic.format">
+    <xsl:call-template name="is.graphic.format">
+      <xsl:with-param name="format" select="$format"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:if test="$is.graphic.format">
+    <xsl:choose>
+      <xsl:when test="$format = ''"></xsl:when>
+      <xsl:when test="$format = 'linespecific'"></xsl:when>
+      <xsl:when test="$format = 'PS'">application/postscript</xsl:when>
+      <xsl:when test="$format = 'PDF'">application/pdf</xsl:when>
+      <xsl:when test="$format = 'PNG'">image/png</xsl:when>
+      <xsl:when test="$format = 'SVG'">image/svg+xml</xsl:when>
+      <xsl:when test="$format = 'JPG'">image/jpeg</xsl:when>
+      <xsl:when test="$format = 'GIF87a'">image/gif</xsl:when>
+      <xsl:when test="$format = 'GIF89a'">image/gif</xsl:when>
+      <xsl:otherwise>
+          <xsl:value-of select="concat('image/', 
+            translate($format, &uppercase;, &lowercase;))"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+
+<!-- ==================================================================== -->
+
+<xsl:template match="screenshot">
+  <fo:block>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="screeninfo">
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- Override these templates for FO -->
+<!-- ==================================================================== -->
+
+<xsl:template name="process.image">
+  <!-- When this template is called, the current node should be  -->
+  <!-- a graphic, inlinegraphic, imagedata, or videodata. All    -->
+  <!-- those elements have the same set of attributes, so we can -->
+  <!-- handle them all in one place.                             -->
+
+  <xsl:variable name="scalefit">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0">0</xsl:when>
+      <xsl:when test="@contentwidth">0</xsl:when>
+      <xsl:when test="@contentdepth and 
+                      @contentdepth != '100%'">0</xsl:when>
+      <xsl:when test="@scale">0</xsl:when>
+      <xsl:when test="@scalefit"><xsl:value-of select="@scalefit"/></xsl:when>
+      <xsl:when test="@width or @depth">1</xsl:when>
+      <xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="scale">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0">0</xsl:when>
+      <xsl:when test="@contentwidth or @contentdepth">1.0</xsl:when>
+      <xsl:when test="@scale">
+        <xsl:value-of select="@scale div 100.0"/>
+      </xsl:when>
+      <xsl:otherwise>1.0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="local-name(.) = 'graphic'
+                      or local-name(.) = 'inlinegraphic'">
+        <!-- handle legacy graphic and inlinegraphic by new template --> 
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select="."/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- imagedata, videodata, audiodata -->
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select=".."/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="content-type">
+    <xsl:if test="@format">
+      <xsl:call-template name="graphic.format.content-type">
+        <xsl:with-param name="format" select="@format"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="bgcolor">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="../processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'background-color'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <fo:external-graphic>
+    <xsl:attribute name="src">
+      <xsl:call-template name="fo-external-image">
+        <xsl:with-param name="filename">
+          <xsl:if test="$img.src.path != '' and
+                        not(starts-with($filename, '/')) and
+                        not(contains($filename, '://'))">
+            <xsl:value-of select="$img.src.path"/>
+          </xsl:if>
+          <xsl:value-of select="$filename"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="width">
+      <xsl:choose>
+        <xsl:when test="$ignore.image.scaling != 0">auto</xsl:when>
+        <xsl:when test="contains(@width,'%')">
+          <xsl:value-of select="@width"/>
+        </xsl:when>
+        <xsl:when test="@width and not(@width = '')">
+          <xsl:call-template name="length-spec">
+            <xsl:with-param name="length" select="@width"/>
+            <xsl:with-param name="default.units" select="'px'"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="not(@depth) and $default.image.width != ''">
+          <xsl:call-template name="length-spec">
+            <xsl:with-param name="length" select="$default.image.width"/>
+            <xsl:with-param name="default.units" select="'px'"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>auto</xsl:otherwise>
+      </xsl:choose>
+    </xsl:attribute>
+
+    <xsl:attribute name="height">
+      <xsl:choose>
+        <xsl:when test="$ignore.image.scaling != 0">auto</xsl:when>
+        <xsl:when test="contains(@depth,'%')">
+          <xsl:value-of select="@depth"/>
+        </xsl:when>
+        <xsl:when test="@depth">
+          <xsl:call-template name="length-spec">
+            <xsl:with-param name="length" select="@depth"/>
+            <xsl:with-param name="default.units" select="'px'"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>auto</xsl:otherwise>
+      </xsl:choose>
+    </xsl:attribute>
+
+    <xsl:attribute name="content-width">
+      <xsl:choose>
+        <xsl:when test="$ignore.image.scaling != 0">auto</xsl:when>
+        <xsl:when test="contains(@contentwidth,'%')">
+          <xsl:value-of select="@contentwidth"/>
+        </xsl:when>
+        <xsl:when test="@contentwidth">
+          <xsl:call-template name="length-spec">
+            <xsl:with-param name="length" select="@contentwidth"/>
+            <xsl:with-param name="default.units" select="'px'"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="number($scale) != 1.0">
+          <xsl:value-of select="$scale * 100"/>
+          <xsl:text>%</xsl:text>
+        </xsl:when>
+        <xsl:when test="$scalefit = 1">scale-to-fit</xsl:when>
+        <xsl:otherwise>auto</xsl:otherwise>
+      </xsl:choose>
+    </xsl:attribute>
+
+    <xsl:attribute name="content-height">
+      <xsl:choose>
+        <xsl:when test="$ignore.image.scaling != 0">auto</xsl:when>
+        <xsl:when test="contains(@contentdepth,'%')">
+          <xsl:value-of select="@contentdepth"/>
+        </xsl:when>
+        <xsl:when test="@contentdepth">
+          <xsl:call-template name="length-spec">
+            <xsl:with-param name="length" select="@contentdepth"/>
+            <xsl:with-param name="default.units" select="'px'"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="number($scale) != 1.0">
+          <xsl:value-of select="$scale * 100"/>
+          <xsl:text>%</xsl:text>
+        </xsl:when>
+        <xsl:when test="$scalefit = 1">scale-to-fit</xsl:when>
+        <xsl:otherwise>auto</xsl:otherwise>
+      </xsl:choose>
+    </xsl:attribute>
+
+    <xsl:if test="$content-type != ''">
+      <xsl:attribute name="content-type">
+        <xsl:value-of select="concat('content-type:',$content-type)"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$bgcolor != ''">
+      <xsl:attribute name="background-color">
+        <xsl:value-of select="$bgcolor"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="@align">
+      <xsl:attribute name="text-align">
+        <xsl:value-of select="@align"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="@valign">
+      <xsl:attribute name="display-align">
+        <xsl:choose>
+          <xsl:when test="@valign = 'top'">before</xsl:when>
+          <xsl:when test="@valign = 'middle'">center</xsl:when>
+          <xsl:when test="@valign = 'bottom'">after</xsl:when>
+          <xsl:otherwise>auto</xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+  </fo:external-graphic>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="graphic">
+  <xsl:choose>
+    <xsl:when test="parent::inlineequation">
+      <xsl:call-template name="process.image"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block>
+        <xsl:if test="@align">
+          <xsl:attribute name="text-align">
+            <xsl:value-of select="@align"/>
+          </xsl:attribute>
+        </xsl:if>
+        <xsl:call-template name="process.image"/>
+      </fo:block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="inlinegraphic">
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="@entityref">
+        <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="@fileref"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="@format='linespecific'">
+      <xsl:choose>
+        <xsl:when test="$use.extensions != '0'
+                        and $textinsert.extension != '0'">
+          <xsl:choose>
+            <xsl:when test="contains($vendor, 'SAXON')">
+              <stext:insertfile href="{$filename}" encoding="{$textdata.default.encoding}"/>
+            </xsl:when>
+            <xsl:when test="contains($vendor, 'Apache Software Foundation')">
+              <xtext:insertfile href="{$filename}"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message terminate="yes">
+                <xsl:text>Don't know how to insert files with </xsl:text>
+                <xsl:value-of select="$vendor"/>
+              </xsl:message>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
+             href="{$filename}"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="process.image"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="mediaobject|mediaobjectco">
+
+  <xsl:variable name="olist" select="imageobject|imageobjectco
+                     |videoobject|audioobject
+                     |textobject"/>
+
+  <xsl:variable name="object.index">
+    <xsl:call-template name="select.mediaobject.index">
+      <xsl:with-param name="olist" select="$olist"/>
+      <xsl:with-param name="count" select="1"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="object" select="$olist[position() = $object.index]"/>
+
+  <xsl:variable name="align">
+    <xsl:value-of select="$object/descendant::imagedata[@align][1]/@align"/>
+  </xsl:variable>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}">
+    <xsl:if test="$align != '' ">
+      <xsl:attribute name="text-align">
+        <xsl:value-of select="$align"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:apply-templates select="$object"/>
+    <xsl:apply-templates select="caption"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="inlinemediaobject">
+  <xsl:call-template name="select.mediaobject"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="imageobjectco">
+  <xsl:apply-templates select="imageobject"/>
+  <xsl:apply-templates select="calloutlist"/>
+</xsl:template>
+
+<xsl:template match="imageobject">
+  <xsl:choose>
+    <xsl:when test="imagedata">
+      <xsl:apply-templates select="imagedata"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:instream-foreign-object>
+        <xsl:apply-templates mode="copy-all"/>
+      </fo:instream-foreign-object>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="copy-all">
+  <xsl:copy>
+    <xsl:for-each select="@*">
+      <xsl:copy/>
+    </xsl:for-each>
+    <xsl:apply-templates mode="copy-all"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="text()|comment()|processing-instruction()" mode="copy-all">
+  <xsl:copy/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="imagedata">
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:variable name="filename">
+    <xsl:call-template name="mediaobject.filename">
+      <xsl:with-param name="object" select=".."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="@format='linespecific'">
+      <xsl:choose>
+        <xsl:when test="$use.extensions != '0'
+                        and $textinsert.extension != '0'">
+          <xsl:choose>
+            <xsl:when test="contains($vendor, 'SAXON')">
+              <stext:insertfile href="{$filename}" encoding="{$textdata.default.encoding}"/>
+            </xsl:when>
+            <xsl:when test="contains($vendor, 'Apache Software Foundation')">
+              <xtext:insertfile href="{$filename}"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message terminate="yes">
+                <xsl:text>Don't know how to insert files with </xsl:text>
+                <xsl:value-of select="$vendor"/>
+              </xsl:message>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
+             href="{$filename}"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="process.image"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="videoobject">
+  <xsl:apply-templates select="videodata"/>
+</xsl:template>
+
+<xsl:template match="videodata">
+  <xsl:call-template name="process.image"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="audioobject">
+  <xsl:apply-templates select="audiodata"/>
+</xsl:template>
+
+<xsl:template match="audiodata">
+  <xsl:call-template name="process.image"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="textobject">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="textdata">
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="@entityref">
+        <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="@fileref"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="encoding">
+    <xsl:choose>
+      <xsl:when test="@encoding">
+        <xsl:value-of select="@encoding"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$textdata.default.encoding"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$use.extensions != '0'
+                    and $textinsert.extension != '0'">
+      <xsl:choose>
+        <xsl:when test="element-available('stext:insertfile')">
+          <stext:insertfile href="{$filename}" encoding="{$encoding}"/>
+        </xsl:when>
+        <xsl:when test="element-available('xtext:insertfile')">
+          <xtext:insertfile href="{$filename}"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message terminate="yes">
+            <xsl:text>No insertfile extension available.</xsl:text>
+          </xsl:message>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
+         href="{$filename}"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="caption">
+  <fo:block>
+    <xsl:if test="@align = 'right' or @align = 'left' or @align='center'">
+      <xsl:attribute name="text-align"><xsl:value-of
+                         select="@align"/></xsl:attribute>
+    </xsl:if>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="fo-external-image">
+  <xsl:param name="filename"/>
+
+  <xsl:choose>
+    <xsl:when test="$passivetex.extensions != 0
+                    or $fop.extensions != 0">
+      <xsl:value-of select="$filename"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="concat('url(', $filename, ')')"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- Resolve xml:base attributes -->
+<xsl:template match="@fileref">
+  <!-- need a check for absolute urls -->
+  <xsl:choose>
+    <xsl:when test="contains(., ':')">
+      <!-- it has a uri scheme so it is an absolute uri -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:when test="$keep.relative.image.uris != 0">
+      <!-- leave it alone -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- its a relative uri -->
+      <xsl:call-template name="relative-uri">
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/highlight.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/highlight.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/highlight.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,57 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		xmlns:fo="http://www.w3.org/1999/XSL/Format"
+		xmlns:xslthl="http://xslthl.sf.net"
+                exclude-result-prefixes="xslthl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: inline.xsl 5953 2006-05-08 04:23:10Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match='xslthl:keyword'>
+  <fo:inline font-weight="bold"><xsl:apply-templates/></fo:inline>
+</xsl:template>
+
+<xsl:template match='xslthl:string'>
+  <fo:inline font-weight="bold" font-style="italic"><xsl:apply-templates/></fo:inline>
+</xsl:template>
+
+<xsl:template match='xslthl:comment'>
+  <fo:inline font-style="italic"><xsl:apply-templates/></fo:inline>
+</xsl:template>
+
+<xsl:template match='xslthl:tag'>
+  <fo:inline font-weight="bold"><xsl:apply-templates/></fo:inline>
+</xsl:template>
+
+<xsl:template match='xslthl:attribute'>
+  <fo:inline font-weight="bold"><xsl:apply-templates/></fo:inline>
+</xsl:template>
+
+<xsl:template match='xslthl:value'>
+  <fo:inline font-weight="bold"><xsl:apply-templates/></fo:inline>
+</xsl:template>
+
+<!--
+<xsl:template match='xslthl:html'>
+  <span style='background:#AFF'><font color='blue'><xsl:apply-templates/></font></span>
+</xsl:template>
+
+<xsl:template match='xslthl:xslt'>
+  <span style='background:#AAA'><font color='blue'><xsl:apply-templates/></font></span>
+</xsl:template>
+
+<xsl:template match='xslthl:section'>
+  <span style='background:yellow'><xsl:apply-templates/></span>
+</xsl:template>
+-->
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/fo/htmltbl.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/htmltbl.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/htmltbl.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,235 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: htmltbl.xsl 5925 2006-05-04 07:11:00Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:attribute-set name="th.style">
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+</xsl:attribute-set>
+
+<!-- Outputs an fo:table only, not the caption -->
+<xsl:template match="table|informaltable" mode="htmlTable">
+
+  <xsl:variable name="numcols">
+    <xsl:call-template name="widest-html-row">
+      <xsl:with-param name="rows" select=".//tr"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="prop-columns"
+                select=".//col[contains(@width, '%')] |
+                        .//colgroup[contains(@width, '%')]"/>
+
+  <xsl:variable name="table.width">
+    <xsl:call-template name="table.width"/>
+  </xsl:variable>
+
+  <fo:table xsl:use-attribute-sets="table.table.properties">
+    <xsl:choose>
+      <xsl:when test="$fop.extensions != 0 or
+                      $passivetex.extensions != 0">
+        <xsl:attribute name="table-layout">fixed</xsl:attribute>
+      </xsl:when>
+    </xsl:choose>
+    <xsl:attribute name="width">
+      <xsl:choose>
+        <xsl:when test="@width">
+          <xsl:value-of select="@width"/>
+        </xsl:when>
+        <xsl:when test="$table.width">
+          <xsl:value-of select="$table.width"/>
+        </xsl:when>
+        <xsl:otherwise>100%</xsl:otherwise>
+      </xsl:choose>
+    </xsl:attribute>
+    <xsl:call-template name="make-html-table-columns">
+      <xsl:with-param name="count" select="$numcols"/>
+    </xsl:call-template>
+    <xsl:apply-templates select="thead" mode="htmlTable"/>
+    <xsl:apply-templates select="tfoot" mode="htmlTable"/>
+    <xsl:choose>
+      <xsl:when test="tbody">
+        <xsl:apply-templates select="tbody" mode="htmlTable"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <fo:table-body start-indent="0pt" end-indent="0pt">
+          <xsl:apply-templates select="tr" mode="htmlTable"/>
+        </fo:table-body>
+      </xsl:otherwise>
+    </xsl:choose>
+  </fo:table>
+
+</xsl:template>
+
+<xsl:template match="caption" mode="htmlTable">
+  <!-- Handled by formal.object.heading -->
+</xsl:template>
+
+<xsl:template name="widest-html-row">
+  <xsl:param name="rows" select="''"/>
+  <xsl:param name="count" select="0"/>
+  <xsl:choose>
+    <xsl:when test="count($rows) = 0">
+      <xsl:value-of select="$count"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$count &gt; count($rows[1]/*)">
+          <xsl:call-template name="widest-html-row">
+            <xsl:with-param name="rows" select="$rows[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="$count"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="widest-html-row">
+            <xsl:with-param name="rows" select="$rows[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="count($rows[1]/*)"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="make-html-table-columns">
+  <xsl:param name="count" select="0"/>
+  <xsl:param name="number" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="col|colgroup/col">
+      <xsl:for-each select="col|colgroup/col">
+        <fo:table-column>
+          <xsl:attribute name="column-number">
+            <xsl:number from="table|informaltable" level="any" format="1"/>
+          </xsl:attribute>
+          <xsl:if test="@width">
+            <xsl:attribute name="column-width">
+              <xsl:choose>
+                <xsl:when test="$fop.extensions != 0 and 
+                                contains(@width, '%')">
+                  <xsl:value-of select="concat('proportional-column-width(',
+                                               substring-before(@width, '%'),
+                                               ')')"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="@width"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:attribute>
+          </xsl:if>
+        </fo:table-column>
+      </xsl:for-each>
+    </xsl:when>
+    <xsl:when test="$fop.extensions != 0">
+      <xsl:if test="$number &lt;= $count">
+        <fo:table-column column-number="{$number}"
+                         column-width="{6.5 div $count}in"/>
+        <xsl:call-template name="make-html-table-columns">
+          <xsl:with-param name="count" select="$count"/>
+          <xsl:with-param name="number" select="$number + 1"/>
+        </xsl:call-template>
+      </xsl:if>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="tbody" mode="htmlTable">
+  <fo:table-body border-bottom-width="0.25pt"
+                 border-bottom-style="solid"
+                 border-bottom-color="black"
+                 start-indent="0pt"
+                 end-indent="0pt">
+    <xsl:apply-templates mode="htmlTable"/>
+  </fo:table-body>
+</xsl:template>
+
+<xsl:template match="td" mode="htmlTable">
+  <xsl:variable name="bgcolor">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'bgcolor'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <fo:table-cell xsl:use-attribute-sets="table.cell.padding">
+    <xsl:call-template name="table.cell.properties">
+      <xsl:with-param name="bgcolor.pi" select="$bgcolor"/>
+      <xsl:with-param name="rowsep.inherit" select="0"/>
+      <xsl:with-param name="colsep.inherit" select="0"/>
+    </xsl:call-template>
+    <fo:block>
+      <xsl:call-template name="table.cell.block.properties"/>
+      <xsl:apply-templates/>
+    </fo:block>
+  </fo:table-cell>
+</xsl:template>
+
+<xsl:template match="tfoot" mode="htmlTable">
+  <fo:table-footer start-indent="0pt"
+                   end-indent="0pt">
+    <xsl:apply-templates mode="htmlTable"/>
+  </fo:table-footer>
+</xsl:template>
+
+<xsl:template match="th" mode="htmlTable">
+  <xsl:variable name="bgcolor">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'bgcolor'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <fo:table-cell xsl:use-attribute-sets="th.style table.cell.padding">
+    <xsl:call-template name="table.cell.properties">
+      <xsl:with-param name="bgcolor.pi" select="$bgcolor"/>
+      <xsl:with-param name="rowsep.inherit" select="0"/>
+      <xsl:with-param name="colsep.inherit" select="0"/>
+    </xsl:call-template>
+    <fo:block>
+      <xsl:call-template name="table.cell.block.properties"/>
+      <xsl:apply-templates/>
+    </fo:block>
+  </fo:table-cell>
+</xsl:template>
+
+<xsl:template match="thead" mode="htmlTable">
+  <fo:table-header border-bottom-width="0.25pt"
+                   border-bottom-style="solid"
+                   border-bottom-color="black"
+                   start-indent="0pt"
+                   end-indent="0pt"
+                   font-weight="bold">
+    <xsl:apply-templates mode="htmlTable"/>
+  </fo:table-header>
+</xsl:template>
+
+<xsl:template match="tr" mode="htmlTable">
+  <xsl:variable name="bgcolor">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'bgcolor'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <fo:table-row>
+    <xsl:if test="$bgcolor != ''">
+      <xsl:attribute name="background-color">
+        <xsl:value-of select="$bgcolor"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:apply-templates mode="htmlTable"/>
+  </fo:table-row>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/index.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/index.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/index.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,479 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY primary   'normalize-space(concat(primary/@sortas, primary[not(@sortas)]))'>
+<!ENTITY secondary 'normalize-space(concat(secondary/@sortas, secondary[not(@sortas)]))'>
+<!ENTITY tertiary  'normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas)]))'>
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:rx="http://www.renderx.com/XSL/Extensions"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: index.xsl 6402 2006-11-12 08:23:21Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="index">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+ <xsl:if test="$generate.index != 0">
+  <xsl:choose>
+    <xsl:when test="$make.index.markup != 0">
+      <fo:block>
+        <xsl:call-template name="generate-index-markup">
+          <xsl:with-param name="scope" select="(ancestor::book|/)[last()]"/>
+        </xsl:call-template>
+      </fo:block>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block id="{$id}">
+        <xsl:call-template name="index.titlepage"/>
+      </fo:block>
+      <xsl:apply-templates/>
+      <xsl:if test="count(indexentry) = 0 and count(indexdiv) = 0">
+        <xsl:call-template name="generate-index">
+          <xsl:with-param name="scope" select="(ancestor::book|/)[last()]"/>
+        </xsl:call-template>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+ </xsl:if>
+</xsl:template>
+
+<xsl:template match="book/index|part/index">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+ <xsl:if test="$generate.index != 0">
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster">
+      <xsl:with-param name="pageclass">
+        <xsl:if test="$make.index.markup != 0">body</xsl:if>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+
+      <fo:block id="{$id}">
+        <xsl:call-template name="index.titlepage"/>
+      </fo:block>
+      <xsl:apply-templates/>
+      <xsl:if test="count(indexentry) = 0 and count(indexdiv) = 0">
+
+        <xsl:choose>
+          <xsl:when test="$make.index.markup != 0">
+            <fo:block wrap-option='no-wrap'
+                      white-space-collapse='false'
+                      xsl:use-attribute-sets="monospace.verbatim.properties"
+                      linefeed-treatment="preserve">
+              <xsl:call-template name="generate-index-markup">
+                <xsl:with-param name="scope" select="(ancestor::book|/)[last()]"/>
+              </xsl:call-template>
+            </fo:block>
+          </xsl:when>
+          <xsl:when test="indexentry|indexdiv/indexentry">
+            <xsl:apply-templates/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="generate-index">
+              <xsl:with-param name="scope" select="(ancestor::book|/)[last()]"/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:if>
+    </fo:flow>
+  </fo:page-sequence>
+ </xsl:if>
+</xsl:template>
+
+<xsl:template match="setindex">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+ <xsl:if test="$generate.index != 0">
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster">
+      <xsl:with-param name="pageclass">
+        <xsl:choose>
+          <xsl:when test="$make.index.markup != 0">body</xsl:when>
+          <xsl:otherwise>index</xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+
+      <fo:block id="{$id}">
+        <xsl:call-template name="setindex.titlepage"/>
+      </fo:block>
+      <xsl:apply-templates/>
+      <xsl:if test="count(indexentry) = 0 and count(indexdiv) = 0">
+
+        <xsl:choose>
+          <xsl:when test="$make.index.markup != 0">
+            <fo:block wrap-option='no-wrap'
+                      white-space-collapse='false'
+                      xsl:use-attribute-sets="monospace.verbatim.properties"
+                      linefeed-treatment="preserve">
+              <xsl:call-template name="generate-index-markup">
+                <xsl:with-param name="scope" select="/"/>
+              </xsl:call-template>
+            </fo:block>
+          </xsl:when>
+          <xsl:when test="indexentry|indexdiv/indexentry">
+            <xsl:apply-templates/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="generate-index">
+              <xsl:with-param name="scope" select="/"/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:if>
+    </fo:flow>
+  </fo:page-sequence>
+ </xsl:if>
+</xsl:template>
+
+<xsl:template match="index/indexinfo"></xsl:template>
+<xsl:template match="index/info"></xsl:template>
+<xsl:template match="index/title"></xsl:template>
+<xsl:template match="index/subtitle"></xsl:template>
+<xsl:template match="index/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="indexdiv.title">
+  <xsl:param name="title"/>
+  <xsl:param name="titlecontent"/>
+
+  <fo:block xsl:use-attribute-sets="index.div.title.properties">
+    <xsl:choose>
+      <xsl:when test="$title">
+        <xsl:apply-templates select="." mode="object.title.markup">
+          <xsl:with-param name="allow-anchors" select="1"/>
+        </xsl:apply-templates>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$titlecontent"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="indexdiv">
+  <fo:block>
+    <xsl:call-template name="indexdiv.titlepage"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="indexdiv/title"/>
+<xsl:template match="indexdiv/subtitle"/>
+<xsl:template match="indexdiv/titleabbrev"/>
+
+<!-- ==================================================================== -->
+
+<!-- Text used for distiguishing between normal and significant entries -->
+<xsl:variable name="significant.flag">.tnacifingis</xsl:variable>
+
+<xsl:template match="indexterm" name="indexterm">
+  <!-- Temporal workaround for bug in AXF -->
+  <xsl:variable name="wrapper.name">
+    <xsl:choose>
+      <xsl:when test="$axf.extensions != 0">
+        <xsl:call-template name="inline.or.block"/>
+      </xsl:when>
+      <xsl:otherwise>fo:wrapper</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:element name="{$wrapper.name}">
+    <xsl:attribute name="id">
+      <xsl:call-template name="object.id"/>
+    </xsl:attribute>
+    <xsl:choose>
+      <xsl:when test="$xep.extensions != 0">
+        <xsl:attribute name="rx:key">
+          <xsl:value-of select="&primary;"/>
+          <xsl:if test="@significance='preferred'"><xsl:value-of select="$significant.flag"/></xsl:if>
+          <xsl:if test="secondary">
+            <xsl:text>, </xsl:text>
+            <xsl:value-of select="&secondary;"/>
+          </xsl:if>
+          <xsl:if test="tertiary">
+            <xsl:text>, </xsl:text>
+            <xsl:value-of select="&tertiary;"/>
+          </xsl:if>
+        </xsl:attribute>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:comment>
+          <xsl:call-template name="comment-escape-string">
+            <xsl:with-param name="string">
+              <xsl:value-of select="primary"/>
+              <xsl:if test="secondary">
+                <xsl:text>, </xsl:text>
+                <xsl:value-of select="secondary"/>
+              </xsl:if>
+              <xsl:if test="tertiary">
+                <xsl:text>, </xsl:text>
+                <xsl:value-of select="tertiary"/>
+              </xsl:if>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:comment>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="indexterm[@class='startofrange']">
+  <xsl:choose>
+    <xsl:when test="$xep.extensions != 0">
+      <rx:begin-index-range>
+        <xsl:call-template name="anchor"/>
+        <xsl:attribute name="rx:key">
+          <xsl:value-of select="&primary;"/>
+          <xsl:if test="@significance='preferred'"><xsl:value-of select="$significant.flag"/></xsl:if>
+          <xsl:if test="secondary">
+            <xsl:text>, </xsl:text>
+            <xsl:value-of select="&secondary;"/>
+          </xsl:if>
+          <xsl:if test="tertiary">
+            <xsl:text>, </xsl:text>
+            <xsl:value-of select="&tertiary;"/>
+          </xsl:if>
+        </xsl:attribute>
+      </rx:begin-index-range>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="indexterm"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="indexterm[@class='endofrange']">
+  <xsl:choose>
+    <xsl:when test="$xep.extensions != 0">
+      <rx:end-index-range>
+        <xsl:attribute name="ref-id">
+          <xsl:value-of select="@startref"/>
+        </xsl:attribute>
+      </rx:end-index-range>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="indexterm"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="indexentry">
+  <fo:block>
+    <!-- don't process 'seeie's from here -->
+    <xsl:apply-templates select="primaryie|secondaryie|tertiaryie|seealsoie"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="primaryie">
+  <fo:block>
+    <xsl:apply-templates/>
+    <xsl:if test="following-sibling::seeie">
+      <xsl:text> (</xsl:text>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'see'"/>
+      </xsl:call-template>
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="following-sibling::seeie"/>
+      <xsl:text>)</xsl:text>
+    </xsl:if>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="secondaryie">
+  <fo:block start-indent="1pc">
+    <xsl:apply-templates/>
+    <xsl:if test="following-sibling::seeie">
+      <xsl:text> (</xsl:text>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'see'"/>
+      </xsl:call-template>
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="following-sibling::seeie"/>
+      <xsl:text>)</xsl:text>
+    </xsl:if>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="tertiaryie">
+  <fo:block start-indent="2pc">
+    <xsl:apply-templates/>
+    <xsl:if test="following-sibling::seeie">
+      <xsl:text> (</xsl:text>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'see'"/>
+      </xsl:call-template>
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="following-sibling::seeie"/>
+      <xsl:text>)</xsl:text>
+    </xsl:if>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="seeie">
+  <fo:inline>
+    <xsl:apply-templates/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="seealsoie">
+  <fo:block>
+    <xsl:attribute name="start-indent">
+      <xsl:choose>
+        <xsl:when test="preceding-sibling::tertiaryie">3pc</xsl:when>
+        <xsl:when test="preceding-sibling::secondaryie">2pc</xsl:when>
+        <xsl:otherwise>1pc</xsl:otherwise>
+      </xsl:choose>
+    </xsl:attribute>
+    <xsl:text>(</xsl:text>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'seealso'"/>
+    </xsl:call-template>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates/>
+    <xsl:text>)</xsl:text>
+  </fo:block>
+</xsl:template>
+
+<!-- Determines if an object should be inserted as an fo:inline
+     or an fo:block.  Used for indexterms -->
+<xsl:template name="inline.or.block">
+  <xsl:param name="parentnode" select=".."/>
+
+  <xsl:variable name="parent" select="local-name($parentnode)"/>
+
+  <xsl:variable name="block.parents" select="'|answer|appendix|appendixinfo|article|articleinfo|bibliodiv|bibliography|bibliographyinfo|blockinfo|blockquote|bookinfo|callout|caution|chapter|chapterinfo|dedication|example|figure|formalpara|funcsynopsisinfo|glossary|glossaryinfo|glossdef|glossdiv|glossentry|highlights|important|index|indexinfo|info|informalexample|informalfigure|informaltable|itemizedlist|legalnotice|listitem|msgexplan|msgtext|note|objectinfo|orderedlist|partinfo|partintro|preface|prefaceinfo|procedure|qandadiv|qandaset|question|refentry|refentryinfo|referenceinfo|refmeta|refmiscinfo|refsect1|refsect1info|refsect2|refsect2info|refsect3|refsect3info|refsection|refsectioninfo|refsynopsisdiv|refsynopsisdivinfo|revdescription|screeninfo|sect1|sect1info|sect2|sect2info|sect3|sect3info|sect4|sect4info|sect5|sect5info|section|sectioninfo|setindex|setindexinfo|setinfo|sidebar|sidebarinfo|simplesect|step|table|task|taskprerequisites|taskrelated|tasksummary|tip|variabl!
 elist|warning|'"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($parent, $block.parents)">fo:block</xsl:when>
+    <xsl:otherwise>fo:inline</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/info.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/info.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/info.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,34 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: info.xsl 1243 2002-03-14 18:43:42Z nwalsh $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- These templates define the "default behavior" for info
+     elements.  Even if you don't process the *info wrappers,
+     some of these elements are needed because the elements are
+     processed from named templates that are called with modes.
+     Since modes aren't sticky, these rules apply. 
+     (TODO: clarify this comment) -->
+
+<!-- ==================================================================== -->
+<!-- called from named templates in a given mode -->
+
+<xsl:template match="corpauthor">
+  <fo:inline>
+    <xsl:apply-templates/>
+  </fo:inline>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/inline.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/inline.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/inline.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1200 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [
+  <!ENTITY comment.block.parents "parent::answer|parent::appendix|parent::article|parent::bibliodiv|
+                                  parent::bibliography|parent::blockquote|parent::caution|parent::chapter|
+                                  parent::glossary|parent::glossdiv|parent::important|parent::index|
+                                  parent::indexdiv|parent::listitem|parent::note|parent::orderedlist|
+                                  parent::partintro|parent::preface|parent::procedure|parent::qandadiv|
+                                  parent::qandaset|parent::question|parent::refentry|parent::refnamediv|
+                                  parent::refsect1|parent::refsect2|parent::refsect3|parent::refsection|
+                                  parent::refsynopsisdiv|parent::sect1|parent::sect2|parent::sect3|parent::sect4|
+                                  parent::sect5|parent::section|parent::setindex|parent::sidebar|
+                                  parent::simplesect|parent::taskprerequisites|parent::taskrelated|
+                                  parent::tasksummary|parent::warning">
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:xlink='http://www.w3.org/1999/xlink'
+                exclude-result-prefixes="xlink"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: inline.xsl 6519 2007-01-18 07:21:41Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template name="simple.xlink">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="content">
+    <xsl:apply-templates/>
+  </xsl:param>
+  <xsl:param name="linkend" select="$node/@linkend"/>
+  <xsl:param name="xhref" select="$node/@xlink:href"/>
+
+  <xsl:choose>
+    <xsl:when test="$xhref
+                    and (not($node/@xlink:type) or 
+                         $node/@xlink:type='simple')">
+
+      <!-- Is it a local idref or a uri? -->
+      <xsl:variable name="is.idref">
+        <xsl:choose>
+          <!-- if the href starts with # and does not contain an "(" -->
+          <!-- or if the href starts with #xpointer(id(, it's just an ID -->
+          <xsl:when test="starts-with($xhref,'#')
+                          and (not(contains($xhref,'&#40;'))
+                          or starts-with($xhref,
+                                     '#xpointer&#40;id&#40;'))">1</xsl:when>
+          <xsl:otherwise>0</xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$is.idref = 1">
+
+          <xsl:variable name="idref">
+            <xsl:call-template name="xpointer.idref">
+              <xsl:with-param name="xpointer" select="$xhref"/>
+            </xsl:call-template>
+          </xsl:variable>
+
+          <xsl:variable name="targets" select="key('id',$idref)"/>
+          <xsl:variable name="target" select="$targets[1]"/>
+
+          <xsl:call-template name="check.id.unique">
+            <xsl:with-param name="linkend" select="$idref"/>
+          </xsl:call-template>
+
+          <xsl:choose>
+            <xsl:when test="count($target) = 0">
+              <xsl:message>
+                <xsl:text>XLink to nonexistent id: </xsl:text>
+                <xsl:value-of select="$idref"/>
+              </xsl:message>
+              <xsl:copy-of select="$content"/>
+            </xsl:when>
+
+            <xsl:otherwise>
+              <fo:basic-link internal-destination="{$idref}">
+                <xsl:copy-of select="$content"/>
+              </fo:basic-link>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+
+        <!-- otherwise it's a URI -->
+        <xsl:otherwise>
+          <fo:basic-link external-destination="url({$xhref})">
+            <xsl:copy-of select="$content"/>
+          </fo:basic-link>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="$linkend">
+      <xsl:variable name="targets" select="key('id',$linkend)"/>
+      <xsl:variable name="target" select="$targets[1]"/>
+
+      <xsl:call-template name="check.id.unique">
+        <xsl:with-param name="linkend" select="$linkend"/>
+      </xsl:call-template>
+
+      <xsl:choose>
+        <xsl:when test="count($target) = 0">
+          <xsl:message>
+            <xsl:text>XLink to nonexistent id: </xsl:text>
+            <xsl:value-of select="$linkend"/>
+          </xsl:message>
+          <xsl:copy-of select="$content"/>
+        </xsl:when>
+
+        <xsl:otherwise>
+          <fo:basic-link internal-destination="{$linkend}">
+            <xsl:copy-of select="$content"/>
+          </fo:basic-link>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:copy-of select="$content"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="inline.charseq">
+  <xsl:param name="content">
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="@dir">
+      <fo:inline>
+        <xsl:attribute name="direction">
+          <xsl:choose>
+            <xsl:when test="@dir = 'ltr' or @dir = 'lro'">ltr</xsl:when>
+            <xsl:otherwise>rtl</xsl:otherwise>
+          </xsl:choose>
+        </xsl:attribute>
+        <xsl:copy-of select="$content"/>
+      </fo:inline>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$content"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="inline.monoseq">
+  <xsl:param name="content">
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+
+  <fo:inline xsl:use-attribute-sets="monospace.properties">
+    <xsl:if test="@dir">
+      <xsl:attribute name="direction">
+        <xsl:choose>
+          <xsl:when test="@dir = 'ltr' or @dir = 'lro'">ltr</xsl:when>
+          <xsl:otherwise>rtl</xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:copy-of select="$content"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template name="inline.boldseq">
+  <xsl:param name="content">
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+
+  <fo:inline font-weight="bold">
+    <xsl:if test="@dir">
+      <xsl:attribute name="direction">
+        <xsl:choose>
+          <xsl:when test="@dir = 'ltr' or @dir = 'lro'">ltr</xsl:when>
+          <xsl:otherwise>rtl</xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:copy-of select="$content"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template name="inline.italicseq">
+  <xsl:param name="content">
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+
+  <fo:inline font-style="italic">
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="@dir">
+      <xsl:attribute name="direction">
+        <xsl:choose>
+          <xsl:when test="@dir = 'ltr' or @dir = 'lro'">ltr</xsl:when>
+          <xsl:otherwise>rtl</xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:copy-of select="$content"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template name="inline.boldmonoseq">
+  <xsl:param name="content">
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+
+  <fo:inline font-weight="bold" xsl:use-attribute-sets="monospace.properties">
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="@dir">
+      <xsl:attribute name="direction">
+        <xsl:choose>
+          <xsl:when test="@dir = 'ltr' or @dir = 'lro'">ltr</xsl:when>
+          <xsl:otherwise>rtl</xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:copy-of select="$content"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template name="inline.italicmonoseq">
+  <xsl:param name="content">
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+
+  <fo:inline font-style="italic" xsl:use-attribute-sets="monospace.properties">
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="@dir">
+      <xsl:attribute name="direction">
+        <xsl:choose>
+          <xsl:when test="@dir = 'ltr' or @dir = 'lro'">ltr</xsl:when>
+          <xsl:otherwise>rtl</xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:copy-of select="$content"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template name="inline.superscriptseq">
+  <xsl:param name="content">
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+
+  <fo:inline xsl:use-attribute-sets="superscript.properties">
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="@dir">
+      <xsl:attribute name="direction">
+        <xsl:choose>
+          <xsl:when test="@dir = 'ltr' or @dir = 'lro'">ltr</xsl:when>
+          <xsl:otherwise>rtl</xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:choose>
+      <xsl:when test="$fop.extensions != 0">
+        <xsl:attribute name="vertical-align">super</xsl:attribute>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:attribute name="baseline-shift">super</xsl:attribute>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:copy-of select="$content"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template name="inline.subscriptseq">
+  <xsl:param name="content">
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+
+  <fo:inline xsl:use-attribute-sets="subscript.properties">
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="@dir">
+      <xsl:attribute name="direction">
+        <xsl:choose>
+          <xsl:when test="@dir = 'ltr' or @dir = 'lro'">ltr</xsl:when>
+          <xsl:otherwise>rtl</xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:choose>
+      <xsl:when test="$fop.extensions != 0">
+        <xsl:attribute name="vertical-align">sub</xsl:attribute>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:attribute name="baseline-shift">sub</xsl:attribute>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:copy-of select="$content"/>
+  </fo:inline>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- some special cases -->
+
+<xsl:template match="author">
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="content">
+      <xsl:call-template name="person.name"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="editor">
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="content">
+      <xsl:call-template name="person.name"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="othercredit">
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="content">
+      <xsl:call-template name="person.name"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="authorinitials">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="accel">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="action">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="application">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="classname">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="exceptionname">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="interfacename">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="methodname">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="command">
+  <xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="computeroutput">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="constant">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="database">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="date">
+  <!-- should this support locale-specific formatting? how? -->
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="errorcode">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="errorname">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="errortype">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="errortext">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="envar">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="filename">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="function">
+  <xsl:choose>
+    <xsl:when test="$function.parens != '0'
+                    and (parameter or function or replaceable)">
+      <xsl:variable name="nodes" select="text()|*"/>
+      <xsl:call-template name="inline.monoseq">
+        <xsl:with-param name="content">
+          <xsl:call-template name="simple.xlink">
+            <xsl:with-param name="content">
+              <xsl:apply-templates select="$nodes[1]"/>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:call-template>
+      <xsl:text>(</xsl:text>
+      <xsl:apply-templates select="$nodes[position()>1]"/>
+      <xsl:text>)</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+     <xsl:call-template name="inline.monoseq"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="function/parameter" priority="2">
+  <xsl:call-template name="inline.italicmonoseq"/>
+  <xsl:if test="following-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="function/replaceable" priority="2">
+  <xsl:call-template name="inline.italicmonoseq"/>
+  <xsl:if test="following-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="guibutton">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guiicon">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guilabel">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guimenu">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guimenuitem">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guisubmenu">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="hardware">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="interface">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="interfacedefinition">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="keycap">
+  <xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="keycode">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="keysym">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="literal">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="code">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="medialabel">
+  <xsl:call-template name="inline.italicseq"/>
+</xsl:template>
+
+<xsl:template match="shortcut">
+  <xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="mousebutton">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="option">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="package">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="parameter">
+  <xsl:call-template name="inline.italicmonoseq"/>
+</xsl:template>
+
+<xsl:template match="property">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="prompt">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="replaceable">
+  <xsl:call-template name="inline.italicmonoseq"/>
+</xsl:template>
+
+<xsl:template match="returnvalue">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="structfield">
+  <xsl:call-template name="inline.italicmonoseq"/>
+</xsl:template>
+
+<xsl:template match="structname">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="symbol">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="systemitem">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="token">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="type">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="userinput">
+  <xsl:call-template name="inline.boldmonoseq"/>
+</xsl:template>
+
+<xsl:template match="abbrev">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="acronym">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="citerefentry">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="citetitle">
+  <xsl:choose>
+    <xsl:when test="@pubwork = 'article'">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:call-template name="inline.charseq"/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="inline.italicseq"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="emphasis">
+  <xsl:variable name="depth">
+    <xsl:call-template name="dot.count">
+      <xsl:with-param name="string">
+        <xsl:number level="multiple"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="@role='bold' or @role='strong'">
+      <xsl:call-template name="inline.boldseq"/>
+    </xsl:when>
+    <xsl:when test="@role='underline'">
+      <fo:inline text-decoration="underline">
+        <xsl:call-template name="inline.charseq"/>
+      </fo:inline>
+    </xsl:when>
+    <xsl:when test="@role='strikethrough'">
+      <fo:inline text-decoration="line-through">
+        <xsl:call-template name="inline.charseq"/>
+      </fo:inline>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$depth mod 2 = 1">
+          <fo:inline font-style="normal">
+            <xsl:apply-templates/>
+          </fo:inline>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="inline.italicseq"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="foreignphrase">
+  <xsl:call-template name="inline.italicseq"/>
+</xsl:template>
+
+<xsl:template match="markup">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="phrase">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="quote">
+  <xsl:variable name="depth">
+    <xsl:call-template name="dot.count">
+      <xsl:with-param name="string"><xsl:number level="multiple"/></xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:choose>
+    <xsl:when test="$depth mod 2 = 0">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:call-template name="inline.charseq"/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext.nestedstartquote"/>
+      <xsl:call-template name="inline.charseq"/>
+      <xsl:call-template name="gentext.nestedendquote"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="varname">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="wordasword">
+  <xsl:call-template name="inline.italicseq"/>
+</xsl:template>
+
+<xsl:template match="lineannotation">
+  <fo:inline font-style="italic">
+    <xsl:call-template name="inline.charseq"/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="superscript">
+  <xsl:call-template name="inline.superscriptseq"/>
+</xsl:template>
+
+<xsl:template match="subscript">
+  <xsl:call-template name="inline.subscriptseq"/>
+</xsl:template>
+
+<xsl:template match="trademark">
+  <xsl:call-template name="inline.charseq"/>
+  <xsl:choose>
+    <xsl:when test="@class = 'copyright'
+                    or @class = 'registered'">
+      <xsl:call-template name="dingbat">
+        <xsl:with-param name="dingbat" select="@class"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="@class = 'service'">
+      <xsl:call-template name="inline.superscriptseq">
+        <xsl:with-param name="content" select="'SM'"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="dingbat">
+        <xsl:with-param name="dingbat" select="'trademark'"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="firstterm">
+  <xsl:call-template name="glossterm">
+    <xsl:with-param name="firstterm" select="1"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="glossterm" name="glossterm">
+  <xsl:param name="firstterm" select="0"/>
+
+  <xsl:choose>
+    <xsl:when test="($firstterm.only.link = 0 or $firstterm = 1) and @linkend">
+      <xsl:variable name="targets" select="key('id', at linkend)"/>
+      <xsl:variable name="target" select="$targets[1]"/>
+
+      <xsl:choose>
+        <xsl:when test="$target">
+          <fo:basic-link internal-destination="{@linkend}" 
+                         xsl:use-attribute-sets="xref.properties">
+            <xsl:call-template name="inline.italicseq"/>
+          </fo:basic-link>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="inline.italicseq"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="not(@linkend)
+                    and ($firstterm.only.link = 0 or $firstterm = 1)
+                    and ($glossterm.auto.link != 0)
+                    and $glossary.collection != ''">
+      <xsl:variable name="term">
+        <xsl:choose>
+          <xsl:when test="@baseform"><xsl:value-of select="@baseform"/></xsl:when>
+          <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+      <xsl:variable name="cterm"
+           select="(document($glossary.collection,.)//glossentry[glossterm=$term])[1]"/>
+
+      <xsl:choose>
+        <xsl:when test="not($cterm)">
+          <xsl:message>
+            <xsl:text>There's no entry for </xsl:text>
+            <xsl:value-of select="$term"/>
+            <xsl:text> in </xsl:text>
+            <xsl:value-of select="$glossary.collection"/>
+          </xsl:message>
+          <xsl:call-template name="inline.italicseq"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:variable name="id">
+            <xsl:call-template name="object.id">
+              <xsl:with-param name="object" select="$cterm"/>
+            </xsl:call-template>
+          </xsl:variable>
+          <fo:basic-link internal-destination="{$id}"
+                         xsl:use-attribute-sets="xref.properties">
+            <xsl:call-template name="inline.italicseq"/>
+          </fo:basic-link>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="not(@linkend)
+                    and ($firstterm.only.link = 0 or $firstterm = 1)
+                    and $glossterm.auto.link != 0">
+      <xsl:variable name="term">
+        <xsl:choose>
+          <xsl:when test="@baseform">
+            <xsl:value-of select="@baseform"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="."/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:variable name="targets"
+                    select="//glossentry[glossterm=$term or glossterm/@baseform=$term]"/>
+
+      <xsl:variable name="target" select="$targets[1]"/>
+
+      <xsl:choose>
+        <xsl:when test="count($targets)=0">
+          <xsl:message>
+            <xsl:text>Error: no glossentry for glossterm: </xsl:text>
+            <xsl:value-of select="."/>
+            <xsl:text>.</xsl:text>
+          </xsl:message>
+          <xsl:call-template name="inline.italicseq"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:variable name="termid">
+            <xsl:call-template name="object.id">
+              <xsl:with-param name="object" select="$target"/>
+            </xsl:call-template>
+          </xsl:variable>
+
+          <fo:basic-link internal-destination="{$termid}"
+                         xsl:use-attribute-sets="xref.properties">
+            <xsl:call-template name="inline.charseq"/>
+          </fo:basic-link>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="inline.italicseq"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="termdef">
+  <fo:inline>
+    <xsl:call-template name="gentext.template">
+      <xsl:with-param name="context" select="'termdef'"/>
+      <xsl:with-param name="name" select="'prefix'"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+    <xsl:call-template name="gentext.template">
+      <xsl:with-param name="context" select="'termdef'"/>
+      <xsl:with-param name="name" select="'suffix'"/>
+    </xsl:call-template>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="sgmltag|tag">
+  <xsl:variable name="class">
+    <xsl:choose>
+      <xsl:when test="@class">
+        <xsl:value-of select="@class"/>
+      </xsl:when>
+      <xsl:otherwise>element</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$class='attribute'">
+      <xsl:call-template name="inline.monoseq"/>
+    </xsl:when>
+    <xsl:when test="$class='attvalue'">
+      <xsl:call-template name="inline.monoseq"/>
+    </xsl:when>
+    <xsl:when test="$class='element'">
+      <xsl:call-template name="inline.monoseq"/>
+    </xsl:when>
+    <xsl:when test="$class='endtag'">
+      <xsl:call-template name="inline.monoseq">
+        <xsl:with-param name="content">
+          <xsl:text>&lt;/</xsl:text>
+          <xsl:apply-templates/>
+          <xsl:text>&gt;</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$class='genentity'">
+      <xsl:call-template name="inline.monoseq">
+        <xsl:with-param name="content">
+          <xsl:text>&amp;</xsl:text>
+          <xsl:apply-templates/>
+          <xsl:text>;</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$class='numcharref'">
+      <xsl:call-template name="inline.monoseq">
+        <xsl:with-param name="content">
+          <xsl:text>&amp;#</xsl:text>
+          <xsl:apply-templates/>
+          <xsl:text>;</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$class='paramentity'">
+      <xsl:call-template name="inline.monoseq">
+        <xsl:with-param name="content">
+          <xsl:text>%</xsl:text>
+          <xsl:apply-templates/>
+          <xsl:text>;</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$class='pi'">
+      <xsl:call-template name="inline.monoseq">
+        <xsl:with-param name="content">
+          <xsl:text>&lt;?</xsl:text>
+          <xsl:apply-templates/>
+          <xsl:text>&gt;</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$class='xmlpi'">
+      <xsl:call-template name="inline.monoseq">
+        <xsl:with-param name="content">
+          <xsl:text>&lt;?</xsl:text>
+          <xsl:apply-templates/>
+          <xsl:text>?&gt;</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$class='starttag'">
+      <xsl:call-template name="inline.monoseq">
+        <xsl:with-param name="content">
+          <xsl:text>&lt;</xsl:text>
+          <xsl:apply-templates/>
+          <xsl:text>&gt;</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$class='emptytag'">
+      <xsl:call-template name="inline.monoseq">
+        <xsl:with-param name="content">
+          <xsl:text>&lt;</xsl:text>
+          <xsl:apply-templates/>
+          <xsl:text>/&gt;</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$class='sgmlcomment' or $class='comment'">
+      <xsl:call-template name="inline.monoseq">
+        <xsl:with-param name="content">
+          <xsl:text>&lt;!--</xsl:text>
+          <xsl:apply-templates/>
+          <xsl:text>--&gt;</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="inline.charseq"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="email">
+  <xsl:call-template name="inline.monoseq">
+    <xsl:with-param name="content">
+      <fo:inline keep-together.within-line="always" hyphenate="false">
+        <xsl:if test="not($email.delimiters.enabled = 0)">
+          <xsl:text>&lt;</xsl:text>
+        </xsl:if>
+        <xsl:apply-templates/>
+        <xsl:if test="not($email.delimiters.enabled = 0)">
+          <xsl:text>&gt;</xsl:text>
+        </xsl:if>
+      </fo:inline>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="keycombo">
+  <xsl:variable name="action" select="@action"/>
+  <xsl:variable name="joinchar">
+    <xsl:choose>
+      <xsl:when test="$action='seq'"><xsl:text> </xsl:text></xsl:when>
+      <xsl:when test="$action='simul'">+</xsl:when>
+      <xsl:when test="$action='press'">-</xsl:when>
+      <xsl:when test="$action='click'">-</xsl:when>
+      <xsl:when test="$action='double-click'">-</xsl:when>
+      <xsl:when test="$action='other'"></xsl:when>
+      <xsl:otherwise>-</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:for-each select="*">
+    <xsl:if test="position()>1"><xsl:value-of select="$joinchar"/></xsl:if>
+    <xsl:apply-templates select="."/>
+  </xsl:for-each>
+</xsl:template>
+
+<xsl:template match="uri">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="menuchoice">
+  <xsl:variable name="shortcut" select="./shortcut"/>
+  <xsl:call-template name="process.menuchoice"/>
+  <xsl:if test="$shortcut">
+    <xsl:text> (</xsl:text>
+    <xsl:apply-templates select="$shortcut"/>
+    <xsl:text>)</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="process.menuchoice">
+  <xsl:param name="nodelist" select="guibutton|guiicon|guilabel|guimenu|guimenuitem|guisubmenu|interface"/><!-- not(shortcut) -->
+  <xsl:param name="count" select="1"/>
+
+  <xsl:variable name="mm.separator">
+    <xsl:choose>
+      <xsl:when test="$fop.extensions != 0 and
+                contains($menuchoice.menu.separator, '&#x2192;')">
+        <fo:inline font-family="Symbol">
+          <xsl:copy-of select="$menuchoice.menu.separator"/>
+        </fo:inline>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$menuchoice.menu.separator"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$count>count($nodelist)"></xsl:when>
+    <xsl:when test="$count=1">
+      <xsl:apply-templates select="$nodelist[$count=position()]"/>
+      <xsl:call-template name="process.menuchoice">
+        <xsl:with-param name="nodelist" select="$nodelist"/>
+        <xsl:with-param name="count" select="$count+1"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="node" select="$nodelist[$count=position()]"/>
+      <xsl:choose>
+        <xsl:when test="local-name($node)='guimenuitem'
+                        or local-name($node)='guisubmenu'">
+          <xsl:copy-of select="$mm.separator"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:copy-of select="$menuchoice.separator"/>
+        </xsl:otherwise>
+      </xsl:choose>
+      <xsl:apply-templates select="$node"/>
+      <xsl:call-template name="process.menuchoice">
+        <xsl:with-param name="nodelist" select="$nodelist"/>
+        <xsl:with-param name="count" select="$count+1"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="optional">
+  <xsl:value-of select="$arg.choice.opt.open.str"/>
+  <xsl:call-template name="inline.charseq"/>
+  <xsl:value-of select="$arg.choice.opt.close.str"/>
+</xsl:template>
+
+<xsl:template match="citation">
+  <!-- todo: integrate with bibliography collection -->
+  <xsl:variable name="targets" select="(//biblioentry | //bibliomixed)[abbrev = string(current())]"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:choose>
+    <!-- try automatic linking based on match to abbrev -->
+    <xsl:when test="$target and not(xref) and not(link)">
+
+      <xsl:text>[</xsl:text>
+      <fo:basic-link>
+        <xsl:attribute name="internal-destination">
+          <xsl:call-template name="object.id">
+            <xsl:with-param name="object" select="$target"/>
+          </xsl:call-template>
+        </xsl:attribute>
+
+        <xsl:call-template name="inline.charseq"/>
+      </fo:basic-link>
+      <xsl:text>]</xsl:text>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:text>[</xsl:text>
+      <xsl:call-template name="inline.charseq"/>
+      <xsl:text>]</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="comment[&comment.block.parents;]|remark[&comment.block.parents;]">
+  <xsl:if test="$show.comments != 0">
+    <fo:block font-style="italic">
+      <xsl:call-template name="inline.charseq"/>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="comment|remark">
+  <xsl:if test="$show.comments != 0">
+    <fo:inline font-style="italic">
+      <xsl:call-template name="inline.charseq"/>
+    </fo:inline>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="productname">
+  <xsl:call-template name="inline.charseq"/>
+  <xsl:if test="@class">
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat" select="@class"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="productnumber">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="pob|street|city|state|postcode|country|otheraddr">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="phone|fax">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<!-- in Addresses, for example -->
+<xsl:template match="honorific|firstname|surname|lineage|othername">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="personname">
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="content">
+      <xsl:call-template name="person.name"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="jobtitle">
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="content">
+      <xsl:apply-templates/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="org">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="orgname">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="orgdiv">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="affiliation">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="beginpage">
+  <!-- does nothing; this *is not* markup to force a page break. -->
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/fo/keywords.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/keywords.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/keywords.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,21 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: keywords.xsl 1243 2002-03-14 18:43:42Z nwalsh $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="keywordset"></xsl:template>
+<xsl:template match="subjectset"></xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/lists.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/lists.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/lists.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1270 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: lists.xsl 6441 2006-11-19 06:36:56Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="itemizedlist">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="pi-label-width">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'label-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="label-width">
+    <xsl:choose>
+      <xsl:when test="$pi-label-width = ''">
+	<xsl:value-of select="$itemizedlist.label.width"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:value-of select="$pi-label-width"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:if test="title">
+    <xsl:apply-templates select="title" mode="list.title.mode"/>
+  </xsl:if>
+
+  <!-- Preserve order of PIs and comments -->
+  <xsl:apply-templates 
+      select="*[not(self::listitem
+                or self::title
+                or self::titleabbrev)]
+              |comment()[not(preceding-sibling::listitem)]
+              |processing-instruction()[not(preceding-sibling::listitem)]"/>
+
+  <xsl:variable name="content">
+    <xsl:apply-templates 
+          select="listitem
+                  |comment()[preceding-sibling::listitem]
+                  |processing-instruction()[preceding-sibling::listitem]"/>
+  </xsl:variable>
+
+  <!-- nested lists don't add extra list-block spacing -->
+  <xsl:choose>
+    <xsl:when test="ancestor::listitem">
+      <fo:list-block id="{$id}" xsl:use-attribute-sets="itemizedlist.properties">
+	<xsl:attribute name="provisional-distance-between-starts">
+	  <xsl:value-of select="$label-width"/>
+	</xsl:attribute>
+        <xsl:copy-of select="$content"/>
+      </fo:list-block>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:list-block id="{$id}" xsl:use-attribute-sets="list.block.spacing itemizedlist.properties">
+	<xsl:attribute name="provisional-distance-between-starts">
+	  <xsl:value-of select="$label-width"/>
+	</xsl:attribute>
+	<xsl:copy-of select="$content"/>
+      </fo:list-block>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template match="itemizedlist/title|orderedlist/title">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="variablelist/title" mode="vl.as.list">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="variablelist/title" mode="vl.as.blocks">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="itemizedlist/titleabbrev|orderedlist/titleabbrev">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="procedure/titleabbrev">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="variablelist/titleabbrev" mode="vl.as.list">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="variablelist/titleabbrev" mode="vl.as.blocks">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="itemizedlist/listitem">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:variable name="item.contents">
+    <fo:list-item-label end-indent="label-end()" xsl:use-attribute-sets="itemizedlist.label.properties">
+      <fo:block>
+        <xsl:call-template name="itemizedlist.label.markup">
+          <xsl:with-param name="itemsymbol">
+            <xsl:call-template name="list.itemsymbol">
+              <xsl:with-param name="node" select="parent::itemizedlist"/>
+            </xsl:call-template>
+          </xsl:with-param>
+        </xsl:call-template>
+      </fo:block>
+    </fo:list-item-label>
+    <fo:list-item-body start-indent="body-start()">
+      <xsl:choose>
+        <!-- * work around broken passivetex list-item-body rendering -->
+        <xsl:when test="$passivetex.extensions = '1'">
+          <xsl:apply-templates/>
+        </xsl:when>
+        <xsl:otherwise>
+          <fo:block>
+            <xsl:apply-templates/>
+          </fo:block>
+        </xsl:otherwise>
+      </xsl:choose>
+    </fo:list-item-body>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="parent::*/@spacing = 'compact'">
+      <fo:list-item id="{$id}" xsl:use-attribute-sets="compact.list.item.spacing">
+        <xsl:copy-of select="$item.contents"/>
+      </fo:list-item>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:list-item id="{$id}" xsl:use-attribute-sets="list.item.spacing">
+        <xsl:copy-of select="$item.contents"/>
+      </fo:list-item>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="itemizedlist.label.markup">
+  <xsl:param name="itemsymbol" select="'disc'"/>
+
+  <xsl:choose>
+    <xsl:when test="$itemsymbol='none'"></xsl:when>
+    <xsl:when test="$itemsymbol='disc'">&#x2022;</xsl:when>
+    <xsl:when test="$itemsymbol='bullet'">&#x2022;</xsl:when>
+    <xsl:when test="$itemsymbol='endash'">&#x2013;</xsl:when>
+    <xsl:when test="$itemsymbol='emdash'">&#x2014;</xsl:when>
+    <!-- Some of these may work in your XSL-FO processor and fonts -->
+    <!--
+    <xsl:when test="$itemsymbol='square'">&#x25A0;</xsl:when>
+    <xsl:when test="$itemsymbol='box'">&#x25A0;</xsl:when>
+    <xsl:when test="$itemsymbol='smallblacksquare'">&#x25AA;</xsl:when>
+    <xsl:when test="$itemsymbol='circle'">&#x25CB;</xsl:when>
+    <xsl:when test="$itemsymbol='opencircle'">&#x25CB;</xsl:when>
+    <xsl:when test="$itemsymbol='whitesquare'">&#x25A1;</xsl:when>
+    <xsl:when test="$itemsymbol='smallwhitesquare'">&#x25AB;</xsl:when>
+    <xsl:when test="$itemsymbol='round'">&#x25CF;</xsl:when>
+    <xsl:when test="$itemsymbol='blackcircle'">&#x25CF;</xsl:when>
+    <xsl:when test="$itemsymbol='whitebullet'">&#x25E6;</xsl:when>
+    <xsl:when test="$itemsymbol='triangle'">&#x2023;</xsl:when>
+    <xsl:when test="$itemsymbol='point'">&#x203A;</xsl:when>
+    <xsl:when test="$itemsymbol='hand'"><fo:inline 
+                         font-family="Wingdings 2">A</fo:inline></xsl:when>
+    -->
+    <xsl:otherwise>&#x2022;</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="orderedlist">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="pi-label-width">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'label-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="label-width">
+    <xsl:choose>
+      <xsl:when test="$pi-label-width = ''">
+	<xsl:value-of select="$orderedlist.label.width"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:value-of select="$pi-label-width"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:if test="title">
+    <xsl:apply-templates select="title" mode="list.title.mode"/>
+  </xsl:if>
+
+  <!-- Preserve order of PIs and comments -->
+  <xsl:apply-templates 
+      select="*[not(self::listitem
+                or self::title
+                or self::titleabbrev)]
+              |comment()[not(preceding-sibling::listitem)]
+              |processing-instruction()[not(preceding-sibling::listitem)]"/>
+
+  <xsl:variable name="content">
+    <xsl:apply-templates 
+          select="listitem
+                  |comment()[preceding-sibling::listitem]
+                  |processing-instruction()[preceding-sibling::listitem]"/>
+  </xsl:variable>
+
+  <!-- nested lists don't add extra list-block spacing -->
+  <xsl:choose>
+    <xsl:when test="ancestor::listitem">
+      <fo:list-block id="{$id}" xsl:use-attribute-sets="orderedlist.properties">
+	<xsl:attribute name="provisional-distance-between-starts">
+	  <xsl:value-of select="$label-width"/>
+	</xsl:attribute>
+        <xsl:copy-of select="$content"/>
+      </fo:list-block>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:list-block id="{$id}" xsl:use-attribute-sets="list.block.spacing orderedlist.properties">
+	<xsl:attribute name="provisional-distance-between-starts">
+	  <xsl:value-of select="$label-width"/>
+	</xsl:attribute>
+        <xsl:copy-of select="$content"/>
+      </fo:list-block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="orderedlist/listitem" mode="item-number">
+  <xsl:variable name="numeration">
+    <xsl:call-template name="list.numeration">
+      <xsl:with-param name="node" select="parent::orderedlist"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:choose>
+      <xsl:when test="$numeration='arabic'">1.</xsl:when>
+      <xsl:when test="$numeration='loweralpha'">a.</xsl:when>
+      <xsl:when test="$numeration='lowerroman'">i.</xsl:when>
+      <xsl:when test="$numeration='upperalpha'">A.</xsl:when>
+      <xsl:when test="$numeration='upperroman'">I.</xsl:when>
+      <!-- What!? This should never happen -->
+      <xsl:otherwise>
+        <xsl:message>
+          <xsl:text>Unexpected numeration: </xsl:text>
+          <xsl:value-of select="$numeration"/>
+        </xsl:message>
+        <xsl:value-of select="1."/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="item-number">
+    <xsl:call-template name="orderedlist-item-number"/>
+  </xsl:variable>
+
+  <xsl:if test="parent::orderedlist/@inheritnum='inherit'
+                and ancestor::listitem[parent::orderedlist]">
+    <xsl:apply-templates select="ancestor::listitem[parent::orderedlist][1]"
+                         mode="item-number"/>
+  </xsl:if>
+
+  <xsl:number value="$item-number" format="{$type}"/>
+</xsl:template>
+
+<xsl:template match="orderedlist/listitem">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:variable name="item.contents">
+    <fo:list-item-label end-indent="label-end()" xsl:use-attribute-sets="orderedlist.label.properties">
+      <fo:block>
+        <xsl:apply-templates select="." mode="item-number"/>
+      </fo:block>
+    </fo:list-item-label>
+    <fo:list-item-body start-indent="body-start()">
+      <fo:block>
+        <xsl:apply-templates/>
+      </fo:block>
+    </fo:list-item-body>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="parent::*/@spacing = 'compact'">
+      <fo:list-item id="{$id}" xsl:use-attribute-sets="compact.list.item.spacing">
+        <xsl:copy-of select="$item.contents"/>
+      </fo:list-item>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:list-item id="{$id}" xsl:use-attribute-sets="list.item.spacing">
+        <xsl:copy-of select="$item.contents"/>
+      </fo:list-item>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="listitem/*[1][local-name()='para' or 
+                                   local-name()='simpara' or 
+                                   local-name()='formalpara']
+                     |glossdef/*[1][local-name()='para' or 
+                                   local-name()='simpara' or 
+                                   local-name()='formalpara']
+                     |step/*[1][local-name()='para' or 
+                                   local-name()='simpara' or 
+                                   local-name()='formalpara']
+                     |callout/*[1][local-name()='para' or 
+                                   local-name()='simpara' or 
+                                   local-name()='formalpara']"
+              priority="2">
+  <fo:block>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="variablelist">
+  <xsl:variable name="presentation">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'list-presentation'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$presentation = 'list'">
+      <xsl:apply-templates select="." mode="vl.as.list"/>
+    </xsl:when>
+    <xsl:when test="$presentation = 'blocks'">
+      <xsl:apply-templates select="." mode="vl.as.blocks"/>
+    </xsl:when>
+    <xsl:when test="$variablelist.as.blocks != 0">
+      <xsl:apply-templates select="." mode="vl.as.blocks"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="." mode="vl.as.list"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="variablelist" mode="vl.as.list">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="term-width">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'term-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="termlength">
+    <xsl:choose>
+      <xsl:when test="$term-width != ''">
+        <xsl:value-of select="$term-width"/>
+      </xsl:when>
+      <xsl:when test="@termlength">
+        <xsl:variable name="termlength.is.number">
+          <xsl:value-of select="@termlength + 0"/>
+        </xsl:variable>
+        <xsl:choose>
+          <xsl:when test="$termlength.is.number = 'NaN'">
+            <!-- if the term length isn't just a number, assume it's a measurement -->
+            <xsl:value-of select="@termlength"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="@termlength"/>
+            <xsl:choose>
+              <!-- workaround for passivetex lack of support for non-constant expressions -->
+              <xsl:when test="$passivetex.extensions != 0">
+                <xsl:text>em</xsl:text>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:text>em * 0.60</xsl:text>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="longest.term">
+          <xsl:with-param name="terms" select="varlistentry/term"/>
+          <xsl:with-param name="maxlength" select="$variablelist.max.termlength"/>
+        </xsl:call-template>
+        <xsl:choose>
+          <!-- workaround for passivetex lack of support for non-constant expressions -->
+          <xsl:when test="$passivetex.extensions != 0">
+            <xsl:text>em</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:text>em * 0.60</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+<!--
+  <xsl:message>
+    <xsl:text>term width: </xsl:text>
+    <xsl:value-of select="$termlength"/>
+  </xsl:message>
+-->
+
+  <xsl:variable name="label-separation">1em</xsl:variable>
+  <xsl:variable name="distance-between-starts">
+    <xsl:choose>
+      <!-- workaround for passivetex lack of support for non-constant expressions -->
+      <xsl:when test="$passivetex.extensions != 0">
+        <xsl:value-of select="$termlength"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$termlength"/>
+        <xsl:text>+</xsl:text>
+        <xsl:value-of select="$label-separation"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:if test="title">
+    <xsl:apply-templates select="title" mode="list.title.mode"/>
+  </xsl:if>
+
+  <!-- Preserve order of PIs and comments -->
+  <xsl:apply-templates 
+    select="*[not(self::varlistentry
+              or self::title
+              or self::titleabbrev)]
+            |comment()[not(preceding-sibling::varlistentry)]
+            |processing-instruction()[not(preceding-sibling::varlistentry)]"/>
+
+  <xsl:variable name="content">
+    <xsl:apply-templates mode="vl.as.list"
+      select="varlistentry
+              |comment()[preceding-sibling::varlistentry]
+              |processing-instruction()[preceding-sibling::varlistentry]"/>
+  </xsl:variable>
+
+  <!-- nested lists don't add extra list-block spacing -->
+  <xsl:choose>
+    <xsl:when test="ancestor::listitem">
+      <fo:list-block id="{$id}"
+                     provisional-distance-between-starts=
+                        "{$distance-between-starts}"
+                     provisional-label-separation="{$label-separation}">
+        <xsl:copy-of select="$content"/>
+      </fo:list-block>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:list-block id="{$id}"
+                     provisional-distance-between-starts=
+                        "{$distance-between-starts}"
+                     provisional-label-separation="{$label-separation}"
+                     xsl:use-attribute-sets="list.block.spacing">
+        <xsl:copy-of select="$content"/>
+      </fo:list-block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="longest.term">
+  <xsl:param name="longest" select="0"/>
+  <xsl:param name="terms" select="."/>
+  <xsl:param name="maxlength" select="-1"/>
+
+  <!-- Process out any indexterms in the term -->
+  <xsl:variable name="term.text">
+    <xsl:apply-templates select="$terms[1]"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$longest &gt; $maxlength and $maxlength &gt; 0">
+      <xsl:value-of select="$maxlength"/>
+    </xsl:when>
+    <xsl:when test="not($terms)">
+      <xsl:value-of select="$longest"/>
+    </xsl:when>
+    <xsl:when test="string-length($term.text) &gt; $longest">
+      <xsl:call-template name="longest.term">
+        <xsl:with-param name="longest" 
+            select="string-length($term.text)"/>
+        <xsl:with-param name="maxlength" select="$maxlength"/>
+        <xsl:with-param name="terms" select="$terms[position() &gt; 1]"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="longest.term">
+        <xsl:with-param name="longest" select="$longest"/>
+        <xsl:with-param name="maxlength" select="$maxlength"/>
+        <xsl:with-param name="terms" select="$terms[position() &gt; 1]"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="varlistentry" mode="vl.as.list">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+  <fo:list-item id="{$id}" xsl:use-attribute-sets="list.item.spacing">
+    <fo:list-item-label end-indent="label-end()" text-align="start">
+      <fo:block>
+        <xsl:apply-templates select="term"/>
+      </fo:block>
+    </fo:list-item-label>
+    <fo:list-item-body start-indent="body-start()">
+      <fo:block>
+        <xsl:apply-templates select="listitem"/>
+      </fo:block>
+    </fo:list-item-body>
+  </fo:list-item>
+</xsl:template>
+
+<xsl:template match="variablelist" mode="vl.as.blocks">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <!-- termlength is irrelevant -->
+
+  <xsl:if test="title">
+    <xsl:apply-templates select="title" mode="list.title.mode"/>
+  </xsl:if>
+
+  <!-- Preserve order of PIs and comments -->
+  <xsl:apply-templates 
+    select="*[not(self::varlistentry
+              or self::title
+              or self::titleabbrev)]
+            |comment()[not(preceding-sibling::varlistentry)]
+            |processing-instruction()[not(preceding-sibling::varlistentry)]"/>
+
+  <xsl:variable name="content">
+    <xsl:apply-templates mode="vl.as.blocks"
+      select="varlistentry
+              |comment()[preceding-sibling::varlistentry]
+              |processing-instruction()[preceding-sibling::varlistentry]"/>
+  </xsl:variable>
+
+  <!-- nested lists don't add extra list-block spacing -->
+  <xsl:choose>
+    <xsl:when test="ancestor::listitem">
+      <fo:block id="{$id}">
+        <xsl:copy-of select="$content"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block id="{$id}" xsl:use-attribute-sets="list.block.spacing">
+        <xsl:copy-of select="$content"/>
+      </fo:block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="varlistentry" mode="vl.as.blocks">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <fo:block id="{$id}" xsl:use-attribute-sets="list.item.spacing"  
+      keep-together.within-column="always" 
+      keep-with-next.within-column="always">
+    <xsl:apply-templates select="term"/>
+  </fo:block>
+
+  <fo:block margin-left="0.25in">
+    <xsl:apply-templates select="listitem"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="varlistentry/term">
+  <fo:inline>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </fo:inline>
+  <xsl:choose>
+    <xsl:when test="not(following-sibling::term)"/> <!-- do nothing -->
+    <xsl:otherwise>
+      <!-- * if we have multiple terms in the same varlistentry, generate -->
+      <!-- * a separator (", " by default) and/or an additional line -->
+      <!-- * break after each one except the last -->
+      <fo:inline><xsl:value-of select="$variablelist.term.separator"/></fo:inline>
+      <xsl:if test="not($variablelist.term.break.after = '0')">
+        <fo:block/>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="varlistentry/listitem">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="title" mode="list.title.mode">
+  <xsl:call-template name="formal.object.heading">
+    <xsl:with-param name="object" select=".."/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="simplelist">
+  <!-- with no type specified, the default is 'vert' -->
+  <fo:table xsl:use-attribute-sets="normal.para.spacing">
+    <xsl:call-template name="simplelist.table.columns">
+      <xsl:with-param name="cols">
+        <xsl:choose>
+          <xsl:when test="@columns">
+            <xsl:value-of select="@columns"/>
+          </xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+    <fo:table-body start-indent="0pt" end-indent="0pt">
+      <xsl:call-template name="simplelist.vert">
+        <xsl:with-param name="cols">
+          <xsl:choose>
+            <xsl:when test="@columns">
+              <xsl:value-of select="@columns"/>
+            </xsl:when>
+            <xsl:otherwise>1</xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+    </fo:table-body>
+  </fo:table>
+</xsl:template>
+
+<xsl:template match="simplelist[@type='inline']">
+  <!-- if dbchoice PI exists, use that to determine the choice separator -->
+  <!-- (that is, equivalent of "and" or "or" in current locale), or literal -->
+  <!-- value of "choice" otherwise -->
+  <fo:inline><xsl:variable name="localized-choice-separator">
+    <xsl:choose>
+      <xsl:when test="processing-instruction('dbchoice')">
+	<xsl:call-template name="select.choice.separator"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<!-- empty -->
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:for-each select="member">
+    <xsl:apply-templates/>
+    <xsl:choose>
+      <xsl:when test="position() = last()"/> <!-- do nothing -->
+      <xsl:otherwise>
+	<xsl:text>, </xsl:text>
+	<xsl:if test="position() = last() - 1">
+	  <xsl:if test="$localized-choice-separator != ''">
+	    <xsl:value-of select="$localized-choice-separator"/>
+	    <xsl:text> </xsl:text>
+	  </xsl:if>
+	</xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:for-each></fo:inline>
+</xsl:template>
+
+<xsl:template match="simplelist[@type='horiz']">
+
+  <xsl:variable name="explicit.table.width">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'list-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="table.width">
+    <xsl:choose>
+      <xsl:when test="$explicit.table.width != ''">
+        <xsl:value-of select="$explicit.table.width"/>
+      </xsl:when>
+      <xsl:when test="$default.table.width = ''">
+        <xsl:text>100%</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$default.table.width"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <fo:table xsl:use-attribute-sets="normal.para.spacing">
+    <xsl:choose>
+      <xsl:when test="$axf.extensions != 0 or $xep.extensions != 0">
+        <xsl:attribute name="table-layout">auto</xsl:attribute>
+        <xsl:if test="$explicit.table.width != ''">
+          <xsl:attribute name="width"><xsl:value-of 
+                             select="$explicit.table.width"/></xsl:attribute>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:attribute name="table-layout">fixed</xsl:attribute>
+        <xsl:attribute name="width"><xsl:value-of 
+                                      select="$table.width"/></xsl:attribute>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:call-template name="simplelist.table.columns">
+      <xsl:with-param name="cols">
+        <xsl:choose>
+          <xsl:when test="@columns">
+            <xsl:value-of select="@columns"/>
+          </xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+    <fo:table-body start-indent="0pt" end-indent="0pt">
+      <xsl:call-template name="simplelist.horiz">
+        <xsl:with-param name="cols">
+          <xsl:choose>
+            <xsl:when test="@columns">
+              <xsl:value-of select="@columns"/>
+            </xsl:when>
+            <xsl:otherwise>1</xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+    </fo:table-body>
+  </fo:table>
+</xsl:template>
+
+<xsl:template match="simplelist[@type='vert']">
+  <fo:table xsl:use-attribute-sets="normal.para.spacing">
+    <xsl:call-template name="simplelist.table.columns">
+      <xsl:with-param name="cols">
+        <xsl:choose>
+          <xsl:when test="@columns">
+            <xsl:value-of select="@columns"/>
+          </xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+    <fo:table-body start-indent="0pt" end-indent="0pt">
+      <xsl:call-template name="simplelist.vert">
+        <xsl:with-param name="cols">
+          <xsl:choose>
+            <xsl:when test="@columns">
+              <xsl:value-of select="@columns"/>
+            </xsl:when>
+            <xsl:otherwise>1</xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+    </fo:table-body>
+  </fo:table>
+</xsl:template>
+
+<xsl:template name="simplelist.table.columns">
+  <xsl:param name="cols" select="1"/>
+  <xsl:param name="curcol" select="1"/>
+  <fo:table-column column-number="{$curcol}"
+                   column-width="proportional-column-width(1)"/>
+  <xsl:if test="$curcol &lt; $cols">
+    <xsl:call-template name="simplelist.table.columns">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="curcol" select="$curcol + 1"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="simplelist.horiz">
+  <xsl:param name="cols">1</xsl:param>
+  <xsl:param name="cell">1</xsl:param>
+  <xsl:param name="members" select="./member"/>
+
+  <xsl:if test="$cell &lt;= count($members)">
+    <fo:table-row>
+      <xsl:call-template name="simplelist.horiz.row">
+        <xsl:with-param name="cols" select="$cols"/>
+        <xsl:with-param name="cell" select="$cell"/>
+        <xsl:with-param name="members" select="$members"/>
+      </xsl:call-template>
+   </fo:table-row>
+    <xsl:call-template name="simplelist.horiz">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="cell" select="$cell + $cols"/>
+      <xsl:with-param name="members" select="$members"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="simplelist.horiz.row">
+  <xsl:param name="cols">1</xsl:param>
+  <xsl:param name="cell">1</xsl:param>
+  <xsl:param name="members" select="./member"/>
+  <xsl:param name="curcol">1</xsl:param>
+
+  <xsl:if test="$curcol &lt;= $cols">
+    <fo:table-cell>
+      <fo:block>
+        <xsl:if test="$members[position()=$cell]">
+          <xsl:apply-templates select="$members[position()=$cell]"/>
+        </xsl:if>
+      </fo:block>
+    </fo:table-cell>
+    <xsl:call-template name="simplelist.horiz.row">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="cell" select="$cell+1"/>
+      <xsl:with-param name="members" select="$members"/>
+      <xsl:with-param name="curcol" select="$curcol+1"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="simplelist.vert">
+  <xsl:param name="cols">1</xsl:param>
+  <xsl:param name="cell">1</xsl:param>
+  <xsl:param name="members" select="./member"/>
+  <xsl:param name="rows"
+             select="floor((count($members)+$cols - 1) div $cols)"/>
+
+  <xsl:if test="$cell &lt;= $rows">
+    <fo:table-row>
+      <xsl:call-template name="simplelist.vert.row">
+        <xsl:with-param name="cols" select="$cols"/>
+        <xsl:with-param name="rows" select="$rows"/>
+        <xsl:with-param name="cell" select="$cell"/>
+        <xsl:with-param name="members" select="$members"/>
+      </xsl:call-template>
+   </fo:table-row>
+    <xsl:call-template name="simplelist.vert">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="cell" select="$cell+1"/>
+      <xsl:with-param name="members" select="$members"/>
+      <xsl:with-param name="rows" select="$rows"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="simplelist.vert.row">
+  <xsl:param name="cols">1</xsl:param>
+  <xsl:param name="rows">1</xsl:param>
+  <xsl:param name="cell">1</xsl:param>
+  <xsl:param name="members" select="./member"/>
+  <xsl:param name="curcol">1</xsl:param>
+
+  <xsl:if test="$curcol &lt;= $cols">
+    <fo:table-cell>
+      <fo:block>
+        <xsl:if test="$members[position()=$cell]">
+          <xsl:apply-templates select="$members[position()=$cell]"/>
+        </xsl:if>
+      </fo:block>
+    </fo:table-cell>
+    <xsl:call-template name="simplelist.vert.row">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="rows" select="$rows"/>
+      <xsl:with-param name="cell" select="$cell+$rows"/>
+      <xsl:with-param name="members" select="$members"/>
+      <xsl:with-param name="curcol" select="$curcol+1"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="member">
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="content">
+      <xsl:apply-templates/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="procedure">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="param.placement"
+                select="substring-after(normalize-space($formal.title.placement),
+                                        concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- Preserve order of PIs and comments -->
+  <xsl:variable name="preamble"
+        select="*[not(self::step
+                  or self::title
+                  or self::titleabbrev)]
+                |comment()[not(preceding-sibling::step)]
+                |processing-instruction()[not(preceding-sibling::step)]"/>
+
+  <xsl:variable name="steps" 
+                select="step
+                        |comment()[preceding-sibling::step]
+                        |processing-instruction()[preceding-sibling::step]"/>
+
+  <fo:block id="{$id}" xsl:use-attribute-sets="list.block.spacing">
+    <xsl:if test="./title and $placement = 'before'">
+      <!-- n.b. gentext code tests for $formal.procedures and may make an "informal" -->
+      <!-- heading even though we called formal.object.heading. odd but true. -->
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="$preamble"/>
+
+    <fo:list-block xsl:use-attribute-sets="list.block.spacing"
+                   provisional-distance-between-starts="2em"
+                   provisional-label-separation="0.2em">
+      <xsl:apply-templates select="$steps"/>
+    </fo:list-block>
+
+    <xsl:if test="./title and $placement != 'before'">
+      <!-- n.b. gentext code tests for $formal.procedures and may make an "informal" -->
+      <!-- heading even though we called formal.object.heading. odd but true. -->
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="procedure/title">
+</xsl:template>
+
+<xsl:template match="substeps">
+  <fo:list-block xsl:use-attribute-sets="list.block.spacing"
+                 provisional-distance-between-starts="2em"
+                 provisional-label-separation="0.2em">
+    <xsl:apply-templates/>
+  </fo:list-block>
+</xsl:template>
+
+<xsl:template match="procedure/step|substeps/step">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:list-item xsl:use-attribute-sets="list.item.spacing">
+    <fo:list-item-label end-indent="label-end()">
+      <fo:block id="{$id}">
+        <!-- dwc: fix for one step procedures. Use a bullet if there's no step 2 -->
+        <xsl:choose>
+          <xsl:when test="count(../step) = 1">
+            <xsl:text>&#x2022;</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="." mode="number">
+              <xsl:with-param name="recursive" select="0"/>
+            </xsl:apply-templates>.
+          </xsl:otherwise>
+        </xsl:choose>
+      </fo:block>
+    </fo:list-item-label>
+    <fo:list-item-body start-indent="body-start()">
+      <fo:block>
+        <xsl:apply-templates/>
+      </fo:block>
+    </fo:list-item-body>
+  </fo:list-item>
+</xsl:template>
+
+<xsl:template match="stepalternatives">
+  <fo:list-block provisional-distance-between-starts="2em"
+                 provisional-label-separation="0.2em">
+    <xsl:apply-templates select="step"/>
+  </fo:list-block>
+</xsl:template>
+
+<xsl:template match="stepalternatives/step">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:list-item xsl:use-attribute-sets="list.item.spacing">
+    <fo:list-item-label end-indent="label-end()">
+      <fo:block id="{$id}">
+        <xsl:text>&#x2022;</xsl:text>
+      </fo:block>
+    </fo:list-item-label>
+    <fo:list-item-body start-indent="body-start()">
+      <fo:block>
+        <xsl:apply-templates/>
+      </fo:block>
+    </fo:list-item-body>
+  </fo:list-item>
+</xsl:template>
+
+<xsl:template match="step/title">
+  <fo:block font-weight="bold"
+            keep-together.within-column="always" 
+            keep-with-next.within-column="always">
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="segmentedlist">
+  <xsl:variable name="presentation">
+    <xsl:call-template name="pi-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'list-presentation'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$presentation = 'table'">
+      <fo:block id="{$id}">
+        <xsl:apply-templates select="." mode="seglist-table"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="$presentation = 'list'">
+      <fo:block id="{$id}">
+        <xsl:apply-templates/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="$segmentedlist.as.table != 0">
+      <fo:block id="{$id}">
+        <xsl:apply-templates select="." mode="seglist-table"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block id="{$id}">
+        <xsl:apply-templates/>
+      </fo:block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="segmentedlist/title">
+  <xsl:apply-templates select="." mode="list.title.mode" />
+</xsl:template>
+
+<xsl:template match="segtitle">
+</xsl:template>
+
+<xsl:template match="segtitle" mode="segtitle-in-seg">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="seglistitem">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <fo:block id="{$id}">
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="seg">
+  <xsl:variable name="segnum" select="count(preceding-sibling::seg)+1"/>
+  <xsl:variable name="seglist" select="ancestor::segmentedlist"/>
+  <xsl:variable name="segtitles" select="$seglist/segtitle"/>
+
+  <!--
+     Note: segtitle is only going to be the right thing in a well formed
+     SegmentedList.  If there are too many Segs or too few SegTitles,
+     you'll get something odd...maybe an error
+  -->
+
+  <fo:block>
+    <fo:inline font-weight="bold">
+      <xsl:apply-templates select="$segtitles[$segnum=position()]"
+                           mode="segtitle-in-seg"/>
+      <xsl:text>: </xsl:text>
+    </fo:inline>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="segmentedlist" mode="seglist-table">
+  <xsl:apply-templates select="title" mode="list.title.mode" />
+  <fo:table>
+    <fo:table-column column-number="1" column-width="proportional-column-width(1)"/>
+    <fo:table-column column-number="2" column-width="proportional-column-width(1)"/>
+    <fo:table-header start-indent="0pt" end-indent="0pt">
+      <fo:table-row>
+        <xsl:apply-templates select="segtitle" mode="seglist-table"/>
+      </fo:table-row>
+    </fo:table-header>
+    <fo:table-body start-indent="0pt" end-indent="0pt">
+      <xsl:apply-templates select="seglistitem" mode="seglist-table"/>
+    </fo:table-body>
+  </fo:table>
+</xsl:template>
+
+<xsl:template match="segtitle" mode="seglist-table">
+  <fo:table-cell>
+    <fo:block font-weight="bold">
+      <xsl:apply-templates/>
+    </fo:block>
+  </fo:table-cell>
+</xsl:template>
+
+<xsl:template match="seglistitem" mode="seglist-table">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <fo:table-row id="{$id}">
+    <xsl:apply-templates mode="seglist-table"/>
+  </fo:table-row>
+</xsl:template>
+
+<xsl:template match="seg" mode="seglist-table">
+  <fo:table-cell>
+    <fo:block>
+      <xsl:apply-templates/>
+    </fo:block>
+  </fo:table-cell>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="calloutlist">
+  <xsl:variable name="id">
+  <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}"
+            text-align="{$alignment}">
+    <!-- The above restores alignment altered by image align attribute -->
+    <xsl:if test="title|info/title">
+      <xsl:apply-templates select="(title|info/title)[1]" 
+                           mode="list.title.mode"/>
+    </xsl:if>
+
+    <!-- Preserve order of PIs and comments -->
+    <xsl:apply-templates 
+         select="*[not(self::callout or self::title or self::titleabbrev)]
+                   |comment()[not(preceding-sibling::callout)]
+                   |processing-instruction()[not(preceding-sibling::callout)]"/>
+
+    <fo:list-block space-before.optimum="1em"
+                   space-before.minimum="0.8em"
+                   space-before.maximum="1.2em"
+                   provisional-distance-between-starts="2.2em"
+                   provisional-label-separation="0.2em">
+      <xsl:apply-templates select="callout
+                                |comment()[preceding-sibling::calllout]
+                                |processing-instruction()[preceding-sibling::callout]"/>
+    </fo:list-block>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="calloutlist/title">
+</xsl:template>
+
+<xsl:template match="callout">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+  <fo:list-item id="{$id}">
+    <fo:list-item-label end-indent="label-end()">
+      <fo:block>
+        <xsl:call-template name="callout.arearefs">
+          <xsl:with-param name="arearefs" select="@arearefs"/>
+        </xsl:call-template>
+      </fo:block>
+    </fo:list-item-label>
+    <fo:list-item-body start-indent="body-start()">
+      <fo:block>
+        <xsl:apply-templates/>
+      </fo:block>
+    </fo:list-item-body>
+  </fo:list-item>
+</xsl:template>
+
+<xsl:template name="callout.arearefs">
+  <xsl:param name="arearefs"></xsl:param>
+  <xsl:if test="$arearefs!=''">
+    <xsl:choose>
+      <xsl:when test="substring-before($arearefs,' ')=''">
+        <xsl:call-template name="callout.arearef">
+          <xsl:with-param name="arearef" select="$arearefs"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="callout.arearef">
+          <xsl:with-param name="arearef"
+                          select="substring-before($arearefs,' ')"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:call-template name="callout.arearefs">
+      <xsl:with-param name="arearefs"
+                      select="substring-after($arearefs,' ')"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="callout.arearef">
+  <xsl:param name="arearef"></xsl:param>
+  <xsl:variable name="targets" select="key('id',$arearef)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:choose>
+    <xsl:when test="count($target)=0">
+      <xsl:value-of select="$arearef"/>
+      <xsl:text>: ???</xsl:text>
+    </xsl:when>
+    <xsl:when test="local-name($target)='co'">
+      <xsl:apply-templates select="$target" mode="callout-bug"/>
+    </xsl:when>
+    <xsl:when test="local-name($target)='areaset'">
+      <xsl:call-template name="callout-bug">
+        <xsl:with-param name="conum">
+          <xsl:apply-templates select="$target" mode="conumber"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="local-name($target)='area'">
+      <xsl:choose>
+        <xsl:when test="$target/parent::areaset">
+          <xsl:call-template name="callout-bug">
+            <xsl:with-param name="conum">
+              <xsl:apply-templates select="$target/parent::areaset"
+                                   mode="conumber"/>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="callout-bug">
+            <xsl:with-param name="conum">
+              <xsl:apply-templates select="$target" mode="conumber"/>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>???</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/fo/math.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/math.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/math.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,119 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:mml="http://www.w3.org/1998/Math/MathML"
+                exclude-result-prefixes="mml"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: math.xsl 6223 2006-08-30 20:48:15Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="inlineequation">
+  <xsl:choose>
+    <xsl:when test="$passivetex.extensions != 0 and $tex.math.in.alt != ''">
+      <xsl:apply-templates select="alt[@role='tex'] | inlinemediaobject/textobject[@role='tex']">
+        <xsl:with-param name="output.delims">
+          <xsl:call-template name="tex.math.output.delims"/>
+        </xsl:with-param>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="alt">
+</xsl:template>
+
+<xsl:template match="mathphrase">
+  <fo:inline>
+    <xsl:apply-templates/>
+  </fo:inline>
+</xsl:template>
+
+<!-- "Support" for MathML -->
+
+<xsl:template match="mml:*" xmlns:mml="http://www.w3.org/1998/Math/MathML">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="equation/graphic | informalequation/graphic">
+  <xsl:if test="$passivetex.extensions = 0 or $tex.math.in.alt = ''">
+    <fo:block>
+      <xsl:call-template name="process.image"/>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="inlineequation/alt[@role='tex'] | 
+                     inlineequation/inlinemediaobject/textobject[@role='tex']" priority="1">
+  <xsl:param name="output.delims" select="1"/>
+  <xsl:if test="$passivetex.extensions != 0 and $tex.math.in.alt != ''">
+    <xsl:processing-instruction name="xmltex">
+      <xsl:if test="$output.delims != 0">
+        <xsl:text>$</xsl:text>
+      </xsl:if>
+      <xsl:value-of select="."/>
+      <xsl:if test="$output.delims != 0">
+        <xsl:text>$</xsl:text>
+      </xsl:if>
+    </xsl:processing-instruction>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="equation/alt[@role='tex'] | informalequation/alt[@role='tex'] |
+                     equation/mediaobject/textobject[@role='tex'] |
+                     informalequation/mediaobject/textobject[@role='tex']" priority="1">
+  <xsl:variable name="output.delims">
+    <xsl:call-template name="tex.math.output.delims"/>
+  </xsl:variable>
+  <xsl:if test="$passivetex.extensions != 0 and $tex.math.in.alt != ''">
+    <xsl:processing-instruction name="xmltex">
+      <xsl:if test="$output.delims != 0">
+        <xsl:text>$$</xsl:text>
+      </xsl:if>
+      <xsl:value-of select="."/>
+      <xsl:if test="$output.delims != 0">
+        <xsl:text>$$</xsl:text>
+      </xsl:if>
+    </xsl:processing-instruction>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="alt[@role='tex']">
+  <xsl:if test="$passivetex.extensions != 0 and $tex.math.in.alt != ''">
+    <xsl:message>
+      Your equation is misplaced. It should be in inlineequation, equation or informalequation.
+    </xsl:message>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="tex.math.output.delims">
+  <xsl:variable name="pi.delims">
+    <xsl:call-template name="pi-attribute">
+      <xsl:with-param name="pis" select=".//processing-instruction('dbtex')"/>
+      <xsl:with-param name="attribute" select="'delims'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="result">
+    <xsl:choose>
+      <xsl:when test="$pi.delims = 'no'">0</xsl:when>
+      <xsl:when test="$pi.delims = '' and $tex.math.delims = 0">0</xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:value-of select="$result"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/pagesetup.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/pagesetup.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/pagesetup.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,2302 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: pagesetup.xsl 6483 2007-01-08 18:00:22Z bobstayton $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheet distribution.
+     See ../README or http://docbook.sf.net/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:param name="body.fontset">
+  <xsl:value-of select="$body.font.family"/>
+  <xsl:if test="$body.font.family != ''
+                and $symbol.font.family  != ''">,</xsl:if>
+    <xsl:value-of select="$symbol.font.family"/>
+</xsl:param>
+
+<xsl:param name="title.fontset">
+  <xsl:value-of select="$title.font.family"/>
+  <xsl:if test="$title.font.family != ''
+                and $symbol.font.family  != ''">,</xsl:if>
+    <xsl:value-of select="$symbol.font.family"/>
+</xsl:param>
+
+<!-- PassiveTeX can't handle the math expression for
+     title.margin.left being negative, so ignore it.
+     margin-left="{$page.margin.outer} - {$title.margin.left}"
+-->
+<xsl:param name="margin.left.outer">
+  <xsl:choose>
+    <xsl:when test="$passivetex.extensions != 0">
+      <xsl:value-of select="$page.margin.outer"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$page.margin.outer"/>
+      <xsl:text> - </xsl:text>
+      <xsl:value-of select="$title.margin.left"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+
+<xsl:param name="margin.left.inner">
+  <xsl:choose>
+    <xsl:when test="$passivetex.extensions != 0">
+      <xsl:value-of select="$page.margin.inner"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$page.margin.inner"/>
+      <xsl:text> - </xsl:text>
+      <xsl:value-of select="$title.margin.left"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+
+<xsl:template name="setup.pagemasters">
+  <fo:layout-master-set>
+    <!-- blank pages -->
+    <fo:simple-page-master master-name="blank"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.outer}"
+                           margin-right="{$page.margin.inner}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body display-align="center"
+                      margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}">
+        <xsl:if test="$fop.extensions = 0 and $fop1.extensions = 0">
+          <xsl:attribute name="region-name">blank-body</xsl:attribute>
+        </xsl:if>
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-blank"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-blank"
+                       extent="{$region.after.extent}"
+                        display-align="after"/>
+    </fo:simple-page-master>
+
+    <!-- title pages -->
+    <fo:simple-page-master master-name="titlepage-first"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.inner}"
+                           margin-right="{$page.margin.outer}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.titlepage}"
+                      column-count="{$column.count.titlepage}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-first"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-first"
+                       extent="{$region.after.extent}"
+                        display-align="after"/>
+    </fo:simple-page-master>
+
+    <fo:simple-page-master master-name="titlepage-odd"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.inner}"
+                           margin-right="{$page.margin.outer}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.titlepage}"
+                      column-count="{$column.count.titlepage}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-odd"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-odd"
+                       extent="{$region.after.extent}"
+                        display-align="after"/>
+    </fo:simple-page-master>
+
+    <fo:simple-page-master master-name="titlepage-even"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.outer}"
+                           margin-right="{$page.margin.inner}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.titlepage}"
+                      column-count="{$column.count.titlepage}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-even"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-even"
+                       extent="{$region.after.extent}"
+                        display-align="after"/>
+    </fo:simple-page-master>
+
+    <!-- list-of-title pages -->
+    <fo:simple-page-master master-name="lot-first"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.inner}"
+                           margin-right="{$page.margin.outer}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.lot}"
+                      column-count="{$column.count.lot}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-first"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-first"
+                       extent="{$region.after.extent}"
+                       display-align="after"/>
+    </fo:simple-page-master>
+
+    <fo:simple-page-master master-name="lot-odd"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.inner}"
+                           margin-right="{$page.margin.outer}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.lot}"
+                      column-count="{$column.count.lot}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-odd"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-odd"
+                       extent="{$region.after.extent}"
+                        display-align="after"/>
+    </fo:simple-page-master>
+
+    <fo:simple-page-master master-name="lot-even"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.outer}"
+                           margin-right="{$page.margin.inner}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.lot}"
+                      column-count="{$column.count.lot}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-even"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-even"
+                       extent="{$region.after.extent}"
+                        display-align="after"/>
+    </fo:simple-page-master>
+
+    <!-- frontmatter pages -->
+    <fo:simple-page-master master-name="front-first"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.inner}"
+                           margin-right="{$page.margin.outer}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.front}"
+                      column-count="{$column.count.front}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-first"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-first"
+                       extent="{$region.after.extent}"
+                        display-align="after"/>
+    </fo:simple-page-master>
+
+    <fo:simple-page-master master-name="front-odd"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.inner}"
+                           margin-right="{$page.margin.outer}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.front}"
+                      column-count="{$column.count.front}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-odd"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-odd"
+                       extent="{$region.after.extent}"
+                        display-align="after"/>
+    </fo:simple-page-master>
+
+    <fo:simple-page-master master-name="front-even"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.outer}"
+                           margin-right="{$page.margin.inner}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.front}"
+                      column-count="{$column.count.front}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-even"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-even"
+                       extent="{$region.after.extent}"
+                        display-align="after"/>
+    </fo:simple-page-master>
+
+    <!-- body pages -->
+    <fo:simple-page-master master-name="body-first"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.inner}"
+                           margin-right="{$page.margin.outer}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.body}"
+                      column-count="{$column.count.body}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-first"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-first"
+                       extent="{$region.after.extent}"
+                       display-align="after"/>
+    </fo:simple-page-master>
+
+    <fo:simple-page-master master-name="body-odd"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.inner}"
+                           margin-right="{$page.margin.outer}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.body}"
+                      column-count="{$column.count.body}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-odd"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-odd"
+                       extent="{$region.after.extent}"
+                       display-align="after"/>
+    </fo:simple-page-master>
+
+    <fo:simple-page-master master-name="body-even"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.outer}"
+                           margin-right="{$page.margin.inner}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.body}"
+                      column-count="{$column.count.body}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-even"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-even"
+                       extent="{$region.after.extent}"
+                       display-align="after"/>
+    </fo:simple-page-master>
+
+    <!-- backmatter pages -->
+    <fo:simple-page-master master-name="back-first"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.inner}"
+                           margin-right="{$page.margin.outer}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.back}"
+                      column-count="{$column.count.back}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-first"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-first"
+                       extent="{$region.after.extent}"
+                       display-align="after"/>
+    </fo:simple-page-master>
+
+    <fo:simple-page-master master-name="back-odd"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.inner}"
+                           margin-right="{$page.margin.outer}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.back}"
+                      column-count="{$column.count.back}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-odd"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-odd"
+                       extent="{$region.after.extent}"
+                       display-align="after"/>
+    </fo:simple-page-master>
+
+    <fo:simple-page-master master-name="back-even"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$margin.left.outer}"
+                           margin-right="{$page.margin.inner}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.back}"
+                      column-count="{$column.count.back}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-even"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-even"
+                       extent="{$region.after.extent}"
+                       display-align="after"/>
+    </fo:simple-page-master>
+
+    <!-- index pages -->
+    <fo:simple-page-master master-name="index-first"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$page.margin.inner}"
+                           margin-right="{$page.margin.outer}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.index}"
+                      column-count="{$column.count.index}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-first"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-first"
+                       extent="{$region.after.extent}"
+                       display-align="after"/>
+    </fo:simple-page-master>
+
+    <fo:simple-page-master master-name="index-odd"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$page.margin.inner}"
+                           margin-right="{$page.margin.outer}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.index}"
+                      column-count="{$column.count.index}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-odd"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-odd"
+                       extent="{$region.after.extent}"
+                       display-align="after"/>
+    </fo:simple-page-master>
+
+    <fo:simple-page-master master-name="index-even"
+                           page-width="{$page.width}"
+                           page-height="{$page.height}"
+                           margin-top="{$page.margin.top}"
+                           margin-bottom="{$page.margin.bottom}"
+                           margin-left="{$page.margin.outer}"
+                           margin-right="{$page.margin.inner}">
+      <xsl:if test="$axf.extensions != 0">
+        <xsl:call-template name="axf-page-master-properties">
+          <xsl:with-param name="page.master">blank</xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+      <fo:region-body margin-bottom="{$body.margin.bottom}"
+                      margin-top="{$body.margin.top}"
+                      column-gap="{$column.gap.index}"
+                      column-count="{$column.count.index}">
+      </fo:region-body>
+      <fo:region-before region-name="xsl-region-before-even"
+                        extent="{$region.before.extent}"
+                        display-align="before"/>
+      <fo:region-after region-name="xsl-region-after-even"
+                       extent="{$region.after.extent}"
+                       display-align="after"/>
+    </fo:simple-page-master>
+
+    <xsl:if test="$draft.mode != 'no'">
+      <!-- draft blank pages -->
+      <fo:simple-page-master master-name="blank-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.outer}"
+                             margin-right="{$page.margin.inner}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-blank"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-blank"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <!-- draft title pages -->
+      <fo:simple-page-master master-name="titlepage-first-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.inner}"
+                             margin-right="{$page.margin.outer}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.titlepage}"
+                        column-count="{$column.count.titlepage}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-first"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-first"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <fo:simple-page-master master-name="titlepage-odd-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.inner}"
+                             margin-right="{$page.margin.outer}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.titlepage}"
+                        column-count="{$column.count.titlepage}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-odd"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-odd"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <fo:simple-page-master master-name="titlepage-even-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.outer}"
+                             margin-right="{$page.margin.inner}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.titlepage}"
+                        column-count="{$column.count.titlepage}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-even"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-even"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <!-- draft list-of-title pages -->
+      <fo:simple-page-master master-name="lot-first-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.inner}"
+                             margin-right="{$page.margin.outer}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.lot}"
+                        column-count="{$column.count.lot}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-first"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-first"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <fo:simple-page-master master-name="lot-odd-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.inner}"
+                             margin-right="{$page.margin.outer}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.lot}"
+                        column-count="{$column.count.lot}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-odd"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-odd"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <fo:simple-page-master master-name="lot-even-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.outer}"
+                             margin-right="{$page.margin.inner}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.lot}"
+                        column-count="{$column.count.lot}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-even"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-even"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <!-- draft frontmatter pages -->
+      <fo:simple-page-master master-name="front-first-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.inner}"
+                             margin-right="{$page.margin.outer}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.front}"
+                        column-count="{$column.count.front}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-first"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-first"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <fo:simple-page-master master-name="front-odd-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.inner}"
+                             margin-right="{$page.margin.outer}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.front}"
+                        column-count="{$column.count.front}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-odd"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-odd"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <fo:simple-page-master master-name="front-even-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.outer}"
+                             margin-right="{$page.margin.inner}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.front}"
+                        column-count="{$column.count.front}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-even"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-even"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <!-- draft body pages -->
+      <fo:simple-page-master master-name="body-first-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.inner}"
+                             margin-right="{$page.margin.outer}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.body}"
+                        column-count="{$column.count.body}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-first"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-first"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <fo:simple-page-master master-name="body-odd-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.inner}"
+                             margin-right="{$page.margin.outer}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.body}"
+                        column-count="{$column.count.body}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-odd"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-odd"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <fo:simple-page-master master-name="body-even-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.outer}"
+                             margin-right="{$page.margin.inner}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.body}"
+                        column-count="{$column.count.body}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-even"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-even"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <!-- draft backmatter pages -->
+      <fo:simple-page-master master-name="back-first-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.inner}"
+                             margin-right="{$page.margin.outer}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.back}"
+                        column-count="{$column.count.back}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-first"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-first"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <fo:simple-page-master master-name="back-odd-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.inner}"
+                             margin-right="{$page.margin.outer}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.back}"
+                        column-count="{$column.count.back}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-odd"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-odd"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <fo:simple-page-master master-name="back-even-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$margin.left.outer}"
+                             margin-right="{$page.margin.inner}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.back}"
+                        column-count="{$column.count.back}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-even"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-even"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <!-- draft index pages -->
+      <fo:simple-page-master master-name="index-first-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$page.margin.inner}"
+                             margin-right="{$page.margin.outer}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.index}"
+                        column-count="{$column.count.index}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-first"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-first"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <fo:simple-page-master master-name="index-odd-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-left="{$page.margin.inner}"
+                             margin-right="{$page.margin.outer}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.index}"
+                        column-count="{$column.count.index}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-odd"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-odd"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+
+      <fo:simple-page-master master-name="index-even-draft"
+                             page-width="{$page.width}"
+                             page-height="{$page.height}"
+                             margin-top="{$page.margin.top}"
+                             margin-bottom="{$page.margin.bottom}"
+                             margin-right="{$page.margin.inner}"
+                             margin-left="{$page.margin.outer}">
+        <xsl:if test="$axf.extensions != 0">
+          <xsl:call-template name="axf-page-master-properties">
+            <xsl:with-param name="page.master">blank</xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+        <fo:region-body margin-bottom="{$body.margin.bottom}"
+                        margin-top="{$body.margin.top}"
+                        column-gap="{$column.gap.index}"
+                        column-count="{$column.count.index}">
+          <xsl:if test="$draft.watermark.image != ''">
+            <xsl:attribute name="background-image">
+              <xsl:call-template name="fo-external-image">
+                <xsl:with-param name="filename" select="$draft.watermark.image"/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:attribute name="background-attachment">fixed</xsl:attribute>
+            <xsl:attribute name="background-repeat">no-repeat</xsl:attribute>
+            <xsl:attribute name="background-position-horizontal">center</xsl:attribute>
+            <xsl:attribute name="background-position-vertical">center</xsl:attribute>
+          </xsl:if>
+        </fo:region-body>
+        <fo:region-before region-name="xsl-region-before-even"
+                          extent="{$region.before.extent}"
+                          display-align="before"/>
+        <fo:region-after region-name="xsl-region-after-even"
+                         extent="{$region.after.extent}"
+                         display-align="after"/>
+      </fo:simple-page-master>
+    </xsl:if>
+
+    <!-- setup for title page(s) -->
+    <fo:page-sequence-master master-name="titlepage">
+      <fo:repeatable-page-master-alternatives>
+        <fo:conditional-page-master-reference master-reference="blank"
+                                              blank-or-not-blank="blank"/>
+        <fo:conditional-page-master-reference master-reference="titlepage-first"
+                                              page-position="first"/>
+        <fo:conditional-page-master-reference master-reference="titlepage-odd"
+                                              odd-or-even="odd"/>
+        <fo:conditional-page-master-reference 
+                                              odd-or-even="even">
+          <xsl:attribute name="master-reference">
+            <xsl:choose>
+              <xsl:when test="$double.sided != 0">titlepage-even</xsl:when>
+              <xsl:otherwise>titlepage-odd</xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+        </fo:conditional-page-master-reference>
+      </fo:repeatable-page-master-alternatives>
+    </fo:page-sequence-master>
+
+    <!-- setup for lots -->
+    <fo:page-sequence-master master-name="lot">
+      <fo:repeatable-page-master-alternatives>
+        <fo:conditional-page-master-reference master-reference="blank"
+                                              blank-or-not-blank="blank"/>
+        <fo:conditional-page-master-reference master-reference="lot-first"
+                                              page-position="first"/>
+        <fo:conditional-page-master-reference master-reference="lot-odd"
+                                              odd-or-even="odd"/>
+        <fo:conditional-page-master-reference 
+                                              odd-or-even="even">
+          <xsl:attribute name="master-reference">
+            <xsl:choose>
+              <xsl:when test="$double.sided != 0">lot-even</xsl:when>
+              <xsl:otherwise>lot-odd</xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+        </fo:conditional-page-master-reference>
+      </fo:repeatable-page-master-alternatives>
+    </fo:page-sequence-master>
+
+    <!-- setup front matter -->
+    <fo:page-sequence-master master-name="front">
+      <fo:repeatable-page-master-alternatives>
+        <fo:conditional-page-master-reference master-reference="blank"
+                                              blank-or-not-blank="blank"/>
+        <fo:conditional-page-master-reference master-reference="front-first"
+                                              page-position="first"/>
+        <fo:conditional-page-master-reference master-reference="front-odd"
+                                              odd-or-even="odd"/>
+        <fo:conditional-page-master-reference 
+                                              odd-or-even="even">
+          <xsl:attribute name="master-reference">
+            <xsl:choose>
+              <xsl:when test="$double.sided != 0">front-even</xsl:when>
+              <xsl:otherwise>front-odd</xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+        </fo:conditional-page-master-reference>
+      </fo:repeatable-page-master-alternatives>
+    </fo:page-sequence-master>
+
+    <!-- setup for body pages -->
+    <fo:page-sequence-master master-name="body">
+      <fo:repeatable-page-master-alternatives>
+        <fo:conditional-page-master-reference master-reference="blank"
+                                              blank-or-not-blank="blank"/>
+        <fo:conditional-page-master-reference master-reference="body-first"
+                                              page-position="first"/>
+        <fo:conditional-page-master-reference master-reference="body-odd"
+                                              odd-or-even="odd"/>
+        <fo:conditional-page-master-reference 
+                                              odd-or-even="even">
+          <xsl:attribute name="master-reference">
+            <xsl:choose>
+              <xsl:when test="$double.sided != 0">body-even</xsl:when>
+              <xsl:otherwise>body-odd</xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+        </fo:conditional-page-master-reference>
+      </fo:repeatable-page-master-alternatives>
+    </fo:page-sequence-master>
+
+    <!-- setup back matter -->
+    <fo:page-sequence-master master-name="back">
+      <fo:repeatable-page-master-alternatives>
+        <fo:conditional-page-master-reference master-reference="blank"
+                                              blank-or-not-blank="blank"/>
+        <fo:conditional-page-master-reference master-reference="back-first"
+                                              page-position="first"/>
+        <fo:conditional-page-master-reference master-reference="back-odd"
+                                              odd-or-even="odd"/>
+        <fo:conditional-page-master-reference 
+                                              odd-or-even="even">
+          <xsl:attribute name="master-reference">
+            <xsl:choose>
+              <xsl:when test="$double.sided != 0">back-even</xsl:when>
+              <xsl:otherwise>back-odd</xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+        </fo:conditional-page-master-reference>
+      </fo:repeatable-page-master-alternatives>
+    </fo:page-sequence-master>
+
+    <!-- setup back matter -->
+    <fo:page-sequence-master master-name="index">
+      <fo:repeatable-page-master-alternatives>
+        <fo:conditional-page-master-reference master-reference="blank"
+                                              blank-or-not-blank="blank"/>
+        <fo:conditional-page-master-reference master-reference="index-first"
+                                              page-position="first"/>
+        <fo:conditional-page-master-reference master-reference="index-odd"
+                                              odd-or-even="odd"/>
+        <fo:conditional-page-master-reference 
+                                              odd-or-even="even">
+          <xsl:attribute name="master-reference">
+            <xsl:choose>
+              <xsl:when test="$double.sided != 0">index-even</xsl:when>
+              <xsl:otherwise>index-odd</xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+        </fo:conditional-page-master-reference>
+      </fo:repeatable-page-master-alternatives>
+    </fo:page-sequence-master>
+
+    <xsl:if test="$draft.mode != 'no'">
+      <!-- setup for draft title page(s) -->
+      <fo:page-sequence-master master-name="titlepage-draft">
+        <fo:repeatable-page-master-alternatives>
+          <fo:conditional-page-master-reference master-reference="blank-draft"
+                                                blank-or-not-blank="blank"/>
+          <fo:conditional-page-master-reference master-reference="titlepage-first-draft"
+                                                page-position="first"/>
+          <fo:conditional-page-master-reference master-reference="titlepage-odd-draft"
+                                                odd-or-even="odd"/>
+          <fo:conditional-page-master-reference 
+                                                odd-or-even="even">
+            <xsl:attribute name="master-reference">
+              <xsl:choose>
+                <xsl:when test="$double.sided != 0">titlepage-even-draft</xsl:when>
+                <xsl:otherwise>titlepage-odd-draft</xsl:otherwise>
+              </xsl:choose>
+            </xsl:attribute>
+          </fo:conditional-page-master-reference>
+        </fo:repeatable-page-master-alternatives>
+      </fo:page-sequence-master>
+
+      <!-- setup for draft lots -->
+      <fo:page-sequence-master master-name="lot-draft">
+        <fo:repeatable-page-master-alternatives>
+          <fo:conditional-page-master-reference master-reference="blank-draft"
+                                                blank-or-not-blank="blank"/>
+          <fo:conditional-page-master-reference master-reference="lot-first-draft"
+                                                page-position="first"/>
+          <fo:conditional-page-master-reference master-reference="lot-odd-draft"
+                                                odd-or-even="odd"/>
+          <fo:conditional-page-master-reference 
+                                                odd-or-even="even">
+            <xsl:attribute name="master-reference">
+              <xsl:choose>
+                <xsl:when test="$double.sided != 0">lot-even-draft</xsl:when>
+                <xsl:otherwise>lot-odd-draft</xsl:otherwise>
+              </xsl:choose>
+            </xsl:attribute>
+          </fo:conditional-page-master-reference>
+        </fo:repeatable-page-master-alternatives>
+      </fo:page-sequence-master>
+
+      <!-- setup draft front matter -->
+      <fo:page-sequence-master master-name="front-draft">
+        <fo:repeatable-page-master-alternatives>
+          <fo:conditional-page-master-reference master-reference="blank-draft"
+                                                blank-or-not-blank="blank"/>
+          <fo:conditional-page-master-reference master-reference="front-first-draft"
+                                                page-position="first"/>
+          <fo:conditional-page-master-reference master-reference="front-odd-draft"
+                                                odd-or-even="odd"/>
+          <fo:conditional-page-master-reference 
+                                                odd-or-even="even">
+            <xsl:attribute name="master-reference">
+              <xsl:choose>
+                <xsl:when test="$double.sided != 0">front-even-draft</xsl:when>
+                <xsl:otherwise>front-odd-draft</xsl:otherwise>
+              </xsl:choose>
+            </xsl:attribute>
+          </fo:conditional-page-master-reference>
+        </fo:repeatable-page-master-alternatives>
+      </fo:page-sequence-master>
+
+      <!-- setup for draft body pages -->
+      <fo:page-sequence-master master-name="body-draft">
+        <fo:repeatable-page-master-alternatives>
+          <fo:conditional-page-master-reference master-reference="blank-draft"
+                                                blank-or-not-blank="blank"/>
+          <fo:conditional-page-master-reference master-reference="body-first-draft"
+                                                page-position="first"/>
+          <fo:conditional-page-master-reference master-reference="body-odd-draft"
+                                                odd-or-even="odd"/>
+          <fo:conditional-page-master-reference 
+                                                odd-or-even="even">
+            <xsl:attribute name="master-reference">
+              <xsl:choose>
+                <xsl:when test="$double.sided != 0">body-even-draft</xsl:when>
+                <xsl:otherwise>body-odd-draft</xsl:otherwise>
+              </xsl:choose>
+            </xsl:attribute>
+          </fo:conditional-page-master-reference>
+        </fo:repeatable-page-master-alternatives>
+      </fo:page-sequence-master>
+
+      <!-- setup draft back matter -->
+      <fo:page-sequence-master master-name="back-draft">
+        <fo:repeatable-page-master-alternatives>
+          <fo:conditional-page-master-reference master-reference="blank-draft"
+                                                blank-or-not-blank="blank"/>
+          <fo:conditional-page-master-reference master-reference="back-first-draft"
+                                                page-position="first"/>
+          <fo:conditional-page-master-reference master-reference="back-odd-draft"
+                                                odd-or-even="odd"/>
+          <fo:conditional-page-master-reference 
+                                                odd-or-even="even">
+            <xsl:attribute name="master-reference">
+              <xsl:choose>
+                <xsl:when test="$double.sided != 0">back-even-draft</xsl:when>
+                <xsl:otherwise>back-odd-draft</xsl:otherwise>
+              </xsl:choose>
+            </xsl:attribute>
+          </fo:conditional-page-master-reference>
+        </fo:repeatable-page-master-alternatives>
+      </fo:page-sequence-master>
+
+      <!-- setup draft index pages -->
+      <fo:page-sequence-master master-name="index-draft">
+        <fo:repeatable-page-master-alternatives>
+          <fo:conditional-page-master-reference master-reference="blank-draft"
+                                                blank-or-not-blank="blank"/>
+          <fo:conditional-page-master-reference master-reference="index-first-draft"
+                                                page-position="first"/>
+          <fo:conditional-page-master-reference master-reference="index-odd-draft"
+                                                odd-or-even="odd"/>
+          <fo:conditional-page-master-reference 
+                                                odd-or-even="even">
+            <xsl:attribute name="master-reference">
+              <xsl:choose>
+                <xsl:when test="$double.sided != 0">index-even-draft</xsl:when>
+                <xsl:otherwise>index-odd-draft</xsl:otherwise>
+              </xsl:choose>
+            </xsl:attribute>
+          </fo:conditional-page-master-reference>
+        </fo:repeatable-page-master-alternatives>
+      </fo:page-sequence-master>
+    </xsl:if>
+
+    <xsl:call-template name="user.pagemasters"/>
+
+    </fo:layout-master-set>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="user.pagemasters"/> <!-- intentionally empty -->
+
+<!-- ==================================================================== -->
+
+<xsl:template name="select.pagemaster">
+  <xsl:param name="element" select="local-name(.)"/>
+  <xsl:param name="pageclass" select="''"/>
+
+  <xsl:variable name="pagemaster">
+    <xsl:choose>
+      <xsl:when test="$pageclass != ''">
+        <xsl:value-of select="$pageclass"/>
+      </xsl:when>
+      <xsl:when test="$pageclass = 'lot'">lot</xsl:when>
+      <xsl:when test="$element = 'dedication'">front</xsl:when>
+      <xsl:when test="$element = 'preface'">front</xsl:when>
+      <xsl:when test="$element = 'appendix'">back</xsl:when>
+      <xsl:when test="$element = 'glossary'">back</xsl:when>
+      <xsl:when test="$element = 'bibliography'">back</xsl:when>
+      <xsl:when test="$element = 'index'">index</xsl:when>
+      <xsl:when test="$element = 'colophon'">back</xsl:when>
+      <xsl:otherwise>body</xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:choose>
+      <xsl:when test="$draft.mode = 'yes'">
+        <xsl:text>-draft</xsl:text>
+      </xsl:when>
+      <xsl:when test="$draft.mode = 'no'">
+        <!-- nop -->
+      </xsl:when>
+      <xsl:when test="ancestor-or-self::*[@status][1]/@status = 'draft'">
+        <xsl:text>-draft</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- nop -->
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="select.user.pagemaster">
+    <xsl:with-param name="element" select="$element"/>
+    <xsl:with-param name="pageclass" select="$pageclass"/>
+    <xsl:with-param name="default-pagemaster" select="$pagemaster"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="select.user.pagemaster">
+  <xsl:param name="element"/>
+  <xsl:param name="pageclass"/>
+  <xsl:param name="default-pagemaster"/>
+
+  <!-- by default, return the default. But if you've created your own
+       pagemasters in user.pagemasters, you might want to select one here. -->
+  <xsl:value-of select="$default-pagemaster"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="head.sep.rule">
+  <xsl:param name="pageclass"/>
+  <xsl:param name="sequence"/>
+  <xsl:param name="gentext-key"/>
+
+  <xsl:if test="$header.rule != 0">
+    <xsl:attribute name="border-bottom-width">0.5pt</xsl:attribute>
+    <xsl:attribute name="border-bottom-style">solid</xsl:attribute>
+    <xsl:attribute name="border-bottom-color">black</xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="foot.sep.rule">
+  <xsl:param name="pageclass"/>
+  <xsl:param name="sequence"/>
+  <xsl:param name="gentext-key"/>
+
+  <xsl:if test="$footer.rule != 0">
+    <xsl:attribute name="border-top-width">0.5pt</xsl:attribute>
+    <xsl:attribute name="border-top-style">solid</xsl:attribute>
+    <xsl:attribute name="border-top-color">black</xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="running.head.mode">
+  <xsl:param name="master-reference" select="'unknown'"/>
+  <xsl:param name="gentext-key" select="local-name(.)"/>
+
+  <!-- remove -draft from reference -->
+  <xsl:variable name="pageclass">
+    <xsl:choose>
+      <xsl:when test="contains($master-reference, '-draft')">
+        <xsl:value-of select="substring-before($master-reference, '-draft')"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$master-reference"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <fo:static-content flow-name="xsl-region-before-first">
+    <fo:block xsl:use-attribute-sets="header.content.properties">
+      <xsl:call-template name="header.table">
+        <xsl:with-param name="pageclass" select="$pageclass"/>
+        <xsl:with-param name="sequence" select="'first'"/>
+        <xsl:with-param name="gentext-key" select="$gentext-key"/>
+      </xsl:call-template>
+    </fo:block>
+  </fo:static-content>
+
+  <fo:static-content flow-name="xsl-region-before-odd">
+    <fo:block xsl:use-attribute-sets="header.content.properties">
+      <xsl:call-template name="header.table">
+        <xsl:with-param name="pageclass" select="$pageclass"/>
+        <xsl:with-param name="sequence" select="'odd'"/>
+        <xsl:with-param name="gentext-key" select="$gentext-key"/>
+      </xsl:call-template>
+    </fo:block>
+  </fo:static-content>
+
+  <fo:static-content flow-name="xsl-region-before-even">
+    <fo:block xsl:use-attribute-sets="header.content.properties">
+      <xsl:call-template name="header.table">
+        <xsl:with-param name="pageclass" select="$pageclass"/>
+        <xsl:with-param name="sequence" select="'even'"/>
+        <xsl:with-param name="gentext-key" select="$gentext-key"/>
+      </xsl:call-template>
+    </fo:block>
+  </fo:static-content>
+
+  <fo:static-content flow-name="xsl-region-before-blank">
+    <fo:block xsl:use-attribute-sets="header.content.properties">
+      <xsl:call-template name="header.table">
+        <xsl:with-param name="pageclass" select="$pageclass"/>
+        <xsl:with-param name="sequence" select="'blank'"/>
+        <xsl:with-param name="gentext-key" select="$gentext-key"/>
+      </xsl:call-template>
+    </fo:block>
+  </fo:static-content>
+
+  <xsl:call-template name="footnote-separator"/>
+
+  <xsl:if test="$fop.extensions = 0 and $fop1.extensions = 0">
+    <xsl:call-template name="blank.page.content"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="footnote-separator">
+  <fo:static-content flow-name="xsl-footnote-separator">
+    <fo:block>
+      <fo:leader xsl:use-attribute-sets="footnote.sep.leader.properties"/>
+    </fo:block>
+  </fo:static-content>
+</xsl:template>
+
+<xsl:template name="blank.page.content">
+  <fo:static-content flow-name="blank-body">
+    <fo:block text-align="center"/>
+  </fo:static-content>
+</xsl:template>
+
+<xsl:template name="header.table">
+  <xsl:param name="pageclass" select="''"/>
+  <xsl:param name="sequence" select="''"/>
+  <xsl:param name="gentext-key" select="''"/>
+
+  <!-- default is a single table style for all headers -->
+  <!-- Customize it for different page classes or sequence location -->
+
+  <xsl:choose>
+      <xsl:when test="$pageclass = 'index'">
+          <xsl:attribute name="margin-left">0pt</xsl:attribute>
+      </xsl:when>
+  </xsl:choose>
+
+  <xsl:variable name="column1">
+    <xsl:choose>
+      <xsl:when test="$double.sided = 0">1</xsl:when>
+      <xsl:when test="$sequence = 'first' or $sequence = 'odd'">1</xsl:when>
+      <xsl:otherwise>3</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="column3">
+    <xsl:choose>
+      <xsl:when test="$double.sided = 0">3</xsl:when>
+      <xsl:when test="$sequence = 'first' or $sequence = 'odd'">3</xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="candidate">
+    <fo:table table-layout="fixed" width="100%">
+      <xsl:call-template name="head.sep.rule">
+        <xsl:with-param name="pageclass" select="$pageclass"/>
+        <xsl:with-param name="sequence" select="$sequence"/>
+        <xsl:with-param name="gentext-key" select="$gentext-key"/>
+      </xsl:call-template>
+
+      <fo:table-column column-number="1">
+        <xsl:attribute name="column-width">
+          <xsl:text>proportional-column-width(</xsl:text>
+          <xsl:call-template name="header.footer.width">
+            <xsl:with-param name="location">header</xsl:with-param>
+            <xsl:with-param name="position" select="$column1"/>
+          </xsl:call-template>
+          <xsl:text>)</xsl:text>
+        </xsl:attribute>
+      </fo:table-column>
+      <fo:table-column column-number="2">
+        <xsl:attribute name="column-width">
+          <xsl:text>proportional-column-width(</xsl:text>
+          <xsl:call-template name="header.footer.width">
+            <xsl:with-param name="location">header</xsl:with-param>
+            <xsl:with-param name="position" select="2"/>
+          </xsl:call-template>
+          <xsl:text>)</xsl:text>
+        </xsl:attribute>
+      </fo:table-column>
+      <fo:table-column column-number="3">
+        <xsl:attribute name="column-width">
+          <xsl:text>proportional-column-width(</xsl:text>
+          <xsl:call-template name="header.footer.width">
+            <xsl:with-param name="location">header</xsl:with-param>
+            <xsl:with-param name="position" select="$column3"/>
+          </xsl:call-template>
+          <xsl:text>)</xsl:text>
+        </xsl:attribute>
+      </fo:table-column>
+
+      <fo:table-body>
+        <fo:table-row>
+          <xsl:attribute name="block-progression-dimension.minimum">
+            <xsl:value-of select="$header.table.height"/>
+          </xsl:attribute>
+          <fo:table-cell text-align="left"
+                         display-align="before">
+            <xsl:if test="$fop.extensions = 0">
+              <xsl:attribute name="relative-align">baseline</xsl:attribute>
+            </xsl:if>
+            <fo:block>
+              <xsl:call-template name="header.content">
+                <xsl:with-param name="pageclass" select="$pageclass"/>
+                <xsl:with-param name="sequence" select="$sequence"/>
+                <xsl:with-param name="position" select="'left'"/>
+                <xsl:with-param name="gentext-key" select="$gentext-key"/>
+              </xsl:call-template>
+            </fo:block>
+          </fo:table-cell>
+          <fo:table-cell text-align="center"
+                         display-align="before">
+            <xsl:if test="$fop.extensions = 0">
+              <xsl:attribute name="relative-align">baseline</xsl:attribute>
+            </xsl:if>
+            <fo:block>
+              <xsl:call-template name="header.content">
+                <xsl:with-param name="pageclass" select="$pageclass"/>
+                <xsl:with-param name="sequence" select="$sequence"/>
+                <xsl:with-param name="position" select="'center'"/>
+                <xsl:with-param name="gentext-key" select="$gentext-key"/>
+              </xsl:call-template>
+            </fo:block>
+          </fo:table-cell>
+          <fo:table-cell text-align="right"
+                         display-align="before">
+            <xsl:if test="$fop.extensions = 0">
+              <xsl:attribute name="relative-align">baseline</xsl:attribute>
+            </xsl:if>
+            <fo:block>
+              <xsl:call-template name="header.content">
+                <xsl:with-param name="pageclass" select="$pageclass"/>
+                <xsl:with-param name="sequence" select="$sequence"/>
+                <xsl:with-param name="position" select="'right'"/>
+                <xsl:with-param name="gentext-key" select="$gentext-key"/>
+              </xsl:call-template>
+            </fo:block>
+          </fo:table-cell>
+        </fo:table-row>
+      </fo:table-body>
+    </fo:table>
+  </xsl:variable>
+
+  <!-- Really output a header? -->
+  <xsl:choose>
+    <xsl:when test="$pageclass = 'titlepage' and $gentext-key = 'book'
+                    and $sequence='first'">
+      <!-- no, book titlepages have no headers at all -->
+    </xsl:when>
+    <xsl:when test="$sequence = 'blank' and $headers.on.blank.pages = 0">
+      <!-- no output -->
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$candidate"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="header.content">
+  <xsl:param name="pageclass" select="''"/>
+  <xsl:param name="sequence" select="''"/>
+  <xsl:param name="position" select="''"/>
+  <xsl:param name="gentext-key" select="''"/>
+
+<!--
+  <fo:block>
+    <xsl:value-of select="$pageclass"/>
+    <xsl:text>, </xsl:text>
+    <xsl:value-of select="$sequence"/>
+    <xsl:text>, </xsl:text>
+    <xsl:value-of select="$position"/>
+    <xsl:text>, </xsl:text>
+    <xsl:value-of select="$gentext-key"/>
+  </fo:block>
+-->
+
+  <fo:block>
+
+    <!-- sequence can be odd, even, first, blank -->
+    <!-- position can be left, center, right -->
+    <xsl:choose>
+      <xsl:when test="$sequence = 'blank'">
+        <!-- nothing -->
+      </xsl:when>
+
+      <xsl:when test="$position='left'">
+        <!-- Same for odd, even, empty, and blank sequences -->
+        <xsl:call-template name="draft.text"/>
+      </xsl:when>
+
+      <xsl:when test="($sequence='odd' or $sequence='even') and $position='center'">
+        <xsl:if test="$pageclass != 'titlepage'">
+          <xsl:choose>
+            <xsl:when test="ancestor::book and ($double.sided != 0)">
+              <fo:retrieve-marker retrieve-class-name="section.head.marker"
+                                  retrieve-position="first-including-carryover"
+                                  retrieve-boundary="page-sequence"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="." mode="titleabbrev.markup"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:if>
+      </xsl:when>
+
+      <xsl:when test="$position='center'">
+        <!-- nothing for empty and blank sequences -->
+      </xsl:when>
+
+      <xsl:when test="$position='right'">
+        <!-- Same for odd, even, empty, and blank sequences -->
+        <xsl:call-template name="draft.text"/>
+      </xsl:when>
+
+      <xsl:when test="$sequence = 'first'">
+        <!-- nothing for first pages -->
+      </xsl:when>
+
+      <xsl:when test="$sequence = 'blank'">
+        <!-- nothing for blank pages -->
+      </xsl:when>
+    </xsl:choose>
+  </fo:block>
+</xsl:template>
+
+<xsl:template name="header.footer.width">
+  <xsl:param name="location" select="'header'"/>
+  <xsl:param name="position" select="1"/>
+
+  <xsl:variable name="width.set">
+    <xsl:choose>
+      <xsl:when test="$location = 'header'">
+        <xsl:value-of select="normalize-space($header.column.widths)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="normalize-space($footer.column.widths)"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+
+  <xsl:variable name="width">
+    <xsl:choose>
+      <xsl:when test="$position = 1">
+        <xsl:value-of select="substring-before($width.set, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$position = 2">
+        <xsl:value-of select="substring-before(substring-after($width.set, ' '), ' ')"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="substring-after(substring-after($width.set, ' '), ' ')"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- Make sure it is a number -->
+  <xsl:choose>
+    <xsl:when test = "$width = number($width)">
+      <xsl:value-of select="$width"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>Error: value in <xsl:value-of select="$location"/>.column.widths at position <xsl:value-of select="$position"/> is not a number.</xsl:message>
+      <xsl:text>1</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="draft.text">
+  <xsl:choose>
+    <xsl:when test="$draft.mode = 'yes'">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'Draft'"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$draft.mode = 'no'">
+      <!-- nop -->
+    </xsl:when>
+    <xsl:when test="ancestor-or-self::*[@status][1]/@status = 'draft'">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'Draft'"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- nop -->
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="running.foot.mode">
+  <xsl:param name="master-reference" select="'unknown'"/>
+  <xsl:param name="gentext-key" select="local-name(.)"/>
+
+  <!-- remove -draft from reference -->
+  <xsl:variable name="pageclass">
+    <xsl:choose>
+      <xsl:when test="contains($master-reference, '-draft')">
+        <xsl:value-of select="substring-before($master-reference, '-draft')"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$master-reference"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <fo:static-content flow-name="xsl-region-after-first">
+    <fo:block xsl:use-attribute-sets="footer.content.properties">
+      <xsl:call-template name="footer.table">
+        <xsl:with-param name="pageclass" select="$pageclass"/>
+        <xsl:with-param name="sequence" select="'first'"/>
+        <xsl:with-param name="gentext-key" select="$gentext-key"/>
+      </xsl:call-template>
+    </fo:block>
+  </fo:static-content>
+
+  <fo:static-content flow-name="xsl-region-after-odd">
+    <fo:block xsl:use-attribute-sets="footer.content.properties">
+      <xsl:call-template name="footer.table">
+        <xsl:with-param name="pageclass" select="$pageclass"/>
+        <xsl:with-param name="sequence" select="'odd'"/>
+        <xsl:with-param name="gentext-key" select="$gentext-key"/>
+      </xsl:call-template>
+    </fo:block>
+  </fo:static-content>
+
+  <fo:static-content flow-name="xsl-region-after-even">
+    <fo:block xsl:use-attribute-sets="footer.content.properties">
+      <xsl:call-template name="footer.table">
+        <xsl:with-param name="pageclass" select="$pageclass"/>
+        <xsl:with-param name="sequence" select="'even'"/>
+        <xsl:with-param name="gentext-key" select="$gentext-key"/>
+      </xsl:call-template>
+    </fo:block>
+  </fo:static-content>
+
+  <fo:static-content flow-name="xsl-region-after-blank">
+    <fo:block xsl:use-attribute-sets="footer.content.properties">
+      <xsl:call-template name="footer.table">
+        <xsl:with-param name="pageclass" select="$pageclass"/>
+        <xsl:with-param name="sequence" select="'blank'"/>
+        <xsl:with-param name="gentext-key" select="$gentext-key"/>
+      </xsl:call-template>
+    </fo:block>
+  </fo:static-content>
+</xsl:template>
+
+<xsl:template name="footer.table">
+  <xsl:param name="pageclass" select="''"/>
+  <xsl:param name="sequence" select="''"/>
+  <xsl:param name="gentext-key" select="''"/>
+
+  <!-- default is a single table style for all footers -->
+  <!-- Customize it for different page classes or sequence location -->
+
+  <xsl:choose>
+      <xsl:when test="$pageclass = 'index'">
+          <xsl:attribute name="margin-left">0pt</xsl:attribute>
+      </xsl:when>
+  </xsl:choose>
+
+  <xsl:variable name="column1">
+    <xsl:choose>
+      <xsl:when test="$double.sided = 0">1</xsl:when>
+      <xsl:when test="$sequence = 'first' or $sequence = 'odd'">1</xsl:when>
+      <xsl:otherwise>3</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="column3">
+    <xsl:choose>
+      <xsl:when test="$double.sided = 0">3</xsl:when>
+      <xsl:when test="$sequence = 'first' or $sequence = 'odd'">3</xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="candidate">
+    <fo:table table-layout="fixed" width="100%">
+      <xsl:call-template name="foot.sep.rule">
+        <xsl:with-param name="pageclass" select="$pageclass"/>
+        <xsl:with-param name="sequence" select="$sequence"/>
+        <xsl:with-param name="gentext-key" select="$gentext-key"/>
+      </xsl:call-template>
+      <fo:table-column column-number="1">
+        <xsl:attribute name="column-width">
+          <xsl:text>proportional-column-width(</xsl:text>
+          <xsl:call-template name="header.footer.width">
+            <xsl:with-param name="location">footer</xsl:with-param>
+            <xsl:with-param name="position" select="$column1"/>
+          </xsl:call-template>
+          <xsl:text>)</xsl:text>
+        </xsl:attribute>
+      </fo:table-column>
+      <fo:table-column column-number="2">
+        <xsl:attribute name="column-width">
+          <xsl:text>proportional-column-width(</xsl:text>
+          <xsl:call-template name="header.footer.width">
+            <xsl:with-param name="location">footer</xsl:with-param>
+            <xsl:with-param name="position" select="2"/>
+          </xsl:call-template>
+          <xsl:text>)</xsl:text>
+        </xsl:attribute>
+      </fo:table-column>
+      <fo:table-column column-number="3">
+        <xsl:attribute name="column-width">
+          <xsl:text>proportional-column-width(</xsl:text>
+          <xsl:call-template name="header.footer.width">
+            <xsl:with-param name="location">footer</xsl:with-param>
+            <xsl:with-param name="position" select="$column3"/>
+          </xsl:call-template>
+          <xsl:text>)</xsl:text>
+        </xsl:attribute>
+      </fo:table-column>
+
+      <fo:table-body>
+        <fo:table-row>
+          <xsl:attribute name="block-progression-dimension.minimum">
+            <xsl:value-of select="$footer.table.height"/>
+          </xsl:attribute>
+          <fo:table-cell text-align="left"
+                         display-align="after">
+            <xsl:if test="$fop.extensions = 0">
+              <xsl:attribute name="relative-align">baseline</xsl:attribute>
+            </xsl:if>
+            <fo:block>
+              <xsl:call-template name="footer.content">
+                <xsl:with-param name="pageclass" select="$pageclass"/>
+                <xsl:with-param name="sequence" select="$sequence"/>
+                <xsl:with-param name="position" select="'left'"/>
+                <xsl:with-param name="gentext-key" select="$gentext-key"/>
+              </xsl:call-template>
+            </fo:block>
+          </fo:table-cell>
+          <fo:table-cell text-align="center"
+                         display-align="after">
+            <xsl:if test="$fop.extensions = 0">
+              <xsl:attribute name="relative-align">baseline</xsl:attribute>
+            </xsl:if>
+            <fo:block>
+              <xsl:call-template name="footer.content">
+                <xsl:with-param name="pageclass" select="$pageclass"/>
+                <xsl:with-param name="sequence" select="$sequence"/>
+                <xsl:with-param name="position" select="'center'"/>
+                <xsl:with-param name="gentext-key" select="$gentext-key"/>
+              </xsl:call-template>
+            </fo:block>
+          </fo:table-cell>
+          <fo:table-cell text-align="right"
+                         display-align="after">
+            <xsl:if test="$fop.extensions = 0">
+              <xsl:attribute name="relative-align">baseline</xsl:attribute>
+            </xsl:if>
+            <fo:block>
+              <xsl:call-template name="footer.content">
+                <xsl:with-param name="pageclass" select="$pageclass"/>
+                <xsl:with-param name="sequence" select="$sequence"/>
+                <xsl:with-param name="position" select="'right'"/>
+                <xsl:with-param name="gentext-key" select="$gentext-key"/>
+              </xsl:call-template>
+            </fo:block>
+          </fo:table-cell>
+        </fo:table-row>
+      </fo:table-body>
+    </fo:table>
+  </xsl:variable>
+
+  <!-- Really output a footer? -->
+  <xsl:choose>
+    <xsl:when test="$pageclass='titlepage' and $gentext-key='book'
+                    and $sequence='first'">
+      <!-- no, book titlepages have no footers at all -->
+    </xsl:when>
+    <xsl:when test="$sequence = 'blank' and $footers.on.blank.pages = 0">
+      <!-- no output -->
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$candidate"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="footer.content">
+  <xsl:param name="pageclass" select="''"/>
+  <xsl:param name="sequence" select="''"/>
+  <xsl:param name="position" select="''"/>
+  <xsl:param name="gentext-key" select="''"/>
+
+<!--
+  <fo:block>
+    <xsl:value-of select="$pageclass"/>
+    <xsl:text>, </xsl:text>
+    <xsl:value-of select="$sequence"/>
+    <xsl:text>, </xsl:text>
+    <xsl:value-of select="$position"/>
+    <xsl:text>, </xsl:text>
+    <xsl:value-of select="$gentext-key"/>
+  </fo:block>
+-->
+
+  <fo:block>
+    <!-- pageclass can be front, body, back -->
+    <!-- sequence can be odd, even, first, blank -->
+    <!-- position can be left, center, right -->
+    <xsl:choose>
+      <xsl:when test="$pageclass = 'titlepage'">
+        <!-- nop; no footer on title pages -->
+      </xsl:when>
+
+      <xsl:when test="$double.sided != 0 and $sequence = 'even'
+                      and $position='left'">
+        <fo:page-number/>
+      </xsl:when>
+
+      <xsl:when test="$double.sided != 0 and ($sequence = 'odd' or $sequence = 'first')
+                      and $position='right'">
+        <fo:page-number/>
+      </xsl:when>
+
+      <xsl:when test="$double.sided = 0 and $position='center'">
+        <fo:page-number/>
+      </xsl:when>
+
+      <xsl:when test="$sequence='blank'">
+        <xsl:choose>
+          <xsl:when test="$double.sided != 0 and $position = 'left'">
+            <fo:page-number/>
+          </xsl:when>
+          <xsl:when test="$double.sided = 0 and $position = 'center'">
+            <fo:page-number/>
+          </xsl:when>
+          <xsl:otherwise>
+            <!-- nop -->
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+
+
+      <xsl:otherwise>
+        <!-- nop -->
+      </xsl:otherwise>
+    </xsl:choose>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="page.number.format">
+  <xsl:param name="element" select="local-name(.)"/>
+  <xsl:param name="master-reference" select="''"/>
+
+  <xsl:choose>
+    <xsl:when test="$element = 'toc' and self::book">i</xsl:when>
+    <xsl:when test="$element = 'preface'">i</xsl:when>
+    <xsl:when test="$element = 'dedication'">i</xsl:when>
+    <xsl:otherwise>1</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="initial.page.number">
+  <xsl:param name="element" select="local-name(.)"/>
+  <xsl:param name="master-reference" select="''"/>
+
+  <!-- Select the first content that the stylesheet places
+       after the TOC -->
+  <xsl:variable name="first.book.content" 
+                select="ancestor::book/*[
+                          not(self::title or
+                              self::subtitle or
+                              self::titleabbrev or
+                              self::bookinfo or
+                              self::info or
+                              self::dedication or
+                              self::preface or
+                              self::toc or
+                              self::lot)][1]"/>
+  <xsl:choose>
+    <!-- double-sided output -->
+    <xsl:when test="$double.sided != 0">
+      <xsl:choose>
+        <xsl:when test="$element = 'toc'">auto-odd</xsl:when>
+        <xsl:when test="$element = 'book'">1</xsl:when>
+        <!-- preface typically continues TOC roman numerals -->
+        <!-- Change page.number.format if not -->
+        <xsl:when test="$element = 'preface'">auto-odd</xsl:when>
+        <xsl:when test="($element = 'dedication' or $element = 'article') 
+                    and not(preceding::chapter
+                            or preceding::preface
+                            or preceding::appendix
+                            or preceding::article
+                            or preceding::dedication
+                            or parent::part
+                            or parent::reference)">1</xsl:when>
+        <xsl:when test="generate-id($first.book.content) =
+                        generate-id(.)">1</xsl:when>
+        <xsl:otherwise>auto-odd</xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <!-- single-sided output -->
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$element = 'toc'">auto</xsl:when>
+        <xsl:when test="$element = 'book'">1</xsl:when>
+        <xsl:when test="$element = 'preface'">auto</xsl:when>
+       <xsl:when test="($element = 'dedication' or $element = 'article') and
+                        not(preceding::chapter
+                            or preceding::preface
+                            or preceding::appendix
+                            or preceding::article
+                            or preceding::dedication
+                            or parent::part
+                            or parent::reference)">1</xsl:when>
+        <xsl:when test="generate-id($first.book.content) =
+                        generate-id(.)">1</xsl:when>
+        <xsl:otherwise>auto</xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="force.page.count">
+  <xsl:param name="element" select="local-name(.)"/>
+  <xsl:param name="master-reference" select="''"/>
+
+  <xsl:choose>
+    <!-- double-sided output -->
+    <xsl:when test="$double.sided != 0">end-on-even</xsl:when>
+    <!-- single-sided output -->
+    <xsl:otherwise>no-force</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="set.flow.properties">
+  <xsl:param name="element" select="local-name(.)"/>
+  <xsl:param name="master-reference" select="''"/>
+
+  <!-- This template is called after each <fo:flow> starts. -->
+  <!-- Customize this template to set attributes on fo:flow -->
+
+  <xsl:choose>
+    <xsl:when test="$fop.extensions != 0 or $passivetex.extensions != 0">
+      <!-- body.start.indent does not work well with these processors -->
+    </xsl:when>
+    <xsl:when test="starts-with($master-reference, 'body') or
+                    starts-with($master-reference, 'lot') or
+                    starts-with($master-reference, 'front') or
+                    $element = 'preface' or
+                    (starts-with($master-reference, 'back') and
+                    $element = 'appendix')">
+      <xsl:attribute name="start-indent">
+        <xsl:value-of select="$body.start.indent"/>
+      </xsl:attribute>
+      <xsl:attribute name="end-indent">
+        <xsl:value-of select="$body.end.indent"/>
+      </xsl:attribute>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/param.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/param.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/param.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,863 @@
+<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" exclude-result-prefixes="src" version="1.0">
+
+<!-- This file is generated from param.xweb; do not edit this file! -->
+
+<!-- ********************************************************************
+     $Id: param.xweb 6544 2007-01-22 12:54:27Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:attribute-set name="abstract.properties">
+  <xsl:attribute name="start-indent">0.0in</xsl:attribute>
+  <xsl:attribute name="end-indent">0.0in</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="abstract.title.properties">
+  <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"/></xsl:attribute>
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
+  <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"/></xsl:attribute>
+  <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"/></xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="text-align">center</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="admon.graphics.extension" select="'.png'"/>
+<xsl:param name="admon.graphics" select="0"/>
+<xsl:param name="admon.graphics.path">images/</xsl:param>
+<xsl:param name="admon.textlabel" select="1"/>
+<xsl:attribute-set name="admonition.properties"/>
+<xsl:attribute-set name="admonition.title.properties">
+  <xsl:attribute name="font-size">14pt</xsl:attribute>
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="graphical.admonition.properties">
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="nongraphical.admonition.properties">
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="margin-left">0.25in</xsl:attribute>
+  <xsl:attribute name="margin-right">0.25in</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="alignment">justify</xsl:param>
+<xsl:param name="appendix.autolabel" select="'A'"/>
+<xsl:param name="arbortext.extensions" select="0"/>
+<xsl:attribute-set name="article.appendix.title.properties" use-attribute-sets="section.title.properties                          section.title.level1.properties">
+  <xsl:attribute name="margin-left">
+    <xsl:value-of select="$title.margin.left"/>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="author.othername.in.middle" select="1"/>
+<xsl:param name="autotoc.label.separator" select="'. '"/>
+<xsl:param name="axf.extensions" select="0"/>
+<xsl:param name="biblioentry.item.separator">. </xsl:param>
+<xsl:attribute-set name="biblioentry.properties" use-attribute-sets="normal.para.spacing">
+  <xsl:attribute name="start-indent">0.5in</xsl:attribute>
+  <xsl:attribute name="text-indent">-0.5in</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="bibliography.collection" select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"/>
+<xsl:param name="bibliography.numbered" select="0"/>
+<xsl:attribute-set name="blockquote.properties">
+<xsl:attribute name="margin-left">0.5in</xsl:attribute>
+<xsl:attribute name="margin-right">0.5in</xsl:attribute>
+<xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
+<xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+<xsl:attribute name="space-after.maximum">2em</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="body.font.family" select="'serif'"/>
+<xsl:param name="body.font.master">10</xsl:param>
+<xsl:param name="body.font.size">
+ <xsl:value-of select="$body.font.master"/><xsl:text>pt</xsl:text>
+</xsl:param>
+<xsl:param name="body.margin.bottom" select="'0.5in'"/>
+<xsl:param name="body.margin.top" select="'0.5in'"/>
+<xsl:param name="body.start.indent">
+  <xsl:choose>
+    <xsl:when test="$fop.extensions != 0">0pt</xsl:when>
+    <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
+    <xsl:otherwise>4pc</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+<xsl:param name="body.end.indent" select="'0pt'"/>
+<xsl:param name="bridgehead.in.toc" select="0"/>
+<xsl:param name="callout.defaultcolumn" select="'60'"/>
+<xsl:param name="callout.graphics.extension" select="'.png'"/>
+<xsl:param name="callout.graphics" select="'1'"/>
+<xsl:param name="callout.graphics.number.limit" select="'15'"/>
+<xsl:param name="callout.graphics.path" select="'images/callouts/'"/>
+<xsl:param name="callout.unicode.font" select="'ZapfDingbats'"/>
+<xsl:param name="callout.unicode" select="0"/>
+<xsl:param name="callout.unicode.number.limit" select="'10'"/>
+<xsl:param name="callout.unicode.start.character" select="10102"/>
+<xsl:param name="callouts.extension" select="'1'"/>
+<xsl:param name="chapter.autolabel" select="1"/>
+<xsl:param name="collect.xref.targets" select="'no'"/>
+<xsl:param name="column.count.back" select="1"/>
+<xsl:param name="column.count.body" select="1"/>
+<xsl:param name="column.count.front" select="1"/>
+<xsl:param name="column.count.index" select="2"/>
+<xsl:param name="column.count.lot" select="1"/>
+<xsl:param name="column.count.titlepage" select="1"/>
+<xsl:param name="column.gap.back" select="'12pt'"/>
+<xsl:param name="column.gap.body" select="'12pt'"/>
+<xsl:param name="column.gap.front" select="'12pt'"/>
+<xsl:param name="column.gap.index" select="'12pt'"/>
+<xsl:param name="column.gap.lot" select="'12pt'"/>
+<xsl:param name="column.gap.titlepage" select="'12pt'"/>
+<xsl:attribute-set name="compact.list.item.spacing">
+  <xsl:attribute name="space-before.optimum">0em</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">0.2em</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="component.label.includes.part.label" select="0"/>
+<xsl:attribute-set name="component.title.properties">
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master, 'pt')"/></xsl:attribute>
+  <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master, 'pt * 0.8')"/></xsl:attribute>
+  <xsl:attribute name="space-before.maximum"><xsl:value-of select="concat($body.font.master, 'pt * 1.2')"/></xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="text-align">
+    <xsl:choose>
+      <xsl:when test="((parent::article | parent::articleinfo | parent::info/parent::article) and not(ancestor::book) and not(self::bibliography))         or (parent::slides | parent::slidesinfo)">center</xsl:when>
+      <xsl:otherwise>left</xsl:otherwise>
+    </xsl:choose>
+  </xsl:attribute>
+  <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="crop.marks" select="0"/>
+<xsl:param name="crop.mark.width" select="'0.5pt'"/>
+<xsl:param name="crop.mark.offset" select="'24pt'"/>
+<xsl:param name="crop.mark.bleed" select="'6pt'"/>
+<xsl:param name="current.docid" select="''"/> 
+<xsl:param name="default.float.class">
+  <xsl:choose>
+    <xsl:when test="contains($stylesheet.result.type,'html')">left</xsl:when>
+    <xsl:otherwise>before</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+<xsl:param name="default.image.width" select="''"/>
+<xsl:param name="default.table.width" select="''"/>
+<xsl:param name="default.units" select="'pt'"/>
+<xsl:param name="dingbat.font.family" select="'serif'"/>
+<xsl:param name="double.sided" select="0"/>
+<xsl:param name="draft.mode" select="'maybe'"/>
+<xsl:param name="draft.watermark.image" select="'http://docbook.sourceforge.net/release/images/draft.png'"/>
+
+<xsl:param xmlns:fo="http://www.w3.org/1999/XSL/Format" name="ebnf.assignment">
+  <fo:inline font-family="{$monospace.font.family}">
+    <xsl:text>::=</xsl:text>
+  </fo:inline>
+</xsl:param>
+
+<xsl:param name="ebnf.statement.terminator"/>
+<xsl:param name="email.delimiters.enabled">1</xsl:param>
+<xsl:attribute-set name="equation.properties" use-attribute-sets="formal.object.properties"/>
+<xsl:attribute-set name="example.properties" use-attribute-sets="formal.object.properties"/>
+<xsl:attribute-set name="figure.properties" use-attribute-sets="formal.object.properties"/>
+<xsl:param name="firstterm.only.link" select="0"/>
+<xsl:attribute-set name="footer.content.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$body.fontset"/>
+  </xsl:attribute>
+  <xsl:attribute name="margin-left">
+    <xsl:value-of select="$title.margin.left"/>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="footer.rule" select="1"/>
+<xsl:param name="footer.column.widths" select="'1 1 1'"/>
+<xsl:param name="footer.table.height" select="'14pt'"/>
+<xsl:param name="footers.on.blank.pages" select="1"/>
+<xsl:param name="footnote.font.size">
+ <xsl:value-of select="$body.font.master * 0.8"/><xsl:text>pt</xsl:text>
+</xsl:param>
+<xsl:param name="footnote.number.format" select="'1'"/>
+<xsl:param name="footnote.number.symbols" select="''"/>
+<xsl:attribute-set name="footnote.mark.properties">
+  <xsl:attribute name="font-size">75%</xsl:attribute>
+  <xsl:attribute name="font-weight">normal</xsl:attribute>
+  <xsl:attribute name="font-style">normal</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="footnote.properties">
+  <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"/></xsl:attribute>
+  <xsl:attribute name="font-size"><xsl:value-of select="$footnote.font.size"/></xsl:attribute>
+  <xsl:attribute name="font-weight">normal</xsl:attribute>
+  <xsl:attribute name="font-style">normal</xsl:attribute>
+  <xsl:attribute name="text-align"><xsl:value-of select="$alignment"/></xsl:attribute>
+  <xsl:attribute name="start-indent">0pt</xsl:attribute>
+  <xsl:attribute name="text-indent">0pt</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="footnote.sep.leader.properties">
+  <xsl:attribute name="color">black</xsl:attribute>
+  <xsl:attribute name="leader-pattern">rule</xsl:attribute>
+  <xsl:attribute name="leader-length">1in</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="fop.extensions" select="0"/>
+<xsl:param name="fop1.extensions" select="0"/>
+<xsl:attribute-set name="formal.object.properties">
+  <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
+  <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="formal.procedures" select="1"/>
+<xsl:param name="formal.title.placement">
+figure before
+example before
+equation before
+table before
+procedure before
+task before
+</xsl:param>
+<xsl:attribute-set name="formal.title.properties" use-attribute-sets="normal.para.spacing">
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.2"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="funcsynopsis.decoration" select="1"/>
+<xsl:param name="funcsynopsis.style">kr</xsl:param>
+<xsl:param name="function.parens">0</xsl:param>
+<xsl:param name="generate.index" select="1"/>
+<xsl:param name="generate.section.toc.level" select="0"/>
+
+<xsl:param name="generate.toc">
+/appendix toc,title
+article/appendix  nop
+/article  toc,title
+book      toc,title,figure,table,example,equation
+/chapter  toc,title
+part      toc,title
+/preface  toc,title
+reference toc,title
+/sect1    toc
+/sect2    toc
+/sect3    toc
+/sect4    toc
+/sect5    toc
+/section  toc
+set       toc,title
+</xsl:param>
+<xsl:param name="glossary.as.blocks" select="0"/>
+<xsl:param name="glossary.collection" select="''"/>
+<xsl:param name="glossary.sort" select="0"/>
+<xsl:param name="glossentry.show.acronym" select="'no'"/>
+<xsl:param name="glosslist.as.blocks" select="0"/>
+<xsl:param name="glossterm.auto.link" select="0"/>
+<xsl:param name="glossterm.separation" select="'0.25in'"/>
+<xsl:param name="glossterm.width" select="'2in'"/>
+<xsl:param name="graphic.default.extension"/>
+<xsl:attribute-set name="header.content.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$body.fontset"/>
+  </xsl:attribute>
+  <xsl:attribute name="margin-left">
+    <xsl:value-of select="$title.margin.left"/>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="header.rule" select="1"/>
+<xsl:param name="header.column.widths" select="'1 1 1'"/>
+<xsl:param name="header.table.height" select="'14pt'"/>
+<xsl:param name="headers.on.blank.pages" select="1"/>
+<xsl:param name="highlight.default.language" select="''"/>
+<xsl:param name="highlight.source" select="0"/>
+<xsl:param name="hyphenate">true</xsl:param>
+<xsl:param name="hyphenate.verbatim" select="0"/>
+<xsl:param name="hyphenate.verbatim.characters" select="''"/>
+<xsl:param name="ignore.image.scaling" select="0"/>
+<xsl:param name="img.src.path"/>
+<xsl:param name="index.method" select="'basic'"/>
+<xsl:param name="index.on.role" select="0"/>
+<xsl:param name="index.on.type" select="0"/>
+<xsl:attribute-set name="index.page.number.properties">
+</xsl:attribute-set>
+<xsl:attribute-set name="informalequation.properties" use-attribute-sets="informal.object.properties"/>
+<xsl:attribute-set name="informalexample.properties" use-attribute-sets="informal.object.properties"/>
+<xsl:attribute-set name="informalfigure.properties" use-attribute-sets="informal.object.properties"/>
+<xsl:attribute-set name="informal.object.properties">
+  <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="informaltable.properties" use-attribute-sets="informal.object.properties"/>
+<xsl:attribute-set name="index.preferred.page.properties">
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="index.div.title.properties">
+  <xsl:attribute name="margin-left">0pt</xsl:attribute>
+  <xsl:attribute name="font-size">14.4pt</xsl:attribute>
+  <xsl:attribute name="font-family"><xsl:value-of select="$title.fontset"/></xsl:attribute>
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master,'pt')"/></xsl:attribute>
+  <xsl:attribute name="space-before.minimum"><xsl:value-of select="concat($body.font.master,'pt * 0.8')"/></xsl:attribute>
+  <xsl:attribute name="space-before.optimum"><xsl:value-of select="concat($body.font.master,'pt * 1.2')"/></xsl:attribute>
+  <xsl:attribute name="start-indent">0pt</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="index.entry.properties">
+  <xsl:attribute name="start-indent">0pt</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="index.number.separator" select="''"/>
+<xsl:param name="index.range.separator" select="''"/>
+<xsl:param name="index.term.separator" select="''"/>
+<xsl:param name="insert.link.page.number">no</xsl:param>
+<xsl:param name="insert.xref.page.number">no</xsl:param>
+<xsl:attribute-set name="itemizedlist.properties" use-attribute-sets="list.block.properties">
+</xsl:attribute-set>
+<xsl:attribute-set name="itemizedlist.label.properties">
+</xsl:attribute-set>
+<xsl:param name="itemizedlist.label.width" select="'1.0em'"/>
+
+<xsl:param name="keep.relative.image.uris" select="0"/>
+<xsl:param name="l10n.gentext.default.language" select="'en'"/>
+<xsl:param name="l10n.gentext.language" select="''"/>
+<xsl:param name="l10n.gentext.use.xref.language" select="0"/>
+<xsl:param name="l10n.lang.value.rfc.compliant" select="1"/>
+<xsl:param name="label.from.part" select="'0'"/>
+<xsl:param name="line-height" select="'normal'"/>
+<xsl:param name="linenumbering.everyNth" select="'5'"/>
+<xsl:param name="linenumbering.extension" select="'1'"/>
+<xsl:param name="linenumbering.separator" select="' '"/>
+<xsl:param name="linenumbering.width" select="'3'"/>
+<xsl:attribute-set name="list.block.properties">
+  <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute>
+  <xsl:attribute name="provisional-distance-between-starts">1.5em</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="list.block.spacing">
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="list.item.spacing">
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="make.index.markup" select="0"/>
+<xsl:param name="make.single.year.ranges" select="0"/>
+<xsl:param name="make.year.ranges" select="0"/>
+<xsl:attribute-set name="margin.note.properties">
+  <xsl:attribute name="font-size">90%</xsl:attribute>
+  <xsl:attribute name="text-align">start</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="margin.note.title.properties">
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="text-align">start</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="margin.note.float.type" select="'none'"/>
+<xsl:param name="margin.note.width" select="'1in'"/>
+<xsl:param name="marker.section.level" select="2"/>
+<xsl:param name="menuchoice.menu.separator"> → </xsl:param>
+<xsl:param name="menuchoice.separator" select="'+'"/>
+<xsl:param name="monospace.font.family" select="'monospace'"/>
+<xsl:attribute-set name="monospace.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$monospace.font.family"/>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties">
+  <xsl:attribute name="text-align">start</xsl:attribute>
+  <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="nominal.table.width" select="'6in'"/>
+<xsl:attribute-set name="normal.para.spacing">
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="olink.doctitle" select="'no'"/> 
+<xsl:param name="olink.base.uri" select="''"/> 
+<xsl:param name="olink.debug" select="0"/>
+<xsl:attribute-set name="olink.properties">
+  <xsl:attribute name="show-destination">replace</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="olink.lang.fallback.sequence" select="''"/> 
+<xsl:attribute-set name="orderedlist.properties" use-attribute-sets="list.block.properties">
+  <xsl:attribute name="provisional-distance-between-starts">2em</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="orderedlist.label.properties">
+</xsl:attribute-set>
+<xsl:param name="orderedlist.label.width" select="'1.2em'"/>
+<xsl:param name="prefer.internal.olink" select="0"/>
+<xsl:param name="insert.olink.page.number">no</xsl:param>
+<xsl:param name="insert.olink.pdf.frag" select="0"/>
+<xsl:param name="page.height">
+  <xsl:choose>
+    <xsl:when test="$page.orientation = 'portrait'">
+      <xsl:value-of select="$page.height.portrait"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$page.width.portrait"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+<xsl:param name="page.height.portrait">
+  <xsl:choose>
+    <xsl:when test="$paper.type = 'A4landscape'">210mm</xsl:when>
+    <xsl:when test="$paper.type = 'USletter'">11in</xsl:when>
+    <xsl:when test="$paper.type = 'USlandscape'">8.5in</xsl:when>
+    <xsl:when test="$paper.type = '4A0'">2378mm</xsl:when>
+    <xsl:when test="$paper.type = '2A0'">1682mm</xsl:when>
+    <xsl:when test="$paper.type = 'A0'">1189mm</xsl:when>
+    <xsl:when test="$paper.type = 'A1'">841mm</xsl:when>
+    <xsl:when test="$paper.type = 'A2'">594mm</xsl:when>
+    <xsl:when test="$paper.type = 'A3'">420mm</xsl:when>
+    <xsl:when test="$paper.type = 'A4'">297mm</xsl:when>
+    <xsl:when test="$paper.type = 'A5'">210mm</xsl:when>
+    <xsl:when test="$paper.type = 'A6'">148mm</xsl:when>
+    <xsl:when test="$paper.type = 'A7'">105mm</xsl:when>
+    <xsl:when test="$paper.type = 'A8'">74mm</xsl:when>
+    <xsl:when test="$paper.type = 'A9'">52mm</xsl:when>
+    <xsl:when test="$paper.type = 'A10'">37mm</xsl:when>
+    <xsl:when test="$paper.type = 'B0'">1414mm</xsl:when>
+    <xsl:when test="$paper.type = 'B1'">1000mm</xsl:when>
+    <xsl:when test="$paper.type = 'B2'">707mm</xsl:when>
+    <xsl:when test="$paper.type = 'B3'">500mm</xsl:when>
+    <xsl:when test="$paper.type = 'B4'">353mm</xsl:when>
+    <xsl:when test="$paper.type = 'B5'">250mm</xsl:when>
+    <xsl:when test="$paper.type = 'B6'">176mm</xsl:when>
+    <xsl:when test="$paper.type = 'B7'">125mm</xsl:when>
+    <xsl:when test="$paper.type = 'B8'">88mm</xsl:when>
+    <xsl:when test="$paper.type = 'B9'">62mm</xsl:when>
+    <xsl:when test="$paper.type = 'B10'">44mm</xsl:when>
+    <xsl:when test="$paper.type = 'C0'">1297mm</xsl:when>
+    <xsl:when test="$paper.type = 'C1'">917mm</xsl:when>
+    <xsl:when test="$paper.type = 'C2'">648mm</xsl:when>
+    <xsl:when test="$paper.type = 'C3'">458mm</xsl:when>
+    <xsl:when test="$paper.type = 'C4'">324mm</xsl:when>
+    <xsl:when test="$paper.type = 'C5'">229mm</xsl:when>
+    <xsl:when test="$paper.type = 'C6'">162mm</xsl:when>
+    <xsl:when test="$paper.type = 'C7'">114mm</xsl:when>
+    <xsl:when test="$paper.type = 'C8'">81mm</xsl:when>
+    <xsl:when test="$paper.type = 'C9'">57mm</xsl:when>
+    <xsl:when test="$paper.type = 'C10'">40mm</xsl:when>
+    <xsl:otherwise>11in</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+<xsl:param name="page.margin.bottom" select="'0.5in'"/>
+<xsl:param name="page.margin.inner">
+  <xsl:choose>
+    <xsl:when test="$double.sided != 0">1.25in</xsl:when>
+    <xsl:otherwise>1in</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+<xsl:param name="page.margin.outer">
+  <xsl:choose>
+    <xsl:when test="$double.sided != 0">0.75in</xsl:when>
+    <xsl:otherwise>1in</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+<xsl:param name="page.margin.top" select="'0.5in'"/>
+<xsl:param name="page.orientation" select="'portrait'"/>
+<xsl:param name="page.width">
+  <xsl:choose>
+    <xsl:when test="$page.orientation = 'portrait'">
+      <xsl:value-of select="$page.width.portrait"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$page.height.portrait"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+<xsl:param name="page.width.portrait">
+  <xsl:choose>
+    <xsl:when test="$paper.type = 'USletter'">8.5in</xsl:when>
+    <xsl:when test="$paper.type = '4A0'">1682mm</xsl:when>
+    <xsl:when test="$paper.type = '2A0'">1189mm</xsl:when>
+    <xsl:when test="$paper.type = 'A0'">841mm</xsl:when>
+    <xsl:when test="$paper.type = 'A1'">594mm</xsl:when>
+    <xsl:when test="$paper.type = 'A2'">420mm</xsl:when>
+    <xsl:when test="$paper.type = 'A3'">297mm</xsl:when>
+    <xsl:when test="$paper.type = 'A4'">210mm</xsl:when>
+    <xsl:when test="$paper.type = 'A5'">148mm</xsl:when>
+    <xsl:when test="$paper.type = 'A6'">105mm</xsl:when>
+    <xsl:when test="$paper.type = 'A7'">74mm</xsl:when>
+    <xsl:when test="$paper.type = 'A8'">52mm</xsl:when>
+    <xsl:when test="$paper.type = 'A9'">37mm</xsl:when>
+    <xsl:when test="$paper.type = 'A10'">26mm</xsl:when>
+    <xsl:when test="$paper.type = 'B0'">1000mm</xsl:when>
+    <xsl:when test="$paper.type = 'B1'">707mm</xsl:when>
+    <xsl:when test="$paper.type = 'B2'">500mm</xsl:when>
+    <xsl:when test="$paper.type = 'B3'">353mm</xsl:when>
+    <xsl:when test="$paper.type = 'B4'">250mm</xsl:when>
+    <xsl:when test="$paper.type = 'B5'">176mm</xsl:when>
+    <xsl:when test="$paper.type = 'B6'">125mm</xsl:when>
+    <xsl:when test="$paper.type = 'B7'">88mm</xsl:when>
+    <xsl:when test="$paper.type = 'B8'">62mm</xsl:when>
+    <xsl:when test="$paper.type = 'B9'">44mm</xsl:when>
+    <xsl:when test="$paper.type = 'B10'">31mm</xsl:when>
+    <xsl:when test="$paper.type = 'C0'">917mm</xsl:when>
+    <xsl:when test="$paper.type = 'C1'">648mm</xsl:when>
+    <xsl:when test="$paper.type = 'C2'">458mm</xsl:when>
+    <xsl:when test="$paper.type = 'C3'">324mm</xsl:when>
+    <xsl:when test="$paper.type = 'C4'">229mm</xsl:when>
+    <xsl:when test="$paper.type = 'C5'">162mm</xsl:when>
+    <xsl:when test="$paper.type = 'C6'">114mm</xsl:when>
+    <xsl:when test="$paper.type = 'C7'">81mm</xsl:when>
+    <xsl:when test="$paper.type = 'C8'">57mm</xsl:when>
+    <xsl:when test="$paper.type = 'C9'">40mm</xsl:when>
+    <xsl:when test="$paper.type = 'C10'">28mm</xsl:when>
+    <xsl:otherwise>8.5in</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+<xsl:param name="paper.type" select="'USletter'"/>
+<xsl:param name="part.autolabel" select="'I'"/>
+<xsl:param name="passivetex.extensions" select="0"/>
+<xsl:attribute-set name="pgwide.properties">
+  <xsl:attribute name="start-indent">0pt</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="preface.autolabel" select="0"/>
+<xsl:param name="preferred.mediaobject.role"/>
+<xsl:attribute-set name="procedure.properties" use-attribute-sets="formal.object.properties"/>
+<xsl:param name="process.empty.source.toc" select="0"/>
+<xsl:param name="process.source.toc" select="0"/>
+<xsl:param name="profile.arch" select="''"/>
+<xsl:param name="profile.attribute" select="''"/>
+<xsl:param name="profile.condition" select="''"/>
+<xsl:param name="profile.conformance" select="''"/>
+<xsl:param name="profile.lang" select="''"/>
+<xsl:param name="profile.os" select="''"/>
+<xsl:param name="profile.revision" select="''"/>
+<xsl:param name="profile.revisionflag" select="''"/>
+<xsl:param name="profile.role" select="''"/>
+<xsl:param name="profile.security" select="''"/>
+<xsl:param name="profile.separator" select="';'"/>
+<xsl:param name="profile.status" select="''"/>
+<xsl:param name="profile.userlevel" select="''"/>
+<xsl:param name="profile.value" select="''"/>
+<xsl:param name="profile.vendor" select="''"/>
+<xsl:param name="punct.honorific" select="'.'"/>
+<xsl:param name="qanda.defaultlabel">number</xsl:param>
+<xsl:param name="qanda.inherit.numeration" select="1"/>
+<xsl:param name="qandadiv.autolabel" select="1"/>
+<xsl:attribute-set name="qanda.title.level1.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 2.0736"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="qanda.title.level2.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.728"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="qanda.title.level3.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.44"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="qanda.title.level4.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.2"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="qanda.title.level5.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="qanda.title.level6.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="qanda.title.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$title.font.family"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <!-- font size is calculated dynamically by qanda.heading template -->
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="refentry.generate.name" select="1"/>
+<xsl:param name="refentry.generate.title" select="0"/>
+<xsl:param name="refentry.pagebreak" select="1"/>
+<xsl:attribute-set name="refentry.title.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$title.font.family"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-size">18pt</xsl:attribute>
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="space-after">1em</xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">0.6em</xsl:attribute>
+  <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="refentry.xref.manvolnum" select="1"/>
+<xsl:param name="reference.autolabel" select="'I'"/>
+<xsl:param name="refclass.suppress" select="0"/>
+<xsl:param name="region.after.extent" select="'0.4in'"/>
+<xsl:param name="region.before.extent" select="'0.4in'"/>
+<xsl:attribute-set name="revhistory.table.properties">
+</xsl:attribute-set>
+<xsl:attribute-set name="revhistory.table.cell.properties">
+</xsl:attribute-set>
+<xsl:attribute-set name="revhistory.title.properties">
+</xsl:attribute-set>
+<xsl:attribute-set name="root.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$body.fontset"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.size"/>
+  </xsl:attribute>
+  <xsl:attribute name="text-align">
+    <xsl:value-of select="$alignment"/>
+  </xsl:attribute>
+  <xsl:attribute name="line-height">
+    <xsl:value-of select="$line-height"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute>
+  <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="rootid" select="''"/>
+<xsl:param name="runinhead.default.title.end.punct" select="'.'"/>
+<xsl:param name="runinhead.title.end.punct" select="'.!?:'"/>
+<xsl:param name="sans.font.family" select="'sans-serif'"/>
+<xsl:param name="section.autolabel" select="0"/>
+<xsl:param name="section.autolabel.max.depth" select="8"/>
+<xsl:param name="section.label.includes.component.label" select="0"/>
+<xsl:attribute-set name="section.title.level1.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 2.0736"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="section.title.level2.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.728"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="section.title.level3.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.44"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="section.title.level4.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.2"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="section.title.level5.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="section.title.level6.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="section.title.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$title.font.family"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <!-- font size is calculated dynamically by section.heading template -->
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="text-align">left</xsl:attribute>
+  <xsl:attribute name="start-indent"><xsl:value-of select="$title.margin.left"/></xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="section.level1.properties" use-attribute-sets="section.properties">
+</xsl:attribute-set>
+<xsl:attribute-set name="section.level2.properties" use-attribute-sets="section.properties">
+</xsl:attribute-set>
+<xsl:attribute-set name="section.level3.properties" use-attribute-sets="section.properties">
+</xsl:attribute-set>
+<xsl:attribute-set name="section.level4.properties" use-attribute-sets="section.properties">
+</xsl:attribute-set>
+<xsl:attribute-set name="section.level5.properties" use-attribute-sets="section.properties">
+</xsl:attribute-set>
+<xsl:attribute-set name="section.level6.properties" use-attribute-sets="section.properties">
+</xsl:attribute-set>
+<xsl:attribute-set name="section.properties">
+</xsl:attribute-set>
+<xsl:param name="segmentedlist.as.table" select="0"/>
+<xsl:param name="shade.verbatim" select="0"/>
+
+<xsl:attribute-set name="shade.verbatim.style">
+  <xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="show.comments">1</xsl:param>
+<xsl:attribute-set name="sidebar.properties" use-attribute-sets="formal.object.properties">
+  <xsl:attribute name="border-style">solid</xsl:attribute>
+  <xsl:attribute name="border-width">1pt</xsl:attribute>
+  <xsl:attribute name="border-color">black</xsl:attribute>
+  <xsl:attribute name="background-color">#DDDDDD</xsl:attribute>
+  <xsl:attribute name="padding-left">12pt</xsl:attribute>
+  <xsl:attribute name="padding-right">12pt</xsl:attribute>
+  <xsl:attribute name="padding-top">6pt</xsl:attribute>
+  <xsl:attribute name="padding-bottom">6pt</xsl:attribute>
+  <xsl:attribute name="margin-left">0pt</xsl:attribute>
+  <xsl:attribute name="margin-right">0pt</xsl:attribute>
+<!--
+  <xsl:attribute name="margin-top">6pt</xsl:attribute>
+  <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
+-->
+</xsl:attribute-set>
+<xsl:attribute-set name="sidebar.title.properties">
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="text-align">start</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="sidebar.float.type" select="'none'"/>
+<xsl:param name="sidebar.float.width" select="'1in'"/>
+<xsl:param name="simplesect.in.toc" select="0"/>
+<xsl:attribute-set name="subscript.properties">
+  <xsl:attribute name="font-size">75%</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="superscript.properties">
+  <xsl:attribute name="font-size">75%</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="symbol.font.family" select="'Symbol,ZapfDingbats'"/>
+
+<xsl:param name="table.cell.border.color" select="'black'"/>
+<xsl:param name="table.cell.border.style" select="'solid'"/>
+<xsl:param name="table.cell.border.thickness" select="'0.5pt'"/>
+<xsl:attribute-set name="table.cell.padding">
+  <xsl:attribute name="padding-left">2pt</xsl:attribute>
+  <xsl:attribute name="padding-right">2pt</xsl:attribute>
+  <xsl:attribute name="padding-top">2pt</xsl:attribute>
+  <xsl:attribute name="padding-bottom">2pt</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="table.footnote.number.format" select="'a'"/>
+<xsl:param name="table.footnote.number.symbols" select="''"/>
+<xsl:attribute-set name="table.footnote.properties">
+  <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"/></xsl:attribute>
+  <xsl:attribute name="font-size"><xsl:value-of select="$footnote.font.size"/></xsl:attribute>
+  <xsl:attribute name="font-weight">normal</xsl:attribute>
+  <xsl:attribute name="font-style">normal</xsl:attribute>
+  <xsl:attribute name="space-before">2pt</xsl:attribute>
+  <xsl:attribute name="text-align"><xsl:value-of select="$alignment"/></xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:param name="table.frame.border.color" select="'black'"/>
+<xsl:param name="table.frame.border.style" select="'solid'"/>
+<xsl:param name="table.frame.border.thickness" select="'0.5pt'"/>
+<xsl:attribute-set name="table.properties" use-attribute-sets="formal.object.properties"/>
+<xsl:param name="tablecolumns.extension" select="'1'"/>
+<xsl:attribute-set name="table.table.properties">
+  <xsl:attribute name="border-before-width.conditionality">retain</xsl:attribute>
+  <xsl:attribute name="border-collapse">collapse</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="target.database.document" select="''"/>
+<xsl:param name="targets.filename" select="'target.db'"/>
+<xsl:param name="textdata.default.encoding" select="''"/>
+<xsl:param name="tex.math.delims" select="'1'"/>
+<xsl:param name="tex.math.in.alt" select="''"/>
+<xsl:param name="textinsert.extension" select="'1'"/>
+<xsl:param name="title.font.family" select="'sans-serif'"/>
+<xsl:param name="title.margin.left">
+  <xsl:choose>
+    <xsl:when test="$fop.extensions != 0">-4pc</xsl:when>
+    <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
+    <xsl:otherwise>0pt</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+<xsl:param name="toc.indent.width" select="24"/>
+<xsl:attribute-set name="toc.line.properties">
+  <xsl:attribute name="text-align-last">justify</xsl:attribute>
+  <xsl:attribute name="text-align">start</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set name="toc.margin.properties">
+  <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="toc.max.depth">8</xsl:param>
+<xsl:param name="toc.section.depth">2</xsl:param>
+<xsl:param name="ulink.footnotes" select="0"/>
+<xsl:param name="ulink.hyphenate" select="''"/>
+<xsl:param name="ulink.hyphenate.chars" select="'/'"/>
+<xsl:param name="ulink.show" select="1"/>
+<xsl:param name="use.extensions" select="'0'"/>
+<xsl:param name="use.local.olink.style" select="0"/> 
+<xsl:param name="use.role.as.xrefstyle" select="1"/>
+<xsl:param name="use.role.for.mediaobject" select="1"/>
+<xsl:param name="use.svg" select="1"/>
+<xsl:param name="variablelist.as.blocks" select="0"/>
+<xsl:param name="variablelist.max.termlength">24</xsl:param>
+<xsl:param name="variablelist.term.separator">, </xsl:param>
+<xsl:param name="variablelist.term.break.after">0</xsl:param>
+<xsl:attribute-set name="verbatim.properties">
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
+  <xsl:attribute name="white-space-collapse">false</xsl:attribute>
+  <xsl:attribute name="white-space-treatment">preserve</xsl:attribute>
+  <xsl:attribute name="linefeed-treatment">preserve</xsl:attribute>
+  <xsl:attribute name="text-align">start</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="xep.extensions" select="0"/>
+<xsl:attribute-set name="xep.index.item.properties" use-attribute-sets="index.page.number.properties">
+  <xsl:attribute name="merge-subsequent-page-numbers">true</xsl:attribute>
+  <xsl:attribute name="link-back">true</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="xref.label-page.separator"><xsl:text> </xsl:text></xsl:param>
+<xsl:param name="xref.label-title.separator">: </xsl:param>
+<xsl:attribute-set name="xref.properties">
+</xsl:attribute-set>
+<xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param>
+<xsl:param name="xref.with.number.and.title" select="1"/>
+
+</xsl:stylesheet>
\ No newline at end of file

Added: trunk/docs/docbook/src/main/resources/fo/passivetex.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/passivetex.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/passivetex.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,36 @@
+<?xml version='1.0' encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: passivetex.xsl 5315 2005-10-20 10:08:42Z kosek $
+     ********************************************************************
+      This extension stops PassiveTeX from merging subsequent '-' to 
+      dashes. You must set passivetex.extensions to '1' if you want get
+      this functionality.
+     ******************************************************************** -->
+
+<xsl:template name="passivetex.dash.subst">
+  <xsl:param name="string"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, '--')">
+      <xsl:variable name="rest">
+        <xsl:call-template name="passivetex.dash.subst">
+          <xsl:with-param name="string"
+                          select="concat('-', substring-after($string, '--'))"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:value-of select="concat(substring-before($string, '--'),
+                                   '-&#x200b;',
+                                   $rest)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$string"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/fo/pdf2index
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/pdf2index	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/pdf2index	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,140 @@
+#!/usr/bin/perl -- # -*- Perl -*-
+
+# this needs some cleanup...
+
+my $PSTOTEXT = "pstotext";
+
+my $pdf = shift @ARGV;
+
+my $index = "";
+my $inindex = 0;
+open (F, "$PSTOTEXT $pdf |");
+while (<F>) {
+    if (/^<\/index/) {
+	$index .= $_;
+	$inindex = 0;
+    }
+    $inindex = 1 if /^<index/;
+
+    if ($inindex) {
+	$index .= $_ if /^\s*</;
+    }
+}
+
+my $cindex = "";
+while ($index =~ /^(.*?)((<phrase role=\"pageno\">.*?<\/phrase>\s*)+)/s) {
+    $cindex .= $1;
+    $_ = $2;
+    $index = $'; # '
+
+    my @pages = m/<phrase role=\"pageno\">.*?<\/phrase>\s*/sg;
+
+    # Expand ranges
+    if ($#pages >= 0) {
+	my @mpages = ();
+	foreach my $page (@pages) {
+	    my $pageno = &pageno($page);
+	    if ($pageno =~ /^([0-9]+)[^0-9]([0-9]+)$/) { # funky -
+		for (my $count = $1; $count <= $2; $count++) {
+		    push (@mpages, "<phrase role=\"$pageno\">$count</phrase>");
+		}
+	    } else {
+		push (@mpages, $page);
+	    }
+	}
+	@pages = sort rangesort @mpages;
+    }
+
+    # Remove duplicates...
+    if ($#pages > 0) {
+	my @mpages = ();
+	my $current = "";
+	foreach my $page (@pages) {
+	    my $pageno = &pageno($page);
+	    if ($pageno ne $current) {
+		push (@mpages, $page);
+		$current = $pageno;
+	    }
+	}
+	@pages = @mpages;
+    }
+
+    # Collapse ranges...
+    if ($#pages > 1) {
+	my @cpages = ();
+	while (@pages) {
+	    my $count = 0;
+	    my $len = &rangelen($count, @pages);
+	    if ($len <= 2) {
+		my $page = shift @pages;
+		push (@cpages, $page);
+	    } else {
+		my $fpage = shift @pages;
+		my $lpage = "";
+		while ($len > 1) {
+		    $lpage = shift @pages;
+		    $len--;
+		}
+		my $fpno = &pageno($fpage);
+		my $lpno = &pageno($lpage);
+		$fpage =~ s/>$fpno</>${fpno}-$lpno</s;
+		push (@cpages, $fpage);
+	    }
+	}
+	@pages = @cpages;
+    }
+
+    my $page = shift @pages;
+    $page =~ s/\s*$//s;
+    $cindex .= $page;
+    while (@pages) {
+	$page = shift @pages;
+	$page =~ s/\s*$//s;
+	$cindex .= ", $page";
+    }
+}
+$cindex .= $index;
+
+print "$cindex\n";
+
+sub pageno {
+    my $page = shift;
+
+    $page =~ s/^<phrase.*?>//;
+    $page =~ s/^<link.*?>//;
+
+    return $1 if $page =~ /^([^<>]+)/;
+    return "?";
+}
+
+sub rangesort {
+    my $apno = &pageno($a);
+    my $bpno = &pageno($b);
+
+    # Make sure roman pages come before arabic ones, otherwise sort them in order
+    return -1 if ($apno !~ /^\d+/ && $bpno =~ /^\d+/);
+    return  1 if ($apno =~ /^\d+/ && $bpno !~ /^\d+/);
+    return $apno <=> $bpno;
+}
+
+sub rangelen {
+    my $count = shift;
+    my @pages = @_;
+    my $len = 1;
+    my $inrange = 1;
+
+    my $current = &pageno($pages[$count]);
+    while ($count < $#pages && $inrange) {
+	$count++;
+	my $next = &pageno($pages[$count]);
+	if ($current + 1 eq $next) {
+	    $current = $next;
+	    $inrange = 1;
+	    $len++;
+	} else {
+	    $inrange = 0;
+	}
+    }
+
+    return $len;
+}


Property changes on: trunk/docs/docbook/src/main/resources/fo/pdf2index
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/docs/docbook/src/main/resources/fo/pi.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/pi.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/pi.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,299 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: pi.xsl 4353 2005-03-08 08:36:29Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="processing-instruction()">
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="dbfo-attribute">
+  <xsl:param name="pis" select="processing-instruction('dbfo')"/>
+  <xsl:param name="attribute">filename</xsl:param>
+
+  <xsl:call-template name="pi-attribute">
+    <xsl:with-param name="pis" select="$pis"/>
+    <xsl:with-param name="attribute" select="$attribute"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="dbfo-filename">
+  <xsl:param name="pis" select="./processing-instruction('dbfo')"/>
+  <xsl:call-template name="dbfo-attribute">
+    <xsl:with-param name="pis" select="$pis"/>
+    <xsl:with-param name="attribute">filename</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="dbfo-dir">
+  <xsl:param name="pis" select="./processing-instruction('dbfo')"/>
+  <xsl:call-template name="dbfo-attribute">
+    <xsl:with-param name="pis" select="$pis"/>
+    <xsl:with-param name="attribute">dir</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.cmdsynopsis.list">
+  <xsl:param name="cmdsynopses"/><!-- empty node list by default -->
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="$count>count($cmdsynopses)"></xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="cmdsyn" select="$cmdsynopses[$count]"/>
+
+       <dt>
+       <a>
+         <xsl:attribute name="href">
+           <xsl:call-template name="object.id">
+             <xsl:with-param name="object" select="$cmdsyn"/>
+           </xsl:call-template>
+         </xsl:attribute>
+
+         <xsl:choose>
+           <xsl:when test="$cmdsyn/@xreflabel">
+             <xsl:call-template name="xref.xreflabel">
+               <xsl:with-param name="target" select="$cmdsyn"/>
+             </xsl:call-template>
+           </xsl:when>
+           <xsl:otherwise>
+             <xsl:apply-templates select="$cmdsyn" mode="xref-to">
+               <xsl:with-param name="target" select="$cmdsyn"/>
+             </xsl:apply-templates>
+           </xsl:otherwise>
+         </xsl:choose>
+       </a>
+       </dt>
+
+        <xsl:call-template name="process.cmdsynopsis.list">
+          <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/>
+          <xsl:with-param name="count" select="$count+1"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+</xsl:template>
+
+<xsl:template match="processing-instruction('dbcmdlist')">
+  <xsl:variable name="cmdsynopses" select="..//cmdsynopsis"/>
+
+  <xsl:if test="count($cmdsynopses)&lt;1">
+    <xsl:message><xsl:text>No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep?</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <dl>
+    <xsl:call-template name="process.cmdsynopsis.list">
+      <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/>
+    </xsl:call-template>
+  </dl>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.funcsynopsis.list">
+  <xsl:param name="funcsynopses"/><!-- empty node list by default -->
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="$count>count($funcsynopses)"></xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="cmdsyn" select="$funcsynopses[$count]"/>
+
+       <dt>
+       <a>
+         <xsl:attribute name="href">
+           <xsl:call-template name="object.id">
+             <xsl:with-param name="object" select="$cmdsyn"/>
+           </xsl:call-template>
+         </xsl:attribute>
+
+         <xsl:choose>
+           <xsl:when test="$cmdsyn/@xreflabel">
+             <xsl:call-template name="xref.xreflabel">
+               <xsl:with-param name="target" select="$cmdsyn"/>
+             </xsl:call-template>
+           </xsl:when>
+           <xsl:otherwise>
+              <xsl:apply-templates select="$cmdsyn" mode="xref-to">
+                <xsl:with-param name="target" select="$cmdsyn"/>
+              </xsl:apply-templates>
+           </xsl:otherwise>
+         </xsl:choose>
+       </a>
+       </dt>
+
+        <xsl:call-template name="process.funcsynopsis.list">
+          <xsl:with-param name="funcsynopses" select="$funcsynopses"/>
+          <xsl:with-param name="count" select="$count+1"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+</xsl:template>
+
+<xsl:template match="processing-instruction('dbfunclist')">
+  <xsl:variable name="funcsynopses" select="..//funcsynopsis"/>
+
+  <xsl:if test="count($funcsynopses)&lt;1">
+    <xsl:message><xsl:text>No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep?</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <dl>
+    <xsl:call-template name="process.funcsynopsis.list">
+      <xsl:with-param name="funcsynopses" select="$funcsynopses"/>
+    </xsl:call-template>
+  </dl>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- "need" processing instruction, a kind of soft page break -->
+<!-- A "need" is a request for space on a page.  If the requested space
+     is not available, the page breaks and the content that follows
+     the need request appears on the next page. If the requested
+     space is available, then the request is ignored. -->
+
+<xsl:template match="processing-instruction('dbfo-need')">
+
+  <xsl:variable name="pi-height">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis" select="."/>
+      <xsl:with-param name="attribute" select="'height'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="height">
+    <xsl:choose>
+      <xsl:when test="$pi-height != ''">
+        <xsl:value-of select="$pi-height"/>
+      </xsl:when>
+      <xsl:otherwise>0pt</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="pi-before">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis" select="."/>
+      <xsl:with-param name="attribute" select="'space-before'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="spacer">
+    <fo:block-container width="100%" height="{$height}">
+      <fo:block><fo:leader leader-length="0pt"/></fo:block>
+    </fo:block-container>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$fop.extensions != 0">
+      <!-- Doesn't work in fop -->
+    </xsl:when>
+    <xsl:when test="$pi-before != '' and
+                    not(following-sibling::listitem) and
+                    not(following-sibling::step)">
+      <fo:block space-after="0pt" space-before="{$pi-before}">
+        <xsl:copy-of select="$spacer"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="following-sibling::para">
+      <fo:block space-after="0pt" 
+                xsl:use-attribute-sets="normal.para.spacing">
+        <xsl:copy-of select="$spacer"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="following-sibling::table or
+                    following-sibling::figure or
+                    following-sibling::example or
+                    following-sibling::equation">
+      <fo:block space-after="0pt" 
+                xsl:use-attribute-sets="formal.object.properties">
+        <xsl:copy-of select="$spacer"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="following-sibling::informaltable or
+                    following-sibling::informalfigure or
+                    following-sibling::informalexample or
+                    following-sibling::informalequation">
+      <fo:block space-after="0pt" 
+                xsl:use-attribute-sets="informal.object.properties">
+        <xsl:copy-of select="$spacer"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="following-sibling::itemizedlist or
+                    following-sibling::orderedlist or
+                    following-sibling::variablelist or
+                    following-sibling::simplelist">
+      <fo:block space-after="0pt" 
+                xsl:use-attribute-sets="informal.object.properties">
+        <xsl:copy-of select="$spacer"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:when test="following-sibling::listitem or
+                    following-sibling::step">
+      <fo:list-item space-after="0pt" 
+                xsl:use-attribute-sets="informal.object.properties">
+        <fo:list-item-label/>
+        <fo:list-item-body start-indent="0pt" end-indent="0pt">
+          <xsl:copy-of select="$spacer"/>
+        </fo:list-item-body>
+      </fo:list-item>
+    </xsl:when>
+    <xsl:when test="following-sibling::sect1 or
+                    following-sibling::sect2 or
+                    following-sibling::sect3 or
+                    following-sibling::sect4 or
+                    following-sibling::sect5 or
+                    following-sibling::section">
+      <fo:block space-after="0pt" 
+                xsl:use-attribute-sets="section.title.properties">
+        <xsl:copy-of select="$spacer"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block space-after="0pt" space-before="0em">
+        <xsl:copy-of select="$spacer"/>
+      </fo:block>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="$fop.extensions != 0">
+      <!-- Doesn't work in fop -->
+    </xsl:when>
+    <xsl:when test="following-sibling::listitem or
+                    following-sibling::step">
+      <fo:list-item space-before.precedence="force"
+                space-before="-{$height}"
+                space-after="0pt"
+                space-after.precedence="force">
+        <fo:list-item-label/>
+        <fo:list-item-body start-indent="0pt" end-indent="0pt"/>
+      </fo:list-item>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block space-before.precedence="force"
+                space-before="-{$height}"
+                space-after="0pt"
+                space-after.precedence="force">
+      </fo:block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/profile-docbook.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/profile-docbook.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/profile-docbook.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,274 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by xsl2profile-->
+<!--from the DocBook XSL stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exslt="http://exslt.org/common" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" exclude-result-prefixes="db ng exsl exslt" version="1.0">
+
+<!-- It is important to use indent="no" here, otherwise verbatim -->
+<!-- environments get broken by indented tags...at least when the -->
+<!-- callout extension is used...at least with some processors -->
+<xsl:output method="xml" indent="no"/>
+
+<!-- ********************************************************************
+     $Id: docbook.xsl 6465 2007-01-06 09:02:18Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:include href="../VERSION"/>
+<xsl:include href="param.xsl"/>
+<xsl:include href="../lib/lib.xsl"/>
+<xsl:include href="../common/l10n.xsl"/>
+<xsl:include href="../common/common.xsl"/>
+<xsl:include href="../common/labels.xsl"/>
+<xsl:include href="../common/titles.xsl"/>
+<xsl:include href="../common/subtitles.xsl"/>
+<xsl:include href="../common/gentext.xsl"/>
+<xsl:include href="../common/olink.xsl"/>
+<xsl:include href="../common/targets.xsl"/>
+<xsl:include href="../common/pi.xsl"/>
+<xsl:include href="autotoc.xsl"/>
+<xsl:include href="autoidx.xsl"/>
+<xsl:include href="lists.xsl"/>
+<xsl:include href="callout.xsl"/>
+<xsl:include href="verbatim.xsl"/>
+<xsl:include href="graphics.xsl"/>
+<xsl:include href="xref.xsl"/>
+<xsl:include href="formal.xsl"/>
+<xsl:include href="table.xsl"/>
+<xsl:include href="htmltbl.xsl"/>
+<xsl:include href="sections.xsl"/>
+<xsl:include href="inline.xsl"/>
+<xsl:include href="footnote.xsl"/>
+<xsl:include href="fo.xsl"/>
+<xsl:include href="fo-rtf.xsl"/>
+<xsl:include href="info.xsl"/>
+<xsl:include href="keywords.xsl"/>
+<xsl:include href="division.xsl"/>
+<xsl:include href="index.xsl"/>
+<xsl:include href="toc.xsl"/>
+<xsl:include href="refentry.xsl"/>
+<xsl:include href="math.xsl"/>
+<xsl:include href="admon.xsl"/>
+<xsl:include href="component.xsl"/>
+<xsl:include href="biblio.xsl"/>
+<xsl:include href="glossary.xsl"/>
+<xsl:include href="block.xsl"/>
+<xsl:include href="task.xsl"/>
+<xsl:include href="qandaset.xsl"/>
+<xsl:include href="synop.xsl"/>
+<xsl:include href="titlepage.xsl"/>
+<xsl:include href="titlepage.templates.xsl"/>
+<xsl:include href="pagesetup.xsl"/>
+<xsl:include href="pi.xsl"/>
+<xsl:include href="spaces.xsl"/>
+<xsl:include href="ebnf.xsl"/>
+<xsl:include href="../html/chunker.xsl"/>
+<xsl:include href="annotations.xsl"/>
+<xsl:include href="../common/stripns.xsl"/>
+
+<xsl:include href="fop.xsl"/>
+<xsl:include href="fop1.xsl"/>
+<xsl:include href="passivetex.xsl"/>
+<xsl:include href="xep.xsl"/>
+<xsl:include href="axf.xsl"/>
+<xsl:include href="ptc.xsl"/>
+
+<xsl:param name="stylesheet.result.type" select="'fo'"/>
+
+<!-- ==================================================================== -->
+
+<xsl:key name="id" match="*" use="@id|@xml:id"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*">
+  <xsl:message>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text> encountered</xsl:text>
+    <xsl:if test="parent::*">
+      <xsl:text> in </xsl:text>
+      <xsl:value-of select="name(parent::*)"/>
+    </xsl:if>
+    <xsl:text>, but no template matches.</xsl:text>
+  </xsl:message>
+  <fo:block color="red">
+    <xsl:text>&lt;</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text>&gt;</xsl:text>
+    <xsl:apply-templates/> 
+    <xsl:text>&lt;/</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text>&gt;</xsl:text>
+  </fo:block>
+</xsl:template>
+
+<!-- Update this list if new root elements supported -->
+<xsl:variable name="root.elements" select="' appendix article bibliography book chapter colophon dedication glossary index part preface qandaset refentry reference sect1 section set setindex '"/>
+
+<xslo:include xmlns:xslo="http://www.w3.org/1999/XSL/Transform" href="../profiling/profile-mode.xsl"/><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-content"><xslo:choose><xslo:when test="*/self::ng:* or */self::db:*"><xslo:message>Stripping NS from DocBook 5/NG document.</xslo:message><xslo:variable name="stripped-content"><xslo:apply-templates select="/" mode="stripNS"/></xslo:variable><xslo:message>Processing stripped document.</xslo:message><xslo:apply-templates select="exslt:node-set($stripped-content)" mode="profile"/></xslo:when><xslo:otherwise><xslo:apply-templates select="/" mode="profile"/></xslo:otherwise></xslo:choose></xslo:variable><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-nodes" select="exslt:node-set($profiled-content)"/><xsl:template match="/">
+  <xsl:choose>
+    <!-- include extra test for Xalan quirk -->
+    <xsl:when test="false()"/>
+    <!-- Can't process unless namespace removed -->
+    <xsl:when test="false()"/>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$rootid != ''">
+          <xsl:variable name="root.element" select="key('id', $rootid)"/>
+          <xsl:choose>
+            <xsl:when test="count($root.element) = 0">
+              <xsl:message terminate="yes">
+                <xsl:text>ID '</xsl:text>
+                <xsl:value-of select="$rootid"/>
+                <xsl:text>' not found in document.</xsl:text>
+              </xsl:message>
+            </xsl:when>
+            <xsl:when test="not(contains($root.elements, concat(' ', local-name($root.element), ' ')))">
+              <xsl:message terminate="yes">
+                <xsl:text>ERROR: Document root element ($rootid=</xsl:text>
+                <xsl:value-of select="$rootid"/>
+                <xsl:text>) for FO output </xsl:text>
+                <xsl:text>must be one of the following elements:</xsl:text>
+                <xsl:value-of select="$root.elements"/>
+              </xsl:message>
+            </xsl:when>
+            <!-- Otherwise proceed -->
+            <xsl:otherwise>
+              <xsl:if test="$collect.xref.targets = 'yes' or                             $collect.xref.targets = 'only'">
+                <xsl:apply-templates select="$root.element" mode="collect.targets"/>
+              </xsl:if>
+              <xsl:if test="$collect.xref.targets != 'only'">
+                <xsl:apply-templates select="$root.element" mode="process.root"/>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <!-- Otherwise process the document root element -->
+        <xsl:otherwise>
+          <xsl:variable name="document.element" select="*[1]"/>
+          <xsl:choose>
+            <xsl:when test="not(contains($root.elements,                      concat(' ', local-name($document.element), ' ')))">
+              <xsl:message terminate="yes">
+                <xsl:text>ERROR: Document root element for FO output </xsl:text>
+                <xsl:text>must be one of the following elements:</xsl:text>
+                <xsl:value-of select="$root.elements"/>
+              </xsl:message>
+            </xsl:when>
+            <!-- Otherwise proceed -->
+            <xsl:otherwise>
+              <xsl:if test="$collect.xref.targets = 'yes' or                             $collect.xref.targets = 'only'">
+                <xsl:apply-templates select="$profiled-nodes" mode="collect.targets"/>
+              </xsl:if>
+              <xsl:if test="$collect.xref.targets != 'only'">
+                <xsl:apply-templates select="$profiled-nodes" mode="process.root"/>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="process.root">
+  <xsl:variable name="document.element" select="self::*"/>
+
+  <xsl:call-template name="root.messages"/>
+
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="$document.element/title[1]">
+        <xsl:value-of select="$document.element/title[1]"/>
+      </xsl:when>
+      <xsl:otherwise>[could not find document title]</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  
+  <!-- Include all id values in XEP output -->
+  <xsl:if test="$xep.extensions != 0">
+    <xsl:processing-instruction name="xep-pdf-drop-unused-destinations">false</xsl:processing-instruction>
+  </xsl:if>
+
+  <fo:root xsl:use-attribute-sets="root.properties">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language">
+        <xsl:with-param name="target" select="/*[1]"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:if test="$xep.extensions != 0">
+      <xsl:call-template name="xep-pis"/>
+      <xsl:call-template name="xep-document-information"/>
+    </xsl:if>
+    <xsl:if test="$axf.extensions != 0">
+      <xsl:call-template name="axf-document-information"/>
+    </xsl:if>
+
+    <xsl:call-template name="setup.pagemasters"/>
+
+    <xsl:if test="$fop.extensions != 0">
+      <xsl:apply-templates select="$document.element" mode="fop.outline"/>
+    </xsl:if>
+
+    <xsl:if test="$fop1.extensions != 0">
+      <xsl:variable name="bookmarks">
+        <xsl:apply-templates select="$document.element" mode="fop1.outline"/>
+      </xsl:variable>
+      <xsl:if test="string($bookmarks) != ''">
+        <fo:bookmark-tree>
+          <xsl:copy-of select="$bookmarks"/>
+        </fo:bookmark-tree>
+      </xsl:if>
+    </xsl:if>
+
+    <xsl:if test="$xep.extensions != 0">
+      <xsl:variable name="bookmarks">
+        <xsl:apply-templates select="$document.element" mode="xep.outline"/>
+      </xsl:variable>
+      <xsl:if test="string($bookmarks) != ''">
+        <rx:outline xmlns:rx="http://www.renderx.com/XSL/Extensions">
+          <xsl:copy-of select="$bookmarks"/>
+        </rx:outline>
+      </xsl:if>
+    </xsl:if>
+
+    <xsl:if test="$arbortext.extensions != 0 and $ati.xsl11.bookmarks != 0">
+      <xsl:variable name="bookmarks">
+        <xsl:apply-templates select="$document.element" mode="ati.xsl11.bookmarks"/>
+      </xsl:variable>
+      <xsl:if test="string($bookmarks) != ''">
+        <fo:bookmark-tree>
+          <xsl:copy-of select="$bookmarks"/>
+        </fo:bookmark-tree>
+      </xsl:if>
+    </xsl:if>
+
+    <xsl:apply-templates select="$document.element"/>
+  </fo:root>
+</xsl:template>
+
+<xsl:template name="root.messages">
+  <!-- redefine this any way you'd like to output messages -->
+  <!-- DO NOT OUTPUT ANYTHING FROM THIS TEMPLATE -->
+  <xsl:message>
+    <xsl:text>Making </xsl:text>
+    <xsl:value-of select="$page.orientation"/>
+    <xsl:text> pages on </xsl:text>
+    <xsl:value-of select="$paper.type"/>
+    <xsl:text> paper (</xsl:text>
+    <xsl:value-of select="$page.width"/>
+    <xsl:text>x</xsl:text>
+    <xsl:value-of select="$page.height"/>
+    <xsl:text>)</xsl:text>
+  </xsl:message>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/ptc.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/ptc.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/ptc.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,76 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		xmlns:fo="http://www.w3.org/1999/XSL/Format"
+		version="1.0">
+
+<!-- ================================================================ -->
+<!--                                                                  -->
+<!-- PTC/Arbortext Code for XSL 1.1 bookmark support                  -->
+<!--                                                                  -->
+<!-- ================================================================ -->
+
+<xsl:param name="ati.xsl11.bookmarks" select="1"/>
+
+<xsl:variable name="ati-a-dia" select=
+"'&#257;&#259;&#261;&#263;&#265;&#267;&#269;&#271;&#273;&#275;&#277;&#279;&#281;&#283;&#339;&#285;&#287;&#289;&#291;&#293;&#295;&#297;&#299;&#301;&#303;&#305;&#309;&#311;&#314;&#316;&#318;&#320;&#322;&#324;&#326;&#328;&#331;&#333;&#335;&#337;&#341;&#343;&#345;&#347;&#349;&#351;&#353;&#355;&#357;&#359;&#361;&#363;&#365;&#367;&#369;&#371;&#373;&#375;&#378;&#380;&#382;&#256;&#258;&#260;&#262;&#264;&#266;&#268;&#270;&#272;&#274;&#276;&#278;&#280;&#282;&#338;&#284;&#286;&#288;&#290;&#292;&#294;&#296;&#298;&#300;&#302;&#304;&#308;&#310;&#313;&#315;&#317;&#319;&#321;&#323;&#325;&#327;&#330;&#332;&#334;&#336;&#340;&#342;&#344;&#346;&#348;&#350;&#352;&#354;&#356;&#358;&#360;&#362;&#364;&#366;&#368;&#370;&#372;&#374;&#376;&#377;&#379;&#381;'"/>
+
+<xsl:variable name="ati-a-asc" select=
+"'aaaccccddeeeeeegggghhiiiiijklllllnnnnooorrrsssstttuuuuuuwyzzzAAACCCCDDEEEEEEGGGGHHIIIIIJKLLLLLNNNNOOORRRSSSSTTTUUUUUUWYYZZZ'"/>
+
+<xsl:template match="*" mode="ati.xsl11.bookmarks">
+  <xsl:apply-templates select="*" mode="ati.xsl11.bookmarks"/>
+</xsl:template>
+
+<xsl:template match="set|book|part|reference|preface|chapter|appendix|article
+                     |glossary|bibliography|index|setindex
+                     |refentry
+                     |sect1|sect2|sect3|sect4|sect5|section"
+              mode="ati.xsl11.bookmarks">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="bookmark-label">
+    <xsl:apply-templates select="." mode="object.title.markup"/>
+  </xsl:variable>
+
+  <!-- Put the root element bookmark at the same level as its children -->
+  <!-- If the object is a set or book, generate a bookmark for the toc -->
+
+  <xsl:choose>
+    <xsl:when test="parent::*">
+      <fo:bookmark internal-destination="{$id}">
+        <fo:bookmark-title>
+          <xsl:value-of select="translate($bookmark-label, $ati-a-dia, $ati-a-asc)"/>
+        </fo:bookmark-title>
+        <xsl:apply-templates select="*" mode="ati.xsl11.bookmarks"/>
+      </fo:bookmark>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:bookmark internal-destination="{$id}">
+        <fo:bookmark-title>
+          <xsl:value-of select="translate($bookmark-label, $ati-a-dia, $ati-a-asc)"/>
+        </fo:bookmark-title>
+      </fo:bookmark>
+
+      <xsl:variable name="toc.params">
+        <xsl:call-template name="find.path.params">
+          <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:if test="contains($toc.params, 'toc')
+                    and section|sect1|refentry
+                        |article|bibliography|glossary
+                        |appendix">
+        <fo:bookmark internal-destination="toc...{$id}">
+          <fo:bookmark-title>
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'TableofContents'"/>
+            </xsl:call-template>
+          </fo:bookmark-title>
+        </fo:bookmark>
+      </xsl:if>
+      <xsl:apply-templates select="*" mode="ati.xsl11.bookmarks"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/qandaset.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/qandaset.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/qandaset.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,399 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: qandaset.xsl 6400 2006-11-11 09:33:19Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="qandaset">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="label-width">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'label-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="label-length">
+    <xsl:choose>
+      <xsl:when test="$label-width != ''">
+        <xsl:value-of select="$label-width"/>
+      </xsl:when>
+      <xsl:when test="descendant::label">
+        <xsl:call-template name="longest.term">
+          <xsl:with-param name="terms" select="descendant::label"/>
+          <xsl:with-param name="maxlength" select="20"/>
+        </xsl:call-template>
+        <xsl:text>em * 0.50</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>2.5em</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  
+  <xsl:variable name="toc">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'toc'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="toc.params">
+    <xsl:call-template name="find.path.params">
+      <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="content">
+    <fo:block id="{$id}">
+      <xsl:choose>
+        <xsl:when test="parent::*">
+          <xsl:if test="blockinfo/title|info/title|title">
+            <xsl:apply-templates select="(blockinfo/title|
+                                          info/title|title)[1]"/>
+          </xsl:if>
+        </xsl:when>
+        <!-- If it is the root element -->
+        <xsl:otherwise>
+          <xsl:call-template name="qandaset.titlepage"/>
+        </xsl:otherwise>
+      </xsl:choose>
+  
+      <xsl:if test="(contains($toc.params, 'toc') and $toc != '0') 
+                    or $toc = '1'">
+        <xsl:call-template name="qandaset.toc">
+          <xsl:with-param name="toc.title.p"
+                          select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+      </xsl:if>
+
+      <xsl:call-template name="qandaset.toc.separator"/>
+
+      <xsl:apply-templates select="*[local-name(.) != 'title'
+                                   and local-name(.) != 'titleabbrev'
+                                   and local-name(.) != 'qandadiv'
+                                   and local-name(.) != 'qandaentry']"/>
+      <xsl:apply-templates select="qandadiv"/>
+  
+      <xsl:if test="qandaentry">
+        <fo:list-block xsl:use-attribute-sets="list.block.spacing"
+                       provisional-label-separation="0.2em">
+          <xsl:attribute name="provisional-distance-between-starts">
+            <xsl:choose>
+              <xsl:when test="$label-length != ''">
+                <xsl:value-of select="$label-length"/>
+              </xsl:when>
+              <xsl:otherwise>2.5em</xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+          <xsl:apply-templates select="qandaentry"/>
+        </fo:list-block>
+      </xsl:if>
+    </fo:block>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="parent::*">
+      <xsl:copy-of select="$content"/>
+    </xsl:when>
+    <!-- Otherwise create a page sequence -->
+    <xsl:otherwise>
+      <xsl:apply-templates select="." mode="page.sequence">
+        <xsl:with-param name="content" select="$content"/>
+        <xsl:with-param name="master-reference" select="'body'"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+  
+</xsl:template>
+
+<xsl:template match="qandaset/blockinfo/title|qandset/info/title|qandaset/title">
+  <xsl:variable name="enclsect" select="(ancestor::section
+                                        | ancestor::simplesect
+                                        | ancestor::sect5
+                                        | ancestor::sect4
+                                        | ancestor::sect3
+                                        | ancestor::sect2
+                                        | ancestor::sect1
+                                        | ancestor::refsect3
+                                        | ancestor::refsect2
+                                        | ancestor::refsect1)[last()]"/>
+  <xsl:variable name="sectlvl">
+    <xsl:call-template name="section.level">
+      <xsl:with-param name="node" select="$enclsect"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="qanda.heading">
+    <xsl:with-param name="level" select="$sectlvl + 1"/>
+    <xsl:with-param name="marker" select="0"/>
+    <xsl:with-param name="title">
+      <xsl:apply-templates/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="qandaset/blockinfo|qandaset/info">
+  <!-- what should this template really do? -->
+  <xsl:apply-templates select="legalnotice" mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="qandadiv">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:variable name="label-width">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'label-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="label-length">
+    <xsl:choose>
+      <xsl:when test="$label-width != ''">
+        <xsl:value-of select="$label-width"/>
+      </xsl:when>
+      <xsl:when test="descendant::label">
+        <xsl:call-template name="longest.term">
+          <xsl:with-param name="terms" select="descendant::label"/>
+          <xsl:with-param name="maxlength" select="20"/>
+        </xsl:call-template>
+        <xsl:text>*0.6em</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>2.5em</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <fo:block id="{$id}">
+    <xsl:apply-templates select="(blockinfo/title|info/title|title)[1]"/>
+    <xsl:apply-templates select="*[local-name(.) != 'title'
+                                 and local-name(.) != 'titleabbrev'
+                                 and local-name(.) != 'qandadiv'
+                                 and local-name(.) != 'qandaentry']"/>
+    <fo:block>
+      <xsl:apply-templates select="qandadiv"/>
+
+      <xsl:if test="qandaentry">
+        <fo:list-block xsl:use-attribute-sets="list.block.spacing"
+                       provisional-label-separation="0.2em">
+          <xsl:attribute name="provisional-distance-between-starts">
+            <xsl:choose>
+              <xsl:when test="$label-length != ''">
+                <xsl:value-of select="$label-length"/>
+              </xsl:when>
+              <xsl:otherwise>2.5em</xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+          <xsl:apply-templates select="qandaentry"/>
+        </fo:list-block>
+      </xsl:if>
+    </fo:block>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="qandadiv/blockinfo/title|qandadiv/info/title|qandadiv/title">
+  <xsl:variable name="enclsect" select="(ancestor::section
+                                        | ancestor::simplesect
+                                        | ancestor::sect5
+                                        | ancestor::sect4
+                                        | ancestor::sect3
+                                        | ancestor::sect2
+                                        | ancestor::sect1
+                                        | ancestor::refsect3
+                                        | ancestor::refsect2
+                                        | ancestor::refsect1)[last()]"/>
+  <xsl:variable name="sectlvl">
+    <xsl:call-template name="section.level">
+      <xsl:with-param name="node" select="$enclsect"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="qanda.heading">
+    <xsl:with-param name="level"  select="$sectlvl + 1 + count(ancestor::qandadiv)"/>
+    <xsl:with-param name="marker" select="0"/>
+    <xsl:with-param name="title">
+      <xsl:apply-templates select="parent::qandadiv" mode="label.markup"/>
+      <xsl:if test="$qandadiv.autolabel != 0">
+        <xsl:apply-templates select="." mode="intralabel.punctuation"/>
+        <xsl:text> </xsl:text>
+      </xsl:if>
+      <xsl:apply-templates/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="qandaentry">
+  <!-- Omit revhistory from fo:list-block because it is a table -->
+  <xsl:apply-templates select="question|answer"/>
+</xsl:template>
+
+<xsl:template match="question">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:variable name="entry.id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="parent::*"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="deflabel">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+        <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]
+                              /@defaultlabel"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$qanda.defaultlabel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <fo:list-item id="{$entry.id}" xsl:use-attribute-sets="list.item.spacing">
+    <fo:list-item-label id="{$id}" end-indent="label-end()">
+      <xsl:choose>
+        <xsl:when test="$deflabel = 'none'">
+          <fo:block/>
+        </xsl:when>
+        <xsl:otherwise>
+          <fo:block>
+            <xsl:apply-templates select="." mode="label.markup"/>
+            <xsl:if test="$deflabel = 'number' and not(label)">
+              <xsl:apply-templates select="." mode="intralabel.punctuation"/>
+            </xsl:if>
+          </fo:block>
+        </xsl:otherwise>
+      </xsl:choose>
+    </fo:list-item-label>
+    <fo:list-item-body start-indent="body-start()">
+      <xsl:choose>
+        <xsl:when test="$deflabel = 'none'">
+          <fo:block font-weight="bold">
+            <xsl:apply-templates select="*[local-name(.)!='label']"/>
+          </fo:block>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="*[local-name(.)!='label']"/>
+        </xsl:otherwise>
+      </xsl:choose>
+      <!-- Uncomment this line to get revhistory output in the question -->
+      <!-- <xsl:apply-templates select="preceding-sibling::revhistory"/> -->
+    </fo:list-item-body>
+  </fo:list-item>
+</xsl:template>
+
+<xsl:template match="answer">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+  <xsl:variable name="entry.id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="parent::*"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="deflabel">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+        <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]
+                              /@defaultlabel"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$qanda.defaultlabel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <fo:list-item xsl:use-attribute-sets="list.item.spacing">
+    <fo:list-item-label id="{$id}" end-indent="label-end()">
+      <xsl:choose>
+        <xsl:when test="$deflabel = 'none'">
+          <fo:block/>
+        </xsl:when>
+        <xsl:otherwise>
+          <fo:block>
+            <xsl:variable name="answer.label">
+              <xsl:apply-templates select="." mode="label.markup"/>
+            </xsl:variable>
+            <xsl:copy-of select="$answer.label"/>
+          </fo:block>
+        </xsl:otherwise>
+      </xsl:choose>
+    </fo:list-item-label>
+    <fo:list-item-body start-indent="body-start()">
+      <xsl:apply-templates select="*[local-name(.)!='label']"/>
+    </fo:list-item-body>
+  </fo:list-item>
+</xsl:template>
+
+<xsl:template match="label">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template name="qanda.heading">
+  <xsl:param name="level" select="1"/>
+  <xsl:param name="marker" select="0"/>
+  <xsl:param name="title"/>
+  <xsl:param name="titleabbrev"/>
+
+  <fo:block xsl:use-attribute-sets="qanda.title.properties">
+    <xsl:if test="$marker != 0">
+      <fo:marker marker-class-name="section.head.marker">
+        <xsl:choose>
+          <xsl:when test="$titleabbrev = ''">
+            <xsl:value-of select="$title"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$titleabbrev"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </fo:marker>
+    </xsl:if>
+    <xsl:choose>
+      <xsl:when test="$level=1">
+        <fo:block xsl:use-attribute-sets="qanda.title.level1.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$level=2">
+        <fo:block xsl:use-attribute-sets="qanda.title.level2.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$level=3">
+        <fo:block xsl:use-attribute-sets="qanda.title.level3.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$level=4">
+        <fo:block xsl:use-attribute-sets="qanda.title.level4.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$level=5">
+        <fo:block xsl:use-attribute-sets="qanda.title.level5.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:otherwise>
+        <fo:block xsl:use-attribute-sets="qanda.title.level6.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:otherwise>
+    </xsl:choose>
+  </fo:block>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/refentry.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/refentry.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/refentry.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,627 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: refentry.xsl 6395 2006-11-11 08:46:43Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="reference">
+   <xsl:if test="not(partintro)">
+    <xsl:variable name="id">
+      <xsl:call-template name="object.id"/>
+    </xsl:variable>
+    <xsl:variable name="master-reference">
+      <xsl:call-template name="select.pagemaster"/>
+    </xsl:variable>
+
+    <fo:page-sequence hyphenate="{$hyphenate}"
+                      master-reference="{$master-reference}">
+      <xsl:attribute name="language">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:attribute>
+      <xsl:attribute name="format">
+        <xsl:call-template name="page.number.format">
+          <xsl:with-param name="master-reference" select="$master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="initial-page-number">
+        <xsl:call-template name="initial.page.number">
+          <xsl:with-param name="master-reference" select="$master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="force-page-count">
+        <xsl:call-template name="force.page.count">
+          <xsl:with-param name="master-reference" select="$master-reference"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:attribute name="hyphenation-character">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-character'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-push-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:attribute name="hyphenation-remain-character-count">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+        </xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates select="." mode="running.head.mode">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:apply-templates>
+      <xsl:apply-templates select="." mode="running.foot.mode">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:apply-templates>
+
+      <fo:flow flow-name="xsl-region-body">
+        <xsl:call-template name="set.flow.properties">
+          <xsl:with-param name="element" select="local-name(.)"/>
+          <xsl:with-param name="master-reference" select="$master-reference"/>
+        </xsl:call-template>
+
+        <fo:block id="{$id}">
+          <xsl:call-template name="reference.titlepage"/>
+        </fo:block>
+        <!-- Create one page sequence if no pagebreaks needed -->
+        <xsl:if test="$refentry.pagebreak = 0">
+          <xsl:apply-templates select="refentry"/>
+        </xsl:if>
+      </fo:flow>
+    </fo:page-sequence>
+  </xsl:if>
+  <xsl:apply-templates select="partintro"/>
+  <xsl:if test="$refentry.pagebreak != 0">
+    <xsl:apply-templates select="refentry"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="reference" mode="reference.titlepage.mode">
+  <xsl:call-template name="reference.titlepage"/>
+</xsl:template>
+
+<xsl:template match="reference/partintro">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="ancestor::reference"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+      <fo:block id="{$id}">
+        <xsl:apply-templates select=".." mode="reference.titlepage.mode"/>
+      </fo:block>
+      <xsl:if test="title">
+        <xsl:call-template name="partintro.titlepage"/>
+      </xsl:if>
+      <xsl:apply-templates/>
+      <!-- Create one page sequence if no pagebreaks needed -->
+      <xsl:if test="$refentry.pagebreak = 0">
+        <xsl:apply-templates select="../refentry"/>
+      </xsl:if>
+    </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+<xsl:template match="reference/docinfo|refentry/refentryinfo"></xsl:template>
+<xsl:template match="reference/info"></xsl:template>
+<xsl:template match="reference/title"></xsl:template>
+<xsl:template match="reference/subtitle"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="refentry">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <xsl:variable name="refentry.content">
+    <fo:block id="{$id}">
+      <xsl:apply-templates/>
+    </fo:block>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="not(parent::*) or 
+                    (parent::reference and $refentry.pagebreak != 0) or 
+                    parent::part">
+      <!-- make a page sequence -->
+      <fo:page-sequence hyphenate="{$hyphenate}"
+                        master-reference="{$master-reference}">
+        <xsl:attribute name="language">
+          <xsl:call-template name="l10n.language"/>
+        </xsl:attribute>
+        <xsl:attribute name="format">
+          <xsl:call-template name="page.number.format">
+            <xsl:with-param name="master-reference" select="$master-reference"/>
+          </xsl:call-template>
+        </xsl:attribute>
+
+        <xsl:attribute name="initial-page-number">
+          <xsl:call-template name="initial.page.number">
+            <xsl:with-param name="master-reference" select="$master-reference"/>
+          </xsl:call-template>
+        </xsl:attribute>
+
+        <xsl:attribute name="force-page-count">
+          <xsl:call-template name="force.page.count">
+            <xsl:with-param name="master-reference" select="$master-reference"/>
+          </xsl:call-template>
+        </xsl:attribute>
+
+        <xsl:attribute name="hyphenation-character">
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'hyphenation-character'"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="hyphenation-push-character-count">
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="hyphenation-remain-character-count">
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+          </xsl:call-template>
+        </xsl:attribute>
+
+        <xsl:apply-templates select="." mode="running.head.mode">
+          <xsl:with-param name="master-reference" select="$master-reference"/>
+        </xsl:apply-templates>
+        <xsl:apply-templates select="." mode="running.foot.mode">
+          <xsl:with-param name="master-reference" select="$master-reference"/>
+        </xsl:apply-templates>
+
+        <fo:flow flow-name="xsl-region-body">
+          <xsl:call-template name="set.flow.properties">
+            <xsl:with-param name="element" select="local-name(.)"/>
+            <xsl:with-param name="master-reference" select="$master-reference"/>
+          </xsl:call-template>
+
+          <xsl:copy-of select="$refentry.content"/>
+        </fo:flow>
+      </fo:page-sequence>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block>
+        <xsl:if test="$refentry.pagebreak != 0">
+          <xsl:attribute name="break-before">page</xsl:attribute>
+        </xsl:if>
+        <xsl:copy-of select="$refentry.content"/>
+      </fo:block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="refmeta">
+</xsl:template>
+
+<xsl:template match="manvolnum">
+  <xsl:if test="$refentry.xref.manvolnum != 0">
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates/>
+    <xsl:text>)</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refmiscinfo">
+</xsl:template>
+
+<xsl:template match="refentrytitle">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="refnamediv">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}">
+
+    <!-- if refentry.generate.name is non-zero, then we need to generate a -->
+    <!-- localized "Name" subheading for this refnamdiv (unless it has a -->
+    <!-- preceding sibling that is a refnamediv, in which case we have already -->
+    <!-- generated a "Name" subheading, so we don't need to do it again -->
+    <xsl:if test="$refentry.generate.name != 0">
+        <xsl:choose>
+          <xsl:when test="preceding-sibling::refnamediv">
+            <!-- no generated title on secondary refnamedivs! -->
+          </xsl:when>
+          <xsl:otherwise>
+            <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                      xsl:use-attribute-sets="refnamediv.titlepage.recto.style"
+                      font-family="{$title.fontset}">
+              <!-- Contents of what is now the format.refentry.subheading -->
+              <!-- template were formerly intended to be used only to -->
+              <!-- process those subsections of Refentry that have "real" -->
+              <!-- title children. So as a kludge to get around the fact -->
+              <!-- that the template still basically "expects" to be -->
+              <!-- processing that kind of a node, when we call the -->
+              <!-- template to process generated titles, we must call it -->
+              <!-- with values for the "offset" and "section" parameters -->
+              <!-- that are different from the default values in the -->
+              <!-- format.refentry.subheading template itself. Because -->
+              <!-- those defaults are the values appropriate for processing -->
+              <!-- "real" title nodes. -->
+              <xsl:call-template name="format.refentry.subheading">
+                <xsl:with-param name="section" select="self::*"/>
+                <xsl:with-param name="offset" select="1"/>
+                <xsl:with-param name="gentext.key" select="'RefName'"/>
+              </xsl:call-template>
+            </fo:block>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:if>
+
+      <xsl:if test="$refentry.generate.title != 0">
+  <xsl:variable name="section.level">
+    <xsl:call-template name="refentry.level">
+      <xsl:with-param name="node" select="ancestor::refentry"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="reftitle">
+        <xsl:choose>
+          <xsl:when test="../refmeta/refentrytitle">
+            <xsl:apply-templates select="../refmeta/refentrytitle"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="refname[1]"/>
+          </xsl:otherwise>
+        </xsl:choose>
+  </xsl:variable>
+
+  <!-- xsl:use-attribute-sets takes only a Qname, not a variable -->
+    <xsl:choose>
+      <xsl:when test="preceding-sibling::refnamediv">
+	<!-- no title on secondary refnamedivs! -->
+      </xsl:when>
+      <xsl:when test="$section.level = 1">
+        <fo:block xsl:use-attribute-sets="refentry.title.properties">
+          <fo:block xsl:use-attribute-sets="section.title.level1.properties">
+            <xsl:value-of select="$reftitle"/>
+          </fo:block>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$section.level = 2">
+        <fo:block xsl:use-attribute-sets="refentry.title.properties">
+          <fo:block xsl:use-attribute-sets="section.title.level2.properties">
+            <xsl:value-of select="$reftitle"/>
+          </fo:block>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$section.level = 3">
+        <fo:block xsl:use-attribute-sets="refentry.title.properties">
+          <fo:block xsl:use-attribute-sets="section.title.level3.properties">
+            <xsl:value-of select="$reftitle"/>
+          </fo:block>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$section.level = 4">
+        <fo:block xsl:use-attribute-sets="refentry.title.properties">
+          <fo:block xsl:use-attribute-sets="section.title.level4.properties">
+            <xsl:value-of select="$reftitle"/>
+          </fo:block>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$section.level = 5">
+        <fo:block xsl:use-attribute-sets="refentry.title.properties">
+          <fo:block xsl:use-attribute-sets="section.title.level5.properties">
+            <xsl:value-of select="$reftitle"/>
+          </fo:block>
+        </fo:block>
+      </xsl:when>
+      <xsl:otherwise>
+        <fo:block xsl:use-attribute-sets="refentry.title.properties">
+          <fo:block xsl:use-attribute-sets="section.title.level6.properties">
+            <xsl:value-of select="$reftitle"/>
+          </fo:block>
+        </fo:block>
+      </xsl:otherwise>
+    </xsl:choose>
+    </xsl:if>
+
+    <fo:block>
+      <xsl:if test="not(following-sibling::refnamediv)">
+	<xsl:attribute name="space-after">1em</xsl:attribute>
+      </xsl:if>
+      <xsl:apply-templates/>
+    </fo:block>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="refname">
+  <xsl:if test="not(preceding-sibling::refdescriptor)">
+    <xsl:apply-templates/>
+    <xsl:if test="following-sibling::refname">
+      <xsl:text>, </xsl:text>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refpurpose">
+  <xsl:if test="node()">
+    <xsl:text> </xsl:text>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">em-dash</xsl:with-param>
+    </xsl:call-template>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refdescriptor">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="refclass">
+  <xsl:if test="$refclass.suppress = 0">
+  <fo:block font-weight="bold">
+    <xsl:if test="@role">
+      <xsl:value-of select="@role"/>
+      <xsl:text>: </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates/>
+  </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refsynopsisdiv">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}">
+    <xsl:if test="not(refsynopsisdivinfo/title|docinfo/title|info/title|title)">
+      <!-- * if we there is no appropriate title for this Refsynopsisdiv, -->
+      <!-- * then we need to call format.refentry.subheading to generate one -->
+      <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xsl:use-attribute-sets="refsynopsisdiv.titlepage.recto.style"
+                font-family="{$title.fontset}">
+        <!-- Contents of what is now the format.refentry.subheading -->
+        <!-- template were formerly intended to be used only to -->
+        <!-- process those subsections of Refentry that have "real" -->
+        <!-- title children. So as a kludge to get around the fact -->
+        <!-- that the template still basically "expects" to be -->
+        <!-- processing that kind of a node, when we call the -->
+        <!-- template to process generated titles, we must call it -->
+        <!-- with values for the "offset" and "section" parameters -->
+        <!-- that are different from the default values in the -->
+        <!-- format.refentry.subheading template itself. Because -->
+        <!-- those defaults are the values appropriate for processing -->
+        <!-- "real" title nodes. -->
+        <xsl:call-template name="format.refentry.subheading">
+          <xsl:with-param name="section" select="parent::*"/>
+          <xsl:with-param name="offset" select="1"/>
+          <xsl:with-param name="gentext.key" select="'RefSynopsisDiv'"/>
+        </xsl:call-template>
+      </fo:block>
+    </xsl:if>
+    <xsl:call-template name="refsynopsisdiv.titlepage"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="refsection">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}">
+    <xsl:call-template name="refsection.titlepage"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="refsect1">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}">
+    <xsl:call-template name="refsect1.titlepage"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="refsect2">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}">
+    <xsl:call-template name="refsect2.titlepage"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="refsect3">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}">
+    <xsl:call-template name="refsect3.titlepage"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="refsynopsisdiv/title
+                     |refsection/title
+                     |refsect1/title
+                     |refsect2/title
+                     |refsect3/title">
+  <!-- nop; titlepage.mode instead -->
+</xsl:template>
+
+<xsl:template match="refsynopsisdiv/title
+                     |refsection/title
+                     |refsect1/title
+                     |refsect2/title
+                     |refsect3/title"
+              mode="titlepage.mode"
+              priority="2">
+  <xsl:call-template name="format.refentry.subheading"/>
+</xsl:template>
+
+<xsl:template name="format.refentry.subheading">
+<!-- This template is now called to process generated titles for -->
+<!-- Refnamediv and Refsynopsisdiv, as well as "real" titles for -->
+<!-- Refsynopsisdiv, Refsection, and Refsect[1-3]. -->
+<!-- -->
+<!-- But the contents of this template were formerly intended to be used -->
+<!-- only to process those subsections of Refentry that have "real" title -->
+<!-- children. So as a kludge to get around the fact that the template -->
+<!-- still basically "expects" to be processing that kind of a node, the -->
+<!-- "offset" parameter was added and the "section" variable was changed to -->
+<!-- a parameter so that when called for a generated title on a Refnamediv -->
+<!-- or Refsynopsisdiv, we can call it like this: -->
+<!-- -->
+<!--     <xsl:call-template name="format.refentry.subheading"> -->
+<!--       <xsl:with-param name="section" select="self::*"/> -->
+<!--       <xsl:with-param name="offset" select="1"/> -->
+<!--       <xsl:with-param name="gentext.key" select="'RefName'"/> -->
+<!--     </xsl:call-template> -->
+<!-- -->
+  <xsl:param name="section" select="parent::*"/>
+  <xsl:param name="offset" select="0"/>
+  <xsl:param name="gentext.key"/>
+
+  <fo:block keep-with-next.within-column="always">
+    <xsl:variable name="id">
+      <xsl:call-template name="object.id">
+        <xsl:with-param name="object" select="$section"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="level">
+      <xsl:call-template name="section.level">
+        <xsl:with-param name="node" select="$section"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="title">
+      <!-- If we have a non-empty value for the $gentext.key param, then we -->
+      <!-- generate an appropriate title here. Otherwise, we have a real -->
+      <!-- title child, so we copy contents of that to the result tree. -->
+      <xsl:choose>
+        <xsl:when test="$gentext.key != ''">
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="$gentext.key"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$section" mode="object.title.markup">
+            <xsl:with-param name="allow-anchors" select="1"/>
+          </xsl:apply-templates>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:if test="$passivetex.extensions != 0">
+      <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex" 
+                      fotex-bookmark-level="{$level + 2 + $offset}" 
+                      fotex-bookmark-label="{$id}">
+        <xsl:value-of select="$title"/>
+      </fotex:bookmark>
+    </xsl:if>
+
+    <xsl:if test="$axf.extensions != 0">
+      <xsl:attribute name="axf:outline-level">
+        <xsl:value-of select="count(ancestor::*)-1 + $offset"/>
+      </xsl:attribute>
+      <xsl:attribute name="axf:outline-expand">false</xsl:attribute>
+      <xsl:attribute name="axf:outline-title">
+        <xsl:value-of select="$title"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="section.heading">
+      <xsl:with-param name="level" select="$level + $offset"/>
+      <xsl:with-param name="title" select="$title"/>
+    </xsl:call-template>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="refsectioninfo|refsection/info"></xsl:template>
+<xsl:template match="refsect1info|refsect1/info"></xsl:template>
+<xsl:template match="refsect2info|refsect2/info"></xsl:template>
+<xsl:template match="refsect3info|refsect3/info"></xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/sections.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/sections.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/sections.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,740 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: sections.xsl 6402 2006-11-12 08:23:21Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="section">
+  <xsl:choose>
+    <xsl:when test="$rootid = @id or $rootid = @xml:id">
+      <xsl:call-template name="section.page.sequence"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:variable>
+
+      <xsl:variable name="renderas">
+        <xsl:choose>
+          <xsl:when test="@renderas = 'sect1'">1</xsl:when>
+          <xsl:when test="@renderas = 'sect2'">2</xsl:when>
+          <xsl:when test="@renderas = 'sect3'">3</xsl:when>
+          <xsl:when test="@renderas = 'sect4'">4</xsl:when>
+          <xsl:when test="@renderas = 'sect5'">5</xsl:when>
+          <xsl:otherwise><xsl:value-of select="''"/></xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:variable name="level">
+        <xsl:choose>
+          <xsl:when test="$renderas != ''">
+            <xsl:value-of select="$renderas"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="section.level"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <!-- xsl:use-attribute-sets takes only a Qname, not a variable -->
+      <xsl:choose>
+        <xsl:when test="$level = 1">
+          <fo:block id="{$id}"
+                    xsl:use-attribute-sets="section.level1.properties">
+            <xsl:call-template name="section.content"/>
+          </fo:block>
+        </xsl:when>
+        <xsl:when test="$level = 2">
+          <fo:block id="{$id}"
+                    xsl:use-attribute-sets="section.level2.properties">
+            <xsl:call-template name="section.content"/>
+          </fo:block>
+        </xsl:when>
+        <xsl:when test="$level = 3">
+          <fo:block id="{$id}"
+                    xsl:use-attribute-sets="section.level3.properties">
+            <xsl:call-template name="section.content"/>
+          </fo:block>
+        </xsl:when>
+        <xsl:when test="$level = 4">
+          <fo:block id="{$id}"
+                    xsl:use-attribute-sets="section.level4.properties">
+            <xsl:call-template name="section.content"/>
+          </fo:block>
+        </xsl:when>
+        <xsl:when test="$level = 5">
+          <fo:block id="{$id}"
+                    xsl:use-attribute-sets="section.level5.properties">
+            <xsl:call-template name="section.content"/>
+          </fo:block>
+        </xsl:when>
+        <xsl:otherwise>
+          <fo:block id="{$id}"
+                    xsl:use-attribute-sets="section.level6.properties">
+            <xsl:call-template name="section.content"/>
+          </fo:block>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="section.content">
+  <xsl:call-template name="section.titlepage"/>
+
+  <xsl:variable name="toc.params">
+    <xsl:call-template name="find.path.params">
+      <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="contains($toc.params, 'toc')
+                and (count(ancestor::section)+1) &lt;= 
+		$generate.section.toc.level">
+    <xsl:call-template name="section.toc">
+      <xsl:with-param name="toc.title.p" 
+                      select="contains($toc.params, 'title')"/>
+    </xsl:call-template>
+   <xsl:call-template name="section.toc.separator"/>
+  </xsl:if>
+
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="/section" name="section.page.sequence">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+
+      <fo:block id="{$id}" 
+            xsl:use-attribute-sets="section.level1.properties">
+        <xsl:call-template name="section.titlepage"/>
+      </fo:block>
+
+      <xsl:variable name="toc.params">
+        <xsl:call-template name="find.path.params">
+          <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:if test="contains($toc.params, 'toc')
+                    and (count(ancestor::section)+1) &lt;= 
+		    $generate.section.toc.level">
+        <xsl:call-template name="section.toc">
+          <xsl:with-param name="toc.title.p" 
+                          select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+        <xsl:call-template name="section.toc.separator"/>
+      </xsl:if>
+
+      <xsl:apply-templates/>
+   </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+<xsl:template match="section/title
+                     |simplesect/title
+                     |sect1/title
+                     |sect2/title
+                     |sect3/title
+                     |sect4/title
+                     |sect5/title
+                     |section/info/title
+                     |simplesect/info/title
+                     |sect1/info/title
+                     |sect2/info/title
+                     |sect3/info/title
+                     |sect4/info/title
+                     |sect5/info/title
+                     |section/sectioninfo/title
+                     |sect1/sect1info/title
+                     |sect2/sect2info/title
+                     |sect3/sect3info/title
+                     |sect4/sect4info/title
+                     |sect5/sect5info/title"
+              mode="titlepage.mode"
+              priority="2">
+
+  <xsl:variable name="section" 
+                select="(ancestor::section |
+                        ancestor::simplesect |
+                        ancestor::sect1 |
+                        ancestor::sect2 |
+                        ancestor::sect3 |
+                        ancestor::sect4 |
+                        ancestor::sect5)[position() = last()]"/>
+
+  <fo:block keep-with-next.within-column="always">
+    <xsl:variable name="id">
+      <xsl:call-template name="object.id">
+        <xsl:with-param name="object" select="$section"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="renderas">
+      <xsl:choose>
+        <xsl:when test="$section/@renderas = 'sect1'">1</xsl:when>
+        <xsl:when test="$section/@renderas = 'sect2'">2</xsl:when>
+        <xsl:when test="$section/@renderas = 'sect3'">3</xsl:when>
+        <xsl:when test="$section/@renderas = 'sect4'">4</xsl:when>
+        <xsl:when test="$section/@renderas = 'sect5'">5</xsl:when>
+        <xsl:otherwise><xsl:value-of select="''"/></xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+  
+    <xsl:variable name="level">
+      <xsl:choose>
+        <xsl:when test="$renderas != ''">
+          <xsl:value-of select="$renderas"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="section.level">
+            <xsl:with-param name="node" select="$section"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:variable name="marker">
+      <xsl:choose>
+        <xsl:when test="$level &lt;= $marker.section.level">1</xsl:when>
+        <xsl:otherwise>0</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:variable name="title">
+      <xsl:apply-templates select="$section" mode="object.title.markup">
+        <xsl:with-param name="allow-anchors" select="1"/>
+      </xsl:apply-templates>
+    </xsl:variable>
+
+    <xsl:variable name="marker.title">
+      <xsl:apply-templates select="$section" mode="titleabbrev.markup">
+        <xsl:with-param name="allow-anchors" select="0"/>
+      </xsl:apply-templates>
+    </xsl:variable>
+
+    <xsl:if test="$passivetex.extensions != 0">
+      <fotex:bookmark xmlns:fotex="http://www.tug.org/fotex" 
+                      fotex-bookmark-level="{$level + 2}" 
+                      fotex-bookmark-label="{$id}">
+        <xsl:value-of select="$marker.title"/>
+      </fotex:bookmark>
+    </xsl:if>
+
+    <xsl:if test="$axf.extensions != 0">
+      <xsl:attribute name="axf:outline-level">
+        <xsl:value-of select="count(ancestor::*)-1"/>
+      </xsl:attribute>
+      <xsl:attribute name="axf:outline-expand">false</xsl:attribute>
+      <xsl:attribute name="axf:outline-title">
+        <xsl:value-of select="normalize-space($title)"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="section.heading">
+      <xsl:with-param name="level" select="$level"/>
+      <xsl:with-param name="title" select="$title"/>
+      <xsl:with-param name="marker" select="$marker"/>
+      <xsl:with-param name="marker.title" select="$marker.title"/>
+    </xsl:call-template>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="sect1">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}" 
+            xsl:use-attribute-sets="section.level1.properties">
+    <xsl:call-template name="sect1.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')
+                  and $generate.section.toc.level &gt;= 1">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" 
+                        select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="/sect1">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+    <xsl:attribute name="format">
+      <xsl:call-template name="page.number.format">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="initial-page-number">
+      <xsl:call-template name="initial.page.number">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="force-page-count">
+      <xsl:call-template name="force.page.count">
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:attribute name="hyphenation-character">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-character'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-push-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:attribute name="hyphenation-remain-character-count">
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+      </xsl:call-template>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <xsl:call-template name="set.flow.properties">
+        <xsl:with-param name="element" select="local-name(.)"/>
+        <xsl:with-param name="master-reference" select="$master-reference"/>
+      </xsl:call-template>
+
+      <fo:block id="{$id}" 
+                xsl:use-attribute-sets="section.level1.properties">
+        <xsl:call-template name="sect1.titlepage"/>
+      </fo:block>
+
+      <xsl:variable name="toc.params">
+        <xsl:call-template name="find.path.params">
+          <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:if test="contains($toc.params, 'toc')
+                    and $generate.section.toc.level &gt;= 1">
+        <xsl:call-template name="section.toc">
+          <xsl:with-param name="toc.title.p" 
+                          select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+        <xsl:call-template name="section.toc.separator"/>
+      </xsl:if>
+
+      <xsl:apply-templates/>
+   </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+<xsl:template match="sect2">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}" 
+            xsl:use-attribute-sets="section.level2.properties">
+    <xsl:call-template name="sect2.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')
+                   and $generate.section.toc.level &gt;= 2">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" 
+                        select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="sect3">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}" 
+            xsl:use-attribute-sets="section.level3.properties">
+    <xsl:call-template name="sect3.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')
+                  and $generate.section.toc.level &gt;= 3">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" 
+                        select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="sect4">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}" 
+            xsl:use-attribute-sets="section.level4.properties">
+    <xsl:call-template name="sect4.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')
+                  and $generate.section.toc.level &gt;= 4">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" 
+                        select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="sect5">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}" 
+            xsl:use-attribute-sets="section.level5.properties">
+    <xsl:call-template name="sect5.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')
+                  and $generate.section.toc.level &gt;= 5">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" 
+                        select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="simplesect">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}">
+    <xsl:call-template name="simplesect.titlepage"/>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="sectioninfo"></xsl:template>
+<xsl:template match="section/info"></xsl:template>
+<xsl:template match="section/title"></xsl:template>
+<xsl:template match="section/titleabbrev"></xsl:template>
+<xsl:template match="section/subtitle"></xsl:template>
+
+<xsl:template match="sect1info"></xsl:template>
+<xsl:template match="sect1/info"></xsl:template>
+<xsl:template match="sect1/title"></xsl:template>
+<xsl:template match="sect1/titleabbrev"></xsl:template>
+<xsl:template match="sect1/subtitle"></xsl:template>
+
+<xsl:template match="sect2info"></xsl:template>
+<xsl:template match="sect2/info"></xsl:template>
+<xsl:template match="sect2/title"></xsl:template>
+<xsl:template match="sect2/titleabbrev"></xsl:template>
+<xsl:template match="sect2/subtitle"></xsl:template>
+
+<xsl:template match="sect3info"></xsl:template>
+<xsl:template match="sect3/info"></xsl:template>
+<xsl:template match="sect3/title"></xsl:template>
+<xsl:template match="sect3/titleabbrev"></xsl:template>
+<xsl:template match="sect3/subtitle"></xsl:template>
+
+<xsl:template match="sect4info"></xsl:template>
+<xsl:template match="sect4/info"></xsl:template>
+<xsl:template match="sect4/title"></xsl:template>
+<xsl:template match="sect4/titleabbrev"></xsl:template>
+<xsl:template match="sect4/subtitle"></xsl:template>
+
+<xsl:template match="sect5info"></xsl:template>
+<xsl:template match="sect5/info"></xsl:template>
+<xsl:template match="sect5/title"></xsl:template>
+<xsl:template match="sect5/titleabbrev"></xsl:template>
+<xsl:template match="sect5/subtitle"></xsl:template>
+
+<xsl:template match="simplesect/info"></xsl:template>
+<xsl:template match="simplesect/title"></xsl:template>
+<xsl:template match="simplesect/titleabbrev"></xsl:template>
+<xsl:template match="simplesect/subtitle"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="section.heading">
+  <xsl:param name="level" select="1"/>
+  <xsl:param name="marker" select="1"/>
+  <xsl:param name="title"/>
+  <xsl:param name="marker.title"/>
+
+  <fo:block xsl:use-attribute-sets="section.title.properties">
+    <xsl:if test="$marker != 0">
+      <fo:marker marker-class-name="section.head.marker">
+        <xsl:copy-of select="$marker.title"/>
+      </fo:marker>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="$level=1">
+        <fo:block xsl:use-attribute-sets="section.title.level1.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$level=2">
+        <fo:block xsl:use-attribute-sets="section.title.level2.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$level=3">
+        <fo:block xsl:use-attribute-sets="section.title.level3.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$level=4">
+        <fo:block xsl:use-attribute-sets="section.title.level4.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:when test="$level=5">
+        <fo:block xsl:use-attribute-sets="section.title.level5.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:when>
+      <xsl:otherwise>
+        <fo:block xsl:use-attribute-sets="section.title.level6.properties">
+          <xsl:copy-of select="$title"/>
+        </fo:block>
+      </xsl:otherwise>
+    </xsl:choose>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="bridgehead">
+  <xsl:variable name="container"
+                select="(ancestor::appendix
+                        |ancestor::article
+                        |ancestor::bibliography
+                        |ancestor::chapter
+                        |ancestor::glossary
+                        |ancestor::glossdiv
+                        |ancestor::index
+                        |ancestor::partintro
+                        |ancestor::preface
+                        |ancestor::refsect1
+                        |ancestor::refsect2
+                        |ancestor::refsect3
+                        |ancestor::sect1
+                        |ancestor::sect2
+                        |ancestor::sect3
+                        |ancestor::sect4
+                        |ancestor::sect5
+                        |ancestor::section
+                        |ancestor::setindex
+                        |ancestor::simplesect)[last()]"/>
+
+  <xsl:variable name="clevel">
+    <xsl:choose>
+      <xsl:when test="local-name($container) = 'appendix'
+                      or local-name($container) = 'chapter'
+                      or local-name($container) = 'article'
+                      or local-name($container) = 'bibliography'
+                      or local-name($container) = 'glossary'
+                      or local-name($container) = 'index'
+                      or local-name($container) = 'partintro'
+                      or local-name($container) = 'preface'
+                      or local-name($container) = 'setindex'">2</xsl:when>
+      <xsl:when test="local-name($container) = 'glossdiv'">
+        <xsl:value-of select="count(ancestor::glossdiv)+2"/>
+      </xsl:when>
+      <xsl:when test="local-name($container) = 'sect1'
+                      or local-name($container) = 'sect2'
+                      or local-name($container) = 'sect3'
+                      or local-name($container) = 'sect4'
+                      or local-name($container) = 'sect5'
+                      or local-name($container) = 'refsect1'
+                      or local-name($container) = 'refsect2'
+                      or local-name($container) = 'refsect3'
+                      or local-name($container) = 'section'
+                      or local-name($container) = 'simplesect'">
+        <xsl:variable name="slevel">
+          <xsl:call-template name="section.level">
+            <xsl:with-param name="node" select="$container"/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:value-of select="$slevel + 1"/>
+      </xsl:when>
+      <xsl:otherwise>2</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="level">
+    <xsl:choose>
+      <xsl:when test="@renderas = 'sect1'">1</xsl:when>
+      <xsl:when test="@renderas = 'sect2'">2</xsl:when>
+      <xsl:when test="@renderas = 'sect3'">3</xsl:when>
+      <xsl:when test="@renderas = 'sect4'">4</xsl:when>
+      <xsl:when test="@renderas = 'sect5'">5</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$clevel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="marker">
+    <xsl:choose>
+      <xsl:when test="$level &lt;= $marker.section.level">1</xsl:when>
+      <xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="marker.title">
+    <xsl:apply-templates/>
+  </xsl:variable>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}">
+    <xsl:call-template name="section.heading">
+      <xsl:with-param name="level" select="$level"/>
+      <xsl:with-param name="title">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+      <xsl:with-param name="marker" select="$marker"/>
+      <xsl:with-param name="marker.title" select="$marker.title"/>
+    </xsl:call-template>
+  </fo:block>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/fo/spaces.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/spaces.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/spaces.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,273 @@
+<?xml version='1.0' encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: spaces.xsl 5858 2006-04-14 18:11:23Z kosek $
+     ********************************************************************
+     XSL-FO specification treats all space characters like ordinary spaces.
+     We need to map them to fo:leader with different widths in order to
+     simulate desired behaviour.
+     ******************************************************************** -->
+
+<xsl:template match="text()[namespace-uri(..) = '']">
+  <xsl:choose>
+    <xsl:when test="$passivetex.extensions != 0">
+      <xsl:call-template name="passivetex.dash.subst">
+        <xsl:with-param name="string">
+	  <xsl:call-template name="space.2000.subst">
+	    <xsl:with-param name="string" select="."/>
+	  </xsl:call-template>
+	</xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="space.2000.subst">
+	<xsl:with-param name="string" select="."/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:param name="space.enquad.width">0.5em</xsl:param>   <!-- U+2000 -->
+<xsl:param name="space.emquad.width">1em</xsl:param>     <!-- U+2001 -->
+<xsl:param name="space.enspace.width">0.5em</xsl:param>  <!-- U+2002 -->
+<xsl:param name="space.emspace.width">1em</xsl:param>    <!-- U+2003 -->
+<xsl:param name="space.3emspace.width">0.33em</xsl:param><!-- U+2004 -->
+<xsl:param name="space.4emspace.width">0.25em</xsl:param><!-- U+2005 -->
+<xsl:param name="space.6emspace.width">0.16em</xsl:param><!-- U+2006 -->
+<xsl:param name="space.figspace.width"></xsl:param>      <!-- U+2007 -->
+<xsl:param name="space.punctspace.width"></xsl:param>    <!-- U+2008 -->
+<xsl:param name="space.thinspace.width">0.2em</xsl:param><!-- U+2009 -->
+<xsl:param name="space.hairspace.width">0.1em</xsl:param><!-- U+200A -->
+
+<xsl:template name="space.2000.subst">
+  <xsl:param name="string"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, '&#x2000;') and $space.enquad.width != ''">
+      <xsl:call-template name="space.2001.subst">
+	<xsl:with-param name="string" select="substring-before($string, '&#x2000;')"/>
+      </xsl:call-template>
+      <fo:leader leader-length="{$space.enquad.width}"/>
+      <xsl:call-template name="space.2000.subst">
+	<xsl:with-param name="string" select="substring-after($string, '&#x2000;')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="space.2001.subst">
+	<xsl:with-param name="string" select="$string"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="space.2001.subst">
+  <xsl:param name="string"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, '&#x2001;') and $space.emquad.width != ''">
+      <xsl:call-template name="space.2002.subst">
+	<xsl:with-param name="string" select="substring-before($string, '&#x2001;')"/>
+      </xsl:call-template>
+      <fo:leader leader-length="{$space.emquad.width}"/>
+      <xsl:call-template name="space.2001.subst">
+	<xsl:with-param name="string" select="substring-after($string, '&#x2001;')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="space.2002.subst">
+	<xsl:with-param name="string" select="$string"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="space.2002.subst">
+  <xsl:param name="string"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, '&#x2002;') and $space.enspace.width != ''">
+      <xsl:call-template name="space.2003.subst">
+	<xsl:with-param name="string" select="substring-before($string, '&#x2002;')"/>
+      </xsl:call-template>
+      <fo:leader leader-length="{$space.enspace.width}"/>
+      <xsl:call-template name="space.2002.subst">
+	<xsl:with-param name="string" select="substring-after($string, '&#x2002;')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="space.2003.subst">
+	<xsl:with-param name="string" select="$string"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="space.2003.subst">
+  <xsl:param name="string"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, '&#x2003;') and $space.emspace.width != ''">
+      <xsl:call-template name="space.2004.subst">
+	<xsl:with-param name="string" select="substring-before($string, '&#x2003;')"/>
+      </xsl:call-template>
+      <fo:leader leader-length="{$space.emspace.width}"/>
+      <xsl:call-template name="space.2003.subst">
+	<xsl:with-param name="string" select="substring-after($string, '&#x2003;')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="space.2004.subst">
+	<xsl:with-param name="string" select="$string"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="space.2004.subst">
+  <xsl:param name="string"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, '&#x2004;') and $space.3emspace.width != ''">
+      <xsl:call-template name="space.2005.subst">
+	<xsl:with-param name="string" select="substring-before($string, '&#x2004;')"/>
+      </xsl:call-template>
+      <fo:leader leader-length="{$space.3emspace.width}"/>
+      <xsl:call-template name="space.2004.subst">
+	<xsl:with-param name="string" select="substring-after($string, '&#x2004;')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="space.2005.subst">
+	<xsl:with-param name="string" select="$string"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="space.2005.subst">
+  <xsl:param name="string"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, '&#x2005;') and $space.4emspace.width != ''">
+      <xsl:call-template name="space.2006.subst">
+	<xsl:with-param name="string" select="substring-before($string, '&#x2005;')"/>
+      </xsl:call-template>
+      <fo:leader leader-length="{$space.4emspace.width}"/>
+      <xsl:call-template name="space.2005.subst">
+	<xsl:with-param name="string" select="substring-after($string, '&#x2005;')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="space.2006.subst">
+	<xsl:with-param name="string" select="$string"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="space.2006.subst">
+  <xsl:param name="string"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, '&#x2006;') and $space.6emspace.width != ''">
+      <xsl:call-template name="space.2007.subst">
+	<xsl:with-param name="string" select="substring-before($string, '&#x2006;')"/>
+      </xsl:call-template>
+      <fo:leader leader-length="{$space.6emspace.width}"/>
+      <xsl:call-template name="space.2006.subst">
+	<xsl:with-param name="string" select="substring-after($string, '&#x2006;')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="space.2007.subst">
+	<xsl:with-param name="string" select="$string"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="space.2007.subst">
+  <xsl:param name="string"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, '&#x2007;') and $space.figspace.width != ''">
+      <xsl:call-template name="space.2008.subst">
+	<xsl:with-param name="string" select="substring-before($string, '&#x2007;')"/>
+      </xsl:call-template>
+      <fo:leader leader-length="{$space.figspace.width}"/>
+      <xsl:call-template name="space.2007.subst">
+	<xsl:with-param name="string" select="substring-after($string, '&#x2007;')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="space.2008.subst">
+	<xsl:with-param name="string" select="$string"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="space.2008.subst">
+  <xsl:param name="string"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, '&#x2008;') and $space.punctspace.width != ''">
+      <xsl:call-template name="space.2009.subst">
+	<xsl:with-param name="string" select="substring-before($string, '&#x2008;')"/>
+      </xsl:call-template>
+      <fo:leader leader-length="{$space.punctspace.width}"/>
+      <xsl:call-template name="space.2008.subst">
+	<xsl:with-param name="string" select="substring-after($string, '&#x2008;')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="space.2009.subst">
+	<xsl:with-param name="string" select="$string"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="space.2009.subst">
+  <xsl:param name="string"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, '&#x2009;') and $space.thinspace.width != ''">
+      <xsl:call-template name="space.200A.subst">
+	<xsl:with-param name="string" select="substring-before($string, '&#x2009;')"/>
+      </xsl:call-template>
+      <fo:leader leader-length="{$space.thinspace.width}"/>
+      <xsl:call-template name="space.2009.subst">
+	<xsl:with-param name="string" select="substring-after($string, '&#x2009;')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="space.200A.subst">
+	<xsl:with-param name="string" select="$string"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="space.200A.subst">
+  <xsl:param name="string"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, '&#x200A;') and $space.hairspace.width != ''">
+      <xsl:value-of select="substring-before($string, '&#x200A;')"/>
+      <fo:leader leader-length="{$space.hairspace.width}"/>
+      <xsl:call-template name="space.200A.subst">
+	<xsl:with-param name="string" select="substring-after($string, '&#x200A;')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$string"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/fo/synop.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/synop.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/synop.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,967 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY RE "&#10;">
+<!ENTITY nbsp "&#160;">
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: synop.xsl 6446 2006-12-01 07:57:40Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- synopsis is in verbatim -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="cmdsynopsis">
+  <fo:block xsl:use-attribute-sets="normal.para.spacing">
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis/command">
+  <xsl:call-template name="inline.monoseq"/>
+  <xsl:text> </xsl:text>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis/command[1]" priority="2">
+  <xsl:call-template name="inline.monoseq"/>
+  <xsl:text> </xsl:text>
+</xsl:template>
+
+<xsl:template match="group|arg" name="group-or-arg">
+  <xsl:variable name="choice" select="@choice"/>
+  <xsl:variable name="rep" select="@rep"/>
+  <xsl:variable name="sepchar">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*/@sepchar">
+        <xsl:value-of select="ancestor-or-self::*/@sepchar"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:text> </xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:if test="preceding-sibling::*">
+    <xsl:value-of select="$sepchar"/>
+  </xsl:if>
+  <xsl:choose>
+    <xsl:when test="$choice='plain'">
+      <xsl:value-of select="$arg.choice.plain.open.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='req'">
+      <xsl:value-of select="$arg.choice.req.open.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='opt'">
+      <xsl:value-of select="$arg.choice.opt.open.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.choice.def.open.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:apply-templates/>
+  <xsl:choose>
+    <xsl:when test="$rep='repeat'">
+      <xsl:value-of select="$arg.rep.repeat.str"/>
+    </xsl:when>
+    <xsl:when test="$rep='norepeat'">
+      <xsl:value-of select="$arg.rep.norepeat.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.rep.def.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:choose>
+    <xsl:when test="$choice='plain'">
+      <xsl:value-of select="$arg.choice.plain.close.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='req'">
+      <xsl:value-of select="$arg.choice.req.close.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='opt'">
+      <xsl:value-of select="$arg.choice.opt.close.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.choice.def.close.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="group/arg">
+  <xsl:variable name="choice" select="@choice"/>
+  <xsl:variable name="rep" select="@rep"/>
+  <xsl:if test="preceding-sibling::*">
+    <xsl:value-of select="$arg.or.sep"/>
+  </xsl:if>
+  <xsl:call-template name="group-or-arg"/>
+</xsl:template>
+
+<xsl:template match="sbr">
+  <fo:block/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="synopfragmentref">
+  <xsl:variable name="target" select="key('id', at linkend)"/>
+  <xsl:variable name="snum">
+    <xsl:apply-templates select="$target" mode="synopfragment.number"/>
+  </xsl:variable>
+  <fo:inline font-style="italic">
+    <fo:basic-link internal-destination="{@linkend}"
+                   xsl:use-attribute-sets="xref.properties">
+      <xsl:text>(</xsl:text>
+      <xsl:value-of select="$snum"/>
+      <xsl:text>)</xsl:text>
+    </fo:basic-link>
+    <xsl:text>&#160;</xsl:text>
+    <xsl:apply-templates/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="synopfragment" mode="synopfragment.number">
+  <xsl:number format="1"/>
+</xsl:template>
+
+<xsl:template match="synopfragment">
+  <xsl:variable name="snum">
+    <xsl:apply-templates select="." mode="synopfragment.number"/>
+  </xsl:variable>
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <fo:block id="{$id}">
+    <xsl:text>(</xsl:text>
+    <xsl:value-of select="$snum"/>
+    <xsl:text>)</xsl:text>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="funcsynopsis">
+  <xsl:call-template name="informal.object"/>
+</xsl:template>
+
+<xsl:template match="funcsynopsisinfo">
+  <fo:block space-after.minimum="0.8em"
+            space-after.optimum="1em"
+            space-after.maximum="1.2em">
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="funcprototype">
+  <fo:block font-family="{$monospace.font.family}"
+          space-before.minimum="0.8em"
+          space-before.optimum="1em"
+          space-before.maximum="1.2em">
+    <xsl:apply-templates/>
+    <xsl:if test="$funcsynopsis.style='kr'">
+      <fo:block
+          space-before.minimum="0.8em"
+          space-before.optimum="1em"
+          space-before.maximum="1.2em">
+      <xsl:apply-templates select="./paramdef" mode="kr-funcsynopsis-mode"/>
+      </fo:block>
+    </xsl:if>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="funcdef">
+  <fo:inline font-family="{$monospace.font.family}">
+    <xsl:apply-templates/>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template match="funcdef/function">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <fo:inline font-weight="bold">
+        <xsl:apply-templates/>
+      </fo:inline>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="void">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.style='ansi'">
+      <xsl:text>(void);</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>();</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="varargs">
+  <xsl:text>(...);</xsl:text>
+</xsl:template>
+
+<xsl:template match="paramdef">
+  <xsl:variable name="paramnum">
+    <xsl:number count="paramdef" format="1"/>
+  </xsl:variable>
+  <xsl:if test="$paramnum=1">(</xsl:if>
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.style='ansi'">
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="./parameter"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:choose>
+    <xsl:when test="following-sibling::paramdef">
+      <xsl:text>, </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>);</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <xsl:call-template name="inline.italicseq"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:if test="following-sibling::parameter">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="kr-funcsynopsis-mode">
+  <fo:block>
+    <xsl:apply-templates/>
+    <xsl:text>;</xsl:text>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="funcparams">
+  <xsl:text>(</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>)</xsl:text>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:variable name="default-classsynopsis-language">java</xsl:variable>
+
+<xsl:template match="classsynopsis
+                     |fieldsynopsis
+                     |methodsynopsis
+                     |constructorsynopsis
+                     |destructorsynopsis">
+  <xsl:param name="language">
+    <xsl:choose>
+      <xsl:when test="@language">
+	<xsl:value-of select="@language"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:value-of select="$default-classsynopsis-language"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:param>
+
+  <!--
+  <xsl:message>process <xsl:value-of select="local-name(.)"/> in <xsl:value-of select="$language"/></xsl:message>
+  -->
+
+  <xsl:choose>
+    <xsl:when test="$language='java' or $language='Java'">
+      <xsl:apply-templates select="." mode="java"/>
+    </xsl:when>
+    <xsl:when test="$language='perl' or $language='Perl'">
+      <xsl:apply-templates select="." mode="perl"/>
+    </xsl:when>
+    <xsl:when test="$language='idl' or $language='IDL'">
+      <xsl:apply-templates select="." mode="idl"/>
+    </xsl:when>
+    <xsl:when test="$language='cpp' or $language='c++' or $language='C++'">
+      <xsl:apply-templates select="." mode="cpp"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+	<xsl:text>Unrecognized language on </xsl:text>
+        <xsl:value-of select="local-name(.)"/>
+        <xsl:text>: </xsl:text>
+	<xsl:value-of select="$language"/>
+      </xsl:message>
+      <xsl:apply-templates select=".">
+	<xsl:with-param name="language"
+	  select="$default-classsynopsis-language"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="synop-break">
+  <xsl:if test="parent::classsynopsis
+                or (following-sibling::fieldsynopsis
+                    |following-sibling::methodsynopsis
+                    |following-sibling::constructorsynopsis
+                    |following-sibling::destructorsynopsis)">
+    <fo:inline>&RE;</fo:inline>
+  </xsl:if>
+</xsl:template>
+
+<!-- ===== Java ======================================================== -->
+
+<xsl:template match="classsynopsis" mode="java">
+  <fo:block wrap-option='no-wrap'
+            white-space-collapse='false'
+            linefeed-treatment="preserve"
+            xsl:use-attribute-sets="monospace.verbatim.properties">
+    <xsl:apply-templates select="ooclass[1]" mode="java"/>
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text> extends</xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="java"/>
+      <xsl:if test="oointerface|ooexception">
+        <xsl:text>&RE;&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="oointerface">
+      <xsl:text>implements</xsl:text>
+      <xsl:apply-templates select="oointerface" mode="java"/>
+      <xsl:if test="ooexception">
+	<xsl:text>&RE;&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="ooexception">
+      <xsl:text>throws</xsl:text>
+      <xsl:apply-templates select="ooexception" mode="java"/>
+    </xsl:if>
+    <xsl:text>&nbsp;{&RE;</xsl:text>
+    <xsl:apply-templates select="constructorsynopsis
+                                 |destructorsynopsis
+                                 |fieldsynopsis
+                                 |methodsynopsis
+                                 |classsynopsisinfo" mode="java"/>
+    <xsl:text>}</xsl:text>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="java">
+  <xsl:apply-templates mode="java"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="java">
+  <xsl:choose>
+    <xsl:when test="preceding-sibling::*">
+      <xsl:text>, </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text> </xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:apply-templates mode="java"/>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="java">
+  <xsl:apply-templates mode="java"/>
+  <xsl:if test="following-sibling::*">
+    <xsl:text>&nbsp;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="classname" mode="java">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="java"/>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="java">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="java"/>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="java">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="java"/>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="java">
+  <fo:block wrap-option='no-wrap'
+            white-space-collapse='false'
+            linefeed-treatment="preserve"
+            xsl:use-attribute-sets="monospace.verbatim.properties">
+    <xsl:text>&nbsp;&nbsp;</xsl:text>
+    <xsl:apply-templates mode="java"/>
+    <xsl:text>;</xsl:text>
+    <xsl:call-template name="synop-break"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="type" mode="java">
+  <xsl:apply-templates mode="java"/>
+  <xsl:text>&nbsp;</xsl:text>
+</xsl:template>
+
+<xsl:template match="varname" mode="java">
+  <xsl:apply-templates mode="java"/>
+  <xsl:text>&nbsp;</xsl:text>
+</xsl:template>
+
+<xsl:template match="initializer" mode="java">
+  <xsl:text>=&nbsp;</xsl:text>
+  <xsl:apply-templates mode="java"/>
+</xsl:template>
+
+<xsl:template match="void" mode="java">
+  <xsl:text>void&nbsp;</xsl:text>
+</xsl:template>
+
+<xsl:template match="methodname" mode="java">
+  <xsl:apply-templates mode="java"/>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="java">
+  <xsl:param name="indent">0</xsl:param>
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>,&RE;</xsl:text>
+    <xsl:if test="$indent &gt; 0">
+      <xsl:call-template name="copy-string">
+	<xsl:with-param name="string">&nbsp;</xsl:with-param>
+	<xsl:with-param name="count" select="$indent + 1"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:if>
+  <xsl:apply-templates mode="java"/>
+</xsl:template>
+
+<xsl:template match="parameter" mode="java">
+  <xsl:apply-templates mode="java"/>
+</xsl:template>
+
+<xsl:template mode="java"
+  match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="decl">
+    <xsl:text>  </xsl:text>
+    <xsl:apply-templates select="$start-modifiers" mode="java"/>
+
+    <!-- type -->
+    <xsl:if test="local-name($notmod[1]) != 'methodname'">
+      <xsl:apply-templates select="$notmod[1]" mode="java"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="methodname" mode="java"/>
+  </xsl:variable>
+
+  <fo:block wrap-option='no-wrap'
+            white-space-collapse='false'
+            linefeed-treatment="preserve"
+            xsl:use-attribute-sets="monospace.verbatim.properties">
+    <xsl:copy-of select="$decl"/>
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates select="methodparam" mode="java">
+      <xsl:with-param name="indent" select="string-length($decl)"/>
+    </xsl:apply-templates>
+    <xsl:text>)</xsl:text>
+    <xsl:if test="exceptionname">
+      <xsl:text>&RE;&nbsp;&nbsp;&nbsp;&nbsp;throws&nbsp;</xsl:text>
+      <xsl:apply-templates select="exceptionname" mode="java"/>
+    </xsl:if>
+    <xsl:if test="modifier[preceding-sibling::*[local-name(.) != 'modifier']]">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="$end-modifiers" mode="java"/>
+    </xsl:if>
+    <xsl:text>;</xsl:text>
+  </fo:block>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ===== C++ ========================================================= -->
+
+<xsl:template match="classsynopsis" mode="cpp">
+  <fo:block wrap-option='no-wrap'
+            white-space-collapse='false'
+            linefeed-treatment="preserve"
+            xsl:use-attribute-sets="monospace.verbatim.properties">
+    <xsl:apply-templates select="ooclass[1]" mode="cpp"/>
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text>: </xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="cpp"/>
+      <xsl:if test="oointerface|ooexception">
+	<xsl:text>&RE;&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="oointerface">
+      <xsl:text> implements</xsl:text>
+      <xsl:apply-templates select="oointerface" mode="cpp"/>
+      <xsl:if test="ooexception">
+	<xsl:text>&RE;&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="ooexception">
+      <xsl:text> throws</xsl:text>
+      <xsl:apply-templates select="ooexception" mode="cpp"/>
+    </xsl:if>
+    <xsl:text>&nbsp;{&RE;</xsl:text>
+    <xsl:apply-templates select="constructorsynopsis
+                                 |destructorsynopsis
+                                 |fieldsynopsis
+                                 |methodsynopsis
+                                 |classsynopsisinfo" mode="cpp"/>
+    <xsl:text>}</xsl:text>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="cpp">
+  <xsl:apply-templates mode="cpp"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="cpp">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="cpp"/>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="cpp">
+  <xsl:apply-templates mode="cpp"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text>&nbsp;</xsl:text>
+    </xsl:if>
+</xsl:template>
+
+<xsl:template match="classname" mode="cpp">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="cpp"/>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="cpp">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="cpp"/>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="cpp">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="cpp"/>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="cpp">
+  <fo:block wrap-option='no-wrap'
+            white-space-collapse='false'
+            linefeed-treatment="preserve"
+            xsl:use-attribute-sets="monospace.verbatim.properties">
+    <xsl:text>&nbsp;&nbsp;</xsl:text>
+    <xsl:apply-templates mode="cpp"/>
+    <xsl:text>;</xsl:text>
+  </fo:block>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="cpp">
+  <xsl:apply-templates mode="cpp"/>
+  <xsl:text>&nbsp;</xsl:text>
+</xsl:template>
+
+<xsl:template match="varname" mode="cpp">
+  <xsl:apply-templates mode="cpp"/>
+  <xsl:text>&nbsp;</xsl:text>
+</xsl:template>
+
+<xsl:template match="initializer" mode="cpp">
+  <xsl:text>=&nbsp;</xsl:text>
+  <xsl:apply-templates mode="cpp"/>
+</xsl:template>
+
+<xsl:template match="void" mode="cpp">
+  <xsl:text>void&nbsp;</xsl:text>
+</xsl:template>
+
+<xsl:template match="methodname" mode="cpp">
+  <xsl:apply-templates mode="cpp"/>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="cpp">
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="cpp"/>
+</xsl:template>
+
+<xsl:template match="parameter" mode="cpp">
+  <xsl:apply-templates mode="cpp"/>
+</xsl:template>
+
+<xsl:template mode="cpp"
+  match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+
+  <fo:block wrap-option='no-wrap'
+            white-space-collapse='false'
+            linefeed-treatment="preserve"
+            xsl:use-attribute-sets="monospace.verbatim.properties">
+    <xsl:text>  </xsl:text>
+    <xsl:apply-templates select="$start-modifiers" mode="cpp"/>
+
+    <!-- type -->
+    <xsl:if test="local-name($notmod[1]) != 'methodname'">
+      <xsl:apply-templates select="$notmod[1]" mode="cpp"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="methodname" mode="cpp"/>
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates select="methodparam" mode="cpp"/>
+    <xsl:text>)</xsl:text>
+    <xsl:if test="exceptionname">
+      <xsl:text>&RE;&nbsp;&nbsp;&nbsp;&nbsp;throws&nbsp;</xsl:text>
+      <xsl:apply-templates select="exceptionname" mode="cpp"/>
+    </xsl:if>
+    <xsl:if test="modifier[preceding-sibling::*[local-name(.) != 'modifier']]">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="$end-modifiers" mode="cpp"/>
+    </xsl:if>
+    <xsl:text>;</xsl:text>
+  </fo:block>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ===== IDL ========================================================= -->
+
+<xsl:template match="classsynopsis" mode="idl">
+  <fo:block wrap-option='no-wrap'
+            white-space-collapse='false'
+            linefeed-treatment="preserve"
+            xsl:use-attribute-sets="monospace.verbatim.properties">
+    <xsl:text>interface </xsl:text>
+    <xsl:apply-templates select="ooclass[1]" mode="idl"/>
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text>: </xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="idl"/>
+      <xsl:if test="oointerface|ooexception">
+	<xsl:text>&RE;&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="oointerface">
+      <xsl:text> implements</xsl:text>
+      <xsl:apply-templates select="oointerface" mode="idl"/>
+      <xsl:if test="ooexception">
+	<xsl:text>&RE;&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="ooexception">
+      <xsl:text> throws</xsl:text>
+      <xsl:apply-templates select="ooexception" mode="idl"/>
+    </xsl:if>
+    <xsl:text>&nbsp;{&RE;</xsl:text>
+    <xsl:apply-templates select="constructorsynopsis
+                                 |destructorsynopsis
+                                 |fieldsynopsis
+                                 |methodsynopsis
+                                 |classsynopsisinfo" mode="idl"/>
+    <xsl:text>}</xsl:text>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="idl">
+  <xsl:apply-templates mode="idl"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="idl">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="idl"/>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="idl">
+  <xsl:apply-templates mode="idl"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text>&nbsp;</xsl:text>
+    </xsl:if>
+</xsl:template>
+
+<xsl:template match="classname" mode="idl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="idl"/>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="idl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="idl"/>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="idl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="idl"/>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="idl">
+  <fo:block wrap-option='no-wrap'
+            white-space-collapse='false'
+            linefeed-treatment="preserve"
+            xsl:use-attribute-sets="monospace.verbatim.properties">
+    <xsl:text>&nbsp;&nbsp;</xsl:text>
+    <xsl:apply-templates mode="idl"/>
+    <xsl:text>;</xsl:text>
+  </fo:block>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="idl">
+  <xsl:apply-templates mode="idl"/>
+  <xsl:text>&nbsp;</xsl:text>
+</xsl:template>
+
+<xsl:template match="varname" mode="idl">
+  <xsl:apply-templates mode="idl"/>
+  <xsl:text>&nbsp;</xsl:text>
+</xsl:template>
+
+<xsl:template match="initializer" mode="idl">
+  <xsl:text>=&nbsp;</xsl:text>
+  <xsl:apply-templates mode="idl"/>
+</xsl:template>
+
+<xsl:template match="void" mode="idl">
+  <xsl:text>void&nbsp;</xsl:text>
+</xsl:template>
+
+<xsl:template match="methodname" mode="idl">
+  <xsl:apply-templates mode="idl"/>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="idl">
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="idl"/>
+</xsl:template>
+
+<xsl:template match="parameter" mode="idl">
+  <xsl:apply-templates mode="idl"/>
+</xsl:template>
+
+<xsl:template mode="idl"
+  match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+
+  <fo:block wrap-option='no-wrap'
+            white-space-collapse='false'
+            linefeed-treatment="preserve"
+            xsl:use-attribute-sets="monospace.verbatim.properties">
+    <xsl:text>  </xsl:text>
+    <xsl:apply-templates select="$start-modifiers" mode="idl"/>
+
+    <!-- type -->
+    <xsl:if test="local-name($notmod[1]) != 'methodname'">
+      <xsl:apply-templates select="$notmod[1]" mode="idl"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="methodname" mode="idl"/>
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates select="methodparam" mode="idl"/>
+    <xsl:text>)</xsl:text>
+    <xsl:if test="exceptionname">
+      <xsl:text>&RE;&nbsp;&nbsp;&nbsp;&nbsp;raises(</xsl:text>
+      <xsl:apply-templates select="exceptionname" mode="idl"/>
+      <xsl:text>)</xsl:text>
+    </xsl:if>
+    <xsl:if test="modifier[preceding-sibling::*[local-name(.) != 'modifier']]">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="$end-modifiers" mode="idl"/>
+    </xsl:if>
+    <xsl:text>;</xsl:text>
+  </fo:block>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ===== Perl ======================================================== -->
+
+<xsl:template match="classsynopsis" mode="perl">
+  <fo:block wrap-option='no-wrap'
+            white-space-collapse='false'
+            linefeed-treatment="preserve"
+            xsl:use-attribute-sets="monospace.verbatim.properties">
+    <xsl:text>package </xsl:text>
+    <xsl:apply-templates select="ooclass[1]" mode="perl"/>
+    <xsl:text>;&RE;</xsl:text>
+
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text>@ISA = (</xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="perl"/>
+      <xsl:text>);&RE;</xsl:text>
+    </xsl:if>
+
+    <xsl:apply-templates select="constructorsynopsis
+                                 |destructorsynopsis
+                                 |fieldsynopsis
+                                 |methodsynopsis
+                                 |classsynopsisinfo" mode="perl"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="perl">
+  <xsl:apply-templates mode="perl"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="perl">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="perl"/>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="perl">
+  <xsl:apply-templates mode="perl"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text>&nbsp;</xsl:text>
+    </xsl:if>
+</xsl:template>
+
+<xsl:template match="classname" mode="perl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="perl"/>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="perl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="perl"/>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="perl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="perl"/>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="perl">
+  <fo:block wrap-option='no-wrap'
+            white-space-collapse='false'
+            linefeed-treatment="preserve"
+            xsl:use-attribute-sets="monospace.verbatim.properties">
+    <xsl:text>&nbsp;&nbsp;</xsl:text>
+    <xsl:apply-templates mode="perl"/>
+    <xsl:text>;</xsl:text>
+  </fo:block>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="perl">
+  <xsl:apply-templates mode="perl"/>
+  <xsl:text>&nbsp;</xsl:text>
+</xsl:template>
+
+<xsl:template match="varname" mode="perl">
+  <xsl:apply-templates mode="perl"/>
+  <xsl:text>&nbsp;</xsl:text>
+</xsl:template>
+
+<xsl:template match="initializer" mode="perl">
+  <xsl:text>=&nbsp;</xsl:text>
+  <xsl:apply-templates mode="perl"/>
+</xsl:template>
+
+<xsl:template match="void" mode="perl">
+  <xsl:text>void&nbsp;</xsl:text>
+</xsl:template>
+
+<xsl:template match="methodname" mode="perl">
+  <xsl:apply-templates mode="perl"/>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="perl">
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="perl"/>
+</xsl:template>
+
+<xsl:template match="parameter" mode="perl">
+  <xsl:apply-templates mode="perl"/>
+</xsl:template>
+
+<xsl:template mode="perl"
+  match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+
+  <fo:block wrap-option='no-wrap'
+            white-space-collapse='false'
+            linefeed-treatment="preserve"
+            xsl:use-attribute-sets="monospace.verbatim.properties">
+    <xsl:text>sub </xsl:text>
+
+    <xsl:apply-templates select="methodname" mode="perl"/>
+    <xsl:text> { ... };</xsl:text>
+    <xsl:call-template name="synop-break"/>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- * DocBook 5 allows linking elements (link, olink, and xref) -->
+<!-- * within the OO *synopsis elements (classsynopsis, fieldsynopsis, -->
+<!-- * methodsynopsis, constructorsynopsis, destructorsynopsis) and -->
+<!-- * their children. So we need to have mode="java|cpp|idl|perl" -->
+<!-- * per-mode matches for those linking elements in order for them -->
+<!-- * to be processed as expected. -->
+
+<xsl:template match="link|olink|xref" mode="java">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="link|olink|xref" mode="cpp">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="link|olink|xref" mode="idl">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="link|olink|xref" mode="perl">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/table.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/table.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/table.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1558 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:rx="http://www.renderx.com/XSL/Extensions"
+                xmlns:stbl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Table"
+                xmlns:xtbl="com.nwalsh.xalan.Table"
+                xmlns:lxslt="http://xml.apache.org/xslt"
+                xmlns:ptbl="http://nwalsh.com/xslt/ext/xsltproc/python/Table"
+                exclude-result-prefixes="doc stbl xtbl lxslt ptbl"
+                version='1.0'>
+
+<xsl:include href="../common/table.xsl"/>
+
+<!-- ********************************************************************
+     $Id: table.xsl 6474 2007-01-06 18:31:14Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<doc:reference xmlns="">
+<referenceinfo>
+<releaseinfo role="meta">
+$Id: table.xsl 6474 2007-01-06 18:31:14Z bobstayton $
+</releaseinfo>
+<author><surname>Walsh</surname>
+<firstname>Norman</firstname></author>
+<copyright><year>1999</year><year>2000</year>
+<holder>Norman Walsh</holder>
+</copyright>
+</referenceinfo>
+<title>Formatting Object Table Reference</title>
+
+<partintro id="partintro">
+<title>Introduction</title>
+
+<para>This is technical reference documentation for the DocBook XSL
+Stylesheets; it documents (some of) the parameters, templates, and
+other elements of the stylesheets.</para>
+
+<para>This is not intended to be <quote>user</quote> documentation.
+It is provided for developers writing customization layers for the
+stylesheets, and for anyone who's interested in <quote>how it
+works</quote>.</para>
+
+<para>Although I am trying to be thorough, this documentation is known
+to be incomplete. Don't forget to read the source, too :-)</para>
+</partintro>
+</doc:reference>
+
+<!-- ==================================================================== -->
+
+<lxslt:component prefix="xtbl"
+                 functions="adjustColumnWidths"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="make.table.content">
+  <xsl:choose>
+    <xsl:when test="tgroup|mediaobject|graphic">
+      <xsl:call-template name="calsTable"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="." mode="htmlTable"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="calsTable">
+
+  <xsl:variable name="keep.together">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'keep-together'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:for-each select="tgroup">
+
+    <fo:table xsl:use-attribute-sets="table.table.properties">
+      <xsl:if test="$keep.together != ''">
+        <xsl:attribute name="keep-together.within-column">
+          <xsl:value-of select="$keep.together"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:call-template name="table.frame"/>
+      <xsl:if test="following-sibling::tgroup">
+        <xsl:attribute name="border-bottom-width">0pt</xsl:attribute>
+        <xsl:attribute name="border-bottom-style">none</xsl:attribute>
+        <xsl:attribute name="padding-bottom">0pt</xsl:attribute>
+        <xsl:attribute name="margin-bottom">0pt</xsl:attribute>
+        <xsl:attribute name="space-after">0pt</xsl:attribute>
+        <xsl:attribute name="space-after.minimum">0pt</xsl:attribute>
+        <xsl:attribute name="space-after.optimum">0pt</xsl:attribute>
+        <xsl:attribute name="space-after.maximum">0pt</xsl:attribute>
+      </xsl:if>
+      <xsl:if test="preceding-sibling::tgroup">
+        <xsl:attribute name="border-top-width">0pt</xsl:attribute>
+        <xsl:attribute name="border-top-style">none</xsl:attribute>
+        <xsl:attribute name="padding-top">0pt</xsl:attribute>
+        <xsl:attribute name="margin-top">0pt</xsl:attribute>
+        <xsl:attribute name="space-before">0pt</xsl:attribute>
+        <xsl:attribute name="space-before.minimum">0pt</xsl:attribute>
+        <xsl:attribute name="space-before.optimum">0pt</xsl:attribute>
+        <xsl:attribute name="space-before.maximum">0pt</xsl:attribute>
+      </xsl:if>
+      <xsl:apply-templates select="."/>
+    </fo:table>
+  </xsl:for-each>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- Placeholder template enables wrapping a fo:table in
+     another table for purposes of layout or applying
+     extensions such as XEP table-omit-initial-header to
+     create "continued" titles on page breaks. -->
+<xsl:template name="table.layout">
+  <xsl:param name="table.content" select="NOTANODE"/>
+
+  <xsl:copy-of select="$table.content"/>
+</xsl:template>
+
+<xsl:template name="table.block">
+  <xsl:param name="table.layout" select="NOTANODE"/>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="param.placement"
+                select="substring-after(normalize-space(
+                   $formal.title.placement), concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="self::table">
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="table.properties">
+        <xsl:if test="$placement = 'before'">
+          <xsl:call-template name="formal.object.heading">
+            <xsl:with-param name="placement" select="$placement"/>
+          </xsl:call-template>
+        </xsl:if>
+        <xsl:copy-of select="$table.layout"/>
+        <xsl:call-template name="table.footnote.block"/>
+        <xsl:if test="$placement != 'before'">
+          <xsl:call-template name="formal.object.heading">
+            <xsl:with-param name="placement" select="$placement"/>
+          </xsl:call-template>
+        </xsl:if>
+      </fo:block>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="informaltable.properties">
+        <xsl:copy-of select="$table.layout"/>
+        <xsl:call-template name="table.footnote.block"/>
+      </fo:block>
+    </xsl:otherwise>
+  </xsl:choose>
+
+
+</xsl:template>
+
+<!-- Output a table's footnotes in a block -->
+<xsl:template name="table.footnote.block">
+  <xsl:if test=".//footnote">
+    <fo:block keep-with-previous.within-column="always">
+      <xsl:apply-templates select=".//footnote" mode="table.footnote.mode"/>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="table.container">
+  <xsl:param name="table.block"/>
+  <xsl:choose>
+    <xsl:when test="@orient='land' and 
+                    $fop.extensions = 0 and 
+                    $passivetex.extensions = 0" >
+      <fo:block-container reference-orientation="90"
+            padding="6pt"
+            xsl:use-attribute-sets="list.block.spacing">
+        <xsl:attribute name="width">
+          <xsl:call-template name="table.width"/>
+        </xsl:attribute>
+        <fo:block start-indent="0pt" end-indent="0pt">
+          <xsl:copy-of select="$table.block"/>
+        </fo:block>
+      </fo:block-container>
+    </xsl:when>
+    <xsl:when test="@pgwide = 1">
+      <fo:block span="all" start-indent="0pt" end-indent="0pt">
+        <xsl:copy-of select="$table.block"/>
+      </fo:block>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$table.block"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="empty.table.cell">
+  <xsl:param name="colnum" select="0"/>
+
+  <xsl:variable name="rowsep">
+    <xsl:choose>
+      <!-- If this is the last row, rowsep never applies. -->
+      <xsl:when test="not(ancestor-or-self::row[1]/following-sibling::row
+                          or ancestor-or-self::thead/following-sibling::tbody
+                          or ancestor-or-self::tbody/preceding-sibling::tfoot)">
+        <xsl:value-of select="0"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inherited.table.attribute">
+          <xsl:with-param name="entry" select="NOT-AN-ELEMENT-NAME"/>
+          <xsl:with-param name="row" select="ancestor-or-self::row[1]"/>
+          <xsl:with-param name="colnum" select="$colnum"/>
+          <xsl:with-param name="attribute" select="'rowsep'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="colsep">
+    <xsl:choose>
+      <!-- If this is the last column, colsep never applies. -->
+      <xsl:when test="number($colnum) &gt;= ancestor::tgroup/@cols">0</xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inherited.table.attribute">
+          <xsl:with-param name="entry" select="NOT-AN-ELEMENT-NAME"/>
+          <xsl:with-param name="row" select="ancestor-or-self::row[1]"/>
+          <xsl:with-param name="colnum" select="$colnum"/>
+          <xsl:with-param name="attribute" select="'colsep'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <fo:table-cell text-align="center"
+                 display-align="center"
+                 xsl:use-attribute-sets="table.cell.padding">
+    <xsl:if test="$xep.extensions != 0">
+      <!-- Suggested by RenderX to workaround a bug in their implementation -->
+      <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
+    </xsl:if>
+    <xsl:if test="$rowsep &gt; 0">
+      <xsl:call-template name="border">
+        <xsl:with-param name="side" select="'bottom'"/>
+      </xsl:call-template>
+    </xsl:if>
+
+    <xsl:if test="$colsep &gt; 0 and number($colnum) &lt; ancestor::tgroup/@cols">
+      <xsl:call-template name="border">
+        <xsl:with-param name="side" select="'right'"/>
+      </xsl:call-template>
+    </xsl:if>
+
+    <!-- fo:table-cell should not be empty -->
+    <fo:block/>
+  </fo:table-cell>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<xsl:template name="table.frame">
+  <xsl:variable name="frame">
+    <xsl:choose>
+      <xsl:when test="../@frame">
+        <xsl:value-of select="../@frame"/>
+      </xsl:when>
+      <xsl:otherwise>all</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$frame='all'">
+      <xsl:attribute name="border-left-style">
+        <xsl:value-of select="$table.frame.border.style"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-right-style">
+        <xsl:value-of select="$table.frame.border.style"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-top-style">
+        <xsl:value-of select="$table.frame.border.style"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-bottom-style">
+        <xsl:value-of select="$table.frame.border.style"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-left-width">
+        <xsl:value-of select="$table.frame.border.thickness"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-right-width">
+        <xsl:value-of select="$table.frame.border.thickness"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-top-width">
+        <xsl:value-of select="$table.frame.border.thickness"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-bottom-width">
+        <xsl:value-of select="$table.frame.border.thickness"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-left-color">
+        <xsl:value-of select="$table.frame.border.color"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-right-color">
+        <xsl:value-of select="$table.frame.border.color"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-top-color">
+        <xsl:value-of select="$table.frame.border.color"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-bottom-color">
+        <xsl:value-of select="$table.frame.border.color"/>
+      </xsl:attribute>
+    </xsl:when>
+    <xsl:when test="$frame='bottom'">
+      <xsl:attribute name="border-left-style">none</xsl:attribute>
+      <xsl:attribute name="border-right-style">none</xsl:attribute>
+      <xsl:attribute name="border-top-style">none</xsl:attribute>
+      <xsl:attribute name="border-bottom-style">
+        <xsl:value-of select="$table.frame.border.style"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-bottom-width">
+        <xsl:value-of select="$table.frame.border.thickness"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-bottom-color">
+        <xsl:value-of select="$table.frame.border.color"/>
+      </xsl:attribute>
+    </xsl:when>
+    <xsl:when test="$frame='sides'">
+      <xsl:attribute name="border-left-style">
+        <xsl:value-of select="$table.frame.border.style"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-right-style">
+        <xsl:value-of select="$table.frame.border.style"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-top-style">none</xsl:attribute>
+      <xsl:attribute name="border-bottom-style">none</xsl:attribute>
+      <xsl:attribute name="border-left-width">
+        <xsl:value-of select="$table.frame.border.thickness"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-right-width">
+        <xsl:value-of select="$table.frame.border.thickness"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-left-color">
+        <xsl:value-of select="$table.frame.border.color"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-right-color">
+        <xsl:value-of select="$table.frame.border.color"/>
+      </xsl:attribute>
+    </xsl:when>
+    <xsl:when test="$frame='top'">
+      <xsl:attribute name="border-left-style">none</xsl:attribute>
+      <xsl:attribute name="border-right-style">none</xsl:attribute>
+      <xsl:attribute name="border-top-style">
+        <xsl:value-of select="$table.frame.border.style"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-bottom-style">none</xsl:attribute>
+      <xsl:attribute name="border-top-width">
+        <xsl:value-of select="$table.frame.border.thickness"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-top-color">
+        <xsl:value-of select="$table.frame.border.color"/>
+      </xsl:attribute>
+    </xsl:when>
+    <xsl:when test="$frame='topbot'">
+      <xsl:attribute name="border-left-style">none</xsl:attribute>
+      <xsl:attribute name="border-right-style">none</xsl:attribute>
+      <xsl:attribute name="border-top-style">
+        <xsl:value-of select="$table.frame.border.style"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-bottom-style">
+        <xsl:value-of select="$table.frame.border.style"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-top-width">
+        <xsl:value-of select="$table.frame.border.thickness"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-bottom-width">
+        <xsl:value-of select="$table.frame.border.thickness"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-top-color">
+        <xsl:value-of select="$table.frame.border.color"/>
+      </xsl:attribute>
+      <xsl:attribute name="border-bottom-color">
+        <xsl:value-of select="$table.frame.border.color"/>
+      </xsl:attribute>
+    </xsl:when>
+    <xsl:when test="$frame='none'">
+      <xsl:attribute name="border-left-style">none</xsl:attribute>
+      <xsl:attribute name="border-right-style">none</xsl:attribute>
+      <xsl:attribute name="border-top-style">none</xsl:attribute>
+      <xsl:attribute name="border-bottom-style">none</xsl:attribute>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>Impossible frame on table: </xsl:text>
+        <xsl:value-of select="$frame"/>
+      </xsl:message>
+      <xsl:attribute name="border-left-style">none</xsl:attribute>
+      <xsl:attribute name="border-right-style">none</xsl:attribute>
+      <xsl:attribute name="border-top-style">none</xsl:attribute>
+      <xsl:attribute name="border-bottom-style">none</xsl:attribute>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="border">
+  <xsl:param name="side" select="'left'"/>
+
+  <xsl:attribute name="border-{$side}-width">
+    <xsl:value-of select="$table.cell.border.thickness"/>
+  </xsl:attribute>
+  <xsl:attribute name="border-{$side}-style">
+    <xsl:value-of select="$table.cell.border.style"/>
+  </xsl:attribute>
+  <xsl:attribute name="border-{$side}-color">
+    <xsl:value-of select="$table.cell.border.color"/>
+  </xsl:attribute>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="tgroup" name="tgroup">
+  <xsl:if test="not(@cols) or @cols = '' or string(number(@cols)) = 'NaN'">
+    <xsl:message terminate="yes">
+      <xsl:text>Error: CALS tables must specify the number of columns.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="table.width">
+    <xsl:call-template name="table.width"/>
+  </xsl:variable>
+
+  <xsl:variable name="colspecs">
+    <xsl:choose>
+      <xsl:when test="$use.extensions != 0
+                      and $tablecolumns.extension != 0">
+        <xsl:call-template name="generate.colgroup.raw">
+          <xsl:with-param name="cols" select="@cols"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="generate.colgroup">
+          <xsl:with-param name="cols" select="@cols"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="prop-columns"
+                select=".//colspec[contains(@colwidth, '*')]"/>
+  <xsl:if test="count($prop-columns) != 0 or
+                $fop.extensions != 0 or
+                $fop1.extensions != 0 or
+                $passivetex.extensions != 0">
+    <xsl:attribute name="table-layout">fixed</xsl:attribute>
+  </xsl:if>
+
+  <xsl:if test="count(preceding-sibling::tgroup) = 0">
+    <!-- If this is the first tgroup, output the width attribute for the -->
+    <!-- surrounding fo:table. (If this isn't the first tgroup, trying   -->
+    <!-- to output the attribute will cause an error.)                   -->
+    <xsl:attribute name="width">
+      <xsl:value-of select="$table.width"/>
+    </xsl:attribute>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="$use.extensions != 0
+                    and $tablecolumns.extension != 0">
+      <xsl:choose>
+        <xsl:when test="function-available('stbl:adjustColumnWidths')">
+          <xsl:copy-of select="stbl:adjustColumnWidths($colspecs)"/>
+        </xsl:when>
+        <xsl:when test="function-available('xtbl:adjustColumnWidths')">
+          <xsl:copy-of select="xtbl:adjustColumnWidths($colspecs)"/>
+        </xsl:when>
+        <xsl:when test="function-available('ptbl:adjustColumnWidths')">
+          <xsl:copy-of select="ptbl:adjustColumnWidths($colspecs)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message terminate="yes">
+            <xsl:text>No adjustColumnWidths function available.</xsl:text>
+          </xsl:message>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$colspecs"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:apply-templates select="thead"/>
+  <xsl:apply-templates select="tfoot"/>
+  <xsl:apply-templates select="tbody"/>
+</xsl:template>
+
+<xsl:template match="colspec"></xsl:template>
+
+<xsl:template name="table.width">
+
+  <xsl:variable name="numcols">
+    <xsl:call-template name="widest-html-row">
+      <xsl:with-param name="rows" select=".//tr"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="explicit.table.width">
+    <xsl:choose>
+      <xsl:when test="self::entrytbl">
+        <xsl:call-template name="dbfo-attribute">
+          <xsl:with-param name="pis" 
+                          select="processing-instruction('dbfo')"/>
+          <xsl:with-param name="attribute" select="'table-width'"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test="self::table or self::informaltable">
+        <xsl:call-template name="dbfo-attribute">
+          <xsl:with-param name="pis" 
+                          select="processing-instruction('dbfo')"/>
+          <xsl:with-param name="attribute" select="'table-width'"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="dbfo-attribute">
+          <xsl:with-param name="pis" 
+                          select="../processing-instruction('dbfo')"/>
+          <xsl:with-param name="attribute" select="'table-width'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="column.sum">
+    <xsl:choose>
+      <!-- CALS table -->
+      <xsl:when test="tgroup[1][@cols]">
+        <xsl:if test="count(tgroup[1]/colspec) = tgroup/@cols">
+          <xsl:for-each select="tgroup[1]/colspec">
+            <xsl:if test="position() != 1">
+              <xsl:text> + </xsl:text>
+            </xsl:if>
+            <xsl:choose>
+              <xsl:when test="not(@colwidth)">NOWIDTH</xsl:when>
+              <xsl:when test="contains(@colwidth, '*')">NOWIDTH</xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select="@colwidth"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:for-each>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- HTML table -->
+        <xsl:if test="count(col|colgroup/col) = $numcols">
+          <xsl:for-each select="col|colgroup/col">
+            <xsl:if test="position() != 1">
+              <xsl:text> + </xsl:text>
+            </xsl:if>
+            <xsl:choose>
+              <xsl:when test="not(@width)">NOWIDTH</xsl:when>
+              <xsl:when test="contains(@width, '%')">NOWIDTH</xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select="@width"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:for-each>
+        </xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="column.sum.width">
+    <xsl:if test="not(contains($column.sum, 'NOWIDTH'))">
+      <xsl:value-of select="$column.sum"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="prop-columns"
+                select=".//colspec[contains(@colwidth, '*')]"/>
+
+  <xsl:variable name="table.width">
+    <xsl:choose>
+      <xsl:when test="$explicit.table.width != ''">
+        <xsl:value-of select="$explicit.table.width"/>
+      </xsl:when>
+      <xsl:when test="$column.sum.width != ''">
+        <xsl:value-of select="$column.sum.width"/>
+      </xsl:when>
+      <xsl:when test="$default.table.width = ''">
+        <xsl:choose>
+          <!-- These processors don't support table-layout="auto" -->
+          <xsl:when test="$fop.extensions != 0 or
+                          $fop1.extensions != 0 or
+                          $passivetex.extensions != 0">
+            <xsl:text>100%</xsl:text>
+          </xsl:when>
+          <!-- Proportional columns imply 100% width -->
+          <xsl:when test="count($prop-columns) != 0">
+            <xsl:text>100%</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:text>auto</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$default.table.width"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:value-of select="$table.width"/>
+
+</xsl:template>
+
+<xsl:template match="spanspec"></xsl:template>
+
+<xsl:template match="thead">
+  <xsl:variable name="tgroup" select="parent::*"/>
+
+  <fo:table-header start-indent="0pt" end-indent="0pt">
+    <xsl:apply-templates select="row[1]">
+      <xsl:with-param name="spans">
+        <xsl:call-template name="blank.spans">
+          <xsl:with-param name="cols" select="../@cols"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:apply-templates>
+  </fo:table-header>
+</xsl:template>
+
+<xsl:template match="tfoot">
+  <xsl:variable name="tgroup" select="parent::*"/>
+
+  <fo:table-footer start-indent="0pt" end-indent="0pt">
+    <xsl:apply-templates select="row[1]">
+      <xsl:with-param name="spans">
+        <xsl:call-template name="blank.spans">
+          <xsl:with-param name="cols" select="../@cols"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:apply-templates>
+
+  </fo:table-footer>
+</xsl:template>
+
+<xsl:template match="tbody">
+  <xsl:variable name="tgroup" select="parent::*"/>
+
+  <fo:table-body start-indent="0pt" end-indent="0pt">
+    <xsl:apply-templates select="row[1]">
+      <xsl:with-param name="spans">
+        <xsl:call-template name="blank.spans">
+          <xsl:with-param name="cols" select="../@cols"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:apply-templates>
+  </fo:table-body>
+</xsl:template>
+
+<xsl:template match="row">
+  <xsl:param name="spans"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($spans, '0')">
+      <xsl:call-template name="normal-row">
+        <xsl:with-param name="spans" select="$spans"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <!--
+      <xsl:message>
+        <xsl:text>Ignoring row: </xsl:text>
+        <xsl:value-of select="$spans"/>
+        <xsl:text> = </xsl:text>
+        <xsl:call-template name="consume-row">
+          <xsl:with-param name="spans" select="$spans"/>
+        </xsl:call-template>
+      </xsl:message>
+      -->
+
+      <xsl:if test="normalize-space(.//text()) != ''">
+        <xsl:message>Warning: overlapped row contains content!</xsl:message>
+      </xsl:if>
+
+      <fo:table-row>
+        <xsl:comment> This row intentionally left blank </xsl:comment>
+        <fo:table-cell><fo:block/></fo:table-cell>
+      </fo:table-row>
+
+      <xsl:apply-templates select="following-sibling::row[1]">
+        <xsl:with-param name="spans">
+          <xsl:call-template name="consume-row">
+            <xsl:with-param name="spans" select="$spans"/>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="normal-row">
+  <xsl:param name="spans"/>
+
+  <fo:table-row>
+    <xsl:call-template name="table.row.properties"/>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:apply-templates select="(entry|entrytbl)[1]">
+      <xsl:with-param name="spans" select="$spans"/>
+    </xsl:apply-templates>
+  </fo:table-row>
+
+  <xsl:if test="following-sibling::row">
+    <xsl:variable name="nextspans">
+      <xsl:apply-templates select="(entry|entrytbl)[1]" mode="span">
+        <xsl:with-param name="spans" select="$spans"/>
+      </xsl:apply-templates>
+    </xsl:variable>
+
+    <xsl:apply-templates select="following-sibling::row[1]">
+      <xsl:with-param name="spans" select="$nextspans"/>
+    </xsl:apply-templates>
+  </xsl:if>
+</xsl:template>
+
+<!-- customize this template to add row properties -->
+<xsl:template name="table.row.properties">
+  <xsl:variable name="bgcolor">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'bgcolor'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:if test="$bgcolor != ''">
+    <xsl:attribute name="background-color">
+      <xsl:value-of select="$bgcolor"/>
+    </xsl:attribute>
+  </xsl:if>
+
+</xsl:template>
+
+<xsl:template match="entry|entrytbl" name="entry">
+  <xsl:param name="col" select="1"/>
+  <xsl:param name="spans"/>
+
+  <xsl:variable name="row" select="parent::row"/>
+  <xsl:variable name="group" select="$row/parent::*[1]"/>
+  <xsl:variable name="frame" select="ancestor::tgroup/parent::*/@frame"/>
+
+  <xsl:variable name="empty.cell" select="count(node()) = 0"/>
+
+  <xsl:variable name="named.colnum">
+    <xsl:call-template name="entry.colnum"/>
+  </xsl:variable>
+
+  <xsl:variable name="entry.colnum">
+    <xsl:choose>
+      <xsl:when test="$named.colnum &gt; 0">
+        <xsl:value-of select="$named.colnum"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$col"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="entry.colspan">
+    <xsl:choose>
+      <xsl:when test="@spanname or @namest">
+        <xsl:call-template name="calculate.colspan"/>
+      </xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="following.spans">
+    <xsl:call-template name="calculate.following.spans">
+      <xsl:with-param name="colspan" select="$entry.colspan"/>
+      <xsl:with-param name="spans" select="$spans"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="rowsep">
+    <xsl:choose>
+      <!-- If this is the last row, rowsep never applies. -->
+      <xsl:when test="not(ancestor-or-self::row[1]/following-sibling::row
+                          or ancestor-or-self::thead/following-sibling::tbody
+                          or ancestor-or-self::tbody/preceding-sibling::tfoot)">
+        <xsl:value-of select="0"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inherited.table.attribute">
+          <xsl:with-param name="entry" select="."/>
+          <xsl:with-param name="colnum" select="$entry.colnum"/>
+          <xsl:with-param name="attribute" select="'rowsep'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+<!--
+  <xsl:message><xsl:value-of select="."/>: <xsl:value-of select="$rowsep"/></xsl:message>
+-->
+
+  <xsl:variable name="colsep">
+    <xsl:choose>
+      <!-- If this is the last column, colsep never applies. -->
+      <xsl:when test="$following.spans = ''">0</xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inherited.table.attribute">
+          <xsl:with-param name="entry" select="."/>
+          <xsl:with-param name="colnum" select="$entry.colnum"/>
+          <xsl:with-param name="attribute" select="'colsep'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="valign">
+    <xsl:call-template name="inherited.table.attribute">
+      <xsl:with-param name="entry" select="."/>
+      <xsl:with-param name="colnum" select="$entry.colnum"/>
+      <xsl:with-param name="attribute" select="'valign'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="align">
+    <xsl:call-template name="inherited.table.attribute">
+      <xsl:with-param name="entry" select="."/>
+      <xsl:with-param name="colnum" select="$entry.colnum"/>
+      <xsl:with-param name="attribute" select="'align'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="char">
+    <xsl:call-template name="inherited.table.attribute">
+      <xsl:with-param name="entry" select="."/>
+      <xsl:with-param name="colnum" select="$entry.colnum"/>
+      <xsl:with-param name="attribute" select="'char'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="charoff">
+    <xsl:call-template name="inherited.table.attribute">
+      <xsl:with-param name="entry" select="."/>
+      <xsl:with-param name="colnum" select="$entry.colnum"/>
+      <xsl:with-param name="attribute" select="'charoff'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$spans != '' and not(starts-with($spans,'0:'))">
+      <xsl:call-template name="entry">
+        <xsl:with-param name="col" select="$col+1"/>
+        <xsl:with-param name="spans" select="substring-after($spans,':')"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:when test="number($entry.colnum) &gt; $col">
+      <xsl:call-template name="empty.table.cell">
+        <xsl:with-param name="colnum" select="$col"/>
+      </xsl:call-template>
+      <xsl:call-template name="entry">
+        <xsl:with-param name="col" select="$col+1"/>
+        <xsl:with-param name="spans" select="substring-after($spans,':')"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:variable name="cell.content">
+        <fo:block>
+          <xsl:call-template name="table.cell.block.properties"/>
+
+          <!-- are we missing any indexterms? -->
+          <xsl:if test="not(preceding-sibling::entry)
+                        and not(parent::row/preceding-sibling::row)">
+            <!-- this is the first entry of the first row -->
+            <xsl:if test="ancestor::thead or
+                          (ancestor::tbody
+                           and not(ancestor::tbody/preceding-sibling::thead
+                                   or ancestor::tbody/preceding-sibling::tbody))">
+              <!-- of the thead or the first tbody -->
+              <xsl:apply-templates select="ancestor::tgroup/preceding-sibling::indexterm"/>
+            </xsl:if>
+          </xsl:if>
+
+          <!--
+          <xsl:text>(</xsl:text>
+          <xsl:value-of select="$rowsep"/>
+          <xsl:text>,</xsl:text>
+          <xsl:value-of select="$colsep"/>
+          <xsl:text>)</xsl:text>
+          -->
+          <xsl:choose>
+            <xsl:when test="$empty.cell">
+              <xsl:text>&#160;</xsl:text>
+            </xsl:when>
+            <xsl:when test="self::entrytbl">
+              <xsl:variable name="prop-columns"
+                            select=".//colspec[contains(@colwidth, '*')]"/>
+              <fo:table xsl:use-attribute-sets="table.table.properties">
+                <xsl:if test="count($prop-columns) != 0">
+                  <xsl:attribute name="table-layout">fixed</xsl:attribute>
+                </xsl:if>
+                <xsl:call-template name="tgroup"/>
+              </fo:table>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </fo:block>
+      </xsl:variable>
+
+      <xsl:variable name="cell-orientation">
+        <xsl:call-template name="dbfo-attribute">
+          <xsl:with-param name="pis"
+                          select="ancestor-or-self::entry/processing-instruction('dbfo')"/>
+          <xsl:with-param name="attribute" select="'orientation'"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="row-orientation">
+        <xsl:call-template name="dbfo-attribute">
+          <xsl:with-param name="pis"
+                          select="ancestor-or-self::row/processing-instruction('dbfo')"/>
+          <xsl:with-param name="attribute" select="'orientation'"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="cell-width">
+        <xsl:call-template name="dbfo-attribute">
+          <xsl:with-param name="pis"
+                          select="ancestor-or-self::entry/processing-instruction('dbfo')"/>
+          <xsl:with-param name="attribute" select="'rotated-width'"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="row-width">
+        <xsl:call-template name="dbfo-attribute">
+          <xsl:with-param name="pis"
+                          select="ancestor-or-self::row/processing-instruction('dbfo')"/>
+          <xsl:with-param name="attribute" select="'rotated-width'"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="orientation">
+        <xsl:choose>
+          <xsl:when test="$cell-orientation != ''">
+            <xsl:value-of select="$cell-orientation"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$row-orientation"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:variable name="rotated-width">
+        <xsl:choose>
+          <xsl:when test="$cell-width != ''">
+            <xsl:value-of select="$cell-width"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$row-width"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:variable name="bgcolor">
+        <xsl:call-template name="dbfo-attribute">
+          <xsl:with-param name="pis"
+                          select="ancestor-or-self::entry/processing-instruction('dbfo')"/>
+          <xsl:with-param name="attribute" select="'bgcolor'"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <fo:table-cell xsl:use-attribute-sets="table.cell.padding">
+        <xsl:call-template name="table.cell.properties">
+          <xsl:with-param name="bgcolor.pi" select="$bgcolor"/>
+          <xsl:with-param name="rowsep.inherit" select="$rowsep"/>
+          <xsl:with-param name="colsep.inherit" select="$colsep"/>
+          <xsl:with-param name="col" select="$col"/>
+          <xsl:with-param name="valign.inherit" select="$valign"/>
+          <xsl:with-param name="align.inherit" select="$align"/>
+          <xsl:with-param name="char.inherit" select="$char"/>
+        </xsl:call-template>
+
+        <xsl:call-template name="anchor"/>
+
+        <xsl:if test="@morerows">
+          <xsl:attribute name="number-rows-spanned">
+            <xsl:value-of select="@morerows+1"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$entry.colspan &gt; 1">
+          <xsl:attribute name="number-columns-spanned">
+            <xsl:value-of select="$entry.colspan"/>
+          </xsl:attribute>
+        </xsl:if>
+
+<!--
+        <xsl:if test="@charoff">
+          <xsl:attribute name="charoff">
+            <xsl:value-of select="@charoff"/>
+          </xsl:attribute>
+        </xsl:if>
+-->
+
+        <xsl:choose>
+          <xsl:when test="$fop.extensions = 0 and $passivetex.extensions = 0
+                          and $orientation != ''">
+            <fo:block-container reference-orientation="{$orientation}">
+              <xsl:if test="$rotated-width != ''">
+                <xsl:attribute name="width">
+                  <xsl:value-of select="$rotated-width"/>
+                </xsl:attribute>
+              </xsl:if>
+              <xsl:copy-of select="$cell.content"/>
+            </fo:block-container>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:copy-of select="$cell.content"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </fo:table-cell>
+
+      <xsl:choose>
+        <xsl:when test="following-sibling::entry|following-sibling::entrytbl">
+          <xsl:apply-templates select="(following-sibling::entry
+                                       |following-sibling::entrytbl)[1]">
+            <xsl:with-param name="col" select="$col+$entry.colspan"/>
+            <xsl:with-param name="spans" select="$following.spans"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="finaltd">
+            <xsl:with-param name="spans" select="$following.spans"/>
+            <xsl:with-param name="col" select="$col+$entry.colspan"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- Expand this template to add properties to any fo:table-cell -->
+<xsl:template name="table.cell.properties">
+  <xsl:param name="bgcolor.pi" select="''"/>
+  <xsl:param name="rowsep.inherit" select="1"/>
+  <xsl:param name="colsep.inherit" select="1"/>
+  <xsl:param name="col" select="1"/>
+  <xsl:param name="valign.inherit" select="''"/>
+  <xsl:param name="align.inherit" select="''"/>
+  <xsl:param name="char.inherit" select="''"/>
+
+  <xsl:choose>
+    <xsl:when test="ancestor::tgroup">
+      <xsl:if test="$bgcolor.pi != ''">
+        <xsl:attribute name="background-color">
+          <xsl:value-of select="$bgcolor.pi"/>
+        </xsl:attribute>
+      </xsl:if>
+
+      <xsl:if test="$rowsep.inherit &gt; 0">
+        <xsl:call-template name="border">
+          <xsl:with-param name="side" select="'bottom'"/>
+        </xsl:call-template>
+      </xsl:if>
+
+      <xsl:if test="$colsep.inherit &gt; 0 and 
+                      $col &lt; ancestor::tgroup/@cols">
+        <xsl:call-template name="border">
+          <xsl:with-param name="side" select="'right'"/>
+        </xsl:call-template>
+      </xsl:if>
+
+      <xsl:if test="$valign.inherit != ''">
+        <xsl:attribute name="display-align">
+          <xsl:choose>
+            <xsl:when test="$valign.inherit='top'">before</xsl:when>
+            <xsl:when test="$valign.inherit='middle'">center</xsl:when>
+            <xsl:when test="$valign.inherit='bottom'">after</xsl:when>
+            <xsl:otherwise>
+              <xsl:message>
+                <xsl:text>Unexpected valign value: </xsl:text>
+                <xsl:value-of select="$valign.inherit"/>
+                <xsl:text>, center used.</xsl:text>
+              </xsl:message>
+              <xsl:text>center</xsl:text>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:attribute>
+      </xsl:if>
+
+      <xsl:choose>
+        <xsl:when test="$align.inherit = 'char' and $char.inherit != ''">
+          <xsl:attribute name="text-align">
+            <xsl:value-of select="$char.inherit"/>
+          </xsl:attribute>
+        </xsl:when>
+        <xsl:when test="$align.inherit != ''">
+          <xsl:attribute name="text-align">
+            <xsl:value-of select="$align.inherit"/>
+          </xsl:attribute>
+        </xsl:when>
+      </xsl:choose>
+
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- HTML table -->
+      <xsl:variable name="border" 
+                    select="(ancestor::table |
+                             ancestor::informaltable)[last()]/@border"/>
+      <xsl:if test="$border != '' and $border != 0">
+        <xsl:attribute name="border">
+          <xsl:value-of select="$table.cell.border.thickness"/>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="$table.cell.border.style"/>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="$table.cell.border.color"/>
+        </xsl:attribute>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<!-- Expand this template to add properties to any cell's block -->
+<xsl:template name="table.cell.block.properties">
+  <!-- highlight this entry? -->
+  <xsl:if test="ancestor::thead or ancestor::tfoot">
+    <xsl:attribute name="font-weight">bold</xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="entry|entrytbl" name="sentry" mode="span">
+  <xsl:param name="col" select="1"/>
+  <xsl:param name="spans"/>
+
+  <xsl:variable name="entry.colnum">
+    <xsl:call-template name="entry.colnum"/>
+  </xsl:variable>
+
+  <xsl:variable name="entry.colspan">
+    <xsl:choose>
+      <xsl:when test="@spanname or @namest">
+        <xsl:call-template name="calculate.colspan"/>
+      </xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="following.spans">
+    <xsl:call-template name="calculate.following.spans">
+      <xsl:with-param name="colspan" select="$entry.colspan"/>
+      <xsl:with-param name="spans" select="$spans"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$spans != '' and not(starts-with($spans,'0:'))">
+      <xsl:value-of select="substring-before($spans,':')-1"/>
+      <xsl:text>:</xsl:text>
+      <xsl:call-template name="sentry">
+        <xsl:with-param name="col" select="$col+1"/>
+        <xsl:with-param name="spans" select="substring-after($spans,':')"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:when test="number($entry.colnum) &gt; $col">
+      <xsl:text>0:</xsl:text>
+      <xsl:call-template name="sentry">
+        <xsl:with-param name="col" select="$col+$entry.colspan"/>
+        <xsl:with-param name="spans" select="$following.spans"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:call-template name="copy-string">
+        <xsl:with-param name="count" select="$entry.colspan"/>
+        <xsl:with-param name="string">
+          <xsl:choose>
+            <xsl:when test="@morerows">
+              <xsl:value-of select="@morerows"/>
+            </xsl:when>
+            <xsl:otherwise>0</xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>:</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+
+      <xsl:choose>
+        <xsl:when test="following-sibling::entry|following-sibling::entrytbl">
+          <xsl:apply-templates select="(following-sibling::entry
+                                       |following-sibling::entrytbl)[1]"
+                               mode="span">
+            <xsl:with-param name="col" select="$col+$entry.colspan"/>
+            <xsl:with-param name="spans" select="$following.spans"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="sfinaltd">
+            <xsl:with-param name="spans" select="$following.spans"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="generate.colgroup.raw">
+  <xsl:param name="cols" select="1"/>
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="$count>$cols"></xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="generate.col.raw">
+        <xsl:with-param name="countcol" select="$count"/>
+      </xsl:call-template>
+      <xsl:call-template name="generate.colgroup.raw">
+        <xsl:with-param name="cols" select="$cols"/>
+        <xsl:with-param name="count" select="$count+1"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="generate.colgroup">
+  <xsl:param name="cols" select="1"/>
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="$count>$cols"></xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="generate.col">
+        <xsl:with-param name="countcol" select="$count"/>
+      </xsl:call-template>
+      <xsl:call-template name="generate.colgroup">
+        <xsl:with-param name="cols" select="$cols"/>
+        <xsl:with-param name="count" select="$count+1"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="generate.col.raw">
+  <!-- generate the table-column for column countcol -->
+  <xsl:param name="countcol">1</xsl:param>
+  <xsl:param name="colspecs" select="./colspec"/>
+  <xsl:param name="count">1</xsl:param>
+  <xsl:param name="colnum">1</xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$count>count($colspecs)">
+      <fo:table-column column-number="{$countcol}"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="colspec" select="$colspecs[$count=position()]"/>
+
+      <xsl:variable name="colspec.colnum">
+        <xsl:choose>
+          <xsl:when test="$colspec/@colnum">
+            <xsl:value-of select="$colspec/@colnum"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$colnum"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:variable name="colspec.colwidth">
+        <xsl:choose>
+          <xsl:when test="$colspec/@colwidth">
+            <xsl:value-of select="$colspec/@colwidth"/>
+          </xsl:when>
+          <xsl:otherwise>1*</xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$colspec.colnum=$countcol">
+          <fo:table-column column-number="{$countcol}">
+            <xsl:attribute name="column-width">
+              <xsl:value-of select="$colspec.colwidth"/>
+            </xsl:attribute>
+          </fo:table-column>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="generate.col.raw">
+            <xsl:with-param name="countcol" select="$countcol"/>
+            <xsl:with-param name="colspecs" select="$colspecs"/>
+            <xsl:with-param name="count" select="$count+1"/>
+            <xsl:with-param name="colnum">
+              <xsl:choose>
+                <xsl:when test="$colspec/@colnum">
+                  <xsl:value-of select="$colspec/@colnum + 1"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="$colnum + 1"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+           </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="generate.col">
+  <!-- generate the table-column for column countcol -->
+  <xsl:param name="countcol">1</xsl:param>
+  <xsl:param name="colspecs" select="./colspec"/>
+  <xsl:param name="count">1</xsl:param>
+  <xsl:param name="colnum">1</xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$count>count($colspecs)">
+      <fo:table-column column-number="{$countcol}">
+        <xsl:variable name="colwidth">
+          <xsl:call-template name="calc.column.width"/>
+        </xsl:variable>
+        <xsl:if test="$colwidth != 'proportional-column-width(1)'">
+          <xsl:attribute name="column-width">
+            <xsl:value-of select="$colwidth"/>
+          </xsl:attribute>
+        </xsl:if>
+      </fo:table-column>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="colspec" select="$colspecs[$count=position()]"/>
+
+      <xsl:variable name="colspec.colnum">
+        <xsl:choose>
+          <xsl:when test="$colspec/@colnum">
+            <xsl:value-of select="$colspec/@colnum"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$colnum"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:variable name="colspec.colwidth">
+        <xsl:choose>
+          <xsl:when test="$colspec/@colwidth">
+            <xsl:value-of select="$colspec/@colwidth"/>
+          </xsl:when>
+          <xsl:otherwise>1*</xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$colspec.colnum=$countcol">
+          <fo:table-column column-number="{$countcol}">
+            <xsl:variable name="colwidth">
+              <xsl:call-template name="calc.column.width">
+                <xsl:with-param name="colwidth">
+                  <xsl:value-of select="$colspec.colwidth"/>
+                </xsl:with-param>
+              </xsl:call-template>
+            </xsl:variable>
+            <xsl:if test="$colwidth != 'proportional-column-width(1)'">
+              <xsl:attribute name="column-width">
+                <xsl:value-of select="$colwidth"/>
+              </xsl:attribute>
+            </xsl:if>
+          </fo:table-column>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="generate.col">
+            <xsl:with-param name="countcol" select="$countcol"/>
+            <xsl:with-param name="colspecs" select="$colspecs"/>
+            <xsl:with-param name="count" select="$count+1"/>
+            <xsl:with-param name="colnum">
+              <xsl:choose>
+                <xsl:when test="$colspec/@colnum">
+                  <xsl:value-of select="$colspec/@colnum + 1"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="$colnum + 1"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+           </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<doc:template name="calc.column.width" xmlns="">
+<refpurpose>Calculate an XSL FO table column width specification from a
+CALS table column width specification.</refpurpose>
+
+<refdescription>
+<para>CALS expresses table column widths in the following basic
+forms:</para>
+
+<itemizedlist>
+<listitem>
+<para><emphasis>99.99units</emphasis>, a fixed length specifier.</para>
+</listitem>
+<listitem>
+<para><emphasis>99.99</emphasis>, a fixed length specifier without any units.</para>
+</listitem>
+<listitem>
+<para><emphasis>99.99*</emphasis>, a relative length specifier.</para>
+</listitem>
+<listitem>
+<para><emphasis>99.99*+99.99units</emphasis>, a combination of both.</para>
+</listitem>
+</itemizedlist>
+
+<para>The CALS units are points (pt), picas (pi), centimeters (cm),
+millimeters (mm), and inches (in). These are the same units as XSL,
+except that XSL abbreviates picas "pc" instead of "pi". If a length
+specifier has no units, the CALS default unit (pt) is assumed.</para>
+
+<para>Relative length specifiers are represented in XSL with the
+proportional-column-width() function.</para>
+
+<para>Here are some examples:</para>
+
+<itemizedlist>
+<listitem>
+<para>"36pt" becomes "36pt"</para>
+</listitem>
+<listitem>
+<para>"3pi" becomes "3pc"</para>
+</listitem>
+<listitem>
+<para>"36" becomes "36pt"</para>
+</listitem>
+<listitem>
+<para>"3*" becomes "proportional-column-width(3)"</para>
+</listitem>
+<listitem>
+<para>"3*+2pi" becomes "proportional-column-width(3)+2pc"</para>
+</listitem>
+<listitem>
+<para>"1*+2" becomes "proportional-column-width(1)+2pt"</para>
+</listitem>
+</itemizedlist>
+</refdescription>
+
+<refparameter>
+<variablelist>
+<varlistentry><term>colwidth</term>
+<listitem>
+<para>The CALS column width specification.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparameter>
+
+<refreturn>
+<para>The XSL column width specification.</para>
+</refreturn>
+</doc:template>
+
+<xsl:template name="calc.column.width">
+  <xsl:param name="colwidth">1*</xsl:param>
+
+  <!-- Ok, the colwidth could have any one of the following forms: -->
+  <!--        1*       = proportional width -->
+  <!--         *       = same as 1* -->
+  <!--     1unit       = 1.0 units wide -->
+  <!--         1       = 1pt wide -->
+  <!--  1*+1unit       = proportional width + some fixed width -->
+  <!--      1*+1       = proportional width + some fixed width -->
+
+  <!-- If it has a proportional width, translate it to XSL -->
+  <xsl:if test="contains($colwidth, '*')">
+    <xsl:text>proportional-column-width(</xsl:text>
+    <xsl:choose>
+      <xsl:when test="substring-before($colwidth, '*') != ''"> 
+        <xsl:value-of select="substring-before($colwidth, '*')"/>
+      </xsl:when>
+      <xsl:otherwise>
+         <xsl:text>1.00</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:text>)</xsl:text>
+  </xsl:if>
+
+  <!-- Now grab the non-proportional part of the specification -->
+  <xsl:variable name="width-units">
+    <xsl:choose>
+      <xsl:when test="contains($colwidth, '*')">
+        <xsl:value-of
+             select="normalize-space(substring-after($colwidth, '*'))"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="normalize-space($colwidth)"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- Ok, now the width-units could have any one of the following forms: -->
+  <!--                 = <empty string> -->
+  <!--     1unit       = 1.0 units wide -->
+  <!--         1       = 1pt wide -->
+  <!-- with an optional leading sign -->
+
+  <!-- Grab the width part by blanking out the units part and discarding -->
+  <!-- whitespace. It's not pretty, but it works. -->
+  <xsl:variable name="width"
+       select="normalize-space(translate($width-units,
+                                         '+-0123456789.abcdefghijklmnopqrstuvwxyz',
+                                         '+-0123456789.'))"/>
+
+  <!-- Grab the units part by blanking out the width part and discarding -->
+  <!-- whitespace. It's not pretty, but it works. -->
+  <xsl:variable name="units"
+       select="normalize-space(translate($width-units,
+                                         'abcdefghijklmnopqrstuvwxyz+-0123456789.',
+                                         'abcdefghijklmnopqrstuvwxyz'))"/>
+
+  <!-- Output the width -->
+  <xsl:value-of select="$width"/>
+
+  <!-- Output the units, translated appropriately -->
+  <xsl:choose>
+    <xsl:when test="$units = 'pi'">pc</xsl:when>
+    <xsl:when test="$units = '' and $width != ''">pt</xsl:when>
+    <xsl:otherwise><xsl:value-of select="$units"/></xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/task.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/task.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/task.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,81 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: task.xsl 5871 2006-04-19 13:38:37Z kosek $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="task">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="param.placement"
+                select="substring-after(normalize-space($formal.title.placement),
+                                        concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="preamble"
+                select="*[not(self::title
+                              or self::titleabbrev)]"/>
+
+  <fo:block id="{$id}"
+            xsl:use-attribute-sets="formal.object.properties">
+    <xsl:call-template name="anchor"/>
+
+    <xsl:if test="title and $placement = 'before'">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="$preamble"/>
+
+    <xsl:if test="title and $placement != 'before'">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="task/title">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="tasksummary">
+  <xsl:call-template name="semiformal.object"/>
+</xsl:template>
+
+<xsl:template match="tasksummary/title"/>
+
+<xsl:template match="taskprerequisites">
+  <xsl:call-template name="semiformal.object"/>
+</xsl:template>
+
+<xsl:template match="taskprerequisites/title"/>
+
+<xsl:template match="taskrelated">
+  <xsl:call-template name="semiformal.object"/>
+</xsl:template>
+
+<xsl:template match="taskrelated/title"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/titlepage.templates.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/titlepage.templates.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/titlepage.templates.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1311 @@
+<!DOCTYPE t:templates [
+<!ENTITY hsize0 "10pt">
+<!ENTITY hsize1 "12pt">
+<!ENTITY hsize2 "14.4pt">
+<!ENTITY hsize3 "17.28pt">
+<!ENTITY hsize4 "20.736pt">
+<!ENTITY hsize5 "24.8832pt">
+<!ENTITY hsize0space "7.5pt"> <!-- 0.75 * hsize0 -->
+<!ENTITY hsize1space "9pt"> <!-- 0.75 * hsize1 -->
+<!ENTITY hsize2space "10.8pt"> <!-- 0.75 * hsize2 -->
+<!ENTITY hsize3space "12.96pt"> <!-- 0.75 * hsize3 -->
+<!ENTITY hsize4space "15.552pt"> <!-- 0.75 * hsize4 -->
+<!ENTITY hsize5space "18.6624pt"> <!-- 0.75 * hsize5 -->
+]>
+<t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
+	     xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
+             xmlns:fo="http://www.w3.org/1999/XSL/Format"
+             xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<!-- ********************************************************************
+     $Id: titlepage.templates.xml 5947 2006-05-07 07:20:39Z bobstayton $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheet distribution.
+     See ../README or http://docbook.sf.net/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="article" t:wrapper="fo:block"
+             font-family="{$title.fontset}">
+
+  <t:titlepage-content t:side="recto"
+	     start-indent="0pt"
+             text-align="center">
+
+    <title t:named-template="component.title"
+	   param:node="ancestor-or-self::article[1]"
+	   keep-with-next.within-column="always"
+	   font-size="&hsize5;"
+	   font-weight="bold"/>
+
+    <subtitle/>
+
+    <corpauthor space-before="0.5em"
+                font-size="&hsize2;"/>
+    <authorgroup space-before="0.5em"
+                 font-size="&hsize2;"/>
+    <author space-before="0.5em"
+            font-size="&hsize2;"/>
+
+    <othercredit space-before="0.5em"/>
+    <releaseinfo space-before="0.5em"/>
+    <copyright space-before="0.5em"/>
+    <legalnotice text-align="start"
+                 margin-left="0.5in"
+                 margin-right="0.5in"
+                 font-family="{$body.fontset}"/>
+    <pubdate space-before="0.5em"/>
+    <revision space-before="0.5em"/>
+    <revhistory space-before="0.5em"/>
+    <abstract space-before="0.5em"
+	      text-align="start"
+	      margin-left="0.5in"
+              margin-right="0.5in"
+              font-family="{$body.fontset}"/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="set" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+      <title
+	     t:named-template="division.title"
+	     param:node="ancestor-or-self::set[1]"
+	     text-align="center"
+	     font-size="&hsize5;"
+	     space-before="&hsize5space;"
+	     font-weight="bold"
+	     font-family="{$title.fontset}"/>
+    <subtitle
+	      font-family="{$title.fontset}"
+	      text-align="center"/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="book" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:named-template="division.title"
+	     param:node="ancestor-or-self::book[1]"
+	     text-align="center"
+	     font-size="&hsize5;"
+	     space-before="&hsize5space;"
+	     font-weight="bold"
+	     font-family="{$title.fontset}"/>
+      <subtitle
+		text-align="center"
+		font-size="&hsize4;"
+		space-before="&hsize4space;"
+		font-family="{$title.fontset}"/>
+      <corpauthor font-size="&hsize3;"
+		  keep-with-next.within-column="always"
+		  space-before="2in"/>
+      <authorgroup space-before="2in"/>
+      <author font-size="&hsize3;"
+	      space-before="&hsize2space;"
+	      keep-with-next.within-column="always"/>
+    </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+      <title
+	     t:named-template="book.verso.title"
+	     font-size="&hsize2;"
+	     font-weight="bold"
+	     font-family="{$title.fontset}"/>
+      <corpauthor/>
+      <authorgroup t:named-template="verso.authorgroup"/>
+      <author/>
+      <othercredit/>
+      <releaseinfo space-before="0.5em"/>
+      <pubdate space-before="1em"/>
+      <copyright/>
+      <abstract/>
+      <legalnotice font-size="8pt"/>
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+      <fo:block break-after="page"/>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+      <fo:block break-after="page"/>
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="part" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+      <title
+	     t:named-template="division.title"
+	     param:node="ancestor-or-self::part[1]"
+	     text-align="center"
+	     font-size="&hsize5;"
+	     space-before="&hsize5space;"
+	     font-weight="bold"
+	     font-family="{$title.fontset}"/>
+    <subtitle
+	      text-align="center"
+	      font-size="&hsize4;"
+	      space-before="&hsize4space;"
+	      font-weight='bold'
+	      font-style='italic'
+	      font-family="{$title.fontset}"/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="partintro" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+    <title
+	   text-align="center"
+	   font-size="&hsize5;"
+	   font-weight="bold"
+	   space-before="1em"
+	   font-family="{$title.fontset}"/>
+    <subtitle
+	      text-align="center"
+	      font-size="&hsize2;"
+	      font-weight="bold"
+	      font-style="italic"
+	      font-family="{$title.fontset}"/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="reference" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+      <title
+	     t:named-template="division.title"
+	     param:node="ancestor-or-self::reference[1]"
+	     text-align="center"
+	     font-size="&hsize5;"
+	     space-before="&hsize5space;"
+	     font-weight="bold"
+	     font-family="{$title.fontset}"/>
+    <subtitle
+	      font-family="{$title.fontset}"
+	      text-align="center"/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="refsynopsisdiv" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+    <title
+	   font-family="{$title.fontset}"/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="refsection" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+    <title
+	   font-family="{$title.fontset}"/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="refsect1" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+    <title
+	   font-family="{$title.fontset}"/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="refsect2" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+    <title
+	   font-family="{$title.fontset}"/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="refsect3" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+    <title
+	   font-family="{$title.fontset}"/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="dedication" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="component.title"
+	     param:node="ancestor-or-self::dedication[1]"
+	     margin-left="{$title.margin.left}"
+	     font-size="&hsize5;"
+	     font-family="{$title.fontset}"
+	     font-weight="bold"/>
+      <subtitle
+		font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="preface" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="component.title"
+	     param:node="ancestor-or-self::preface[1]"
+	     margin-left="{$title.margin.left}"
+	     font-size="&hsize5;"
+	     font-family="{$title.fontset}"
+	     font-weight="bold"/>
+      <subtitle
+		font-family="{$title.fontset}"/>
+      <corpauthor/>
+      <authorgroup/>
+      <author/>
+      <othercredit/>
+      <releaseinfo/>
+      <copyright/>
+      <legalnotice/>
+      <pubdate/>
+      <revision/>
+      <revhistory/>
+      <abstract/>
+    </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="chapter" t:wrapper="fo:block"
+               font-family="{$title.fontset}">
+    <t:titlepage-content t:side="recto" margin-left="{$title.margin.left}">
+      <title t:named-template="component.title"
+	     param:node="ancestor-or-self::chapter[1]"
+	     font-size="&hsize5;"
+	     font-weight="bold"/>
+
+      <subtitle space-before="0.5em"
+		font-style="italic"
+		font-size="&hsize2;"
+		font-weight="bold"/>
+
+      <corpauthor  space-before="0.5em"
+	           space-after="0.5em"
+                   font-size="&hsize2;"/>
+
+      <authorgroup space-before="0.5em"
+	           space-after="0.5em"
+                   font-size="&hsize2;"/>
+
+      <author      space-before="0.5em"
+	           space-after="0.5em"
+                   font-size="&hsize2;"/>
+
+      <othercredit/>
+      <releaseinfo/>
+      <copyright/>
+      <legalnotice/>
+      <pubdate/>
+      <revision/>
+      <revhistory/>
+      <abstract/>
+    </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="appendix" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:named-template="component.title"
+	     param:node="ancestor-or-self::appendix[1]"
+	     margin-left="{$title.margin.left}"
+	     font-size="&hsize5;"
+	     font-weight="bold"
+	     font-family="{$title.fontset}"/>
+      <subtitle
+		font-family="{$title.fontset}"/>
+      <corpauthor/>
+      <authorgroup/>
+      <author/>
+      <othercredit/>
+      <releaseinfo/>
+      <copyright/>
+      <legalnotice/>
+      <pubdate/>
+      <revision/>
+      <revhistory/>
+      <abstract/>
+    </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="section" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+    <title
+	   margin-left="{$title.margin.left}"
+	   font-family="{$title.fontset}"/>
+    <subtitle
+	      font-family="{$title.fontset}"/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="sect1" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+    <title
+	   margin-left="{$title.margin.left}"
+	   font-family="{$title.fontset}"/>
+    <subtitle
+	      font-family="{$title.fontset}"/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="sect2" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+    <title
+	   margin-left="{$title.margin.left}"
+	   font-family="{$title.fontset}"/>
+    <subtitle
+	      font-family="{$title.fontset}"/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="sect3" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+    <title
+	   margin-left="{$title.margin.left}"
+	   font-family="{$title.fontset}"/>
+    <subtitle
+	      font-family="{$title.fontset}"/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="sect4" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+    <title
+	   margin-left="{$title.margin.left}"
+	   font-family="{$title.fontset}"/>
+    <subtitle
+	      font-family="{$title.fontset}"/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="sect5" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+    <title
+	   margin-left="{$title.margin.left}"
+	   font-family="{$title.fontset}"/>
+    <subtitle
+	      font-family="{$title.fontset}"/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="simplesect" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+    <title
+	   margin-left="{$title.margin.left}"
+	   font-family="{$title.fontset}"/>
+    <subtitle
+	      font-family="{$title.fontset}"/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="bibliography" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="component.title"
+	     param:node="ancestor-or-self::bibliography[1]"
+	     margin-left="{$title.margin.left}"
+	     font-size="&hsize5;"
+	     font-family="{$title.fontset}"
+	     font-weight="bold"/>
+      <subtitle
+		font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="bibliodiv" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title t:named-template="component.title"
+	     param:node="ancestor-or-self::bibliodiv[1]"
+	     margin-left="{$title.margin.left}"
+	     font-size="&hsize4;"
+	     font-family="{$title.fontset}"
+	     font-weight="bold"/>
+      <subtitle
+		font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="glossary" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="component.title"
+	     param:node="ancestor-or-self::glossary[1]"
+	     margin-left="{$title.margin.left}"
+	     font-size="&hsize5;"
+	     font-family="{$title.fontset}"
+	     font-weight="bold"/>
+      <subtitle
+		font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="glossdiv" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title t:named-template="component.title"
+	     param:node="ancestor-or-self::glossdiv[1]"
+	     margin-left="{$title.margin.left}"
+	     font-size="&hsize4;"
+	     font-family="{$title.fontset}"
+	     font-weight="bold"/>
+      <subtitle
+		font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="index" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="component.title"
+	     param:node="ancestor-or-self::index[1]"
+             param:pagewide="1"
+	     margin-left="0pt"
+	     font-size="&hsize5;"
+	     font-family="{$title.fontset}"
+	     font-weight="bold"/>
+      <subtitle
+		font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <!-- The indexdiv.title template is used so that manual and -->
+  <!-- automatically generated indexdiv titles get the same -->
+  <!-- formatting. -->
+
+  <t:titlepage t:element="indexdiv" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title t:force="1"
+	     t:named-template="indexdiv.title"
+	     param:title="title"/>
+      <subtitle
+		font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="setindex" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="component.title"
+	     param:node="ancestor-or-self::setindex[1]"
+             param:pagewide="1"
+	     margin-left="0pt"
+	     font-size="&hsize5;"
+	     font-family="{$title.fontset}"
+	     font-weight="bold"/>
+      <subtitle
+		font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="colophon" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="component.title"
+	     param:node="ancestor-or-self::colophon[1]"
+	     margin-left="{$title.margin.left}"
+	     font-size="&hsize5;"
+	     font-family="{$title.fontset}"
+	     font-weight="bold"/>
+      <subtitle
+		font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="sidebar" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title 
+	     font-family="{$title.fontset}"
+	     font-weight="bold"/>
+      <subtitle
+		font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+<!-- ==================================================================== -->
+<t:titlepage t:element="qandaset" t:wrapper="fo:block"
+             font-family="{$title.fontset}">
+
+  <t:titlepage-content t:side="recto"
+	     start-indent="0pt"
+             text-align="center">
+
+    <title t:named-template="component.title"
+	   param:node="ancestor-or-self::qandaset[1]"
+	   keep-with-next.within-column="always"
+	   font-size="&hsize5;"
+	   font-weight="bold"/>
+
+    <subtitle/>
+
+    <corpauthor space-before="0.5em"
+                font-size="&hsize2;"/>
+    <authorgroup space-before="0.5em"
+                 font-size="&hsize2;"/>
+    <author space-before="0.5em"
+            font-size="&hsize2;"/>
+
+    <othercredit space-before="0.5em"/>
+    <releaseinfo space-before="0.5em"/>
+    <copyright space-before="0.5em"/>
+    <legalnotice text-align="start"
+                 margin-left="0.5in"
+                 margin-right="0.5in"
+                 font-family="{$body.fontset}"/>
+    <pubdate space-before="0.5em"/>
+    <revision space-before="0.5em"/>
+    <revhistory space-before="0.5em"/>
+    <abstract space-before="0.5em"
+	      text-align="start"
+	      margin-left="0.5in"
+              margin-right="0.5in"
+              font-family="{$body.fontset}"/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="table.of.contents" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="gentext"
+	     param:key="'TableofContents'"
+             space-before.minimum="1em"
+             space-before.optimum="1.5em"
+             space-before.maximum="2em"
+	     space-after="0.5em"
+	     margin-left="{$title.margin.left}"
+	     start-indent="0pt"
+	     font-size="&hsize3;"
+	     font-weight="bold"
+	     font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+  <t:titlepage t:element="list.of.tables" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="gentext"
+	     param:key="'ListofTables'"
+             space-before.minimum="1em"
+             space-before.optimum="1.5em"
+             space-before.maximum="2em"
+	     space-after="0.5em"
+	     margin-left="{$title.margin.left}"
+	     start-indent="0pt"
+	     font-size="&hsize3;"
+	     font-weight="bold"
+	     font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+  <t:titlepage t:element="list.of.figures" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="gentext"
+	     param:key="'ListofFigures'"
+             space-before.minimum="1em"
+             space-before.optimum="1.5em"
+             space-before.maximum="2em"
+	     space-after="0.5em"
+	     margin-left="{$title.margin.left}"
+	     start-indent="0pt"
+	     font-size="&hsize3;"
+	     font-weight="bold"
+	     font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+  <t:titlepage t:element="list.of.examples" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="gentext"
+	     param:key="'ListofExamples'"
+             space-before.minimum="1em"
+             space-before.optimum="1.5em"
+             space-before.maximum="2em"
+	     space-after="0.5em"
+	     margin-left="{$title.margin.left}"
+	     start-indent="0pt"
+	     font-size="&hsize3;"
+	     font-weight="bold"
+	     font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+  <t:titlepage t:element="list.of.equations" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="gentext"
+	     param:key="'ListofEquations'"
+             space-before.minimum="1em"
+             space-before.optimum="1.5em"
+             space-before.maximum="2em"
+	     space-after="0.5em"
+	     margin-left="{$title.margin.left}"
+	     start-indent="0pt"
+	     font-size="&hsize3;"
+	     font-weight="bold"
+	     font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+  <t:titlepage t:element="list.of.procedures" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="gentext"
+	     param:key="'ListofProcedures'"
+             space-before.minimum="1em"
+             space-before.optimum="1.5em"
+             space-before.maximum="2em"
+	     space-after="0.5em"
+	     margin-left="{$title.margin.left}"
+	     start-indent="0pt"
+	     font-size="&hsize3;"
+	     font-weight="bold"
+	     font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+  <t:titlepage t:element="list.of.unknowns" t:wrapper="fo:block">
+    <t:titlepage-content t:side="recto">
+      <title
+	     t:force="1"
+	     t:named-template="gentext"
+	     param:key="'ListofUnknown'"
+             space-before.minimum="1em"
+             space-before.optimum="1.5em"
+             space-before.maximum="2em"
+	     space-after="0.5em"
+	     margin-left="{$title.margin.left}"
+	     start-indent="0pt"
+	     font-size="&hsize3;"
+	     font-weight="bold"
+	     font-family="{$title.fontset}"/>
+    </t:titlepage-content>
+
+    <t:titlepage-content t:side="verso">
+    </t:titlepage-content>
+
+    <t:titlepage-separator>
+    </t:titlepage-separator>
+
+    <t:titlepage-before t:side="recto">
+    </t:titlepage-before>
+
+    <t:titlepage-before t:side="verso">
+    </t:titlepage-before>
+  </t:titlepage>
+
+<!-- ==================================================================== -->
+
+</t:templates>

Added: trunk/docs/docbook/src/main/resources/fo/titlepage.templates.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/titlepage.templates.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/titlepage.templates.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,5092 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl">
+
+<!-- This stylesheet was created by template/titlepage.xsl; do not edit it by hand. -->
+
+<xsl:template name="article.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="articleinfo/title">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/>
+    </xsl:when>
+    <xsl:when test="artheader/title">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="articleinfo/subtitle">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="artheader/subtitle">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="article.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="article.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="article.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="article.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="article.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="{$title.fontset}">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="article.titlepage.before.recto"/>
+      <xsl:call-template name="article.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block start-indent="0pt" text-align="center"><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="article.titlepage.before.verso"/>
+      <xsl:call-template name="article.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="article.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="article.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="article.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="article.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" keep-with-next.within-column="always" font-size="24.8832pt" font-weight="bold">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::article[1]"/>
+</xsl:call-template>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="article.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="article.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="article.titlepage.recto.style" space-before="0.5em" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="set.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="setinfo/title">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="setinfo/subtitle">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="set.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="set.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="set.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="set.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="set.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="set.titlepage.before.recto"/>
+      <xsl:call-template name="set.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="set.titlepage.before.verso"/>
+      <xsl:call-template name="set.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="set.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="set.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="set.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="set.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}">
+<xsl:call-template name="division.title">
+<xsl:with-param name="node" select="ancestor-or-self::set[1]"/>
+</xsl:call-template>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style" font-family="{$title.fontset}" text-align="center">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="set.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="set.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="book.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="bookinfo/title">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="bookinfo/subtitle">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/>
+</xsl:template>
+
+<xsl:template name="book.titlepage.verso">
+  <xsl:choose>
+    <xsl:when test="bookinfo/title">
+      <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/corpauthor"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/authorgroup"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/author"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/othercredit"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/releaseinfo"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/pubdate"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/copyright"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/abstract"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/abstract"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="bookinfo/legalnotice"/>
+  <xsl:apply-templates mode="book.titlepage.verso.auto.mode" select="info/legalnotice"/>
+</xsl:template>
+
+<xsl:template name="book.titlepage.separator"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/>
+</xsl:template>
+
+<xsl:template name="book.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="book.titlepage.before.verso"><fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" break-after="page"/>
+</xsl:template>
+
+<xsl:template name="book.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="book.titlepage.before.recto"/>
+      <xsl:call-template name="book.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="book.titlepage.before.verso"/>
+      <xsl:call-template name="book.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="book.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="book.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="book.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="book.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}">
+<xsl:call-template name="division.title">
+<xsl:with-param name="node" select="ancestor-or-self::book[1]"/>
+</xsl:call-template>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" text-align="center" font-size="20.736pt" space-before="15.552pt" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" font-size="17.28pt" keep-with-next.within-column="always" space-before="2in">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" space-before="2in">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="book.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.recto.style" font-size="17.28pt" space-before="10.8pt" keep-with-next.within-column="always">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="title" mode="book.titlepage.verso.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" font-size="14.4pt" font-weight="bold" font-family="{$title.fontset}">
+<xsl:call-template name="book.verso.title">
+</xsl:call-template>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="book.titlepage.verso.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
+<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="book.titlepage.verso.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
+<xsl:call-template name="verso.authorgroup">
+</xsl:call-template>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="book.titlepage.verso.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
+<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="book.titlepage.verso.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
+<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="book.titlepage.verso.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" space-before="0.5em">
+<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="book.titlepage.verso.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" space-before="1em">
+<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="book.titlepage.verso.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
+<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="book.titlepage.verso.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style">
+<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="book.titlepage.verso.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="book.titlepage.verso.style" font-size="8pt">
+<xsl:apply-templates select="." mode="book.titlepage.verso.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="part.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="partinfo/title">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="partinfo/subtitle">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="part.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="part.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="part.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="part.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="part.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="part.titlepage.before.recto"/>
+      <xsl:call-template name="part.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="part.titlepage.before.verso"/>
+      <xsl:call-template name="part.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="part.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="part.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="part.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="part.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}">
+<xsl:call-template name="division.title">
+<xsl:with-param name="node" select="ancestor-or-self::part[1]"/>
+</xsl:call-template>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="part.titlepage.recto.style" text-align="center" font-size="20.736pt" space-before="15.552pt" font-weight="bold" font-style="italic" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="partintroinfo/title">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="partintroinfo/subtitle">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="partintro.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="partintro.titlepage.before.recto"/>
+      <xsl:call-template name="partintro.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="partintro.titlepage.before.verso"/>
+      <xsl:call-template name="partintro.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="partintro.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="partintro.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="partintro.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="24.8832pt" font-weight="bold" space-before="1em" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style" text-align="center" font-size="14.4pt" font-weight="bold" font-style="italic" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="reference.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="referenceinfo/title">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="referenceinfo/subtitle">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="reference.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="reference.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="reference.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="reference.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="reference.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="reference.titlepage.before.recto"/>
+      <xsl:call-template name="reference.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="reference.titlepage.before.verso"/>
+      <xsl:call-template name="reference.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="reference.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="reference.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="reference.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="reference.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style" text-align="center" font-size="24.8832pt" space-before="18.6624pt" font-weight="bold" font-family="{$title.fontset}">
+<xsl:call-template name="division.title">
+<xsl:with-param name="node" select="ancestor-or-self::reference[1]"/>
+</xsl:call-template>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style" font-family="{$title.fontset}" text-align="center">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="reference.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="reference.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="refsynopsisdiv.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="refsynopsisdivinfo/title">
+      <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="refsynopsisdivinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="refsynopsisdiv.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="refsynopsisdiv.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="refsynopsisdiv.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="refsynopsisdiv.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="refsynopsisdiv.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="refsynopsisdiv.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="refsynopsisdiv.titlepage.before.recto"/>
+      <xsl:call-template name="refsynopsisdiv.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="refsynopsisdiv.titlepage.before.verso"/>
+      <xsl:call-template name="refsynopsisdiv.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="refsynopsisdiv.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="refsynopsisdiv.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="refsynopsisdiv.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="refsynopsisdiv.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsynopsisdiv.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="refsynopsisdiv.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="refsection.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="refsectioninfo/title">
+      <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="refsectioninfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="refsection.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="refsection.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="refsection.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="refsection.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="refsection.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="refsection.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="refsection.titlepage.before.recto"/>
+      <xsl:call-template name="refsection.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="refsection.titlepage.before.verso"/>
+      <xsl:call-template name="refsection.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="refsection.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="refsection.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="refsection.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="refsection.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsection.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="refsection.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="refsect1.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="refsect1info/title">
+      <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="refsect1info/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="refsect1.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="refsect1.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="refsect1.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="refsect1.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="refsect1.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="refsect1.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="refsect1.titlepage.before.recto"/>
+      <xsl:call-template name="refsect1.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="refsect1.titlepage.before.verso"/>
+      <xsl:call-template name="refsect1.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="refsect1.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="refsect1.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="refsect1.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="refsect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect1.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="refsect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="refsect2.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="refsect2info/title">
+      <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="refsect2info/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="refsect2.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="refsect2.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="refsect2.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="refsect2.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="refsect2.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="refsect2.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="refsect2.titlepage.before.recto"/>
+      <xsl:call-template name="refsect2.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="refsect2.titlepage.before.verso"/>
+      <xsl:call-template name="refsect2.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="refsect2.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="refsect2.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="refsect2.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="refsect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect2.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="refsect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="refsect3.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="refsect3info/title">
+      <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="refsect3info/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="refsect3.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="refsect3.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="refsect3.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="refsect3.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="refsect3.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="refsect3.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="refsect3.titlepage.before.recto"/>
+      <xsl:call-template name="refsect3.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="refsect3.titlepage.before.verso"/>
+      <xsl:call-template name="refsect3.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="refsect3.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="refsect3.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="refsect3.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="refsect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="refsect3.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="refsect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/>
+</xsl:call-template></fo:block>
+  <xsl:choose>
+    <xsl:when test="dedicationinfo/subtitle">
+      <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="dedication.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="dedication.titlepage.before.recto"/>
+      <xsl:call-template name="dedication.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="dedication.titlepage.before.verso"/>
+      <xsl:call-template name="dedication.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="dedication.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="dedication.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="dedication.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="dedication.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="preface.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::preface[1]"/>
+</xsl:call-template></fo:block>
+  <xsl:choose>
+    <xsl:when test="prefaceinfo/subtitle">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="preface.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="preface.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="preface.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="preface.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="preface.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="preface.titlepage.before.recto"/>
+      <xsl:call-template name="preface.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="preface.titlepage.before.verso"/>
+      <xsl:call-template name="preface.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="preface.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="preface.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="preface.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="preface.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="chapterinfo/title">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="chapterinfo/subtitle">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="chapter.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="{$title.fontset}">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="chapter.titlepage.before.recto"/>
+      <xsl:call-template name="chapter.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block margin-left="{$title.margin.left}"><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="chapter.titlepage.before.verso"/>
+      <xsl:call-template name="chapter.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="chapter.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="chapter.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="chapter.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" font-size="24.8832pt" font-weight="bold">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::chapter[1]"/>
+</xsl:call-template>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" font-style="italic" font-size="14.4pt" font-weight="bold">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style" space-before="0.5em" space-after="0.5em" font-size="14.4pt">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="appendixinfo/title">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="appendixinfo/subtitle">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="appendix.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="appendix.titlepage.before.recto"/>
+      <xsl:call-template name="appendix.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="appendix.titlepage.before.verso"/>
+      <xsl:call-template name="appendix.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="appendix.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="appendix.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="appendix.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-weight="bold" font-family="{$title.fontset}">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::appendix[1]"/>
+</xsl:call-template>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="section.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sectioninfo/title">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sectioninfo/subtitle">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="section.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="section.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="section.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="section.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="section.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="section.titlepage.before.recto"/>
+      <xsl:call-template name="section.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="section.titlepage.before.verso"/>
+      <xsl:call-template name="section.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="section.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="section.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="section.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="section.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="section.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="section.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect1info/title">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect1info/subtitle">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect1.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect1.titlepage.before.recto"/>
+      <xsl:call-template name="sect1.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect1.titlepage.before.verso"/>
+      <xsl:call-template name="sect1.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="sect1.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="sect1.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect1.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="sect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect2info/title">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect2info/subtitle">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect2.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect2.titlepage.before.recto"/>
+      <xsl:call-template name="sect2.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect2.titlepage.before.verso"/>
+      <xsl:call-template name="sect2.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="sect2.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="sect2.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect2.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="sect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect3info/title">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect3info/subtitle">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect3.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect3.titlepage.before.recto"/>
+      <xsl:call-template name="sect3.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect3.titlepage.before.verso"/>
+      <xsl:call-template name="sect3.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="sect3.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="sect3.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect3.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="sect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect4info/title">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect4info/subtitle">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect4.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect4.titlepage.before.recto"/>
+      <xsl:call-template name="sect4.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect4.titlepage.before.verso"/>
+      <xsl:call-template name="sect4.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="sect4.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="sect4.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect4.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect4.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="sect4.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect5info/title">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect5info/subtitle">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect5.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect5.titlepage.before.recto"/>
+      <xsl:call-template name="sect5.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect5.titlepage.before.verso"/>
+      <xsl:call-template name="sect5.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="sect5.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="sect5.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect5.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect5.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="sect5.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="simplesectinfo/title">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="simplesectinfo/subtitle">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="simplesect.titlepage.before.recto"/>
+      <xsl:call-template name="simplesect.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="simplesect.titlepage.before.verso"/>
+      <xsl:call-template name="simplesect.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="simplesect.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="simplesect.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="simplesect.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style" margin-left="{$title.margin.left}" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/>
+</xsl:call-template></fo:block>
+  <xsl:choose>
+    <xsl:when test="bibliographyinfo/subtitle">
+      <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="bibliography.titlepage.before.recto"/>
+      <xsl:call-template name="bibliography.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="bibliography.titlepage.before.verso"/>
+      <xsl:call-template name="bibliography.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="bibliography.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="bibliography.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="bibliography.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliography.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="bibliodiv.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="bibliodivinfo/title">
+      <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="bibliodivinfo/subtitle">
+      <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="bibliodivinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="bibliodiv.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="bibliodiv.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="bibliodiv.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="bibliodiv.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="bibliodiv.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="bibliodiv.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="bibliodiv.titlepage.before.recto"/>
+      <xsl:call-template name="bibliodiv.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="bibliodiv.titlepage.before.verso"/>
+      <xsl:call-template name="bibliodiv.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="bibliodiv.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="bibliodiv.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="bibliodiv.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="bibliodiv.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="20.736pt" font-family="{$title.fontset}" font-weight="bold">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::bibliodiv[1]"/>
+</xsl:call-template>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="bibliodiv.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="bibliodiv.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="bibliodiv.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/>
+</xsl:call-template></fo:block>
+  <xsl:choose>
+    <xsl:when test="glossaryinfo/subtitle">
+      <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="glossary.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="glossary.titlepage.before.recto"/>
+      <xsl:call-template name="glossary.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="glossary.titlepage.before.verso"/>
+      <xsl:call-template name="glossary.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="glossary.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="glossary.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="glossary.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossary.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="glossdiv.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="glossdivinfo/title">
+      <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="glossdivinfo/subtitle">
+      <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="glossdivinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="glossdiv.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="glossdiv.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="glossdiv.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="glossdiv.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="glossdiv.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="glossdiv.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="glossdiv.titlepage.before.recto"/>
+      <xsl:call-template name="glossdiv.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="glossdiv.titlepage.before.verso"/>
+      <xsl:call-template name="glossdiv.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="glossdiv.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="glossdiv.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="glossdiv.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="glossdiv.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossdiv.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="20.736pt" font-family="{$title.fontset}" font-weight="bold">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::glossdiv[1]"/>
+</xsl:call-template>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="glossdiv.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="glossdiv.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="glossdiv.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="index.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" margin-left="0pt" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::index[1]"/>
+<xsl:with-param name="pagewide" select="1"/>
+</xsl:call-template></fo:block>
+  <xsl:choose>
+    <xsl:when test="indexinfo/subtitle">
+      <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="index.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="index.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="index.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="index.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="index.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="index.titlepage.before.recto"/>
+      <xsl:call-template name="index.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="index.titlepage.before.verso"/>
+      <xsl:call-template name="index.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="index.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="index.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="index.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="index.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="indexdiv.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style">
+<xsl:call-template name="indexdiv.title">
+<xsl:with-param name="title" select="title"/>
+</xsl:call-template></fo:block>
+  <xsl:choose>
+    <xsl:when test="indexdivinfo/subtitle">
+      <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="indexdivinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="indexdiv.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="indexdiv.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="indexdiv.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="indexdiv.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="indexdiv.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="indexdiv.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="indexdiv.titlepage.before.recto"/>
+      <xsl:call-template name="indexdiv.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="indexdiv.titlepage.before.verso"/>
+      <xsl:call-template name="indexdiv.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="indexdiv.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="indexdiv.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="indexdiv.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="indexdiv.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="indexdiv.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="indexdiv.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style" margin-left="0pt" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/>
+<xsl:with-param name="pagewide" select="1"/>
+</xsl:call-template></fo:block>
+  <xsl:choose>
+    <xsl:when test="setindexinfo/subtitle">
+      <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="setindex.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="setindex.titlepage.before.recto"/>
+      <xsl:call-template name="setindex.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="setindex.titlepage.before.verso"/>
+      <xsl:call-template name="setindex.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="setindex.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="setindex.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="setindex.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="setindex.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="colophon.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style" margin-left="{$title.margin.left}" font-size="24.8832pt" font-family="{$title.fontset}" font-weight="bold">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::colophon[1]"/>
+</xsl:call-template></fo:block>
+  <xsl:choose>
+    <xsl:when test="colophoninfo/subtitle">
+      <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="colophoninfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="colophon.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="colophon.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="colophon.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="colophon.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="colophon.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="colophon.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="colophon.titlepage.before.recto"/>
+      <xsl:call-template name="colophon.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="colophon.titlepage.before.verso"/>
+      <xsl:call-template name="colophon.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="colophon.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="colophon.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="colophon.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="colophon.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="colophon.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="colophon.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="sidebar.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sidebarinfo/title">
+      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sidebarinfo/subtitle">
+      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="sidebarinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sidebar.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="sidebar.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sidebar.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="sidebar.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sidebar.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sidebar.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sidebar.titlepage.before.recto"/>
+      <xsl:call-template name="sidebar.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sidebar.titlepage.before.verso"/>
+      <xsl:call-template name="sidebar.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="sidebar.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="sidebar.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sidebar.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sidebar.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sidebar.titlepage.recto.style" font-family="{$title.fontset}" font-weight="bold">
+<xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sidebar.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="sidebar.titlepage.recto.style" font-family="{$title.fontset}">
+<xsl:apply-templates select="." mode="sidebar.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="qandaset.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="qandasetinfo/title">
+      <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/title"/>
+    </xsl:when>
+    <xsl:when test="blockinfo/title">
+      <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="qandasetinfo/subtitle">
+      <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="blockinfo/subtitle">
+      <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/corpauthor"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/corpauthor"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/authorgroup"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/authorgroup"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/author"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/author"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/othercredit"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/othercredit"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/releaseinfo"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/releaseinfo"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/copyright"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/copyright"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/legalnotice"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/legalnotice"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/pubdate"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/pubdate"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/revision"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/revision"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/revhistory"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/revhistory"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="qandasetinfo/abstract"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="blockinfo/abstract"/>
+  <xsl:apply-templates mode="qandaset.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="qandaset.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="qandaset.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="qandaset.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="qandaset.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="qandaset.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" font-family="{$title.fontset}">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="qandaset.titlepage.before.recto"/>
+      <xsl:call-template name="qandaset.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block start-indent="0pt" text-align="center"><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="qandaset.titlepage.before.verso"/>
+      <xsl:call-template name="qandaset.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="qandaset.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="qandaset.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="qandaset.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="qandaset.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" keep-with-next.within-column="always" font-size="24.8832pt" font-weight="bold">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::qandaset[1]"/>
+</xsl:call-template>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="qandaset.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style">
+<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="qandaset.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
+<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="qandaset.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
+<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="qandaset.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" font-size="14.4pt">
+<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="qandaset.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
+<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="qandaset.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
+<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="qandaset.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
+<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="qandaset.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
+<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="qandaset.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
+<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="qandaset.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
+<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="qandaset.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em">
+<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="abstract" mode="qandaset.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="qandaset.titlepage.recto.style" space-before="0.5em" text-align="start" margin-left="0.5in" margin-right="0.5in" font-family="{$body.fontset}">
+<xsl:apply-templates select="." mode="qandaset.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template name="table.of.contents.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="table.of.contents.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
+<xsl:call-template name="gentext">
+<xsl:with-param name="key" select="'TableofContents'"/>
+</xsl:call-template></fo:block>
+</xsl:template>
+
+<xsl:template name="table.of.contents.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="table.of.contents.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="table.of.contents.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="table.of.contents.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="table.of.contents.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="table.of.contents.titlepage.before.recto"/>
+      <xsl:call-template name="table.of.contents.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="table.of.contents.titlepage.before.verso"/>
+      <xsl:call-template name="table.of.contents.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="table.of.contents.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="table.of.contents.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="table.of.contents.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template name="list.of.tables.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.tables.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
+<xsl:call-template name="gentext">
+<xsl:with-param name="key" select="'ListofTables'"/>
+</xsl:call-template></fo:block>
+</xsl:template>
+
+<xsl:template name="list.of.tables.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="list.of.tables.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="list.of.tables.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="list.of.tables.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="list.of.tables.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="list.of.tables.titlepage.before.recto"/>
+      <xsl:call-template name="list.of.tables.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="list.of.tables.titlepage.before.verso"/>
+      <xsl:call-template name="list.of.tables.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="list.of.tables.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="list.of.tables.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="list.of.tables.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template name="list.of.figures.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.figures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
+<xsl:call-template name="gentext">
+<xsl:with-param name="key" select="'ListofFigures'"/>
+</xsl:call-template></fo:block>
+</xsl:template>
+
+<xsl:template name="list.of.figures.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="list.of.figures.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="list.of.figures.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="list.of.figures.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="list.of.figures.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="list.of.figures.titlepage.before.recto"/>
+      <xsl:call-template name="list.of.figures.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="list.of.figures.titlepage.before.verso"/>
+      <xsl:call-template name="list.of.figures.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="list.of.figures.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="list.of.figures.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="list.of.figures.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template name="list.of.examples.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.examples.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
+<xsl:call-template name="gentext">
+<xsl:with-param name="key" select="'ListofExamples'"/>
+</xsl:call-template></fo:block>
+</xsl:template>
+
+<xsl:template name="list.of.examples.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="list.of.examples.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="list.of.examples.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="list.of.examples.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="list.of.examples.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="list.of.examples.titlepage.before.recto"/>
+      <xsl:call-template name="list.of.examples.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="list.of.examples.titlepage.before.verso"/>
+      <xsl:call-template name="list.of.examples.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="list.of.examples.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="list.of.examples.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="list.of.examples.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template name="list.of.equations.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.equations.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
+<xsl:call-template name="gentext">
+<xsl:with-param name="key" select="'ListofEquations'"/>
+</xsl:call-template></fo:block>
+</xsl:template>
+
+<xsl:template name="list.of.equations.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="list.of.equations.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="list.of.equations.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="list.of.equations.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="list.of.equations.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="list.of.equations.titlepage.before.recto"/>
+      <xsl:call-template name="list.of.equations.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="list.of.equations.titlepage.before.verso"/>
+      <xsl:call-template name="list.of.equations.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="list.of.equations.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="list.of.equations.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="list.of.equations.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template name="list.of.procedures.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.procedures.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
+<xsl:call-template name="gentext">
+<xsl:with-param name="key" select="'ListofProcedures'"/>
+</xsl:call-template></fo:block>
+</xsl:template>
+
+<xsl:template name="list.of.procedures.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="list.of.procedures.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="list.of.procedures.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="list.of.procedures.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="list.of.procedures.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="list.of.procedures.titlepage.before.recto"/>
+      <xsl:call-template name="list.of.procedures.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="list.of.procedures.titlepage.before.verso"/>
+      <xsl:call-template name="list.of.procedures.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="list.of.procedures.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="list.of.procedures.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="list.of.procedures.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template name="list.of.unknowns.titlepage.recto">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="list.of.unknowns.titlepage.recto.style" space-before.minimum="1em" space-before.optimum="1.5em" space-before.maximum="2em" space-after="0.5em" margin-left="{$title.margin.left}" start-indent="0pt" font-size="17.28pt" font-weight="bold" font-family="{$title.fontset}">
+<xsl:call-template name="gentext">
+<xsl:with-param name="key" select="'ListofUnknown'"/>
+</xsl:call-template></fo:block>
+</xsl:template>
+
+<xsl:template name="list.of.unknowns.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="list.of.unknowns.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="list.of.unknowns.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="list.of.unknowns.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="list.of.unknowns.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="list.of.unknowns.titlepage.before.recto"/>
+      <xsl:call-template name="list.of.unknowns.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="list.of.unknowns.titlepage.before.verso"/>
+      <xsl:call-template name="list.of.unknowns.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="list.of.unknowns.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="list.of.unknowns.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="list.of.unknowns.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/titlepage.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/titlepage.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/titlepage.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,742 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: titlepage.xsl 6402 2006-11-12 08:23:21Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:attribute-set name="book.titlepage.recto.style">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$title.fontset"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="font-size">12pt</xsl:attribute>
+  <xsl:attribute name="text-align">center</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="book.titlepage.verso.style">
+  <xsl:attribute name="font-size">10pt</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="article.titlepage.recto.style"/>
+<xsl:attribute-set name="article.titlepage.verso.style"/>
+
+<xsl:attribute-set name="set.titlepage.recto.style"/>
+<xsl:attribute-set name="set.titlepage.verso.style"/>
+
+<xsl:attribute-set name="part.titlepage.recto.style">
+  <xsl:attribute name="text-align">center</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="part.titlepage.verso.style"/>
+
+<xsl:attribute-set name="partintro.titlepage.recto.style"/>
+<xsl:attribute-set name="partintro.titlepage.verso.style"/>
+
+<xsl:attribute-set name="reference.titlepage.recto.style"/>
+<xsl:attribute-set name="reference.titlepage.verso.style"/>
+
+<xsl:attribute-set name="dedication.titlepage.recto.style"/>
+<xsl:attribute-set name="dedication.titlepage.verso.style"/>
+
+<xsl:attribute-set name="preface.titlepage.recto.style"/>
+<xsl:attribute-set name="preface.titlepage.verso.style"/>
+
+<xsl:attribute-set name="chapter.titlepage.recto.style"/>
+<xsl:attribute-set name="chapter.titlepage.verso.style"/>
+
+<xsl:attribute-set name="appendix.titlepage.recto.style"/>
+<xsl:attribute-set name="appendix.titlepage.verso.style"/>
+
+<xsl:attribute-set name="bibliography.titlepage.recto.style"/>
+<xsl:attribute-set name="bibliography.titlepage.verso.style"/>
+
+<xsl:attribute-set name="bibliodiv.titlepage.recto.style"/>
+<xsl:attribute-set name="bibliodiv.titlepage.verso.style"/>
+
+<xsl:attribute-set name="glossary.titlepage.recto.style"/>
+<xsl:attribute-set name="glossary.titlepage.verso.style"/>
+
+<xsl:attribute-set name="glossdiv.titlepage.recto.style"/>
+<xsl:attribute-set name="glossdiv.titlepage.verso.style"/>
+
+<xsl:attribute-set name="index.titlepage.recto.style"/>
+<xsl:attribute-set name="index.titlepage.verso.style"/>
+
+<xsl:attribute-set name="setindex.titlepage.recto.style"/>
+<xsl:attribute-set name="setindex.titlepage.verso.style"/>
+
+<xsl:attribute-set name="indexdiv.titlepage.recto.style"/>
+<xsl:attribute-set name="indexdiv.titlepage.verso.style"/>
+
+<xsl:attribute-set name="colophon.titlepage.recto.style"/>
+<xsl:attribute-set name="colophon.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sidebar.titlepage.recto.style"/>
+<xsl:attribute-set name="sidebar.titlepage.verso.style"/>
+
+<xsl:attribute-set name="qandaset.titlepage.recto.style"/>
+<xsl:attribute-set name="qandaset.titlepage.verso.style"/>
+
+<xsl:attribute-set name="section.titlepage.recto.style">
+  <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="section.titlepage.verso.style">
+  <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="sect1.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect1.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect2.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect2.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect3.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect3.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect4.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect4.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect5.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect5.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="simplesect.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="simplesect.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="refnamediv.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="refnamediv.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="refsynopsisdiv.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="refsynopsisdiv.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="refsection.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="refsection.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="refsect1.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="refsect1.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="refsect2.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="refsect2.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="refsect3.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="refsect3.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="table.of.contents.titlepage.recto.style"/>
+<xsl:attribute-set name="table.of.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.tables.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.figures.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.equations.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.examples.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.procedures.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.procedures.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="titlepage.mode">
+  <!-- if an element isn't found in this mode, try the default mode -->
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="abbrev" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="abstract" mode="titlepage.mode">
+  <fo:block>
+    <xsl:call-template name="formal.object.heading">
+      <xsl:with-param name="title">
+        <xsl:apply-templates select="." mode="title.markup"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="abstract/title" mode="titlepage.mode"/>
+
+<xsl:template match="abstract/title" mode="titlepage.abstract.title.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="address" mode="titlepage.mode">
+  <!-- use the normal address handling code -->
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="affiliation" mode="titlepage.mode">
+  <fo:block>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="artpagenums" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="author" mode="titlepage.mode">
+  <fo:block>
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="person.name"/>
+    <xsl:if test="affiliation/orgname">
+      <xsl:text>, </xsl:text>
+      <xsl:apply-templates select="affiliation/orgname" mode="titlepage.mode"/>
+    </xsl:if>
+    <xsl:if test="email|affiliation/address/email">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="(email|affiliation/address/email)[1]"/>
+    </xsl:if>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="authorblurb" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="titlepage.mode">
+  <fo:wrapper>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </fo:wrapper>
+</xsl:template>
+
+<xsl:template match="authorinitials" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="bibliomisc" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="bibliomset" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="collab" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="confgroup" mode="titlepage.mode">
+  <fo:block>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="confdates" mode="titlepage.mode">
+  <fo:block>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="conftitle" mode="titlepage.mode">
+  <fo:block>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="confnum" mode="titlepage.mode">
+  <!-- suppress -->
+</xsl:template>
+
+<xsl:template match="contractnum" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="contractsponsor" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="contrib" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="copyright" mode="titlepage.mode">
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'Copyright'"/>
+  </xsl:call-template>
+  <xsl:call-template name="gentext.space"/>
+  <xsl:call-template name="dingbat">
+    <xsl:with-param name="dingbat">copyright</xsl:with-param>
+  </xsl:call-template>
+  <xsl:call-template name="gentext.space"/>
+  <xsl:call-template name="copyright.years">
+    <xsl:with-param name="years" select="year"/>
+    <xsl:with-param name="print.ranges" select="$make.year.ranges"/>
+    <xsl:with-param name="single.year.ranges"
+                    select="$make.single.year.ranges"/>
+  </xsl:call-template>
+  <xsl:call-template name="gentext.space"/>
+  <xsl:apply-templates select="holder" mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="year" mode="titlepage.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="holder" mode="titlepage.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="corpcredit" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="corpname" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="date" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="edition" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+  <xsl:call-template name="gentext.space"/>
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'Edition'"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="editor" mode="titlepage.mode">
+  <!-- The first editor is dealt with in the following template,
+       which in turn displays all editors of the same mode. -->
+</xsl:template>
+
+<xsl:template match="editor[1]" priority="2" mode="titlepage.mode">
+  <xsl:call-template name="gentext.edited.by"/>
+  <xsl:call-template name="gentext.space"/>
+  <xsl:call-template name="person.name.list">
+    <xsl:with-param name="person.list" select="../editor"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="firstname" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="graphic" mode="titlepage.mode">
+  <!-- use the normal graphic handling code -->
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="honorific" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="isbn" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="issn" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="biblioid" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="itermset" mode="titlepage.mode">
+  <!-- discard -->
+</xsl:template>
+
+<xsl:template match="invpartnumber" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="issuenum" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="jobtitle" mode="titlepage.mode">
+  <fo:block>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="keywordset" mode="titlepage.mode">
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="titlepage.mode">
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <fo:block id="{$id}">
+    <xsl:if test="title"> <!-- FIXME: add param for using default title? -->
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="legalnotice/title" mode="titlepage.mode">
+</xsl:template>
+
+<xsl:template match="lineage" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="modespec" mode="titlepage.mode">
+  <!-- discard -->
+</xsl:template>
+
+<xsl:template match="orgdiv" mode="titlepage.mode">
+  <xsl:if test="preceding-sibling::*[1][self::orgname]">
+    <xsl:text> </xsl:text>
+  </xsl:if>
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="orgname" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="titlepage.mode">
+  <xsl:variable name="contrib" select="string(contrib)"/>
+  <xsl:choose>
+    <xsl:when test="contrib">
+      <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])">
+        <fo:block>
+          <xsl:apply-templates mode="titlepage.mode" select="contrib"/>
+          <xsl:text>: </xsl:text>
+          <xsl:call-template name="person.name"/>
+          <xsl:apply-templates mode="titlepage.mode" select="affiliation"/>
+          <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/>
+        </fo:block>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block><xsl:call-template name="person.name"/></fo:block>
+      <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="titlepage.othercredits">
+  <xsl:text>, </xsl:text>
+  <xsl:call-template name="person.name"/>
+</xsl:template>
+
+<xsl:template match="othername" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="pagenums" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="printhistory" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="productname" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="productnumber" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="publisher" mode="titlepage.mode">
+  <fo:block>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="publishername" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="pubsnumber" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="titlepage.mode">
+
+  <xsl:variable name="explicit.table.width">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'table-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="table.width">
+    <xsl:choose>
+      <xsl:when test="$explicit.table.width != ''">
+        <xsl:value-of select="$explicit.table.width"/>
+      </xsl:when>
+      <xsl:when test="$default.table.width = ''">
+        <xsl:text>100%</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$default.table.width"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <fo:table table-layout="fixed" width="{$table.width}" xsl:use-attribute-sets="revhistory.table.properties">
+    <fo:table-column column-number="1" column-width="proportional-column-width(1)"/>
+    <fo:table-column column-number="2" column-width="proportional-column-width(1)"/>
+    <fo:table-column column-number="3" column-width="proportional-column-width(1)"/>
+    <fo:table-body start-indent="0pt" end-indent="0pt">
+      <fo:table-row>
+        <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties">
+          <fo:block xsl:use-attribute-sets="revhistory.title.properties">
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'RevHistory'"/>
+            </xsl:call-template>
+          </fo:block>
+        </fo:table-cell>
+      </fo:table-row>
+      <xsl:apply-templates mode="titlepage.mode"/>
+    </fo:table-body>
+  </fo:table>
+</xsl:template>
+
+<xsl:template match="revhistory/revision" mode="titlepage.mode">
+  <xsl:variable name="revnumber" select="revnumber"/>
+  <xsl:variable name="revdate"   select="date"/>
+  <xsl:variable name="revauthor" select="authorinitials|author"/>
+  <xsl:variable name="revremark" select="revremark|revdescription"/>
+  <fo:table-row>
+    <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
+      <fo:block>
+        <xsl:if test="$revnumber">
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'Revision'"/>
+          </xsl:call-template>
+          <xsl:call-template name="gentext.space"/>
+          <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/>
+        </xsl:if>
+      </fo:block>
+    </fo:table-cell>
+    <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
+      <fo:block>
+        <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/>
+      </fo:block>
+    </fo:table-cell>
+    <fo:table-cell xsl:use-attribute-sets="revhistory.table.cell.properties">
+      <fo:block>
+        <xsl:for-each select="$revauthor">
+          <xsl:apply-templates select="." mode="titlepage.mode"/>
+          <xsl:if test="position() != last()">
+            <xsl:text>, </xsl:text>
+          </xsl:if>
+        </xsl:for-each>
+      </fo:block>
+    </fo:table-cell>
+  </fo:table-row>
+  <xsl:if test="$revremark">
+    <fo:table-row>
+      <fo:table-cell number-columns-spanned="3" xsl:use-attribute-sets="revhistory.table.cell.properties">
+        <fo:block>
+          <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/>
+        </fo:block>
+      </fo:table-cell>
+    </fo:table-row>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="revision/revnumber" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/date" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/authorinitials" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/author" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/revremark" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/revdescription" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="seriesvolnums" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="shortaffil" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subjectset" mode="titlepage.mode">
+  <!-- discard -->
+</xsl:template>
+
+<xsl:template match="subtitle" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="surname" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="titleabbrev" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="volumenum" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- Book templates -->
+
+<!-- Note: these templates cannot use *.titlepage.recto.mode or
+     *.titlepage.verso.mode. If they do then subsequent use of a custom
+     titlepage.templates.xml file will not work correctly. -->
+
+<!-- book recto -->
+
+<xsl:template match="bookinfo/authorgroup|info/authorgroup"
+              mode="titlepage.mode" priority="2">
+  <fo:block>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </fo:block>
+</xsl:template>
+
+<!-- book verso -->
+
+<xsl:template name="book.verso.title">
+  <fo:block>
+    <xsl:apply-templates mode="titlepage.mode"/>
+
+    <xsl:if test="following-sibling::subtitle
+                  |following-sibling::info/subtitle
+                  |following-sibling::bookinfo/subtitle">
+      <xsl:text>: </xsl:text>
+
+      <xsl:apply-templates select="(following-sibling::subtitle
+                                   |following-sibling::info/subtitle
+                                   |following-sibling::bookinfo/subtitle)[1]"
+                           mode="book.verso.subtitle.mode"/>
+    </xsl:if>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="book.verso.subtitle.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+  <xsl:if test="following-sibling::subtitle">
+    <xsl:text>: </xsl:text>
+    <xsl:apply-templates select="following-sibling::subtitle[1]"
+                         mode="book.verso.subtitle.mode"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="verso.authorgroup">
+  <fo:block>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'by'"/>
+    </xsl:call-template>
+    <xsl:text> </xsl:text>
+    <xsl:call-template name="person.name.list">
+      <xsl:with-param name="person.list" select="author|corpauthor|editor"/>
+    </xsl:call-template>
+  </fo:block>
+  <xsl:apply-templates select="othercredit" mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="bookinfo/author|info/author"
+              mode="titlepage.mode" priority="2">
+  <fo:block>
+    <xsl:call-template name="person.name"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="bookinfo/corpauthor|info/corpauthor"
+              mode="titlepage.mode" priority="2">
+  <fo:block>
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="bookinfo/pubdate|info/pubdate"
+              mode="titlepage.mode" priority="2">
+  <fo:block>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'published'"/>
+    </xsl:call-template>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/toc.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/toc.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/toc.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,280 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: toc.xsl 4208 2005-01-18 08:20:24Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- FIXME: in the contexts where <toc> can occur, I think it's always
+     the case that a page-sequence is required. Is that true? -->
+
+<xsl:template match="toc">
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="*">
+      <xsl:if test="$process.source.toc != 0">
+        <!-- if the toc isn't empty, process it -->
+        <fo:page-sequence hyphenate="{$hyphenate}"
+                          master-reference="{$master-reference}">
+          <xsl:attribute name="language">
+            <xsl:call-template name="l10n.language"/>
+          </xsl:attribute>
+          <xsl:attribute name="format">
+            <xsl:call-template name="page.number.format">
+              <xsl:with-param name="element" select="'toc'"/>
+              <xsl:with-param name="master-reference" 
+                              select="$master-reference"/>
+            </xsl:call-template>
+          </xsl:attribute>
+
+          <xsl:attribute name="initial-page-number">
+            <xsl:call-template name="initial.page.number">
+              <xsl:with-param name="element" select="'toc'"/>
+              <xsl:with-param name="master-reference" 
+                              select="$master-reference"/>
+            </xsl:call-template>
+          </xsl:attribute>
+
+          <xsl:attribute name="force-page-count">
+            <xsl:call-template name="force.page.count">
+              <xsl:with-param name="master-reference" 
+	                      select="$master-reference"/>
+            </xsl:call-template>
+          </xsl:attribute>
+
+          <xsl:attribute name="hyphenation-character">
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'hyphenation-character'"/>
+            </xsl:call-template>
+          </xsl:attribute>
+          <xsl:attribute name="hyphenation-push-character-count">
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+            </xsl:call-template>
+          </xsl:attribute>
+          <xsl:attribute name="hyphenation-remain-character-count">
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+            </xsl:call-template>
+          </xsl:attribute>
+
+          <xsl:apply-templates select="." mode="running.head.mode">
+            <xsl:with-param name="master-reference" select="$master-reference"/>
+          </xsl:apply-templates>
+          <xsl:apply-templates select="." mode="running.foot.mode">
+            <xsl:with-param name="master-reference" select="$master-reference"/>
+          </xsl:apply-templates>
+
+          <fo:flow flow-name="xsl-region-body">
+            <xsl:call-template name="set.flow.properties">
+              <xsl:with-param name="element" select="local-name(.)"/>
+              <xsl:with-param name="master-reference" 
+                              select="$master-reference"/>
+            </xsl:call-template>
+
+            <fo:block xsl:use-attribute-sets="toc.margin.properties">
+              <xsl:call-template name="table.of.contents.titlepage"/>
+              <xsl:apply-templates/>
+            </fo:block>
+          </fo:flow>
+        </fo:page-sequence>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$process.empty.source.toc != 0">
+        <fo:page-sequence hyphenate="{$hyphenate}"
+                          master-reference="{$master-reference}">
+          <xsl:attribute name="language">
+            <xsl:call-template name="l10n.language"/>
+          </xsl:attribute>
+          <xsl:attribute name="format">
+            <xsl:call-template name="page.number.format">
+              <xsl:with-param name="element" select="'toc'"/>
+              <xsl:with-param name="master-reference" 
+                              select="$master-reference"/>
+            </xsl:call-template>
+          </xsl:attribute>
+
+          <xsl:attribute name="initial-page-number">
+            <xsl:call-template name="initial.page.number">
+              <xsl:with-param name="element" select="'toc'"/>
+              <xsl:with-param name="master-reference" 
+                              select="$master-reference"/>
+            </xsl:call-template>
+          </xsl:attribute>
+
+          <xsl:attribute name="hyphenation-character">
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'hyphenation-character'"/>
+            </xsl:call-template>
+          </xsl:attribute>
+          <xsl:attribute name="hyphenation-push-character-count">
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'hyphenation-push-character-count'"/>
+            </xsl:call-template>
+          </xsl:attribute>
+          <xsl:attribute name="hyphenation-remain-character-count">
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'hyphenation-remain-character-count'"/>
+            </xsl:call-template>
+          </xsl:attribute>
+
+          <xsl:apply-templates select="." mode="running.head.mode">
+            <xsl:with-param name="master-reference" select="$master-reference"/>
+          </xsl:apply-templates>
+          <xsl:apply-templates select="." mode="running.foot.mode">
+            <xsl:with-param name="master-reference" select="$master-reference"/>
+          </xsl:apply-templates>
+
+          <fo:flow flow-name="xsl-region-body">
+            <xsl:choose>
+              <xsl:when test="parent::section
+                              or parent::sect1
+                              or parent::sect2
+                              or parent::sect3
+                              or parent::sect4
+                              or parent::sect5">
+                <xsl:apply-templates select="parent::*"
+                                     mode="toc.for.section"/>
+              </xsl:when>
+              <xsl:when test="parent::article">
+                <xsl:apply-templates select="parent::*"
+                                     mode="toc.for.component"/>
+              </xsl:when>
+              <xsl:when test="parent::book
+                              or parent::part">
+                <xsl:apply-templates select="parent::*"
+                                     mode="toc.for.division"/>
+              </xsl:when>
+              <xsl:when test="parent::set">
+                <xsl:apply-templates select="parent::*"
+                                     mode="toc.for.set"/>
+              </xsl:when>
+              <!-- there aren't any other contexts that allow toc -->
+              <xsl:otherwise>
+                <xsl:message>
+                  <xsl:text>I don't know how to make a TOC in this context!</xsl:text>
+                </xsl:message>
+              </xsl:otherwise>
+            </xsl:choose>
+          </fo:flow>
+        </fo:page-sequence>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="tocpart|tocchap
+                     |toclevel1|toclevel2|toclevel3|toclevel4|toclevel5">
+  <xsl:apply-templates select="tocentry"/>
+  <xsl:if test="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5">
+    <fo:block start-indent="{count(ancestor::*)*2}pc">
+      <xsl:apply-templates select="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/>
+    </fo:block>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="tocentry|tocfront|tocback">
+  <fo:block text-align-last="justify"
+            end-indent="2pc"
+            last-line-end-indent="-2pc">
+    <fo:inline keep-with-next.within-line="always">
+      <xsl:choose>
+        <xsl:when test="@linkend">
+          <fo:basic-link internal-destination="{@linkend}">
+            <xsl:apply-templates/>
+          </fo:basic-link>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </fo:inline>
+
+    <xsl:choose>
+      <xsl:when test="@linkend">
+        <fo:inline keep-together.within-line="always">
+          <xsl:text> </xsl:text>
+          <fo:leader leader-pattern="dots"
+                     keep-with-next.within-line="always"/>
+          <xsl:text> </xsl:text>
+          <fo:basic-link internal-destination="{@linkend}">
+            <xsl:choose>
+              <xsl:when test="@pagenum">
+                <xsl:value-of select="@pagenum"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <fo:page-number-citation ref-id="{@linkend}"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </fo:basic-link>
+        </fo:inline>
+      </xsl:when>
+      <xsl:when test="@pagenum">
+        <fo:inline keep-together.within-line="always">
+          <xsl:text> </xsl:text>
+          <fo:leader leader-pattern="dots"
+                     keep-with-next.within-line="always"/>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="@pagenum"/>
+        </fo:inline>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- just the leaders, what else can I do? -->
+        <fo:inline keep-together.within-line="always">
+          <xsl:text> </xsl:text>
+          <fo:leader leader-pattern="space"
+                     keep-with-next.within-line="always"/>
+        </fo:inline>
+      </xsl:otherwise>
+    </xsl:choose>
+  </fo:block>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="toc.for.section">
+<!--
+  <xsl:call-template name="section.toc"/>
+-->
+</xsl:template>
+
+<xsl:template match="*" mode="toc.for.component">
+  <xsl:call-template name="component.toc"/>
+</xsl:template>
+
+<xsl:template match="*" mode="toc.for.section">
+<!--
+  <xsl:call-template name="section.toc"/>
+-->
+</xsl:template>
+
+<xsl:template match="*" mode="toc.for.division">
+  <xsl:call-template name="division.toc"/>
+</xsl:template>
+
+<xsl:template match="*" mode="toc.for.set">
+<!--
+  <xsl:call-template name="set.toc"/>
+-->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="lot|lotentry">
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/verbatim.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/verbatim.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/verbatim.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,422 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim"
+                xmlns:xverb="com.nwalsh.xalan.Verbatim"
+                xmlns:lxslt="http://xml.apache.org/xslt"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="sverb xverb lxslt exsl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: verbatim.xsl 6450 2006-12-07 17:54:17Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:include href="../highlighting/common.xsl"/>
+<xsl:include href="highlight.xsl"/>
+
+<lxslt:component prefix="xverb"
+                 functions="numberLines"/>
+
+<xsl:template match="programlisting|screen|synopsis">
+  <xsl:param name="suppress-numbers" select="'0'"/>
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:variable name="content">
+    <xsl:choose>
+      <xsl:when test="$suppress-numbers = '0'
+                      and @linenumbering = 'numbered'
+                      and $use.extensions != '0'
+                      and $linenumbering.extension != '0'">
+        <xsl:call-template name="number.rtf.lines">
+          <xsl:with-param name="rtf">
+	    <xsl:call-template name="apply-highlighting"/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:call-template name="apply-highlighting"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$shade.verbatim != 0">
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="monospace.verbatim.properties shade.verbatim.style">
+        <xsl:choose>
+          <xsl:when test="$hyphenate.verbatim != 0 and function-available('exsl:node-set')">
+            <xsl:apply-templates select="exsl:node-set($content)" mode="hyphenate.verbatim"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:copy-of select="$content"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </fo:block>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:block id="{$id}"
+                xsl:use-attribute-sets="monospace.verbatim.properties">
+        <xsl:choose>
+          <xsl:when test="$hyphenate.verbatim != 0 and function-available('exsl:node-set')">
+            <xsl:apply-templates select="exsl:node-set($content)" mode="hyphenate.verbatim"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:copy-of select="$content"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </fo:block>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="literallayout">
+  <xsl:param name="suppress-numbers" select="'0'"/>
+
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:variable name="content">
+    <xsl:choose>
+      <xsl:when test="$suppress-numbers = '0'
+                      and @linenumbering = 'numbered'
+                      and $use.extensions != '0'
+                      and $linenumbering.extension != '0'">
+        <xsl:call-template name="number.rtf.lines">
+          <xsl:with-param name="rtf">
+            <xsl:apply-templates/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="@class='monospaced'">
+      <xsl:choose>
+        <xsl:when test="$shade.verbatim != 0">
+          <fo:block id="{$id}"
+                    xsl:use-attribute-sets="monospace.verbatim.properties shade.verbatim.style">
+
+            <xsl:copy-of select="$content"/>
+          </fo:block>
+        </xsl:when>
+        <xsl:otherwise>
+          <fo:block id="{$id}"
+                    xsl:use-attribute-sets="monospace.verbatim.properties">
+            <xsl:copy-of select="$content"/>
+          </fo:block>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$shade.verbatim != 0">
+          <fo:block id="{$id}"
+                    xsl:use-attribute-sets="verbatim.properties shade.verbatim.style">
+            <xsl:copy-of select="$content"/>
+          </fo:block>
+        </xsl:when>
+        <xsl:otherwise>
+          <fo:block id="{$id}"
+                    xsl:use-attribute-sets="verbatim.properties">
+            <xsl:copy-of select="$content"/>
+          </fo:block>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="address">
+  <xsl:param name="suppress-numbers" select="'0'"/>
+
+  <xsl:variable name="content">
+    <xsl:choose>
+      <xsl:when test="$suppress-numbers = '0'
+                      and @linenumbering = 'numbered'
+                      and $use.extensions != '0'
+                      and $linenumbering.extension != '0'">
+        <xsl:call-template name="number.rtf.lines">
+          <xsl:with-param name="rtf">
+            <xsl:apply-templates/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <fo:block xsl:use-attribute-sets="verbatim.properties">
+    <xsl:copy-of select="$content"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template name="number.rtf.lines">
+  <xsl:param name="rtf" select="''"/>
+  <xsl:param name="pi.context" select="."/>
+
+  <!-- Save the global values -->
+  <xsl:variable name="global.linenumbering.everyNth"
+                select="$linenumbering.everyNth"/>
+
+  <xsl:variable name="global.linenumbering.separator"
+                select="$linenumbering.separator"/>
+
+  <xsl:variable name="global.linenumbering.width"
+                select="$linenumbering.width"/>
+
+  <!-- Extract the <?dbfo linenumbering.*?> PI values -->
+  <xsl:variable name="pi.linenumbering.everyNth">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="$pi.context/processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'linenumbering.everyNth'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="pi.linenumbering.separator">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="$pi.context/processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'linenumbering.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="pi.linenumbering.width">
+    <xsl:call-template name="dbfo-attribute">
+      <xsl:with-param name="pis"
+                      select="$pi.context/processing-instruction('dbfo')"/>
+      <xsl:with-param name="attribute" select="'linenumbering.width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <!-- Construct the 'in-context' values -->
+  <xsl:variable name="linenumbering.everyNth">
+    <xsl:choose>
+      <xsl:when test="$pi.linenumbering.everyNth != ''">
+        <xsl:value-of select="$pi.linenumbering.everyNth"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$global.linenumbering.everyNth"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="linenumbering.separator">
+    <xsl:choose>
+      <xsl:when test="$pi.linenumbering.separator != ''">
+        <xsl:value-of select="$pi.linenumbering.separator"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$global.linenumbering.separator"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="linenumbering.width">
+    <xsl:choose>
+      <xsl:when test="$pi.linenumbering.width != ''">
+        <xsl:value-of select="$pi.linenumbering.width"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$global.linenumbering.width"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="linenumbering.startinglinenumber">
+    <xsl:choose>
+      <xsl:when test="$pi.context/@startinglinenumber">
+        <xsl:value-of select="$pi.context/@startinglinenumber"/>
+      </xsl:when>
+      <xsl:when test="$pi.context/@continuation='continues'">
+        <xsl:variable name="lastLine">
+          <xsl:choose>
+            <xsl:when test="$pi.context/self::programlisting">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings"
+                     select="preceding::programlisting[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$pi.context/self::screen">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings"
+                     select="preceding::screen[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$pi.context/self::literallayout">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings"
+                     select="preceding::literallayout[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$pi.context/self::address">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings"
+                     select="preceding::address[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$pi.context/self::synopsis">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings"
+                     select="preceding::synopsis[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message>
+                <xsl:text>Unexpected verbatim environment: </xsl:text>
+                <xsl:value-of select="local-name(.)"/>
+              </xsl:message>
+              <xsl:value-of select="0"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+
+        <xsl:value-of select="$lastLine + 1"/>
+      </xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('sverb:numberLines')">
+      <xsl:copy-of select="sverb:numberLines($rtf)"/>
+    </xsl:when>
+    <xsl:when test="function-available('xverb:numberLines')">
+      <xsl:copy-of select="xverb:numberLines($rtf)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message terminate="yes">
+        <xsl:text>No numberLines function available.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ======================================================================== -->
+
+<xsl:template name="lastLineNumber">
+  <xsl:param name="listings"/>
+  <xsl:param name="number" select="0"/>
+
+  <xsl:variable name="lines">
+    <xsl:call-template name="countLines">
+      <xsl:with-param name="listing" select="string($listings[1])"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="not($listings)">
+      <xsl:value-of select="$number"/>
+    </xsl:when>
+    <xsl:when test="$listings[1]/@startinglinenumber">
+      <xsl:value-of select="$number + $listings[1]/@startinglinenumber + $lines - 1"/>
+    </xsl:when>
+    <xsl:when test="$listings[1]/@continuation='continues'">
+      <xsl:call-template name="lastLineNumber">
+        <xsl:with-param name="listings" select="listings[position() &gt; 1]"/>
+        <xsl:with-param name="number" select="$number + $lines"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$lines"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="countLines">
+  <xsl:param name="listing"/>
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($listing, '&#10;')">
+      <xsl:call-template name="countLines">
+        <xsl:with-param name="listing" select="substring-after($listing, '&#10;')"/>
+        <xsl:with-param name="count" select="$count + 1"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$count"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ======================================================================== -->
+
+<xsl:template match="node()|@*" mode="hyphenate.verbatim">
+  <xsl:copy>
+    <xsl:apply-templates select="node()|@*" mode="hyphenate.verbatim"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="text()" mode="hyphenate.verbatim" priority="2">
+  <xsl:call-template name="hyphenate.verbatim.block">
+    <xsl:with-param name="content" select="."/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="hyphenate.verbatim.block">
+  <xsl:param name="content" select="''"/>
+  <xsl:param name="count" select="1"/>
+
+  <!-- recurse on lines first to keep recursion depth reasonable -->
+  <xsl:choose>
+    <xsl:when test="contains($content, '&#xA;')">
+      <xsl:variable name="line" select="substring-before($content, '&#xA;')"/>
+      <xsl:variable name="rest" select="substring-after($content, '&#xA;')"/>
+      <xsl:call-template name="hyphenate.verbatim">
+        <xsl:with-param name="content" select="concat($line, '&#xA;')"/>
+      </xsl:call-template>
+      <xsl:call-template name="hyphenate.verbatim.block">
+        <xsl:with-param name="content" select="$rest"/>
+        <xsl:with-param name="count" select="$count + 1"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="hyphenate.verbatim">
+        <xsl:with-param name="content" select="$content"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+  
+</xsl:template>
+
+<xsl:template name="hyphenate.verbatim">
+  <xsl:param name="content"/>
+  <xsl:variable name="head" select="substring($content, 1, 1)"/>
+  <xsl:variable name="tail" select="substring($content, 2)"/>
+  <xsl:choose>
+    <!-- Place soft-hyphen after space or non-breakable space. -->
+    <xsl:when test="$head = ' ' or $head = '&#160;'">
+      <xsl:text>&#160;</xsl:text>
+      <xsl:text>&#x00AD;</xsl:text>
+    </xsl:when>
+    <xsl:when test="$hyphenate.verbatim.characters != '' and
+                    translate($head, $hyphenate.verbatim.characters, '') = '' and not($tail = '')">
+      <xsl:value-of select="$head"/>
+      <xsl:text>&#x00AD;</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$head"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:if test="$tail">
+    <xsl:call-template name="hyphenate.verbatim">
+      <xsl:with-param name="content" select="$tail"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/xep.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/xep.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/xep.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,179 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:rx="http://www.renderx.com/XSL/Extensions"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: xep.xsl 6536 2007-01-21 08:37:12Z xmldoc $
+     ********************************************************************
+     (c) Stephane Bline Peregrine Systems 2001
+     Implementation of xep extensions:
+       * Pdf bookmarks (based on the XEP 2.5 implementation)
+       * Document information (XEP 2.5 meta information extensions)
+     ******************************************************************** -->
+
+<!-- FIXME: Norm, I changed things so that the top-level element (book or set)
+     does not appear in the TOC. Is this the right thing? -->
+
+<xsl:template name="xep-document-information">
+  <rx:meta-info>
+    <xsl:variable name="authors" select="(//author|//editor|//corpauthor|//authorgroup)[1]"/>
+    <xsl:if test="$authors">
+      <xsl:variable name="author">
+        <xsl:choose>
+          <xsl:when test="$authors[self::authorgroup]">
+            <xsl:call-template name="person.name.list">
+              <xsl:with-param name="person.list" 
+                        select="$authors/*[self::author|self::corpauthor|
+                               self::othercredit|self::editor]"/>
+            </xsl:call-template>
+          </xsl:when>
+          <xsl:when test="$authors[self::corpauthor]">
+            <xsl:value-of select="$authors"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="person.name">
+              <xsl:with-param name="node" select="$authors"/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+      <xsl:element name="rx:meta-field">
+        <xsl:attribute name="name">author</xsl:attribute>
+        <xsl:attribute name="value">
+          <xsl:value-of select="normalize-space($author)"/>
+        </xsl:attribute>
+      </xsl:element>
+    </xsl:if>
+
+    <xsl:variable name="title">
+      <xsl:apply-templates select="/*[1]" mode="label.markup"/>
+      <xsl:apply-templates select="/*[1]" mode="title.markup"/>
+    </xsl:variable>
+
+    <xsl:element name="rx:meta-field">
+      <xsl:attribute name="name">creator</xsl:attribute>
+      <xsl:attribute name="value">
+        <xsl:text>DocBook </xsl:text>
+        <xsl:value-of select="$DistroTitle"/>
+        <xsl:text> V</xsl:text>
+        <xsl:value-of select="$VERSION"/>
+      </xsl:attribute>
+    </xsl:element>
+
+    <xsl:element name="rx:meta-field">
+      <xsl:attribute name="name">title</xsl:attribute>
+      <xsl:attribute name="value">
+        <xsl:value-of select="normalize-space($title)"/>
+      </xsl:attribute>
+    </xsl:element>
+
+    <xsl:if test="//keyword">
+      <xsl:element name="rx:meta-field">
+        <xsl:attribute name="name">keywords</xsl:attribute>
+        <xsl:attribute name="value">
+          <xsl:for-each select="//keyword">
+            <xsl:value-of select="normalize-space(.)"/>
+            <xsl:if test="position() != last()">
+              <xsl:text>, </xsl:text>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:attribute>
+      </xsl:element>
+    </xsl:if>
+
+    <xsl:if test="//subjectterm">
+      <xsl:element name="rx:meta-field">
+        <xsl:attribute name="name">subject</xsl:attribute>
+        <xsl:attribute name="value">
+          <xsl:for-each select="//subjectterm">
+            <xsl:value-of select="normalize-space(.)"/>
+            <xsl:if test="position() != last()">
+              <xsl:text>, </xsl:text>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:attribute>
+      </xsl:element>
+    </xsl:if>
+  </rx:meta-info>
+</xsl:template>
+
+<!-- ********************************************************************
+     Pdf bookmarks
+     ******************************************************************** -->
+
+<xsl:template match="*" mode="xep.outline">
+  <xsl:apply-templates select="*" mode="xep.outline"/>
+</xsl:template>
+
+<xsl:template match="set|book|part|reference|preface|chapter|appendix|article
+                     |glossary|bibliography|index|setindex
+                     |refentry|refsynopsisdiv
+                     |refsect1|refsect2|refsect3|refsection
+                     |sect1|sect2|sect3|sect4|sect5|section"
+              mode="xep.outline">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="bookmark-label">
+    <xsl:apply-templates select="." mode="object.title.markup"/>
+  </xsl:variable>
+
+  <!-- Put the root element bookmark at the same level as its children -->
+  <!-- If the object is a set or book, generate a bookmark for the toc -->
+
+  <xsl:choose>
+    <xsl:when test="parent::*">
+      <rx:bookmark internal-destination="{$id}">
+        <rx:bookmark-label>
+          <xsl:value-of select="normalize-space($bookmark-label)"/>
+        </rx:bookmark-label>
+        <xsl:apply-templates select="*" mode="xep.outline"/>
+      </rx:bookmark>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$bookmark-label != ''">
+        <rx:bookmark internal-destination="{$id}">
+          <rx:bookmark-label>
+            <xsl:value-of select="normalize-space($bookmark-label)"/>
+          </rx:bookmark-label>
+        </rx:bookmark>
+      </xsl:if>
+
+      <xsl:variable name="toc.params">
+        <xsl:call-template name="find.path.params">
+          <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:if test="contains($toc.params, 'toc')
+                    and set|book|part|reference|section|sect1|refentry
+                        |article|bibliography|glossary|chapter
+                        |appendix">
+        <rx:bookmark internal-destination="toc...{$id}">
+          <rx:bookmark-label>
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'TableofContents'"/>
+            </xsl:call-template>
+          </rx:bookmark-label>
+        </rx:bookmark>
+      </xsl:if>
+      <xsl:apply-templates select="*" mode="xep.outline"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="xep-pis">
+  <xsl:if test="$crop.marks != 0">
+    <xsl:processing-instruction name="xep-pdf-crop-mark-width"><xsl:value-of select="$crop.mark.width"/></xsl:processing-instruction>
+    <xsl:processing-instruction name="xep-pdf-crop-offset"><xsl:value-of select="$crop.mark.offset"/></xsl:processing-instruction>
+    <xsl:processing-instruction name="xep-pdf-bleed"><xsl:value-of select="$crop.mark.bleed"/></xsl:processing-instruction>
+  </xsl:if>
+
+  <xsl:call-template name="user-xep-pis"/>
+</xsl:template>
+
+<!-- Placeholder for user defined PIs -->
+<xsl:template name="user-xep-pis"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/fo/xref.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/fo/xref.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/fo/xref.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1392 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:xlink='http://www.w3.org/1999/xlink'
+                exclude-result-prefixes="exsl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: xref.xsl 6475 2007-01-06 18:32:52Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="anchor">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <fo:inline id="{$id}"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="xref" name="xref">
+  <xsl:param name="xhref" select="@xlink:href"/>
+  <!-- is the @xlink:href a local idref link? -->
+  <xsl:param name="xlink.idref">
+    <xsl:if test="starts-with($xhref,'#')
+                  and (not(contains($xhref,'&#40;'))
+                  or starts-with($xhref, '#xpointer&#40;id&#40;'))">
+      <xsl:call-template name="xpointer.idref">
+        <xsl:with-param name="xpointer" select="$xhref"/>
+      </xsl:call-template>
+   </xsl:if>
+  </xsl:param>
+  <xsl:param name="xlink.targets" select="key('id',$xlink.idref)"/>
+  <xsl:param name="linkend.targets" select="key('id', at linkend)"/>
+  <xsl:param name="target" select="($xlink.targets | $linkend.targets)[1]"/>
+  <xsl:param name="refelem" select="local-name($target)"/>
+
+  <xsl:variable name="xrefstyle">
+    <xsl:choose>
+      <xsl:when test="@role and not(@xrefstyle) 
+                      and $use.role.as.xrefstyle != 0">
+        <xsl:value-of select="@role"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="@xrefstyle"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="content">
+    <fo:inline xsl:use-attribute-sets="xref.properties">
+      <xsl:choose>
+        <xsl:when test="@endterm">
+          <xsl:variable name="etargets" select="key('id', at endterm)"/>
+          <xsl:variable name="etarget" select="$etargets[1]"/>
+          <xsl:choose>
+            <xsl:when test="count($etarget) = 0">
+              <xsl:message>
+                <xsl:value-of select="count($etargets)"/>
+                <xsl:text>Endterm points to nonexistent ID: </xsl:text>
+                <xsl:value-of select="@endterm"/>
+              </xsl:message>
+              <xsl:text>???</xsl:text>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="$etarget" mode="endterm"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+  
+        <xsl:when test="$target/@xreflabel">
+          <xsl:call-template name="xref.xreflabel">
+            <xsl:with-param name="target" select="$target"/>
+          </xsl:call-template>
+        </xsl:when>
+  
+        <xsl:when test="$target">
+          <xsl:if test="not(parent::citation)">
+            <xsl:apply-templates select="$target" mode="xref-to-prefix"/>
+          </xsl:if>
+  
+          <xsl:apply-templates select="$target" mode="xref-to">
+            <xsl:with-param name="referrer" select="."/>
+            <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+          </xsl:apply-templates>
+  
+          <xsl:if test="not(parent::citation)">
+            <xsl:apply-templates select="$target" mode="xref-to-suffix"/>
+          </xsl:if>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>ERROR: xref linking to </xsl:text>
+            <xsl:value-of select="@linkend|@xlink:href"/>
+            <xsl:text> has no generated link text.</xsl:text>
+          </xsl:message>
+          <xsl:text>???</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </fo:inline>
+  </xsl:variable>
+
+  <!-- Convert it into an active link -->
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+
+  <!-- Add standard page reference? -->
+  <xsl:choose>
+    <xsl:when test="not($target)">
+      <!-- page numbers only for local targets -->
+    </xsl:when>
+    <xsl:when test="starts-with(normalize-space($xrefstyle), 'select:') 
+                  and contains($xrefstyle, 'nopage')">
+      <!-- negative xrefstyle in instance turns it off -->
+    </xsl:when>
+    <!-- positive xrefstyle already handles it -->
+    <xsl:when test="not(starts-with(normalize-space($xrefstyle), 'select:') 
+                  and (contains($xrefstyle, 'page')
+                       or contains($xrefstyle, 'Page')))
+                  and ( $insert.xref.page.number = 'yes' 
+                     or $insert.xref.page.number = '1')
+                  or local-name($target) = 'para'">
+      <xsl:apply-templates select="$target" mode="page.citation">
+        <xsl:with-param name="id" select="$target/@id|$target/@xml:id"/>
+      </xsl:apply-templates>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- Handled largely like an xref -->
+<!-- To be done: add support for begin, end, and units attributes -->
+<xsl:template match="biblioref" name="biblioref">
+  <xsl:variable name="targets" select="key('id', at linkend)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+  <xsl:variable name="refelem" select="local-name($target)"/>
+
+  <xsl:call-template name="check.id.unique">
+    <xsl:with-param name="linkend" select="@linkend"/>
+  </xsl:call-template>
+
+  <xsl:choose>
+    <xsl:when test="$refelem=''">
+      <xsl:message>
+        <xsl:text>XRef to nonexistent id: </xsl:text>
+        <xsl:value-of select="@linkend"/>
+      </xsl:message>
+      <xsl:text>???</xsl:text>
+    </xsl:when>
+
+    <xsl:when test="@endterm">
+      <fo:basic-link internal-destination="{@linkend}"
+                     xsl:use-attribute-sets="xref.properties">
+        <xsl:variable name="etargets" select="key('id', at endterm)"/>
+        <xsl:variable name="etarget" select="$etargets[1]"/>
+        <xsl:choose>
+          <xsl:when test="count($etarget) = 0">
+            <xsl:message>
+              <xsl:value-of select="count($etargets)"/>
+              <xsl:text>Endterm points to nonexistent ID: </xsl:text>
+              <xsl:value-of select="@endterm"/>
+            </xsl:message>
+            <xsl:text>???</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="$etarget" mode="endterm"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </fo:basic-link>
+    </xsl:when>
+
+    <xsl:when test="$target/@xreflabel">
+      <fo:basic-link internal-destination="{@linkend}"
+                     xsl:use-attribute-sets="xref.properties">
+        <xsl:call-template name="xref.xreflabel">
+          <xsl:with-param name="target" select="$target"/>
+        </xsl:call-template>
+      </fo:basic-link>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:if test="not(parent::citation)">
+        <xsl:apply-templates select="$target" mode="xref-to-prefix"/>
+      </xsl:if>
+
+      <fo:basic-link internal-destination="{@linkend}"
+                     xsl:use-attribute-sets="xref.properties">
+        <xsl:apply-templates select="$target" mode="xref-to">
+          <xsl:with-param name="referrer" select="."/>
+          <xsl:with-param name="xrefstyle">
+            <xsl:choose>
+              <xsl:when test="@role and not(@xrefstyle) and $use.role.as.xrefstyle != 0">
+                <xsl:value-of select="@role"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select="@xrefstyle"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:apply-templates>
+      </fo:basic-link>
+
+      <xsl:if test="not(parent::citation)">
+        <xsl:apply-templates select="$target" mode="xref-to-suffix"/>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="endterm">
+  <!-- Process the children of the endterm element -->
+  <xsl:variable name="endterm">
+    <xsl:apply-templates select="child::node()"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set')">
+      <xsl:apply-templates select="exsl:node-set($endterm)" mode="remove-ids"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$endterm"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="remove-ids">
+  <xsl:copy>
+    <xsl:for-each select="@*">
+      <xsl:choose>
+        <xsl:when test="name(.) != 'id'">
+          <xsl:copy/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>removing <xsl:value-of select="name(.)"/></xsl:message>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:for-each>
+    <xsl:apply-templates mode="remove-ids"/>
+  </xsl:copy>
+</xsl:template>
+
+<!--- ==================================================================== -->
+
+<xsl:template match="*" mode="xref-to-prefix"/>
+<xsl:template match="*" mode="xref-to-suffix"/>
+
+<xsl:template match="*" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+
+  <xsl:if test="$verbose != 0">
+    <xsl:message>
+      <xsl:text>Don't know what gentext to create for xref to: "</xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:text>"</xsl:text>
+    </xsl:message>
+    <xsl:text>???</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="title" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <!-- if you xref to a title, xref to the parent... -->
+  <xsl:choose>
+    <!-- FIXME: how reliable is this? -->
+    <xsl:when test="contains(local-name(parent::*), 'info')">
+      <xsl:apply-templates select="parent::*[2]" mode="xref-to">
+        <xsl:with-param name="referrer" select="$referrer"/>
+        <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+        <xsl:with-param name="verbose" select="$verbose"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="parent::*" mode="xref-to">
+        <xsl:with-param name="referrer" select="$referrer"/>
+        <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+        <xsl:with-param name="verbose" select="$verbose"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="abstract|article|authorblurb|bibliodiv|bibliomset
+                     |biblioset|blockquote|calloutlist|caution|colophon
+                     |constraintdef|formalpara|glossdiv|important|indexdiv
+                     |itemizedlist|legalnotice|lot|msg|msgexplan|msgmain
+                     |msgrel|msgset|msgsub|note|orderedlist|partintro
+                     |productionset|qandadiv|refsynopsisdiv|segmentedlist
+                     |set|setindex|sidebar|tip|toc|variablelist|warning"
+              mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <!-- catch-all for things with (possibly optional) titles -->
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="author|editor|othercredit|personname" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:call-template name="person.name"/>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:call-template name="person.name.list"/>
+</xsl:template>
+
+<xsl:template match="figure|example|table|equation" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="procedure" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="task" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="(.//command)[1]" mode="xref"/>
+</xsl:template>
+
+<xsl:template match="funcsynopsis" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="(.//function)[1]" mode="xref"/>
+</xsl:template>
+
+<xsl:template match="dedication|preface|chapter|appendix" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="bibliography" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="biblioentry|bibliomixed" mode="xref-to-prefix">
+  <xsl:text>[</xsl:text>
+</xsl:template>
+
+<xsl:template match="biblioentry|bibliomixed" mode="xref-to-suffix">
+  <xsl:text>]</xsl:text>
+</xsl:template>
+
+<xsl:template match="biblioentry|bibliomixed" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <!-- handles both biblioentry and bibliomixed -->
+  <xsl:choose>
+    <xsl:when test="string(.) = ''">
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
+      <xsl:variable name="id" select="(@id|@xml:id)[1]"/>
+      <xsl:variable name="entry" select="$bib/bibliography/
+                                         *[@id=$id or @xml:id=$id][1]"/>
+      <xsl:choose>
+        <xsl:when test="$entry">
+          <xsl:choose>
+            <xsl:when test="$bibliography.numbered != 0">
+              <xsl:number from="bibliography" count="biblioentry|bibliomixed"
+                          level="any" format="1"/>
+            </xsl:when>
+            <xsl:when test="local-name($entry/*[1]) = 'abbrev'">
+              <xsl:apply-templates select="$entry/*[1]"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="(@id|@xml:id)[1]"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>No bibliography entry: </xsl:text>
+            <xsl:value-of select="$id"/>
+            <xsl:text> found in </xsl:text>
+            <xsl:value-of select="$bibliography.collection"/>
+          </xsl:message>
+          <xsl:value-of select="(@id|@xml:id)[1]"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$bibliography.numbered != 0">
+          <xsl:number from="bibliography" count="biblioentry|bibliomixed"
+                      level="any" format="1"/>
+        </xsl:when>
+        <xsl:when test="local-name(*[1]) = 'abbrev'">
+          <xsl:apply-templates select="*[1]"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="(@id|@xml:id)[1]"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="glossary" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="glossentry" mode="xref-to">
+  <xsl:choose>
+    <xsl:when test="$glossentry.show.acronym = 'primary'">
+      <xsl:choose>
+        <xsl:when test="acronym|abbrev">
+          <xsl:apply-templates select="(acronym|abbrev)[1]"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="glossterm[1]" mode="xref-to"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="glossterm[1]" mode="xref-to"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="glossterm" mode="xref-to">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="index" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="listitem" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="section|simplesect
+                     |sect1|sect2|sect3|sect4|sect5
+                     |refsect1|refsect2|refsect3|refsection" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+  <!-- What about "in Chapter X"? -->
+</xsl:template>
+
+<xsl:template match="bridgehead" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+  <!-- What about "in Chapter X"? -->
+</xsl:template>
+
+<xsl:template match="qandaset" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="qandadiv" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="qandaentry" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="question[1]" mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="question|answer" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="part|reference" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="refentry" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="refmeta/refentrytitle">
+      <xsl:apply-templates select="refmeta/refentrytitle"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="refnamediv/refname[1]"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:apply-templates select="refmeta/manvolnum"/>
+</xsl:template>
+
+<xsl:template match="refnamediv" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="refname[1]" mode="xref-to">
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="refname" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates mode="xref-to">
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="step" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'Step'"/>
+  </xsl:call-template>
+  <xsl:text> </xsl:text>
+  <xsl:apply-templates select="." mode="number"/>
+</xsl:template>
+
+<xsl:template match="varlistentry" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="term[1]" mode="xref-to">
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="varlistentry/term" mode="xref-to">
+  <xsl:param name="verbose" select="1"/>
+  <!-- to avoid the comma that will be generated if there are several terms -->
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="co" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="callout-bug"/>
+</xsl:template>
+
+<xsl:template match="book" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="para" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose"/>
+
+  <xsl:variable name="context" select="(ancestor::simplesect
+                                       |ancestor::section
+                                       |ancestor::sect1
+                                       |ancestor::sect2
+                                       |ancestor::sect3
+                                       |ancestor::sect4
+                                       |ancestor::sect5
+                                       |ancestor::refsection
+                                       |ancestor::refsect1
+                                       |ancestor::refsect2
+                                       |ancestor::refsect3
+                                       |ancestor::chapter
+                                       |ancestor::appendix
+                                       |ancestor::preface
+                                       |ancestor::partintro
+                                       |ancestor::dedication
+                                       |ancestor::colophon
+                                       |ancestor::bibliography
+                                       |ancestor::index
+                                       |ancestor::glossary
+                                       |ancestor::glossentry
+                                       |ancestor::listitem
+                                       |ancestor::varlistentry)[last()]"/>
+
+  <xsl:apply-templates select="$context" mode="xref-to">
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="link" name="link">
+  <xsl:param name="linkend" select="@linkend"/>
+  <xsl:param name="targets" select="key('id',$linkend)"/>
+  <xsl:param name="target" select="$targets[1]"/>
+
+  <xsl:variable name="xrefstyle">
+    <xsl:choose>
+      <xsl:when test="@role and not(@xrefstyle) 
+                      and $use.role.as.xrefstyle != 0">
+        <xsl:value-of select="@role"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="@xrefstyle"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="content">
+    <fo:inline xsl:use-attribute-sets="xref.properties">
+      <xsl:choose>
+        <xsl:when test="count(child::node()) &gt; 0">
+          <!-- If it has content, use it -->
+          <xsl:apply-templates/>
+        </xsl:when>
+        <xsl:otherwise>
+          <!-- else look for an endterm -->
+          <xsl:choose>
+            <xsl:when test="@endterm">
+              <xsl:variable name="etargets" select="key('id', at endterm)"/>
+              <xsl:variable name="etarget" select="$etargets[1]"/>
+              <xsl:choose>
+                <xsl:when test="count($etarget) = 0">
+                  <xsl:message>
+                    <xsl:value-of select="count($etargets)"/>
+                    <xsl:text>Endterm points to nonexistent ID: </xsl:text>
+                    <xsl:value-of select="@endterm"/>
+                  </xsl:message>
+                  <xsl:text>???</xsl:text>
+                </xsl:when>
+                <xsl:otherwise>
+                    <xsl:apply-templates select="$etarget" mode="endterm"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:when>
+  
+            <xsl:otherwise>
+              <xsl:message>
+                <xsl:text>Link element has no content and no Endterm. </xsl:text>
+                <xsl:text>Nothing to show in the link to </xsl:text>
+                <xsl:value-of select="$target"/>
+              </xsl:message>
+              <xsl:text>???</xsl:text>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:otherwise>
+      </xsl:choose>
+    </fo:inline>
+  </xsl:variable>
+
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="node" select="."/>
+    <xsl:with-param name="linkend" select="$linkend"/>
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+
+  <!-- Add standard page reference? -->
+  <xsl:choose>
+    <!-- page numbering on link only enabled for @linkend -->
+    <!-- There is no link element in DB5 with xlink:href -->
+    <xsl:when test="not($linkend)">
+    </xsl:when>
+    <!-- negative xrefstyle in instance turns it off -->
+    <xsl:when test="starts-with(normalize-space($xrefstyle), 'select:') 
+                  and contains($xrefstyle, 'nopage')">
+    </xsl:when>
+    <xsl:when test="(starts-with(normalize-space($xrefstyle), 'select:') 
+                  and $insert.link.page.number = 'maybe'  
+                  and (contains($xrefstyle, 'page')
+                       or contains($xrefstyle, 'Page')))
+                  or ( $insert.link.page.number = 'yes' 
+                     or $insert.link.page.number = '1')
+                  or local-name($target) = 'para'">
+      <xsl:apply-templates select="$target" mode="page.citation">
+        <xsl:with-param name="id" select="$linkend"/>
+      </xsl:apply-templates>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="ulink" name="ulink">
+  <xsl:param name="url" select="@url"/>
+
+  <xsl:variable name ="ulink.url">
+    <xsl:call-template name="fo-external-image">
+      <xsl:with-param name="filename" select="$url"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <fo:basic-link xsl:use-attribute-sets="xref.properties"
+                 external-destination="{$ulink.url}">
+    <xsl:choose>
+      <xsl:when test="count(child::node())=0">
+        <xsl:call-template name="hyphenate-url">
+          <xsl:with-param name="url" select="$url"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </fo:basic-link>
+
+  <xsl:if test="count(child::node()) != 0
+                and string(.) != $url
+                and $ulink.show != 0">
+    <!-- yes, show the URI -->
+    <xsl:choose>
+      <xsl:when test="$ulink.footnotes != 0 and not(ancestor::footnote)">
+        <fo:footnote>
+          <xsl:call-template name="ulink.footnote.number"/>
+          <fo:footnote-body xsl:use-attribute-sets="footnote.properties">
+            <fo:block>
+              <xsl:call-template name="ulink.footnote.number"/>
+              <xsl:text> </xsl:text>
+              <fo:basic-link external-destination="{$ulink.url}">
+                <xsl:value-of select="$url"/>
+              </fo:basic-link>
+            </fo:block>
+          </fo:footnote-body>
+        </fo:footnote>
+      </xsl:when>
+      <xsl:otherwise>
+        <fo:inline hyphenate="false">
+          <xsl:text> [</xsl:text>
+          <fo:basic-link external-destination="{$ulink.url}">
+            <xsl:call-template name="hyphenate-url">
+              <xsl:with-param name="url" select="$url"/>
+            </xsl:call-template>
+          </fo:basic-link>
+          <xsl:text>]</xsl:text>
+        </fo:inline>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+
+</xsl:template>
+
+<xsl:template name="ulink.footnote.number">
+  <fo:inline xsl:use-attribute-sets="footnote.mark.properties">
+    <xsl:choose>
+      <xsl:when test="$fop.extensions != 0">
+        <xsl:attribute name="vertical-align">super</xsl:attribute>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:attribute name="baseline-shift">super</xsl:attribute>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:variable name="fnum">
+      <!-- FIXME: list in @from is probably not complete -->
+      <xsl:number level="any" 
+                  from="chapter|appendix|preface|article|refentry|bibliography[not(parent::article)]" 
+                  count="footnote[not(@label)][not(ancestor::tgroup)]|ulink[node()][@url != .][not(ancestor::footnote)]" 
+                  format="1"/>
+    </xsl:variable>
+    <xsl:choose>
+      <xsl:when test="string-length($footnote.number.symbols) &gt;= $fnum">
+        <xsl:value-of select="substring($footnote.number.symbols, $fnum, 1)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:number value="$fnum" format="{$footnote.number.format}"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </fo:inline>
+</xsl:template>
+
+<xsl:template name="hyphenate-url">
+  <xsl:param name="url" select="''"/>
+  <xsl:choose>
+    <xsl:when test="$ulink.hyphenate = ''">
+      <xsl:value-of select="$url"/>
+    </xsl:when>
+    <xsl:when test="string-length($url) &gt; 1">
+      <xsl:variable name="char" select="substring($url, 1, 1)"/>
+      <xsl:value-of select="$char"/>
+      <xsl:if test="contains($ulink.hyphenate.chars, $char)">
+        <!-- Do not hyphen in-between // -->
+        <xsl:if test="not($char = '/' and substring($url,2,1) = '/')">
+          <xsl:copy-of select="$ulink.hyphenate"/>
+        </xsl:if>
+      </xsl:if>
+      <!-- recurse to the next character -->
+      <xsl:call-template name="hyphenate-url">
+        <xsl:with-param name="url" select="substring($url, 2)"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$url"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="olink" name="olink">
+  <xsl:call-template name="anchor"/>
+
+  <xsl:variable name="localinfo" select="@localinfo"/>
+
+  <xsl:choose>
+    <!-- olinks resolved by stylesheet and target database -->
+    <xsl:when test="@targetdoc or @targetptr" >
+      <xsl:variable name="targetdoc.att" select="@targetdoc"/>
+      <xsl:variable name="targetptr.att" select="@targetptr"/>
+
+      <xsl:variable name="olink.lang">
+        <xsl:call-template name="l10n.language">
+          <xsl:with-param name="xref-context" select="true()"/>
+        </xsl:call-template>
+      </xsl:variable>
+    
+      <xsl:variable name="target.database.filename">
+        <xsl:call-template name="select.target.database">
+          <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/>
+          <xsl:with-param name="targetptr.att" select="$targetptr.att"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+        </xsl:call-template>
+      </xsl:variable>
+    
+      <xsl:variable name="target.database" 
+          select="document($target.database.filename, /)"/>
+    
+      <xsl:if test="$olink.debug != 0">
+        <xsl:message>
+          <xsl:text>Olink debug: root element of target.database is '</xsl:text>
+          <xsl:value-of select="local-name($target.database/*[1])"/>
+          <xsl:text>'.</xsl:text>
+        </xsl:message>
+      </xsl:if>
+    
+      <xsl:variable name="olink.key">
+        <xsl:call-template name="select.olink.key">
+          <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/>
+          <xsl:with-param name="targetptr.att" select="$targetptr.att"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+        </xsl:call-template>
+      </xsl:variable>
+    
+      <xsl:if test="string-length($olink.key) = 0">
+        <xsl:message>
+          <xsl:text>Error: unresolved olink: </xsl:text>
+          <xsl:text>targetdoc/targetptr = '</xsl:text>
+          <xsl:value-of select="$targetdoc.att"/>
+          <xsl:text>/</xsl:text>
+          <xsl:value-of select="$targetptr.att"/>
+          <xsl:text>'.</xsl:text>
+        </xsl:message>
+      </xsl:if>
+
+      <xsl:variable name="href">
+        <xsl:call-template name="make.olink.href">
+          <xsl:with-param name="olink.key" select="$olink.key"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <!-- Olink that points to internal id can be a link -->
+      <xsl:variable name="linkend">
+        <xsl:call-template name="olink.as.linkend">
+          <xsl:with-param name="olink.key" select="$olink.key"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="hottext">
+        <xsl:call-template name="olink.hottext">
+          <xsl:with-param name="olink.key" select="$olink.key"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="olink.docname.citation">
+        <xsl:call-template name="olink.document.citation">
+          <xsl:with-param name="olink.key" select="$olink.key"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="olink.page.citation">
+        <xsl:call-template name="olink.page.citation">
+          <xsl:with-param name="olink.key" select="$olink.key"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+          <xsl:with-param name="linkend" select="$linkend"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$linkend != ''">
+          <fo:basic-link internal-destination="{$linkend}"
+                       xsl:use-attribute-sets="xref.properties">
+            <xsl:copy-of select="$hottext"/>
+            <xsl:copy-of select="$olink.page.citation"/>
+          </fo:basic-link>
+        </xsl:when>
+        <xsl:when test="$href != ''">
+          <xsl:choose>
+            <xsl:when test="$xep.extensions != 0">
+              <fo:basic-link external-destination="url({$href})"
+                             xsl:use-attribute-sets="olink.properties">
+                <xsl:copy-of select="$hottext"/>
+              </fo:basic-link>
+              <xsl:copy-of select="$olink.page.citation"/>
+              <xsl:copy-of select="$olink.docname.citation"/>
+            </xsl:when>
+            <xsl:when test="$axf.extensions != 0">
+              <fo:basic-link external-destination="{$href}"
+                             xsl:use-attribute-sets="olink.properties">
+                <xsl:copy-of select="$hottext"/>
+              </fo:basic-link>
+              <xsl:copy-of select="$olink.page.citation"/>
+              <xsl:copy-of select="$olink.docname.citation"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <fo:basic-link external-destination="{$href}"
+                             xsl:use-attribute-sets="olink.properties">
+                <xsl:copy-of select="$hottext"/>
+              </fo:basic-link>
+              <xsl:copy-of select="$olink.page.citation"/>
+              <xsl:copy-of select="$olink.docname.citation"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:copy-of select="$hottext"/>
+          <xsl:copy-of select="$olink.page.citation"/>
+          <xsl:copy-of select="$olink.docname.citation"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <!-- olink never implemented in FO for old olink entity syntax -->
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.olink.docname.markup">
+  <xsl:param name="docname" select="''"/>
+  
+  <fo:inline font-style="italic">
+    <xsl:value-of select="$docname"/>
+  </fo:inline>
+
+</xsl:template>
+
+<!-- This prevents error message when processing olinks with xrefstyle -->
+<xsl:template match="olink" mode="object.xref.template"/>
+
+
+<xsl:template name="olink.as.linkend">
+  <xsl:param name="olink.key" select="''"/>
+  <xsl:param name="olink.lang" select="''"/>
+  <xsl:param name="target.database" select="NotANode"/>
+
+  <xsl:variable name="targetdoc">
+    <xsl:value-of select="substring-before($olink.key, '/')"/>
+  </xsl:variable>
+
+  <xsl:variable name="targetptr">
+    <xsl:value-of 
+       select="substring-before(substring-after($olink.key, '/'), '/')"/>
+  </xsl:variable>
+
+  <xsl:variable name="target.lang">
+    <xsl:variable name="candidate">
+      <xsl:for-each select="$target.database" >
+        <xsl:value-of 
+                  select="key('targetptr-key', $olink.key)/@lang" />
+      </xsl:for-each>
+    </xsl:variable>
+    <xsl:choose>
+      <xsl:when test="$candidate != ''">
+        <xsl:value-of select="$candidate"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$olink.lang"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:if test="$current.docid = $targetdoc and 
+                $olink.lang = $target.lang">
+    <xsl:variable name="targets" select="key('id',$targetptr)"/>
+    <xsl:variable name="target" select="$targets[1]"/>
+    <xsl:if test="$target">
+      <xsl:value-of select="$targetptr"/>
+    </xsl:if>
+  </xsl:if>
+
+</xsl:template>
+
+
+<xsl:template name="olink.outline">
+  <xsl:param name="outline.base.uri"/>
+  <xsl:param name="localinfo"/>
+  <xsl:param name="return" select="href"/>
+
+  <xsl:message terminate="yes">Fatal error: what is this supposed to do?</xsl:message>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="title.xref">
+  <xsl:param name="target" select="."/>
+  <xsl:choose>
+    <xsl:when test="local-name($target) = 'figure'
+                    or local-name($target) = 'example'
+                    or local-name($target) = 'equation'
+                    or local-name($target) = 'table'
+                    or local-name($target) = 'dedication'
+                    or local-name($target) = 'preface'
+                    or local-name($target) = 'bibliography'
+                    or local-name($target) = 'glossary'
+                    or local-name($target) = 'index'
+                    or local-name($target) = 'setindex'
+                    or local-name($target) = 'colophon'">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:apply-templates select="$target" mode="title.markup"/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <fo:inline font-style="italic">
+        <xsl:apply-templates select="$target" mode="title.markup"/>
+      </fo:inline>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="number.xref">
+  <xsl:param name="target" select="."/>
+  <xsl:apply-templates select="$target" mode="label.markup"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="xref.xreflabel">
+  <!-- called to process an xreflabel...you might use this to make  -->
+  <!-- xreflabels come out in the right font for different targets, -->
+  <!-- for example. -->
+  <xsl:param name="target" select="."/>
+  <xsl:value-of select="$target/@xreflabel"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="title" mode="xref">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="command" mode="xref">
+  <xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="function" mode="xref">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="*" mode="page.citation">
+  <xsl:param name="id" select="'???'"/>
+
+  <fo:basic-link internal-destination="{$id}"
+                 xsl:use-attribute-sets="xref.properties">
+    <fo:inline keep-together.within-line="always">
+      <xsl:call-template name="substitute-markup">
+        <xsl:with-param name="template">
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="name" select="'page.citation'"/>
+            <xsl:with-param name="context" select="'xref'"/>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:call-template>
+    </fo:inline>
+  </fo:basic-link>
+</xsl:template>
+
+<xsl:template match="*" mode="pagenumber.markup">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <fo:page-number-citation ref-id="{$id}"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="insert.title.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="title"/>
+
+  <xsl:choose>
+    <!-- FIXME: what about the case where titleabbrev is inside the info? -->
+    <xsl:when test="$purpose = 'xref' and titleabbrev">
+      <xsl:apply-templates select="." mode="titleabbrev.markup"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$title"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="chapter|appendix" mode="insert.title.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="title"/>
+
+  <xsl:choose>
+    <xsl:when test="$purpose = 'xref'">
+      <fo:inline font-style="italic">
+        <xsl:copy-of select="$title"/>
+      </fo:inline>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$title"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.subtitle.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="subtitle"/>
+
+  <xsl:copy-of select="$subtitle"/>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.label.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="label"/>
+
+  <xsl:copy-of select="$label"/>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.pagenumber.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="pagenumber"/>
+
+  <xsl:copy-of select="$pagenumber"/>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.direction.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="direction"/>
+
+  <xsl:copy-of select="$direction"/>
+</xsl:template>
+
+<xsl:template match="olink" mode="pagenumber.markup">
+  <!-- Local olinks can use page-citation -->
+  <xsl:variable name="targetdoc.att" select="@targetdoc"/>
+  <xsl:variable name="targetptr.att" select="@targetptr"/>
+
+  <xsl:variable name="olink.lang">
+    <xsl:call-template name="l10n.language">
+      <xsl:with-param name="xref-context" select="true()"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="target.database.filename">
+    <xsl:call-template name="select.target.database">
+      <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/>
+      <xsl:with-param name="targetptr.att" select="$targetptr.att"/>
+      <xsl:with-param name="olink.lang" select="$olink.lang"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="target.database" 
+      select="document($target.database.filename, /)"/>
+
+  <xsl:if test="$olink.debug != 0">
+    <xsl:message>
+      <xsl:text>Olink debug: root element of target.database is '</xsl:text>
+      <xsl:value-of select="local-name($target.database/*[1])"/>
+      <xsl:text>'.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="olink.key">
+    <xsl:call-template name="select.olink.key">
+      <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/>
+      <xsl:with-param name="targetptr.att" select="$targetptr.att"/>
+      <xsl:with-param name="olink.lang" select="$olink.lang"/>
+      <xsl:with-param name="target.database" select="$target.database"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <!-- Olink that points to internal id can be a link -->
+  <xsl:variable name="linkend">
+    <xsl:call-template name="olink.as.linkend">
+      <xsl:with-param name="olink.key" select="$olink.key"/>
+      <xsl:with-param name="olink.lang" select="$olink.lang"/>
+      <xsl:with-param name="target.database" select="$target.database"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$linkend != ''">
+      <fo:page-number-citation ref-id="{$linkend}"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>Olink error: no page number linkend for local olink '</xsl:text>
+        <xsl:value-of select="$olink.key"/>
+        <xsl:text>'</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/highlighting/common.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/highlighting/common.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/highlighting/common.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,62 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		xmlns:hl="java:net.sf.xslthl.ConnectorSaxon6"
+                xmlns:exsl="http://exslt.org/common"
+		exclude-result-prefixes="exsl hl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: inline.xsl 5953 2006-05-08 04:23:10Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- You can override this template to do more complex mapping of
+     language attribute to highlighter language ID (see xslthl-config.xml) -->
+<xsl:template name="language.to.xslthl">
+  <xsl:param name="context"/>
+
+  <xsl:choose>
+    <xsl:when test="$context/@language != ''">
+      <xsl:value-of select="$context/@language"/>
+    </xsl:when>
+    <xsl:when test="$highlight.default.language != ''">
+      <xsl:value-of select="$highlight.default.language"/>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="apply-highlighting">
+  <xsl:choose>
+    <!-- Do we want syntax highlighting -->
+    <xsl:when test="$highlight.source != 0 and function-available('hl:highlight')">
+      <xsl:variable name="language">
+	<xsl:call-template name="language.to.xslthl">
+	  <xsl:with-param name="context" select="."/>
+	</xsl:call-template>
+      </xsl:variable>
+      <xsl:choose>
+	<xsl:when test="$language != ''">
+	  <xsl:variable name="content">
+	    <xsl:apply-templates/>
+	  </xsl:variable>
+	  <xsl:apply-templates select="hl:highlight($language, exsl:node-set($content))"/>
+	</xsl:when>
+	<xsl:otherwise>
+	  <xsl:apply-templates/>
+	</xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <!-- No syntax highlighting -->
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/highlighting/delphi-hl.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/highlighting/delphi-hl.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/highlighting/delphi-hl.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,174 @@
+<?xml version='1.0'?>
+<highlighters>
+
+<highlighter type='multiline-comment'>
+  <start>{</start>
+  <end>}</end>
+</highlighter>
+
+<highlighter type='multiline-comment'>
+  <start>(*</start>
+  <end>*)</end>
+</highlighter>
+
+<highlighter type='oneline-comment'>
+  //
+</highlighter>
+
+<highlighter type='string'>
+  <string>'</string>
+  <doubleEscapes/>
+</highlighter>
+
+<highlighter type='keywords'>
+
+  <!-- Reserved words -->
+  <keyword>and</keyword>
+  <keyword>else</keyword>
+  <keyword>inherited</keyword>
+  <keyword>packed</keyword>
+  <keyword>then</keyword>
+  <keyword>array</keyword>
+  <keyword>end</keyword>
+  <keyword>initialization</keyword>
+  <keyword>procedure</keyword>
+  <keyword>threadvar</keyword>
+  <keyword>as</keyword>
+  <keyword>except</keyword>
+  <keyword>inline</keyword>
+  <keyword>program</keyword>
+  <keyword>to</keyword>
+  <keyword>asm</keyword>
+  <keyword>exports</keyword>
+  <keyword>interface</keyword>
+  <keyword>property</keyword>
+  <keyword>try</keyword>
+  <keyword>begin</keyword>
+  <keyword>file</keyword>
+  <keyword>is</keyword>
+  <keyword>raise</keyword>
+  <keyword>type</keyword>
+  <keyword>case</keyword>
+  <keyword>final</keyword>
+  <keyword>label</keyword>
+  <keyword>record</keyword>
+  <keyword>unit</keyword>
+  <keyword>class</keyword>
+  <keyword>finalization</keyword>
+  <keyword>library</keyword>
+  <keyword>repeat</keyword>
+  <keyword>unsafe</keyword>
+  <keyword>const</keyword>
+  <keyword>finally</keyword>
+  <keyword>mod</keyword>
+  <keyword>resourcestring</keyword>
+  <keyword>until</keyword>
+  <keyword>constructor</keyword>
+  <keyword>for</keyword>
+  <keyword>nil</keyword>
+  <keyword>sealed</keyword>
+  <keyword>uses</keyword>
+  <keyword>destructor</keyword>
+  <keyword>function</keyword>
+  <keyword>not</keyword>
+  <keyword>set</keyword>
+  <keyword>var</keyword>
+  <keyword>dispinterface</keyword>
+  <keyword>goto</keyword>
+  <keyword>object</keyword>
+  <keyword>shl</keyword>
+  <keyword>while</keyword>
+  <keyword>div</keyword>
+  <keyword>if</keyword>
+  <keyword>of</keyword>
+  <keyword>shr</keyword>
+  <keyword>with</keyword>
+  <keyword>do</keyword>
+  <keyword>implementation</keyword>
+  <keyword>or</keyword>
+  <keyword>static</keyword>
+  <keyword>xor</keyword>
+  <keyword>downto</keyword>
+  <keyword>in</keyword>
+  <keyword>out</keyword>
+  <keyword>string</keyword>
+
+  <!-- Special meaning -->
+  <keyword>at</keyword>
+  <keyword>on</keyword>
+  
+  <!-- Directives -->
+  <keyword>absolute</keyword>
+  <keyword>dynamic</keyword>
+  <keyword>local</keyword>
+  <keyword>platform</keyword>
+  <keyword>requires</keyword>
+  <keyword>abstract</keyword>
+  <keyword>export</keyword>
+  <keyword>message</keyword>
+  <keyword>private</keyword>
+  <keyword>resident</keyword>
+  <keyword>assembler</keyword>
+  <keyword>external</keyword>
+  <keyword>name</keyword>
+  <keyword>protected</keyword>
+  <keyword>safecall</keyword>
+  <keyword>automated</keyword>
+  <keyword>far</keyword>
+  <keyword>near</keyword>
+  <keyword>public</keyword>
+  <keyword>stdcall</keyword>
+  <keyword>cdecl</keyword>
+  <keyword>forward</keyword>
+  <keyword>nodefault</keyword>
+  <keyword>published</keyword>
+  <keyword>stored</keyword>
+  <keyword>contains</keyword>
+  <keyword>implements</keyword>
+  <keyword>overload</keyword>
+  <keyword>read</keyword>
+  <keyword>varargs</keyword>
+  <keyword>default</keyword>
+  <keyword>index</keyword>
+  <keyword>override</keyword>
+  <keyword>readonly</keyword>
+  <keyword>virtual</keyword>
+  <keyword>deprecated</keyword>
+  <keyword>inline</keyword>
+  <keyword>package</keyword>
+  <keyword>register</keyword>
+  <keyword>write</keyword>
+  <keyword>dispid</keyword>
+  <keyword>library</keyword>
+  <keyword>pascal</keyword>
+  <keyword>reintroduce</keyword>
+  <keyword>writeonly</keyword>
+
+  <ignoreCase/>
+</highlighter>
+
+</highlighters>
+<!--
+
+Copyright (c) 2005 Michal Molhanec
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must
+   not claim that you wrote the original software. If you use this
+   software in a product, an acknowledgment in the product
+   documentation would be appreciated but is not required.
+
+2. Altered source versions must be plainly marked as such, and must
+   not be misrepresented as being the original software.
+
+3. This notice may not be removed or altered from any source
+   distribution.
+
+-->

Added: trunk/docs/docbook/src/main/resources/highlighting/ini-hl.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/highlighting/ini-hl.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/highlighting/ini-hl.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,43 @@
+<?xml version='1.0'?>
+<highlighters>
+
+<wholehighlighter type='regex'>
+  <pattern>(?m)(;.*)$</pattern>
+  <style>comment</style>
+</wholehighlighter>
+
+<wholehighlighter type='regex'>
+  <pattern>(?m)^(\[.+\]\s*)$</pattern>
+  <style>section</style>
+</wholehighlighter>
+
+<wholehighlighter type='regex'>
+  <pattern>(?m)^(.+=)</pattern>
+  <style>keyword</style>
+</wholehighlighter>
+
+</highlighters>
+<!--
+
+Copyright (c) 2005 Michal Molhanec
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must
+   not claim that you wrote the original software. If you use this
+   software in a product, an acknowledgment in the product
+   documentation would be appreciated but is not required.
+
+2. Altered source versions must be plainly marked as such, and must
+   not be misrepresented as being the original software.
+
+3. This notice may not be removed or altered from any source
+   distribution.
+
+-->

Added: trunk/docs/docbook/src/main/resources/highlighting/java-hl.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/highlighting/java-hl.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/highlighting/java-hl.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,98 @@
+<?xml version='1.0'?>
+<highlighters>
+
+<highlighter type='multiline-comment'>
+  <start>/*</start>
+  <end>*/</end>
+</highlighter>
+
+<highlighter type='oneline-comment'>
+  //
+</highlighter>
+
+<highlighter type='string'>
+  <string>"</string>
+  <escape>\</escape>
+</highlighter>
+
+<highlighter type='string'>
+  <string>'</string>
+  <escape>\</escape>
+</highlighter>
+
+<highlighter type='keywords'>
+  <keyword>abstract</keyword>
+  <keyword>boolean</keyword>
+  <keyword>break</keyword>
+  <keyword>byte</keyword>
+  <keyword>case</keyword>
+  <keyword>catch</keyword>
+  <keyword>char</keyword>
+  <keyword>class</keyword>
+  <keyword>const</keyword>
+  <keyword>continue</keyword>
+  <keyword>default</keyword>
+  <keyword>do</keyword>
+  <keyword>double</keyword>
+  <keyword>else</keyword>
+  <keyword>extends</keyword>
+  <keyword>final</keyword>
+  <keyword>finally</keyword>
+  <keyword>float</keyword>
+  <keyword>for</keyword>
+  <keyword>goto</keyword>
+  <keyword>if</keyword>
+  <keyword>implements</keyword>
+  <keyword>import</keyword>
+  <keyword>instanceof</keyword>
+  <keyword>int</keyword>
+  <keyword>interface</keyword>
+  <keyword>long</keyword>
+  <keyword>native</keyword>
+  <keyword>new</keyword>
+  <keyword>package</keyword>
+  <keyword>private</keyword>
+  <keyword>protected</keyword>
+  <keyword>public</keyword>
+  <keyword>return</keyword>
+  <keyword>short</keyword>
+  <keyword>static</keyword>
+  <keyword>strictfp</keyword>
+  <keyword>super</keyword>
+  <keyword>switch</keyword>
+  <keyword>synchronized</keyword>
+  <keyword>this</keyword>
+  <keyword>throw</keyword>
+  <keyword>throws</keyword>
+  <keyword>transient</keyword>
+  <keyword>try</keyword>
+  <keyword>void</keyword>
+  <keyword>volatile</keyword>
+  <keyword>while</keyword>
+</highlighter>
+
+</highlighters>
+<!--
+
+Copyright (c) 2005 Michal Molhanec
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must
+   not claim that you wrote the original software. If you use this
+   software in a product, an acknowledgment in the product
+   documentation would be appreciated but is not required.
+
+2. Altered source versions must be plainly marked as such, and must
+   not be misrepresented as being the original software.
+
+3. This notice may not be removed or altered from any source
+   distribution.
+
+-->

Added: trunk/docs/docbook/src/main/resources/highlighting/m2-hl.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/highlighting/m2-hl.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/highlighting/m2-hl.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,86 @@
+<?xml version='1.0'?>
+<highlighters>
+
+<highlighter type='nested-multiline-comment'>
+  <start>(*</start>
+  <end>*)</end>
+</highlighter>
+
+<highlighter type='string'>
+  <string>"</string>
+</highlighter>
+
+<highlighter type='string'>
+  <string>'</string>
+</highlighter>
+
+<highlighter type='keywords'>
+  <keyword>and</keyword>
+  <keyword>array</keyword>
+  <keyword>begin</keyword>
+  <keyword>by</keyword>
+  <keyword>case</keyword>
+  <keyword>const</keyword>
+  <keyword>definition</keyword>
+  <keyword>div</keyword>
+  <keyword>do</keyword>
+  <keyword>else</keyword>
+  <keyword>elsif</keyword>
+  <keyword>end</keyword>
+  <keyword>exit</keyword>
+  <keyword>export</keyword>
+  <keyword>for</keyword>
+  <keyword>from</keyword>
+  <keyword>if</keyword>
+  <keyword>implementation</keyword>
+  <keyword>import</keyword>
+  <keyword>in</keyword>
+  <keyword>loop</keyword>
+  <keyword>mod</keyword>
+  <keyword>module</keyword>
+  <keyword>not</keyword>
+  <keyword>of</keyword>
+  <keyword>or</keyword>
+  <keyword>pointer</keyword>
+  <keyword>procedure</keyword>
+  <keyword>qualified</keyword>
+  <keyword>record</keyword>
+  <keyword>repeat</keyword>
+  <keyword>return</keyword>
+  <keyword>set</keyword>
+  <keyword>then</keyword>
+  <keyword>to</keyword>
+  <keyword>type</keyword>
+  <keyword>until</keyword>
+  <keyword>var</keyword>
+  <keyword>while</keyword>
+  <keyword>with</keyword>
+  
+  <ignoreCase/>
+</highlighter>
+
+</highlighters>
+<!--
+
+Copyright (c) 2005 Michal Molhanec
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must
+   not claim that you wrote the original software. If you use this
+   software in a product, an acknowledgment in the product
+   documentation would be appreciated but is not required.
+
+2. Altered source versions must be plainly marked as such, and must
+   not be misrepresented as being the original software.
+
+3. This notice may not be removed or altered from any source
+   distribution.
+
+-->

Added: trunk/docs/docbook/src/main/resources/highlighting/myxml-hl.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/highlighting/myxml-hl.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/highlighting/myxml-hl.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,131 @@
+<?xml version='1.0'?>
+<highlighters>
+
+<wholehighlighter type='xml'>
+  <elementSet>
+    <style>html</style>
+    <element>A</element>
+    <element>ABBR</element>
+    <element>ACRONYM</element>
+    <element>ADDRESS</element>
+    <element>APPLET</element>
+    <element>AREA</element>
+    <element>B</element>
+    <element>BASE</element>
+    <element>BASEFONT</element>
+    <element>BDO</element>
+    <element>BIG</element>
+    <element>BLOCKQUOTE</element>
+    <element>BODY</element>
+    <element>BR</element>
+    <element>BUTTON</element>
+    <element>CAPTION</element>
+    <element>CENTER</element>
+    <element>CITE</element>
+    <element>CODE</element>
+    <element>COL</element>
+    <element>COLGROUP</element>
+    <element>DD</element>
+    <element>DEL</element>
+    <element>DFN</element>
+    <element>DIR</element>
+    <element>DIV</element>
+    <element>DL</element>
+    <element>DT</element>
+    <element>EM</element>
+    <element>FIELDSET</element>
+    <element>FONT</element>
+    <element>FORM</element>
+    <element>FRAME</element>
+    <element>FRAMESET</element>
+    <element>H1</element>
+    <element>H2</element>
+    <element>H3</element>
+    <element>H4</element>
+    <element>H5</element>
+    <element>H6</element>
+    <element>HEAD</element>
+    <element>HR</element>
+    <element>HTML</element>
+    <element>I</element>
+    <element>IFRAME</element>
+    <element>IMG</element>
+    <element>INPUT</element>
+    <element>INS</element>
+    <element>ISINDEX</element>
+    <element>KBD</element>
+    <element>LABEL</element>
+    <element>LEGEND</element>
+    <element>LI</element>
+    <element>LINK</element>
+    <element>MAP</element>
+    <element>MENU</element>
+    <element>META</element>
+    <element>NOFRAMES</element>
+    <element>NOSCRIPT</element>
+    <element>OBJECT</element>
+    <element>OL</element>
+    <element>OPTGROUP</element>
+    <element>OPTION</element>
+    <element>P</element>
+    <element>PARAM</element>
+    <element>PRE</element>
+    <element>Q</element>
+    <element>S</element>
+    <element>SAMP</element>
+    <element>SCRIPT</element>
+    <element>SELECT</element>
+    <element>SMALL</element>
+    <element>SPAN</element>
+    <element>STRIKE</element>
+    <element>STRONG</element>
+    <element>STYLE</element>
+    <element>SUB</element>
+    <element>SUP</element>
+    <element>TABLE</element>
+    <element>TBODY</element>
+    <element>TD</element>
+    <element>TEXTAREA</element>
+    <element>TFOOT</element>
+    <element>TH</element>
+    <element>THEAD</element>
+    <element>TITLE</element>
+    <element>TR</element>
+    <element>TT</element>
+    <element>U</element>
+    <element>UL</element>
+    <element>VAR</element>
+    <element>XMP</element>
+    <ignoreCase/>
+  </elementSet>
+  <elementPrefix>
+    <style>xslt</style>
+    <prefix>xsl:</prefix>
+  </elementPrefix>
+</wholehighlighter>
+
+</highlighters>
+<!--
+
+Copyright (c) 2005 Michal Molhanec
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must
+   not claim that you wrote the original software. If you use this
+   software in a product, an acknowledgment in the product
+   documentation would be appreciated but is not required.
+
+2. Altered source versions must be plainly marked as such, and must
+   not be misrepresented as being the original software.
+
+3. This notice may not be removed or altered from any source
+   distribution.
+
+-->

Added: trunk/docs/docbook/src/main/resources/highlighting/php-hl.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/highlighting/php-hl.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/highlighting/php-hl.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,127 @@
+<?xml version='1.0'?>
+<highlighters>
+
+<highlighter type='multiline-comment'>
+  <start>/*</start>
+  <end>*/</end>
+</highlighter>
+
+<highlighter type='oneline-comment'>
+  //
+</highlighter>
+
+<highlighter type='oneline-comment'>
+  #
+</highlighter>
+
+<highlighter type='string'>
+  <string>"</string>
+  <escape>\</escape>
+</highlighter>
+
+<highlighter type='string'>
+  <string>'</string>
+  <escape>\</escape>
+</highlighter>
+
+<highlighter type='heredoc'>
+  <start>&lt;&lt;&lt;</start>
+</highlighter>
+
+<highlighter type='keywords'>
+  <keyword>and</keyword>
+  <keyword>or</keyword>
+  <keyword>xor</keyword>
+  <keyword>__FILE__</keyword>
+  <keyword>exception</keyword>
+  <keyword>__LINE__</keyword>
+  <keyword>array</keyword>
+  <keyword>as</keyword>
+  <keyword>break</keyword>
+  <keyword>case</keyword>
+  <keyword>class</keyword>
+  <keyword>const</keyword>
+  <keyword>continue</keyword>
+  <keyword>declare</keyword>
+  <keyword>default</keyword>
+  <keyword>die</keyword>
+  <keyword>do</keyword>
+  <keyword>echo</keyword>
+  <keyword>else</keyword>
+  <keyword>elseif</keyword>
+  <keyword>empty</keyword>
+  <keyword>enddeclare</keyword>
+  <keyword>endfor</keyword>
+  <keyword>endforeach</keyword>
+  <keyword>endif</keyword>
+  <keyword>endswitch</keyword>
+  <keyword>endwhile</keyword>
+  <keyword>eval</keyword>
+  <keyword>exit</keyword>
+  <keyword>extends</keyword>
+  <keyword>for</keyword>
+  <keyword>foreach</keyword>
+  <keyword>function</keyword>
+  <keyword>global</keyword>
+  <keyword>if</keyword>
+  <keyword>include</keyword>
+  <keyword>include_once</keyword>
+  <keyword>isset</keyword>
+  <keyword>list</keyword>
+  <keyword>new</keyword>
+  <keyword>print</keyword>
+  <keyword>require</keyword>
+  <keyword>require_once</keyword>
+  <keyword>return</keyword>
+  <keyword>static</keyword>
+  <keyword>switch</keyword>
+  <keyword>unset</keyword>
+  <keyword>use</keyword>
+  <keyword>var</keyword>
+  <keyword>while</keyword>
+  <keyword>__FUNCTION__</keyword>
+  <keyword>__CLASS__</keyword>
+  <keyword>__METHOD__</keyword>
+  <keyword>final</keyword>
+  <keyword>php_user_filter</keyword>
+  <keyword>interface</keyword>
+  <keyword>implements</keyword>
+  <keyword>extends</keyword>
+  <keyword>public</keyword>
+  <keyword>private</keyword>
+  <keyword>protected</keyword>
+  <keyword>abstract</keyword>
+  <keyword>clone</keyword>
+  <keyword>try</keyword>
+  <keyword>catch</keyword>
+  <keyword>throw</keyword>
+  <keyword>cfunction</keyword>
+  <keyword>old_function</keyword>
+  <ignoreCase/>
+</highlighter>
+
+</highlighters>
+<!--
+
+Copyright (c) 2005 Michal Molhanec
+
+This software is provided 'as-is', without any express or implied
+warranty. In no event will the authors be held liable for any damages
+arising from the use of this software.
+
+Permission is granted to anyone to use this software for any purpose,
+including commercial applications, and to alter it and redistribute it
+freely, subject to the following restrictions:
+
+1. The origin of this software must not be misrepresented; you must
+   not claim that you wrote the original software. If you use this
+   software in a product, an acknowledgment in the product
+   documentation would be appreciated but is not required.
+
+2. Altered source versions must be plainly marked as such, and must
+   not be misrepresented as being the original software.
+
+3. This notice may not be removed or altered from any source
+   distribution.
+
+-->

Added: trunk/docs/docbook/src/main/resources/highlighting/xslthl-config.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/highlighting/xslthl-config.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/highlighting/xslthl-config.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,10 @@
+<?xml version='1.0'?>
+<xslthl-config>
+  <highlighter id='java'   file='./java-hl.xml'  />
+  <highlighter id='delphi' file='./delphi-hl.xml'/>
+  <highlighter id='ini'    file='./ini-hl.xml'   />
+  <highlighter id='php'    file='./php-hl.xml'   />
+  <highlighter id='myxml'  file='./myxml-hl.xml' />
+  <highlighter id='m2'     file='./m2-hl.xml'    />
+  <namespace prefix="xslthl" uri="http://xslthl.sf.net" />
+</xslthl-config>

Added: trunk/docs/docbook/src/main/resources/html/admon.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/admon.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/admon.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,132 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: admon.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="*" mode="admon.graphic.width">
+  <xsl:param name="node" select="."/>
+  <xsl:text>25</xsl:text>
+</xsl:template>
+
+<xsl:template match="note|important|warning|caution|tip">
+  <xsl:choose>
+    <xsl:when test="$admon.graphics != 0">
+      <xsl:call-template name="graphical.admonition"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="nongraphical.admonition"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="admon.graphic">
+  <xsl:param name="node" select="."/>
+  <xsl:value-of select="$admon.graphics.path"/>
+  <xsl:choose>
+    <xsl:when test="local-name($node)='note'">note</xsl:when>
+    <xsl:when test="local-name($node)='warning'">warning</xsl:when>
+    <xsl:when test="local-name($node)='caution'">caution</xsl:when>
+    <xsl:when test="local-name($node)='tip'">tip</xsl:when>
+    <xsl:when test="local-name($node)='important'">important</xsl:when>
+    <xsl:otherwise>note</xsl:otherwise>
+  </xsl:choose>
+  <xsl:value-of select="$admon.graphics.extension"/>
+</xsl:template>
+
+<xsl:template name="graphical.admonition">
+  <xsl:variable name="admon.type">
+    <xsl:choose>
+      <xsl:when test="local-name(.)='note'">Note</xsl:when>
+      <xsl:when test="local-name(.)='warning'">Warning</xsl:when>
+      <xsl:when test="local-name(.)='caution'">Caution</xsl:when>
+      <xsl:when test="local-name(.)='tip'">Tip</xsl:when>
+      <xsl:when test="local-name(.)='important'">Important</xsl:when>
+      <xsl:otherwise>Note</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="alt">
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="$admon.type"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$admon.style != ''">
+      <xsl:attribute name="style">
+        <xsl:value-of select="$admon.style"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <table border="0">
+      <xsl:attribute name="summary">
+        <xsl:value-of select="$admon.type"/>
+        <xsl:if test="title|info/title">
+          <xsl:text>: </xsl:text>
+          <xsl:value-of select="(title|info/title)[1]"/>
+        </xsl:if>
+      </xsl:attribute>
+      <tr>
+        <td rowspan="2" align="center" valign="top">
+          <xsl:attribute name="width">
+            <xsl:apply-templates select="." mode="admon.graphic.width"/>
+          </xsl:attribute>
+          <img alt="[{$alt}]">
+            <xsl:attribute name="src">
+              <xsl:call-template name="admon.graphic"/>
+            </xsl:attribute>
+          </img>
+        </td>
+        <th align="left">
+          <xsl:call-template name="anchor"/>
+          <xsl:if test="$admon.textlabel != 0 or title or info/title">
+            <xsl:apply-templates select="." mode="object.title.markup"/>
+          </xsl:if>
+        </th>
+      </tr>
+      <tr>
+        <td align="left" valign="top">
+          <xsl:apply-templates/>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template name="nongraphical.admonition">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$admon.style">
+      <xsl:attribute name="style">
+        <xsl:value-of select="$admon.style"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <h3 class="title">
+      <xsl:call-template name="anchor"/>
+      <xsl:if test="$admon.textlabel != 0 or title or info/title">
+        <xsl:apply-templates select="." mode="object.title.markup"/>
+      </xsl:if>
+    </h3>
+
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="note/title"></xsl:template>
+<xsl:template match="important/title"></xsl:template>
+<xsl:template match="warning/title"></xsl:template>
+<xsl:template match="caution/title"></xsl:template>
+<xsl:template match="tip/title"></xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/annotations.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/annotations.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/annotations.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,167 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<xsl:template name="add.annotation.links">
+  <xsl:param name="scripts" select="normalize-space($annotation.js)"/>
+  <xsl:choose>
+    <xsl:when test="contains($scripts, ' ')">
+      <script type="text/javascript" src="{substring-before($scripts, ' ')}"/>
+      <xsl:call-template name="add.annotation.links">
+        <xsl:with-param name="scripts" select="substring-after($scripts, ' ')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <script type="text/javascript" src="{$scripts}"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="annotation"/>
+
+<xsl:template name="apply-annotations">
+  <xsl:if test="$annotation.support != 0">
+  <!-- do any annotations apply to the context node? -->
+  <xsl:variable name="id" select="(@id|@xml:id)[1]"/>
+
+  <xsl:variable name="aids">
+    <xsl:for-each select="//annotation">
+      <xsl:if test="@annotates=$id
+                    or starts-with(@annotates, concat($id, ' '))
+                    or contains(@annotates, concat(' ', $id, ' '))
+                    or substring(@annotates, string-length(@annotates)-3)
+                       = concat(' ', $id)">
+        <xsl:value-of select="generate-id()"/>
+        <xsl:text> </xsl:text>
+      </xsl:if>
+    </xsl:for-each>
+    <xsl:if test="normalize-space(@annotations) != ''">
+      <xsl:call-template name="annotations-pointed-to">
+        <xsl:with-param name="annotations"
+                        select="normalize-space(@annotations)"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:if test="$aids != ''">
+    <xsl:call-template name="apply-annotations-by-gid">
+      <xsl:with-param name="gids" select="normalize-space($aids)"/>
+    </xsl:call-template>
+  </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="annotations-pointed-to">
+  <xsl:param name="annotations"/>
+  <xsl:choose>
+    <xsl:when test="contains($annotations, ' ')">
+      <xsl:variable name='a'
+                    select="key('id', substring-before($annotations, ' '))"/>
+      <xsl:if test="$a">
+        <xsl:value-of select="generate-id($a)"/>
+        <xsl:text> </xsl:text>
+      </xsl:if>
+      <xsl:call-template name="annotations-pointed-to">
+        <xsl:with-param name="annotations"
+                        select="substring-after($annotations, ' ')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name='a'
+                    select="key('id', $annotations)"/>
+      <xsl:if test="$a">
+        <xsl:value-of select="generate-id($a)"/>
+        <xsl:text> </xsl:text>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="apply-annotations-by-gid">
+  <xsl:param name="gids"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($gids, ' ')">
+      <xsl:variable name="gid" select="substring-before($gids, ' ')"/>
+      <xsl:apply-templates select="key('gid', $gid)"
+                           mode="annotation-inline"/>
+      <xsl:call-template name="apply-annotations-by-gid">
+        <xsl:with-param name="gids"
+                        select="substring-after($gids, ' ')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="key('gid', $gids)"
+                           mode="annotation-inline"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="annotation" mode="annotation-inline">
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="title">
+        <xsl:value-of select="title"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:text>[Annotation #</xsl:text>
+        <xsl:number count="annotation" level="any" format="1"/>
+        <xsl:text>]</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <a href="#annot-{generate-id(.)}" title="{$title}"
+     name="anch-{generate-id(.)}" id="anch-{generate-id(.)}">
+    <xsl:attribute name="onClick">
+      <xsl:text>popup_</xsl:text>
+      <xsl:value-of select="generate-id(.)"/>
+      <xsl:text>.showPopup('anch-</xsl:text>
+      <xsl:value-of select="generate-id(.)"/>
+      <xsl:text>'); return false;</xsl:text>
+    </xsl:attribute>
+    <img src="{$annotation.graphic.open}" border="0" alt="{$title}"/>
+  </a>
+</xsl:template>
+
+<xsl:template match="annotation" mode="annotation-popup">
+  <div class="annotation-nocss">
+    <p>
+      <a name="annot-{generate-id(.)}"/>
+      <xsl:text>Annotation #</xsl:text>
+      <xsl:number count="annotation" level="any" format="1"/>
+      <xsl:text>:</xsl:text>
+    </p>
+  </div>
+
+  <div id="popup-{generate-id(.)}" class="annotation-popup">
+    <xsl:if test="string-length(.) &gt; 300">
+      <xsl:attribute name="style">width:400px</xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="annotation-title"/>
+    <div class="annotation-body">
+      <xsl:apply-templates select="*[local-name(.) != 'title']"/>
+    </div>
+    <div class="annotation-close">
+      <a href="#" onclick="popup_{generate-id(.)}.hidePopup();return false;">
+        <img src="{$annotation.graphic.close}" alt="X" border="0"/>
+      </a>
+    </div>
+  </div>
+</xsl:template>
+
+<xsl:template name="annotation-title">
+  <div class="annotation-title">
+    <xsl:choose>
+      <xsl:when test="title">
+        <xsl:apply-templates select="title/node()"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:text>Annotation</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/autoidx-kimber.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/autoidx-kimber.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/autoidx-kimber.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,174 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [
+
+<!ENTITY primary   'normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = ""]))'>
+<!ENTITY secondary 'normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = ""]))'>
+<!ENTITY tertiary  'normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = ""]))'>
+
+<!-- Documents using the kimber index method must have a lang attribute -->
+<!-- Only one of these should be present in the entity -->
+<!ENTITY lang 'concat(/*/@lang, /*/@xml:lang)'>
+
+<!ENTITY scope 'count(ancestor::node()|$scope) = count(ancestor::node())
+                and ($role = @role or $type = @type or
+                (string-length($role) = 0 and string-length($type) = 0))'>
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:k="http://www.isogen.com/functions/com.isogen.saxoni18n.Saxoni18nService"
+                exclude-result-prefixes="k"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: autoidx-kimber.xsl 6306 2006-09-18 03:34:03Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- The "kimber" method contributed by Eliot Kimber of Innodata Isogen.  -->
+<!-- ==================================================================== -->
+<!--   *** THIS MODULE ONLY WORKS WITH SAXON 6 OR SAXON 8 ***             -->
+<!-- ==================================================================== -->
+
+
+<xsl:include href="../common/autoidx-kimber.xsl"/>
+
+<!-- Java sort apparently works only on lang part, not country -->
+<xsl:param name="sort.lang">
+  <xsl:choose>
+    <xsl:when test="contains(&lang;, '-')">
+      <xsl:value-of select="substring-before(&lang;, '-')"/>
+    </xsl:when>
+    <xsl:when test="contains(&lang;, '_')">
+      <xsl:value-of select="substring-before(&lang;, '_')"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="&lang;"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+
+<xsl:template name="generate-kimber-index">
+  <xsl:param name="scope" select="NOTANODE"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:if test="not(contains($vendor, 'SAXON '))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text>
+      <xsl:text>Saxon version 6 or 8 XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="not(function-available('k:getIndexGroupKey'))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text>
+      <xsl:text>Innodata Isogen &#x0A;Java extensions for </xsl:text>
+      <xsl:text>internationalized indexes. &#x0A;Install those </xsl:text>
+      <xsl:text>extensions, or use a different index method.&#x0A;</xsl:text>
+      <xsl:text>For more information, see:&#x0A;</xsl:text>
+      <xsl:text>http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="role">
+    <xsl:if test="$index.on.role != 0">
+      <xsl:value-of select="@role"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:if test="$index.on.type != 0">
+      <xsl:value-of select="@type"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="terms"
+                select="//indexterm[count(.|key('k-group',
+                   k:getIndexGroupKey(&lang;, &primary;))
+                   [&scope;][1]) = 1
+                   and not(@class = 'endofrange')]"/>
+
+  <xsl:variable name="alphabetical"
+                select="$terms[not(starts-with(
+                k:getIndexGroupKey(&lang;, &primary;),
+                '#NUMERIC'
+                ))]"/>
+
+  <xsl:variable name="others"
+                select="$terms[starts-with(
+                k:getIndexGroupKey(&lang;, &primary;),
+                '#NUMERIC'
+                )]"/>
+
+  <div class="index">
+    <xsl:if test="$others">
+      <div class="indexdev">
+        <h3>
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'index symbols'"/>
+          </xsl:call-template>
+        </h3>
+        <dl>
+          <xsl:apply-templates select="$others"
+                               mode="index-symbol-div">
+            <xsl:with-param name="scope" select="$scope"/>
+            <xsl:with-param name="role" select="$role"/>
+            <xsl:with-param name="type" select="$type"/>
+            <xsl:sort lang="{$sort.lang}"
+                select="k:getIndexGroupSortKey(&lang;,
+                        k:getIndexGroupKey(&lang;, &primary;))"/>
+          </xsl:apply-templates>
+        </dl>
+      </div>
+    </xsl:if>
+
+    <xsl:apply-templates select="$alphabetical"
+                         mode="index-div-kimber">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort lang="{$sort.lang}"
+             select="k:getIndexGroupSortKey(&lang;,
+                     k:getIndexGroupKey(&lang;, &primary;))"/>
+    </xsl:apply-templates>
+  </div>
+
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-div-kimber">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key"
+          select="k:getIndexGroupKey(&lang;, &primary;)"/>
+
+  <xsl:variable name="label"
+          select="k:getIndexGroupLabel(&lang;, $key)"/>
+
+  <xsl:if test="key('k-group', $label)[&scope;]
+                [count(.|key('primary', &primary;)[&scope;][1]) = 1]">
+    <div class="indexdiv">
+      <h3>
+        <xsl:value-of select="$label"/>
+      </h3>
+      <dl>
+        <xsl:apply-templates select="key('k-group', $key)[&scope;]
+                            [count(.|key('primary', &primary;)[&scope;]
+                            [1])=1]"
+                             mode="index-primary">
+          <xsl:sort select="&primary;" lang="{$sort.lang}"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+        </xsl:apply-templates>
+      </dl>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/autoidx-kosek.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/autoidx-kosek.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/autoidx-kosek.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,132 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [
+
+<!ENTITY primary   'normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = ""]))'>
+<!ENTITY secondary 'normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = ""]))'>
+<!ENTITY tertiary  'normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = ""]))'>
+
+<!ENTITY scope 'count(ancestor::node()|$scope) = count(ancestor::node())
+                and ($role = @role or $type = @type or
+                (string-length($role) = 0 and string-length($type) = 0))'>
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:i="urn:cz-kosek:functions:index"
+                xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"
+                xmlns:func="http://exslt.org/functions"
+                xmlns:k="http://www.isogen.com/functions/com.isogen.saxoni18n.Saxoni18nService"
+                xmlns:exslt="http://exslt.org/common"
+                extension-element-prefixes="func exslt"
+                exclude-result-prefixes="func exslt i l k"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: autoidx-kosek.xsl 6352 2006-10-10 14:10:29Z kosek $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- The "kosek" method contributed by Jirka Kosek. -->
+
+<xsl:include href="../common/autoidx-kosek.xsl"/>
+
+<xsl:template name="generate-kosek-index">
+  <xsl:param name="scope" select="(ancestor::book|/)[last()]"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:if test="contains($vendor, 'libxslt')">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method does not </xsl:text>
+      <xsl:text>work with the xsltproc XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="contains($vendor, 'Saxonica')">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method does not </xsl:text>
+      <xsl:text>work with the Saxon 8 XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="not(function-available('exslt:node-set') or
+                    function-available('exslt:nodeSet'))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text>
+      <xsl:text>exslt:node-set() function. Use a processor that </xsl:text>
+      <xsl:text>has it, or use a different index method.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="not(function-available('i:group-index'))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method requires the&#xA;</xsl:text>
+      <xsl:text>index extension functions be imported:&#xA;</xsl:text>
+      <xsl:text>  xsl:import href="common/autoidx-kosek.xsl"</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="role">
+    <xsl:if test="$index.on.role != 0">
+      <xsl:value-of select="@role"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:if test="$index.on.type != 0">
+      <xsl:value-of select="@type"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="terms"
+                select="//indexterm[count(.|key('group-code',
+                                          i:group-index(&primary;))
+                                          [&scope;][1]) = 1
+                                    and not(@class = 'endofrange')]"/>
+
+  <div class="index">
+    <xsl:apply-templates select="$terms" mode="index-div-kosek">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="i:group-index(&primary;)" data-type="number"/>
+    </xsl:apply-templates>
+  </div>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-div-kosek">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key"
+                select="i:group-index(&primary;)"/>
+
+  <xsl:variable name="lang">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:variable>
+
+  <xsl:if test="key('group-code', $key)[&scope;]
+                [count(.|key('primary', &primary;)[&scope;][1]) = 1]">
+    <div class="indexdiv">
+      <h3>
+        <xsl:value-of select="i:group-letter($key)"/>
+      </h3>
+      <dl>
+        <xsl:apply-templates select="key('group-code', $key)[&scope;]
+                                     [count(.|key('primary', &primary;)[&scope;][1])=1]"
+                             mode="index-primary">
+          <xsl:sort select="&primary;" lang="{$lang}"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+        </xsl:apply-templates>
+      </dl>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/autoidx-ng.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/autoidx-ng.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/autoidx-ng.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: autoidx-ng.xsl 6352 2006-10-10 14:10:29Z kosek $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheet distribution.
+     See ../README or http://docbook.sf.net/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- You should have this directly in your customization file. -->
+<!-- This file is there only to retain backward compatibility. -->
+<xsl:import href="autoidx-kosek.xsl"/>
+<xsl:param name="index.method">kosek</xsl:param>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/autoidx.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/autoidx.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/autoidx.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,642 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY % common.entities SYSTEM "../common/entities.ent">
+%common.entities;
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exslt="http://exslt.org/common"
+                extension-element-prefixes="exslt"
+                exclude-result-prefixes="exslt"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: autoidx.xsl 6473 2007-01-06 18:30:43Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- The "basic" method derived from Jeni Tennison's work. -->
+<!-- The "kosek" method contributed by Jirka Kosek. -->
+<!-- The "kimber" method contributed by Eliot Kimber of Innodata Isogen. -->
+
+<xsl:variable name="kimber.imported" select="0"/>
+<xsl:variable name="kosek.imported" select="0"/>
+
+<xsl:key name="letter"
+         match="indexterm"
+         use="translate(substring(&primary;, 1, 1),&lowercase;,&uppercase;)"/>
+
+<xsl:key name="primary"
+         match="indexterm"
+         use="&primary;"/>
+
+<xsl:key name="secondary"
+         match="indexterm"
+         use="concat(&primary;, &sep;, &secondary;)"/>
+
+<xsl:key name="tertiary"
+         match="indexterm"
+         use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/>
+
+<xsl:key name="endofrange"
+         match="indexterm[@class='endofrange']"
+         use="@startref"/>
+
+<xsl:key name="primary-section"
+         match="indexterm[not(secondary) and not(see)]"
+         use="concat(&primary;, &sep;, &section.id;)"/>
+
+<xsl:key name="secondary-section"
+         match="indexterm[not(tertiary) and not(see)]"
+         use="concat(&primary;, &sep;, &secondary;, &sep;, &section.id;)"/>
+
+<xsl:key name="tertiary-section"
+         match="indexterm[not(see)]"
+         use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, &section.id;)"/>
+
+<xsl:key name="see-also"
+         match="indexterm[seealso]"
+         use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, seealso)"/>
+
+<xsl:key name="see"
+         match="indexterm[see]"
+         use="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see)"/>
+
+<xsl:key name="sections" match="*[@id or @xml:id]" use="@id|@xml:id"/>
+
+
+<xsl:template name="generate-index">
+  <xsl:param name="scope" select="(ancestor::book|/)[last()]"/>
+
+  <xsl:choose>
+    <xsl:when test="$index.method = 'kosek'">
+      <xsl:call-template name="generate-kosek-index">
+        <xsl:with-param name="scope" select="$scope"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$index.method = 'kimber'">
+      <xsl:call-template name="generate-kimber-index">
+        <xsl:with-param name="scope" select="$scope"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:call-template name="generate-basic-index">
+        <xsl:with-param name="scope" select="$scope"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+      
+<xsl:template name="generate-basic-index">
+  <xsl:param name="scope" select="NOTANODE"/>
+
+  <xsl:variable name="role">
+    <xsl:if test="$index.on.role != 0">
+      <xsl:value-of select="@role"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:if test="$index.on.type != 0">
+      <xsl:value-of select="@type"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="terms"
+                select="//indexterm
+                        [count(.|key('letter',
+                          translate(substring(&primary;, 1, 1),
+                             &lowercase;,
+                             &uppercase;))
+                          [&scope;][1]) = 1
+                          and not(@class = 'endofrange')]"/>
+
+  <xsl:variable name="alphabetical"
+                select="$terms[contains(concat(&lowercase;, &uppercase;),
+                                        substring(&primary;, 1, 1))]"/>
+
+  <xsl:variable name="others" select="$terms[not(contains(concat(&lowercase;,
+                                                 &uppercase;),
+                                             substring(&primary;, 1, 1)))]"/>
+  <div class="index">
+    <xsl:if test="$others">
+      <div class="indexdiv">
+        <h3>
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'index symbols'"/>
+          </xsl:call-template>
+        </h3>
+        <dl>
+          <xsl:apply-templates select="$others[count(.|key('primary',
+                                       &primary;)[&scope;][1]) = 1]"
+                               mode="index-symbol-div">
+            <xsl:with-param name="position" select="position()"/>                                
+            <xsl:with-param name="scope" select="$scope"/>
+            <xsl:with-param name="role" select="$role"/>
+            <xsl:with-param name="type" select="$type"/>
+            <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/>
+          </xsl:apply-templates>
+        </dl>
+      </div>
+    </xsl:if>
+
+    <xsl:apply-templates select="$alphabetical[count(.|key('letter',
+                                 translate(substring(&primary;, 1, 1),
+                                           &lowercase;,&uppercase;))[&scope;][1]) = 1]"
+                         mode="index-div-basic">
+      <xsl:with-param name="position" select="position()"/>
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/>
+    </xsl:apply-templates>
+  </div>
+</xsl:template>
+
+<!-- This template not used if html/autoidx-kosek.xsl is imported -->
+<xsl:template name="generate-kosek-index">
+  <xsl:param name="scope" select="NOTANODE"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:if test="contains($vendor, 'libxslt')">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method does not </xsl:text>
+      <xsl:text>work with the xsltproc XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+
+  <xsl:if test="not(function-available('exslt:node-set') or
+                    function-available('exslt:nodeSet'))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text>
+      <xsl:text>exslt:node-set() function. Use a processor that </xsl:text>
+      <xsl:text>has it, or use a different index method.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="$kosek.imported = 0">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method requires the&#xA;</xsl:text>
+      <xsl:text>kosek index extensions be imported:&#xA;</xsl:text>
+      <xsl:text>  xsl:import href="html/autoidx-kosek.xsl"</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+</xsl:template>
+
+<!-- This template not used if html/autoidx-kimber.xsl is imported -->
+<xsl:template name="generate-kimber-index">
+  <xsl:param name="scope" select="NOTANODE"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:if test="not(contains($vendor, 'SAXON '))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text>
+      <xsl:text>Saxon version 6 or 8 XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="$kimber.imported = 0">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kimber' index method requires the&#xA;</xsl:text>
+      <xsl:text>kimber index extensions be imported:&#xA;</xsl:text>
+      <xsl:text>  xsl:import href="html/autoidx-kimber.xsl"</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-div-basic">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key"
+                select="translate(substring(&primary;, 1, 1),
+                         &lowercase;,&uppercase;)"/>
+
+  <xsl:if test="key('letter', $key)[&scope;]
+                [count(.|key('primary', &primary;)[&scope;][1]) = 1]">
+    <div class="indexdiv">
+      <xsl:if test="contains(concat(&lowercase;, &uppercase;), $key)">
+        <h3>
+          <xsl:value-of select="translate($key, &lowercase;, &uppercase;)"/>
+        </h3>
+      </xsl:if>
+      <dl>
+        <xsl:apply-templates select="key('letter', $key)[&scope;]
+                                     [count(.|key('primary', &primary;)
+                                     [&scope;][1])=1]"
+                             mode="index-primary">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/>
+        </xsl:apply-templates>
+      </dl>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-symbol-div">
+  <xsl:param name="scope" select="/"/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key" select="translate(substring(&primary;, 1, 1),
+                                             &lowercase;,&uppercase;)"/>
+
+  <xsl:apply-templates select="key('letter', $key)
+                               [&scope;][count(.|key('primary', &primary;)[1]) = 1]"
+                       mode="index-primary">
+    <xsl:with-param name="position" select="position()"/>
+    <xsl:with-param name="scope" select="$scope"/>
+    <xsl:with-param name="role" select="$role"/>
+    <xsl:with-param name="type" select="$type"/>
+    <xsl:sort select="translate(&primary;, &lowercase;, &uppercase;)"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-primary">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key" select="&primary;"/>
+  <xsl:variable name="refs" select="key('primary', $key)[&scope;]"/>
+  <dt>
+    <xsl:value-of select="primary"/>
+    <xsl:for-each select="$refs[generate-id() = generate-id(key('primary-section', concat($key, &sep;, &section.id;))[&scope;][1])]">
+      <xsl:apply-templates select="." mode="reference">
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:apply-templates>
+    </xsl:for-each>
+
+    <xsl:if test="$refs[not(secondary)]/*[self::see]">
+      <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &sep;, &sep;, see))[&scope;][1])]"
+                           mode="index-see">
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+        <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/>
+      </xsl:apply-templates>
+    </xsl:if>
+  </dt>
+  <xsl:if test="$refs/secondary or $refs[not(secondary)]/*[self::seealso]">
+    <dd>
+      <dl>
+        <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &sep;, &sep;, seealso))[&scope;][1])]"
+                             mode="index-seealso">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/>
+        </xsl:apply-templates>
+        <xsl:apply-templates select="$refs[secondary and count(.|key('secondary', concat($key, &sep;, &secondary;))[&scope;][1]) = 1]" 
+                             mode="index-secondary">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(&secondary;, &lowercase;, &uppercase;)"/>
+        </xsl:apply-templates>
+      </dl>
+    </dd>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-secondary">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;)"/>
+  <xsl:variable name="refs" select="key('secondary', $key)[&scope;]"/>
+  <dt>
+    <xsl:value-of select="secondary"/>
+    <xsl:for-each select="$refs[generate-id() = generate-id(key('secondary-section', concat($key, &sep;, &section.id;))[&scope;][1])]">
+      <xsl:apply-templates select="." mode="reference">
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:apply-templates>
+    </xsl:for-each>
+
+    <xsl:if test="$refs[not(tertiary)]/*[self::see]">
+      <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, see))[&scope;][1])]"
+                           mode="index-see">
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+        <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/>
+      </xsl:apply-templates>
+    </xsl:if>
+  </dt>
+  <xsl:if test="$refs/tertiary or $refs[not(tertiary)]/*[self::seealso]">
+    <dd>
+      <dl>
+        <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &sep;, seealso))[&scope;][1])]"
+                             mode="index-seealso">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/>
+        </xsl:apply-templates>
+        <xsl:apply-templates select="$refs[tertiary and count(.|key('tertiary', concat($key, &sep;, &tertiary;))[&scope;][1]) = 1]" 
+                             mode="index-tertiary">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(&tertiary;, &lowercase;, &uppercase;)"/>
+        </xsl:apply-templates>
+      </dl>
+    </dd>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-tertiary">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key" select="concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;)"/>
+  <xsl:variable name="refs" select="key('tertiary', $key)[&scope;]"/>
+  <dt>
+    <xsl:value-of select="tertiary"/>
+    <xsl:for-each select="$refs[generate-id() = generate-id(key('tertiary-section', concat($key, &sep;, &section.id;))[&scope;][1])]">
+      <xsl:apply-templates select="." mode="reference">
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:apply-templates>
+    </xsl:for-each>
+
+    <xsl:if test="$refs/see">
+      <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, see))[&scope;][1])]"
+                           mode="index-see">
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+        <xsl:sort select="translate(see, &lowercase;, &uppercase;)"/>
+      </xsl:apply-templates>
+    </xsl:if>
+  </dt>
+  <xsl:if test="$refs/seealso">
+    <dd>
+      <dl>
+        <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(&primary;, &sep;, &secondary;, &sep;, &tertiary;, &sep;, seealso))[&scope;][1])]"
+                             mode="index-seealso">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(seealso, &lowercase;, &uppercase;)"/>
+        </xsl:apply-templates>
+      </dl>
+    </dd>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="reference">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <xsl:param name="position"/>
+  
+  <xsl:variable name="term.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.term.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="number.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.number.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="range.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.range.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$position = 1">
+      <xsl:value-of select="$term.separator"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$number.separator"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="@zone and string(@zone)">
+      <xsl:call-template name="reference">
+        <xsl:with-param name="zones" select="normalize-space(@zone)"/>
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <a>
+        <xsl:variable name="title">
+          <xsl:choose>
+            <xsl:when test="&section;/titleabbrev and $index.prefer.titleabbrev != 0">
+              <xsl:apply-templates select="&section;" mode="titleabbrev.markup"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="&section;" mode="title.markup"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="&section;"/>
+            <xsl:with-param name="context" select="//index[&scope;][1]"/>
+          </xsl:call-template>
+        </xsl:attribute>
+
+        <xsl:value-of select="$title"/> <!-- text only -->
+      </a>
+
+      <xsl:variable name="id" select="(@id|@xml:id)[1]"/>
+      <xsl:if test="key('endofrange', $id)[&scope;]">
+        <xsl:apply-templates select="key('endofrange', $id)[&scope;][last()]"
+                             mode="reference">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:with-param name="separator" select="$range.separator"/>
+        </xsl:apply-templates>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="reference">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <xsl:param name="zones"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($zones, ' ')">
+      <xsl:variable name="zone" select="substring-before($zones, ' ')"/>
+      <xsl:variable name="target" select="key('sections', $zone)[&scope;]"/>
+
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target[1]"/>
+            <xsl:with-param name="context" select="//index[&scope;][1]"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:apply-templates select="$target[1]" mode="index-title-content"/>
+      </a>
+      <xsl:text>, </xsl:text>
+      <xsl:call-template name="reference">
+        <xsl:with-param name="zones" select="substring-after($zones, ' ')"/>
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="zone" select="$zones"/>
+      <xsl:variable name="target" select="key('sections', $zone)[&scope;]"/>
+
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target[1]"/>
+            <xsl:with-param name="context" select="//index[&scope;][1]"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:apply-templates select="$target[1]" mode="index-title-content"/>
+      </a>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-see">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:text> (</xsl:text>
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'see'"/>
+  </xsl:call-template>
+  <xsl:text> </xsl:text>
+  <xsl:value-of select="see"/>
+  <xsl:text>)</xsl:text>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-seealso">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:for-each select="seealso">
+    <xsl:sort select="translate(., &lowercase;, &uppercase;)"/>
+    <dt>
+    <xsl:text>(</xsl:text>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'seealso'"/>
+    </xsl:call-template>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="."/>
+    <xsl:text>)</xsl:text>
+    </dt>
+  </xsl:for-each>
+</xsl:template>
+
+<xsl:template match="*" mode="index-title-content">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="&section;" mode="title.markup"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template name="index.separator">
+  <xsl:param name="key" select="''"/>
+  <xsl:param name="lang">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$key = 'index.term.separator'">
+      <xsl:choose>
+        <!-- Use the override if not blank -->
+        <xsl:when test="$index.term.separator != ''">
+          <xsl:copy-of select="$index.term.separator"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="lang" select="$lang"/>
+            <xsl:with-param name="context">index</xsl:with-param>
+            <xsl:with-param name="name">term-separator</xsl:with-param>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$key = 'index.number.separator'">
+      <xsl:choose>
+        <!-- Use the override if not blank -->
+        <xsl:when test="$index.number.separator != ''">
+          <xsl:copy-of select="$index.number.separator"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="lang" select="$lang"/>
+            <xsl:with-param name="context">index</xsl:with-param>
+            <xsl:with-param name="name">number-separator</xsl:with-param>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$key = 'index.range.separator'">
+      <xsl:choose>
+        <!-- Use the override if not blank -->
+        <xsl:when test="$index.range.separator != ''">
+          <xsl:copy-of select="$index.range.separator"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="lang" select="$lang"/>
+            <xsl:with-param name="context">index</xsl:with-param>
+            <xsl:with-param name="name">range-separator</xsl:with-param>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/autotoc.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/autotoc.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/autotoc.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,668 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: autotoc.xsl 6462 2007-01-04 09:55:38Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:variable name="toc.listitem.type">
+  <xsl:choose>
+    <xsl:when test="$toc.list.type = 'dl'">dt</xsl:when>
+    <xsl:otherwise>li</xsl:otherwise>
+  </xsl:choose>
+</xsl:variable>
+
+<!-- this is just hack because dl and ul aren't completely isomorphic -->
+<xsl:variable name="toc.dd.type">
+  <xsl:choose>
+    <xsl:when test="$toc.list.type = 'dl'">dd</xsl:when>
+    <xsl:otherwise></xsl:otherwise>
+  </xsl:choose>
+</xsl:variable>
+
+<xsl:template name="make.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+  <xsl:param name="nodes" select="/NOT-AN-ELEMENT"/>
+
+  <xsl:variable name="nodes.plus" select="$nodes | qandaset"/>
+
+  <xsl:variable name="toc.title">
+    <xsl:if test="$toc.title.p">
+      <p>
+        <b>
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key">TableofContents</xsl:with-param>
+          </xsl:call-template>
+        </b>
+      </p>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$manual.toc != ''">
+      <xsl:variable name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:variable>
+      <xsl:variable name="toc" select="document($manual.toc, .)"/>
+      <xsl:variable name="tocentry" select="$toc//tocentry[@linkend=$id]"/>
+      <xsl:if test="$tocentry and $tocentry/*">
+        <div class="toc">
+          <xsl:copy-of select="$toc.title"/>
+          <xsl:element name="{$toc.list.type}">
+            <xsl:call-template name="manual-toc">
+              <xsl:with-param name="tocentry" select="$tocentry/*[1]"/>
+            </xsl:call-template>
+          </xsl:element>
+        </div>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$qanda.in.toc != 0">
+          <xsl:if test="$nodes.plus">
+            <div class="toc">
+              <xsl:copy-of select="$toc.title"/>
+              <xsl:element name="{$toc.list.type}">
+                <xsl:apply-templates select="$nodes.plus" mode="toc">
+                  <xsl:with-param name="toc-context" select="$toc-context"/>
+                </xsl:apply-templates>
+              </xsl:element>
+            </div>
+          </xsl:if>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$nodes">
+            <div class="toc">
+              <xsl:copy-of select="$toc.title"/>
+              <xsl:element name="{$toc.list.type}">
+                <xsl:apply-templates select="$nodes" mode="toc">
+                  <xsl:with-param name="toc-context" select="$toc-context"/>
+                </xsl:apply-templates>
+              </xsl:element>
+            </div>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="make.lots">
+  <xsl:param name="toc.params" select="''"/>
+  <xsl:param name="toc"/>
+
+  <xsl:if test="contains($toc.params, 'toc')">
+    <xsl:copy-of select="$toc"/>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params, 'figure')">
+    <xsl:call-template name="list.of.titles">
+      <xsl:with-param name="titles" select="'figure'"/>
+      <xsl:with-param name="nodes" select=".//figure"/>
+    </xsl:call-template>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params, 'table')">
+    <xsl:call-template name="list.of.titles">
+      <xsl:with-param name="titles" select="'table'"/>
+      <xsl:with-param name="nodes" select=".//table"/>
+    </xsl:call-template>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params, 'example')">
+    <xsl:call-template name="list.of.titles">
+      <xsl:with-param name="titles" select="'example'"/>
+      <xsl:with-param name="nodes" select=".//example"/>
+    </xsl:call-template>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params, 'equation')">
+    <xsl:call-template name="list.of.titles">
+      <xsl:with-param name="titles" select="'equation'"/>
+      <xsl:with-param name="nodes" select=".//equation[title or info/title]"/>
+    </xsl:call-template>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params, 'procedure')">
+    <xsl:call-template name="list.of.titles">
+      <xsl:with-param name="titles" select="'procedure'"/>
+      <xsl:with-param name="nodes" select=".//procedure[title]"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="set.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+
+  <xsl:call-template name="make.toc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="toc.title.p" select="$toc.title.p"/>
+    <xsl:with-param name="nodes" select="book|setindex"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="division.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+
+  <xsl:call-template name="make.toc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="toc.title.p" select="$toc.title.p"/>
+    <xsl:with-param name="nodes" select="part|reference
+                                         |preface|chapter|appendix
+                                         |article
+                                         |bibliography|glossary|index
+                                         |refentry
+                                         |bridgehead[$bridgehead.in.toc != 0]"/>
+
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="component.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+
+  <xsl:call-template name="make.toc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="toc.title.p" select="$toc.title.p"/>
+    <xsl:with-param name="nodes" select="section|sect1
+                                         |simplesect[$simplesect.in.toc != 0]
+                                         |refentry
+                                         |article|bibliography|glossary
+                                         |appendix|index
+                                         |bridgehead[not(@renderas)
+                                                     and $bridgehead.in.toc != 0]
+                                         |.//bridgehead[@renderas='sect1'
+                                                        and $bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="component.toc.separator">
+  <!-- Customize to output something between
+       component.toc and first output -->
+</xsl:template>
+
+<xsl:template name="section.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+
+  <xsl:call-template name="make.toc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="toc.title.p" select="$toc.title.p"/>
+    <xsl:with-param name="nodes"
+                    select="section|sect1|sect2|sect3|sect4|sect5|refentry
+                           |bridgehead[$bridgehead.in.toc != 0]"/>
+
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="section.toc.separator">
+  <!-- Customize to output something between
+       section.toc and first output -->
+</xsl:template>
+<!-- ==================================================================== -->
+
+<xsl:template name="subtoc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="nodes" select="NOT-AN-ELEMENT"/>
+
+  <xsl:variable name="nodes.plus" select="$nodes | qandaset"/>
+
+  <xsl:variable name="subtoc">
+    <xsl:element name="{$toc.list.type}">
+      <xsl:choose>
+        <xsl:when test="$qanda.in.toc != 0">
+          <xsl:apply-templates mode="toc" select="$nodes.plus">
+            <xsl:with-param name="toc-context" select="$toc-context"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates mode="toc" select="$nodes">
+            <xsl:with-param name="toc-context" select="$toc-context"/>
+          </xsl:apply-templates>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:element>
+  </xsl:variable>
+
+  <xsl:variable name="depth">
+    <xsl:choose>
+      <xsl:when test="local-name(.) = 'section'">
+        <xsl:value-of select="count(ancestor::section) + 1"/>
+      </xsl:when>
+      <xsl:when test="local-name(.) = 'sect1'">1</xsl:when>
+      <xsl:when test="local-name(.) = 'sect2'">2</xsl:when>
+      <xsl:when test="local-name(.) = 'sect3'">3</xsl:when>
+      <xsl:when test="local-name(.) = 'sect4'">4</xsl:when>
+      <xsl:when test="local-name(.) = 'sect5'">5</xsl:when>
+      <xsl:when test="local-name(.) = 'refsect1'">1</xsl:when>
+      <xsl:when test="local-name(.) = 'refsect2'">2</xsl:when>
+      <xsl:when test="local-name(.) = 'refsect3'">3</xsl:when>
+      <xsl:when test="local-name(.) = 'simplesect'">
+        <!-- sigh... -->
+        <xsl:choose>
+          <xsl:when test="local-name(..) = 'section'">
+            <xsl:value-of select="count(ancestor::section)"/>
+          </xsl:when>
+          <xsl:when test="local-name(..) = 'sect1'">2</xsl:when>
+          <xsl:when test="local-name(..) = 'sect2'">3</xsl:when>
+          <xsl:when test="local-name(..) = 'sect3'">4</xsl:when>
+          <xsl:when test="local-name(..) = 'sect4'">5</xsl:when>
+          <xsl:when test="local-name(..) = 'sect5'">6</xsl:when>
+          <xsl:when test="local-name(..) = 'refsect1'">2</xsl:when>
+          <xsl:when test="local-name(..) = 'refsect2'">3</xsl:when>
+          <xsl:when test="local-name(..) = 'refsect3'">4</xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:variable name="subtoc.list">
+    <xsl:choose>
+      <xsl:when test="$toc.dd.type = ''">
+        <xsl:copy-of select="$subtoc"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:element name="{$toc.dd.type}">
+          <xsl:copy-of select="$subtoc"/>
+        </xsl:element>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:element name="{$toc.listitem.type}">
+    <xsl:call-template name="toc.line">
+      <xsl:with-param name="toc-context" select="$toc-context"/>
+    </xsl:call-template>
+    <xsl:if test="$toc.listitem.type = 'li'
+                  and $toc.section.depth > $depth and 
+                  ( ($qanda.in.toc = 0 and count($nodes)&gt;0) or
+                    ($qanda.in.toc != 0 and count($nodes.plus)&gt;0) )
+                  and $toc.max.depth > $depth.from.context">
+      <xsl:copy-of select="$subtoc.list"/>
+    </xsl:if>
+  </xsl:element>
+  <xsl:if test="$toc.listitem.type != 'li'
+                and $toc.section.depth > $depth and 
+                ( ($qanda.in.toc = 0 and count($nodes)&gt;0) or
+                  ($qanda.in.toc != 0 and count($nodes.plus)&gt;0) )
+                and $toc.max.depth > $depth.from.context">
+    <xsl:copy-of select="$subtoc.list"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="toc.line">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="depth" select="1"/>
+  <xsl:param name="depth.from.context" select="8"/>
+
+ <span>
+  <xsl:attribute name="class"><xsl:value-of select="local-name(.)"/></xsl:attribute>
+
+  <!-- * if $autotoc.label.in.hyperlink is zero, then output the label -->
+  <!-- * before the hyperlinked title (as the DSSSL stylesheet does) -->
+  <xsl:if test="$autotoc.label.in.hyperlink = 0">
+    <xsl:variable name="label">
+      <xsl:apply-templates select="." mode="label.markup"/>
+    </xsl:variable>
+    <xsl:copy-of select="$label"/>
+    <xsl:if test="$label != ''">
+      <xsl:value-of select="$autotoc.label.separator"/>
+    </xsl:if>
+  </xsl:if>
+
+  <a>
+    <xsl:attribute name="href">
+      <xsl:call-template name="href.target">
+        <xsl:with-param name="context" select="$toc-context"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    
+  <!-- * if $autotoc.label.in.hyperlink is non-zero, then output the label -->
+  <!-- * as part of the hyperlinked title -->
+  <xsl:if test="not($autotoc.label.in.hyperlink = 0)">
+    <xsl:variable name="label">
+      <xsl:apply-templates select="." mode="label.markup"/>
+    </xsl:variable>
+    <xsl:copy-of select="$label"/>
+    <xsl:if test="$label != ''">
+      <xsl:value-of select="$autotoc.label.separator"/>
+    </xsl:if>
+  </xsl:if>
+
+    <xsl:apply-templates select="." mode="titleabbrev.markup"/>
+  </a>
+  </span>
+</xsl:template>
+
+<xsl:template match="book" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="part|reference
+                                         |preface|chapter|appendix
+                                         |article
+                                         |bibliography|glossary|index
+                                         |refentry
+                                         |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="setindex" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <!-- If the setindex tag is not empty, it should be it in the TOC -->
+  <xsl:if test="* or $generate.index != 0">
+    <xsl:call-template name="subtoc">
+      <xsl:with-param name="toc-context" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="part|reference" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="appendix|chapter|article
+                                         |index|glossary|bibliography
+                                         |preface|reference|refentry
+                                         |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="preface|chapter|appendix|article" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="section|sect1
+                                         |simplesect[$simplesect.in.toc != 0]
+                                         |refentry
+                                         |glossary|bibliography|index
+                                         |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="sect1" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="sect2
+                                         |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="sect2" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="sect3
+                                         |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="sect3" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="sect4
+                                         |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="sect4" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="sect5
+                                         |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="sect5" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="simplesect" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="section" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="section
+                                         |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="bridgehead" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:if test="$bridgehead.in.toc != 0">
+    <xsl:call-template name="subtoc">
+      <xsl:with-param name="toc-context" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="bibliography|glossary" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="index" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <!-- If the index tag is not empty, it should be it in the TOC -->
+  <xsl:if test="* or $generate.index != 0">
+    <xsl:call-template name="subtoc">
+      <xsl:with-param name="toc-context" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refentry" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="refmeta" select=".//refmeta"/>
+  <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/>
+  <xsl:variable name="refnamediv" select=".//refnamediv"/>
+  <xsl:variable name="refname" select="$refnamediv//refname"/>
+  <xsl:variable name="refdesc" select="$refnamediv//refdescriptor"/>
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="$refentrytitle">
+        <xsl:apply-templates select="$refentrytitle[1]"
+			     mode="titleabbrev.markup"/>
+      </xsl:when>
+      <xsl:when test="$refdesc">
+        <xsl:apply-templates select="$refdesc"
+			     mode="titleabbrev.markup"/>
+      </xsl:when>
+      <xsl:when test="$refname">
+        <xsl:apply-templates select="$refname[1]"
+			     mode="titleabbrev.markup"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:element name="{$toc.listitem.type}">
+    <span class='refentrytitle'>
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target"/>
+        </xsl:attribute>
+        <xsl:copy-of select="$title"/>
+      </a>
+    </span>
+    <span class='refpurpose'>
+      <xsl:if test="$annotate.toc != 0">
+        <!-- * DocBook 5 says inlinemediaobject (among other things) -->
+        <!-- * is allowed in refpurpose; so we need to run -->
+        <!-- * apply-templates on refpurpose here, instead of value-of  -->
+        <xsl:apply-templates select="refnamediv/refpurpose"/>
+      </xsl:if>
+    </span>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="title" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <a>
+    <xsl:attribute name="href">
+      <xsl:call-template name="href.target">
+        <xsl:with-param name="object" select=".."/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:apply-templates/>
+  </a>
+</xsl:template>
+
+<xsl:template name="manual-toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="tocentry"/>
+
+  <!-- be careful, we don't want to change the current document to the other tree! -->
+
+  <xsl:if test="$tocentry">
+    <xsl:variable name="node" select="key('id', $tocentry/@linkend)"/>
+
+    <xsl:element name="{$toc.listitem.type}">
+      <xsl:variable name="label">
+        <xsl:apply-templates select="$node" mode="label.markup"/>
+      </xsl:variable>
+      <xsl:copy-of select="$label"/>
+      <xsl:if test="$label != ''">
+        <xsl:value-of select="$autotoc.label.separator"/>
+      </xsl:if>
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$node"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:apply-templates select="$node" mode="titleabbrev.markup"/>
+      </a>
+    </xsl:element>
+
+    <xsl:if test="$tocentry/*">
+      <xsl:element name="{$toc.list.type}">
+        <xsl:call-template name="manual-toc">
+          <xsl:with-param name="tocentry" select="$tocentry/*[1]"/>
+        </xsl:call-template>
+      </xsl:element>
+    </xsl:if>
+
+    <xsl:if test="$tocentry/following-sibling::*">
+      <xsl:call-template name="manual-toc">
+        <xsl:with-param name="tocentry" select="$tocentry/following-sibling::*[1]"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="list.of.titles">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="titles" select="'table'"/>
+  <xsl:param name="nodes" select=".//table"/>
+
+  <xsl:if test="$nodes">
+    <div class="list-of-{$titles}s">
+      <p>
+        <b>
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key">
+              <xsl:choose>
+                <xsl:when test="$titles='table'">ListofTables</xsl:when>
+                <xsl:when test="$titles='figure'">ListofFigures</xsl:when>
+                <xsl:when test="$titles='equation'">ListofEquations</xsl:when>
+                <xsl:when test="$titles='example'">ListofExamples</xsl:when>
+                <xsl:when test="$titles='procedure'">ListofProcedures</xsl:when>
+                <xsl:otherwise>ListofUnknown</xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+          </xsl:call-template>
+        </b>
+      </p>
+
+      <xsl:element name="{$toc.list.type}">
+        <xsl:apply-templates select="$nodes" mode="toc">
+          <xsl:with-param name="toc-context" select="$toc-context"/>
+        </xsl:apply-templates>
+      </xsl:element>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="figure|table|example|equation|procedure" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:element name="{$toc.listitem.type}">
+    <xsl:variable name="label">
+      <xsl:apply-templates select="." mode="label.markup"/>
+    </xsl:variable>
+    <xsl:copy-of select="$label"/>
+    <xsl:if test="$label != ''">
+      <xsl:value-of select="$autotoc.label.separator"/>
+    </xsl:if>
+    <a>
+      <xsl:attribute name="href">
+        <xsl:call-template name="href.target"/>
+      </xsl:attribute>
+      <xsl:apply-templates select="." mode="titleabbrev.markup"/>
+    </a>
+  </xsl:element>
+</xsl:template>
+
+<!-- Used only if qanda.in.toc parameter is non-zero -->
+<xsl:template match="qandaset" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="qandadiv | qandaentry"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="qandadiv|qandaentry" mode="toc">
+  <xsl:apply-templates select="." mode="qandatoc.mode"/>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/html/biblio.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/biblio.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/biblio.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1221 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: biblio.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="bibliography">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="bibliography.titlepage"/>
+
+    <xsl:apply-templates/>
+
+    <xsl:if test="not(parent::article)">
+      <xsl:call-template name="process.footnotes"/>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="bibliography/bibliographyinfo"></xsl:template>
+<xsl:template match="bibliography/info"></xsl:template>
+<xsl:template match="bibliography/title"></xsl:template>
+<xsl:template match="bibliography/subtitle"></xsl:template>
+<xsl:template match="bibliography/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="bibliodiv">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="bibliodiv/title">
+  <h3>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select=".."/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </h3>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="bibliolist">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="blockinfo/title|info/title|title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+    <xsl:apply-templates select="*[not(self::blockinfo)
+                                   and not(self::info)
+                                   and not(self::title)
+                                   and not(self::titleabbrev)
+                                   and not(self::biblioentry)
+                                   and not(self::bibliomixed)]"/>
+    <xsl:apply-templates select="biblioentry|bibliomixed"/>
+  </div>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="biblioentry">
+  <xsl:param name="label">
+    <xsl:call-template name="biblioentry.label"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="string(.) = ''">
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
+      <xsl:variable name="entry" select="$bib/bibliography/
+                                         *[@id=$id or @xml:id=$id][1]"/>
+      <xsl:choose>
+        <xsl:when test="$entry">
+          <xsl:choose>
+            <xsl:when test="$bibliography.numbered != 0">
+              <xsl:apply-templates select="$entry">
+                <xsl:with-param name="label" select="$label"/>
+              </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="$entry"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>No bibliography entry: </xsl:text>
+            <xsl:value-of select="$id"/>
+            <xsl:text> found in </xsl:text>
+            <xsl:value-of select="$bibliography.collection"/>
+          </xsl:message>
+          <div>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+            <xsl:call-template name="anchor"/>
+            <p>
+              <xsl:copy-of select="$label"/>
+              <xsl:text>Error: no bibliography entry: </xsl:text>
+              <xsl:value-of select="$id"/>
+              <xsl:text> found in </xsl:text>
+              <xsl:value-of select="$bibliography.collection"/>
+            </p>
+          </div>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="conditional" select="0"/>
+        </xsl:call-template>
+        <p>
+          <xsl:copy-of select="$label"/>
+          <xsl:apply-templates mode="bibliography.mode"/>
+        </p>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="bibliomixed">
+  <xsl:param name="label">
+    <xsl:call-template name="biblioentry.label"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="string(.) = ''">
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
+      <xsl:variable name="entry" select="$bib/bibliography/
+                                         *[@id=$id or @xml:id=$id][1]"/>
+      <xsl:choose>
+        <xsl:when test="$entry">
+          <xsl:choose>
+            <xsl:when test="$bibliography.numbered != 0">
+              <xsl:apply-templates select="$entry">
+                <xsl:with-param name="label" select="$label"/>
+              </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="$entry"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>No bibliography entry: </xsl:text>
+            <xsl:value-of select="$id"/>
+            <xsl:text> found in </xsl:text>
+            <xsl:value-of select="$bibliography.collection"/>
+          </xsl:message>
+          <div>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+            <xsl:call-template name="anchor"/>
+            <p>
+              <xsl:copy-of select="$label"/>
+              <xsl:text>Error: no bibliography entry: </xsl:text>
+              <xsl:value-of select="$id"/>
+              <xsl:text> found in </xsl:text>
+              <xsl:value-of select="$bibliography.collection"/>
+            </p>
+          </div>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="conditional" select="0"/>
+        </xsl:call-template>
+        <p>
+          <xsl:apply-templates select="." mode="class.attribute"/>
+          <xsl:copy-of select="$label"/>
+          <xsl:apply-templates mode="bibliomixed.mode"/>
+        </p>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="biblioentry.label">
+  <xsl:param name="node" select="."/>
+
+  <xsl:choose>
+    <xsl:when test="$bibliography.numbered != 0">
+      <xsl:text>[</xsl:text>
+      <xsl:number from="bibliography" count="biblioentry|bibliomixed"
+                  level="any" format="1"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:when test="local-name($node/child::*[1]) = 'abbrev'">
+      <xsl:text>[</xsl:text>
+      <xsl:apply-templates select="$node/abbrev[1]"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:when test="$node/@xreflabel">
+      <xsl:text>[</xsl:text>
+      <xsl:value-of select="$node/@xreflabel"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:when test="$node/@id">
+      <xsl:text>[</xsl:text>
+      <xsl:value-of select="$node/@id"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:when test="$node/@xml:id">
+      <xsl:text>[</xsl:text>
+      <xsl:value-of select="$node/@xml:id"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:otherwise><!-- nop --></xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="bibliography.mode">
+  <xsl:apply-templates select="."/><!-- try the default mode -->
+</xsl:template>
+
+<xsl:template match="abbrev" mode="bibliography.mode">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:apply-templates mode="bibliography.mode"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="abstract" mode="bibliography.mode">
+  <!-- suppressed -->
+</xsl:template>
+
+<xsl:template match="address" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="affiliation" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="shortaffil" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="jobtitle" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="artheader|articleinfo|info" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="artpagenums" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="author" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="person.name"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="authorblurb|personblurb" mode="bibliography.mode">
+  <!-- suppressed -->
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="person.name.list"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="authorinitials" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliomisc" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliomset" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="biblioset" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="biblioset/title|biblioset/citetitle" 
+              mode="bibliography.mode">
+  <xsl:variable name="relation" select="../@relation"/>
+  <xsl:choose>
+    <xsl:when test="$relation='article' or @pubwork='article'">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:apply-templates/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <i><xsl:apply-templates/></i>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:copy-of select="$biblioentry.item.separator"/>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="bookbiblio" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="citetitle" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:choose>
+      <xsl:when test="@pubwork = 'article'">
+        <xsl:call-template name="gentext.startquote"/>
+        <xsl:call-template name="inline.charseq"/>
+        <xsl:call-template name="gentext.endquote"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inline.italicseq"/>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="collab" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="collabname" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confgroup" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confdates" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="conftitle" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confnum" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confsponsor" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contractnum" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contractsponsor" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contrib" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="copyright" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'Copyright'"/>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">copyright</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="year" mode="bibliography.mode"/>
+    <xsl:if test="holder">
+      <xsl:call-template name="gentext.space"/>
+      <xsl:apply-templates select="holder" mode="bibliography.mode"/>
+    </xsl:if>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="year" mode="bibliography.mode">
+  <xsl:apply-templates/><xsl:text>, </xsl:text>
+</xsl:template>
+
+<xsl:template match="year[position()=last()]" mode="bibliography.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="holder" mode="bibliography.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="corpauthor" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="corpcredit" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="corpname" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="date" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="edition" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="editor" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="person.name"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="firstname" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="honorific" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="invpartnumber" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="isbn" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="issn" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="issuenum" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="lineage" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="orgname" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="orgdiv" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="othername" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pagenums" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="printhistory" mode="bibliography.mode">
+  <!-- suppressed -->
+</xsl:template>
+
+<xsl:template match="productname" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="productnumber" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="publisher" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="publishername" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pubsnumber" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="bibliography.mode">
+  <!-- suppressed; how could this be represented? -->
+</xsl:template>
+
+<xsl:template match="seriesinfo" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="seriesvolnums" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="surname" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="title" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <i><xsl:apply-templates mode="bibliography.mode"/></i>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="titleabbrev" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="volumenum" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource"
+              mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="bibliomixed.mode">
+  <xsl:apply-templates select="."/><!-- try the default mode -->
+</xsl:template>
+
+<xsl:template match="abbrev" mode="bibliomixed.mode">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="abstract" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="address" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="affiliation" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="shortaffil" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="jobtitle" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="artpagenums" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="author" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="authorblurb|personblurb" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="authorinitials" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliomisc" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="bibliomset" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliomset/title|bibliomset/citetitle" 
+              mode="bibliomixed.mode">
+  <xsl:variable name="relation" select="../@relation"/>
+  <xsl:choose>
+    <xsl:when test="$relation='article' or @pubwork='article'">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:apply-templates/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <i><xsl:apply-templates/></i>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="biblioset" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="citetitle" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:choose>
+      <xsl:when test="@pubwork = 'article'">
+        <xsl:call-template name="gentext.startquote"/>
+        <xsl:call-template name="inline.charseq"/>
+        <xsl:call-template name="gentext.endquote"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inline.italicseq"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </span>
+</xsl:template>
+
+
+<xsl:template match="collab" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confgroup" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contractnum" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contractsponsor" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contrib" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="copyright" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="corpcredit" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="corpname" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="date" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="edition" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="editor" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="firstname" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="honorific" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="invpartnumber" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="isbn" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="issn" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="issuenum" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="lineage" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="orgname" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="othername" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pagenums" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="printhistory" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="productname" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="productnumber" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="publisher" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="publishername" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pubsnumber" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="bibliomixed.mode">
+  <!-- suppressed; how could this be represented? -->
+</xsl:template>
+
+<xsl:template match="seriesvolnums" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="surname" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="title" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="titleabbrev" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="volumenum" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource"
+              mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/block.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/block.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/block.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,434 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: block.xsl 6439 2006-11-18 20:10:32Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- What should we do about styling blockinfo? -->
+
+<xsl:template match="blockinfo|info">
+  <!-- suppress -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="block.object">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="para">
+  <xsl:call-template name="paragraph">
+    <xsl:with-param name="class">
+      <xsl:if test="@role and $para.propagates.style != 0">
+        <xsl:value-of select="@role"/>
+      </xsl:if>
+    </xsl:with-param>
+    <xsl:with-param name="content">
+      <xsl:if test="position() = 1 and parent::listitem">
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="node" select="parent::listitem"/>
+        </xsl:call-template>
+      </xsl:if>
+
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="paragraph">
+  <xsl:param name="class" select="''"/>
+  <xsl:param name="content"/>
+
+  <xsl:variable name="p">
+    <p>
+      <xsl:call-template name="dir"/>
+      <xsl:if test="$class != ''">
+        <xsl:apply-templates select="." mode="class.attribute">
+          <xsl:with-param name="class" select="$class"/>
+        </xsl:apply-templates>
+      </xsl:if>
+      <xsl:copy-of select="$content"/>
+    </p>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$html.cleanup != 0">
+      <xsl:call-template name="unwrap.p">
+        <xsl:with-param name="p" select="$p"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$p"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="simpara">
+  <!-- see also listitem/simpara in lists.xsl -->
+  <p>
+    <xsl:if test="@role and $para.propagates.style != 0">
+      <xsl:apply-templates select="." mode="class.attribute">
+        <xsl:with-param name="class" select="@role"/>
+      </xsl:apply-templates>
+    </xsl:if>
+
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<xsl:template match="formalpara">
+  <xsl:call-template name="paragraph">
+    <xsl:with-param name="class">
+      <xsl:if test="@role and $para.propagates.style != 0">
+        <xsl:value-of select="@role"/>
+      </xsl:if>
+    </xsl:with-param>
+    <xsl:with-param name="content">
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- Only use title from info -->
+<xsl:template match="formalpara/info">
+  <xsl:apply-templates select="title"/>
+</xsl:template>
+
+<xsl:template match="formalpara/title|formalpara/info/title">
+  <xsl:variable name="titleStr">
+      <xsl:apply-templates/>
+  </xsl:variable>
+  <xsl:variable name="lastChar">
+    <xsl:if test="$titleStr != ''">
+      <xsl:value-of select="substring($titleStr,string-length($titleStr),1)"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <b>
+    <xsl:copy-of select="$titleStr"/>
+    <xsl:if test="$lastChar != ''
+                  and not(contains($runinhead.title.end.punct, $lastChar))">
+      <xsl:value-of select="$runinhead.default.title.end.punct"/>
+    </xsl:if>
+    <xsl:text>&#160;</xsl:text>
+  </b>
+</xsl:template>
+
+<xsl:template match="formalpara/para">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="blockquote">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="@lang or @xml:lang">
+      <xsl:call-template name="language.attribute"/>
+    </xsl:if>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:choose>
+      <xsl:when test="attribution">
+        <table border="0" width="100%"
+               cellspacing="0" cellpadding="0" class="blockquote"
+               summary="Block quote">
+          <tr>
+            <td width="10%" valign="top">&#160;</td>
+            <td width="80%" valign="top">
+              <xsl:apply-templates select="child::*[local-name(.)!='attribution']"/>
+            </td>
+            <td width="10%" valign="top">&#160;</td>
+          </tr>
+          <tr>
+            <td width="10%" valign="top">&#160;</td>
+            <td colspan="2" align="right" valign="top">
+              <xsl:text>--</xsl:text>
+              <xsl:apply-templates select="attribution"/>
+            </td>
+          </tr>
+        </table>
+      </xsl:when>
+      <xsl:otherwise>
+        <blockquote>
+          <xsl:apply-templates select="." mode="class.attribute"/>
+          <xsl:apply-templates/>
+        </blockquote>
+      </xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
+<xsl:template match="blockquote/title|blockquote/info/title">
+  <div class="blockquote-title">
+    <p>
+      <b>
+        <xsl:apply-templates/>
+      </b>
+    </p>
+  </div>
+</xsl:template>
+
+<xsl:template match="epigraph">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+      <xsl:apply-templates select="para|simpara|formalpara|literallayout"/>
+      <xsl:if test="attribution">
+        <div class="attribution">
+          <span>--<xsl:apply-templates select="attribution"/></span>
+        </div>
+      </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="attribution">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="abstract|sidebar">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="formal.object.heading">
+      <xsl:with-param name="title">
+        <xsl:apply-templates select="." mode="title.markup">
+          <xsl:with-param name="allow-anchors" select="'1'"/>
+        </xsl:apply-templates>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="abstract/title|sidebar/title">
+</xsl:template>
+
+<xsl:template match="sidebar/sidebarinfo|sidebar/info"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="msgset">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msgentry">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="simplemsgentry">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="msg">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="msgmain">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msgmain/title">
+  <b><xsl:apply-templates/></b>
+</xsl:template>
+
+<xsl:template match="msgsub">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msgsub/title">
+  <b><xsl:apply-templates/></b>
+</xsl:template>
+
+<xsl:template match="msgrel">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msgrel/title">
+  <b><xsl:apply-templates/></b>
+</xsl:template>
+
+<xsl:template match="msgtext">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msginfo">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="msglevel">
+  <p>
+    <b>
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'msgset'"/>
+        <xsl:with-param name="name" select="'MsgLevel'"/>
+      </xsl:call-template>
+    </b>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<xsl:template match="msgorig">
+  <p>
+    <b>
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'msgset'"/>
+        <xsl:with-param name="name" select="'MsgOrig'"/>
+      </xsl:call-template>
+    </b>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<xsl:template match="msgaud">
+  <p>
+    <b>
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'msgset'"/>
+        <xsl:with-param name="name" select="'MsgAud'"/>
+      </xsl:call-template>
+    </b>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<xsl:template match="msgexplan">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="msgexplan/title">
+  <p><b><xsl:apply-templates/></b></p>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="revhistory">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <table border="0" width="100%" summary="Revision history">
+      <tr>
+        <th align="left" valign="top" colspan="3">
+          <b>
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'RevHistory'"/>
+            </xsl:call-template>
+          </b>
+        </th>
+      </tr>
+      <xsl:apply-templates/>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template match="revhistory/revision">
+  <xsl:variable name="revnumber" select="revnumber"/>
+  <xsl:variable name="revdate"   select="date"/>
+  <xsl:variable name="revauthor" select="authorinitials|author"/>
+  <xsl:variable name="revremark" select="revremark|revdescription"/>
+  <tr>
+    <td align="left">
+      <xsl:if test="$revnumber">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'Revision'"/>
+        </xsl:call-template>
+        <xsl:call-template name="gentext.space"/>
+        <xsl:apply-templates select="$revnumber"/>
+      </xsl:if>
+    </td>
+    <td align="left">
+      <xsl:apply-templates select="$revdate"/>
+    </td>
+    <xsl:choose>
+      <xsl:when test="count($revauthor)=0">
+        <td align="left">
+          <xsl:call-template name="dingbat">
+            <xsl:with-param name="dingbat">nbsp</xsl:with-param>
+          </xsl:call-template>
+        </td>
+      </xsl:when>
+      <xsl:otherwise>
+        <td align="left">
+          <xsl:for-each select="$revauthor">
+            <xsl:apply-templates select="."/>
+            <xsl:if test="position() != last()">
+              <xsl:text>, </xsl:text>
+            </xsl:if>
+          </xsl:for-each>
+        </td>
+      </xsl:otherwise>
+    </xsl:choose>
+  </tr>
+  <xsl:if test="$revremark">
+    <tr>
+      <td align="left" colspan="3">
+        <xsl:apply-templates select="$revremark"/>
+      </td>
+    </tr>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="revision/revnumber">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/date">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/authorinitials">
+  <xsl:text>, </xsl:text>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/authorinitials[1]" priority="2">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/revremark">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/revdescription">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="ackno">
+  <p>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="highlights">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/callout.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/callout.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/callout.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,200 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim"
+                xmlns:xverb="xalan://com.nwalsh.xalan.Verbatim"
+                xmlns:lxslt="http://xml.apache.org/xslt"
+                exclude-result-prefixes="sverb xverb lxslt"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: callout.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<lxslt:component prefix="xverb"
+                 functions="insertCallouts"/>
+
+<xsl:template match="programlistingco|screenco">
+  <xsl:variable name="verbatim" select="programlisting|screen"/>
+
+  <xsl:choose>
+    <xsl:when test="$use.extensions != '0'
+                    and $callouts.extension != '0'">
+      <xsl:variable name="rtf">
+        <xsl:apply-templates select="$verbatim">
+          <xsl:with-param name="suppress-numbers" select="'1'"/>
+        </xsl:apply-templates>
+      </xsl:variable>
+
+      <xsl:variable name="rtf-with-callouts">
+        <xsl:choose>
+          <xsl:when test="function-available('sverb:insertCallouts')">
+            <xsl:copy-of select="sverb:insertCallouts(areaspec,$rtf)"/>
+          </xsl:when>
+          <xsl:when test="function-available('xverb:insertCallouts')">
+            <xsl:copy-of select="xverb:insertCallouts(areaspec,$rtf)"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:message terminate="yes">
+              <xsl:text>No insertCallouts function is available.</xsl:text>
+            </xsl:message>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$verbatim/@linenumbering = 'numbered'
+                        and $linenumbering.extension != '0'">
+          <div>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+            <xsl:call-template name="number.rtf.lines">
+              <xsl:with-param name="rtf" select="$rtf-with-callouts"/>
+              <xsl:with-param name="pi.context"
+                              select="programlisting|screen"/>
+            </xsl:call-template>
+            <xsl:apply-templates select="calloutlist"/>
+          </div>
+        </xsl:when>
+        <xsl:otherwise>
+          <div>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+            <xsl:copy-of select="$rtf-with-callouts"/>
+            <xsl:apply-templates select="calloutlist"/>
+          </div>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates/>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="areaspec|areaset|area">
+</xsl:template>
+
+<xsl:template match="areaset" mode="conumber">
+  <xsl:number count="area|areaset" format="1"/>
+</xsl:template>
+
+<xsl:template match="area" mode="conumber">
+  <xsl:number count="area|areaset" format="1"/>
+</xsl:template>
+
+<xsl:template match="co" name="co">
+  <!-- Support a single linkend in HTML -->
+  <xsl:variable name="targets" select="key('id', @linkends)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+  <xsl:choose>
+    <xsl:when test="$target">
+      <a>
+        <xsl:if test="@id or @xml:id">
+          <xsl:attribute name="name">
+            <xsl:value-of select="(@id|@xml:id)[1]"/>
+          </xsl:attribute>
+        </xsl:if>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:apply-templates select="." mode="callout-bug"/>
+      </a>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates select="." mode="callout-bug"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="coref">
+  <!-- tricky; this relies on the fact that we can process the "co" that's -->
+  <!-- "over there" as if it were "right here" -->
+
+  <xsl:variable name="co" select="key('id', @linkend)"/>
+  <xsl:choose>
+    <xsl:when test="not($co)">
+      <xsl:message>
+        <xsl:text>Error: coref link is broken: </xsl:text>
+        <xsl:value-of select="@linkend"/>
+      </xsl:message>
+    </xsl:when>
+    <xsl:when test="local-name($co) != 'co'">
+      <xsl:message>
+        <xsl:text>Error: coref doesn't point to a co: </xsl:text>
+        <xsl:value-of select="@linkend"/>
+      </xsl:message>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="$co"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="co" mode="callout-bug">
+  <xsl:call-template name="callout-bug">
+    <xsl:with-param name="conum">
+      <xsl:number count="co"
+                  level="any"
+                  from="programlisting|screen|literallayout|synopsis"
+                  format="1"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="callout-bug">
+  <xsl:param name="conum" select='1'/>
+
+  <xsl:choose>
+    <xsl:when test="$callout.graphics != 0
+                    and $conum &lt;= $callout.graphics.number.limit">
+      <img src="{$callout.graphics.path}{$conum}{$callout.graphics.extension}"
+           alt="{$conum}" border="0"/>
+    </xsl:when>
+    <xsl:when test="$callout.unicode != 0
+                    and $conum &lt;= $callout.unicode.number.limit">
+      <xsl:choose>
+        <xsl:when test="$callout.unicode.start.character = 10102">
+          <xsl:choose>
+            <xsl:when test="$conum = 1">&#10102;</xsl:when>
+            <xsl:when test="$conum = 2">&#10103;</xsl:when>
+            <xsl:when test="$conum = 3">&#10104;</xsl:when>
+            <xsl:when test="$conum = 4">&#10105;</xsl:when>
+            <xsl:when test="$conum = 5">&#10106;</xsl:when>
+            <xsl:when test="$conum = 6">&#10107;</xsl:when>
+            <xsl:when test="$conum = 7">&#10108;</xsl:when>
+            <xsl:when test="$conum = 8">&#10109;</xsl:when>
+            <xsl:when test="$conum = 9">&#10110;</xsl:when>
+            <xsl:when test="$conum = 10">&#10111;</xsl:when>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>Don't know how to generate Unicode callouts </xsl:text>
+            <xsl:text>when $callout.unicode.start.character is </xsl:text>
+            <xsl:value-of select="$callout.unicode.start.character"/>
+          </xsl:message>
+          <xsl:text>(</xsl:text>
+          <xsl:value-of select="$conum"/>
+          <xsl:text>)</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>(</xsl:text>
+      <xsl:value-of select="$conum"/>
+      <xsl:text>)</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/changebars.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/changebars.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/changebars.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,98 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: changebars.xsl 4271 2005-02-01 07:33:38Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<xsl:import href="docbook.xsl"/>
+
+<xsl:param name="show.revisionflag" select="'1'"/>
+
+<xsl:template name="system.head.content">
+<xsl:param name="node" select="."/>
+
+<style type="text/css">
+<xsl:text>
+div.added    { background-color: #ffff99; }
+div.deleted  { text-decoration: line-through;
+               background-color: #FF7F7F; }
+div.changed  { background-color: #99ff99; }
+div.off      {  }
+
+span.added   { background-color: #ffff99; }
+span.deleted { text-decoration: line-through;
+               background-color: #FF7F7F; }
+span.changed { background-color: #99ff99; }
+span.off     {  }
+</xsl:text>
+</style>
+</xsl:template>
+
+<xsl:template match="*[@revisionflag]">
+  <xsl:choose>
+    <xsl:when test="local-name(.) = 'para'
+                    or local-name(.) = 'simpara'
+                    or local-name(.) = 'formalpara'
+                    or local-name(.) = 'section'
+                    or local-name(.) = 'sect1'
+                    or local-name(.) = 'sect2'
+                    or local-name(.) = 'sect3'
+                    or local-name(.) = 'sect4'
+                    or local-name(.) = 'sect5'
+                    or local-name(.) = 'chapter'
+                    or local-name(.) = 'preface'
+                    or local-name(.) = 'itemizedlist'
+                    or local-name(.) = 'varlistentry'
+                    or local-name(.) = 'glossary'
+                    or local-name(.) = 'bibliography'
+                    or local-name(.) = 'index'
+                    or local-name(.) = 'appendix'">
+      <div class='{@revisionflag}'>
+	<xsl:apply-imports/>
+      </div>
+    </xsl:when>
+    <xsl:when test="local-name(.) = 'phrase'
+                    or local-name(.) = 'ulink'
+                    or local-name(.) = 'link'
+                    or local-name(.) = 'filename'
+                    or local-name(.) = 'literal'
+                    or local-name(.) = 'member'
+                    or local-name(.) = 'glossterm'
+                    or local-name(.) = 'sgmltag'
+                    or local-name(.) = 'quote'
+                    or local-name(.) = 'emphasis'
+                    or local-name(.) = 'command'
+                    or local-name(.) = 'xref'">
+      <span class='{@revisionflag}'>
+	<xsl:apply-imports/>
+      </span>
+    </xsl:when>
+    <xsl:when test="local-name(.) = 'listitem'
+                    or local-name(.) = 'entry'
+                    or local-name(.) = 'title'">
+      <!-- nop; these are handled directly in the stylesheet -->
+      <xsl:apply-imports/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+	<xsl:text>Revisionflag on unexpected element: </xsl:text>
+	<xsl:value-of select="local-name(.)"/>
+	<xsl:text> (Assuming block)</xsl:text>
+      </xsl:message>
+      <div class='{@revisionflag}'>
+	<xsl:apply-imports/>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/chunk-code.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/chunk-code.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/chunk-code.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1057 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0"
+                xmlns:ng="http://docbook.org/docbook-ng"
+                xmlns:db="http://docbook.org/ns/docbook"
+                version="1.0"
+                exclude-result-prefixes="exsl cf ng db">
+
+<!-- ********************************************************************
+     $Id: chunk-code.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:param name="onechunk" select="0"/>
+<xsl:param name="refentry.separator" select="0"/>
+<xsl:param name="chunk.fast" select="0"/>
+
+<xsl:key name="genid" match="*" use="generate-id()"/>
+
+<!-- ==================================================================== -->
+
+<xsl:variable name="chunk.hierarchy">
+  <xsl:if test="$chunk.fast != 0">
+    <xsl:choose>
+      <xsl:when test="function-available('exsl:node-set')">
+        <xsl:message>Computing chunks...</xsl:message>
+        <xsl:apply-templates select="/*" mode="find.chunks"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:message>
+          <xsl:text>Fast chunking requires exsl:node-set(). </xsl:text>
+          <xsl:text>Using "slow" chunking.</xsl:text>
+        </xsl:message>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:variable>
+
+<xsl:template match="*" mode="find.chunks">
+  <xsl:variable name="chunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$chunk != 0">
+      <cf:div id="{generate-id()}">
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates select="*" mode="find.chunks"/>
+      </cf:div>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="*" mode="find.chunks"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process-chunk-element">
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$chunk.fast != 0 and function-available('exsl:node-set')">
+      <xsl:variable name="chunks" select="exsl:node-set($chunk.hierarchy)//cf:div"/>
+      <xsl:variable name="genid" select="generate-id()"/>
+
+      <xsl:variable name="div" select="$chunks[@id=$genid or @xml:id=$genid]"/>
+
+      <xsl:variable name="prevdiv"
+                    select="($div/preceding-sibling::cf:div|$div/preceding::cf:div|$div/parent::cf:div)[last()]"/>
+      <xsl:variable name="prev" select="key('genid', ($prevdiv/@id|$prevdiv/@xml:id)[1])"/>
+
+      <xsl:variable name="nextdiv"
+                    select="($div/following-sibling::cf:div|$div/following::cf:div|$div/cf:div)[1]"/>
+      <xsl:variable name="next" select="key('genid', ($nextdiv/@id|$nextdiv/@xml:id)[1])"/>
+
+      <xsl:choose>
+        <xsl:when test="$onechunk != 0 and parent::*">
+          <xsl:copy-of select="$content"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="process-chunk">
+            <xsl:with-param name="prev" select="$prev"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$onechunk != 0 and not(parent::*)">
+          <xsl:call-template name="chunk-all-sections">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$onechunk != 0">
+          <xsl:copy-of select="$content"/>
+        </xsl:when>
+        <xsl:when test="$chunk.first.sections = 0">
+          <xsl:call-template name="chunk-first-section-with-parent">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="chunk-all-sections">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process-chunk">
+  <xsl:param name="prev" select="."/>
+  <xsl:param name="next" select="."/>
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:variable name="chunkfn">
+    <xsl:if test="$ischunk='1'">
+      <xsl:apply-templates mode="chunk-filename" select="."/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:if test="$ischunk='0'">
+    <xsl:message>
+      <xsl:text>Error </xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:text> is not a chunk!</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="filename">
+    <xsl:call-template name="make-relative-filename">
+      <xsl:with-param name="base.dir" select="$base.dir"/>
+      <xsl:with-param name="base.name" select="$chunkfn"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename" select="$filename"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="chunk-element-content">
+        <xsl:with-param name="prev" select="$prev"/>
+        <xsl:with-param name="next" select="$next"/>
+        <xsl:with-param name="content" select="$content"/>
+      </xsl:call-template>
+    </xsl:with-param>
+    <xsl:with-param name="quiet" select="$chunk.quietly"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="chunk-first-section-with-parent">
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <!-- These xpath expressions are really hairy. The trick is to pick sections -->
+  <!-- that are not first children and are not the children of first children -->
+
+  <!-- Break these variables into pieces to work around
+       http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6063 -->
+
+  <xsl:variable name="prev-v1"
+     select="(ancestor::sect1[$chunk.section.depth &gt; 0
+                               and preceding-sibling::sect1][1]
+
+             |ancestor::sect2[$chunk.section.depth &gt; 1
+                               and preceding-sibling::sect2
+                               and parent::sect1[preceding-sibling::sect1]][1]
+
+             |ancestor::sect3[$chunk.section.depth &gt; 2
+                               and preceding-sibling::sect3
+                               and parent::sect2[preceding-sibling::sect2]
+                               and ancestor::sect1[preceding-sibling::sect1]][1]
+
+             |ancestor::sect4[$chunk.section.depth &gt; 3
+                               and preceding-sibling::sect4
+                               and parent::sect3[preceding-sibling::sect3]
+                               and ancestor::sect2[preceding-sibling::sect2]
+                               and ancestor::sect1[preceding-sibling::sect1]][1]
+
+             |ancestor::sect5[$chunk.section.depth &gt; 4
+                               and preceding-sibling::sect5
+                               and parent::sect4[preceding-sibling::sect4]
+                               and ancestor::sect3[preceding-sibling::sect3]
+                               and ancestor::sect2[preceding-sibling::sect2]
+                               and ancestor::sect1[preceding-sibling::sect1]][1]
+
+             |ancestor::section[$chunk.section.depth &gt; count(ancestor::section)
+                                and not(ancestor::section[not(preceding-sibling::section)])][1])[last()]"/>
+
+  <xsl:variable name="prev-v2"
+     select="(preceding::sect1[$chunk.section.depth &gt; 0
+                               and preceding-sibling::sect1][1]
+
+             |preceding::sect2[$chunk.section.depth &gt; 1
+                               and preceding-sibling::sect2
+                               and parent::sect1[preceding-sibling::sect1]][1]
+
+             |preceding::sect3[$chunk.section.depth &gt; 2
+                               and preceding-sibling::sect3
+                               and parent::sect2[preceding-sibling::sect2]
+                               and ancestor::sect1[preceding-sibling::sect1]][1]
+
+             |preceding::sect4[$chunk.section.depth &gt; 3
+                               and preceding-sibling::sect4
+                               and parent::sect3[preceding-sibling::sect3]
+                               and ancestor::sect2[preceding-sibling::sect2]
+                               and ancestor::sect1[preceding-sibling::sect1]][1]
+
+             |preceding::sect5[$chunk.section.depth &gt; 4
+                               and preceding-sibling::sect5
+                               and parent::sect4[preceding-sibling::sect4]
+                               and ancestor::sect3[preceding-sibling::sect3]
+                               and ancestor::sect2[preceding-sibling::sect2]
+                               and ancestor::sect1[preceding-sibling::sect1]][1]
+
+             |preceding::section[$chunk.section.depth &gt; count(ancestor::section)
+                                 and preceding-sibling::section
+                                 and not(ancestor::section[not(preceding-sibling::section)])][1])[last()]"/>
+
+  <xsl:variable name="prev"
+    select="(preceding::book[1]
+             |preceding::preface[1]
+             |preceding::chapter[1]
+             |preceding::appendix[1]
+             |preceding::part[1]
+             |preceding::reference[1]
+             |preceding::refentry[1]
+             |preceding::colophon[1]
+             |preceding::article[1]
+             |preceding::bibliography[parent::article or parent::book or parent::part][1]
+             |preceding::glossary[parent::article or parent::book or parent::part][1]
+             |preceding::index[$generate.index != 0]
+                               [parent::article or parent::book or parent::part][1]
+             |preceding::setindex[$generate.index != 0][1]
+             |ancestor::set
+             |ancestor::book[1]
+             |ancestor::preface[1]
+             |ancestor::chapter[1]
+             |ancestor::appendix[1]
+             |ancestor::part[1]
+             |ancestor::reference[1]
+             |ancestor::article[1]
+             |$prev-v1
+             |$prev-v2)[last()]"/>
+
+  <xsl:variable name="next-v1"
+    select="(following::sect1[$chunk.section.depth &gt; 0
+                               and preceding-sibling::sect1][1]
+
+             |following::sect2[$chunk.section.depth &gt; 1
+                               and preceding-sibling::sect2
+                               and parent::sect1[preceding-sibling::sect1]][1]
+
+             |following::sect3[$chunk.section.depth &gt; 2
+                               and preceding-sibling::sect3
+                               and parent::sect2[preceding-sibling::sect2]
+                               and ancestor::sect1[preceding-sibling::sect1]][1]
+
+             |following::sect4[$chunk.section.depth &gt; 3
+                               and preceding-sibling::sect4
+                               and parent::sect3[preceding-sibling::sect3]
+                               and ancestor::sect2[preceding-sibling::sect2]
+                               and ancestor::sect1[preceding-sibling::sect1]][1]
+
+             |following::sect5[$chunk.section.depth &gt; 4
+                               and preceding-sibling::sect5
+                               and parent::sect4[preceding-sibling::sect4]
+                               and ancestor::sect3[preceding-sibling::sect3]
+                               and ancestor::sect2[preceding-sibling::sect2]
+                               and ancestor::sect1[preceding-sibling::sect1]][1]
+
+             |following::section[$chunk.section.depth &gt; count(ancestor::section)
+                                 and preceding-sibling::section
+                                 and not(ancestor::section[not(preceding-sibling::section)])][1])[1]"/>
+
+  <xsl:variable name="next-v2"
+    select="(descendant::sect1[$chunk.section.depth &gt; 0
+                               and preceding-sibling::sect1][1]
+
+             |descendant::sect2[$chunk.section.depth &gt; 1
+                               and preceding-sibling::sect2
+                               and parent::sect1[preceding-sibling::sect1]][1]
+
+             |descendant::sect3[$chunk.section.depth &gt; 2
+                               and preceding-sibling::sect3
+                               and parent::sect2[preceding-sibling::sect2]
+                               and ancestor::sect1[preceding-sibling::sect1]][1]
+
+             |descendant::sect4[$chunk.section.depth &gt; 3
+                               and preceding-sibling::sect4
+                               and parent::sect3[preceding-sibling::sect3]
+                               and ancestor::sect2[preceding-sibling::sect2]
+                               and ancestor::sect1[preceding-sibling::sect1]][1]
+
+             |descendant::sect5[$chunk.section.depth &gt; 4
+                               and preceding-sibling::sect5
+                               and parent::sect4[preceding-sibling::sect4]
+                               and ancestor::sect3[preceding-sibling::sect3]
+                               and ancestor::sect2[preceding-sibling::sect2]
+                               and ancestor::sect1[preceding-sibling::sect1]][1]
+
+             |descendant::section[$chunk.section.depth &gt; count(ancestor::section)
+                                 and preceding-sibling::section
+                                 and not(ancestor::section[not(preceding-sibling::section)])])[1]"/>
+
+  <xsl:variable name="next"
+    select="(following::book[1]
+             |following::preface[1]
+             |following::chapter[1]
+             |following::appendix[1]
+             |following::part[1]
+             |following::reference[1]
+             |following::refentry[1]
+             |following::colophon[1]
+             |following::bibliography[parent::article or parent::book or parent::part][1]
+             |following::glossary[parent::article or parent::book or parent::part][1]
+             |following::index[$generate.index != 0]
+                               [parent::article or parent::book or parent::part][1]
+             |following::article[1]
+             |following::setindex[$generate.index != 0][1]
+             |descendant::book[1]
+             |descendant::preface[1]
+             |descendant::chapter[1]
+             |descendant::appendix[1]
+             |descendant::article[1]
+             |descendant::bibliography[parent::article or parent::book or parent::part][1]
+             |descendant::glossary[parent::article or parent::book or parent::part][1]
+             |descendant::index[$generate.index != 0]
+                               [parent::article or parent::book or parent::part][1]
+             |descendant::colophon[1]
+             |descendant::setindex[$generate.index != 0][1]
+             |descendant::part[1]
+             |descendant::reference[1]
+             |descendant::refentry[1]
+             |$next-v1
+             |$next-v2)[1]"/>
+
+  <xsl:call-template name="process-chunk">
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="chunk-all-sections">
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:variable name="prev-v1"
+    select="(preceding::sect1[$chunk.section.depth &gt; 0][1]
+             |preceding::sect2[$chunk.section.depth &gt; 1][1]
+             |preceding::sect3[$chunk.section.depth &gt; 2][1]
+             |preceding::sect4[$chunk.section.depth &gt; 3][1]
+             |preceding::sect5[$chunk.section.depth &gt; 4][1]
+             |preceding::section[$chunk.section.depth &gt; count(ancestor::section)][1])[last()]"/>
+
+  <xsl:variable name="prev-v2"
+    select="(ancestor::sect1[$chunk.section.depth &gt; 0][1]
+             |ancestor::sect2[$chunk.section.depth &gt; 1][1]
+             |ancestor::sect3[$chunk.section.depth &gt; 2][1]
+             |ancestor::sect4[$chunk.section.depth &gt; 3][1]
+             |ancestor::sect5[$chunk.section.depth &gt; 4][1]
+             |ancestor::section[$chunk.section.depth &gt; count(ancestor::section)][1])[last()]"/>
+
+  <xsl:variable name="prev"
+    select="(preceding::book[1]
+             |preceding::preface[1]
+             |preceding::chapter[1]
+             |preceding::appendix[1]
+             |preceding::part[1]
+             |preceding::reference[1]
+             |preceding::refentry[1]
+             |preceding::colophon[1]
+             |preceding::article[1]
+             |preceding::bibliography[parent::article or parent::book or parent::part][1]
+             |preceding::glossary[parent::article or parent::book or parent::part][1]
+             |preceding::index[$generate.index != 0]
+                               [parent::article or parent::book or parent::part][1]
+             |preceding::setindex[$generate.index != 0][1]
+             |ancestor::set
+             |ancestor::book[1]
+             |ancestor::preface[1]
+             |ancestor::chapter[1]
+             |ancestor::appendix[1]
+             |ancestor::part[1]
+             |ancestor::reference[1]
+             |ancestor::article[1]
+             |$prev-v1
+             |$prev-v2)[last()]"/>
+
+  <xsl:variable name="next-v1"
+    select="(following::sect1[$chunk.section.depth &gt; 0][1]
+             |following::sect2[$chunk.section.depth &gt; 1][1]
+             |following::sect3[$chunk.section.depth &gt; 2][1]
+             |following::sect4[$chunk.section.depth &gt; 3][1]
+             |following::sect5[$chunk.section.depth &gt; 4][1]
+             |following::section[$chunk.section.depth &gt; count(ancestor::section)][1])[1]"/>
+
+  <xsl:variable name="next-v2"
+    select="(descendant::sect1[$chunk.section.depth &gt; 0][1]
+             |descendant::sect2[$chunk.section.depth &gt; 1][1]
+             |descendant::sect3[$chunk.section.depth &gt; 2][1]
+             |descendant::sect4[$chunk.section.depth &gt; 3][1]
+             |descendant::sect5[$chunk.section.depth &gt; 4][1]
+             |descendant::section[$chunk.section.depth 
+                                  &gt; count(ancestor::section)][1])[1]"/>
+
+  <xsl:variable name="next"
+    select="(following::book[1]
+             |following::preface[1]
+             |following::chapter[1]
+             |following::appendix[1]
+             |following::part[1]
+             |following::reference[1]
+             |following::refentry[1]
+             |following::colophon[1]
+             |following::bibliography[parent::article or parent::book or parent::part][1]
+             |following::glossary[parent::article or parent::book or parent::part][1]
+             |following::index[$generate.index != 0]
+                               [parent::article or parent::book][1]
+             |following::article[1]
+             |following::setindex[$generate.index != 0][1]
+             |descendant::book[1]
+             |descendant::preface[1]
+             |descendant::chapter[1]
+             |descendant::appendix[1]
+             |descendant::article[1]
+             |descendant::bibliography[parent::article or parent::book][1]
+             |descendant::glossary[parent::article or parent::book or parent::part][1]
+             |descendant::index[$generate.index != 0]
+                               [parent::article or parent::book][1]
+             |descendant::colophon[1]
+             |descendant::setindex[$generate.index != 0][1]
+             |descendant::part[1]
+             |descendant::reference[1]
+             |descendant::refentry[1]
+             |$next-v1
+             |$next-v2)[1]"/>
+
+  <xsl:call-template name="process-chunk">
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="/">
+  <xsl:choose>
+    <!-- include extra test for Xalan quirk -->
+    <xsl:when test="(function-available('exsl:node-set') or
+                     contains(system-property('xsl:vendor'),
+                       'Apache Software Foundation'))
+                    and (*/self::ng:* or */self::db:*)">
+      <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document,
+           toss the namespace and continue. Someday we'll reverse this logic
+           and add the namespace to documents that don't have one.
+           But not before the whole stylesheet has been converted to use
+           namespaces. i.e., don't hold your breath -->
+      <xsl:message>Stripping namespace from DocBook 5 document.</xsl:message>
+      <xsl:variable name="nons">
+        <xsl:apply-templates mode="stripNS"/>
+      </xsl:variable>
+      <xsl:message>Processing stripped document.</xsl:message>
+      <xsl:apply-templates select="exsl:node-set($nons)"/>
+    </xsl:when>
+    <!-- Can't process unless namespace removed -->
+    <xsl:when test="*/self::ng:* or */self::db:*">
+      <xsl:message terminate="yes">
+        <xsl:text>Unable to strip the namespace from DB5 document,</xsl:text>
+        <xsl:text> cannot proceed.</xsl:text>
+      </xsl:message>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$rootid != ''">
+          <xsl:choose>
+            <xsl:when test="count(key('id',$rootid)) = 0">
+              <xsl:message terminate="yes">
+                <xsl:text>ID '</xsl:text>
+                <xsl:value-of select="$rootid"/>
+                <xsl:text>' not found in document.</xsl:text>
+              </xsl:message>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:if test="$collect.xref.targets = 'yes' or
+                            $collect.xref.targets = 'only'">
+                <xsl:apply-templates select="key('id', $rootid)"
+                                     mode="collect.targets"/>
+              </xsl:if>
+              <xsl:if test="$collect.xref.targets != 'only'">
+                <xsl:apply-templates select="key('id',$rootid)"
+                                     mode="process.root"/>
+                <xsl:if test="$tex.math.in.alt != ''">
+                  <xsl:apply-templates select="key('id',$rootid)"
+                                       mode="collect.tex.math"/>
+                </xsl:if>
+                <xsl:if test="$generate.manifest != 0">
+                  <xsl:call-template name="generate.manifest">
+                    <xsl:with-param name="node" select="key('id',$rootid)"/>
+                  </xsl:call-template>
+                </xsl:if>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$collect.xref.targets = 'yes' or
+                        $collect.xref.targets = 'only'">
+            <xsl:apply-templates select="/" mode="collect.targets"/>
+          </xsl:if>
+          <xsl:if test="$collect.xref.targets != 'only'">
+            <xsl:apply-templates select="/" mode="process.root"/>
+            <xsl:if test="$tex.math.in.alt != ''">
+              <xsl:apply-templates select="/" mode="collect.tex.math"/>
+            </xsl:if>
+            <xsl:if test="$generate.manifest != 0">
+              <xsl:call-template name="generate.manifest">
+                <xsl:with-param name="node" select="/"/>
+              </xsl:call-template>
+            </xsl:if>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="process.root">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="set|book|part|preface|chapter|appendix
+                     |article
+                     |reference|refentry
+                     |book/glossary|article/glossary|part/glossary
+                     |book/bibliography|article/bibliography|part/bibliography
+                     |colophon">
+  <xsl:choose>
+    <xsl:when test="$onechunk != 0 and parent::*">
+      <xsl:apply-imports/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="process-chunk-element"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="sect1|sect2|sect3|sect4|sect5|section">
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="not(parent::*)">
+      <xsl:call-template name="process-chunk-element"/>
+    </xsl:when>
+    <xsl:when test="$ischunk = 0">
+      <xsl:apply-imports/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="process-chunk-element"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="setindex
+                     |book/index
+                     |article/index
+                     |part/index">
+  <!-- some implementations use completely empty index tags to indicate -->
+  <!-- where an automatically generated index should be inserted. so -->
+  <!-- if the index is completely empty, skip it. -->
+  <xsl:if test="count(*)>0 or $generate.index != '0'">
+    <xsl:call-template name="process-chunk-element"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="make.lots">
+  <xsl:param name="toc.params" select="''"/>
+  <xsl:param name="toc"/>
+
+  <xsl:variable name="lots">
+    <xsl:if test="contains($toc.params, 'toc')">
+      <xsl:copy-of select="$toc"/>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'figure')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'figure'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'figure'"/>
+                <xsl:with-param name="nodes" select=".//figure"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'figure'"/>
+            <xsl:with-param name="nodes" select=".//figure"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'table')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'table'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'table'"/>
+                <xsl:with-param name="nodes" select=".//table"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'table'"/>
+            <xsl:with-param name="nodes" select=".//table"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'example')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'example'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'example'"/>
+                <xsl:with-param name="nodes" select=".//example"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'example'"/>
+            <xsl:with-param name="nodes" select=".//example"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'equation')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'equation'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'equation'"/>
+                <xsl:with-param name="nodes" select=".//equation"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'equation'"/>
+            <xsl:with-param name="nodes" select=".//equation"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'procedure')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'procedure'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'procedure'"/>
+                <xsl:with-param name="nodes" select=".//procedure[title]"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'procedure'"/>
+            <xsl:with-param name="nodes" select=".//procedure[title]"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:if test="string($lots) != ''">
+    <xsl:choose>
+      <xsl:when test="$chunk.tocs.and.lots != 0 and not(parent::*)">
+        <xsl:call-template name="write.chunk">
+          <xsl:with-param name="filename">
+            <xsl:call-template name="make-relative-filename">
+              <xsl:with-param name="base.dir" select="$base.dir"/>
+              <xsl:with-param name="base.name">
+                <xsl:call-template name="dbhtml-dir"/>
+                <xsl:apply-templates select="." mode="recursive-chunk-filename">
+                  <xsl:with-param name="recursive" select="true()"/>
+                </xsl:apply-templates>
+                <xsl:text>-toc</xsl:text>
+                <xsl:value-of select="$html.ext"/>
+              </xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="content">
+            <xsl:call-template name="chunk-element-content">
+              <xsl:with-param name="prev" select="/foo"/>
+              <xsl:with-param name="next" select="/foo"/>
+              <xsl:with-param name="nav.context" select="'toc'"/>
+              <xsl:with-param name="content">
+                <xsl:if test="$chunk.tocs.and.lots.has.title != 0">
+                  <h1>
+                    <xsl:apply-templates select="." mode="object.title.markup"/>
+                  </h1>
+                </xsl:if>
+                <xsl:copy-of select="$lots"/>
+              </xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="quiet" select="$chunk.quietly"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$lots"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="make.lot.chunk">
+  <xsl:param name="type" select="''"/>
+  <xsl:param name="lot"/>
+
+  <xsl:if test="string($lot) != ''">
+    <xsl:variable name="filename">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.dir" select="$base.dir"/>
+        <xsl:with-param name="base.name">
+          <xsl:call-template name="dbhtml-dir"/>
+          <xsl:value-of select="$type"/>
+          <xsl:text>-toc</xsl:text>
+          <xsl:value-of select="$html.ext"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="href">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.name">
+          <xsl:call-template name="dbhtml-dir"/>
+          <xsl:value-of select="$type"/>
+          <xsl:text>-toc</xsl:text>
+          <xsl:value-of select="$html.ext"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:call-template name="write.chunk">
+      <xsl:with-param name="filename" select="$filename"/>
+      <xsl:with-param name="content">
+        <xsl:call-template name="chunk-element-content">
+          <xsl:with-param name="prev" select="/foo"/>
+          <xsl:with-param name="next" select="/foo"/>
+          <xsl:with-param name="nav.context" select="'toc'"/>
+          <xsl:with-param name="content">
+            <xsl:copy-of select="$lot"/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:with-param>
+      <xsl:with-param name="quiet" select="$chunk.quietly"/>
+    </xsl:call-template>
+    <!-- And output a link to this file -->
+    <div>
+      <xsl:attribute name="class">
+        <xsl:text>ListofTitles</xsl:text>
+      </xsl:attribute>
+      <a href="{$href}">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key">
+            <xsl:choose>
+              <xsl:when test="$type='table'">ListofTables</xsl:when>
+              <xsl:when test="$type='figure'">ListofFigures</xsl:when>
+              <xsl:when test="$type='equation'">ListofEquations</xsl:when>
+              <xsl:when test="$type='example'">ListofExamples</xsl:when>
+              <xsl:when test="$type='procedure'">ListofProcedures</xsl:when>
+              <xsl:otherwise>ListofUnknown</xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+      </a>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="in.other.chunk">
+  <xsl:param name="chunk" select="."/>
+  <xsl:param name="node" select="."/>
+
+  <xsl:variable name="is.chunk">
+    <xsl:call-template name="chunk">
+      <xsl:with-param name="node" select="$node"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+<!--
+  <xsl:message>
+    <xsl:text>in.other.chunk: </xsl:text>
+    <xsl:value-of select="name($chunk)"/>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="name($node)"/>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="$chunk = $node"/>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="$is.chunk"/>
+  </xsl:message>
+-->
+
+  <xsl:choose>
+    <xsl:when test="$chunk = $node">0</xsl:when>
+    <xsl:when test="$is.chunk = 1">1</xsl:when>
+    <xsl:when test="count($node) = 0">0</xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="in.other.chunk">
+        <xsl:with-param name="chunk" select="$chunk"/>
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="count.footnotes.in.this.chunk">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="footnotes" select="$node//footnote"/>
+  <xsl:param name="count" select="0"/>
+
+<!--
+  <xsl:message>
+    <xsl:text>count.footnotes.in.this.chunk: </xsl:text>
+    <xsl:value-of select="name($node)"/>
+  </xsl:message>
+-->
+
+  <xsl:variable name="in.other.chunk">
+    <xsl:call-template name="in.other.chunk">
+      <xsl:with-param name="chunk" select="$node"/>
+      <xsl:with-param name="node" select="$footnotes[1]"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="count($footnotes) = 0">
+      <xsl:value-of select="$count"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$in.other.chunk != 0">
+          <xsl:call-template name="count.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes"
+                            select="$footnotes[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="$count"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$footnotes[1]/ancestor::table
+                        |$footnotes[1]/ancestor::informaltable">
+          <xsl:call-template name="count.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes"
+                            select="$footnotes[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="$count"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="count.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes"
+                            select="$footnotes[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="$count + 1"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process.footnotes.in.this.chunk">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="footnotes" select="$node//footnote"/>
+
+<!--
+  <xsl:message>process.footnotes.in.this.chunk</xsl:message>
+-->
+
+  <xsl:variable name="in.other.chunk">
+    <xsl:call-template name="in.other.chunk">
+      <xsl:with-param name="chunk" select="$node"/>
+      <xsl:with-param name="node" select="$footnotes[1]"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="count($footnotes) = 0">
+      <!-- nop -->
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$in.other.chunk != 0">
+          <xsl:call-template name="process.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes"
+                            select="$footnotes[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$footnotes[1]/ancestor::table
+                        |$footnotes[1]/ancestor::informaltable">
+          <xsl:call-template name="process.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes"
+                            select="$footnotes[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$footnotes[1]"
+                               mode="process.footnote.mode"/>
+          <xsl:call-template name="process.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes"
+                            select="$footnotes[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process.footnotes">
+  <xsl:variable name="footnotes" select=".//footnote"/>
+  <xsl:variable name="fcount">
+    <xsl:call-template name="count.footnotes.in.this.chunk">
+      <xsl:with-param name="node" select="."/>
+      <xsl:with-param name="footnotes" select="$footnotes"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+<!--
+  <xsl:message>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text> fcount: </xsl:text>
+    <xsl:value-of select="$fcount"/>
+  </xsl:message>
+-->
+
+  <!-- Only bother to do this if there's at least one non-table footnote -->
+  <xsl:if test="$fcount &gt; 0">
+    <div class="footnotes">
+      <br/>
+      <hr width="100" align="left"/>
+      <xsl:call-template name="process.footnotes.in.this.chunk">
+        <xsl:with-param name="node" select="."/>
+        <xsl:with-param name="footnotes" select="$footnotes"/>
+      </xsl:call-template>
+    </div>
+  </xsl:if>
+
+  <!-- FIXME: When chunking, only the annotations actually used
+              in this chunk should be referenced. I don't think it
+              does any harm to reference them all, but it adds
+              unnecessary bloat to each chunk. -->
+  <xsl:if test="$annotation.support != 0 and //annotation">
+    <div class="annotation-list">
+      <div class="annotation-nocss">
+        <p>The following annotations are from this essay. You are seeing
+        them here because your browser doesn’t support the user-interface
+        techniques used to make them appear as ‘popups’ on modern browsers.</p>
+      </div>
+
+      <xsl:apply-templates select="//annotation"
+                           mode="annotation-popup"/>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="process.chunk.footnotes">
+  <xsl:variable name="is.chunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+  <xsl:if test="$is.chunk = 1">
+    <xsl:call-template name="process.footnotes"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<!-- Resolve xml:base attributes -->
+<xsl:template match="@fileref">
+  <!-- need a check for absolute urls -->
+  <xsl:choose>
+    <xsl:when test="contains(., ':')">
+      <!-- it has a uri scheme so it is an absolute uri -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:when test="$keep.relative.image.uris != 0">
+      <!-- leave it alone -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- its a relative uri -->
+      <xsl:call-template name="relative-uri">
+        <xsl:with-param name="destdir">
+          <xsl:call-template name="dbhtml-dir">
+            <xsl:with-param name="context" select=".."/>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/chunk-common.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/chunk-common.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/chunk-common.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1247 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: chunk-common.xsl 6403 2006-11-12 08:23:54Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template name="chunk">
+  <xsl:param name="node" select="."/>
+  <!-- returns 1 if $node is a chunk -->
+
+  <!-- ==================================================================== -->
+  <!-- What's a chunk?
+
+       The root element
+       appendix
+       article
+       bibliography  in article or part or book
+       book
+       chapter
+       colophon
+       glossary      in article or part or book
+       index         in article or part or book
+       part
+       preface
+       refentry
+       reference
+       sect{1,2,3,4,5}  if position()>1 && depth < chunk.section.depth
+       section          if position()>1 && depth < chunk.section.depth
+       set
+       setindex
+                                                                            -->
+  <!-- ==================================================================== -->
+
+<!--
+  <xsl:message>
+    <xsl:text>chunk: </xsl:text>
+    <xsl:value-of select="name($node)"/>
+    <xsl:text>(</xsl:text>
+    <xsl:value-of select="$node/@id"/>
+    <xsl:text>)</xsl:text>
+    <xsl:text> csd: </xsl:text>
+    <xsl:value-of select="$chunk.section.depth"/>
+    <xsl:text> cfs: </xsl:text>
+    <xsl:value-of select="$chunk.first.sections"/>
+    <xsl:text> ps: </xsl:text>
+    <xsl:value-of select="count($node/parent::section)"/>
+    <xsl:text> prs: </xsl:text>
+    <xsl:value-of select="count($node/preceding-sibling::section)"/>
+  </xsl:message>
+-->
+
+  <xsl:choose>
+    <xsl:when test="not($node/parent::*)">1</xsl:when>
+
+    <xsl:when test="local-name($node) = 'sect1'
+                    and $chunk.section.depth &gt;= 1
+                    and ($chunk.first.sections != 0
+                         or count($node/preceding-sibling::sect1) &gt; 0)">
+      <xsl:text>1</xsl:text>
+    </xsl:when>
+    <xsl:when test="local-name($node) = 'sect2'
+                    and $chunk.section.depth &gt;= 2
+                    and ($chunk.first.sections != 0
+                         or count($node/preceding-sibling::sect2) &gt; 0)">
+      <xsl:call-template name="chunk">
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="local-name($node) = 'sect3'
+                    and $chunk.section.depth &gt;= 3
+                    and ($chunk.first.sections != 0
+                         or count($node/preceding-sibling::sect3) &gt; 0)">
+      <xsl:call-template name="chunk">
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="local-name($node) = 'sect4'
+                    and $chunk.section.depth &gt;= 4
+                    and ($chunk.first.sections != 0
+                         or count($node/preceding-sibling::sect4) &gt; 0)">
+      <xsl:call-template name="chunk">
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="local-name($node) = 'sect5'
+                    and $chunk.section.depth &gt;= 5
+                    and ($chunk.first.sections != 0
+                         or count($node/preceding-sibling::sect5) &gt; 0)">
+      <xsl:call-template name="chunk">
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="local-name($node) = 'section'
+                    and $chunk.section.depth &gt;= count($node/ancestor::section)+1
+                    and ($chunk.first.sections != 0
+                         or count($node/preceding-sibling::section) &gt; 0)">
+      <xsl:call-template name="chunk">
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:when test="local-name($node)='preface'">1</xsl:when>
+    <xsl:when test="local-name($node)='chapter'">1</xsl:when>
+    <xsl:when test="local-name($node)='appendix'">1</xsl:when>
+    <xsl:when test="local-name($node)='article'">1</xsl:when>
+    <xsl:when test="local-name($node)='part'">1</xsl:when>
+    <xsl:when test="local-name($node)='reference'">1</xsl:when>
+    <xsl:when test="local-name($node)='refentry'">1</xsl:when>
+    <xsl:when test="local-name($node)='index' and ($generate.index != 0 or count($node/*) > 0)
+                    and (local-name($node/parent::*) = 'article'
+                    or local-name($node/parent::*) = 'book'
+                    or local-name($node/parent::*) = 'part'
+                    )">1</xsl:when>
+    <xsl:when test="local-name($node)='bibliography'
+                    and (local-name($node/parent::*) = 'article'
+                    or local-name($node/parent::*) = 'book'
+                    or local-name($node/parent::*) = 'part'
+                    )">1</xsl:when>
+    <xsl:when test="local-name($node)='glossary'
+                    and (local-name($node/parent::*) = 'article'
+                    or local-name($node/parent::*) = 'book'
+                    or local-name($node/parent::*) = 'part'
+                    )">1</xsl:when>
+    <xsl:when test="local-name($node)='colophon'">1</xsl:when>
+    <xsl:when test="local-name($node)='book'">1</xsl:when>
+    <xsl:when test="local-name($node)='set'">1</xsl:when>
+    <xsl:when test="local-name($node)='setindex'">1</xsl:when>
+    <xsl:when test="local-name($node)='legalnotice'
+                    and $generate.legalnotice.link != 0">1</xsl:when>
+    <xsl:otherwise>0</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="chunk-filename">
+  <!-- returns the filename of a chunk -->
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:variable name="fn">
+    <xsl:apply-templates select="." mode="recursive-chunk-filename"/>
+  </xsl:variable>
+
+  <!--
+  <xsl:message>
+    <xsl:value-of select="$ischunk"/>
+    <xsl:text> (</xsl:text>
+    <xsl:value-of select="local-name(.)"/>
+    <xsl:text>) </xsl:text>
+    <xsl:value-of select="$fn"/>
+    <xsl:text>, </xsl:text>
+    <xsl:call-template name="dbhtml-dir"/>
+  </xsl:message>
+  -->
+
+  <!-- 2003-11-25 by ndw:
+       The following test used to read test="$ischunk != 0 and $fn != ''"
+       I've removed the ischunk part of the test so that href.to.uri and
+       href.from.uri will be fully qualified even if the source or target
+       isn't a chunk. I *think* that if $fn != '' then it's appropriate
+       to put the directory on the front, even if the element isn't a
+       chunk. I could be wrong. -->
+
+  <xsl:if test="$fn != ''">
+    <xsl:call-template name="dbhtml-dir"/>
+  </xsl:if>
+
+  <xsl:value-of select="$fn"/>
+  <!-- You can't add the html.ext here because dbhtml filename= may already -->
+  <!-- have added it. It really does have to be handled in the recursive template -->
+</xsl:template>
+
+<xsl:template match="*" mode="recursive-chunk-filename">
+  <xsl:param name="recursive" select="false()"/>
+
+  <!-- returns the filename of a chunk -->
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:variable name="dbhtml-filename">
+    <xsl:call-template name="dbhtml-filename"/>
+  </xsl:variable>
+
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="$dbhtml-filename != ''">
+        <xsl:value-of select="$dbhtml-filename"/>
+      </xsl:when>
+      <!-- if this is the root element, use the root.filename -->
+      <xsl:when test="not(parent::*) and $root.filename != ''">
+        <xsl:value-of select="$root.filename"/>
+        <xsl:value-of select="$html.ext"/>
+      </xsl:when>
+      <!-- Special case -->
+      <xsl:when test="self::legalnotice and $generate.legalnotice.link != 0">
+        <xsl:variable name="id">
+          <xsl:call-template name="object.id"/>
+        </xsl:variable>
+        <xsl:value-of select="concat('ln-',$id,$html.ext)"/>
+      </xsl:when>
+      <!-- if there's no dbhtml filename, and if we're to use IDs as -->
+      <!-- filenames, then use the ID to generate the filename. -->
+      <xsl:when test="(@id or @xml:id) and $use.id.as.filename != 0">
+        <xsl:value-of select="(@id|@xml:id)[1]"/>
+        <xsl:value-of select="$html.ext"/>
+      </xsl:when>
+      <xsl:otherwise></xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$ischunk='0'">
+      <!-- if called on something that isn't a chunk, walk up... -->
+      <xsl:choose>
+        <xsl:when test="count(parent::*)>0">
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="$recursive"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <!-- unless there is no up, in which case return "" -->
+        <xsl:otherwise></xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="not($recursive) and $filename != ''">
+      <!-- if this chunk has an explicit name, use it -->
+      <xsl:value-of select="$filename"/>
+    </xsl:when>
+
+    <xsl:when test="self::set">
+      <xsl:value-of select="$root.filename"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::book">
+      <xsl:text>bk</xsl:text>
+      <xsl:number level="any" format="01"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::article">
+      <xsl:if test="/set">
+        <!-- in a set, make sure we inherit the right book info... -->
+        <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+          <xsl:with-param name="recursive" select="true()"/>
+        </xsl:apply-templates>
+      </xsl:if>
+
+      <xsl:text>ar</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::preface">
+      <xsl:if test="/set">
+        <!-- in a set, make sure we inherit the right book info... -->
+        <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+          <xsl:with-param name="recursive" select="true()"/>
+        </xsl:apply-templates>
+      </xsl:if>
+
+      <xsl:text>pr</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::chapter">
+      <xsl:if test="/set">
+        <!-- in a set, make sure we inherit the right book info... -->
+        <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+          <xsl:with-param name="recursive" select="true()"/>
+        </xsl:apply-templates>
+      </xsl:if>
+
+      <xsl:text>ch</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::appendix">
+      <xsl:if test="/set">
+        <!-- in a set, make sure we inherit the right book info... -->
+        <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+          <xsl:with-param name="recursive" select="true()"/>
+        </xsl:apply-templates>
+      </xsl:if>
+
+      <xsl:text>ap</xsl:text>
+      <xsl:number level="any" format="a" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::part">
+      <xsl:choose>
+        <xsl:when test="/set">
+          <!-- in a set, make sure we inherit the right book info... -->
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>pt</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::reference">
+      <xsl:choose>
+        <xsl:when test="/set">
+          <!-- in a set, make sure we inherit the right book info... -->
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>rn</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::refentry">
+      <xsl:choose>
+        <xsl:when test="parent::reference">
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>re</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::colophon">
+      <xsl:choose>
+        <xsl:when test="/set">
+          <!-- in a set, make sure we inherit the right book info... -->
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>co</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::sect1
+                    or self::sect2
+                    or self::sect3
+                    or self::sect4
+                    or self::sect5
+                    or self::section">
+      <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+        <xsl:with-param name="recursive" select="true()"/>
+      </xsl:apply-templates>
+      <xsl:text>s</xsl:text>
+      <xsl:number format="01"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::bibliography">
+      <xsl:choose>
+        <xsl:when test="/set">
+          <!-- in a set, make sure we inherit the right book info... -->
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>bi</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::glossary">
+      <xsl:choose>
+        <xsl:when test="/set">
+          <!-- in a set, make sure we inherit the right book info... -->
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>go</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::index">
+      <xsl:choose>
+        <xsl:when test="/set">
+          <!-- in a set, make sure we inherit the right book info... -->
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>ix</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::setindex">
+      <xsl:text>si</xsl:text>
+      <xsl:number level="any" format="01" from="set"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:text>chunk-filename-error-</xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:number level="any" format="01" from="set"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="href.target.uri">
+  <xsl:param name="object" select="."/>
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk">
+      <xsl:with-param name="node" select="$object"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:apply-templates mode="chunk-filename" select="$object"/>
+
+  <xsl:if test="$ischunk='0'">
+    <xsl:text>#</xsl:text>
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$object"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="href.target">
+  <xsl:param name="context" select="."/>
+  <xsl:param name="object" select="."/>
+
+  <xsl:variable name="href.to.uri">
+    <xsl:call-template name="href.target.uri">
+      <xsl:with-param name="object" select="$object"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="href.from.uri">
+    <xsl:call-template name="href.target.uri">
+      <xsl:with-param name="object" select="$context"/>
+    </xsl:call-template>
+  </xsl:variable>
+  
+  <!--
+  <xsl:message>href.to.uri: <xsl:value-of select="$href.to.uri"/></xsl:message>
+  <xsl:message>href.from.uri: <xsl:value-of select="$href.from.uri"/></xsl:message>
+  -->
+
+  <xsl:variable name="href.to">
+    <xsl:call-template name="trim.common.uri.paths">
+      <xsl:with-param name="uriA" select="$href.to.uri"/>
+      <xsl:with-param name="uriB" select="$href.from.uri"/>
+      <xsl:with-param name="return" select="'A'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="href.from">
+    <xsl:call-template name="trim.common.uri.paths">
+      <xsl:with-param name="uriA" select="$href.to.uri"/>
+      <xsl:with-param name="uriB" select="$href.from.uri"/>
+      <xsl:with-param name="return" select="'B'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="depth">
+    <xsl:call-template name="count.uri.path.depth">
+      <xsl:with-param name="filename" select="$href.from"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="href">
+    <xsl:call-template name="copy-string">
+      <xsl:with-param name="string" select="'../'"/>
+      <xsl:with-param name="count" select="$depth"/>
+    </xsl:call-template>
+    <xsl:value-of select="$href.to"/>
+  </xsl:variable>
+
+  <!--
+  <xsl:message>
+    <xsl:text>In </xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text> (</xsl:text>
+    <xsl:value-of select="$href.from"/>
+    <xsl:text>,</xsl:text>
+    <xsl:value-of select="$depth"/>
+    <xsl:text>) </xsl:text>
+    <xsl:value-of select="name($object)"/>
+    <xsl:text> href=</xsl:text>
+    <xsl:value-of select="$href"/>
+  </xsl:message>
+  -->
+
+  <xsl:value-of select="$href"/>
+</xsl:template>
+
+<!-- Returns the complete olink href value if found -->
+<!-- Must take into account any dbhtml dir of the chunk containing the olink -->
+<xsl:template name="make.olink.href">
+  <xsl:param name="olink.key" select="''"/>
+  <xsl:param name="target.database"/>
+
+  <xsl:if test="$olink.key != ''">
+    <xsl:variable name="target.href" >
+      <xsl:for-each select="$target.database" >
+        <xsl:value-of select="key('targetptr-key', $olink.key)/@href" />
+      </xsl:for-each>
+    </xsl:variable>
+  
+    <!-- an olink starting point may be in a subdirectory, so need
+         the "from" reference point to compute a relative path -->
+
+    <xsl:variable name="from.href">
+      <xsl:call-template name="olink.from.uri">
+        <xsl:with-param name="target.database" select="$target.database"/>
+        <xsl:with-param name="object" select="."/>
+        <xsl:with-param name="object.targetdoc" select="$current.docid"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <!-- If the from.href has directory path, then must "../" upward
+         to document level -->
+    <xsl:variable name="upward.from.path">
+      <xsl:call-template name="upward.path">
+        <xsl:with-param name="path" select="$from.href"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="targetdoc">
+      <xsl:value-of select="substring-before($olink.key, '/')"/>
+    </xsl:variable>
+  
+    <!-- Does the target database use a sitemap? -->
+    <xsl:variable name="use.sitemap">
+      <xsl:choose>
+        <xsl:when test="$target.database//sitemap">1</xsl:when>
+        <xsl:otherwise>0</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+  
+  
+    <!-- Get the baseuri for this targetptr -->
+    <xsl:variable name="baseuri" >
+      <xsl:choose>
+        <!-- Does the database use a sitemap? -->
+        <xsl:when test="$use.sitemap != 0" >
+          <xsl:choose>
+            <!-- Was current.docid parameter set? -->
+            <xsl:when test="$current.docid != ''">
+              <!-- Was it found in the database? -->
+              <xsl:variable name="currentdoc.key" >
+                <xsl:for-each select="$target.database" >
+                  <xsl:value-of select="key('targetdoc-key',
+                                        $current.docid)/@targetdoc" />
+                </xsl:for-each>
+              </xsl:variable>
+              <xsl:choose>
+                <xsl:when test="$currentdoc.key != ''">
+                  <xsl:for-each select="$target.database" >
+                    <xsl:call-template name="targetpath" >
+                      <xsl:with-param name="dirnode" 
+                          select="key('targetdoc-key', $current.docid)/parent::dir"/>
+                      <xsl:with-param name="targetdoc" select="$targetdoc"/>
+                    </xsl:call-template>
+                  </xsl:for-each >
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:message>
+                    <xsl:text>Olink error: cannot compute relative </xsl:text>
+                    <xsl:text>sitemap path because $current.docid '</xsl:text>
+                    <xsl:value-of select="$current.docid"/>
+                    <xsl:text>' not found in target database.</xsl:text>
+                  </xsl:message>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message>
+                <xsl:text>Olink warning: cannot compute relative </xsl:text>
+                <xsl:text>sitemap path without $current.docid parameter</xsl:text>
+              </xsl:message>
+            </xsl:otherwise>
+          </xsl:choose> 
+          <!-- In either case, add baseuri from its document entry-->
+          <xsl:variable name="docbaseuri">
+            <xsl:for-each select="$target.database" >
+              <xsl:value-of select="key('targetdoc-key', $targetdoc)/@baseuri" />
+            </xsl:for-each>
+          </xsl:variable>
+          <xsl:if test="$docbaseuri != ''" >
+            <xsl:value-of select="$docbaseuri"/>
+          </xsl:if>
+        </xsl:when>
+        <!-- No database sitemap in use -->
+        <xsl:otherwise>
+          <!-- Just use any baseuri from its document entry -->
+          <xsl:variable name="docbaseuri">
+            <xsl:for-each select="$target.database" >
+              <xsl:value-of select="key('targetdoc-key', $targetdoc)/@baseuri" />
+            </xsl:for-each>
+          </xsl:variable>
+          <xsl:if test="$docbaseuri != ''" >
+            <xsl:value-of select="$docbaseuri"/>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+  
+    <!-- Form the href information -->
+    <xsl:if test="not(contains($baseuri, ':'))">
+      <!-- if not an absolute uri, add upward path from olink chunk -->
+      <xsl:value-of select="$upward.from.path"/>
+    </xsl:if>
+
+    <xsl:if test="$baseuri != ''">
+      <xsl:value-of select="$baseuri"/>
+      <xsl:if test="substring($target.href,1,1) != '#'">
+        <!--xsl:text>/</xsl:text-->
+      </xsl:if>
+    </xsl:if>
+    <!-- optionally turn off frag for PDF references -->
+    <xsl:if test="not($insert.olink.pdf.frag = 0 and
+          translate(substring($baseuri, string-length($baseuri) - 3),
+                    'PDF', 'pdf') = '.pdf'
+          and starts-with($target.href, '#') )">
+      <xsl:value-of select="$target.href"/>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<!-- Computes "../" to reach top -->
+<xsl:template name="upward.path">
+  <xsl:param name="path" select="''"/>
+  <xsl:choose> 
+    <!-- Don't bother with absolute uris -->
+    <xsl:when test="contains($path, ':')"/>
+    <xsl:when test="starts-with($path, '/')"/>
+    <xsl:when test="contains($path, '/')">
+      <xsl:text>../</xsl:text>
+      <xsl:call-template name="upward.path">
+        <xsl:with-param name="path" select="substring-after($path, '/')"/>
+      </xsl:call-template>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="html.head">
+  <xsl:param name="prev" select="/foo"/>
+  <xsl:param name="next" select="/foo"/>
+  <xsl:variable name="this" select="."/>
+  <xsl:variable name="home" select="/*[1]"/>
+  <xsl:variable name="up" select="parent::*"/>
+
+  <head>
+    <xsl:call-template name="system.head.content"/>
+    <xsl:call-template name="head.content"/>
+
+    <xsl:if test="$home">
+      <link rel="start">
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$home"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:apply-templates select="$home"
+                               mode="object.title.markup.textonly"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:if test="$up">
+      <link rel="up">
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$up"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:apply-templates select="$up" mode="object.title.markup.textonly"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:if test="$prev">
+      <link rel="prev">
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$prev"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:apply-templates select="$prev" mode="object.title.markup.textonly"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:if test="$next">
+      <link rel="next">
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$next"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:apply-templates select="$next" mode="object.title.markup.textonly"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:if test="$html.extra.head.links != 0">
+      <xsl:for-each select="//part
+                            |//reference
+                            |//preface
+                            |//chapter
+                            |//article
+                            |//refentry
+                            |//appendix[not(parent::article)]|appendix
+                            |//glossary[not(parent::article)]|glossary
+                            |//index[not(parent::article)]|index">
+        <link rel="{local-name(.)}">
+          <xsl:attribute name="href">
+            <xsl:call-template name="href.target">
+              <xsl:with-param name="context" select="$this"/>
+              <xsl:with-param name="object" select="."/>
+            </xsl:call-template>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+            <xsl:apply-templates select="." mode="object.title.markup.textonly"/>
+          </xsl:attribute>
+        </link>
+      </xsl:for-each>
+
+      <xsl:for-each select="section|sect1|refsection|refsect1">
+        <link>
+          <xsl:attribute name="rel">
+            <xsl:choose>
+              <xsl:when test="local-name($this) = 'section'
+                              or local-name($this) = 'refsection'">
+                <xsl:value-of select="'subsection'"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select="'section'"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+          <xsl:attribute name="href">
+            <xsl:call-template name="href.target">
+              <xsl:with-param name="context" select="$this"/>
+              <xsl:with-param name="object" select="."/>
+            </xsl:call-template>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+            <xsl:apply-templates select="." mode="object.title.markup.textonly"/>
+          </xsl:attribute>
+        </link>
+      </xsl:for-each>
+
+      <xsl:for-each select="sect2|sect3|sect4|sect5|refsect2|refsect3">
+        <link rel="subsection">
+          <xsl:attribute name="href">
+            <xsl:call-template name="href.target">
+              <xsl:with-param name="context" select="$this"/>
+              <xsl:with-param name="object" select="."/>
+            </xsl:call-template>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+            <xsl:apply-templates select="." mode="object.title.markup.textonly"/>
+          </xsl:attribute>
+        </link>
+      </xsl:for-each>
+    </xsl:if>
+
+    <!-- * if we have a legalnotice and user wants it output as a -->
+    <!-- * separate page and $html.head.legalnotice.link.types is -->
+    <!-- * non-empty, we generate a link or links for each value in -->
+    <!-- * $html.head.legalnotice.link.types -->
+    <xsl:if test="//legalnotice
+                  and not($generate.legalnotice.link = 0)
+                  and not($html.head.legalnotice.link.types = '')">
+      <xsl:call-template name="make.legalnotice.head.links"/>
+    </xsl:if>
+
+    <xsl:call-template name="user.head.content"/>
+  </head>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="header.navigation">
+  <xsl:param name="prev" select="/foo"/>
+  <xsl:param name="next" select="/foo"/>
+  <xsl:param name="nav.context"/>
+
+  <xsl:variable name="home" select="/*[1]"/>
+  <xsl:variable name="up" select="parent::*"/>
+
+  <xsl:variable name="row1" select="$navig.showtitles != 0"/>
+  <xsl:variable name="row2" select="count($prev) &gt; 0
+                                    or (count($up) &gt; 0 
+                                        and generate-id($up) != generate-id($home)
+                                        and $navig.showtitles != 0)
+                                    or count($next) &gt; 0"/>
+
+  <xsl:if test="$suppress.navigation = '0' and $suppress.header.navigation = '0'">
+    <div class="navheader">
+      <xsl:if test="$row1 or $row2">
+        <table width="100%" summary="Navigation header">
+          <xsl:if test="$row1">
+            <tr>
+              <th colspan="3" align="center">
+                <xsl:apply-templates select="." mode="object.title.markup"/>
+              </th>
+            </tr>
+          </xsl:if>
+
+          <xsl:if test="$row2">
+            <tr>
+              <td width="20%" align="left">
+                <xsl:if test="count($prev)>0">
+                  <a accesskey="p">
+                    <xsl:attribute name="href">
+                      <xsl:call-template name="href.target">
+                        <xsl:with-param name="object" select="$prev"/>
+                      </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:call-template name="navig.content">
+                      <xsl:with-param name="direction" select="'prev'"/>
+                    </xsl:call-template>
+                  </a>
+                </xsl:if>
+                <xsl:text>&#160;</xsl:text>
+              </td>
+              <th width="60%" align="center">
+                <xsl:choose>
+                  <xsl:when test="count($up) > 0
+                                  and generate-id($up) != generate-id($home)
+                                  and $navig.showtitles != 0">
+                    <xsl:apply-templates select="$up" mode="object.title.markup"/>
+                  </xsl:when>
+                  <xsl:otherwise>&#160;</xsl:otherwise>
+                </xsl:choose>
+              </th>
+              <td width="20%" align="right">
+                <xsl:text>&#160;</xsl:text>
+                <xsl:if test="count($next)>0">
+                  <a accesskey="n">
+                    <xsl:attribute name="href">
+                      <xsl:call-template name="href.target">
+                        <xsl:with-param name="object" select="$next"/>
+                      </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:call-template name="navig.content">
+                      <xsl:with-param name="direction" select="'next'"/>
+                    </xsl:call-template>
+                  </a>
+                </xsl:if>
+              </td>
+            </tr>
+          </xsl:if>
+        </table>
+      </xsl:if>
+      <xsl:if test="$header.rule != 0">
+        <hr/>
+      </xsl:if>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="footer.navigation">
+  <xsl:param name="prev" select="/foo"/>
+  <xsl:param name="next" select="/foo"/>
+  <xsl:param name="nav.context"/>
+
+  <xsl:variable name="home" select="/*[1]"/>
+  <xsl:variable name="up" select="parent::*"/>
+
+  <xsl:variable name="row1" select="count($prev) &gt; 0
+                                    or count($up) &gt; 0
+                                    or count($next) &gt; 0"/>
+
+  <xsl:variable name="row2" select="($prev and $navig.showtitles != 0)
+                                    or (generate-id($home) != generate-id(.)
+                                        or $nav.context = 'toc')
+                                    or ($chunk.tocs.and.lots != 0
+                                        and $nav.context != 'toc')
+                                    or ($next and $navig.showtitles != 0)"/>
+
+  <xsl:if test="$suppress.navigation = '0' and $suppress.footer.navigation = '0'">
+    <div class="navfooter">
+      <xsl:if test="$footer.rule != 0">
+        <hr/>
+      </xsl:if>
+
+      <xsl:if test="$row1 or $row2">
+        <table width="100%" summary="Navigation footer">
+          <xsl:if test="$row1">
+            <tr>
+              <td width="40%" align="left">
+                <xsl:if test="count($prev)>0">
+                  <a accesskey="p">
+                    <xsl:attribute name="href">
+                      <xsl:call-template name="href.target">
+                        <xsl:with-param name="object" select="$prev"/>
+                      </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:call-template name="navig.content">
+                      <xsl:with-param name="direction" select="'prev'"/>
+                    </xsl:call-template>
+                  </a>
+                </xsl:if>
+                <xsl:text>&#160;</xsl:text>
+              </td>
+              <td width="20%" align="center">
+                <xsl:choose>
+                  <xsl:when test="count($up)&gt;0
+                                  and generate-id($up) != generate-id($home)">
+                    <a accesskey="u">
+                      <xsl:attribute name="href">
+                        <xsl:call-template name="href.target">
+                          <xsl:with-param name="object" select="$up"/>
+                        </xsl:call-template>
+                      </xsl:attribute>
+                      <xsl:call-template name="navig.content">
+                        <xsl:with-param name="direction" select="'up'"/>
+                      </xsl:call-template>
+                    </a>
+                  </xsl:when>
+                  <xsl:otherwise>&#160;</xsl:otherwise>
+                </xsl:choose>
+              </td>
+              <td width="40%" align="right">
+                <xsl:text>&#160;</xsl:text>
+                <xsl:if test="count($next)>0">
+                  <a accesskey="n">
+                    <xsl:attribute name="href">
+                      <xsl:call-template name="href.target">
+                        <xsl:with-param name="object" select="$next"/>
+                      </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:call-template name="navig.content">
+                      <xsl:with-param name="direction" select="'next'"/>
+                    </xsl:call-template>
+                  </a>
+                </xsl:if>
+              </td>
+            </tr>
+          </xsl:if>
+
+          <xsl:if test="$row2">
+            <tr>
+              <td width="40%" align="left" valign="top">
+                <xsl:if test="$navig.showtitles != 0">
+                  <xsl:apply-templates select="$prev" mode="object.title.markup"/>
+                </xsl:if>
+                <xsl:text>&#160;</xsl:text>
+              </td>
+              <td width="20%" align="center">
+                <xsl:choose>
+                  <xsl:when test="$home != . or $nav.context = 'toc'">
+                    <a accesskey="h">
+                      <xsl:attribute name="href">
+                        <xsl:call-template name="href.target">
+                          <xsl:with-param name="object" select="$home"/>
+                        </xsl:call-template>
+                      </xsl:attribute>
+                      <xsl:call-template name="navig.content">
+                        <xsl:with-param name="direction" select="'home'"/>
+                      </xsl:call-template>
+                    </a>
+                    <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
+                      <xsl:text>&#160;|&#160;</xsl:text>
+                    </xsl:if>
+                  </xsl:when>
+                  <xsl:otherwise>&#160;</xsl:otherwise>
+                </xsl:choose>
+
+                <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
+                  <a accesskey="t">
+                    <xsl:attribute name="href">
+                      <xsl:apply-templates select="/*[1]"
+                                           mode="recursive-chunk-filename">
+                        <xsl:with-param name="recursive" select="true()"/>
+                      </xsl:apply-templates>
+                      <xsl:text>-toc</xsl:text>
+                      <xsl:value-of select="$html.ext"/>
+                    </xsl:attribute>
+                    <xsl:call-template name="gentext">
+                      <xsl:with-param name="key" select="'nav-toc'"/>
+                    </xsl:call-template>
+                  </a>
+                </xsl:if>
+              </td>
+              <td width="40%" align="right" valign="top">
+                <xsl:text>&#160;</xsl:text>
+                <xsl:if test="$navig.showtitles != 0">
+                  <xsl:apply-templates select="$next" mode="object.title.markup"/>
+                </xsl:if>
+              </td>
+            </tr>
+          </xsl:if>
+        </table>
+      </xsl:if>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="navig.content">
+    <xsl:param name="direction" select="next"/>
+    <xsl:variable name="navtext">
+        <xsl:choose>
+            <xsl:when test="$direction = 'prev'">
+                <xsl:call-template name="gentext.nav.prev"/>
+            </xsl:when>
+            <xsl:when test="$direction = 'next'">
+                <xsl:call-template name="gentext.nav.next"/>
+            </xsl:when>
+            <xsl:when test="$direction = 'up'">
+                <xsl:call-template name="gentext.nav.up"/>
+            </xsl:when>
+            <xsl:when test="$direction = 'home'">
+                <xsl:call-template name="gentext.nav.home"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:text>xxx</xsl:text>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:variable>
+
+    <xsl:choose>
+        <xsl:when test="$navig.graphics != 0">
+            <img>
+                <xsl:attribute name="src">
+                    <xsl:value-of select="$navig.graphics.path"/>
+                    <xsl:value-of select="$direction"/>
+                    <xsl:value-of select="$navig.graphics.extension"/>
+                </xsl:attribute>
+                <xsl:attribute name="alt">
+                    <xsl:value-of select="$navtext"/>
+                </xsl:attribute>
+            </img>
+        </xsl:when>
+        <xsl:otherwise>
+            <xsl:value-of select="$navtext"/>
+        </xsl:otherwise>
+    </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- * The following template assumes that the first legalnotice -->
+<!-- * instance found in a document applies to the contents of the -->
+<!-- * entire document. It generates an HTML link in each chunk, back -->
+<!-- * to the file containing the contents of the first legalnotice. -->
+<!-- * -->
+<!-- * Actually, it may generate multiple link instances in each chunk, -->
+<!-- * because it walks through the space-separated list of link -->
+<!-- * types specified in the $html.head.legalnotice.link.types param, -->
+<!-- * popping off link types and generating links for them until it -->
+<!-- * depletes the list. -->
+  
+<xsl:template name="make.legalnotice.head.links">
+  <!-- * the following ID is used as part of the legalnotice filename; -->
+  <!-- * we need it in order to construct the filename for use in the -->
+  <!-- * value of the href attribute on the link -->
+  <xsl:param name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="(//legalnotice)[1]"/>
+    </xsl:call-template>
+  </xsl:param>
+  <xsl:param name="linktype">
+    <xsl:choose>
+      <xsl:when test="contains($html.head.legalnotice.link.types, ' ')">
+        <xsl:value-of
+            select="normalize-space(
+                    substring-before($html.head.legalnotice.link.types, ' '))"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$html.head.legalnotice.link.types"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:param>
+  <xsl:param
+      name="remaining.linktypes"
+      select="concat(
+              normalize-space(
+              substring-after($html.head.legalnotice.link.types, ' ')),' ')"/>
+  <xsl:if test="not($linktype = '')">
+    <link rel="{$linktype}">
+      <xsl:attribute name="href">
+        <xsl:value-of select="concat('ln-',$id,$html.ext)"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:apply-templates select="(//legalnotice)[1]"
+                             mode="object.title.markup.textonly"/>
+      </xsl:attribute>
+    </link>
+    <xsl:call-template name="make.legalnotice.head.links">
+      <!-- * pop the next value off the list of link types -->
+      <xsl:with-param
+          name="linktype"
+          select="substring-before($remaining.linktypes, ' ')"/>
+      <!-- * remove the link type from the list of remaining link types -->
+      <xsl:with-param
+          name="remaining.linktypes"
+          select="substring-after($remaining.linktypes, ' ')"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="processing-instruction('dbhtml')">
+  <!-- nop -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="chunk-element-content">
+  <xsl:param name="prev"/>
+  <xsl:param name="next"/>
+  <xsl:param name="nav.context"/>
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:call-template name="user.preroot"/>
+
+  <html>
+    <xsl:call-template name="html.head">
+      <xsl:with-param name="prev" select="$prev"/>
+      <xsl:with-param name="next" select="$next"/>
+    </xsl:call-template>
+
+    <body>
+      <xsl:call-template name="body.attributes"/>
+      <xsl:call-template name="user.header.navigation"/>
+
+      <xsl:call-template name="header.navigation">
+        <xsl:with-param name="prev" select="$prev"/>
+        <xsl:with-param name="next" select="$next"/>
+        <xsl:with-param name="nav.context" select="$nav.context"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="user.header.content"/>
+
+      <xsl:copy-of select="$content"/>
+
+      <xsl:call-template name="user.footer.content"/>
+
+      <xsl:call-template name="footer.navigation">
+        <xsl:with-param name="prev" select="$prev"/>
+        <xsl:with-param name="next" select="$next"/>
+        <xsl:with-param name="nav.context" select="$nav.context"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="user.footer.navigation"/>
+    </body>
+  </html>
+  <xsl:value-of select="$chunk.append"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/chunk.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/chunk.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/chunk.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,40 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+		version="1.0"
+                exclude-result-prefixes="exsl">
+
+<!-- ********************************************************************
+     $Id: chunk.xsl 3202 2003-11-30 19:42:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="docbook.xsl"/>
+<xsl:import href="chunk-common.xsl"/>
+<xsl:include href="manifest.xsl"/>
+
+<!-- Why is chunk-code now xsl:included?
+
+Suppose you want to customize *both* the chunking algorithm used *and* the
+presentation of some elements that may be chunks. In order to do that, you
+must get the order of imports "just right". The answer is to make your own
+copy of this file, where you replace the initial import of "docbook.xsl"
+with an import of your own base.xsl (that does its own import of docbook.xsl).
+
+Put the templates for changing the presentation of elements in your base.xsl.
+
+Put the templates that control chunking after the include of chunk-code.xsl.
+
+Voila! (Man I hope we can do this better in XSLT 2.0)
+
+-->
+
+<xsl:include href="chunk-code.xsl"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/chunker.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/chunker.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/chunker.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,439 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:saxon="http://icl.com/saxon"
+                xmlns:lxslt="http://xml.apache.org/xslt"
+                xmlns:redirect="http://xml.apache.org/xalan/redirect"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+		version="1.0"
+                exclude-result-prefixes="doc"
+                extension-element-prefixes="saxon redirect lxslt exsl">
+
+<!-- ********************************************************************
+     $Id: chunker.xsl 6403 2006-11-12 08:23:54Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- This stylesheet works with XSLT implementations that support -->
+<!-- exsl:document, saxon:output, or Xalan's redirect:write -->
+<!-- Note: Only Saxon 6.4.2 or later is supported. -->
+
+<xsl:param name="chunker.output.method" select="'html'"/>
+<xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
+<xsl:param name="chunker.output.indent" select="'no'"/>
+<xsl:param name="chunker.output.omit-xml-declaration" select="'no'"/>
+<xsl:param name="chunker.output.standalone" select="'no'"/>
+<xsl:param name="chunker.output.doctype-public" select="''"/>
+<xsl:param name="chunker.output.doctype-system" select="''"/>
+<xsl:param name="chunker.output.media-type" select="''"/>
+<xsl:param name="chunker.output.cdata-section-elements" select="''"/>
+<xsl:param name="chunker.output.quiet" select="0"/>
+
+<xsl:param name="saxon.character.representation" select="'entity;decimal'"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="make-relative-filename">
+  <xsl:param name="base.dir" select="'./'"/>
+  <xsl:param name="base.name" select="''"/>
+
+  <xsl:choose>
+    <!-- put Saxon first to work around a bug in libxslt -->
+    <xsl:when test="element-available('saxon:output')">
+      <!-- Saxon doesn't make the chunks relative -->
+      <xsl:value-of select="concat($base.dir,$base.name)"/>
+    </xsl:when>
+    <xsl:when test="element-available('exsl:document')">
+      <!-- EXSL document does make the chunks relative, I think -->
+      <xsl:choose>
+        <xsl:when test="count(parent::*) = 0">
+          <xsl:value-of select="concat($base.dir,$base.name)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$base.name"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="element-available('redirect:write')">
+      <!-- Xalan doesn't make the chunks relative -->
+      <xsl:value-of select="concat($base.dir,$base.name)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message terminate="yes">
+        <xsl:text>Don't know how to chunk with </xsl:text>
+        <xsl:value-of select="system-property('xsl:vendor')"/>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="write.chunk">
+  <xsl:param name="filename" select="''"/>
+  <xsl:param name="quiet" select="$chunker.output.quiet"/>
+  <xsl:param name="suppress-context-node-name" select="0"/>
+  <xsl:param name="message-prolog"/>
+  <xsl:param name="message-epilog"/>
+
+  <xsl:param name="method" select="$chunker.output.method"/>
+  <xsl:param name="encoding" select="$chunker.output.encoding"/>
+  <xsl:param name="indent" select="$chunker.output.indent"/>
+  <xsl:param name="omit-xml-declaration"
+             select="$chunker.output.omit-xml-declaration"/>
+  <xsl:param name="standalone" select="$chunker.output.standalone"/>
+  <xsl:param name="doctype-public" select="$chunker.output.doctype-public"/>
+  <xsl:param name="doctype-system" select="$chunker.output.doctype-system"/>
+  <xsl:param name="media-type" select="$chunker.output.media-type"/>
+  <xsl:param name="cdata-section-elements"
+             select="$chunker.output.cdata-section-elements"/>
+
+  <xsl:param name="content"/>
+
+  <xsl:if test="$quiet = 0">
+    <xsl:message>
+      <xsl:if test="not($message-prolog = '')">
+        <xsl:value-of select="$message-prolog"/>
+      </xsl:if>
+      <xsl:text>Writing </xsl:text>
+      <xsl:value-of select="$filename"/>
+      <xsl:if test="name(.) != '' and $suppress-context-node-name = 0">
+        <xsl:text> for </xsl:text>
+        <xsl:value-of select="name(.)"/>
+        <xsl:if test="@id or @xml:id">
+          <xsl:text>(</xsl:text>
+          <xsl:value-of select="(@id|@xml:id)[1]"/>
+          <xsl:text>)</xsl:text>
+        </xsl:if>
+      </xsl:if>
+      <xsl:if test="not($message-epilog = '')">
+        <xsl:value-of select="$message-epilog"/>
+      </xsl:if>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="element-available('exsl:document')">
+      <xsl:choose>
+        <!-- Handle the permutations ... -->
+        <xsl:when test="$media-type != ''">
+          <xsl:choose>
+            <xsl:when test="$doctype-public != '' and $doctype-system != ''">
+              <exsl:document href="{$filename}"
+                             method="{$method}"
+                             encoding="{$encoding}"
+                             indent="{$indent}"
+                             omit-xml-declaration="{$omit-xml-declaration}"
+                             cdata-section-elements="{$cdata-section-elements}"
+                             media-type="{$media-type}"
+                             doctype-public="{$doctype-public}"
+                             doctype-system="{$doctype-system}"
+                             standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:when>
+            <xsl:when test="$doctype-public != '' and $doctype-system = ''">
+              <exsl:document href="{$filename}"
+                             method="{$method}"
+                             encoding="{$encoding}"
+                             indent="{$indent}"
+                             omit-xml-declaration="{$omit-xml-declaration}"
+                             cdata-section-elements="{$cdata-section-elements}"
+                             media-type="{$media-type}"
+                             doctype-public="{$doctype-public}"
+                             standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:when>
+            <xsl:when test="$doctype-public = '' and $doctype-system != ''">
+              <exsl:document href="{$filename}"
+                             method="{$method}"
+                             encoding="{$encoding}"
+                             indent="{$indent}"
+                             omit-xml-declaration="{$omit-xml-declaration}"
+                             cdata-section-elements="{$cdata-section-elements}"
+                             media-type="{$media-type}"
+                             doctype-system="{$doctype-system}"
+                             standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:when>
+            <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> -->
+              <exsl:document href="{$filename}"
+                             method="{$method}"
+                             encoding="{$encoding}"
+                             indent="{$indent}"
+                             omit-xml-declaration="{$omit-xml-declaration}"
+                             cdata-section-elements="{$cdata-section-elements}"
+                             media-type="{$media-type}"
+                             standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:choose>
+            <xsl:when test="$doctype-public != '' and $doctype-system != ''">
+              <exsl:document href="{$filename}"
+                             method="{$method}"
+                             encoding="{$encoding}"
+                             indent="{$indent}"
+                             omit-xml-declaration="{$omit-xml-declaration}"
+                             cdata-section-elements="{$cdata-section-elements}"
+                             doctype-public="{$doctype-public}"
+                             doctype-system="{$doctype-system}"
+                             standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:when>
+            <xsl:when test="$doctype-public != '' and $doctype-system = ''">
+              <exsl:document href="{$filename}"
+                             method="{$method}"
+                             encoding="{$encoding}"
+                             indent="{$indent}"
+                             omit-xml-declaration="{$omit-xml-declaration}"
+                             cdata-section-elements="{$cdata-section-elements}"
+                             doctype-public="{$doctype-public}"
+                             standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:when>
+            <xsl:when test="$doctype-public = '' and $doctype-system != ''">
+              <exsl:document href="{$filename}"
+                             method="{$method}"
+                             encoding="{$encoding}"
+                             indent="{$indent}"
+                             omit-xml-declaration="{$omit-xml-declaration}"
+                             cdata-section-elements="{$cdata-section-elements}"
+                             doctype-system="{$doctype-system}"
+                             standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:when>
+            <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> -->
+              <exsl:document href="{$filename}"
+                             method="{$method}"
+                             encoding="{$encoding}"
+                             indent="{$indent}"
+                             omit-xml-declaration="{$omit-xml-declaration}"
+                             cdata-section-elements="{$cdata-section-elements}"
+                             standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="element-available('saxon:output')">
+      <xsl:choose>
+        <!-- Handle the permutations ... -->
+        <xsl:when test="$media-type != ''">
+          <xsl:choose>
+            <xsl:when test="$doctype-public != '' and $doctype-system != ''">
+              <saxon:output saxon:character-representation="{$saxon.character.representation}"
+                            href="{$filename}"
+                            method="{$method}"
+                            encoding="{$encoding}"
+                            indent="{$indent}"
+                            omit-xml-declaration="{$omit-xml-declaration}"
+                            cdata-section-elements="{$cdata-section-elements}"
+                            media-type="{$media-type}"
+                            doctype-public="{$doctype-public}"
+                            doctype-system="{$doctype-system}"
+                            standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:when>
+            <xsl:when test="$doctype-public != '' and $doctype-system = ''">
+              <saxon:output saxon:character-representation="{$saxon.character.representation}"
+                            href="{$filename}"
+                            method="{$method}"
+                            encoding="{$encoding}"
+                            indent="{$indent}"
+                            omit-xml-declaration="{$omit-xml-declaration}"
+                            cdata-section-elements="{$cdata-section-elements}"
+                            media-type="{$media-type}"
+                            doctype-public="{$doctype-public}"
+                            standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:when>
+            <xsl:when test="$doctype-public = '' and $doctype-system != ''">
+              <saxon:output saxon:character-representation="{$saxon.character.representation}"
+                            href="{$filename}"
+                            method="{$method}"
+                            encoding="{$encoding}"
+                            indent="{$indent}"
+                            omit-xml-declaration="{$omit-xml-declaration}"
+                            cdata-section-elements="{$cdata-section-elements}"
+                            media-type="{$media-type}"
+                            doctype-system="{$doctype-system}"
+                            standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:when>
+            <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> -->
+              <saxon:output saxon:character-representation="{$saxon.character.representation}"
+                            href="{$filename}"
+                            method="{$method}"
+                            encoding="{$encoding}"
+                            indent="{$indent}"
+                            omit-xml-declaration="{$omit-xml-declaration}"
+                            cdata-section-elements="{$cdata-section-elements}"
+                            media-type="{$media-type}"
+                            standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:choose>
+            <xsl:when test="$doctype-public != '' and $doctype-system != ''">
+              <saxon:output saxon:character-representation="{$saxon.character.representation}"
+                            href="{$filename}"
+                            method="{$method}"
+                            encoding="{$encoding}"
+                            indent="{$indent}"
+                            omit-xml-declaration="{$omit-xml-declaration}"
+                            cdata-section-elements="{$cdata-section-elements}"
+                            doctype-public="{$doctype-public}"
+                            doctype-system="{$doctype-system}"
+                            standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:when>
+            <xsl:when test="$doctype-public != '' and $doctype-system = ''">
+              <saxon:output saxon:character-representation="{$saxon.character.representation}"
+                            href="{$filename}"
+                            method="{$method}"
+                            encoding="{$encoding}"
+                            indent="{$indent}"
+                            omit-xml-declaration="{$omit-xml-declaration}"
+                            cdata-section-elements="{$cdata-section-elements}"
+                            doctype-public="{$doctype-public}"
+                            standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:when>
+            <xsl:when test="$doctype-public = '' and $doctype-system != ''">
+              <saxon:output saxon:character-representation="{$saxon.character.representation}"
+                            href="{$filename}"
+                            method="{$method}"
+                            encoding="{$encoding}"
+                            indent="{$indent}"
+                            omit-xml-declaration="{$omit-xml-declaration}"
+                            cdata-section-elements="{$cdata-section-elements}"
+                            doctype-system="{$doctype-system}"
+                            standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:when>
+            <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> -->
+              <saxon:output saxon:character-representation="{$saxon.character.representation}"
+                            href="{$filename}"
+                            method="{$method}"
+                            encoding="{$encoding}"
+                            indent="{$indent}"
+                            omit-xml-declaration="{$omit-xml-declaration}"
+                            cdata-section-elements="{$cdata-section-elements}"
+                            standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="element-available('redirect:write')">
+      <!-- Xalan uses redirect -->
+      <redirect:write file="{$filename}">
+        <xsl:copy-of select="$content"/>
+      </redirect:write>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <!-- it doesn't matter since we won't be making chunks... -->
+      <xsl:message terminate="yes">
+        <xsl:text>Can't make chunks with </xsl:text>
+        <xsl:value-of select="system-property('xsl:vendor')"/>
+        <xsl:text>'s processor.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="write.chunk.with.doctype">
+  <xsl:param name="filename" select="''"/>
+  <xsl:param name="quiet" select="$chunker.output.quiet"/>
+
+  <xsl:param name="method" select="$chunker.output.method"/>
+  <xsl:param name="encoding" select="$chunker.output.encoding"/>
+  <xsl:param name="indent" select="$chunker.output.indent"/>
+  <xsl:param name="omit-xml-declaration"
+             select="$chunker.output.omit-xml-declaration"/>
+  <xsl:param name="standalone" select="$chunker.output.standalone"/>
+  <xsl:param name="doctype-public" select="$chunker.output.doctype-public"/>
+  <xsl:param name="doctype-system" select="$chunker.output.doctype-system"/>
+  <xsl:param name="media-type" select="$chunker.output.media-type"/>
+  <xsl:param name="cdata-section-elements"
+             select="$chunker.output.cdata-section-elements"/>
+
+  <xsl:param name="content"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename" select="$filename"/>
+    <xsl:with-param name="quiet" select="$quiet"/>
+    <xsl:with-param name="method" select="$method"/>
+    <xsl:with-param name="encoding" select="$encoding"/>
+    <xsl:with-param name="indent" select="$indent"/>
+    <xsl:with-param name="omit-xml-declaration" select="$omit-xml-declaration"/>
+    <xsl:with-param name="standalone" select="$standalone"/>
+    <xsl:with-param name="doctype-public" select="$doctype-public"/>
+    <xsl:with-param name="doctype-system" select="$doctype-system"/>
+    <xsl:with-param name="media-type" select="$media-type"/>
+    <xsl:with-param name="cdata-section-elements" select="$cdata-section-elements"/>
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="write.text.chunk">
+  <xsl:param name="filename" select="''"/>
+  <xsl:param name="quiet" select="$chunker.output.quiet"/>
+  <xsl:param name="suppress-context-node-name" select="0"/>
+  <xsl:param name="message-prolog"/>
+  <xsl:param name="message-epilog"/>
+  <xsl:param name="method" select="'text'"/>
+  <xsl:param name="encoding" select="$chunker.output.encoding"/>
+  <xsl:param name="media-type" select="$chunker.output.media-type"/>
+  <xsl:param name="content"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename" select="$filename"/>
+    <xsl:with-param name="quiet" select="$quiet"/>
+    <xsl:with-param name="suppress-context-node-name" select="$suppress-context-node-name"/>
+    <xsl:with-param name="message-prolog" select="$message-prolog"/>
+    <xsl:with-param name="message-epilog" select="$message-epilog"/>
+    <xsl:with-param name="method" select="$method"/>
+    <xsl:with-param name="encoding" select="$encoding"/>
+    <xsl:with-param name="indent" select="'no'"/>
+    <xsl:with-param name="omit-xml-declaration" select="'no'"/>
+    <xsl:with-param name="standalone" select="'no'"/>
+    <xsl:with-param name="doctype-public"/>
+    <xsl:with-param name="doctype-system"/>
+    <xsl:with-param name="media-type" select="$media-type"/>
+    <xsl:with-param name="cdata-section-elements"/>
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+</xsl:template>
+
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/chunkfast.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/chunkfast.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/chunkfast.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,72 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0"
+		version="1.0"
+                exclude-result-prefixes="cf exsl">
+
+<!-- ********************************************************************
+     $Id: chunkfast.xsl 6445 2006-11-26 07:01:22Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="chunk.xsl"/>
+<xsl:param name="chunk.fast" select="1"/>
+
+<xsl:variable name="chunks" select="exsl:node-set($chunk.hierarchy)//cf:div"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process-chunk-element">
+  <xsl:choose>
+    <xsl:when test="$chunk.fast != 0 and function-available('exsl:node-set')">
+      <xsl:variable name="genid" select="generate-id()"/>
+
+      <xsl:variable name="div" select="$chunks[@id=$genid or @xml:id=$genid]"/>
+
+      <xsl:variable name="prevdiv"
+                    select="($div/preceding-sibling::cf:div|$div/preceding::cf:div|$div/parent::cf:div)[last()]"/>
+      <xsl:variable name="prev" select="key('genid', ($prevdiv/@id|$prevdiv/@xml:id)[1])"/>
+
+      <xsl:variable name="nextdiv"
+                    select="($div/following-sibling::cf:div|$div/following::cf:div|$div/cf:div)[1]"/>
+      <xsl:variable name="next" select="key('genid', ($nextdiv/@id|$nextdiv/@xml:id)[1])"/>
+
+      <xsl:choose>
+        <xsl:when test="$onechunk != 0 and parent::*">
+          <xsl:apply-imports/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="process-chunk">
+            <xsl:with-param name="prev" select="$prev"/>
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$onechunk != 0 and not(parent::*)">
+          <xsl:call-template name="chunk-all-sections"/>
+        </xsl:when>
+        <xsl:when test="$onechunk != 0">
+          <xsl:apply-imports/>
+        </xsl:when>
+        <xsl:when test="$chunk.first.sections = 0">
+          <xsl:call-template name="chunk-first-section-with-parent"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="chunk-all-sections"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/chunktoc.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/chunktoc.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/chunktoc.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,468 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+		version="1.0"
+                exclude-result-prefixes="doc">
+
+<!-- ********************************************************************
+     $Id: chunktoc.xsl 4879 2005-05-31 07:46:52Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="docbook.xsl"/>
+<xsl:import href="chunk-common.xsl"/>
+
+<xsl:template name="chunk">
+  <xsl:param name="node" select="."/>
+  <!-- returns 1 if $node is a chunk -->
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$node"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="chunks" select="document($chunk.toc,/)"/>
+
+  <xsl:choose>
+    <xsl:when test="$chunks//tocentry[@linkend=$id]">1</xsl:when>
+    <xsl:otherwise>0</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="chunk-filename">
+  <!-- returns the filename of a chunk -->
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="chunks" select="document($chunk.toc,/)"/>
+
+  <xsl:variable name="chunk" select="$chunks//tocentry[@linkend=$id]"/>
+  <xsl:variable name="filename">
+    <xsl:call-template name="dbhtml-filename">
+      <xsl:with-param name="pis" select="$chunk/processing-instruction('dbhtml')"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$chunk">
+      <xsl:value-of select="$filename"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="parent::*" mode="chunk-filename"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process-chunk">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="chunks" select="document($chunk.toc,/)"/>
+
+  <xsl:variable name="chunk" select="$chunks//tocentry[@linkend=$id]"/>
+  <xsl:variable name="prev-id"
+                select="($chunk/preceding::tocentry
+                         |$chunk/ancestor::tocentry)[last()]/@linkend"/>
+  <xsl:variable name="next-id"
+                select="($chunk/following::tocentry
+                         |$chunk/child::tocentry)[1]/@linkend"/>
+
+  <xsl:variable name="prev" select="key('id',$prev-id)"/>
+  <xsl:variable name="next" select="key('id',$next-id)"/>
+
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:variable name="chunkfn">
+    <xsl:if test="$ischunk='1'">
+      <xsl:apply-templates mode="chunk-filename" select="."/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="filename">
+    <xsl:call-template name="make-relative-filename">
+      <xsl:with-param name="base.dir" select="$base.dir"/>
+      <xsl:with-param name="base.name" select="$chunkfn"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$ischunk = 0">
+      <xsl:apply-imports/>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:call-template name="write.chunk">
+        <xsl:with-param name="filename" select="$filename"/>
+        <xsl:with-param name="content">
+          <xsl:call-template name="chunk-element-content">
+            <xsl:with-param name="prev" select="$prev"/>
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+        </xsl:with-param>
+        <xsl:with-param name="quiet" select="$chunk.quietly"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="set">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="book">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="book/appendix">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="book/glossary">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="book/bibliography">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="dedication" mode="dedication">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="preface|chapter">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="part|reference">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="refentry">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="colophon">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="article">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="article/appendix">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="article/glossary">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="article/bibliography">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="sect1|sect2|sect3|sect4|sect5|section">
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$ischunk != 0">
+      <xsl:call-template name="process-chunk"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-imports/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="setindex
+                     |book/index
+                     |article/index">
+  <!-- some implementations use completely empty index tags to indicate -->
+  <!-- where an automatically generated index should be inserted. so -->
+  <!-- if the index is completely empty, skip it. -->
+  <xsl:if test="count(*)>0 or $generate.index != '0'">
+    <xsl:call-template name="process-chunk"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="/">
+  <xsl:choose>
+    <xsl:when test="$chunk.toc = ''">
+      <xsl:message terminate="yes">
+        <xsl:text>The chunk.toc file is not set.</xsl:text>
+      </xsl:message>
+    </xsl:when>
+
+    <xsl:when test="$rootid != ''">
+      <xsl:choose>
+        <xsl:when test="count(key('id',$rootid)) = 0">
+          <xsl:message terminate="yes">
+            <xsl:text>ID '</xsl:text>
+            <xsl:value-of select="$rootid"/>
+            <xsl:text>' not found in document.</xsl:text>
+          </xsl:message>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="key('id',$rootid)"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:apply-templates select="/" mode="process.root"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="process.root">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template name="make.lots">
+  <xsl:param name="toc.params" select="''"/>
+  <xsl:param name="toc"/>
+
+  <xsl:variable name="lots">
+    <xsl:if test="contains($toc.params, 'toc')">
+      <xsl:copy-of select="$toc"/>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'figure')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'figure'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'figure'"/>
+                <xsl:with-param name="nodes" select=".//figure"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'figure'"/>
+            <xsl:with-param name="nodes" select=".//figure"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'table')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'table'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'table'"/>
+                <xsl:with-param name="nodes" select=".//table"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'table'"/>
+            <xsl:with-param name="nodes" select=".//table"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'example')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'example'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'example'"/>
+                <xsl:with-param name="nodes" select=".//example"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'example'"/>
+            <xsl:with-param name="nodes" select=".//example"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'equation')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'equation'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'equation'"/>
+                <xsl:with-param name="nodes" select=".//equation"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'equation'"/>
+            <xsl:with-param name="nodes" select=".//equation"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'procedure')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'procedure'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'procedure'"/>
+                <xsl:with-param name="nodes" select=".//procedure[title]"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'procedure'"/>
+            <xsl:with-param name="nodes" select=".//procedure[title]"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:if test="string($lots) != ''">
+    <xsl:choose>
+      <xsl:when test="$chunk.tocs.and.lots != 0 and not(parent::*)">
+        <xsl:call-template name="write.chunk">
+          <xsl:with-param name="filename">
+            <xsl:call-template name="make-relative-filename">
+              <xsl:with-param name="base.dir" select="$base.dir"/>
+              <xsl:with-param name="base.name">
+                <xsl:call-template name="dbhtml-dir"/>
+                <xsl:apply-templates select="." mode="recursive-chunk-filename">
+                  <xsl:with-param name="recursive" select="true()"/>
+                </xsl:apply-templates>
+                <xsl:text>-toc</xsl:text>
+                <xsl:value-of select="$html.ext"/>
+              </xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="content">
+            <xsl:call-template name="chunk-element-content">
+              <xsl:with-param name="prev" select="/foo"/>
+              <xsl:with-param name="next" select="/foo"/>
+              <xsl:with-param name="nav.context" select="'toc'"/>
+              <xsl:with-param name="content">
+                <h1>
+                  <xsl:apply-templates select="." mode="object.title.markup"/>
+                </h1>
+                <xsl:copy-of select="$lots"/>
+              </xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="quiet" select="$chunk.quietly"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$lots"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="make.lot.chunk">
+  <xsl:param name="type" select="''"/>
+  <xsl:param name="lot"/>
+
+  <xsl:if test="string($lot) != ''">
+    <xsl:variable name="filename">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.dir" select="$base.dir"/>
+        <xsl:with-param name="base.name">
+          <xsl:call-template name="dbhtml-dir"/>
+          <xsl:value-of select="$type"/>
+          <xsl:text>-toc</xsl:text>
+          <xsl:value-of select="$html.ext"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="href">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.name">
+          <xsl:call-template name="dbhtml-dir"/>
+          <xsl:value-of select="$type"/>
+          <xsl:text>-toc</xsl:text>
+          <xsl:value-of select="$html.ext"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:call-template name="write.chunk">
+      <xsl:with-param name="filename" select="$filename"/>
+      <xsl:with-param name="content">
+        <xsl:call-template name="chunk-element-content">
+          <xsl:with-param name="prev" select="/foo"/>
+          <xsl:with-param name="next" select="/foo"/>
+          <xsl:with-param name="nav.context" select="'toc'"/>
+          <xsl:with-param name="content">
+            <xsl:copy-of select="$lot"/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:with-param>
+      <xsl:with-param name="quiet" select="$chunk.quietly"/>
+    </xsl:call-template>
+    <!-- And output a link to this file -->
+    <div>
+      <xsl:attribute name="class">
+        <xsl:text>ListofTitles</xsl:text>
+      </xsl:attribute>
+      <a href="{$href}">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key">
+            <xsl:choose>
+              <xsl:when test="$type='table'">ListofTables</xsl:when>
+              <xsl:when test="$type='figure'">ListofFigures</xsl:when>
+              <xsl:when test="$type='equation'">ListofEquations</xsl:when>
+              <xsl:when test="$type='example'">ListofExamples</xsl:when>
+              <xsl:when test="$type='procedure'">ListofProcedures</xsl:when>
+              <xsl:otherwise>ListofUnknown</xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+      </a>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/component.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/component.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/component.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,399 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: component.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template name="component.title">
+  <xsl:param name="node" select="."/>
+
+  <xsl:variable name="level">
+    <xsl:choose>
+      <xsl:when test="ancestor::section">
+        <xsl:value-of select="count(ancestor::section)+1"/>
+      </xsl:when>
+      <xsl:when test="ancestor::sect5">6</xsl:when>
+      <xsl:when test="ancestor::sect4">5</xsl:when>
+      <xsl:when test="ancestor::sect3">4</xsl:when>
+      <xsl:when test="ancestor::sect2">3</xsl:when>
+      <xsl:when test="ancestor::sect1">2</xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- Let's handle the case where a component (bibliography, for example)
+       occurs inside a section; will we need parameters for this? -->
+
+  <xsl:element name="h{$level+1}">
+    <xsl:attribute name="class">title</xsl:attribute>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select="$node"/>
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates select="$node" mode="object.title.markup">
+      <xsl:with-param name="allow-anchors" select="1"/>
+    </xsl:apply-templates>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template name="component.subtitle">
+  <xsl:param name="node" select="."/>
+  <xsl:variable name="subtitle"
+                select="($node/docinfo/subtitle
+                        |$node/info/subtitle
+                        |$node/prefaceinfo/subtitle
+                        |$node/chapterinfo/subtitle
+                        |$node/appendixinfo/subtitle
+                        |$node/articleinfo/subtitle
+                        |$node/artheader/subtitle
+                        |$node/subtitle)[1]"/>
+
+  <xsl:if test="$subtitle">
+    <h3 class="subtitle">
+      <i>
+        <xsl:apply-templates select="$node" mode="object.subtitle.markup"/>
+      </i>
+    </h3>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="component.separator">
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="dedication" mode="dedication">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:call-template name="dedication.titlepage"/>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="dedication/title|dedication/info/title" 
+              mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.title">
+    <xsl:with-param name="node" select="ancestor::dedication[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="dedication/subtitle|dedication/info/subtitle" 
+              mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.subtitle">
+    <xsl:with-param name="node" select="ancestor::dedication[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="dedication"></xsl:template> <!-- see mode="dedication" -->
+<xsl:template match="dedication/title"></xsl:template>
+<xsl:template match="dedication/subtitle"></xsl:template>
+<xsl:template match="dedication/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="colophon">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="component.separator"/>
+    <xsl:call-template name="component.title"/>
+    <xsl:call-template name="component.subtitle"/>
+
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="colophon/title"></xsl:template>
+<xsl:template match="colophon/subtitle"></xsl:template>
+<xsl:template match="colophon/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="preface">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="component.separator"/>
+    <xsl:call-template name="preface.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')">
+      <xsl:call-template name="component.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="component.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="preface/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.title">
+    <xsl:with-param name="node" select="ancestor::preface[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="preface/subtitle
+                     |preface/prefaceinfo/subtitle
+                     |preface/info/subtitle
+                     |preface/docinfo/subtitle"
+              mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.subtitle">
+    <xsl:with-param name="node" select="ancestor::preface[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="preface/docinfo|prefaceinfo"></xsl:template>
+<xsl:template match="preface/info"></xsl:template>
+<xsl:template match="preface/title"></xsl:template>
+<xsl:template match="preface/titleabbrev"></xsl:template>
+<xsl:template match="preface/subtitle"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="chapter">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="component.separator"/>
+    <xsl:call-template name="chapter.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:if test="contains($toc.params, 'toc')">
+      <xsl:call-template name="component.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="component.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="chapter/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.title">
+    <xsl:with-param name="node" select="ancestor::chapter[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="chapter/subtitle
+                     |chapter/chapterinfo/subtitle
+                     |chapter/info/subtitle
+                     |chapter/docinfo/subtitle"
+              mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.subtitle">
+    <xsl:with-param name="node" select="ancestor::chapter[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="chapter/docinfo|chapterinfo"></xsl:template>
+<xsl:template match="chapter/info"></xsl:template>
+<xsl:template match="chapter/title"></xsl:template>
+<xsl:template match="chapter/titleabbrev"></xsl:template>
+<xsl:template match="chapter/subtitle"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="appendix">
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="parent::article and $ischunk = 0">
+        <xsl:call-template name="section.heading">
+          <xsl:with-param name="level" select="1"/>
+          <xsl:with-param name="title">
+            <xsl:apply-templates select="." mode="object.title.markup"/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="component.separator"/>
+        <xsl:call-template name="appendix.titlepage"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')">
+      <xsl:call-template name="component.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="component.toc.separator"/>
+    </xsl:if>
+
+    <xsl:apply-templates/>
+
+    <xsl:if test="not(parent::article) or $ischunk != 0">
+      <xsl:call-template name="process.footnotes"/>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="appendix/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.title">
+    <xsl:with-param name="node" select="ancestor::appendix[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="appendix/subtitle
+                     |appendix/appendixinfo/subtitle
+                     |appendix/info/subtitle
+                     |appendix/docinfo/subtitle"
+              mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.subtitle">
+    <xsl:with-param name="node" select="ancestor::appendix[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="appendix/docinfo|appendixinfo"></xsl:template>
+<xsl:template match="appendix/info"></xsl:template>
+<xsl:template match="appendix/title"></xsl:template>
+<xsl:template match="appendix/titleabbrev"></xsl:template>
+<xsl:template match="appendix/subtitle"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="article">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="article.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:call-template name="make.lots">
+      <xsl:with-param name="toc.params" select="$toc.params"/>
+      <xsl:with-param name="toc">
+        <xsl:call-template name="component.toc">
+          <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="article/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.title">
+    <xsl:with-param name="node" select="ancestor::article[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="article/subtitle
+                     |article/articleinfo/subtitle
+                     |article/info/subtitle
+                     |article/artheader/subtitle"
+              mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.subtitle">
+    <xsl:with-param name="node" select="ancestor::article[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="article/artheader|article/articleinfo"></xsl:template>
+<xsl:template match="article/info"></xsl:template>
+<xsl:template match="article/title"></xsl:template>
+<xsl:template match="article/titleabbrev"></xsl:template>
+<xsl:template match="article/subtitle"></xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/html/db5strip.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/db5strip.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/db5strip.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,36 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		xmlns:ng="http://docbook.org/docbook-ng"
+		xmlns:db="http://docbook.org/ns/docbook"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="db ng exsl"
+                version='1.0'>
+
+<xsl:import href="docbook.xsl"/>
+
+<xsl:output method="xml" encoding="utf-8" indent="no"/>
+
+<xsl:template match="/">
+  <xsl:choose>
+    <!-- include extra test for Xalan quirk -->
+    <xsl:when test="(function-available('exsl:node-set') or
+                     contains(system-property('xsl:vendor'),
+                       'Apache Software Foundation'))
+                    and (*/self::ng:* or */self::db:*)">
+      <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document,
+	   toss the namespace and continue. Someday we'll reverse this logic
+	   and add the namespace to documents that don't have one.
+	   But not before the whole stylesheet has been converted to use
+	   namespaces. i.e., don't hold your breath -->
+      <xsl:message>Stripping namespace from DocBook 5 document.</xsl:message>
+      <xsl:apply-templates mode="stripNS"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message terminate="yes">
+	<xsl:text>Cannot strip without exsl:node-set.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/division.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/division.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/division.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,226 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: division.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="set">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="set.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:call-template name="make.lots">
+      <xsl:with-param name="toc.params" select="$toc.params"/>
+      <xsl:with-param name="toc">
+        <xsl:call-template name="set.toc">
+          <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="set/setinfo"></xsl:template>
+<xsl:template match="set/title"></xsl:template>
+<xsl:template match="set/titleabbrev"></xsl:template>
+<xsl:template match="set/subtitle"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="book">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="book.titlepage"/>
+
+    <xsl:apply-templates select="dedication" mode="dedication"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:call-template name="make.lots">
+      <xsl:with-param name="toc.params" select="$toc.params"/>
+      <xsl:with-param name="toc">
+        <xsl:call-template name="division.toc">
+          <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="book/bookinfo"></xsl:template>
+<xsl:template match="book/info"></xsl:template>
+<xsl:template match="book/title"></xsl:template>
+<xsl:template match="book/titleabbrev"></xsl:template>
+<xsl:template match="book/subtitle"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="part">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="part.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:if test="not(partintro) and contains($toc.params, 'toc')">
+      <xsl:call-template name="division.toc"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="part" mode="make.part.toc">
+  <xsl:call-template name="division.toc"/>
+</xsl:template>
+
+<xsl:template match="reference" mode="make.part.toc">
+  <xsl:call-template name="division.toc"/>
+</xsl:template>
+
+<xsl:template match="part/docinfo"></xsl:template>
+<xsl:template match="part/partinfo"></xsl:template>
+<xsl:template match="part/info"></xsl:template>
+<xsl:template match="part/title"></xsl:template>
+<xsl:template match="part/titleabbrev"></xsl:template>
+<xsl:template match="part/subtitle"></xsl:template>
+
+<xsl:template match="partintro">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="partintro.titlepage"/>
+    <xsl:apply-templates/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="node" select="parent::*"/>
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:if test="contains($toc.params, 'toc')">
+      <!-- not ancestor::part because partintro appears in reference -->
+      <xsl:apply-templates select="parent::*" mode="make.part.toc"/>
+    </xsl:if>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="partintro/title"></xsl:template>
+<xsl:template match="partintro/titleabbrev"></xsl:template>
+<xsl:template match="partintro/subtitle"></xsl:template>
+
+<xsl:template match="partintro/title" mode="partintro.title.mode">
+  <h2>
+    <xsl:apply-templates/>
+  </h2>
+</xsl:template>
+
+<xsl:template match="partintro/subtitle" mode="partintro.title.mode">
+  <h3>
+    <i><xsl:apply-templates/></i>
+  </h3>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="book" mode="division.number">
+  <xsl:number from="set" count="book" format="1."/>
+</xsl:template>
+
+<xsl:template match="part" mode="division.number">
+  <xsl:number from="book" count="part" format="I."/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="division.title">
+  <xsl:param name="node" select="."/>
+
+  <h1>
+    <xsl:attribute name="class">title</xsl:attribute>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select="$node"/>
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates select="$node" mode="object.title.markup">
+      <xsl:with-param name="allow-anchors" select="1"/>
+    </xsl:apply-templates>
+  </h1>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/html/docbook.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/docbook.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/docbook.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,456 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:ng="http://docbook.org/docbook-ng"
+                xmlns:db="http://docbook.org/ns/docbook"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="db ng exsl"
+                version='1.0'>
+
+<xsl:output method="html"
+            encoding="ISO-8859-1"
+            indent="no"/>
+
+<!-- ********************************************************************
+     $Id: docbook.xsl 6536 2007-01-21 08:37:12Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:include href="../VERSION"/>
+<xsl:include href="param.xsl"/>
+<xsl:include href="../lib/lib.xsl"/>
+<xsl:include href="../common/l10n.xsl"/>
+<xsl:include href="../common/common.xsl"/>
+<xsl:include href="../common/labels.xsl"/>
+<xsl:include href="../common/titles.xsl"/>
+<xsl:include href="../common/subtitles.xsl"/>
+<xsl:include href="../common/gentext.xsl"/>
+<xsl:include href="../common/targets.xsl"/>
+<xsl:include href="../common/olink.xsl"/>
+<xsl:include href="../common/pi.xsl"/>
+<xsl:include href="autotoc.xsl"/>
+<xsl:include href="autoidx.xsl"/>
+<xsl:include href="lists.xsl"/>
+<xsl:include href="callout.xsl"/>
+<xsl:include href="verbatim.xsl"/>
+<xsl:include href="graphics.xsl"/>
+<xsl:include href="xref.xsl"/>
+<xsl:include href="formal.xsl"/>
+<xsl:include href="table.xsl"/>
+<xsl:include href="htmltbl.xsl"/>
+<xsl:include href="sections.xsl"/>
+<xsl:include href="inline.xsl"/>
+<xsl:include href="footnote.xsl"/>
+<xsl:include href="html.xsl"/>
+<xsl:include href="info.xsl"/>
+<xsl:include href="keywords.xsl"/>
+<xsl:include href="division.xsl"/>
+<xsl:include href="toc.xsl"/>
+<xsl:include href="index.xsl"/>
+<xsl:include href="refentry.xsl"/>
+<xsl:include href="math.xsl"/>
+<xsl:include href="admon.xsl"/>
+<xsl:include href="component.xsl"/>
+<xsl:include href="biblio.xsl"/>
+<xsl:include href="glossary.xsl"/>
+<xsl:include href="block.xsl"/>
+<xsl:include href="task.xsl"/>
+<xsl:include href="qandaset.xsl"/>
+<xsl:include href="synop.xsl"/>
+<xsl:include href="titlepage.xsl"/>
+<xsl:include href="titlepage.templates.xsl"/>
+<xsl:include href="pi.xsl"/>
+<xsl:include href="ebnf.xsl"/>
+<xsl:include href="chunker.xsl"/>
+<xsl:include href="html-rtf.xsl"/>
+<xsl:include href="annotations.xsl"/>
+<xsl:include href="../common/stripns.xsl"/>
+
+<xsl:param name="stylesheet.result.type" select="'html'"/>
+<xsl:param name="htmlhelp.output" select="0"/>
+
+<!-- ==================================================================== -->
+
+<xsl:key name="id" match="*" use="@id|@xml:id"/>
+<xsl:key name="gid" match="*" use="generate-id()"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*">
+  <xsl:message>
+    <xsl:text>Element </xsl:text>
+    <xsl:value-of select="local-name(.)"/>
+    <xsl:text> in namespace '</xsl:text>
+    <xsl:value-of select="namespace-uri(.)"/>
+    <xsl:text>' encountered</xsl:text>
+    <xsl:if test="parent::*">
+      <xsl:text> in </xsl:text>
+      <xsl:value-of select="name(parent::*)"/>
+    </xsl:if>
+    <xsl:text>, but no template matches.</xsl:text>
+  </xsl:message>
+
+  <font color="red">
+    <xsl:text>&lt;</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text>&gt;</xsl:text>
+    <xsl:apply-templates/>
+    <xsl:text>&lt;/</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text>&gt;</xsl:text>
+  </font>
+</xsl:template>
+
+<xsl:template match="text()">
+  <xsl:value-of select="."/>
+</xsl:template>
+
+<xsl:template name="body.attributes">
+  <xsl:attribute name="bgcolor">white</xsl:attribute>
+  <xsl:attribute name="text">black</xsl:attribute>
+  <xsl:attribute name="link">#0000FF</xsl:attribute>
+  <xsl:attribute name="vlink">#840084</xsl:attribute>
+  <xsl:attribute name="alink">#0000FF</xsl:attribute>
+</xsl:template>
+
+<xsl:template name="head.content">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="title">
+    <xsl:apply-templates select="$node" mode="object.title.markup.textonly"/>
+  </xsl:param>
+
+  <title>
+    <xsl:copy-of select="$title"/>
+  </title>
+
+  <xsl:if test="$html.stylesheet != ''">
+    <xsl:call-template name="output.html.stylesheets">
+      <xsl:with-param name="stylesheets" select="normalize-space($html.stylesheet)"/>
+    </xsl:call-template>
+  </xsl:if>
+
+  <xsl:if test="$link.mailto.url != ''">
+    <link rev="made"
+          href="{$link.mailto.url}"/>
+  </xsl:if>
+
+  <xsl:if test="$html.base != ''">
+    <base href="{$html.base}"/>
+  </xsl:if>
+
+  <meta name="generator" content="DocBook {$DistroTitle} V{$VERSION}"/>
+
+  <xsl:if test="$generate.meta.abstract != 0">
+    <xsl:variable name="info" select="(articleinfo
+                                      |bookinfo
+                                      |prefaceinfo
+                                      |chapterinfo
+                                      |appendixinfo
+                                      |sectioninfo
+                                      |sect1info
+                                      |sect2info
+                                      |sect3info
+                                      |sect4info
+                                      |sect5info
+                                      |referenceinfo
+                                      |refentryinfo
+                                      |partinfo
+                                      |info
+                                      |docinfo)[1]"/>
+    <xsl:if test="$info and $info/abstract">
+      <meta name="description">
+        <xsl:attribute name="content">
+          <xsl:for-each select="$info/abstract[1]/*">
+            <xsl:value-of select="normalize-space(.)"/>
+            <xsl:if test="position() &lt; last()">
+              <xsl:text> </xsl:text>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:attribute>
+      </meta>
+    </xsl:if>
+  </xsl:if>
+
+  <xsl:if test="($draft.mode = 'yes' or
+                ($draft.mode = 'maybe' and
+                ancestor-or-self::*[@status][1]/@status = 'draft'))
+                and $draft.watermark.image != ''">
+    <style type="text/css"><xsl:text>
+body { background-image: url('</xsl:text>
+<xsl:value-of select="$draft.watermark.image"/><xsl:text>');
+       background-repeat: no-repeat;
+       background-position: top left;
+       /* The following properties make the watermark "fixed" on the page. */
+       /* I think that's just a bit too distracting for the reader... */
+       /* background-attachment: fixed; */
+       /* background-position: center center; */
+     }</xsl:text>
+    </style>
+  </xsl:if>
+  <xsl:apply-templates select="." mode="head.keywords.content"/>
+</xsl:template>
+
+<xsl:template name="output.html.stylesheets">
+  <xsl:param name="stylesheets" select="''"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($stylesheets, ' ')">
+      <link rel="stylesheet" href="{substring-before($stylesheets, ' ')}">
+        <xsl:if test="$html.stylesheet.type != ''">
+          <xsl:attribute name="type">
+            <xsl:value-of select="$html.stylesheet.type"/>
+          </xsl:attribute>
+        </xsl:if>
+      </link>
+      <xsl:call-template name="output.html.stylesheets">
+        <xsl:with-param name="stylesheets" select="substring-after($stylesheets, ' ')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$stylesheets != ''">
+      <link rel="stylesheet" href="{$stylesheets}">
+        <xsl:if test="$html.stylesheet.type != ''">
+          <xsl:attribute name="type">
+            <xsl:value-of select="$html.stylesheet.type"/>
+          </xsl:attribute>
+        </xsl:if>
+      </link>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="head.keywords.content">
+  <xsl:apply-templates select="chapterinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="appendixinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="prefaceinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="bookinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="setinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="articleinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="artheader/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect1info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect2info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect3info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect4info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect5info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sectioninfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refsect1info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refsect2info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refsect3info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="bibliographyinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="glossaryinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="indexinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refentryinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="partinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="referenceinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="docinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="info/keywordset" mode="html.header"/>
+
+  <xsl:if test="$inherit.keywords != 0
+                and parent::*">
+    <xsl:apply-templates select="parent::*" mode="head.keywords.content"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="system.head.content">
+  <xsl:param name="node" select="."/>
+
+  <!-- FIXME: When chunking, only the annotations actually used
+              in this chunk should be referenced. I don't think it
+              does any harm to reference them all, but it adds
+              unnecessary bloat to each chunk. -->
+  <xsl:if test="$annotation.support != 0 and //annotation">
+    <xsl:call-template name="add.annotation.links"/>
+    <script type="text/javascript">
+      <xsl:text>&#10;// Create PopupWindow objects</xsl:text>
+      <xsl:for-each select="//annotation">
+        <xsl:text>&#10;var popup_</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text> = new PopupWindow("popup-</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text>");&#10;</xsl:text>
+        <xsl:text>popup_</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text>.offsetY = 15;&#10;</xsl:text>
+        <xsl:text>popup_</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text>.autoHide();&#10;</xsl:text>
+      </xsl:for-each>
+    </script>
+
+    <style type="text/css">
+      <xsl:value-of select="$annotation.css"/>
+    </style>
+  </xsl:if>
+
+  <!-- system.head.content is like user.head.content, except that
+       it is called before head.content. This is important because it
+       means, for example, that <style> elements output by system.head.content
+       have a lower CSS precedence than the users stylesheet. -->
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="user.preroot">
+  <!-- Pre-root output, can be used to output comments and PIs. -->
+  <!-- This must not output any element content! -->
+</xsl:template>
+
+<xsl:template name="user.head.content">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.header.navigation">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.header.content">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.footer.content">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.footer.navigation">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template match="/">
+  <xsl:choose>
+    <!-- include extra test for Xalan quirk -->
+    <xsl:when test="(function-available('exsl:node-set') or
+                     contains(system-property('xsl:vendor'),
+                       'Apache Software Foundation'))
+                    and (*/self::ng:* or */self::db:*)">
+      <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document,
+           toss the namespace and continue. Someday we'll reverse this logic
+           and add the namespace to documents that don't have one.
+           But not before the whole stylesheet has been converted to use
+           namespaces. i.e., don't hold your breath -->
+      <xsl:message>Stripping namespace from DocBook 5 document.</xsl:message>
+      <xsl:variable name="nons">
+        <xsl:apply-templates mode="stripNS"/>
+      </xsl:variable>
+      <!--
+      <xsl:message>Saving stripped document.</xsl:message>
+      <xsl:call-template name="write.chunk">
+        <xsl:with-param name="filename" select="'/tmp/stripped.xml'"/>
+        <xsl:with-param name="method" select="'xml'"/>
+        <xsl:with-param name="content">
+          <xsl:copy-of select="exsl:node-set($nons)"/>
+        </xsl:with-param>
+      </xsl:call-template>
+      -->
+      <xsl:message>Processing stripped document.</xsl:message>
+      <xsl:apply-templates select="exsl:node-set($nons)"/>
+    </xsl:when>
+    <!-- Can't process unless namespace removed -->
+    <xsl:when test="*/self::ng:* or */self::db:*">
+      <xsl:message terminate="yes">
+        <xsl:text>Unable to strip the namespace from DB5 document,</xsl:text>
+        <xsl:text> cannot proceed.</xsl:text>
+      </xsl:message>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$rootid != ''">
+          <xsl:choose>
+            <xsl:when test="count(key('id',$rootid)) = 0">
+              <xsl:message terminate="yes">
+                <xsl:text>ID '</xsl:text>
+                <xsl:value-of select="$rootid"/>
+                <xsl:text>' not found in document.</xsl:text>
+              </xsl:message>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:if test="$collect.xref.targets = 'yes' or
+                            $collect.xref.targets = 'only'">
+                <xsl:apply-templates select="key('id', $rootid)"
+                                     mode="collect.targets"/>
+              </xsl:if>
+              <xsl:if test="$collect.xref.targets != 'only'">
+                <xsl:apply-templates select="key('id',$rootid)"
+                                     mode="process.root"/>
+                <xsl:if test="$tex.math.in.alt != ''">
+                  <xsl:apply-templates select="key('id',$rootid)"
+                                       mode="collect.tex.math"/>
+                </xsl:if>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$collect.xref.targets = 'yes' or
+                        $collect.xref.targets = 'only'">
+            <xsl:apply-templates select="/" mode="collect.targets"/>
+          </xsl:if>
+          <xsl:if test="$collect.xref.targets != 'only'">
+            <xsl:apply-templates select="/" mode="process.root"/>
+            <xsl:if test="$tex.math.in.alt != ''">
+              <xsl:apply-templates select="/" mode="collect.tex.math"/>
+            </xsl:if>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="process.root">
+  <xsl:variable name="doc" select="self::*"/>
+
+  <xsl:call-template name="user.preroot"/>
+  <xsl:call-template name="root.messages"/>
+
+  <html>
+    <head>
+      <xsl:call-template name="system.head.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+      <xsl:call-template name="head.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+      <xsl:call-template name="user.head.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+    </head>
+    <body>
+      <xsl:call-template name="body.attributes"/>
+      <xsl:call-template name="user.header.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+      <xsl:apply-templates select="."/>
+      <xsl:call-template name="user.footer.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+    </body>
+  </html>
+  <xsl:value-of select="$html.append"/>
+</xsl:template>
+
+<xsl:template name="root.messages">
+  <!-- redefine this any way you'd like to output messages -->
+  <!-- DO NOT OUTPUT ANYTHING FROM THIS TEMPLATE -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="chunk">
+  <xsl:param name="node" select="."/>
+
+  <!-- The default is that we are not chunking... -->
+  <xsl:text>0</xsl:text>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/ebnf.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/ebnf.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/ebnf.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,329 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                exclude-result-prefixes="doc"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: ebnf.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<doc:reference xmlns="">
+<referenceinfo>
+<releaseinfo role="meta">
+$Id: ebnf.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+</releaseinfo>
+<author><surname>Walsh</surname>
+<firstname>Norman</firstname></author>
+<copyright><year>1999</year><year>2000</year>
+<holder>Norman Walsh</holder>
+</copyright>
+</referenceinfo>
+<title>HTML EBNF Reference</title>
+
+<partintro>
+<section><title>Introduction</title>
+
+<para>This is technical reference documentation for the DocBook XSL
+Stylesheets; it documents (some of) the parameters, templates, and
+other elements of the stylesheets.</para>
+
+<para>This reference describes the templates and parameters relevant
+to formatting EBNF markup.</para>
+
+<para>This is not intended to be <quote>user</quote> documentation.
+It is provided for developers writing customization layers for the
+stylesheets, and for anyone who's interested in <quote>how it
+works</quote>.</para>
+
+<para>Although I am trying to be thorough, this documentation is known
+to be incomplete. Don't forget to read the source, too :-)</para>
+</section>
+</partintro>
+</doc:reference>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="productionset">
+  <table width="100%" cellpadding="5">
+    <xsl:if test="$ebnf.table.bgcolor != ''">
+      <xsl:attribute name="bgcolor">
+        <xsl:value-of select="$ebnf.table.bgcolor"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="$ebnf.table.border != 0">
+      <xsl:attribute name="border">1</xsl:attribute>
+    </xsl:if>
+    <xsl:attribute name="class">
+      <xsl:value-of select="local-name(.)"/>
+    </xsl:attribute>
+    <xsl:attribute name="summary">
+      <xsl:text>EBNF</xsl:text>
+      <xsl:if test="title">
+        <xsl:text> for </xsl:text>
+        <xsl:value-of select="title"/>
+      </xsl:if>
+    </xsl:attribute>
+
+    <xsl:if test="title">
+      <tr>
+        <th align="left" valign="top">
+          <xsl:apply-templates select="." mode="class.attribute"/>
+          <xsl:apply-templates select="title"/>
+        </th>
+      </tr>
+    </xsl:if>
+    <tr>
+      <td>
+        <table border="0" width="99%" cellpadding="0">
+          <xsl:if test="$ebnf.table.bgcolor != ''">
+            <xsl:attribute name="bgcolor">
+              <xsl:value-of select="$ebnf.table.bgcolor"/>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:attribute name="class">
+            <xsl:value-of select="local-name(.)"/>
+          </xsl:attribute>
+          <xsl:attribute name="summary">EBNF productions</xsl:attribute>
+          <xsl:apply-templates select="production|productionrecap"/>
+        </table>
+      </td>
+    </tr>
+  </table>
+</xsl:template>
+
+<xsl:template match="productionset/title">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="production">
+  <xsl:param name="recap" select="false()"/>
+  <tr>
+    <td align="left" valign="top" width="3%">
+      <xsl:text>[</xsl:text>
+      <xsl:number count="production" level="any"/>
+      <xsl:text>]</xsl:text>
+    </td>
+    <td align="right" valign="top" width="10%">
+      <xsl:choose>
+        <xsl:when test="$recap">
+          <a>
+            <xsl:attribute name="href">
+              <xsl:call-template name="href.target">
+                <xsl:with-param name="object" select="."/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:apply-templates select="lhs"/>
+          </a>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="anchor"/>
+          <xsl:apply-templates select="lhs"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </td>
+    <td valign="top" width="5%" align="center">
+      <xsl:copy-of select="$ebnf.assignment"/>
+    </td>
+    <td valign="top" width="52%">
+      <xsl:apply-templates select="rhs"/>
+      <xsl:copy-of select="$ebnf.statement.terminator"/>
+    </td>
+    <td align="left" valign="top" width="30%">
+      <xsl:choose>
+        <xsl:when test="rhs/lineannotation|constraint">
+          <xsl:apply-templates select="rhs/lineannotation" mode="rhslo"/>
+          <xsl:apply-templates select="constraint"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>&#160;</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </td>
+  </tr>
+</xsl:template>
+
+<xsl:template match="productionrecap">
+  <xsl:variable name="targets" select="key('id', at linkend)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:if test="count($targets)=0">
+    <xsl:message>
+      <xsl:text>Error: no ID for productionrecap linkend: </xsl:text>
+      <xsl:value-of select="@linkend"/>
+      <xsl:text>.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="count($targets)>1">
+    <xsl:message>
+      <xsl:text>Warning: multiple "IDs" for productionrecap linkend: </xsl:text>
+      <xsl:value-of select="@linkend"/>
+      <xsl:text>.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:apply-templates select="$target">
+    <xsl:with-param name="recap" select="true()"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="lhs">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="rhs">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::rhs">
+    <xsl:text> |</xsl:text>
+    <br/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="nonterminal">
+  <xsl:variable name="linkend">
+    <xsl:call-template name="xpointer.idref">
+      <xsl:with-param name="xpointer" select="@def"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="check.id.unique">
+    <xsl:with-param name="linkend" select="$linkend"/>
+  </xsl:call-template>
+
+  <xsl:call-template name="check.idref.targets">
+    <xsl:with-param name="linkend" select="$linkend"/>
+    <xsl:with-param name="element-list">production</xsl:with-param>
+  </xsl:call-template>
+
+  <!-- If you don't provide content, you can't point outside this doc. -->
+  <xsl:choose>
+    <xsl:when test="*|text()"><!--nop--></xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$linkend = ''">
+        <xsl:message>
+          <xsl:text>Non-terminals with no content must point to </xsl:text>
+          <xsl:text>production elements in the current document.</xsl:text>
+        </xsl:message>
+        <xsl:message>
+          <xsl:text>Invalid xpointer for empty nt: </xsl:text>
+          <xsl:value-of select="@def"/>
+        </xsl:message>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:variable name="href">
+    <xsl:choose>
+      <xsl:when test="$linkend != ''">
+        <xsl:variable name="targets" select="key('id',$linkend)"/>
+        <xsl:variable name="target" select="$targets[1]"/>
+        <xsl:call-template name="href.target">
+          <xsl:with-param name="object" select="$target"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="@def"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <a href="{$href}">
+    <xsl:choose>
+      <xsl:when test="*|text()">
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:choose>
+          <xsl:when test="$linkend != ''">
+            <xsl:variable name="targets" select="key('id',$linkend)"/>
+            <xsl:variable name="target" select="$targets[1]"/>
+            <xsl:apply-templates select="$target/lhs"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:text>???</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </a>
+</xsl:template>
+
+<xsl:template match="rhs/lineannotation">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="rhs/lineannotation" mode="rhslo">
+  <xsl:text>/*&#160;</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>&#160;*/</xsl:text>
+  <br/>
+</xsl:template>
+
+<xsl:template match="constraint">
+  <xsl:call-template name="check.id.unique">
+    <xsl:with-param name="linkend" select="@linkend"/>
+  </xsl:call-template>
+
+  <xsl:call-template name="check.idref.targets">
+    <xsl:with-param name="linkend" select="@linkend"/>
+    <xsl:with-param name="element-list">constraintdef</xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:variable name="href">
+    <xsl:variable name="targets" select="key('id', at linkend)"/>
+    <xsl:variable name="target" select="$targets[1]"/>
+    <xsl:call-template name="href.target">
+      <xsl:with-param name="object" select="$target"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:text>[&#160;</xsl:text>
+
+  <xsl:choose>
+    <xsl:when test="@role">
+      <xsl:value-of select="@role"/>
+      <xsl:text>: </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="targets" select="key('id', at linkend)"/>
+      <xsl:variable name="target" select="$targets[1]"/>
+      <xsl:if test="$target/@role">
+        <xsl:value-of select="$target/@role"/>
+        <xsl:text>: </xsl:text>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <a href="{$href}">
+    <xsl:variable name="targets" select="key('id', at linkend)"/>
+    <xsl:variable name="target" select="$targets[1]"/>
+    <xsl:apply-templates select="$target" mode="title.markup"/>
+  </a>
+  <xsl:text>&#160;]</xsl:text>
+  <xsl:if test="following-sibling::constraint">
+    <br/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="constraintdef">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="constraintdef/title">
+  <p><b><xsl:apply-templates/></b></p>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/footnote.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/footnote.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/footnote.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,287 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="exsl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: footnote.xsl 6439 2006-11-18 20:10:32Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="footnote">
+  <xsl:variable name="name">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="href">
+    <xsl:text>#ftn.</xsl:text>
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="ancestor::tgroup">
+      <sup>
+        <xsl:text>[</xsl:text>
+        <a name="{$name}" href="{$href}">
+          <xsl:apply-templates select="." mode="footnote.number"/>
+        </a>
+        <xsl:text>]</xsl:text>
+      </sup>
+    </xsl:when>
+    <xsl:otherwise>
+      <sup>
+        <xsl:text>[</xsl:text>
+        <a name="{$name}" href="{$href}">
+          <xsl:apply-templates select="." mode="footnote.number"/>
+        </a>
+        <xsl:text>]</xsl:text>
+      </sup>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="footnoteref">
+  <xsl:variable name="targets" select="key('id', at linkend)"/>
+  <xsl:variable name="footnote" select="$targets[1]"/>
+  <xsl:variable name="href">
+    <xsl:text>#ftn.</xsl:text>
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$footnote"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <sup>
+    <xsl:text>[</xsl:text>
+    <a href="{$href}">
+      <xsl:apply-templates select="$footnote" mode="footnote.number"/>
+    </a>
+    <xsl:text>]</xsl:text>
+  </sup>
+</xsl:template>
+
+<xsl:template match="footnote" mode="footnote.number">
+  <xsl:choose>
+    <xsl:when test="string-length(@label) != 0">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="ancestor::tgroup">
+      <xsl:variable name="tfnum">
+        <xsl:number level="any" from="table|informaltable" format="1"/>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="string-length($table.footnote.number.symbols) &gt;= $tfnum">
+          <xsl:value-of select="substring($table.footnote.number.symbols, $tfnum, 1)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:number level="any" from="tgroup"
+                      format="{$table.footnote.number.format}"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="pfoot" select="preceding::footnote[not(@label)]"/>
+      <xsl:variable name="ptfoot" select="preceding::tgroup//footnote"/>
+      <xsl:variable name="fnum" select="count($pfoot) - count($ptfoot) + 1"/>
+
+      <xsl:choose>
+        <xsl:when test="string-length($footnote.number.symbols) &gt;= $fnum">
+          <xsl:value-of select="substring($footnote.number.symbols, $fnum, 1)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:number value="$fnum" format="{$footnote.number.format}"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="footnote/para[1]|footnote/simpara[1]" priority="2">
+  <!-- this only works if the first thing in a footnote is a para, -->
+  <!-- which is ok, because it usually is. -->
+  <xsl:variable name="name">
+    <xsl:text>ftn.</xsl:text>
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="ancestor::footnote"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="href">
+    <xsl:text>#</xsl:text>
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="ancestor::footnote"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <p>
+    <xsl:if test="@role and $para.propagates.style != 0">
+      <xsl:apply-templates select="." mode="class.attribute">
+        <xsl:with-param name="class" select="@role"/>
+      </xsl:apply-templates>
+    </xsl:if>
+    <sup>
+      <xsl:text>[</xsl:text>
+      <a name="{$name}" href="{$href}">
+        <xsl:apply-templates select="ancestor::footnote"
+                             mode="footnote.number"/>
+      </a>
+      <xsl:text>] </xsl:text>
+    </sup>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="footnote.body.number">
+  <xsl:variable name="name">
+    <xsl:text>ftn.</xsl:text>
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="ancestor::footnote"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="href">
+    <xsl:text>#</xsl:text>
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="ancestor::footnote"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="footnote.mark">
+    <sup>
+      <xsl:text>[</xsl:text>
+      <a name="{$name}" href="{$href}">
+        <xsl:apply-templates select="ancestor::footnote"
+                             mode="footnote.number"/>
+      </a>
+      <xsl:text>] </xsl:text>
+    </sup>
+  </xsl:variable>
+
+  <xsl:variable name="html">
+    <xsl:apply-templates select="."/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set')">
+      <xsl:variable name="html-nodes" select="exsl:node-set($html)"/>
+      <xsl:choose>
+        <xsl:when test="$html-nodes//p">
+          <xsl:apply-templates select="$html-nodes" mode="insert.html.p">
+            <xsl:with-param name="mark" select="$footnote.mark"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$html-nodes" mode="insert.html.text">
+            <xsl:with-param name="mark" select="$footnote.mark"/>
+          </xsl:apply-templates>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$html"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!--
+<xsl:template name="count-element-from">
+  <xsl:param name="from" select=".."/>
+  <xsl:param name="to" select="."/>
+  <xsl:param name="count" select="0"/>
+  <xsl:param name="list" select="$from/following::*[local-name(.)=local-name($to)]
+                                 |$from/descendant-or-self::*[local-name(.)=local-name($to)]"/>
+
+  <xsl:choose>
+    <xsl:when test="not($list)">
+      <xsl:text>-1</xsl:text>
+    </xsl:when>
+    <xsl:when test="$list[1] = $to">
+      <xsl:value-of select="$count + 1"/>
+    </xsl:when>
+    <xsl:otherwise>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+-->
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.footnotes">
+  <xsl:variable name="footnotes" select=".//footnote"/>
+  <xsl:variable name="table.footnotes"
+                select=".//tgroup//footnote"/>
+
+  <!-- Only bother to do this if there's at least one non-table footnote -->
+  <xsl:if test="count($footnotes)>count($table.footnotes)">
+    <div class="footnotes">
+      <br/>
+      <hr width="100" align="left"/>
+      <xsl:apply-templates select="$footnotes" mode="process.footnote.mode"/>
+    </div>
+  </xsl:if>
+
+  <xsl:if test="$annotation.support != 0 and //annotation">
+    <div class="annotation-list">
+      <div class="annotation-nocss">
+	<p>The following annotations are from this essay. You are seeing
+	them here because your browser doesn’t support the user-interface
+	techniques used to make them appear as ‘popups’ on modern browsers.</p>
+      </div>
+
+      <xsl:apply-templates select="//annotation"
+			   mode="annotation-popup"/>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="process.chunk.footnotes">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="footnote" name="process.footnote" mode="process.footnote.mode">
+  <xsl:choose>
+    <xsl:when test="local-name(*[1]) = 'para' or local-name(*[1]) = 'simpara'">
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates/>
+      </div>
+    </xsl:when>
+
+    <xsl:when test="$html.cleanup != 0 and function-available('exsl:node-set')">
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates select="*[1]" mode="footnote.body.number"/>
+        <xsl:apply-templates select="*[position() &gt; 1]"/>
+      </div>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>Warning: footnote number may not be generated </xsl:text>
+        <xsl:text>correctly; </xsl:text>
+        <xsl:value-of select="local-name(*[1])"/>
+        <xsl:text> unexpected as first child of footnote.</xsl:text>
+      </xsl:message>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates/>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="tgroup//footnote"
+              mode="process.footnote.mode">
+</xsl:template>
+
+<xsl:template match="footnote" mode="table.footnote.mode">
+  <xsl:call-template name="process.footnote"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/formal.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/formal.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/formal.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,398 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: formal.xsl 6403 2006-11-12 08:23:54Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:param name="formal.object.break.after">1</xsl:param>
+
+<xsl:template name="formal.object">
+  <xsl:param name="placement" select="'before'"/>
+  <xsl:param name="class" select="local-name(.)"/>
+
+  <xsl:call-template name="id.warning"/>
+
+  <xsl:variable name="content">
+    <div class="{$class}">
+      <xsl:call-template name="anchor">
+        <xsl:with-param name="conditional" select="0"/>
+      </xsl:call-template>
+    
+      <xsl:choose>
+        <xsl:when test="$placement = 'before'">
+          <xsl:call-template name="formal.object.heading"/>
+          <div class="{$class}-contents">
+            <xsl:apply-templates/>
+          </div>
+          <!-- HACK: This doesn't belong inside formal.object; it 
+               should be done by the table template, but I want 
+               the link to be inside the DIV, so... -->
+          <xsl:if test="local-name(.) = 'table'">
+            <xsl:call-template name="table.longdesc"/>
+          </xsl:if>
+    
+          <xsl:if test="$spacing.paras != 0"><p/></xsl:if>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$spacing.paras != 0"><p/></xsl:if>
+          <div class="{$class}-contents"><xsl:apply-templates/></div>
+          <!-- HACK: This doesn't belong inside formal.object; it 
+               should be done by the table template, but I want 
+               the link to be inside the DIV, so... -->
+          <xsl:if test="local-name(.) = 'table'">
+            <xsl:call-template name="table.longdesc"/>
+          </xsl:if>
+    
+          <xsl:call-template name="formal.object.heading"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </div>
+    <xsl:if test="not($formal.object.break.after = '0')">
+      <br class="{$class}-break"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="floatstyle">
+    <xsl:call-template name="floatstyle"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$floatstyle != ''">
+      <xsl:call-template name="floater">
+        <xsl:with-param name="class"><xsl:value-of 
+                     select="$class"/>-float</xsl:with-param>
+        <xsl:with-param name="floatstyle" select="$floatstyle"/>
+        <xsl:with-param name="content" select="$content"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$content"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="formal.object.heading">
+  <xsl:param name="object" select="."/>
+  <xsl:param name="title">
+    <xsl:apply-templates select="$object" mode="object.title.markup">
+      <xsl:with-param name="allow-anchors" select="1"/>
+    </xsl:apply-templates>
+  </xsl:param>
+
+  <p class="title">
+    <b>
+      <xsl:copy-of select="$title"/>
+    </b>
+  </p>
+</xsl:template>
+
+<xsl:template name="informal.object">
+  <xsl:param name="class" select="local-name(.)"/>
+
+  <xsl:variable name="content">
+    <div class="{$class}">
+      <xsl:if test="$spacing.paras != 0"><p/></xsl:if>
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+  
+      <!-- HACK: This doesn't belong inside formal.object; it 
+           should be done by the table template, but I want 
+           the link to be inside the DIV, so... -->
+      <xsl:if test="local-name(.) = 'informaltable'">
+        <xsl:call-template name="table.longdesc"/>
+      </xsl:if>
+  
+      <xsl:if test="$spacing.paras != 0"><p/></xsl:if>
+    </div>
+  </xsl:variable>
+
+  <xsl:variable name="floatstyle">
+    <xsl:call-template name="floatstyle"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$floatstyle != ''">
+      <xsl:call-template name="floater">
+        <xsl:with-param name="class"><xsl:value-of 
+                     select="$class"/>-float</xsl:with-param>
+        <xsl:with-param name="floatstyle" select="$floatstyle"/>
+        <xsl:with-param name="content" select="$content"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$content"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="semiformal.object">
+  <xsl:param name="placement" select="'before'"/>
+  <xsl:param name="class" select="local-name(.)"/>
+
+  <xsl:choose>
+    <xsl:when test="title">
+      <xsl:call-template name="formal.object">
+        <xsl:with-param name="placement" select="$placement"/>
+        <xsl:with-param name="class" select="$class"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="informal.object">
+        <xsl:with-param name="class" select="$class"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="figure">
+  <xsl:variable name="param.placement"
+                select="substring-after(normalize-space($formal.title.placement),
+                                        concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="formal.object">
+    <xsl:with-param name="placement" select="$placement"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="table">
+  <xsl:choose>
+    <xsl:when test="tgroup|mediaobject|graphic">
+      <xsl:call-template name="calsTable"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy>
+        <xsl:copy-of select="@*[not(local-name()='id')]"/>
+        <xsl:attribute name="id">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+        <xsl:call-template name="htmlTable"/>
+      </xsl:copy>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="calsTable">
+  <xsl:if test="tgroup/tbody/tr
+                |tgroup/thead/tr
+                |tgroup/tfoot/tr">
+    <xsl:message terminate="yes">Broken table: tr descendent of CALS Table.</xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="param.placement"
+                select="substring-after(normalize-space($formal.title.placement),
+                                        concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="formal.object">
+    <xsl:with-param name="placement" select="$placement"/>
+    <xsl:with-param name="class">
+      <xsl:choose>
+        <xsl:when test="@tabstyle">
+          <!-- hack, this will only ever occur on table, not example -->
+          <xsl:value-of select="@tabstyle"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="local-name(.)"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="htmlTable">
+  <xsl:if test="tgroup/tbody/row
+                |tgroup/thead/row
+                |tgroup/tfoot/row">
+    <xsl:message terminate="yes">Broken table: row descendent of HTML table.</xsl:message>
+  </xsl:if>
+
+  <xsl:apply-templates mode="htmlTable"/>
+</xsl:template>
+
+<xsl:template match="example">
+  <xsl:variable name="param.placement"
+             select="substring-after(normalize-space($formal.title.placement),
+                     concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="formal.object">
+    <xsl:with-param name="placement" select="$placement"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="equation">
+  <xsl:variable name="param.placement"
+              select="substring-after(normalize-space($formal.title.placement),
+                                      concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="formal.object">
+    <xsl:with-param name="placement" select="$placement"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="figure/title"></xsl:template>
+<xsl:template match="figure/titleabbrev"></xsl:template>
+<xsl:template match="table/title"></xsl:template>
+<xsl:template match="table/titleabbrev"></xsl:template>
+<xsl:template match="table/textobject"></xsl:template>
+<xsl:template match="example/title"></xsl:template>
+<xsl:template match="example/titleabbrev"></xsl:template>
+<xsl:template match="equation/title"></xsl:template>
+<xsl:template match="equation/titleabbrev"></xsl:template>
+
+<xsl:template match="informalfigure">
+  <xsl:call-template name="informal.object"/>
+</xsl:template>
+
+<xsl:template match="informalexample">
+  <xsl:call-template name="informal.object"/>
+</xsl:template>
+
+<xsl:template match="informaltable">
+  <xsl:choose>
+    <xsl:when test="tgroup|mediaobject|graphic">
+      <xsl:call-template name="informal.object">
+        <xsl:with-param name="class">
+          <xsl:choose>
+            <xsl:when test="@tabstyle">
+              <xsl:value-of select="@tabstyle"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="local-name(.)"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <table>
+        <xsl:copy-of select="@*"/>
+        <xsl:call-template name="htmlTable"/>
+      </table>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="informaltable/textobject"></xsl:template>
+
+<xsl:template name="table.longdesc">
+  <!-- HACK: This doesn't belong inside formal.objectt; it should be done by -->
+  <!-- the table template, but I want the link to be inside the DIV, so... -->
+  <xsl:variable name="longdesc.uri">
+    <xsl:call-template name="longdesc.uri">
+      <xsl:with-param name="mediaobject" select="."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="irrelevant">
+    <!-- write.longdesc returns the filename ... -->
+    <xsl:call-template name="write.longdesc">
+      <xsl:with-param name="mediaobject" select="."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="$html.longdesc != 0 and $html.longdesc.link != 0
+                and textobject[not(phrase)]">
+    <xsl:call-template name="longdesc.link">
+      <xsl:with-param name="longdesc.uri" select="$longdesc.uri"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="informalequation">
+  <xsl:call-template name="informal.object"/>
+</xsl:template>
+
+<xsl:template name="floatstyle">
+  <xsl:if test="(@float and @float != '0') or @floatstyle != ''">
+    <xsl:choose>
+      <xsl:when test="@floatstyle != ''">
+        <xsl:value-of select="@floatstyle"/>
+      </xsl:when>
+      <xsl:when test="@float = '1'">
+        <xsl:value-of select="$default.float.class"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="@float"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="floater">
+  <xsl:param name="content"/>
+  <xsl:param name="class" select="'float'"/>
+  <xsl:param name="floatstyle" select="'left'"/>
+
+  <div class="{$class}">
+    <xsl:if test="$floatstyle = 'left' or $floatstyle = 'right'">
+      <xsl:attribute name="style">
+        <xsl:text>float: </xsl:text>
+        <xsl:value-of select="$floatstyle"/>
+        <xsl:text>;</xsl:text>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:copy-of select="$content"/>
+  </div>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/glossary.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/glossary.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/glossary.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,472 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY % common.entities SYSTEM "../common/entities.ent">
+%common.entities;
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: glossary.xsl 6468 2007-01-06 18:14:07Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="glossary">
+  <xsl:call-template name="id.warning"/>
+  
+  <xsl:variable name="language">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="glossary.titlepage"/>
+
+    <xsl:choose>
+      <xsl:when test="glossdiv">
+        <xsl:apply-templates select="(glossdiv[1]/preceding-sibling::*)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="(glossentry[1]/preceding-sibling::*)"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:choose>
+      <xsl:when test="glossdiv">
+        <xsl:apply-templates select="glossdiv"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <dl>
+          <xsl:choose>
+            <xsl:when test="$glossary.sort != 0">
+              <xsl:apply-templates select="glossentry">
+                <xsl:sort lang="$language"
+                          select="translate(glossterm, &lowercase;, 
+                                            &uppercase;)"/>
+              </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="glossentry"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </dl>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test="not(parent::article)">
+      <xsl:call-template name="process.footnotes"/>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="glossary/glossaryinfo"></xsl:template>
+<xsl:template match="glossary/info"></xsl:template>
+<xsl:template match="glossary/title"></xsl:template>
+<xsl:template match="glossary/subtitle"></xsl:template>
+<xsl:template match="glossary/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="glosslist">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="blockinfo/title|info/title|title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+    <dl>
+      <xsl:choose>
+        <xsl:when test="$glossary.sort != 0">
+          <xsl:apply-templates select="glossentry">
+            <xsl:sort lang="$language"
+                      select="translate(glossterm, &lowercase;, 
+                                        &uppercase;)"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="glossentry"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </dl>
+  </div>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="glossdiv">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates select="(glossentry[1]/preceding-sibling::*)"/>
+
+    <dl>
+      <xsl:choose>
+        <xsl:when test="$glossary.sort != 0">
+          <xsl:apply-templates select="glossentry">
+            <xsl:sort lang="$language"
+                      select="translate(glossterm, &lowercase;, 
+                                        &uppercase;)"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="glossentry"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </dl>
+  </div>
+</xsl:template>
+
+<xsl:template match="glossdiv/title">
+  <h3>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </h3>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!--
+GlossEntry ::=
+  GlossTerm, Acronym?, Abbrev?,
+  (IndexTerm)*,
+  RevHistory?,
+  (GlossSee | GlossDef+)
+-->
+
+<xsl:template match="glossentry">
+  <xsl:choose>
+    <xsl:when test="$glossentry.show.acronym = 'primary'">
+      <dt>
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="conditional">
+            <xsl:choose>
+              <xsl:when test="$glossterm.auto.link != 0">0</xsl:when>
+              <xsl:otherwise>1</xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+
+        <xsl:choose>
+          <xsl:when test="acronym|abbrev">
+            <xsl:apply-templates select="acronym|abbrev"/>
+            <xsl:text> (</xsl:text>
+            <xsl:apply-templates select="glossterm"/>
+            <xsl:text>)</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="glossterm"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </dt>
+    </xsl:when>
+    <xsl:when test="$glossentry.show.acronym = 'yes'">
+      <dt>
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="conditional">
+            <xsl:choose>
+              <xsl:when test="$glossterm.auto.link != 0">0</xsl:when>
+              <xsl:otherwise>1</xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+
+        <xsl:apply-templates select="glossterm"/>
+
+        <xsl:if test="acronym|abbrev">
+          <xsl:text> (</xsl:text>
+          <xsl:apply-templates select="acronym|abbrev"/>
+          <xsl:text>)</xsl:text>
+        </xsl:if>
+      </dt>
+    </xsl:when>
+    <xsl:otherwise>
+      <dt>
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="conditional">
+            <xsl:choose>
+              <xsl:when test="$glossterm.auto.link != 0">0</xsl:when>
+              <xsl:otherwise>1</xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+
+        <xsl:apply-templates select="glossterm"/>
+      </dt>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:apply-templates select="indexterm|revhistory|glosssee|glossdef"/>
+</xsl:template>
+
+<xsl:template match="glossentry/glossterm">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::glossterm">, </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/acronym">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::acronym|following-sibling::abbrev">, </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/abbrev">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::acronym|following-sibling::abbrev">, </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/revhistory">
+</xsl:template>
+
+<xsl:template match="glossentry/glosssee">
+  <xsl:variable name="otherterm" select="@otherterm"/>
+  <xsl:variable name="targets" select="key('id', $otherterm)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <dd>
+    <p>
+      <xsl:variable name="template">
+        <xsl:call-template name="gentext.template">
+          <xsl:with-param name="context" select="'glossary'"/>
+          <xsl:with-param name="name" select="'see'"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="title">
+        <xsl:choose>
+          <xsl:when test="$target">
+            <a>
+              <xsl:attribute name="href">
+                <xsl:call-template name="href.target">
+                  <xsl:with-param name="object" select="$target"/>
+                </xsl:call-template>
+              </xsl:attribute>
+              <xsl:apply-templates select="$target" mode="xref-to"/>
+            </a>
+          </xsl:when>
+          <xsl:when test="$otherterm != '' and not($target)">
+            <xsl:message>
+              <xsl:text>Warning: glosssee @otherterm reference not found: </xsl:text>
+              <xsl:value-of select="$otherterm"/>
+            </xsl:message>
+            <xsl:apply-templates/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:call-template name="substitute-markup">
+        <xsl:with-param name="template" select="$template"/>
+        <xsl:with-param name="title" select="$title"/>
+      </xsl:call-template>
+      <xsl:text>.</xsl:text>
+    </p>
+  </dd>
+</xsl:template>
+
+<xsl:template match="glossentry/glossdef">
+  <dd>
+    <xsl:apply-templates select="*[local-name(.) != 'glossseealso']"/>
+    <xsl:if test="glossseealso">
+      <p>
+        <xsl:variable name="template">
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="context" select="'glossary'"/>
+            <xsl:with-param name="name" select="'seealso'"/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:variable name="title">
+          <xsl:apply-templates select="glossseealso"/>
+        </xsl:variable>
+        <xsl:call-template name="substitute-markup">
+          <xsl:with-param name="template" select="$template"/>
+          <xsl:with-param name="title" select="$title"/>
+        </xsl:call-template>
+      </p>
+    </xsl:if>
+  </dd>
+</xsl:template>
+
+<xsl:template match="glossseealso">
+  <xsl:variable name="otherterm" select="@otherterm"/>
+  <xsl:variable name="targets" select="key('id', $otherterm)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:choose>
+    <xsl:when test="$target">
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:apply-templates select="$target" mode="xref-to"/>
+      </a>
+    </xsl:when>
+    <xsl:when test="$otherterm != '' and not($target)">
+      <xsl:message>
+        <xsl:text>Warning: glossseealso @otherterm reference not found: </xsl:text>
+        <xsl:value-of select="$otherterm"/>
+      </xsl:message>
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="position() = last()">
+      <xsl:text>.</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>, </xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- Glossary collection -->
+
+<xsl:template match="glossary[@role='auto']" priority="2">
+  <xsl:variable name="terms" 
+                select="//glossterm[not(parent::glossdef)]|//firstterm"/>
+  <xsl:variable name="collection" select="document($glossary.collection, .)"/>
+
+  <xsl:call-template name="id.warning"/>
+
+  <xsl:if test="$glossary.collection = ''">
+    <xsl:message>
+      <xsl:text>Warning: processing automatic glossary </xsl:text>
+      <xsl:text>without a glossary.collection file.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="not($collection) and $glossary.collection != ''">
+    <xsl:message>
+      <xsl:text>Warning: processing automatic glossary but unable to </xsl:text>
+      <xsl:text>open glossary.collection file '</xsl:text>
+      <xsl:value-of select="$glossary.collection"/>
+      <xsl:text>'</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="glossary.titlepage"/>
+
+    <xsl:choose>
+      <xsl:when test="glossdiv and $collection//glossdiv">
+        <xsl:for-each select="$collection//glossdiv">
+          <!-- first see if there are any in this div -->
+          <xsl:variable name="exist.test">
+            <xsl:for-each select="glossentry">
+              <xsl:variable name="cterm" select="glossterm"/>
+              <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+                <xsl:value-of select="glossterm"/>
+              </xsl:if>
+            </xsl:for-each>
+          </xsl:variable>
+
+          <xsl:if test="$exist.test != ''">
+            <xsl:apply-templates select="." mode="auto-glossary">
+              <xsl:with-param name="terms" select="$terms"/>
+            </xsl:apply-templates>
+          </xsl:if>
+        </xsl:for-each>
+      </xsl:when>
+      <xsl:otherwise>
+        <dl>
+          <xsl:choose>
+            <xsl:when test="$glossary.sort != 0">
+              <xsl:for-each select="$collection//glossentry">
+                <xsl:sort lang="$language"
+                          select="translate(glossterm, &lowercase;, 
+                                            &uppercase;)"/>
+                <xsl:variable name="cterm" select="glossterm"/>
+                <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+                  <xsl:apply-templates select="." mode="auto-glossary"/>
+                </xsl:if>
+              </xsl:for-each>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:for-each select="$collection//glossentry">
+                <xsl:variable name="cterm" select="glossterm"/>
+                <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+                  <xsl:apply-templates select="." mode="auto-glossary"/>
+                </xsl:if>
+              </xsl:for-each>
+            </xsl:otherwise>
+          </xsl:choose>
+        </dl>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test="not(parent::article)">
+      <xsl:call-template name="process.footnotes"/>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="auto-glossary">
+  <!-- pop back out to the default mode for most elements -->
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="glossdiv" mode="auto-glossary">
+  <xsl:param name="terms" select="."/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates select="(glossentry[1]/preceding-sibling::*)"/>
+
+    <dl>
+      <xsl:choose>
+        <xsl:when test="$glossary.sort != 0">
+          <xsl:for-each select="glossentry">
+            <xsl:sort lang="$language"
+                      select="translate(glossterm, &lowercase;, 
+                                        &uppercase;)"/>
+            <xsl:variable name="cterm" select="glossterm"/>
+            <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+              <xsl:apply-templates select="." mode="auto-glossary"/>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:for-each select="glossentry">
+            <xsl:variable name="cterm" select="glossterm"/>
+            <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+              <xsl:apply-templates select="." mode="auto-glossary"/>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:otherwise>
+      </xsl:choose>
+    </dl>
+  </div>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/graphics.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/graphics.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/graphics.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1475 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:xlink="http://www.w3.org/1999/xlink"
+                xmlns:stext="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.TextFactory"
+                xmlns:simg="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.ImageIntrinsics"
+                xmlns:ximg="xalan://com.nwalsh.xalan.ImageIntrinsics"
+                xmlns:xtext="xalan://com.nwalsh.xalan.Text"
+                xmlns:lxslt="http://xml.apache.org/xslt"
+                exclude-result-prefixes="xlink stext xtext lxslt simg ximg"
+                extension-element-prefixes="stext xtext"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: graphics.xsl 6533 2007-01-20 08:51:43Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     Contributors:
+     Colin Paul Adams, <colin at colina.demon.co.uk>
+
+     ******************************************************************** -->
+
+<lxslt:component prefix="xtext" elements="insertfile"/>
+<lxslt:component prefix="ximg" functions="new getWidth getDepth"/>
+
+<!-- ==================================================================== -->
+<!-- Graphic format tests for the HTML backend -->
+
+<xsl:template name="is.graphic.format">
+  <xsl:param name="format"></xsl:param>
+  <xsl:if test="$format = 'SVG'
+                or $format = 'PNG'
+                or $format = 'JPG'
+                or $format = 'JPEG'
+                or $format = 'linespecific'
+                or $format = 'GIF'
+                or $format = 'GIF87a'
+                or $format = 'GIF89a'
+                or $format = 'BMP'">1</xsl:if>
+</xsl:template>
+
+<xsl:template name="is.graphic.extension">
+  <xsl:param name="ext"></xsl:param>
+  <xsl:variable name="lcext" select="translate($ext,
+                                       'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
+                                       'abcdefghijklmnopqrstuvwxyz')"/>
+  <xsl:if test="$lcext = 'svg'
+             or $lcext = 'png'
+             or $lcext = 'jpeg'
+             or $lcext = 'jpg'
+             or $lcext = 'avi'
+             or $lcext = 'mpg'
+             or $lcext = 'mpeg'
+             or $lcext = 'qt'
+             or $lcext = 'gif'
+             or $lcext = 'bmp'">1</xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="screenshot">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="screeninfo">
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.image">
+  <!-- When this template is called, the current node should be  -->
+  <!-- a graphic, inlinegraphic, imagedata, or videodata. All    -->
+  <!-- those elements have the same set of attributes, so we can -->
+  <!-- handle them all in one place.                             -->
+  <xsl:param name="tag" select="'img'"/>
+  <xsl:param name="alt"/>
+  <xsl:param name="longdesc"/>
+
+  <!-- The HTML img element only supports the notion of content-area
+       scaling; it doesn't support the distinction between a
+       content-area and a viewport-area, so we have to make some
+       compromises.
+
+       1. If only the content-area is specified, everything is fine.
+          (If you ask for a three inch image, that's what you'll get.)
+
+       2. If only the viewport-area is provided:
+          - If scalefit=1, treat it as both the content-area and
+            the viewport-area. (If you ask for an image in a five inch
+            area, we'll make the image five inches to fill that area.)
+          - If scalefit=0, ignore the viewport-area specification.
+
+          Note: this is not quite the right semantic and has the additional
+          problem that it can result in anamorphic scaling, which scalefit
+          should never cause.
+
+       3. If both the content-area and the viewport-area is specified
+          on a graphic element, ignore the viewport-area.
+          (If you ask for a three inch image in a five inch area, we'll assume
+           it's better to give you a three inch image in an unspecified area
+           than a five inch image in a five inch area.
+
+       Relative units also cause problems. As a general rule, the stylesheets
+       are operating too early and too loosely coupled with the rendering engine
+       to know things like the current font size or the actual dimensions of
+       an image. Therefore:
+
+       1. We use a fixed size for pixels, $pixels.per.inch
+
+       2. We use a fixed size for "em"s, $points.per.em
+
+       Percentages are problematic. In the following discussion, we speak
+       of width and contentwidth, but the same issues apply to depth and
+       contentdepth
+
+       1. A width of 50% means "half of the available space for the image."
+          That's fine. But note that in HTML, this is a dynamic property and
+          the image size will vary if the browser window is resized.
+
+       2. A contentwidth of 50% means "half of the actual image width". But
+          the stylesheets have no way to assess the image's actual size. Treating
+          this as a width of 50% is one possibility, but it produces behavior
+          (dynamic scaling) that seems entirely out of character with the
+          meaning.
+
+          Instead, the stylesheets define a $nominal.image.width
+          and convert percentages to actual values based on that nominal size.
+
+       Scale can be problematic. Scale applies to the contentwidth, so
+       a scale of 50 when a contentwidth is not specified is analagous to a
+       width of 50%. (If a contentwidth is specified, the scaling factor can
+       be applied to that value and no problem exists.)
+
+       If scale is specified but contentwidth is not supplied, the
+       nominal.image.width is used to calculate a base size
+       for scaling.
+
+       Warning: as a consequence of these decisions, unless the aspect ratio
+       of your image happens to be exactly the same as (nominal width / nominal height),
+       specifying contentwidth="50%" and contentdepth="50%" is NOT going to
+       scale the way you expect (or really, the way it should).
+
+       Don't do that. In fact, a percentage value is not recommended for content
+       size at all. Use scale instead.
+
+       Finally, align and valign are troublesome. Horizontal alignment is now
+       supported by wrapping the image in a <div align="{@align}"> (in block
+       contexts!). I can't think of anything (practical) to do about vertical
+       alignment.
+  -->
+
+  <xsl:variable name="width-units">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0"></xsl:when>
+      <xsl:when test="@width">
+        <xsl:call-template name="length-units">
+          <xsl:with-param name="length" select="@width"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test="not(@depth) and $default.image.width != ''">
+        <xsl:call-template name="length-units">
+          <xsl:with-param name="length" select="$default.image.width"/>
+        </xsl:call-template>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="width">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0"></xsl:when>
+      <xsl:when test="@width">
+        <xsl:choose>
+          <xsl:when test="$width-units = '%'">
+            <xsl:value-of select="@width"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="length-spec">
+              <xsl:with-param name="length" select="@width"/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:when test="not(@depth) and $default.image.width != ''">
+        <xsl:value-of select="$default.image.width"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="scalefit">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0">0</xsl:when>
+      <xsl:when test="@contentwidth or @contentdepth">0</xsl:when>
+      <xsl:when test="@scale">0</xsl:when>
+      <xsl:when test="@scalefit"><xsl:value-of select="@scalefit"/></xsl:when>
+      <xsl:when test="$width != '' or @depth">1</xsl:when>
+      <xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="scale">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0">1.0</xsl:when>
+      <xsl:when test="@contentwidth or @contentdepth">1.0</xsl:when>
+      <xsl:when test="@scale">
+        <xsl:value-of select="@scale div 100.0"/>
+      </xsl:when>
+      <xsl:otherwise>1.0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="local-name(.) = 'graphic'
+                      or local-name(.) = 'inlinegraphic'">
+        <!-- handle legacy graphic and inlinegraphic by new template --> 
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select="."/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- imagedata, videodata, audiodata -->
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select=".."/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="output_filename">
+    <xsl:choose>
+      <xsl:when test="@entityref">
+        <xsl:value-of select="$filename"/>
+      </xsl:when>
+      <!--
+        Moved test for $keep.relative.image.uris to template below:
+            <xsl:template match="@fileref">
+      -->
+      <xsl:otherwise>
+        <xsl:value-of select="$filename"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="img.src.path.pi">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="../processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'img.src.path'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="filename.for.graphicsize">
+    <xsl:choose>
+      <xsl:when test="$img.src.path.pi != ''">
+        <xsl:value-of select="concat($img.src.path.pi, $filename)"/>
+      </xsl:when>
+      <xsl:when test="$img.src.path != '' and
+                      $graphicsize.use.img.src.path != 0 and
+                      $tag = 'img' and
+                      not(starts-with($filename, '/')) and
+                      not(contains($filename, '://'))">
+        <xsl:value-of select="concat($img.src.path, $filename)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$filename"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="realintrinsicwidth">
+    <!-- This funny compound test works around a bug in XSLTC -->
+    <xsl:choose>
+      <xsl:when test="$use.extensions != 0 and $graphicsize.extension != 0">
+        <xsl:choose>
+          <xsl:when test="function-available('simg:getWidth')">
+            <xsl:value-of select="simg:getWidth(simg:new($filename.for.graphicsize),
+                                                $nominal.image.width)"/>
+          </xsl:when>
+          <xsl:when test="function-available('ximg:getWidth')">
+            <xsl:value-of select="ximg:getWidth(ximg:new($filename.for.graphicsize),
+                                                $nominal.image.width)"/>
+          </xsl:when>
+          <xsl:otherwise>
+           <xsl:value-of select="0"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="0"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="intrinsicwidth">
+    <xsl:choose>
+      <xsl:when test="$realintrinsicwidth = 0">
+       <xsl:value-of select="$nominal.image.width"/>
+      </xsl:when>
+      <xsl:otherwise>
+       <xsl:value-of select="$realintrinsicwidth"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="intrinsicdepth">
+    <!-- This funny compound test works around a bug in XSLTC -->
+    <xsl:choose>
+      <xsl:when test="$use.extensions != 0 and $graphicsize.extension != 0">
+        <xsl:choose>
+          <xsl:when test="function-available('simg:getDepth')">
+            <xsl:value-of select="simg:getDepth(simg:new($filename.for.graphicsize),
+                                                $nominal.image.depth)"/>
+          </xsl:when>
+          <xsl:when test="function-available('ximg:getDepth')">
+            <xsl:value-of select="ximg:getDepth(ximg:new($filename.for.graphicsize),
+                                                $nominal.image.depth)"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$nominal.image.depth"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$nominal.image.depth"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="contentwidth">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0"></xsl:when>
+      <xsl:when test="@contentwidth">
+        <xsl:variable name="units">
+          <xsl:call-template name="length-units">
+            <xsl:with-param name="length" select="@contentwidth"/>
+          </xsl:call-template>
+        </xsl:variable>
+
+        <xsl:choose>
+          <xsl:when test="$units = '%'">
+            <xsl:variable name="cmagnitude">
+              <xsl:call-template name="length-magnitude">
+                <xsl:with-param name="length" select="@contentwidth"/>
+              </xsl:call-template>
+            </xsl:variable>
+            <xsl:value-of select="$intrinsicwidth * $cmagnitude div 100.0"/>
+            <xsl:text>px</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="length-spec">
+              <xsl:with-param name="length" select="@contentwidth"/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$intrinsicwidth"/>
+        <xsl:text>px</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="scaled.contentwidth">
+    <xsl:if test="$contentwidth != ''">
+      <xsl:variable name="cwidth.in.points">
+        <xsl:call-template name="length-in-points">
+          <xsl:with-param name="length" select="$contentwidth"/>
+          <xsl:with-param name="pixels.per.inch" select="$pixels.per.inch"/>
+          <xsl:with-param name="em.size" select="$points.per.em"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:value-of select="$cwidth.in.points div 72.0 * $pixels.per.inch * $scale"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="html.width">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0"></xsl:when>
+      <xsl:when test="$width-units = '%'">
+        <xsl:value-of select="$width"/>
+      </xsl:when>
+      <xsl:when test="$width != ''">
+        <xsl:variable name="width.in.points">
+          <xsl:call-template name="length-in-points">
+            <xsl:with-param name="length" select="$width"/>
+            <xsl:with-param name="pixels.per.inch" select="$pixels.per.inch"/>
+            <xsl:with-param name="em.size" select="$points.per.em"/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:value-of select="round($width.in.points div 72.0 * $pixels.per.inch)"/>
+      </xsl:when>
+      <xsl:otherwise></xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="contentdepth">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0"></xsl:when>
+      <xsl:when test="@contentdepth">
+        <xsl:variable name="units">
+          <xsl:call-template name="length-units">
+            <xsl:with-param name="length" select="@contentdepth"/>
+          </xsl:call-template>
+        </xsl:variable>
+
+        <xsl:choose>
+          <xsl:when test="$units = '%'">
+            <xsl:variable name="cmagnitude">
+              <xsl:call-template name="length-magnitude">
+                <xsl:with-param name="length" select="@contentdepth"/>
+              </xsl:call-template>
+            </xsl:variable>
+            <xsl:value-of select="$intrinsicdepth * $cmagnitude div 100.0"/>
+            <xsl:text>px</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="length-spec">
+              <xsl:with-param name="length" select="@contentdepth"/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$intrinsicdepth"/>
+        <xsl:text>px</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="scaled.contentdepth">
+    <xsl:if test="$contentdepth != ''">
+      <xsl:variable name="cdepth.in.points">
+        <xsl:call-template name="length-in-points">
+          <xsl:with-param name="length" select="$contentdepth"/>
+          <xsl:with-param name="pixels.per.inch" select="$pixels.per.inch"/>
+          <xsl:with-param name="em.size" select="$points.per.em"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:value-of select="$cdepth.in.points div 72.0 * $pixels.per.inch * $scale"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="depth-units">
+    <xsl:if test="@depth">
+      <xsl:call-template name="length-units">
+        <xsl:with-param name="length" select="@depth"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="depth">
+    <xsl:if test="@depth">
+      <xsl:choose>
+        <xsl:when test="$depth-units = '%'">
+          <xsl:value-of select="@depth"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="length-spec">
+            <xsl:with-param name="length" select="@depth"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="html.depth">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0"></xsl:when>
+      <xsl:when test="$depth-units = '%'">
+        <xsl:value-of select="$depth"/>
+      </xsl:when>
+      <xsl:when test="@depth and @depth != ''">
+        <xsl:variable name="depth.in.points">
+          <xsl:call-template name="length-in-points">
+            <xsl:with-param name="length" select="$depth"/>
+            <xsl:with-param name="pixels.per.inch" select="$pixels.per.inch"/>
+            <xsl:with-param name="em.size" select="$points.per.em"/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:value-of select="round($depth.in.points div 72.0 * $pixels.per.inch)"/>
+      </xsl:when>
+      <xsl:otherwise></xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="viewport">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0">0</xsl:when>
+      <xsl:when test="local-name(.) = 'inlinegraphic'
+                      or ancestor::inlinemediaobject
+                      or ancestor::inlineequation">0</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$make.graphic.viewport"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+<!--
+  <xsl:message>=====================================
+scale: <xsl:value-of select="$scale"/>, <xsl:value-of select="$scalefit"/>
+ at contentwidth <xsl:value-of select="@contentwidth"/>
+$contentwidth <xsl:value-of select="$contentwidth"/>
+scaled.contentwidth: <xsl:value-of select="$scaled.contentwidth"/>
+ at width: <xsl:value-of select="@width"/>
+width: <xsl:value-of select="$width"/>
+html.width: <xsl:value-of select="$html.width"/>
+ at contentdepth <xsl:value-of select="@contentdepth"/>
+$contentdepth <xsl:value-of select="$contentdepth"/>
+scaled.contentdepth: <xsl:value-of select="$scaled.contentdepth"/>
+ at depth: <xsl:value-of select="@depth"/>
+depth: <xsl:value-of select="$depth"/>
+html.depth: <xsl:value-of select="$html.depth"/>
+align: <xsl:value-of select="@align"/>
+valign: <xsl:value-of select="@valign"/></xsl:message>
+-->
+
+  <xsl:variable name="scaled"
+              select="@width|@depth|@contentwidth|@contentdepth
+                        |@scale|@scalefit"/>
+
+  <xsl:variable name="img">
+    <xsl:choose>
+      <xsl:when test="@format = 'SVG'">
+        <object data="{$output_filename}" type="image/svg+xml">
+          <xsl:call-template name="process.image.attributes">
+            <!--xsl:with-param name="alt" select="$alt"/ there's no alt here-->
+            <xsl:with-param name="html.depth" select="$html.depth"/>
+            <xsl:with-param name="html.width" select="$html.width"/>
+            <xsl:with-param name="longdesc" select="$longdesc"/>
+            <xsl:with-param name="scale" select="$scale"/>
+            <xsl:with-param name="scalefit" select="$scalefit"/>
+            <xsl:with-param name="scaled.contentdepth" select="$scaled.contentdepth"/>
+            <xsl:with-param name="scaled.contentwidth" select="$scaled.contentwidth"/>
+            <xsl:with-param name="viewport" select="$viewport"/>
+          </xsl:call-template>
+          <xsl:if test="@align">
+            <xsl:attribute name="align">
+                <xsl:choose>
+                  <xsl:when test="@align = 'center'">middle</xsl:when>
+                  <xsl:otherwise>
+                    <xsl:value-of select="@align"/>
+                  </xsl:otherwise>
+                </xsl:choose>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:if test="$use.embed.for.svg != 0">
+            <embed src="{$output_filename}" type="image/svg+xml">
+              <xsl:call-template name="process.image.attributes">
+                <!--xsl:with-param name="alt" select="$alt"/ there's no alt here -->
+                <xsl:with-param name="html.depth" select="$html.depth"/>
+                <xsl:with-param name="html.width" select="$html.width"/>
+                <xsl:with-param name="longdesc" select="$longdesc"/>
+                <xsl:with-param name="scale" select="$scale"/>
+                <xsl:with-param name="scalefit" select="$scalefit"/>
+                <xsl:with-param name="scaled.contentdepth" select="$scaled.contentdepth"/>
+                <xsl:with-param name="scaled.contentwidth" select="$scaled.contentwidth"/>
+                <xsl:with-param name="viewport" select="$viewport"/>
+              </xsl:call-template>
+            </embed>
+          </xsl:if>
+        </object>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:element name="{$tag}">
+         <xsl:if test="$tag = 'img' and ../../self::imageobjectco">
+           <xsl:variable name="mapname">
+             <xsl:call-template name="object.id">
+               <xsl:with-param name="object" select="../../areaspec"/>
+             </xsl:call-template>
+           </xsl:variable>
+           <xsl:choose>
+             <xsl:when test="$scaled">
+              <!-- It might be possible to handle some scaling; needs -->
+              <!-- more investigation -->
+              <xsl:message>
+                <xsl:text>Warning: imagemaps not supported </xsl:text>
+                <xsl:text>on scaled images</xsl:text>
+              </xsl:message>
+             </xsl:when>
+             <xsl:otherwise>
+              <xsl:attribute name="border">0</xsl:attribute>
+              <xsl:attribute name="usemap">
+                <xsl:value-of select="concat('#', $mapname)"/>
+              </xsl:attribute>
+             </xsl:otherwise>
+           </xsl:choose>
+         </xsl:if>
+
+          <xsl:attribute name="src">
+           <xsl:choose>
+             <xsl:when test="$img.src.path != '' and
+                           $tag = 'img' and
+                             not(starts-with($output_filename, '/')) and
+                           not(contains($output_filename, '://'))">
+               <xsl:value-of select="$img.src.path"/>
+             </xsl:when>
+           </xsl:choose>
+            <xsl:value-of select="$output_filename"/>
+          </xsl:attribute>
+
+          <xsl:if test="@align">
+            <xsl:attribute name="align">
+              <xsl:choose>
+                <xsl:when test="@align = 'center'">middle</xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="@align"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:attribute>
+          </xsl:if>
+
+          <xsl:call-template name="process.image.attributes">
+            <xsl:with-param name="alt">
+              <xsl:choose>
+                <xsl:when test="$alt != ''">
+                  <xsl:copy-of select="$alt"/>
+                </xsl:when>
+                <xsl:when test="ancestor::figure">
+                  <xsl:value-of select="normalize-space(ancestor::figure/title)"/>
+                </xsl:when>
+              </xsl:choose>
+            </xsl:with-param>
+            <xsl:with-param name="html.depth" select="$html.depth"/>
+            <xsl:with-param name="html.width" select="$html.width"/>
+            <xsl:with-param name="longdesc" select="$longdesc"/>
+            <xsl:with-param name="scale" select="$scale"/>
+            <xsl:with-param name="scalefit" select="$scalefit"/>
+            <xsl:with-param name="scaled.contentdepth" select="$scaled.contentdepth"/>
+            <xsl:with-param name="scaled.contentwidth" select="$scaled.contentwidth"/>
+            <xsl:with-param name="viewport" select="$viewport"/>
+          </xsl:call-template>
+        </xsl:element>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="bgcolor">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="../processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'background-color'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="use.viewport"
+                select="$viewport != 0
+                        and ($html.width != ''
+                             or ($html.depth != '' and $depth-units != '%')
+                             or $bgcolor != ''
+                             or @valign)"/>
+
+  <xsl:choose>
+    <xsl:when test="$use.viewport">
+      <table border="0" summary="manufactured viewport for HTML img"
+             cellspacing="0" cellpadding="0">
+        <xsl:if test="$html.width != ''">
+          <xsl:attribute name="width">
+            <xsl:value-of select="$html.width"/>
+          </xsl:attribute>
+        </xsl:if>
+        <tr>
+          <xsl:if test="$html.depth != '' and $depth-units != '%'">
+            <!-- don't do this for percentages because browsers get confused -->
+            <xsl:choose>
+              <xsl:when test="$css.decoration != 0">
+                <xsl:attribute name="style">
+                  <xsl:text>height: </xsl:text>
+                  <xsl:value-of select="$html.depth"/>
+                  <xsl:text>px</xsl:text>
+                </xsl:attribute>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:attribute name="height">
+                  <xsl:value-of select="$html.depth"/>
+                </xsl:attribute>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:if>
+          <td>
+            <xsl:if test="$bgcolor != ''">
+              <xsl:choose>
+                <xsl:when test="$css.decoration != 0">
+                  <xsl:attribute name="style">
+                    <xsl:text>background-color: </xsl:text>
+                    <xsl:value-of select="$bgcolor"/>
+                  </xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:attribute name="bgcolor">
+                    <xsl:value-of select="$bgcolor"/>
+                  </xsl:attribute>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:if>
+            <xsl:if test="@align">
+              <xsl:attribute name="align">
+                <xsl:value-of select="@align"/>
+              </xsl:attribute>
+            </xsl:if>
+            <xsl:if test="@valign">
+              <xsl:attribute name="valign">
+                <xsl:value-of select="@valign"/>
+              </xsl:attribute>
+            </xsl:if>
+            <xsl:copy-of select="$img"/>
+          </td>
+        </tr>
+      </table>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$img"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:if test="$tag = 'img' and ../../self::imageobjectco and not($scaled)">
+    <xsl:variable name="mapname">
+      <xsl:call-template name="object.id">
+        <xsl:with-param name="object" select="../../areaspec"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <map name="{$mapname}">
+      <xsl:for-each select="../../areaspec//area">
+        <xsl:variable name="units">
+          <xsl:choose>
+            <xsl:when test="@units = 'other' and @otherunits">
+              <xsl:value-of select="@otherunits"/>
+            </xsl:when>
+            <xsl:when test="@units">
+              <xsl:value-of select="@units"/>
+            </xsl:when>
+            <!-- areaspec|areaset/area -->
+            <xsl:when test="../@units = 'other' and ../@otherunits">
+              <xsl:value-of select="../@otherunits"/>
+            </xsl:when>
+            <xsl:when test="../@units">
+              <xsl:value-of select="../@units"/>
+            </xsl:when>
+            <!-- areaspec/areaset/area -->
+            <xsl:when test="../../@units = 'other' and ../../@otherunits">
+              <xsl:value-of select="../@otherunits"/>
+            </xsl:when>
+            <xsl:when test="../../@units">
+              <xsl:value-of select="../../@units"/>
+            </xsl:when>
+            <xsl:otherwise>calspair</xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+ 
+        <xsl:choose>
+          <xsl:when test="$units = 'calspair' or
+                          $units = 'imagemap'">
+            <xsl:variable name="coords" select="normalize-space(@coords)"/>
+
+            <area shape="rect">
+              <xsl:variable name="linkends">
+                <xsl:choose>
+                  <xsl:when test="@linkends">
+                    <xsl:value-of select="normalize-space(@linkends)"/>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <xsl:value-of select="normalize-space(../@linkends)"/>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </xsl:variable>
+ 
+              <xsl:variable name="href">
+                <xsl:choose>
+                  <xsl:when test="@xlink:href">
+                    <xsl:value-of select="@xlink:href"/>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <xsl:value-of select="../@xlink:href"/>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </xsl:variable>
+ 
+              <xsl:choose>
+                <xsl:when test="$linkends != ''">
+                  <xsl:variable name="linkend">
+                    <xsl:choose>
+                      <xsl:when test="contains($linkends, ' ')">
+                        <xsl:value-of select="substring-before($linkends, ' ')"/>
+                      </xsl:when>
+                      <xsl:otherwise>
+                        <xsl:value-of select="$linkends"/>
+                      </xsl:otherwise>
+                    </xsl:choose>
+                  </xsl:variable>
+                  
+                  <xsl:variable name="target" select="key('id', $linkend)[1]"/>
+                 
+                  <xsl:if test="$target">
+                    <xsl:attribute name="href">
+                      <xsl:call-template name="href.target">
+                        <xsl:with-param name="object" select="$target"/>
+                      </xsl:call-template>
+                    </xsl:attribute>
+                  </xsl:if>
+                </xsl:when>
+                <xsl:when test="$href != ''">
+                  <xsl:attribute name="href">
+                    <xsl:value-of select="$href"/>
+                  </xsl:attribute>
+                </xsl:when>
+              </xsl:choose>
+ 
+              <xsl:if test="alt">
+                <xsl:attribute name="alt">
+                  <xsl:value-of select="alt[1]"/>
+                </xsl:attribute>
+              </xsl:if>
+ 
+              <xsl:attribute name="coords">
+                <xsl:choose>
+                  <xsl:when test="$units = 'calspair'">
+
+                    <xsl:variable name="p1"
+                                select="substring-before($coords, ' ')"/>
+                    <xsl:variable name="p2"
+                                select="substring-after($coords, ' ')"/>
+         
+                    <xsl:variable name="x1" select="substring-before($p1,',')"/>
+                    <xsl:variable name="y1" select="substring-after($p1,',')"/>
+                    <xsl:variable name="x2" select="substring-before($p2,',')"/>
+                    <xsl:variable name="y2" select="substring-after($p2,',')"/>
+         
+                    <xsl:variable name="x1p" select="$x1 div 100.0"/>
+                    <xsl:variable name="y1p" select="$y1 div 100.0"/>
+                    <xsl:variable name="x2p" select="$x2 div 100.0"/>
+                    <xsl:variable name="y2p" select="$y2 div 100.0"/>
+         
+         <!--
+                    <xsl:message>
+                      <xsl:text>units: </xsl:text>
+                      <xsl:value-of select="$units"/>
+                      <xsl:text> </xsl:text>
+                      <xsl:value-of select="$x1p"/><xsl:text>, </xsl:text>
+                      <xsl:value-of select="$y1p"/><xsl:text>, </xsl:text>
+                      <xsl:value-of select="$x2p"/><xsl:text>, </xsl:text>
+                      <xsl:value-of select="$y2p"/><xsl:text>, </xsl:text>
+                    </xsl:message>
+         
+                    <xsl:message>
+                      <xsl:text>      </xsl:text>
+                      <xsl:value-of select="$intrinsicwidth"/>
+                      <xsl:text>, </xsl:text>
+                      <xsl:value-of select="$intrinsicdepth"/>
+                    </xsl:message>
+         
+                    <xsl:message>
+                      <xsl:text>      </xsl:text>
+                      <xsl:value-of select="$units"/>
+                      <xsl:text> </xsl:text>
+                      <xsl:value-of 
+                            select="round($x1p * $intrinsicwidth div 100.0)"/>
+                      <xsl:text>,</xsl:text>
+                      <xsl:value-of select="round($intrinsicdepth
+                                       - ($y2p * $intrinsicdepth div 100.0))"/>
+                      <xsl:text>,</xsl:text>
+                      <xsl:value-of select="round($x2p * 
+                                            $intrinsicwidth div 100.0)"/>
+                      <xsl:text>,</xsl:text>
+                      <xsl:value-of select="round($intrinsicdepth
+                                       - ($y1p * $intrinsicdepth div 100.0))"/>
+                    </xsl:message>
+         -->
+                    <xsl:value-of 
+                             select="round($x1p * $intrinsicwidth div 100.0)"/>
+                    <xsl:text>,</xsl:text>
+                    <xsl:value-of select="round($intrinsicdepth
+                                        - ($y2p * $intrinsicdepth div 100.0))"/>
+                    <xsl:text>,</xsl:text>
+                    <xsl:value-of 
+                             select="round($x2p * $intrinsicwidth div 100.0)"/>
+                    <xsl:text>,</xsl:text>
+                    <xsl:value-of select="round($intrinsicdepth
+                                      - ($y1p * $intrinsicdepth div 100.0))"/>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <xsl:copy-of select="$coords"/>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </xsl:attribute>
+            </area>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:message>
+              <xsl:text>Warning: only calspair or </xsl:text>
+              <xsl:text>otherunits='imagemap' supported </xsl:text>
+              <xsl:text>in imageobjectco</xsl:text>
+            </xsl:message>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:for-each>
+    </map>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="process.image.attributes">
+  <xsl:param name="alt"/>
+  <xsl:param name="html.width"/>
+  <xsl:param name="html.depth"/>
+  <xsl:param name="longdesc"/>
+  <xsl:param name="scale"/>
+  <xsl:param name="scalefit"/>
+  <xsl:param name="scaled.contentdepth"/>
+  <xsl:param name="scaled.contentwidth"/>
+  <xsl:param name="viewport"/>
+
+  <xsl:choose>
+    <xsl:when test="@contentwidth or @contentdepth">
+      <!-- ignore @width/@depth, @scale, and @scalefit if specified -->
+      <xsl:if test="@contentwidth">
+        <xsl:attribute name="width">
+          <xsl:value-of select="$scaled.contentwidth"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="@contentdepth">
+        <xsl:attribute name="height">
+          <xsl:value-of select="$scaled.contentdepth"/>
+        </xsl:attribute>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="number($scale) != 1.0">
+      <!-- scaling is always uniform, so we only have to specify one dimension -->
+      <!-- ignore @scalefit if specified -->
+      <xsl:attribute name="width">
+        <xsl:value-of select="$scaled.contentwidth"/>
+      </xsl:attribute>
+    </xsl:when>
+
+    <xsl:when test="$scalefit != 0">
+      <xsl:choose>
+        <xsl:when test="contains($html.width, '%')">
+          <xsl:choose>
+            <xsl:when test="$viewport != 0">
+              <!-- The *viewport* will be scaled, so use 100% here! -->
+              <xsl:attribute name="width">
+                <xsl:value-of select="'100%'"/>
+              </xsl:attribute>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:attribute name="width">
+                <xsl:value-of select="$html.width"/>
+              </xsl:attribute>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+
+        <xsl:when test="contains($html.depth, '%')">
+          <!-- HTML doesn't deal with this case very well...do nothing -->
+        </xsl:when>
+
+        <xsl:when test="$scaled.contentwidth != '' and $html.width != ''
+                        and $scaled.contentdepth != '' and $html.depth != ''">
+          <!-- scalefit should not be anamorphic; figure out which direction -->
+          <!-- has the limiting scale factor and scale in that direction -->
+          <xsl:choose>
+            <xsl:when test="$html.width div $scaled.contentwidth &gt;
+                            $html.depth div $scaled.contentdepth">
+              <xsl:attribute name="height">
+                <xsl:value-of select="$html.depth"/>
+              </xsl:attribute>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:attribute name="width">
+                <xsl:value-of select="$html.width"/>
+              </xsl:attribute>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+
+        <xsl:when test="$scaled.contentwidth != '' and $html.width != ''">
+          <xsl:attribute name="width">
+            <xsl:value-of select="$html.width"/>
+          </xsl:attribute>
+        </xsl:when>
+
+        <xsl:when test="$scaled.contentdepth != '' and $html.depth != ''">
+          <xsl:attribute name="height">
+            <xsl:value-of select="$html.depth"/>
+          </xsl:attribute>
+        </xsl:when>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:if test="$alt != ''">
+    <xsl:attribute name="alt">
+      <xsl:value-of select="normalize-space($alt)"/>
+    </xsl:attribute>
+  </xsl:if>
+
+  <xsl:if test="$longdesc != ''">
+    <xsl:attribute name="longdesc">
+      <xsl:value-of select="$longdesc"/>
+    </xsl:attribute>
+  </xsl:if>
+
+  <xsl:if test="@align and $viewport = 0">
+    <xsl:attribute name="align">
+      <xsl:choose>
+        <xsl:when test="@align = 'center'">middle</xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="@align"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="graphic">
+  <xsl:choose>
+    <xsl:when test="parent::inlineequation">
+      <xsl:call-template name="anchor"/>
+      <xsl:call-template name="process.image"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <div>
+        <xsl:if test="@align">
+          <xsl:attribute name="align">
+            <xsl:value-of select="@align"/>
+          </xsl:attribute>
+        </xsl:if>
+        <xsl:call-template name="anchor"/>
+        <xsl:call-template name="process.image"/>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="inlinegraphic">
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="@entityref">
+        <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="@fileref"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="anchor"/>
+
+  <xsl:choose>
+    <xsl:when test="@format='linespecific'">
+      <xsl:choose>
+        <xsl:when test="$use.extensions != '0'
+                        and $textinsert.extension != '0'">
+          <xsl:choose>
+            <xsl:when test="element-available('stext:insertfile')">
+              <stext:insertfile href="{$filename}" encoding="{$textdata.default.encoding}"/>
+            </xsl:when>
+            <xsl:when test="element-available('xtext:insertfile')">
+              <xtext:insertfile href="{$filename}"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message terminate="yes">
+                <xsl:text>No insertfile extension available.</xsl:text>
+              </xsl:message>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
+             href="{$filename}"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="process.image"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="mediaobject|mediaobjectco">
+
+  <xsl:variable name="olist" select="imageobject|imageobjectco
+                     |videoobject|audioobject
+                     |textobject"/>
+
+  <xsl:variable name="object.index">
+    <xsl:call-template name="select.mediaobject.index">
+      <xsl:with-param name="olist" select="$olist"/>
+      <xsl:with-param name="count" select="1"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="object" select="$olist[position() = $object.index]"/>
+
+  <xsl:variable name="align">
+    <xsl:value-of select="$object/descendant::imagedata[@align][1]/@align"/>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$align != '' ">
+      <xsl:attribute name="align">
+        <xsl:value-of select="$align"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:apply-templates select="$object"/>
+    <xsl:apply-templates select="caption"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="inlinemediaobject">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="select.mediaobject"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="programlisting/inlinemediaobject
+                     |screen/inlinemediaobject" priority="2">
+  <!-- the additional span causes problems in some cases -->
+  <xsl:call-template name="select.mediaobject"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="imageobjectco">
+  <xsl:call-template name="anchor"/>
+  <xsl:apply-templates select="imageobject"/>
+  <xsl:apply-templates select="calloutlist"/>
+</xsl:template>
+
+<xsl:template match="imageobject">
+  <xsl:choose>
+    <xsl:when xmlns:svg="http://www.w3.org/2000/svg"
+              test="svg:*">
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="imagedata"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="imagedata">
+  <xsl:variable name="filename">
+    <xsl:call-template name="mediaobject.filename">
+      <xsl:with-param name="object" select=".."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="@format='linespecific'">
+      <xsl:choose>
+        <xsl:when test="$use.extensions != '0'
+                        and $textinsert.extension != '0'">
+          <xsl:choose>
+            <xsl:when test="element-available('stext:insertfile')">
+              <stext:insertfile href="{$filename}" encoding="{$textdata.default.encoding}"/>
+            </xsl:when>
+            <xsl:when test="element-available('xtext:insertfile')">
+              <xtext:insertfile href="{$filename}"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message terminate="yes">
+                <xsl:text>No insertfile extension available.</xsl:text>
+              </xsl:message>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
+             href="{$filename}"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="longdesc.uri">
+        <xsl:call-template name="longdesc.uri">
+          <xsl:with-param name="mediaobject"
+                          select="ancestor::imageobject/parent::*"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="phrases"
+                    select="ancestor::mediaobject/textobject[phrase]
+                            |ancestor::inlinemediaobject/textobject[phrase]
+                            |ancestor::mediaobjectco/textobject[phrase]"/>
+
+      <xsl:call-template name="process.image">
+        <xsl:with-param name="alt">
+          <xsl:apply-templates select="$phrases[not(@role) or @role!='tex'][1]"/>
+        </xsl:with-param>
+        <xsl:with-param name="longdesc">
+          <xsl:call-template name="write.longdesc">
+            <xsl:with-param name="mediaobject"
+                            select="ancestor::imageobject/parent::*"/>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:call-template>
+
+      <xsl:if test="$html.longdesc != 0 and $html.longdesc.link != 0
+                    and ancestor::imageobject/parent::*/textobject[not(phrase)]">
+        <xsl:call-template name="longdesc.link">
+          <xsl:with-param name="longdesc.uri" select="$longdesc.uri"/>
+        </xsl:call-template>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="longdesc.uri">
+  <xsl:param name="mediaobject" select="."/>
+
+  <xsl:if test="$html.longdesc">
+    <xsl:if test="$mediaobject/textobject[not(phrase)]">
+      <xsl:variable name="image-id">
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select="$mediaobject"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:variable name="dbhtml.dir">
+        <xsl:call-template name="dbhtml-dir"/>
+      </xsl:variable>
+      <xsl:variable name="filename">
+        <xsl:call-template name="make-relative-filename">
+          <xsl:with-param name="base.dir">
+            <xsl:choose>
+              <xsl:when test="$dbhtml.dir != ''">
+                <xsl:value-of select="$dbhtml.dir"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select="$base.dir"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+          <xsl:with-param name="base.name"
+                          select="concat('ld-',$image-id,$html.ext)"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:value-of select="$filename"/>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="write.longdesc">
+  <xsl:param name="mediaobject" select="."/>
+  <xsl:if test="$html.longdesc != 0 and $mediaobject/textobject[not(phrase)]">
+    <xsl:variable name="filename">
+      <xsl:call-template name="longdesc.uri">
+        <xsl:with-param name="mediaobject" select="$mediaobject"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:value-of select="$filename"/>
+
+    <xsl:call-template name="write.chunk">
+      <xsl:with-param name="filename" select="$filename"/>
+      <xsl:with-param name="quiet" select="$chunk.quietly"/>
+      <xsl:with-param name="content">
+      <xsl:call-template name="user.preroot"/>
+        <html>
+          <head>
+            <xsl:call-template name="system.head.content"/>
+            <xsl:call-template name="head.content">
+              <xsl:with-param name="title" select="'Long Description'"/>
+            </xsl:call-template>
+            <xsl:call-template name="user.head.content"/>
+          </head>
+          <body>
+            <xsl:call-template name="body.attributes"/>
+            <xsl:for-each select="$mediaobject/textobject[not(phrase)]">
+              <xsl:apply-templates select="./*"/>
+            </xsl:for-each>
+          </body>
+        </html>
+        <xsl:value-of select="$chunk.append"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="longdesc.link">
+  <xsl:param name="longdesc.uri" select="''"/>
+
+  <xsl:variable name="this.uri">
+    <xsl:call-template name="make-relative-filename">
+      <xsl:with-param name="base.dir" select="$base.dir"/>
+      <xsl:with-param name="base.name">
+        <xsl:call-template name="href.target.uri"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="href.to">
+    <xsl:call-template name="trim.common.uri.paths">
+      <xsl:with-param name="uriA" select="$longdesc.uri"/>
+      <xsl:with-param name="uriB" select="$this.uri"/>
+      <xsl:with-param name="return" select="'A'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <div class="longdesc-link" align="right">
+    <br clear="all"/>
+    <span class="longdesc-link">
+      <xsl:text>[</xsl:text>
+      <a href="{$href.to}" target="longdesc">D</a>
+      <xsl:text>]</xsl:text>
+    </span>
+  </div>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="videoobject">
+  <xsl:apply-templates select="videodata"/>
+</xsl:template>
+
+<xsl:template match="videodata">
+  <xsl:call-template name="process.image">
+    <xsl:with-param name="tag" select="'embed'"/>
+    <xsl:with-param name="alt">
+      <xsl:apply-templates select="(../../textobject/phrase)[1]"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="audioobject">
+  <xsl:apply-templates select="audiodata"/>
+</xsl:template>
+
+<xsl:template match="audiodata">
+  <xsl:call-template name="process.image">
+    <xsl:with-param name="tag" select="'embed'"/>
+    <xsl:with-param name="alt">
+      <xsl:apply-templates select="(../../textobject/phrase)[1]"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="textobject">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="textdata">
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="@entityref">
+        <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="@fileref"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="encoding">
+    <xsl:choose>
+      <xsl:when test="@encoding">
+        <xsl:value-of select="@encoding"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$textdata.default.encoding"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$use.extensions != '0'
+                    and $textinsert.extension != '0'">
+      <xsl:choose>
+        <xsl:when test="element-available('stext:insertfile')">
+          <stext:insertfile href="{$filename}" encoding="{$encoding}"/>
+        </xsl:when>
+        <xsl:when test="element-available('xtext:insertfile')">
+          <xtext:insertfile href="{$filename}"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message terminate="yes">
+            <xsl:text>No insertfile extension available.</xsl:text>
+          </xsl:message>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"
+         href="{$filename}"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="caption">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="@align = 'right' or @align = 'left' or @align='center'">
+      <xsl:attribute name="align"><xsl:value-of
+                         select="@align"/></xsl:attribute>
+    </xsl:if>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- "Support" for SVG -->
+
+<xsl:template match="svg:*" xmlns:svg="http://www.w3.org/2000/svg">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates/>
+  </xsl:copy>
+</xsl:template>
+
+
+<!-- The following works sometimes, but needs to take into account
+             1. When there is no /*/@xml:base
+             2. When the chunks are going somewhere else
+<xsl:variable name="relpath">
+  <xsl:call-template name="relative-uri">
+    <xsl:with-param name="filename" select="@fileref"/>
+  </xsl:call-template>
+</xsl:variable>
+
+<xsl:choose>
+  <xsl:when test="/*/@xml:base
+                  and starts-with($relpath,/*/@xml:base)">
+    <xsl:value-of select="substring-after($relpath,/*/@xml:base)"/>
+  </xsl:when>
+  <xsl:otherwise>
+    <xsl:value-of select="@fileref"/>
+  </xsl:otherwise>
+</xsl:choose>
+<xsl:value-of select="@fileref"/>
+      </xsl:when>
+-->
+<!-- Resolve xml:base attributes -->
+<xsl:template match="@fileref">
+  <!-- need a check for absolute urls -->
+  <xsl:choose>
+    <xsl:when test="contains(., ':')">
+      <!-- it has a uri scheme so it is an absolute uri -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:when test="$keep.relative.image.uris != 0">
+      <!-- leave it alone -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- its a relative uri that needs xml:base processing -->
+      <xsl:call-template name="relative-uri">
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/highlight.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/highlight.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/highlight.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,55 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		xmlns:xslthl="http://xslthl.sf.net"
+                exclude-result-prefixes="xslthl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: inline.xsl 5953 2006-05-08 04:23:10Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match='xslthl:keyword'>
+  <b class="hl-keyword"><xsl:apply-templates/></b>
+</xsl:template>
+
+<xsl:template match='xslthl:string'>
+  <b class="hl-string"><i><font color='red'><xsl:apply-templates/></font></i></b>
+</xsl:template>
+
+<xsl:template match='xslthl:comment'>
+  <i class="hl-comment"><font color='silver'><xsl:apply-templates/></font></i>
+</xsl:template>
+
+<xsl:template match='xslthl:tag'>
+  <b class="hl-tag"><font color='blue'><xsl:apply-templates/></font></b>
+</xsl:template>
+
+<xsl:template match='xslthl:attribute'>
+  <span class="hl-attribute"><font color='blue'><xsl:apply-templates/></font></span>
+</xsl:template>
+
+<xsl:template match='xslthl:value'>
+  <span class="hl-value"><font color='blue'><xsl:apply-templates/></font></span>
+</xsl:template>
+
+<xsl:template match='xslthl:html'>
+  <b><i><font color='red'><xsl:apply-templates/></font></i></b>
+</xsl:template>
+
+<xsl:template match='xslthl:xslt'>
+  <b><font color='blue'><xsl:apply-templates/></font></b>
+</xsl:template>
+
+<xsl:template match='xslthl:section'>
+  <b><xsl:apply-templates/></b>
+</xsl:template>
+
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/html/html-rtf.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/html-rtf.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/html-rtf.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,336 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:set="http://exslt.org/sets"
+                exclude-result-prefixes="exsl set"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: html-rtf.xsl 6403 2006-11-12 08:23:54Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- This module contains templates that match against HTML nodes. It is used
+     to post-process result tree fragments for some sorts of cleanup.
+     These templates can only ever be fired by a processor that supports
+     exslt:node-set(). -->
+
+<!-- ==================================================================== -->
+
+<!-- insert.html.p mode templates insert a particular RTF at the beginning
+     of the first paragraph in the primary RTF. -->
+
+<xsl:template match="/" mode="insert.html.p">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:apply-templates mode="insert.html.p">
+    <xsl:with-param name="mark" select="$mark"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.html.p">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="insert.html.p">
+      <xsl:with-param name="mark" select="$mark"/>
+    </xsl:apply-templates>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template xmlns:html="http://www.w3.org/1999/xhtml"
+              match="html:p|p" mode="insert.html.p">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:if test="not(preceding::p|preceding::html:p)">
+      <xsl:copy-of select="$mark"/>
+    </xsl:if>
+    <xsl:apply-templates mode="insert.html.p">
+      <xsl:with-param name="mark" select="$mark"/>
+    </xsl:apply-templates>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="text()|processing-instruction()|comment()" mode="insert.html.p">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- insert.html.text mode templates insert a particular RTF at the beginning
+     of the first text-node in the primary RTF. -->
+
+<xsl:template match="/" mode="insert.html.text">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:apply-templates mode="insert.html.text">
+    <xsl:with-param name="mark" select="$mark"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.html.text">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="insert.html.text">
+      <xsl:with-param name="mark" select="$mark"/>
+    </xsl:apply-templates>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="text()|processing-instruction()|comment()" mode="insert.html.text">
+  <xsl:param name="mark" select="'?'"/>
+
+  <xsl:if test="not(preceding::text())">
+    <xsl:copy-of select="$mark"/>
+  </xsl:if>
+
+  <xsl:copy/>
+</xsl:template>
+
+<xsl:template match="processing-instruction()|comment()" mode="insert.html.text">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- unwrap.p mode templates remove blocks from HTML p elements (and
+     other places where blocks aren't allowed) -->
+
+<xsl:template name="unwrap.p">
+  <xsl:param name="p"/>
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set')
+                    and function-available('set:leading')
+                    and function-available('set:trailing')">
+      <xsl:apply-templates select="exsl:node-set($p)" mode="unwrap.p"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$p"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template xmlns:html="http://www.w3.org/1999/xhtml"
+              match="html:p|p" mode="unwrap.p">
+  <!-- xmlns:html is necessary for the xhtml stylesheet case -->
+  <xsl:variable name="blocks" xmlns:html="http://www.w3.org/1999/xhtml"
+                select="address|blockquote|div|hr|h1|h2|h3|h4|h5|h6
+                        |layer|p|pre|table|dl|menu|ol|ul|form
+                        |html:address|html:blockquote|html:div|html:hr
+                        |html:h1|html:h2|html:h3|html:h4|html:h5|html:h6
+                        |html:layer|html:p|html:pre|html:table|html:dl
+                        |html:menu|html:ol|html:ul|html:form"/>
+  <xsl:choose>
+    <xsl:when test="$blocks">
+      <xsl:call-template name="unwrap.p.nodes">
+        <xsl:with-param name="wrap" select="."/>
+        <xsl:with-param name="first" select="1"/>
+        <xsl:with-param name="nodes" select="node()"/>
+        <xsl:with-param name="blocks" select="$blocks"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy>
+        <xsl:copy-of select="@*"/>
+        <xsl:apply-templates mode="unwrap.p"/>
+      </xsl:copy>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="unwrap.p">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="unwrap.p"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="text()|processing-instruction()|comment()" mode="unwrap.p">
+  <xsl:copy/>
+</xsl:template>
+
+<xsl:template name="unwrap.p.nodes">
+  <xsl:param name="wrap" select="."/>
+  <xsl:param name="first" select="0"/>
+  <xsl:param name="nodes"/>
+  <xsl:param name="blocks"/>
+  <xsl:variable name="block" select="$blocks[1]"/>
+
+  <!-- This template should never get called if these functions aren't available -->
+  <!-- but this test is still necessary so that processors don't choke on the -->
+  <!-- function calls if they don't support the set: functions -->
+  <xsl:if test="function-available('set:leading')
+                and function-available('set:trailing')">
+    <xsl:choose>
+      <xsl:when test="$blocks">
+        <xsl:variable name="leading" select="set:leading($nodes,$block)"/>
+        <xsl:variable name="trailing" select="set:trailing($nodes,$block)"/>
+
+        <xsl:if test="(($wrap/@id or $wrap/@xml:id) 
+                        and $first = 1) or $leading">
+          <xsl:element name="{local-name($wrap)}" namespace="{namespace-uri($wrap)}">
+            <xsl:for-each select="$wrap/@*">
+              <xsl:if test="$first != 0 or local-name(.) != 'id'">
+                <xsl:copy/>
+              </xsl:if>
+            </xsl:for-each>
+            <xsl:apply-templates select="$leading" mode="unwrap.p"/>
+          </xsl:element>
+        </xsl:if>
+
+        <xsl:apply-templates select="$block" mode="unwrap.p"/>
+
+        <xsl:if test="$trailing">
+          <xsl:call-template name="unwrap.p.nodes">
+            <xsl:with-param name="wrap" select="$wrap"/>
+            <xsl:with-param name="nodes" select="$trailing"/>
+            <xsl:with-param name="blocks" select="$blocks[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:if>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <xsl:if test="(($wrap/@id or $wrap/@xml:id) and $first = 1) or $nodes">
+          <xsl:element name="{local-name($wrap)}" namespace="{namespace-uri($wrap)}">
+            <xsl:for-each select="$wrap/@*">
+              <xsl:if test="$first != 0 or local-name(.) != 'id'">
+                <xsl:copy/>
+              </xsl:if>
+            </xsl:for-each>
+            <xsl:apply-templates select="$nodes" mode="unwrap.p"/>
+          </xsl:element>
+        </xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- make.verbatim.mode replaces spaces and newlines -->
+
+<xsl:template match="/" mode="make.verbatim.mode">
+  <xsl:apply-templates mode="make.verbatim.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="make.verbatim.mode">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="make.verbatim.mode"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="processing-instruction()|comment()" mode="make.verbatim.mode">
+  <xsl:copy/>
+</xsl:template>
+
+<xsl:template match="text()" mode="make.verbatim.mode">
+  <xsl:variable name="text" select="translate(., ' ', '&#160;')"/>
+
+  <xsl:choose>
+    <xsl:when test="not(contains($text, '&#xA;'))">
+      <xsl:value-of select="$text"/>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:variable name="len" select="string-length($text)"/>
+
+      <xsl:choose>
+        <xsl:when test="$len = 1">
+          <br/><xsl:text>&#xA;</xsl:text>
+        </xsl:when>
+
+        <xsl:otherwise>
+          <xsl:variable name="half" select="$len div 2"/>
+          <xsl:call-template name="make-verbatim-recursive">
+            <xsl:with-param name="text" select="substring($text, 1, $half)"/>
+          </xsl:call-template>
+          <xsl:call-template name="make-verbatim-recursive">
+            <xsl:with-param name="text"
+                            select="substring($text, ($half + 1), $len)"/>
+          </xsl:call-template>
+    	</xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="make-verbatim-recursive">
+  <xsl:param name="text" select="''"/>
+
+  <xsl:choose>
+    <xsl:when test="not(contains($text, '&#xA;'))">
+      <xsl:value-of select="$text"/>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:variable name="len" select="string-length($text)"/>
+
+      <xsl:choose>
+        <xsl:when test="$len = 1">
+          <br/><xsl:text>&#xA;</xsl:text>
+        </xsl:when>
+
+        <xsl:otherwise>
+    	  <xsl:variable name="half" select="$len div 2"/>
+          <xsl:call-template name="make-verbatim-recursive">
+    	    <xsl:with-param name="text" select="substring($text, 1, $half)"/>
+    	  </xsl:call-template>
+    	  <xsl:call-template name="make-verbatim-recursive">
+    	    <xsl:with-param name="text"
+    			    select="substring($text, ($half + 1), $len)"/>
+    	  </xsl:call-template>
+    	</xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- remove.empty.div mode templates remove empty blocks -->
+
+<xsl:template name="remove.empty.div">
+  <xsl:param name="div"/>
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set')">
+      <xsl:apply-templates select="exsl:node-set($div)" mode="remove.empty.div"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$div"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template xmlns:html="http://www.w3.org/1999/xhtml"
+              match="html:p|p|html:div|div" mode="remove.empty.div">
+  <xsl:if test="node()">
+    <xsl:copy>
+      <xsl:copy-of select="@*"/>
+      <xsl:apply-templates mode="remove.empty.div"/>
+    </xsl:copy>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="*" mode="remove.empty.div">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="remove.empty.div"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="text()|processing-instruction()|comment()" mode="remove.empty.div">
+  <xsl:copy/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/html.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/html.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/html.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,232 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: html.xsl 6435 2006-11-18 09:13:40Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- The generate.html.title template is currently used for generating HTML -->
+<!-- "title" attributes for some inline elements only, but not for any -->
+<!-- block elements. It is called in eleven places in the inline.xsl -->
+<!-- file. But it's called by all the inline.* templates (e.g., -->
+<!-- inline.boldseq), which in turn are called by other (element) -->
+<!-- templates, so it results, currently, in supporting generation of the -->
+<!-- HTML "title" attribute for a total of about 92 elements. -->
+<!-- You can use mode="html.title.attribute" to get a title for -->
+<!-- an element specified by a param, including targets of cross references. -->
+<xsl:template name="generate.html.title">
+  <xsl:apply-templates select="." mode="html.title.attribute"/>
+</xsl:template>
+
+<!-- Generate a title attribute for the context node -->
+<xsl:template match="*" mode="html.title.attribute">
+  <xsl:variable name="is.title">
+    <xsl:call-template name="gentext.template.exists">
+      <xsl:with-param name="context" select="'title'"/>
+      <xsl:with-param name="name" select="local-name(.)"/>
+      <xsl:with-param name="lang">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="is.title-numbered">
+    <xsl:call-template name="gentext.template.exists">
+      <xsl:with-param name="context" select="'title-numbered'"/>
+      <xsl:with-param name="name" select="local-name(.)"/>
+      <xsl:with-param name="lang">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="is.title-unnumbered">
+    <xsl:call-template name="gentext.template.exists">
+      <xsl:with-param name="context" select="'title-unnumbered'"/>
+      <xsl:with-param name="name" select="local-name(.)"/>
+      <xsl:with-param name="lang">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="gentext.title">
+    <xsl:if test="$is.title != 0 or
+                  $is.title-numbered != 0 or
+                  $is.title-unnumbered != 0">
+      <xsl:apply-templates select="."
+                           mode="object.title.markup.textonly"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="string-length($gentext.title) != 0">
+      <xsl:attribute name="title">
+        <xsl:value-of select="$gentext.title"/>
+      </xsl:attribute>
+    </xsl:when>
+    <!-- Fall back to alt if available -->
+    <xsl:when test="alt">
+      <xsl:attribute name="title">
+        <xsl:value-of select="normalize-space(alt)"/>
+      </xsl:attribute>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="dir">
+  <xsl:param name="inherit" select="0"/>
+
+  <xsl:variable name="dir">
+    <xsl:choose>
+      <xsl:when test="@dir">
+        <xsl:value-of select="@dir"/>
+      </xsl:when>
+      <xsl:when test="$inherit != 0">
+        <xsl:value-of select="ancestor::*/@dir[1]"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:if test="$dir != ''">
+    <xsl:attribute name="dir">
+      <xsl:value-of select="$dir"/>
+    </xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="anchor">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="conditional" select="1"/>
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$node"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:if test="$conditional = 0 or $node/@id or $node/@xml:id">
+    <a name="{$id}"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="href.target.uri">
+  <xsl:param name="context" select="."/>
+  <xsl:param name="object" select="."/>
+  <xsl:text>#</xsl:text>
+  <xsl:call-template name="object.id">
+    <xsl:with-param name="object" select="$object"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="href.target">
+  <xsl:param name="context" select="."/>
+  <xsl:param name="object" select="."/>
+  <xsl:text>#</xsl:text>
+  <xsl:call-template name="object.id">
+    <xsl:with-param name="object" select="$object"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="href.target.with.base.dir">
+  <xsl:param name="context" select="."/>
+  <xsl:param name="object" select="."/>
+  <xsl:if test="$manifest.in.base.dir = 0">
+    <xsl:value-of select="$base.dir"/>
+  </xsl:if>
+  <xsl:call-template name="href.target">
+    <xsl:with-param name="context" select="$context"/>
+    <xsl:with-param name="object" select="$object"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="dingbat">
+  <xsl:param name="dingbat">bullet</xsl:param>
+  <xsl:call-template name="dingbat.characters">
+    <xsl:with-param name="dingbat" select="$dingbat"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="dingbat.characters">
+  <!-- now that I'm using the real serializer, all that dingbat malarky -->
+  <!-- isn't necessary anymore... -->
+  <xsl:param name="dingbat">bullet</xsl:param>
+  <xsl:choose>
+    <xsl:when test="$dingbat='bullet'">&#x2022;</xsl:when>
+    <xsl:when test="$dingbat='copyright'">&#x00A9;</xsl:when>
+    <xsl:when test="$dingbat='trademark'">&#x2122;</xsl:when>
+    <xsl:when test="$dingbat='trade'">&#x2122;</xsl:when>
+    <xsl:when test="$dingbat='registered'">&#x00AE;</xsl:when>
+    <xsl:when test="$dingbat='service'">(SM)</xsl:when>
+    <xsl:when test="$dingbat='nbsp'">&#x00A0;</xsl:when>
+    <xsl:when test="$dingbat='ldquo'">&#x201C;</xsl:when>
+    <xsl:when test="$dingbat='rdquo'">&#x201D;</xsl:when>
+    <xsl:when test="$dingbat='lsquo'">&#x2018;</xsl:when>
+    <xsl:when test="$dingbat='rsquo'">&#x2019;</xsl:when>
+    <xsl:when test="$dingbat='em-dash'">&#x2014;</xsl:when>
+    <xsl:when test="$dingbat='mdash'">&#x2014;</xsl:when>
+    <xsl:when test="$dingbat='en-dash'">&#x2013;</xsl:when>
+    <xsl:when test="$dingbat='ndash'">&#x2013;</xsl:when>
+    <xsl:otherwise>
+      <xsl:text>&#x2022;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="id.warning">
+  <xsl:if test="$id.warnings != 0 and not(@id) and not(@xml:id) and parent::*">
+    <xsl:variable name="title">
+      <xsl:choose>
+        <xsl:when test="title">
+          <xsl:value-of select="title[1]"/>
+        </xsl:when>
+        <xsl:when test="substring(local-name(*[1]),
+                                  string-length(local-name(*[1])-3) = 'info')
+                        and *[1]/title">
+          <xsl:value-of select="*[1]/title[1]"/>
+        </xsl:when>
+        <xsl:when test="refmeta/refentrytitle">
+          <xsl:value-of select="refmeta/refentrytitle"/>
+        </xsl:when>
+        <xsl:when test="refnamediv/refname">
+          <xsl:value-of select="refnamediv/refname[1]"/>
+        </xsl:when>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:message>
+      <xsl:text>ID recommended on </xsl:text>
+      <xsl:value-of select="local-name(.)"/>
+      <xsl:if test="$title != ''">
+        <xsl:text>: </xsl:text>
+        <xsl:choose>
+          <xsl:when test="string-length($title) &gt; 40">
+            <xsl:value-of select="substring($title,1,40)"/>
+            <xsl:text>...</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$title"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:if>
+    </xsl:message>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="*" mode="class.attribute">
+  <xsl:param name="class" select="local-name(.)"/>
+  <!-- permit customization of class attributes -->
+  <!-- Use element name by default -->
+  <xsl:attribute name="class">
+    <xsl:value-of select="$class"/>
+  </xsl:attribute>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/html/htmltbl.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/htmltbl.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/htmltbl.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: htmltbl.xsl 3202 2003-11-30 19:42:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="colgroup" mode="htmlTable">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="htmlTable"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="col" mode="htmlTable">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="caption" mode="htmlTable">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+
+    <xsl:apply-templates select=".." mode="object.title.markup">
+      <xsl:with-param name="allow-anchors" select="1"/>
+    </xsl:apply-templates>
+
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="thead|tbody|tgroup|tr" mode="htmlTable">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="htmlTable"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="th|td" mode="htmlTable">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates/> <!-- *not* mode=htmlTable -->
+  </xsl:copy>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/index.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/index.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/index.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,229 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: index.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="index">
+  <!-- some implementations use completely empty index tags to indicate -->
+  <!-- where an automatically generated index should be inserted. so -->
+  <!-- if the index is completely empty, skip it. Unless generate.index -->
+  <!-- is non-zero, in which case, this is where the automatically -->
+  <!-- generated index should go. -->
+
+  <xsl:call-template name="id.warning"/>
+
+  <xsl:if test="count(*)>0 or $generate.index != '0'">
+    <div>
+      <xsl:apply-templates select="." mode="class.attribute"/>
+      <xsl:if test="$generate.id.attributes != 0">
+        <xsl:attribute name="id">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </xsl:if>
+
+      <xsl:call-template name="index.titlepage"/>
+      <xsl:choose>
+	<xsl:when test="indexdiv">
+	  <xsl:apply-templates/>
+	</xsl:when>
+	<xsl:otherwise>
+	  <xsl:apply-templates select="*[not(self::indexentry)]"/>
+	  <!-- Because it's actually valid for Index to have neither any -->
+	  <!-- Indexdivs nor any Indexentries, we need to check and make -->
+	  <!-- sure that at least one Indexentry exists, and generate a -->
+	  <!-- wrapper dl if there is at least one; otherwise, do nothing. -->
+	  <xsl:if test="indexentry">
+	    <!-- The indexentry template assumes a parent dl wrapper has -->
+	    <!-- been generated; for Indexes that have Indexdivs, the dl -->
+	    <!-- wrapper is generated by the indexdiv template; however, -->
+	    <!-- for Indexes that lack Indexdivs, if we don't generate a -->
+	    <!-- dl here, HTML output will not be valid. -->
+	    <dl>
+	      <xsl:apply-templates select="indexentry"/>
+	    </dl>
+	  </xsl:if>
+	</xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:if test="count(indexentry) = 0 and count(indexdiv) = 0">
+        <xsl:call-template name="generate-index">
+          <xsl:with-param name="scope" select="(ancestor::book|/)[last()]"/>
+        </xsl:call-template>
+      </xsl:if>
+
+      <xsl:if test="not(parent::article)">
+        <xsl:call-template name="process.footnotes"/>
+      </xsl:if>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="setindex">
+  <!-- some implementations use completely empty index tags to indicate -->
+  <!-- where an automatically generated index should be inserted. so -->
+  <!-- if the index is completely empty, skip it. Unless generate.index -->
+  <!-- is non-zero, in which case, this is where the automatically -->
+  <!-- generated index should go. -->
+
+  <xsl:call-template name="id.warning"/>
+
+  <xsl:if test="count(*)>0 or $generate.index != '0'">
+    <div>
+      <xsl:apply-templates select="." mode="class.attribute"/>
+      <xsl:if test="$generate.id.attributes != 0">
+        <xsl:attribute name="id">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </xsl:if>
+
+      <xsl:call-template name="setindex.titlepage"/>
+      <xsl:apply-templates/>
+
+      <xsl:if test="count(indexentry) = 0 and count(indexdiv) = 0">
+        <xsl:call-template name="generate-index">
+          <xsl:with-param name="scope" select="/"/>
+        </xsl:call-template>
+      </xsl:if>
+
+      <xsl:if test="not(parent::article)">
+        <xsl:call-template name="process.footnotes"/>
+      </xsl:if>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="index/indexinfo"></xsl:template>
+<xsl:template match="index/info"></xsl:template>
+<xsl:template match="index/title"></xsl:template>
+<xsl:template match="index/subtitle"></xsl:template>
+<xsl:template match="index/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="indexdiv">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates select="*[not(self::indexentry)]"/>
+    <dl>
+      <xsl:apply-templates select="indexentry"/>
+    </dl>
+  </div>
+</xsl:template>
+
+<xsl:template match="indexdiv/title">
+  <h3>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </h3>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="indexterm">
+  <!-- this one must have a name, even if it doesn't have an ID -->
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <a class="indexterm" name="{$id}"/>
+</xsl:template>
+
+<xsl:template match="primary|secondary|tertiary|see|seealso">
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="indexentry">
+  <xsl:apply-templates select="primaryie"/>
+</xsl:template>
+
+<xsl:template match="primaryie">
+  <dt>
+    <xsl:apply-templates/>
+  </dt>
+  <xsl:choose>
+    <xsl:when test="following-sibling::secondaryie">
+      <dd>
+        <dl>
+          <xsl:apply-templates select="following-sibling::secondaryie"/>
+        </dl>
+      </dd>
+    </xsl:when>
+    <xsl:when test="following-sibling::seeie
+                    |following-sibling::seealsoie">
+      <dd>
+        <dl>
+          <xsl:apply-templates select="following-sibling::seeie
+                                       |following-sibling::seealsoie"/>
+        </dl>
+      </dd>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="secondaryie">
+  <dt>
+    <xsl:apply-templates/>
+  </dt>
+  <xsl:choose>
+    <xsl:when test="following-sibling::tertiaryie">
+      <dd>
+        <dl>
+          <xsl:apply-templates select="following-sibling::tertiaryie"/>
+        </dl>
+      </dd>
+    </xsl:when>
+    <xsl:when test="following-sibling::seeie
+                    |following-sibling::seealsoie">
+      <dd>
+        <dl>
+          <xsl:apply-templates select="following-sibling::seeie
+                                       |following-sibling::seealsoie"/>
+        </dl>
+      </dd>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="tertiaryie">
+  <dt>
+    <xsl:apply-templates/>
+  </dt>
+  <xsl:if test="following-sibling::seeie
+                |following-sibling::seealsoie">
+    <dd>
+      <dl>
+        <xsl:apply-templates select="following-sibling::seeie
+                                     |following-sibling::seealsoie"/>
+      </dl>
+    </dd>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="seeie|seealsoie">
+  <dt>
+    <xsl:apply-templates/>
+  </dt>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/info.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/info.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/info.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,43 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: info.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- These templates define the "default behavior" for info
+     elements.  Even if you don't process the *info wrappers,
+     some of these elements are needed because the elements are
+     processed from named templates that are called with modes.
+     Since modes aren't sticky, these rules apply. 
+     (TODO: clarify this comment) -->
+
+<!-- ==================================================================== -->
+<!-- called from named templates in a given mode -->
+
+<xsl:template match="corpauthor">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="jobtitle">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/inline.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/inline.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/inline.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1411 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [
+  <!ENTITY comment.block.parents "parent::answer|parent::appendix|parent::article|parent::bibliodiv|
+                                  parent::bibliography|parent::blockquote|parent::caution|parent::chapter|
+                                  parent::glossary|parent::glossdiv|parent::important|parent::index|
+                                  parent::indexdiv|parent::listitem|parent::note|parent::orderedlist|
+                                  parent::partintro|parent::preface|parent::procedure|parent::qandadiv|
+                                  parent::qandaset|parent::question|parent::refentry|parent::refnamediv|
+                                  parent::refsect1|parent::refsect2|parent::refsect3|parent::refsection|
+                                  parent::refsynopsisdiv|parent::sect1|parent::sect2|parent::sect3|parent::sect4|
+                                  parent::sect5|parent::section|parent::setindex|parent::sidebar|
+                                  parent::simplesect|parent::taskprerequisites|parent::taskrelated|
+                                  parent::tasksummary|parent::warning">
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:xlink='http://www.w3.org/1999/xlink'
+                xmlns:suwl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.UnwrapLinks"
+                exclude-result-prefixes="xlink suwl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: inline.xsl 6451 2006-12-13 09:21:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+<xsl:template name="simple.xlink">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="content">
+    <xsl:apply-templates/>
+  </xsl:param>
+  <xsl:param name="a.target"/>
+  <xsl:param name="linkend" select="$node/@linkend"/>
+  <xsl:param name="xhref" select="$node/@xlink:href"/>
+
+  <xsl:variable name="link">
+    <xsl:choose>
+      <xsl:when test="$xhref and 
+                      (not($node/@xlink:type) or 
+                           $node/@xlink:type='simple')">
+
+        <!-- Is it a local idref or a uri? -->
+        <xsl:variable name="is.idref">
+          <xsl:choose>
+            <!-- if the href starts with # and does not contain an "(" -->
+            <!-- or if the href starts with #xpointer(id(, it's just an ID -->
+            <xsl:when test="starts-with($xhref,'#')
+                            and (not(contains($xhref,'&#40;'))
+                            or starts-with($xhref,
+                                       '#xpointer&#40;id&#40;'))">1</xsl:when>
+            <xsl:otherwise>0</xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+
+        <xsl:choose>
+          <xsl:when test="$is.idref = 1">
+
+            <xsl:variable name="idref">
+              <xsl:call-template name="xpointer.idref">
+                <xsl:with-param name="xpointer" select="$xhref"/>
+              </xsl:call-template>
+            </xsl:variable>
+
+            <xsl:variable name="targets" select="key('id',$idref)"/>
+            <xsl:variable name="target" select="$targets[1]"/>
+
+            <xsl:call-template name="check.id.unique">
+              <xsl:with-param name="linkend" select="$idref"/>
+            </xsl:call-template>
+
+            <xsl:choose>
+              <xsl:when test="count($target) = 0">
+                <xsl:message>
+                  <xsl:text>XLink to nonexistent id: </xsl:text>
+                  <xsl:value-of select="$idref"/>
+                </xsl:message>
+                <xsl:copy-of select="$content"/>
+              </xsl:when>
+
+              <xsl:otherwise>
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:call-template name="href.target">
+                      <xsl:with-param name="object" select="$target"/>
+                    </xsl:call-template>
+                  </xsl:attribute>
+
+                  <xsl:choose>
+                    <xsl:when test="$node/@xlink.title">
+                      <xsl:attribute name="title">
+                        <xsl:value-of select="$node/@xlink:title"/>
+                      </xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                      <xsl:apply-templates select="$target"
+                                           mode="html.title.attribute"/>
+                    </xsl:otherwise>
+                  </xsl:choose>
+
+                  <xsl:if test="$a.target">
+                    <xsl:attribute name="target">
+                      <xsl:value-of select="$a.target"/>
+                    </xsl:attribute>
+                  </xsl:if>
+
+                  <xsl:copy-of select="$content"/>
+
+                </a>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:when>
+
+          <!-- otherwise it's a URI -->
+          <xsl:otherwise>
+            <a>
+              <xsl:attribute name="href">
+                <xsl:value-of select="$xhref"/>
+              </xsl:attribute>
+              <xsl:if test="$node/@xlink.title">
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$node/@xlink:title"/>
+                </xsl:attribute>
+              </xsl:if>
+              <xsl:copy-of select="$content"/>
+            </a>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+
+      <xsl:when test="$linkend">
+        <xsl:variable name="targets" select="key('id',$linkend)"/>
+        <xsl:variable name="target" select="$targets[1]"/>
+
+        <xsl:call-template name="check.id.unique">
+          <xsl:with-param name="linkend" select="$linkend"/>
+        </xsl:call-template>
+
+        <a>
+          <xsl:attribute name="href">
+            <xsl:call-template name="href.target">
+              <xsl:with-param name="object" select="$target"/>
+            </xsl:call-template>
+          </xsl:attribute>
+
+          <xsl:apply-templates select="$target" mode="html.title.attribute"/>
+
+          <xsl:copy-of select="$content"/>
+          
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$content"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('suwl:unwrapLinks')">
+      <xsl:copy-of select="suwl:unwrapLinks($link)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$link"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="inline.charseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <!-- * if you want output from the inline.charseq template wrapped in -->
+  <!-- * something other than a Span, call the template with some value -->
+  <!-- * for the 'wrapper-name' param -->
+  <xsl:param name="wrapper-name">span</xsl:param>
+  <xsl:element name="{$wrapper-name}">
+    <xsl:attribute name="class">
+      <xsl:value-of select="local-name(.)"/>
+    </xsl:attribute>
+    <xsl:call-template name="dir"/>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:copy-of select="$content"/>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template name="inline.monoseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir"/>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:copy-of select="$content"/>
+    <xsl:call-template name="apply-annotations"/>
+  </code>
+</xsl:template>
+
+<xsl:template name="inline.boldseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+
+  <span>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:call-template name="dir"/>
+
+    <!-- don't put <strong> inside figure, example, or table titles -->
+    <xsl:choose>
+      <xsl:when test="local-name(..) = 'title'
+                      and (local-name(../..) = 'figure'
+                      or local-name(../..) = 'example'
+                      or local-name(../..) = 'table')">
+        <xsl:copy-of select="$content"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <strong>
+          <xsl:apply-templates select="." mode="class.attribute"/>
+          <xsl:copy-of select="$content"/>
+        </strong>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:call-template name="apply-annotations"/>
+  </span>
+</xsl:template>
+
+<xsl:template name="inline.italicseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <em>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:call-template name="dir"/>
+    <xsl:copy-of select="$content"/>
+    <xsl:call-template name="apply-annotations"/>
+  </em>
+</xsl:template>
+
+<xsl:template name="inline.boldmonoseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <!-- don't put <strong> inside figure, example, or table titles -->
+  <!-- or other titles that may already be represented with <strong>'s. -->
+  <xsl:choose>
+    <xsl:when test="local-name(..) = 'title'
+                    and (local-name(../..) = 'figure'
+                         or local-name(../..) = 'example'
+                         or local-name(../..) = 'table'
+                         or local-name(../..) = 'formalpara')">
+      <code>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:call-template name="generate.html.title"/>
+        <xsl:call-template name="dir"/>
+        <xsl:copy-of select="$content"/>
+        <xsl:call-template name="apply-annotations"/>
+      </code>
+    </xsl:when>
+    <xsl:otherwise>
+      <strong>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <code>
+          <xsl:call-template name="generate.html.title"/>
+          <xsl:call-template name="dir"/>
+          <xsl:copy-of select="$content"/>
+        </code>
+        <xsl:call-template name="apply-annotations"/>
+      </strong>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="inline.italicmonoseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <em>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <code>
+      <xsl:call-template name="generate.html.title"/>
+      <xsl:call-template name="dir"/>
+      <xsl:copy-of select="$content"/>
+      <xsl:call-template name="apply-annotations"/>
+    </code>
+  </em>
+</xsl:template>
+
+<xsl:template name="inline.superscriptseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <sup>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:call-template name="dir"/>
+    <xsl:copy-of select="$content"/>
+    <xsl:call-template name="apply-annotations"/>
+  </sup>
+</xsl:template>
+
+<xsl:template name="inline.subscriptseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <sub>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:call-template name="dir"/>
+    <xsl:copy-of select="$content"/>
+    <xsl:call-template name="apply-annotations"/>
+  </sub>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- some special cases -->
+
+<xsl:template match="author">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:call-template name="person.name"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="editor">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:call-template name="person.name"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="othercredit">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:call-template name="person.name"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="authorinitials">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="accel">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="action">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="application">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="classname">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="exceptionname">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="interfacename">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="methodname">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="command">
+  <xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="computeroutput">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="constant">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="database">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="date">
+  <!-- should this support locale-specific formatting? how? -->
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="errorcode">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="errorname">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="errortype">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="errortext">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="envar">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="filename">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="function">
+  <xsl:choose>
+    <xsl:when test="$function.parens != '0'
+                    and (parameter or function or replaceable)">
+      <xsl:variable name="nodes" select="text()|*"/>
+      <xsl:call-template name="inline.monoseq">
+        <xsl:with-param name="content">
+          <xsl:call-template name="simple.xlink">
+            <xsl:with-param name="content">
+              <xsl:apply-templates select="$nodes[1]"/>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:call-template>
+      <xsl:text>(</xsl:text>
+      <xsl:apply-templates select="$nodes[position()>1]"/>
+      <xsl:text>)</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+     <xsl:call-template name="inline.monoseq"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="function/parameter" priority="2">
+  <xsl:call-template name="inline.italicmonoseq"/>
+  <xsl:if test="following-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="function/replaceable" priority="2">
+  <xsl:call-template name="inline.italicmonoseq"/>
+  <xsl:if test="following-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="guibutton">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guiicon">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guilabel">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guimenu">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guimenuitem">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guisubmenu">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="hardware">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="interface">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="interfacedefinition">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="keycap">
+  <xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="keycode">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="keysym">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="literal">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="code">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="medialabel">
+  <xsl:call-template name="inline.italicseq"/>
+</xsl:template>
+
+<xsl:template match="shortcut">
+  <xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="mousebutton">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="option">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="package">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="parameter">
+  <xsl:call-template name="inline.italicmonoseq"/>
+</xsl:template>
+
+<xsl:template match="property">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="prompt">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="replaceable" priority="1">
+  <xsl:call-template name="inline.italicmonoseq"/>
+</xsl:template>
+
+<xsl:template match="returnvalue">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="structfield">
+  <xsl:call-template name="inline.italicmonoseq"/>
+</xsl:template>
+
+<xsl:template match="structname">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="symbol">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="systemitem">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="token">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="type">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="userinput">
+  <xsl:call-template name="inline.boldmonoseq"/>
+</xsl:template>
+
+<xsl:template match="abbrev">
+  <xsl:call-template name="inline.charseq">
+    <xsl:with-param name="wrapper-name">abbr</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="acronym">
+  <xsl:call-template name="inline.charseq">
+    <xsl:with-param name="wrapper-name">acronym</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="citerefentry">
+  <xsl:choose>
+    <xsl:when test="$citerefentry.link != '0'">
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="generate.citerefentry.link"/>
+        </xsl:attribute>
+        <xsl:call-template name="inline.charseq"/>
+      </a>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="inline.charseq"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="generate.citerefentry.link">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template name="x.generate.citerefentry.link">
+  <xsl:text>http://example.com/cgi-bin/man.cgi?</xsl:text>
+  <xsl:value-of select="refentrytitle"/>
+  <xsl:text>(</xsl:text>
+  <xsl:value-of select="manvolnum"/>
+  <xsl:text>)</xsl:text>
+</xsl:template>
+
+<xsl:template match="citetitle">
+  <xsl:choose>
+    <xsl:when test="@pubwork = 'article'">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:call-template name="inline.charseq"/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="inline.italicseq"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="emphasis">
+  <span>
+    <xsl:choose>
+      <xsl:when test="@role and $emphasis.propagates.style != 0">
+        <xsl:apply-templates select="." mode="class.attribute">
+          <xsl:with-param name="class" select="@role"/>
+        </xsl:apply-templates>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:attribute name="class">
+          <xsl:text>emphasis</xsl:text>
+        </xsl:attribute>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:choose>
+          <xsl:when test="@role = 'bold' or @role='strong'">
+            <!-- backwards compatibility: make bold into b elements, but -->
+            <!-- don't put bold inside figure, example, or table titles -->
+            <xsl:choose>
+              <xsl:when test="local-name(..) = 'title'
+                              and (local-name(../..) = 'figure'
+                              or local-name(../..) = 'example'
+                              or local-name(../..) = 'table')">
+                <xsl:apply-templates/>
+              </xsl:when>
+              <xsl:otherwise>
+                <strong><xsl:apply-templates/></strong>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:when>
+          <xsl:when test="@role and $emphasis.propagates.style != 0">
+            <xsl:apply-templates/>
+          </xsl:when>
+          <xsl:otherwise>
+            <em><xsl:apply-templates/></em>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </span>
+</xsl:template>
+
+<xsl:template match="foreignphrase">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="@lang or @xml:lang">
+      <xsl:call-template name="language.attribute"/>
+    </xsl:if>
+    <xsl:call-template name="inline.italicseq"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="markup">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="phrase">
+  <span>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:if test="@lang or @xml:lang">
+      <xsl:call-template name="language.attribute"/>
+    </xsl:if>
+    <xsl:if test="@role and $phrase.propagates.style != 0">
+      <xsl:apply-templates select="." mode="class.attribute">
+        <xsl:with-param name="class" select="@role"/>
+      </xsl:apply-templates>
+    </xsl:if>
+    <xsl:call-template name="dir"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="quote">
+  <xsl:variable name="depth">
+    <xsl:call-template name="dot.count">
+      <xsl:with-param name="string">
+        <xsl:number level="multiple"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:choose>
+    <xsl:when test="$depth mod 2 = 0">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:call-template name="inline.charseq"/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext.nestedstartquote"/>
+      <xsl:call-template name="inline.charseq"/>
+      <xsl:call-template name="gentext.nestedendquote"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="varname">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="wordasword">
+  <xsl:call-template name="inline.italicseq"/>
+</xsl:template>
+
+<xsl:template match="lineannotation">
+  <em>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="inline.charseq"/>
+  </em>
+</xsl:template>
+
+<xsl:template match="superscript">
+  <xsl:call-template name="inline.superscriptseq"/>
+</xsl:template>
+
+<xsl:template match="subscript">
+  <xsl:call-template name="inline.subscriptseq"/>
+</xsl:template>
+
+<xsl:template match="trademark">
+  <xsl:call-template name="inline.charseq"/>
+  <xsl:choose>
+    <xsl:when test="@class = 'copyright'
+                    or @class = 'registered'">
+      <xsl:call-template name="dingbat">
+        <xsl:with-param name="dingbat" select="@class"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="@class = 'service'">
+      <sup>SM</sup>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="dingbat">
+        <xsl:with-param name="dingbat" select="'trademark'"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="firstterm">
+  <xsl:call-template name="glossterm">
+    <xsl:with-param name="firstterm" select="1"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="glossterm" name="glossterm">
+  <xsl:param name="firstterm" select="0"/>
+
+  <!-- To avoid extra <a name=""> anchor from inline.italicseq -->
+  <xsl:variable name="content">
+    <xsl:apply-templates/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="($firstterm.only.link = 0 or $firstterm = 1) and @linkend">
+      <xsl:variable name="targets" select="key('id', at linkend)"/>
+      <xsl:variable name="target" select="$targets[1]"/>
+
+      <xsl:call-template name="check.id.unique">
+        <xsl:with-param name="linkend" select="@linkend"/>
+      </xsl:call-template>
+
+      <xsl:choose>
+        <xsl:when test="$target">
+          <a>
+            <xsl:if test="@id or @xml:id">
+              <xsl:attribute name="name">
+                <xsl:value-of select="(@id|@xml:id)[1]"/>
+              </xsl:attribute>
+            </xsl:if>
+
+            <xsl:attribute name="href">
+              <xsl:call-template name="href.target">
+                <xsl:with-param name="object" select="$target"/>
+              </xsl:call-template>
+            </xsl:attribute>
+
+            <xsl:call-template name="inline.italicseq">
+              <xsl:with-param name="content" select="$content"/>
+            </xsl:call-template>
+          </a>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="inline.italicseq">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="not(@linkend)
+                    and ($firstterm.only.link = 0 or $firstterm = 1)
+                    and ($glossterm.auto.link != 0)
+                    and $glossary.collection != ''">
+      <xsl:variable name="term">
+        <xsl:choose>
+          <xsl:when test="@baseform"><xsl:value-of select="@baseform"/></xsl:when>
+          <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:variable name="cterm"
+           select="(document($glossary.collection,.)//glossentry[glossterm=$term])[1]"/>
+
+      <!-- HACK HACK HACK! But it works... -->
+      <!-- You'd need to do more work if you wanted to chunk on glossdiv, though -->
+
+      <xsl:variable name="glossary" select="//glossary[@role='auto']"/>
+
+      <xsl:if test="count($glossary) != 1">
+        <xsl:message>
+          <xsl:text>Warning: glossary.collection specified, but there are </xsl:text>
+          <xsl:value-of select="count($glossary)"/>
+          <xsl:text> automatic glossaries</xsl:text>
+        </xsl:message>
+      </xsl:if>
+
+      <xsl:variable name="glosschunk">
+        <xsl:call-template name="href.target">
+          <xsl:with-param name="object" select="$glossary"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="chunkbase">
+        <xsl:choose>
+          <xsl:when test="contains($glosschunk, '#')">
+            <xsl:value-of select="substring-before($glosschunk, '#')"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$glosschunk"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="not($cterm)">
+          <xsl:message>
+            <xsl:text>There's no entry for </xsl:text>
+            <xsl:value-of select="$term"/>
+            <xsl:text> in </xsl:text>
+            <xsl:value-of select="$glossary.collection"/>
+          </xsl:message>
+          <xsl:call-template name="inline.italicseq"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:variable name="id">
+            <xsl:call-template name="object.id">
+              <xsl:with-param name="object" select="$cterm"/>
+            </xsl:call-template>
+          </xsl:variable>
+          <a href="{$chunkbase}#{$id}">
+            <xsl:call-template name="inline.italicseq">
+              <xsl:with-param name="content" select="$content"/>
+            </xsl:call-template>
+          </a>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="not(@linkend)
+                    and ($firstterm.only.link = 0 or $firstterm = 1)
+                    and $glossterm.auto.link != 0">
+      <xsl:variable name="term">
+        <xsl:choose>
+          <xsl:when test="@baseform">
+            <xsl:value-of select="normalize-space(@baseform)"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="normalize-space(.)"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+      <xsl:variable name="targets"
+                    select="//glossentry[normalize-space(glossterm)=$term
+                              or normalize-space(glossterm/@baseform)=$term]"/>
+      <xsl:variable name="target" select="$targets[1]"/>
+
+      <xsl:choose>
+        <xsl:when test="count($targets)=0">
+          <xsl:message>
+            <xsl:text>Error: no glossentry for glossterm: </xsl:text>
+            <xsl:value-of select="."/>
+            <xsl:text>.</xsl:text>
+          </xsl:message>
+          <xsl:call-template name="inline.italicseq"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <a>
+            <xsl:if test="@id or @xml:id">
+              <xsl:attribute name="name">
+                <xsl:value-of select="(@id|@xml:id)[1]"/>
+              </xsl:attribute>
+            </xsl:if>
+
+            <xsl:attribute name="href">
+              <xsl:call-template name="href.target">
+                <xsl:with-param name="object" select="$target"/>
+              </xsl:call-template>
+            </xsl:attribute>
+
+            <xsl:call-template name="inline.italicseq">
+              <xsl:with-param name="content" select="$content"/>
+            </xsl:call-template>
+          </a>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:call-template name="inline.italicseq"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="termdef">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:call-template name="gentext.template">
+      <xsl:with-param name="context" select="'termdef'"/>
+      <xsl:with-param name="name" select="'prefix'"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+    <xsl:call-template name="gentext.template">
+      <xsl:with-param name="context" select="'termdef'"/>
+      <xsl:with-param name="name" select="'suffix'"/>
+    </xsl:call-template>
+  </span>
+</xsl:template>
+
+<xsl:template match="sgmltag|tag">
+  <xsl:call-template name="format.sgmltag"/>
+</xsl:template>
+
+<xsl:template name="format.sgmltag">
+  <xsl:param name="class">
+    <xsl:choose>
+      <xsl:when test="@class">
+        <xsl:value-of select="@class"/>
+      </xsl:when>
+      <xsl:otherwise>element</xsl:otherwise>
+    </xsl:choose>
+  </xsl:param>
+
+  <xsl:variable name="content">
+    <xsl:choose>
+      <xsl:when test="$class='attribute'">
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:when test="$class='attvalue'">
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:when test="$class='element'">
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:when test="$class='endtag'">
+        <xsl:text>&lt;/</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>&gt;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='genentity'">
+        <xsl:text>&amp;</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='numcharref'">
+        <xsl:text>&amp;#</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='paramentity'">
+        <xsl:text>%</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='pi'">
+        <xsl:text>&lt;?</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>&gt;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='xmlpi'">
+        <xsl:text>&lt;?</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>?&gt;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='starttag'">
+        <xsl:text>&lt;</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>&gt;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='emptytag'">
+        <xsl:text>&lt;</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>/&gt;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='sgmlcomment' or $class='comment'">
+        <xsl:text>&lt;!--</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>--&gt;</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute">
+      <xsl:with-param name="class" select="concat('sgmltag-', $class)"/>
+    </xsl:apply-templates>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content" select="$content"/>
+    </xsl:call-template>
+  </code>
+</xsl:template>
+
+<xsl:template match="email">
+  <xsl:call-template name="inline.monoseq">
+    <xsl:with-param name="content">
+      <xsl:if test="not($email.delimiters.enabled = 0)">
+        <xsl:text>&lt;</xsl:text>
+      </xsl:if>
+      <a>
+        <xsl:attribute name="href">
+          <xsl:text>mailto:</xsl:text>
+          <xsl:value-of select="."/>
+        </xsl:attribute>
+        <xsl:apply-templates/>
+      </a>
+      <xsl:if test="not($email.delimiters.enabled = 0)">
+        <xsl:text>&gt;</xsl:text>
+      </xsl:if>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="keycombo">
+  <xsl:variable name="action" select="@action"/>
+  <xsl:variable name="joinchar">
+    <xsl:choose>
+      <xsl:when test="$action='seq'"><xsl:text> </xsl:text></xsl:when>
+      <xsl:when test="$action='simul'">+</xsl:when>
+      <xsl:when test="$action='press'">-</xsl:when>
+      <xsl:when test="$action='click'">-</xsl:when>
+      <xsl:when test="$action='double-click'">-</xsl:when>
+      <xsl:when test="$action='other'"></xsl:when>
+      <xsl:otherwise>-</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:for-each select="*">
+    <xsl:if test="position()>1"><xsl:value-of select="$joinchar"/></xsl:if>
+    <xsl:apply-templates select="."/>
+  </xsl:for-each>
+</xsl:template>
+
+<xsl:template match="uri">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="menuchoice">
+  <xsl:variable name="shortcut" select="./shortcut"/>
+  <xsl:call-template name="process.menuchoice"/>
+  <xsl:if test="$shortcut">
+    <xsl:text> (</xsl:text>
+    <xsl:apply-templates select="$shortcut"/>
+    <xsl:text>)</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="process.menuchoice">
+  <xsl:param name="nodelist" select="guibutton|guiicon|guilabel|guimenu|guimenuitem|guisubmenu|interface"/><!-- not(shortcut) -->
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="$count>count($nodelist)"></xsl:when>
+    <xsl:when test="$count=1">
+      <xsl:apply-templates select="$nodelist[$count=position()]"/>
+      <xsl:call-template name="process.menuchoice">
+        <xsl:with-param name="nodelist" select="$nodelist"/>
+        <xsl:with-param name="count" select="$count+1"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="node" select="$nodelist[$count=position()]"/>
+      <xsl:choose>
+        <xsl:when test="local-name($node)='guimenuitem'
+                        or local-name($node)='guisubmenu'">
+          <xsl:value-of select="$menuchoice.menu.separator"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$menuchoice.separator"/>
+        </xsl:otherwise>
+      </xsl:choose>
+      <xsl:apply-templates select="$node"/>
+      <xsl:call-template name="process.menuchoice">
+        <xsl:with-param name="nodelist" select="$nodelist"/>
+        <xsl:with-param name="count" select="$count+1"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="optional">
+  <xsl:value-of select="$arg.choice.opt.open.str"/>
+  <xsl:call-template name="inline.charseq"/>
+  <xsl:value-of select="$arg.choice.opt.close.str"/>
+</xsl:template>
+
+<xsl:template match="citation">
+  <!-- todo: integrate with bibliography collection -->
+  <xsl:variable name="targets" select="(//biblioentry | //bibliomixed)[abbrev = string(current())]"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:choose>
+    <!-- try automatic linking based on match to abbrev -->
+    <xsl:when test="$target and not(xref) and not(link)">
+
+      <xsl:text>[</xsl:text>
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target"/>
+          </xsl:call-template>
+        </xsl:attribute>
+
+        <xsl:call-template name="inline.charseq"/>
+      </a>
+      <xsl:text>]</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>[</xsl:text>
+      <xsl:call-template name="inline.charseq"/>
+      <xsl:text>]</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="comment[&comment.block.parents;]|remark[&comment.block.parents;]">
+  <xsl:if test="$show.comments != 0">
+    <p class="remark"><i><xsl:call-template name="inline.charseq"/></i></p>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="comment|remark">
+  <xsl:if test="$show.comments != 0">
+    <em><xsl:call-template name="inline.charseq"/></em>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="productname">
+  <xsl:call-template name="inline.charseq"/>
+  <xsl:if test="@class">
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat" select="@class"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="productnumber">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="pob|street|city|state|postcode|country|otheraddr">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="phone|fax">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<!-- in Addresses, for example -->
+<xsl:template match="honorific|firstname|surname|lineage|othername">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="person">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates select="personname"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="personname">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:call-template name="person.name"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="org">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="orgname">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="orgdiv">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="affiliation">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:call-template name="person.name"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="beginpage">
+  <!-- does nothing; this *is not* markup to force a page break. -->
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/html/keywords.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/keywords.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/keywords.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: keywords.xsl 1243 2002-03-14 18:43:42Z nwalsh $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="keywordset"></xsl:template>
+<xsl:template match="subjectset"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="keywordset" mode="html.header">
+  <meta name="keywords">
+    <xsl:attribute name="content">
+      <xsl:apply-templates select="keyword" mode="html.header"/>
+    </xsl:attribute>
+  </meta>
+</xsl:template>
+
+<xsl:template match="keyword" mode="html.header">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::keyword">, </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/lists.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/lists.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/lists.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1111 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: lists.xsl 6439 2006-11-18 20:10:32Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="itemizedlist">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <!-- Preserve order of PIs and comments -->
+    <xsl:apply-templates 
+        select="*[not(self::listitem
+                  or self::title
+                  or self::titleabbrev)]
+                |comment()[not(preceding-sibling::listitem)]
+                |processing-instruction()[not(preceding-sibling::listitem)]"/>
+
+    <ul>
+      <xsl:if test="$css.decoration != 0">
+        <xsl:attribute name="type">
+          <xsl:call-template name="list.itemsymbol"/>
+        </xsl:attribute>
+      </xsl:if>
+
+      <xsl:if test="@spacing='compact'">
+        <xsl:attribute name="compact">
+          <xsl:value-of select="@spacing"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:apply-templates 
+            select="listitem
+                    |comment()[preceding-sibling::listitem]
+                    |processing-instruction()[preceding-sibling::listitem]"/>
+    </ul>
+  </div>
+</xsl:template>
+
+<xsl:template match="itemizedlist/title">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="itemizedlist/listitem">
+  <xsl:variable name="mark" select="../@mark"/>
+  <xsl:variable name="override" select="@override"/>
+
+  <xsl:variable name="usemark">
+    <xsl:choose>
+      <xsl:when test="$override != ''">
+        <xsl:value-of select="$override"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$mark"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="cssmark">
+    <xsl:choose>
+      <xsl:when test="$usemark = 'opencircle'">circle</xsl:when>
+      <xsl:when test="$usemark = 'bullet'">disc</xsl:when>
+      <xsl:when test="$usemark = 'box'">square</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$usemark"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <li>
+    <xsl:if test="$css.decoration = '1' and $cssmark != ''">
+      <xsl:attribute name="style">
+        <xsl:text>list-style-type: </xsl:text>
+        <xsl:value-of select="$cssmark"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <!-- we can't just drop the anchor in since some browsers (Opera)
+         get confused about line breaks if we do. So if the first child
+         is a para, assume the para will put in the anchor. Otherwise,
+         put the anchor in anyway. -->
+    <xsl:if test="local-name(child::*[1]) != 'para'">
+      <xsl:call-template name="anchor"/>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+        <div class="{@revisionflag}">
+          <xsl:apply-templates/>
+        </div>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </li>
+</xsl:template>
+
+<xsl:template match="orderedlist">
+  <xsl:variable name="start">
+    <xsl:call-template name="orderedlist-starting-number"/>
+  </xsl:variable>
+
+  <xsl:variable name="numeration">
+    <xsl:call-template name="list.numeration"/>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:choose>
+      <xsl:when test="$numeration='arabic'">1</xsl:when>
+      <xsl:when test="$numeration='loweralpha'">a</xsl:when>
+      <xsl:when test="$numeration='lowerroman'">i</xsl:when>
+      <xsl:when test="$numeration='upperalpha'">A</xsl:when>
+      <xsl:when test="$numeration='upperroman'">I</xsl:when>
+      <!-- What!? This should never happen -->
+      <xsl:otherwise>
+        <xsl:message>
+          <xsl:text>Unexpected numeration: </xsl:text>
+          <xsl:value-of select="$numeration"/>
+        </xsl:message>
+        <xsl:value-of select="1"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:if test="title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <!-- Preserve order of PIs and comments -->
+    <xsl:apply-templates 
+        select="*[not(self::listitem
+                  or self::title
+                  or self::titleabbrev)]
+                |comment()[not(preceding-sibling::listitem)]
+                |processing-instruction()[not(preceding-sibling::listitem)]"/>
+
+    <ol>
+      <xsl:if test="$start != '1'">
+        <xsl:attribute name="start">
+          <xsl:value-of select="$start"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="$numeration != ''">
+        <xsl:attribute name="type">
+          <xsl:value-of select="$type"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="@spacing='compact'">
+        <xsl:attribute name="compact">
+          <xsl:value-of select="@spacing"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:apply-templates 
+            select="listitem
+                    |comment()[preceding-sibling::listitem]
+                    |processing-instruction()[preceding-sibling::listitem]"/>
+    </ol>
+  </div>
+</xsl:template>
+
+<xsl:template match="orderedlist/title">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="orderedlist/listitem">
+  <li>
+    <xsl:if test="@override">
+      <xsl:attribute name="value">
+        <xsl:value-of select="@override"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <!-- we can't just drop the anchor in since some browsers (Opera)
+         get confused about line breaks if we do. So if the first child
+         is a para, assume the para will put in the anchor. Otherwise,
+         put the anchor in anyway. -->
+    <xsl:if test="local-name(child::*[1]) != 'para'">
+      <xsl:call-template name="anchor"/>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+        <div class="{@revisionflag}">
+          <xsl:apply-templates/>
+        </div>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </li>
+</xsl:template>
+
+<xsl:template match="variablelist">
+  <xsl:variable name="pi-presentation">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'list-presentation'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="presentation">
+    <xsl:choose>
+      <xsl:when test="$pi-presentation != ''">
+        <xsl:value-of select="$pi-presentation"/>
+      </xsl:when>
+      <xsl:when test="$variablelist.as.table != 0">
+        <xsl:value-of select="'table'"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="'list'"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="list-width">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'list-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="term-width">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'term-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="table-summary">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'table-summary'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="$presentation = 'table'">
+        <!-- Preserve order of PIs and comments -->
+        <xsl:apply-templates 
+          select="*[not(self::varlistentry
+                    or self::title
+                    or self::titleabbrev)]
+                  |comment()[not(preceding-sibling::varlistentry)]
+                  |processing-instruction()[not(preceding-sibling::varlistentry)]"/>
+        <table border="0">
+          <xsl:if test="$list-width != ''">
+            <xsl:attribute name="width">
+              <xsl:value-of select="$list-width"/>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:if test="$table-summary != ''">
+            <xsl:attribute name="summary">
+              <xsl:value-of select="$table-summary"/>
+            </xsl:attribute>
+          </xsl:if>
+          <col align="left" valign="top">
+            <xsl:if test="$term-width != ''">
+              <xsl:attribute name="width">
+                <xsl:value-of select="$term-width"/>
+              </xsl:attribute>
+            </xsl:if>
+          </col>
+          <tbody>
+            <xsl:apply-templates mode="varlist-table"
+              select="varlistentry
+                      |comment()[preceding-sibling::varlistentry]
+                      |processing-instruction()[preceding-sibling::varlistentry]"/>
+          </tbody>
+        </table>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- Preserve order of PIs and comments -->
+        <xsl:apply-templates 
+          select="*[not(self::varlistentry
+                    or self::title
+                    or self::titleabbrev)]
+                  |comment()[not(preceding-sibling::varlistentry)]
+                  |processing-instruction()[not(preceding-sibling::varlistentry)]"/>
+        <dl>
+          <xsl:apply-templates 
+              select="varlistentry
+                      |comment()[preceding-sibling::varlistentry]
+                      |processing-instruction()[preceding-sibling::varlistentry]"/>
+        </dl>
+      </xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
+<xsl:template match="variablelist/title">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="itemizedlist/titleabbrev|orderedlist/titleabbrev">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="variablelist/titleabbrev">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="listitem" mode="xref">
+  <xsl:number format="1"/>
+</xsl:template>
+
+<xsl:template match="listitem/simpara" priority="2">
+  <!-- If a listitem contains only a single simpara, don't output
+       the <p> wrapper; this has the effect of creating an li
+       with simple text content. -->
+  <xsl:choose>
+    <xsl:when test="not(preceding-sibling::*)
+                    and not (following-sibling::*)">
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <p>
+        <xsl:if test="@role and $para.propagates.style != 0">
+           <xsl:apply-templates select="." mode="class.attribute">
+             <xsl:with-param name="class" select="@role"/>
+           </xsl:apply-templates>
+        </xsl:if>
+
+        <xsl:call-template name="anchor"/>
+        <xsl:apply-templates/>
+      </p>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="varlistentry">
+  <dt>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates select="term"/>
+  </dt>
+  <dd>
+    <xsl:apply-templates select="listitem"/>
+  </dd>
+</xsl:template>
+
+<xsl:template match="varlistentry" mode="varlist-table">
+  <xsl:variable name="presentation">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="../processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'term-presentation'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="separator">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="../processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'term-separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <tr>
+    <xsl:call-template name="tr.attributes">
+      <xsl:with-param name="rownum">
+        <xsl:number from="variablelist" count="varlistentry"/>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <td>
+      <xsl:call-template name="anchor"/>
+      <xsl:choose>
+        <xsl:when test="$presentation = 'bold'">
+          <b>
+            <xsl:apply-templates select="term"/>
+            <xsl:value-of select="$separator"/>
+          </b>
+        </xsl:when>
+        <xsl:when test="$presentation = 'italic'">
+          <i>
+            <xsl:apply-templates select="term"/>
+            <xsl:value-of select="$separator"/>
+          </i>
+        </xsl:when>
+        <xsl:when test="$presentation = 'bold-italic'">
+          <b>
+            <i>
+              <xsl:apply-templates select="term"/>
+              <xsl:value-of select="$separator"/>
+            </i>
+          </b>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="term"/>
+          <xsl:value-of select="$separator"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </td>
+    <td>
+      <xsl:apply-templates select="listitem"/>
+    </td>
+  </tr>
+</xsl:template>
+
+<xsl:template match="varlistentry/term">
+  <span class="term">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:choose>
+      <xsl:when test="position() = last()"/> <!-- do nothing -->
+      <xsl:otherwise>
+        <!-- * if we have multiple terms in the same varlistentry, generate -->
+        <!-- * a separator (", " by default) and/or an additional line -->
+        <!-- * break after each one except the last -->
+        <xsl:value-of select="$variablelist.term.separator"/>
+        <xsl:if test="not($variablelist.term.break.after = '0')">
+          <br/>
+        </xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </span>
+</xsl:template>
+
+<xsl:template match="varlistentry/listitem">
+  <xsl:choose>
+    <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+      <div class="{@revisionflag}">
+        <xsl:apply-templates/>
+      </div>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="simplelist">
+  <!-- with no type specified, the default is 'vert' -->
+  <xsl:call-template name="anchor"/>
+  <table class="simplelist" border="0" summary="Simple list">
+    <xsl:call-template name="simplelist.vert">
+      <xsl:with-param name="cols">
+        <xsl:choose>
+          <xsl:when test="@columns">
+            <xsl:value-of select="@columns"/>
+          </xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </table>
+</xsl:template>
+
+<xsl:template match="simplelist[@type='inline']">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+  <!-- if dbchoice PI exists, use that to determine the choice separator -->
+  <!-- (that is, equivalent of "and" or "or" in current locale), or literal -->
+  <!-- value of "choice" otherwise -->
+  <xsl:variable name="localized-choice-separator">
+    <xsl:choose>
+      <xsl:when test="processing-instruction('dbchoice')">
+	<xsl:call-template name="select.choice.separator"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<!-- empty -->
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:for-each select="member">
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:choose>
+      <xsl:when test="position() = last()"/> <!-- do nothing -->
+      <xsl:otherwise>
+	<xsl:text>, </xsl:text>
+	<xsl:if test="position() = last() - 1">
+	  <xsl:if test="$localized-choice-separator != ''">
+	    <xsl:value-of select="$localized-choice-separator"/>
+	    <xsl:text> </xsl:text>
+	  </xsl:if>
+	</xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:for-each>
+  </span>
+</xsl:template>
+
+<xsl:template match="simplelist[@type='horiz']">
+  <xsl:call-template name="anchor"/>
+  <table class="simplelist" border="0" summary="Simple list">
+    <xsl:call-template name="simplelist.horiz">
+      <xsl:with-param name="cols">
+        <xsl:choose>
+          <xsl:when test="@columns">
+            <xsl:value-of select="@columns"/>
+          </xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </table>
+</xsl:template>
+
+<xsl:template match="simplelist[@type='vert']">
+  <xsl:call-template name="anchor"/>
+  <table class="simplelist" border="0" summary="Simple list">
+    <xsl:call-template name="simplelist.vert">
+      <xsl:with-param name="cols">
+        <xsl:choose>
+          <xsl:when test="@columns">
+            <xsl:value-of select="@columns"/>
+          </xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </table>
+</xsl:template>
+
+<xsl:template name="simplelist.horiz">
+  <xsl:param name="cols">1</xsl:param>
+  <xsl:param name="cell">1</xsl:param>
+  <xsl:param name="members" select="./member"/>
+
+  <xsl:if test="$cell &lt;= count($members)">
+    <tr>
+      <xsl:call-template name="tr.attributes">
+        <xsl:with-param name="row" select="$members[1]"/>
+        <xsl:with-param name="rownum" select="(($cell - 1) div $cols) + 1"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="simplelist.horiz.row">
+        <xsl:with-param name="cols" select="$cols"/>
+        <xsl:with-param name="cell" select="$cell"/>
+        <xsl:with-param name="members" select="$members"/>
+      </xsl:call-template>
+   </tr>
+    <xsl:call-template name="simplelist.horiz">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="cell" select="$cell + $cols"/>
+      <xsl:with-param name="members" select="$members"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="simplelist.horiz.row">
+  <xsl:param name="cols">1</xsl:param>
+  <xsl:param name="cell">1</xsl:param>
+  <xsl:param name="members" select="./member"/>
+  <xsl:param name="curcol">1</xsl:param>
+
+  <xsl:if test="$curcol &lt;= $cols">
+    <td>
+      <xsl:choose>
+        <xsl:when test="$members[position()=$cell]">
+          <xsl:apply-templates select="$members[position()=$cell]"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>&#160;</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </td>
+    <xsl:call-template name="simplelist.horiz.row">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="cell" select="$cell+1"/>
+      <xsl:with-param name="members" select="$members"/>
+      <xsl:with-param name="curcol" select="$curcol+1"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="simplelist.vert">
+  <xsl:param name="cols">1</xsl:param>
+  <xsl:param name="cell">1</xsl:param>
+  <xsl:param name="members" select="./member"/>
+  <xsl:param name="rows"
+             select="floor((count($members)+$cols - 1) div $cols)"/>
+
+  <xsl:if test="$cell &lt;= $rows">
+    <tr>
+      <xsl:call-template name="tr.attributes">
+        <xsl:with-param name="row" select="$members[1]"/>
+        <xsl:with-param name="rownum" select="$cell"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="simplelist.vert.row">
+        <xsl:with-param name="cols" select="$cols"/>
+        <xsl:with-param name="rows" select="$rows"/>
+        <xsl:with-param name="cell" select="$cell"/>
+        <xsl:with-param name="members" select="$members"/>
+      </xsl:call-template>
+    </tr>
+    <xsl:call-template name="simplelist.vert">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="cell" select="$cell+1"/>
+      <xsl:with-param name="members" select="$members"/>
+      <xsl:with-param name="rows" select="$rows"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="simplelist.vert.row">
+  <xsl:param name="cols">1</xsl:param>
+  <xsl:param name="rows">1</xsl:param>
+  <xsl:param name="cell">1</xsl:param>
+  <xsl:param name="members" select="./member"/>
+  <xsl:param name="curcol">1</xsl:param>
+
+  <xsl:if test="$curcol &lt;= $cols">
+    <td>
+      <xsl:choose>
+        <xsl:when test="$members[position()=$cell]">
+          <xsl:apply-templates select="$members[position()=$cell]"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>&#160;</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </td>
+    <xsl:call-template name="simplelist.vert.row">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="rows" select="$rows"/>
+      <xsl:with-param name="cell" select="$cell+$rows"/>
+      <xsl:with-param name="members" select="$members"/>
+      <xsl:with-param name="curcol" select="$curcol+1"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="member">
+  <xsl:call-template name="anchor"/>
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="content">
+      <xsl:apply-templates/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="procedure">
+  <xsl:variable name="param.placement"
+                select="substring-after(normalize-space($formal.title.placement),
+                                        concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- Preserve order of PIs and comments -->
+  <xsl:variable name="preamble"
+        select="*[not(self::step
+                  or self::title
+                  or self::titleabbrev)]
+                |comment()[not(preceding-sibling::step)]
+                |processing-instruction()[not(preceding-sibling::step)]"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="conditional">
+        <xsl:choose>
+	  <xsl:when test="title">0</xsl:when>
+	  <xsl:otherwise>1</xsl:otherwise>
+	</xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <xsl:if test="title and $placement = 'before'">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="$preamble"/>
+
+    <xsl:choose>
+      <xsl:when test="count(step) = 1">
+        <ul>
+          <xsl:apply-templates 
+            select="step
+                    |comment()[preceding-sibling::step]
+                    |processing-instruction()[preceding-sibling::step]"/>
+        </ul>
+      </xsl:when>
+      <xsl:otherwise>
+        <ol>
+          <xsl:attribute name="type">
+            <xsl:value-of select="substring($procedure.step.numeration.formats,1,1)"/>
+          </xsl:attribute>
+          <xsl:apply-templates 
+            select="step
+                    |comment()[preceding-sibling::step]
+                    |processing-instruction()[preceding-sibling::step]"/>
+        </ol>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test="title and $placement != 'before'">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="procedure/title">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="substeps">
+  <xsl:variable name="numeration">
+    <xsl:call-template name="procedure.step.numeration"/>
+  </xsl:variable>
+
+  <xsl:call-template name="anchor"/>
+
+  <ol type="{$numeration}">
+    <xsl:apply-templates/>
+  </ol>
+</xsl:template>
+
+<xsl:template match="step">
+  <li>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </li>
+</xsl:template>
+
+<xsl:template match="stepalternatives">
+  <xsl:call-template name="anchor"/>
+  <ul>
+    <xsl:apply-templates/>
+  </ul>
+</xsl:template>
+
+<xsl:template match="step/title">
+  <p class="title">
+    <b>
+      <xsl:apply-templates/>
+    </b>
+  </p>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="segmentedlist">
+  <xsl:variable name="presentation">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'list-presentation'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:choose>
+      <xsl:when test="$presentation = 'table'">
+        <xsl:apply-templates select="." mode="seglist-table"/>
+      </xsl:when>
+      <xsl:when test="$presentation = 'list'">
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:when test="$segmentedlist.as.table != 0">
+        <xsl:apply-templates select="." mode="seglist-table"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
+<xsl:template match="segmentedlist/title">
+  <div class="title">
+    <strong><span class="title"><xsl:apply-templates/></span></strong>
+  </div>
+</xsl:template>
+
+<xsl:template match="segtitle">
+</xsl:template>
+
+<xsl:template match="segtitle" mode="segtitle-in-seg">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="seglistitem">
+  <div class="seglistitem">
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="seg">
+  <xsl:variable name="segnum" select="count(preceding-sibling::seg)+1"/>
+  <xsl:variable name="seglist" select="ancestor::segmentedlist"/>
+  <xsl:variable name="segtitles" select="$seglist/segtitle"/>
+
+  <!--
+     Note: segtitle is only going to be the right thing in a well formed
+     SegmentedList.  If there are too many Segs or too few SegTitles,
+     you'll get something odd...maybe an error
+  -->
+
+  <div class="seg">
+    <strong>
+      <span class="segtitle">
+        <xsl:apply-templates select="$segtitles[$segnum=position()]"
+                             mode="segtitle-in-seg"/>
+        <xsl:text>: </xsl:text>
+      </span>
+    </strong>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="segmentedlist" mode="seglist-table">
+  <xsl:variable name="table-summary">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'table-summary'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="list-width">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'list-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:apply-templates select="title"/>
+
+  <table border="0">
+    <xsl:if test="$list-width != ''">
+      <xsl:attribute name="width">
+        <xsl:value-of select="$list-width"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="$table-summary != ''">
+      <xsl:attribute name="summary">
+        <xsl:value-of select="$table-summary"/>
+      </xsl:attribute>
+    </xsl:if>
+    <thead>
+      <tr class="segtitle">
+        <xsl:call-template name="tr.attributes">
+          <xsl:with-param name="row" select="segtitle[1]"/>
+          <xsl:with-param name="rownum" select="1"/>
+        </xsl:call-template>
+        <xsl:apply-templates select="segtitle" mode="seglist-table"/>
+      </tr>
+    </thead>
+    <tbody>
+      <xsl:apply-templates select="seglistitem" mode="seglist-table"/>
+    </tbody>
+  </table>
+</xsl:template>
+
+<xsl:template match="segtitle" mode="seglist-table">
+  <th><xsl:apply-templates/></th>
+</xsl:template>
+
+<xsl:template match="seglistitem" mode="seglist-table">
+  <xsl:variable name="seglinum">
+    <xsl:number from="segmentedlist" count="seglistitem"/>
+  </xsl:variable>
+
+  <tr class="seglistitem">
+    <xsl:call-template name="tr.attributes">
+      <xsl:with-param name="rownum" select="$seglinum + 1"/>
+    </xsl:call-template>
+    <xsl:apply-templates mode="seglist-table"/>
+  </tr>
+</xsl:template>
+
+<xsl:template match="seg" mode="seglist-table">
+  <td class="seg"><xsl:apply-templates/></td>
+</xsl:template>
+
+<xsl:template match="seg[1]" mode="seglist-table">
+  <td class="seg">
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select="ancestor::seglistitem"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </td>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="calloutlist">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="title|info/title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <!-- Preserve order of PIs and comments -->
+    <xsl:apply-templates 
+         select="*[not(self::callout or self::title or self::titleabbrev)]
+                   |comment()[not(preceding-sibling::callout)]
+		   |processing-instruction()[not(preceding-sibling::callout)]"/>
+
+    <xsl:choose>
+      <xsl:when test="$callout.list.table != 0">
+        <table border="0" summary="Callout list">
+	  <xsl:apply-templates select="callout
+			        |comment()[preceding-sibling::calllout]
+				|processing-instruction()[preceding-sibling::callout]"/>
+	</table>
+      </xsl:when>
+      <xsl:otherwise>
+	<dl compact="compact">
+	  <xsl:apply-templates select="callout
+			        |comment()[preceding-sibling::calllout]
+				|processing-instruction()[preceding-sibling::callout]"/>
+	</dl>
+      </xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
+<xsl:template match="calloutlist/title">
+</xsl:template>
+
+<xsl:template match="callout">
+  <xsl:choose>
+    <xsl:when test="$callout.list.table != 0">
+      <tr>
+        <xsl:call-template name="tr.attributes">
+          <xsl:with-param name="rownum">
+            <xsl:number from="calloutlist" count="callout"/>
+          </xsl:with-param>
+        </xsl:call-template>
+
+        <td width="5%" valign="top" align="left">
+          <xsl:call-template name="anchor"/>
+          <xsl:call-template name="callout.arearefs">
+            <xsl:with-param name="arearefs" select="@arearefs"/>
+          </xsl:call-template>
+        </td>
+        <td valign="top" align="left">
+          <xsl:apply-templates/>
+        </td>
+      </tr>
+    </xsl:when>
+    <xsl:otherwise>
+      <dt>
+        <xsl:call-template name="anchor"/>
+        <xsl:call-template name="callout.arearefs">
+          <xsl:with-param name="arearefs" select="@arearefs"/>
+        </xsl:call-template>
+      </dt>
+      <dd><xsl:apply-templates/></dd>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="callout/simpara" priority="2">
+  <!-- If a callout contains only a single simpara, don't output
+       the <p> wrapper; this has the effect of creating an li
+       with simple text content. -->
+  <xsl:choose>
+    <xsl:when test="not(preceding-sibling::*)
+                    and not (following-sibling::*)">
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <p>
+        <xsl:if test="@role and $para.propagates.style != 0">
+          <xsl:apply-templates select="." mode="class.attribute">
+            <xsl:with-param name="class" select="@role"/>
+          </xsl:apply-templates>
+        </xsl:if>
+
+        <xsl:call-template name="anchor"/>
+        <xsl:apply-templates/>
+      </p>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="callout.arearefs">
+  <xsl:param name="arearefs"></xsl:param>
+  <xsl:if test="$arearefs!=''">
+    <xsl:choose>
+      <xsl:when test="substring-before($arearefs,' ')=''">
+        <xsl:call-template name="callout.arearef">
+          <xsl:with-param name="arearef" select="$arearefs"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="callout.arearef">
+          <xsl:with-param name="arearef"
+                          select="substring-before($arearefs,' ')"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:call-template name="callout.arearefs">
+      <xsl:with-param name="arearefs"
+                      select="substring-after($arearefs,' ')"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="callout.arearef">
+  <xsl:param name="arearef"></xsl:param>
+  <xsl:variable name="targets" select="key('id',$arearef)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:call-template name="check.id.unique">
+    <xsl:with-param name="linkend" select="$arearef"/>
+  </xsl:call-template>
+
+  <xsl:choose>
+    <xsl:when test="count($target)=0">
+      <xsl:text>???</xsl:text>
+    </xsl:when>
+    <xsl:when test="local-name($target)='co'">
+      <a>
+        <xsl:attribute name="href">
+          <xsl:text>#</xsl:text>
+          <xsl:value-of select="$arearef"/>
+        </xsl:attribute>
+        <xsl:apply-templates select="$target" mode="callout-bug"/>
+      </a>
+      <xsl:text> </xsl:text>
+    </xsl:when>
+    <xsl:when test="local-name($target)='areaset'">
+      <xsl:call-template name="callout-bug">
+        <xsl:with-param name="conum">
+          <xsl:apply-templates select="$target" mode="conumber"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="local-name($target)='area'">
+      <xsl:choose>
+        <xsl:when test="$target/parent::areaset">
+          <xsl:call-template name="callout-bug">
+            <xsl:with-param name="conum">
+              <xsl:apply-templates select="$target/parent::areaset"
+                                   mode="conumber"/>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="callout-bug">
+            <xsl:with-param name="conum">
+              <xsl:apply-templates select="$target" mode="conumber"/>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>???</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/html/maketoc.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/maketoc.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/maketoc.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,86 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+		version="1.0"
+                exclude-result-prefixes="doc">
+
+<!-- ********************************************************************
+     $Id: maketoc.xsl 6403 2006-11-12 08:23:54Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="docbook.xsl"/>
+<xsl:import href="chunk.xsl"/>
+
+<xsl:output method="xml" indent="no" encoding='utf-8'/>
+
+<xsl:param name="toc.list.type" select="'tocentry'"/>
+
+<!-- refentry in autotoc.xsl does not use subtoc, so must
+     handle it explicitly here. -->
+<xsl:template match="refentry" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+</xsl:template>
+
+
+<xsl:template name="subtoc">
+  <xsl:param name="nodes" select="NOT-AN-ELEMENT"/>
+  <xsl:variable name="filename">
+    <xsl:apply-templates select="." mode="chunk-filename"/>
+  </xsl:variable>
+
+  <xsl:variable name="chunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:if test="$chunk != 0">
+    <xsl:call-template name="indent-spaces"/>
+    <xsl:variable name="id">
+      <xsl:call-template name="object.id"/>
+    </xsl:variable>
+    <tocentry linkend="{$id}">
+      <xsl:processing-instruction name="dbhtml">
+        <xsl:text>filename="</xsl:text>
+        <xsl:value-of select="$filename"/>
+        <xsl:text>"</xsl:text>
+      </xsl:processing-instruction>
+      <xsl:text>&#xA;</xsl:text>
+      <xsl:apply-templates mode="toc" select="$nodes"/>
+      <xsl:call-template name="indent-spaces"/>
+    </tocentry>
+    <xsl:text>&#xA;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="indent-spaces">
+  <xsl:param name="node" select="."/>
+  <xsl:text>  </xsl:text>
+  <xsl:if test="$node/parent::*">
+    <xsl:call-template name="indent-spaces">
+      <xsl:with-param name="node" select="$node/parent::*"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="/" priority="-1">
+  <xsl:text>&#xA;</xsl:text>
+  <toc role="chunk-toc">
+    <xsl:text>&#xA;</xsl:text>
+    <xsl:apply-templates select="/" mode="toc"/>
+  </toc>
+  <xsl:text>&#xA;</xsl:text>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/manifest.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/manifest.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/manifest.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,122 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                version="1.0"
+                exclude-result-prefixes="doc">
+
+<!-- ********************************************************************
+     $Id: manifest.xsl 4856 2005-05-26 07:27:34Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:variable name="manifest.base.dir">
+</xsl:variable>
+
+<xsl:template name="generate.manifest">
+  <xsl:param name="node" select="/"/>
+  <xsl:call-template name="write.text.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="$manifest"/>
+    </xsl:with-param>
+    <xsl:with-param name="method" select="'text'"/>
+    <xsl:with-param name="content">
+      <xsl:apply-templates select="$node" mode="enumerate-files"/>
+    </xsl:with-param>
+    <xsl:with-param name="encoding" select="$chunker.output.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="set|book|part|preface|chapter|appendix
+                     |article
+                     |reference|refentry
+                     |sect1|sect2|sect3|sect4|sect5
+                     |section
+                     |book/glossary|article/glossary|part/glossary
+                     |book/bibliography|article/bibliography|part/bibliography
+                     |colophon"
+              mode="enumerate-files">
+  <xsl:variable name="ischunk"><xsl:call-template name="chunk"/></xsl:variable>
+  <xsl:if test="$ischunk='1'">
+    <xsl:call-template name="make-relative-filename">
+      <xsl:with-param name="base.dir">
+        <xsl:if test="$manifest.in.base.dir = 0">
+          <xsl:value-of select="$base.dir"/>
+        </xsl:if>
+      </xsl:with-param>
+      <xsl:with-param name="base.name">
+        <xsl:apply-templates mode="chunk-filename" select="."/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:if>
+  <xsl:apply-templates select="*" mode="enumerate-files"/>
+</xsl:template>
+
+<xsl:template match="book/index|article/index|part/index"
+              mode="enumerate-files">
+  <xsl:if test="$htmlhelp.output != 1">
+    <xsl:variable name="ischunk"><xsl:call-template name="chunk"/></xsl:variable>
+    <xsl:if test="$ischunk='1'">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.dir">
+          <xsl:if test="$manifest.in.base.dir = 0">
+            <xsl:value-of select="$base.dir"/>
+          </xsl:if>
+        </xsl:with-param>
+        <xsl:with-param name="base.name">
+          <xsl:apply-templates mode="chunk-filename" select="."/>
+        </xsl:with-param>
+      </xsl:call-template>
+      <xsl:text>&#10;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="*" mode="enumerate-files"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="enumerate-files">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+  <xsl:if test="$generate.legalnotice.link != 0">
+    <xsl:call-template name="make-relative-filename">
+      <xsl:with-param name="base.dir">
+        <xsl:if test="$manifest.in.base.dir = 0">
+          <xsl:value-of select="$base.dir"/>
+        </xsl:if>
+      </xsl:with-param>
+      <xsl:with-param name="base.name">
+        <xsl:apply-templates mode="chunk-filename" select="."/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="mediaobject[imageobject] | inlinemediaobject[imageobject]" mode="enumerate-files">
+  <xsl:variable name="longdesc.uri">
+    <xsl:call-template name="longdesc.uri">
+      <xsl:with-param name="mediaobject"
+                      select="."/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="mediaobject" select="."/>
+
+  <xsl:if test="$html.longdesc != 0 and $mediaobject/textobject[not(phrase)]">
+    <xsl:call-template name="longdesc.uri">
+      <xsl:with-param name="mediaobject" select="$mediaobject"/>
+    </xsl:call-template>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="text()" mode="enumerate-files">
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/math.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/math.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/math.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,271 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:mml="http://www.w3.org/1998/Math/MathML"
+                exclude-result-prefixes="mml"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: math.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="inlineequation">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="alt">
+</xsl:template>
+
+<xsl:template match="mathphrase">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </span>
+</xsl:template>
+
+<!-- "Support" for MathML -->
+
+<xsl:template match="mml:*" xmlns:mml="http://www.w3.org/1998/Math/MathML">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates/>
+  </xsl:copy>
+</xsl:template>
+
+<!-- Support for TeX math in alt -->
+
+<xsl:template match="*" mode="collect.tex.math">
+  <xsl:call-template name="write.text.chunk">
+    <xsl:with-param name="filename" select="$tex.math.file"/>
+    <xsl:with-param name="method" select="'text'"/>
+    <xsl:with-param name="content">
+      <xsl:choose>
+        <xsl:when test="$tex.math.in.alt = 'plain'">
+          <xsl:call-template name="tex.math.plain.head"/>
+          <xsl:apply-templates select="." mode="collect.tex.math.plain"/>
+          <xsl:call-template name="tex.math.plain.tail"/>
+        </xsl:when>
+        <xsl:when test="$tex.math.in.alt = 'latex'">
+          <xsl:call-template name="tex.math.latex.head"/>
+          <xsl:apply-templates select="." mode="collect.tex.math.latex"/>
+          <xsl:call-template name="tex.math.latex.tail"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            Unsupported TeX math notation: 
+            <xsl:value-of select="$tex.math.in.alt"/>
+          </xsl:message>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="encoding" select="$chunker.output.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- PlainTeX -->
+
+<xsl:template name="tex.math.plain.head">
+  <xsl:text>\nopagenumbers &#xA;</xsl:text>
+</xsl:template>
+
+<xsl:template name="tex.math.plain.tail">
+  <xsl:text>\bye &#xA;</xsl:text>
+</xsl:template>
+
+<xsl:template match="inlineequation" mode="collect.tex.math.plain">
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="graphic">
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select="graphic"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="select.mediaobject.filename">
+          <xsl:with-param name="olist" select="inlinemediaobject/*"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:variable name="output.delims">
+    <xsl:call-template name="tex.math.output.delims"/>
+  </xsl:variable>
+  <xsl:variable name="tex" select="alt[@role='tex'] | inlinemediaobject/textobject[@role='tex']"/>
+  <xsl:if test="$tex">
+    <xsl:text>\special{dvi2bitmap outputfile </xsl:text>
+    <xsl:value-of select="$filename"/>
+    <xsl:text>} &#xA;</xsl:text>
+    <xsl:if test="$output.delims != 0">
+      <xsl:text>$</xsl:text>
+    </xsl:if>
+    <xsl:value-of select="$tex"/>
+    <xsl:if test="$output.delims != 0">
+      <xsl:text>$ &#xA;</xsl:text>
+    </xsl:if>
+    <xsl:text>\vfill\eject &#xA;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="equation|informalequation" mode="collect.tex.math.plain">
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="graphic">
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select="graphic"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="select.mediaobject.filename">
+          <xsl:with-param name="olist" select="mediaobject/*"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:variable name="output.delims">
+    <xsl:call-template name="tex.math.output.delims"/>
+  </xsl:variable>
+  <xsl:variable name="tex" select="alt[@role='tex'] | mediaobject/textobject[@role='tex']"/>
+  <xsl:if test="$tex">
+    <xsl:text>\special{dvi2bitmap outputfile </xsl:text>
+    <xsl:value-of select="$filename"/>
+    <xsl:text>} &#xA;</xsl:text>
+    <xsl:if test="$output.delims != 0">
+      <xsl:text>$$</xsl:text>
+    </xsl:if>
+    <xsl:value-of select="$tex"/>
+    <xsl:if test="$output.delims != 0">
+      <xsl:text>$$ &#xA;</xsl:text>
+    </xsl:if>
+    <xsl:text>\vfill\eject &#xA;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="text()" mode="collect.tex.math.plain"/>
+
+<!-- LaTeX -->
+
+<xsl:template name="tex.math.latex.head">
+  <xsl:text>\documentclass{article} &#xA;</xsl:text>
+  <xsl:text>\pagestyle{empty} &#xA;</xsl:text>
+  <xsl:text>\begin{document} &#xA;</xsl:text>
+</xsl:template>
+
+<xsl:template name="tex.math.latex.tail">
+  <xsl:text>\end{document} &#xA;</xsl:text>
+</xsl:template>
+
+<xsl:template match="inlineequation" mode="collect.tex.math.latex">
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="graphic">
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select="graphic"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="select.mediaobject.filename">
+          <xsl:with-param name="olist" select="inlinemediaobject/*"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:variable name="output.delims">
+    <xsl:call-template name="tex.math.output.delims"/>
+  </xsl:variable>
+  <xsl:variable name="tex" select="alt[@role='tex'] | inlinemediaobject/textobject[@role='tex']"/>
+  <xsl:if test="$tex">
+    <xsl:text>\special{dvi2bitmap outputfile </xsl:text>
+    <xsl:value-of select="$filename"/>
+    <xsl:text>} &#xA;</xsl:text>
+    <xsl:if test="$output.delims != 0">  
+      <xsl:text>$</xsl:text>
+    </xsl:if>
+    <xsl:value-of select="$tex"/>
+    <xsl:if test="$output.delims != 0">  
+      <xsl:text>$ &#xA;</xsl:text>
+    </xsl:if>
+    <xsl:text>\newpage &#xA;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="equation|informalequation" mode="collect.tex.math.latex">
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="graphic">
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select="graphic"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="select.mediaobject.filename">
+          <xsl:with-param name="olist" select="mediaobject/*"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:variable name="output.delims">
+    <xsl:call-template name="tex.math.output.delims"/>
+  </xsl:variable>
+  <xsl:variable name="tex" select="alt[@role='tex'] | mediaobject/textobject[@role='tex']"/>
+  <xsl:if test="$tex">
+    <xsl:text>\special{dvi2bitmap outputfile </xsl:text>
+    <xsl:value-of select="$filename"/>
+    <xsl:text>} &#xA;</xsl:text>
+    <xsl:if test="$output.delims != 0">
+      <xsl:text>$$</xsl:text>
+    </xsl:if>
+    <xsl:value-of select="$tex"/>
+    <xsl:if test="$output.delims != 0">
+      <xsl:text>$$ &#xA;</xsl:text>
+    </xsl:if>
+    <xsl:text>\newpage &#xA;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="text()" mode="collect.tex.math.latex"/>
+
+<!-- Extracting image filename from mediaobject and graphic elements -->
+
+<xsl:template name="select.mediaobject.filename">
+  <xsl:param name="olist"
+             select="imageobject|imageobjectco
+                     |videoobject|audioobject|textobject"/>
+
+  <xsl:variable name="mediaobject.index">
+    <xsl:call-template name="select.mediaobject.index">
+      <xsl:with-param name="olist" select="$olist"/>
+      <xsl:with-param name="count" select="1"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="$mediaobject.index != ''">
+    <xsl:call-template name="mediaobject.filename">
+      <xsl:with-param name="object"
+                      select="$olist[position() = $mediaobject.index]"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="tex.math.output.delims">
+  <xsl:variable name="pi.delims">
+    <xsl:call-template name="pi-attribute">
+      <xsl:with-param name="pis" select=".//processing-instruction('dbtex')"/>
+      <xsl:with-param name="attribute" select="'delims'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="result">
+    <xsl:choose>
+      <xsl:when test="$pi.delims = 'no'">0</xsl:when>
+      <xsl:when test="$pi.delims = '' and $tex.math.delims = 0">0</xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:value-of select="$result"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/oldchunker.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/oldchunker.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/oldchunker.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,202 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:saxon="http://icl.com/saxon"
+                xmlns:lxslt="http://xml.apache.org/xslt"
+                xmlns:redirect="http://xml.apache.org/xalan/redirect"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+		version="1.1"
+                exclude-result-prefixes="doc"
+                extension-element-prefixes="saxon redirect lxslt">
+
+<!-- ********************************************************************
+     $Id: oldchunker.xsl 6306 2006-09-18 03:34:03Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- This stylesheet works with Saxon and Xalan; for XT use xtchunker.xsl -->
+
+<!-- ==================================================================== -->
+
+<xsl:param name="default.encoding" select="'ISO-8859-1'" doc:type='string'/>
+
+<doc:param name="default.encoding" xmlns="">
+<refpurpose>Encoding used in generated HTML pages</refpurpose>
+<refdescription>
+<para>This encoding is used in files generated by chunking stylesheet. Currently
+only Saxon is able to change output encoding.
+</para>
+</refdescription>
+</doc:param>
+
+<!-- ==================================================================== -->
+
+<xsl:param name="saxon.character.representation" select="'entity;decimal'" doc:type='string'/>
+
+<doc:param name="saxon.character.representation" xmlns="">
+<refpurpose>Saxon character representation used in generated HTML pages</refpurpose>
+<refdescription>
+<para>This character representation is used in files generated by chunking stylesheet. If
+you want to suppress entity references for characters with direct representation 
+in default.encoding, set this parameter to value <literal>native</literal>. 
+</para>
+</refdescription>
+</doc:param>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="make-relative-filename">
+  <xsl:param name="base.dir" select="'./'"/>
+  <xsl:param name="base.name" select="''"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($vendor, 'SAXON')">
+      <!-- Saxon doesn't make the chunks relative -->
+      <xsl:value-of select="concat($base.dir,$base.name)"/>
+    </xsl:when>
+    <xsl:when test="contains($vendor, 'Apache')">
+      <!-- Xalan doesn't make the chunks relative -->
+      <xsl:value-of select="concat($base.dir,$base.name)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message terminate="yes">
+        <xsl:text>Chunking isn't supported with </xsl:text>
+        <xsl:value-of select="$vendor"/>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="write.chunk">
+  <xsl:param name="filename" select="''"/>
+  <xsl:param name="method" select="'html'"/>
+  <xsl:param name="encoding" select="$default.encoding"/>
+  <xsl:param name="indent" select="'no'"/>
+  <xsl:param name="content" select="''"/>
+
+  <xsl:message>
+    <xsl:text>Writing </xsl:text>
+    <xsl:value-of select="$filename"/>
+    <xsl:if test="name(.) != ''">
+      <xsl:text> for </xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:if test="@id">
+        <xsl:text>(</xsl:text>
+        <xsl:value-of select="@id"/>
+        <xsl:text>)</xsl:text>
+      </xsl:if>
+    </xsl:if>
+  </xsl:message>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($vendor, 'SAXON 6.2')">
+      <!-- Saxon 6.2.x uses xsl:document -->
+      <xsl:document href="{$filename}"
+                    method="{$method}"
+                    encoding="{$encoding}"
+                    indent="{$indent}"
+                    saxon:character-representation="{$saxon.character.representation}">
+        <xsl:copy-of select="$content"/>
+      </xsl:document>
+    </xsl:when>
+    <xsl:when test="contains($vendor, 'SAXON')">
+      <!-- Saxon uses saxon:output -->
+      <saxon:output file="{$filename}"
+                    href="{$filename}"
+                    method="{$method}"
+                    encoding="{$encoding}"
+                    indent="{$indent}"
+                    saxon:character-representation="{$saxon.character.representation}">
+        <xsl:copy-of select="$content"/>
+      </saxon:output>
+    </xsl:when>
+    <xsl:when test="contains($vendor, 'Apache')">
+      <!-- Xalan uses redirect -->
+      <redirect:write file="{$filename}">
+        <xsl:copy-of select="$content"/>
+      </redirect:write>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- it doesn't matter since we won't be making chunks... -->
+      <xsl:message terminate="yes">
+        <xsl:text>Can't make chunks with </xsl:text>
+        <xsl:value-of select="$vendor"/>
+        <xsl:text>'s processor.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="write.chunk.with.doctype">
+  <xsl:param name="filename" select="''"/>
+  <xsl:param name="method" select="'html'"/>
+  <xsl:param name="encoding" select="$default.encoding"/>
+  <xsl:param name="indent" select="'no'"/>
+  <xsl:param name="doctype-public" select="''"/>
+  <xsl:param name="doctype-system" select="''"/>
+  <xsl:param name="content" select="''"/>
+
+  <xsl:message>
+    <xsl:text>Writing </xsl:text>
+    <xsl:value-of select="$filename"/>
+    <xsl:if test="name(.) != ''">
+      <xsl:text> for </xsl:text>
+      <xsl:value-of select="name(.)"/>
+    </xsl:if>
+  </xsl:message>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($vendor, 'SAXON 6.2')">
+      <!-- Saxon 6.2.x uses xsl:document -->
+      <xsl:document href="{$filename}"
+                    method="{$method}"
+                    encoding="{$encoding}"
+                    indent="{$indent}"
+                    doctype-public="{$doctype-public}"
+                    doctype-system="{$doctype-system}"
+                    saxon:character-representation="{$saxon.character.representation}">
+        <xsl:copy-of select="$content"/>
+      </xsl:document>
+    </xsl:when>
+    <xsl:when test="contains($vendor, 'SAXON')">
+      <!-- Saxon uses saxon:output -->
+      <saxon:output file="{$filename}"
+                    href="{$filename}"
+                    method="{$method}"
+                    encoding="{$encoding}"
+                    indent="{$indent}"
+                    doctype-public="{$doctype-public}"
+                    doctype-system="{$doctype-system}"
+                    saxon:character-representation="{$saxon.character.representation}">
+        <xsl:copy-of select="$content"/>
+      </saxon:output>
+    </xsl:when>
+    <xsl:when test="contains($vendor, 'Apache')">
+      <!-- Xalan uses redirect -->
+      <redirect:write file="{$filename}">
+        <xsl:copy-of select="$content"/>
+      </redirect:write>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- it doesn't matter since we won't be making chunks... -->
+      <xsl:message terminate="yes">
+        <xsl:text>Can't make chunks with </xsl:text>
+        <xsl:value-of select="$vendor"/>
+        <xsl:text>'s processor.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/onechunk.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/onechunk.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/onechunk.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                version="1.0"
+                exclude-result-prefixes="doc">
+
+<!-- ********************************************************************
+     $Id: onechunk.xsl 3202 2003-11-30 19:42:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="chunk.xsl"/>
+
+<!-- Ok, using the onechunk parameter makes this all work again. -->
+<!-- It does have the disadvantage that it only works for documents that have -->
+<!-- a root element that is considered a chunk by the chunk.xsl stylesheet. -->
+<!-- Ideally, onechunk would let anything be a chunk. But not today. -->
+
+<xsl:param name="onechunk" select="1"/>
+<xsl:param name="suppress.navigation">1</xsl:param>
+
+<xsl:template name="href.target.uri">
+  <xsl:param name="object" select="."/>
+  <xsl:text>#</xsl:text>
+  <xsl:call-template name="object.id">
+    <xsl:with-param name="object" select="$object"/>
+  </xsl:call-template>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/param.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/param.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/param.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,400 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This file is generated from param.xweb; do not edit this file! -->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" exclude-result-prefixes="src" version="1.0">
+
+<!-- ********************************************************************
+     $Id: param.xweb 6462 2007-01-04 09:55:38Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:param name="admon.graphics.extension" select="'.png'"/>
+<xsl:param name="admon.graphics" select="0"/>
+<xsl:param name="admon.graphics.path">images/</xsl:param>
+<xsl:param name="admon.style">
+  <xsl:text>margin-left: 0.5in; margin-right: 0.5in;</xsl:text>
+</xsl:param>
+<xsl:param name="admon.textlabel" select="1"/>
+<xsl:param name="annotate.toc" select="1"/>
+<xsl:param name="annotation.css">
+/* ======================================================================
+   Annotations
+*/
+
+div.annotation-list  { visibility: hidden;
+                     }
+
+div.annotation-nocss { position: absolute;
+                       visibility: hidden;
+                     }
+
+div.annotation-popup { position: absolute;
+                       z-index: 4;
+                       visibility: hidden;
+                       padding: 0px;
+                       margin: 2px;
+                       border-style: solid;
+                       border-width: 1px;
+                       width: 200px;
+		       background-color: white;
+                     }
+
+div.annotation-title { padding: 1px;
+                       font-weight: bold;
+                       border-bottom-style: solid;
+                       border-bottom-width: 1px;
+		       color: white;
+		       background-color: black;
+                     }
+
+div.annotation-body  { padding: 2px;
+                     }
+
+div.annotation-body p { margin-top: 0px;
+                        padding-top: 0px;
+                      }
+
+div.annotation-close { position: absolute;
+                       top: 2px;
+                       right: 2px;
+                     }
+</xsl:param>
+<xsl:param name="annotation.js" select="'http://docbook.sourceforge.net/release/script/AnchorPosition.js             http://docbook.sourceforge.net/release/script/PopupWindow.js'"/>
+<xsl:param name="annotation.graphic.open" select="'http://docbook.sourceforge.net/release/images/annot-open.png'"/>
+<xsl:param name="annotation.graphic.close" select="'http://docbook.sourceforge.net/release/images/annot-close.png'"/>
+<xsl:param name="annotation.support" select="0"/>
+<xsl:param name="appendix.autolabel" select="'A'"/>
+<xsl:param name="author.othername.in.middle" select="1"/>
+<xsl:param name="autotoc.label.separator" select="'. '"/>
+<xsl:param name="autotoc.label.in.hyperlink" select="1"/>
+<xsl:param name="base.dir" select="''"/>
+<xsl:param name="biblioentry.item.separator">. </xsl:param>
+<xsl:param name="bibliography.collection" select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"/>
+<xsl:param name="bibliography.numbered" select="0"/>
+<xsl:param name="blurb.on.titlepage.enabled">0</xsl:param>
+<xsl:param name="bridgehead.in.toc" select="0"/>
+<xsl:param name="callout.defaultcolumn" select="'60'"/>
+<xsl:param name="callout.graphics.extension" select="'.png'"/>
+<xsl:param name="callout.graphics" select="'1'"/>
+<xsl:param name="callout.graphics.number.limit" select="'15'"/>
+<xsl:param name="callout.graphics.path" select="'images/callouts/'"/>
+<xsl:param name="callout.list.table" select="'1'"/>
+<xsl:param name="callout.unicode" select="0"/>
+<xsl:param name="callout.unicode.number.limit" select="'10'"/>
+<xsl:param name="callout.unicode.start.character" select="10102"/>
+<xsl:param name="callouts.extension" select="'1'"/>
+<xsl:param name="chapter.autolabel" select="1"/>
+<xsl:param name="chunk.append"/>
+<xsl:param name="chunk.first.sections" select="0"/>
+<xsl:param name="chunk.quietly" select="0"/>
+<xsl:param name="chunk.section.depth" select="1"/>
+<xsl:param name="chunk.toc" select="''"/>
+<xsl:param name="chunk.tocs.and.lots" select="0"/>
+<xsl:param name="chunk.tocs.and.lots.has.title" select="1"/>
+<xsl:param name="chunk.separate.lots" select="0"/>
+<xsl:param name="citerefentry.link" select="'0'"/>
+<xsl:param name="collect.xref.targets" select="'no'"/>
+<xsl:param name="component.label.includes.part.label" select="0"/>
+<xsl:param name="contrib.inline.enabled">1</xsl:param>
+<xsl:param name="css.decoration" select="1"/>
+<xsl:param name="current.docid" select="''"/> 
+<xsl:param name="default.float.class">
+  <xsl:choose>
+    <xsl:when test="contains($stylesheet.result.type,'html')">left</xsl:when>
+    <xsl:otherwise>before</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+<xsl:param name="default.image.width" select="''"/>
+<xsl:param name="default.table.width" select="''"/>
+<xsl:param name="default.table.frame" select="'all'"/>
+<xsl:param name="draft.mode" select="'maybe'"/>
+<xsl:param name="draft.watermark.image" select="'http://docbook.sourceforge.net/release/images/draft.png'"/>
+<xsl:param name="ebnf.table.bgcolor" select="'#F5DCB3'"/>
+<xsl:param name="ebnf.table.border" select="1"/>
+<xsl:param name="ebnf.assignment">
+<code>::=</code>
+</xsl:param>
+
+<xsl:param name="ebnf.statement.terminator"/>
+
+<xsl:param name="eclipse.autolabel" select="0"/>
+<xsl:param name="eclipse.plugin.name">DocBook Online Help Sample</xsl:param>
+<xsl:param name="eclipse.plugin.id">com.example.help</xsl:param>
+<xsl:param name="eclipse.plugin.provider">Example provider</xsl:param>
+<xsl:param name="editedby.enabled">1</xsl:param>
+<xsl:param name="email.delimiters.enabled">1</xsl:param>
+<xsl:param name="emphasis.propagates.style" select="1"/>
+<xsl:param name="entry.propagates.style" select="1"/>
+<xsl:param name="firstterm.only.link" select="0"/>
+<xsl:param name="footer.rule" select="1"/>
+<xsl:param name="footnote.number.format" select="'1'"/>
+<xsl:param name="footnote.number.symbols" select="''"/>
+<xsl:param name="formal.procedures" select="1"/>
+<xsl:param name="formal.title.placement">
+figure before
+example before
+equation before
+table before
+procedure before
+task before
+</xsl:param>
+<xsl:param name="funcsynopsis.decoration" select="1"/>
+<xsl:param name="funcsynopsis.style">kr</xsl:param>
+<xsl:param name="funcsynopsis.tabular.threshold" select="40"/>
+<xsl:param name="function.parens">0</xsl:param>
+<xsl:param name="generate.id.attributes" select="0"/>
+<xsl:param name="generate.index" select="1"/>
+<xsl:param name="generate.legalnotice.link" select="0"/>
+<xsl:param name="generate.revhistory.link" select="0"/>
+<xsl:param name="generate.manifest" select="0"/>
+<xsl:param name="generate.meta.abstract" select="1"/>
+<xsl:param name="generate.section.toc.level" select="0"/>
+<xsl:param name="generate.toc">
+appendix  toc,title
+article/appendix  nop
+article   toc,title
+book      toc,title,figure,table,example,equation
+chapter   toc,title
+part      toc,title
+preface   toc,title
+qandadiv  toc
+qandaset  toc
+reference toc,title
+sect1     toc
+sect2     toc
+sect3     toc
+sect4     toc
+sect5     toc
+section   toc
+set       toc,title
+</xsl:param>
+
+<xsl:param name="glossary.collection" select="''"/>
+<xsl:param name="glossary.sort" select="0"/>
+<xsl:param name="glossentry.show.acronym" select="'no'"/>
+<xsl:param name="glossterm.auto.link" select="0"/>
+<xsl:param name="graphic.default.extension"/>
+<xsl:param name="graphicsize.extension" select="1"/>
+<xsl:param name="graphicsize.use.img.src.path" select="0"/>
+<xsl:param name="header.rule" select="1"/>
+<xsl:param name="highlight.default.language" select="''"/>
+<xsl:param name="highlight.source" select="0"/>
+<xsl:param name="html.append"/>
+<xsl:param name="html.base"/>
+<xsl:param name="html.cellpadding" select="''"/>
+<xsl:param name="html.cellspacing" select="''"/>
+<xsl:param name="html.cleanup" select="1"/>
+<xsl:param name="html.ext" select="'.html'"/>
+<xsl:param name="html.extra.head.links" select="0"/>
+<xsl:param name="html.head.legalnotice.link.types">copyright</xsl:param>
+<xsl:param name="html.head.legalnotice.link.multiple" select="1"/>
+<xsl:param name="html.longdesc" select="1"/>
+<xsl:param name="html.longdesc.link" select="$html.longdesc"/>
+<xsl:param name="html.stylesheet" select="''"/>
+<xsl:param name="html.stylesheet.type">text/css</xsl:param>
+<xsl:param name="htmlhelp.alias.file" select="'alias.h'"/>
+<xsl:param name="htmlhelp.autolabel" select="0"/>
+<xsl:param name="htmlhelp.button.back" select="1"/>
+<xsl:param name="htmlhelp.button.forward" select="0"/>
+<xsl:param name="htmlhelp.button.hideshow" select="1"/>
+<xsl:param name="htmlhelp.button.home" select="0"/>
+<xsl:param name="htmlhelp.button.home.url"/>
+<xsl:param name="htmlhelp.button.jump1" select="0"/>
+<xsl:param name="htmlhelp.button.jump1.title" select="'User1'"/>
+<xsl:param name="htmlhelp.button.jump1.url"/>
+<xsl:param name="htmlhelp.button.jump2" select="0"/>
+<xsl:param name="htmlhelp.button.jump2.title" select="'User2'"/>
+<xsl:param name="htmlhelp.button.jump2.url"/>
+<xsl:param name="htmlhelp.button.locate" select="0"/>
+<xsl:param name="htmlhelp.button.next" select="1"/>
+<xsl:param name="htmlhelp.button.options" select="1"/>
+<xsl:param name="htmlhelp.button.prev" select="1"/>
+<xsl:param name="htmlhelp.button.print" select="1"/>
+<xsl:param name="htmlhelp.button.refresh" select="0"/>
+<xsl:param name="htmlhelp.button.stop" select="0"/>
+<xsl:param name="htmlhelp.button.zoom" select="0"/>
+<xsl:param name="htmlhelp.chm" select="'htmlhelp.chm'"/>
+<xsl:param name="htmlhelp.default.topic" select="''"/>
+<xsl:param name="htmlhelp.display.progress" select="1"/>
+<xsl:param name="htmlhelp.encoding" select="'iso-8859-1'"/>
+<xsl:param name="htmlhelp.enhanced.decompilation" select="0"/>
+<xsl:param name="htmlhelp.enumerate.images" select="0"/>
+<xsl:param name="htmlhelp.force.map.and.alias" select="0"/>
+<xsl:param name="htmlhelp.hhc.binary" select="1"/>
+<xsl:param name="htmlhelp.hhc.folders.instead.books" select="1"/>
+<xsl:param name="htmlhelp.hhc" select="'toc.hhc'"/>
+<xsl:param name="htmlhelp.hhc.section.depth" select="5"/>
+<xsl:param name="htmlhelp.hhc.show.root" select="1"/>
+<xsl:param name="htmlhelp.hhc.width"/>
+<xsl:param name="htmlhelp.hhk" select="'index.hhk'"/>
+<xsl:param name="htmlhelp.hhp" select="'htmlhelp.hhp'"/>
+<xsl:param name="htmlhelp.hhp.tail"/>
+<xsl:param name="htmlhelp.hhp.window" select="'Main'"/>
+<xsl:param name="htmlhelp.hhp.windows"/>
+<xsl:param name="htmlhelp.map.file" select="'context.h'"/>
+<xsl:param name="htmlhelp.only" select="0"/>
+<xsl:param name="htmlhelp.remember.window.position" select="0"/>
+<xsl:param name="htmlhelp.show.advanced.search" select="0"/>
+<xsl:param name="htmlhelp.show.favorities" select="0"/>
+<xsl:param name="htmlhelp.show.menu" select="0"/>
+<xsl:param name="htmlhelp.show.toolbar.text" select="1"/>
+<xsl:param name="htmlhelp.title" select="''"/>
+<xsl:param name="htmlhelp.use.hhk" select="0"/>
+<xsl:param name="htmlhelp.window.geometry"/>
+<xsl:param name="img.src.path"/>
+<xsl:param name="id.warnings" select="1"/>
+<xsl:param name="index.method" select="'basic'"/>
+<xsl:param name="index.on.role" select="0"/>
+<xsl:param name="index.on.type" select="0"/>
+<xsl:param name="index.number.separator" select="''"/>
+<xsl:param name="index.term.separator" select="''"/>
+<xsl:param name="index.range.separator" select="''"/>
+<xsl:param name="index.prefer.titleabbrev" select="0"/>
+<xsl:param name="ignore.image.scaling" select="0"/>
+<xsl:param name="inherit.keywords" select="'1'"/>
+<xsl:param name="insert.xref.page.number">no</xsl:param>
+<xsl:param name="keep.relative.image.uris" select="1"/>
+
+<xsl:param name="l10n.gentext.default.language" select="'en'"/>
+<xsl:param name="l10n.gentext.language" select="''"/>
+<xsl:param name="l10n.gentext.use.xref.language" select="0"/>
+<xsl:param name="l10n.lang.value.rfc.compliant" select="1"/>
+<xsl:param name="label.from.part" select="'0'"/>
+<xsl:param name="linenumbering.everyNth" select="'5'"/>
+<xsl:param name="linenumbering.extension" select="'1'"/>
+<xsl:param name="linenumbering.separator" select="' '"/>
+<xsl:param name="linenumbering.width" select="'3'"/>
+<xsl:param name="link.mailto.url"/>
+<xsl:param name="make.graphic.viewport" select="1"/>
+<xsl:param name="make.single.year.ranges" select="0"/>
+<xsl:param name="make.valid.html" select="0"/>
+<xsl:param name="make.year.ranges" select="0"/>
+<xsl:param name="manifest" select="'HTML.manifest'"/>
+<xsl:param name="manifest.in.base.dir" select="0"/>
+<xsl:param name="manual.toc" select="''"/>
+<xsl:param name="menuchoice.menu.separator"> → </xsl:param>
+<xsl:param name="menuchoice.separator" select="'+'"/>
+<xsl:param name="navig.graphics.extension" select="'.gif'"/>
+<xsl:param name="navig.graphics" select="0"/>
+<xsl:param name="navig.graphics.path">images/</xsl:param>
+<xsl:param name="navig.showtitles">1</xsl:param>
+<xsl:param name="nominal.image.depth" select="4 * $pixels.per.inch"/>
+<xsl:param name="nominal.image.width" select="6 * $pixels.per.inch"/>
+<xsl:param name="nominal.table.width" select="'6in'"/>
+<xsl:param name="olink.base.uri" select="''"/> 
+<xsl:param name="olink.debug" select="0"/>
+<xsl:attribute-set name="olink.properties">
+  <xsl:attribute name="show-destination">replace</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="insert.olink.page.number">no</xsl:param>
+<xsl:param name="insert.olink.pdf.frag" select="0"/>
+<xsl:param name="prefer.internal.olink" select="0"/>
+<xsl:param name="olink.lang.fallback.sequence" select="''"/> 
+<xsl:param name="olink.doctitle" select="'no'"/> 
+<xsl:param name="olink.fragid" select="'fragid='"/>
+<xsl:param name="olink.outline.ext" select="'.olink'"/>
+<xsl:param name="olink.pubid" select="'pubid='"/>
+<xsl:param name="olink.resolver" select="'/cgi-bin/olink'"/>
+<xsl:param name="olink.sysid" select="'sysid='"/>
+<xsl:param name="othercredit.like.author.enabled">0</xsl:param>
+<xsl:param name="para.propagates.style" select="1"/>
+<xsl:param name="part.autolabel" select="'I'"/>
+<xsl:param name="phrase.propagates.style" select="1"/>
+<xsl:param name="pixels.per.inch" select="90"/>
+<xsl:param name="points.per.em" select="10"/>
+<xsl:param name="preface.autolabel" select="0"/>
+<xsl:param name="preferred.mediaobject.role"/>
+<xsl:param name="process.empty.source.toc" select="0"/>
+<xsl:param name="process.source.toc" select="0"/>
+<xsl:param name="profile.arch" select="''"/>
+<xsl:param name="profile.attribute" select="''"/>
+<xsl:param name="profile.condition" select="''"/>
+<xsl:param name="profile.conformance" select="''"/>
+<xsl:param name="profile.lang" select="''"/>
+<xsl:param name="profile.os" select="''"/>
+<xsl:param name="profile.revision" select="''"/>
+<xsl:param name="profile.revisionflag" select="''"/>
+<xsl:param name="profile.role" select="''"/>
+<xsl:param name="profile.security" select="''"/>
+<xsl:param name="profile.separator" select="';'"/>
+<xsl:param name="profile.status" select="''"/>
+<xsl:param name="profile.userlevel" select="''"/>
+<xsl:param name="profile.value" select="''"/>
+<xsl:param name="profile.vendor" select="''"/>
+<xsl:param name="punct.honorific" select="'.'"/>
+<xsl:param name="qanda.defaultlabel">number</xsl:param>
+<xsl:param name="qanda.inherit.numeration" select="1"/>
+<xsl:param name="qanda.in.toc" select="0"/>
+<xsl:param name="qanda.nested.in.toc" select="0"/>
+<xsl:param name="qandadiv.autolabel" select="1"/>
+<xsl:param name="refentry.generate.name" select="1"/>
+<xsl:param name="refentry.generate.title" select="0"/>
+<xsl:param name="refentry.separator" select="'1'"/>
+<xsl:param name="refentry.xref.manvolnum" select="1"/>
+<xsl:param name="reference.autolabel" select="'I'"/>
+<xsl:param name="refclass.suppress" select="0"/>
+<xsl:param name="root.filename" select="'index'"/>
+<xsl:param name="rootid" select="''"/>
+<xsl:param name="runinhead.default.title.end.punct" select="'.'"/>
+<xsl:param name="runinhead.title.end.punct" select="'.!?:'"/>
+<xsl:param name="section.autolabel" select="0"/>
+<xsl:param name="section.autolabel.max.depth" select="8"/>
+<xsl:param name="section.label.includes.component.label" select="0"/>
+<xsl:param name="segmentedlist.as.table" select="0"/>
+<xsl:param name="shade.verbatim" select="0"/>
+<xsl:attribute-set name="shade.verbatim.style">
+  <xsl:attribute name="border">0</xsl:attribute>
+  <xsl:attribute name="bgcolor">#E0E0E0</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:param name="show.comments">1</xsl:param>
+<xsl:param name="show.revisionflag">0</xsl:param>
+<xsl:param name="simplesect.in.toc" select="0"/>
+<xsl:param name="spacing.paras" select="'0'"/>
+<xsl:param name="suppress.footer.navigation">0</xsl:param>
+<xsl:param name="suppress.header.navigation">0</xsl:param>
+<xsl:param name="suppress.navigation">0</xsl:param>
+<xsl:param name="table.borders.with.css" select="0"/>
+<xsl:param name="table.cell.border.color" select="''"/>
+
+<xsl:param name="table.cell.border.style" select="'solid'"/>
+<xsl:param name="table.cell.border.thickness" select="'0.5pt'"/>
+<xsl:param name="table.footnote.number.format" select="'a'"/>
+<xsl:param name="table.footnote.number.symbols" select="''"/>
+<xsl:param name="table.frame.border.color" select="''"/>
+
+<xsl:param name="table.frame.border.style" select="'solid'"/>
+<xsl:param name="table.frame.border.thickness" select="'0.5pt'"/>
+<xsl:param name="tablecolumns.extension" select="'1'"/>
+<xsl:param name="target.database.document" select="''"/>
+<xsl:param name="targets.filename" select="'target.db'"/>
+<xsl:param name="textdata.default.encoding" select="''"/>
+<xsl:param name="tex.math.delims" select="'1'"/>
+<xsl:param name="tex.math.file" select="'tex-math-equations.tex'"/>
+<xsl:param name="tex.math.in.alt" select="''"/>
+<xsl:param name="textinsert.extension" select="'1'"/>
+<xsl:param name="toc.list.type">dl</xsl:param>
+<xsl:param name="toc.section.depth">2</xsl:param>
+<xsl:param name="toc.max.depth">8</xsl:param>
+<xsl:param name="ulink.target" select="'_top'"/>
+<xsl:param name="use.embed.for.svg" select="0"/>
+<xsl:param name="use.extensions" select="'0'"/>
+<xsl:param name="use.id.as.filename" select="'0'"/>
+<xsl:param name="use.local.olink.style" select="0"/> 
+<xsl:param name="use.role.as.xrefstyle" select="1"/>
+<xsl:param name="use.role.for.mediaobject" select="1"/>
+<xsl:param name="use.svg" select="1"/>
+<xsl:param name="variablelist.as.table" select="0"/>
+<xsl:param name="variablelist.term.separator">, </xsl:param>
+<xsl:param name="variablelist.term.break.after">0</xsl:param>
+<xsl:param name="xref.with.number.and.title" select="1"/>
+<xsl:param name="xref.label-title.separator">: </xsl:param>
+<xsl:param name="xref.label-page.separator"><xsl:text> </xsl:text></xsl:param>
+<xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param>
+
+</xsl:stylesheet>
\ No newline at end of file

Added: trunk/docs/docbook/src/main/resources/html/pi.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/pi.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/pi.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,251 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: pi.xsl 5937 2006-05-07 02:22:41Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="processing-instruction()">
+</xsl:template>
+
+<xsl:template match="processing-instruction('dbhtml')">
+  <!-- nop -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="dbhtml-attribute">
+  <xsl:param name="pis" select="processing-instruction('dbhtml')"/>
+  <xsl:param name="attribute">filename</xsl:param>
+
+  <xsl:call-template name="pi-attribute">
+    <xsl:with-param name="pis" select="$pis"/>
+    <xsl:with-param name="attribute" select="$attribute"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="dbhtml-filename">
+  <xsl:param name="pis" select="./processing-instruction('dbhtml')"/>
+  <xsl:call-template name="dbhtml-attribute">
+    <xsl:with-param name="pis" select="$pis"/>
+    <xsl:with-param name="attribute">filename</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!--
+<xsl:template name="dbhtml-dir">
+  <xsl:param name="pis" select="./processing-instruction('dbhtml')"/>
+  <xsl:call-template name="dbhtml-attribute">
+    <xsl:with-param name="pis" select="$pis"/>
+    <xsl:with-param name="attribute">dir</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+-->
+
+<xsl:template name="dbhtml-dir">
+  <xsl:param name="context" select="."/>
+
+  <!-- directories are now inherited from previous levels -->
+
+  <xsl:variable name="ppath">
+    <xsl:if test="$context/parent::*">
+      <xsl:call-template name="dbhtml-dir">
+        <xsl:with-param name="context" select="$context/parent::*"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="path">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="$context/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute">dir</xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$path = ''">
+      <xsl:if test="$ppath != ''">
+        <xsl:value-of select="$ppath"/>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$ppath != ''">
+        <xsl:value-of select="$ppath"/>
+        <xsl:if test="substring($ppath, string-length($ppath), 1) != '/'">
+          <xsl:text>/</xsl:text>
+        </xsl:if>
+      </xsl:if>
+      <xsl:value-of select="$path"/>
+      <xsl:text>/</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.cmdsynopsis.list">
+  <xsl:param name="cmdsynopses"/><!-- empty node list by default -->
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="$count>count($cmdsynopses)"></xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="cmdsyn" select="$cmdsynopses[$count]"/>
+
+       <dt>
+       <a>
+         <xsl:attribute name="href">
+           <xsl:call-template name="object.id">
+             <xsl:with-param name="object" select="$cmdsyn"/>
+           </xsl:call-template>
+         </xsl:attribute>
+
+         <xsl:choose>
+           <xsl:when test="$cmdsyn/@xreflabel">
+             <xsl:call-template name="xref.xreflabel">
+               <xsl:with-param name="target" select="$cmdsyn"/>
+             </xsl:call-template>
+           </xsl:when>
+           <xsl:otherwise>
+             <xsl:apply-templates select="$cmdsyn" mode="xref-to">
+               <xsl:with-param name="target" select="$cmdsyn"/>
+             </xsl:apply-templates>
+           </xsl:otherwise>
+         </xsl:choose>
+       </a>
+       </dt>
+
+        <xsl:call-template name="process.cmdsynopsis.list">
+          <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/>
+          <xsl:with-param name="count" select="$count+1"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+</xsl:template>
+
+<xsl:template match="processing-instruction('dbcmdlist')">
+  <xsl:variable name="cmdsynopses" select="..//cmdsynopsis"/>
+
+  <xsl:if test="count($cmdsynopses)&lt;1">
+    <xsl:message><xsl:text>No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep?</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <dl>
+    <xsl:call-template name="process.cmdsynopsis.list">
+      <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/>
+    </xsl:call-template>
+  </dl>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.funcsynopsis.list">
+  <xsl:param name="funcsynopses"/><!-- empty node list by default -->
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="$count>count($funcsynopses)"></xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="cmdsyn" select="$funcsynopses[$count]"/>
+
+       <dt>
+       <a>
+         <xsl:attribute name="href">
+           <xsl:call-template name="object.id">
+             <xsl:with-param name="object" select="$cmdsyn"/>
+           </xsl:call-template>
+         </xsl:attribute>
+
+         <xsl:choose>
+           <xsl:when test="$cmdsyn/@xreflabel">
+             <xsl:call-template name="xref.xreflabel">
+               <xsl:with-param name="target" select="$cmdsyn"/>
+             </xsl:call-template>
+           </xsl:when>
+           <xsl:otherwise>
+              <xsl:apply-templates select="$cmdsyn" mode="xref-to">
+                <xsl:with-param name="target" select="$cmdsyn"/>
+              </xsl:apply-templates>
+           </xsl:otherwise>
+         </xsl:choose>
+       </a>
+       </dt>
+
+        <xsl:call-template name="process.funcsynopsis.list">
+          <xsl:with-param name="funcsynopses" select="$funcsynopses"/>
+          <xsl:with-param name="count" select="$count+1"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+</xsl:template>
+
+<xsl:template match="processing-instruction('dbfunclist')">
+  <xsl:variable name="funcsynopses" select="..//funcsynopsis"/>
+
+  <xsl:if test="count($funcsynopses)&lt;1">
+    <xsl:message><xsl:text>No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep?</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <dl>
+    <xsl:call-template name="process.funcsynopsis.list">
+      <xsl:with-param name="funcsynopses" select="$funcsynopses"/>
+    </xsl:call-template>
+  </dl>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- Copy well-formed external HTML content to the output. -->
+<!-- An optional <html> wrapper will be removed before content is copied 
+     to support multiple elements in output without a wrapper.
+     No other processing is done to the content. -->
+<xsl:template match="processing-instruction('dbhtml-include')">
+  <xsl:param name="href">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="."/>
+      <xsl:with-param name="attribute">href</xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$href != ''">
+      <xsl:variable name="content" select="document($href,/)"/>
+      <xsl:choose>
+        <xsl:when test="$content/*">
+          <xsl:choose>
+            <xsl:when test="$content/*[1][self::html]">
+              <!-- include just the children of html wrapper -->
+              <xsl:copy-of select="$content/*[1]/node()"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:copy-of select="$content"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>ERROR: dbhtml-include processing instruction </xsl:text>
+            <xsl:text>href has no content.</xsl:text>
+          </xsl:message>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>ERROR: dbhtml-include processing instruction has </xsl:text>
+        <xsl:text>missing or empty href value.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/profile-chunk-code.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/profile-chunk-code.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/profile-chunk-code.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,765 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by xsl2profile-->
+<!--from the DocBook XSL stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exslt="http://exslt.org/common" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" version="1.0" exclude-result-prefixes="exsl cf ng db exslt">
+
+<!-- ********************************************************************
+     $Id: chunk-code.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:param name="onechunk" select="0"/>
+<xsl:param name="refentry.separator" select="0"/>
+<xsl:param name="chunk.fast" select="0"/>
+
+<xsl:key name="genid" match="*" use="generate-id()"/>
+
+<!-- ==================================================================== -->
+
+<xsl:variable name="chunk.hierarchy">
+  <xsl:if test="$chunk.fast != 0">
+    <xsl:choose>
+      <xsl:when test="function-available('exsl:node-set')">
+        <xsl:message>Computing chunks...</xsl:message>
+        <xsl:apply-templates select="/*" mode="find.chunks"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:message>
+          <xsl:text>Fast chunking requires exsl:node-set(). </xsl:text>
+          <xsl:text>Using "slow" chunking.</xsl:text>
+        </xsl:message>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:variable>
+
+<xsl:template match="*" mode="find.chunks">
+  <xsl:variable name="chunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$chunk != 0">
+      <cf:div id="{generate-id()}">
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates select="*" mode="find.chunks"/>
+      </cf:div>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="*" mode="find.chunks"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process-chunk-element">
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$chunk.fast != 0 and function-available('exsl:node-set')">
+      <xsl:variable name="chunks" select="exsl:node-set($chunk.hierarchy)//cf:div"/>
+      <xsl:variable name="genid" select="generate-id()"/>
+
+      <xsl:variable name="div" select="$chunks[@id=$genid or @xml:id=$genid]"/>
+
+      <xsl:variable name="prevdiv" select="($div/preceding-sibling::cf:div|$div/preceding::cf:div|$div/parent::cf:div)[last()]"/>
+      <xsl:variable name="prev" select="key('genid', ($prevdiv/@id|$prevdiv/@xml:id)[1])"/>
+
+      <xsl:variable name="nextdiv" select="($div/following-sibling::cf:div|$div/following::cf:div|$div/cf:div)[1]"/>
+      <xsl:variable name="next" select="key('genid', ($nextdiv/@id|$nextdiv/@xml:id)[1])"/>
+
+      <xsl:choose>
+        <xsl:when test="$onechunk != 0 and parent::*">
+          <xsl:copy-of select="$content"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="process-chunk">
+            <xsl:with-param name="prev" select="$prev"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$onechunk != 0 and not(parent::*)">
+          <xsl:call-template name="chunk-all-sections">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$onechunk != 0">
+          <xsl:copy-of select="$content"/>
+        </xsl:when>
+        <xsl:when test="$chunk.first.sections = 0">
+          <xsl:call-template name="chunk-first-section-with-parent">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="chunk-all-sections">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process-chunk">
+  <xsl:param name="prev" select="."/>
+  <xsl:param name="next" select="."/>
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:variable name="chunkfn">
+    <xsl:if test="$ischunk='1'">
+      <xsl:apply-templates mode="chunk-filename" select="."/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:if test="$ischunk='0'">
+    <xsl:message>
+      <xsl:text>Error </xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:text> is not a chunk!</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="filename">
+    <xsl:call-template name="make-relative-filename">
+      <xsl:with-param name="base.dir" select="$base.dir"/>
+      <xsl:with-param name="base.name" select="$chunkfn"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename" select="$filename"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="chunk-element-content">
+        <xsl:with-param name="prev" select="$prev"/>
+        <xsl:with-param name="next" select="$next"/>
+        <xsl:with-param name="content" select="$content"/>
+      </xsl:call-template>
+    </xsl:with-param>
+    <xsl:with-param name="quiet" select="$chunk.quietly"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="chunk-first-section-with-parent">
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <!-- These xpath expressions are really hairy. The trick is to pick sections -->
+  <!-- that are not first children and are not the children of first children -->
+
+  <!-- Break these variables into pieces to work around
+       http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6063 -->
+
+  <xsl:variable name="prev-v1" select="(ancestor::sect1[$chunk.section.depth &gt; 0                                and preceding-sibling::sect1][1]               |ancestor::sect2[$chunk.section.depth &gt; 1                                and preceding-sibling::sect2                                and parent::sect1[preceding-sibling::sect1]][1]               |ancestor::sect3[$chunk.section.depth &gt; 2                                and preceding-sibling::sect3                                and parent::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |ancestor::sect4[$chunk.section.depth &gt; 3                                and preceding-sibling::sect4                                and parent::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |!
 ancestor::sect5[$chunk.section.depth &gt; 4                                and preceding-sibling::sect5                                and parent::sect4[preceding-sibling::sect4]                                and ancestor::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |ancestor::section[$chunk.section.depth &gt; count(ancestor::section)                                 and not(ancestor::section[not(preceding-sibling::section)])][1])[last()]"/>
+
+  <xsl:variable name="prev-v2" select="(preceding::sect1[$chunk.section.depth &gt; 0                                and preceding-sibling::sect1][1]               |preceding::sect2[$chunk.section.depth &gt; 1                                and preceding-sibling::sect2                                and parent::sect1[preceding-sibling::sect1]][1]               |preceding::sect3[$chunk.section.depth &gt; 2                                and preceding-sibling::sect3                                and parent::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |preceding::sect4[$chunk.section.depth &gt; 3                                and preceding-sibling::sect4                                and parent::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]            !
    |preceding::sect5[$chunk.section.depth &gt; 4                                and preceding-sibling::sect5                                and parent::sect4[preceding-sibling::sect4]                                and ancestor::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |preceding::section[$chunk.section.depth &gt; count(ancestor::section)                                  and preceding-sibling::section                                  and not(ancestor::section[not(preceding-sibling::section)])][1])[last()]"/>
+
+  <xsl:variable name="prev" select="(preceding::book[1]              |preceding::preface[1]              |preceding::chapter[1]              |preceding::appendix[1]              |preceding::part[1]              |preceding::reference[1]              |preceding::refentry[1]              |preceding::colophon[1]              |preceding::article[1]              |preceding::bibliography[parent::article or parent::book or parent::part][1]              |preceding::glossary[parent::article or parent::book or parent::part][1]              |preceding::index[$generate.index != 0]                                [parent::article or parent::book or parent::part][1]              |preceding::setindex[$generate.index != 0][1]              |ancestor::set              |ancestor::book[1]              |ancestor::preface[1]              |ancestor::chapter[1]              |ancestor::appendix[1]              |ancestor::part[1]              |ancestor::reference[1]              |ancestor::article[1] !
              |$prev-v1              |$prev-v2)[last()]"/>
+
+  <xsl:variable name="next-v1" select="(following::sect1[$chunk.section.depth &gt; 0                                and preceding-sibling::sect1][1]               |following::sect2[$chunk.section.depth &gt; 1                                and preceding-sibling::sect2                                and parent::sect1[preceding-sibling::sect1]][1]               |following::sect3[$chunk.section.depth &gt; 2                                and preceding-sibling::sect3                                and parent::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |following::sect4[$chunk.section.depth &gt; 3                                and preceding-sibling::sect4                                and parent::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]            !
    |following::sect5[$chunk.section.depth &gt; 4                                and preceding-sibling::sect5                                and parent::sect4[preceding-sibling::sect4]                                and ancestor::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |following::section[$chunk.section.depth &gt; count(ancestor::section)                                  and preceding-sibling::section                                  and not(ancestor::section[not(preceding-sibling::section)])][1])[1]"/>
+
+  <xsl:variable name="next-v2" select="(descendant::sect1[$chunk.section.depth &gt; 0                                and preceding-sibling::sect1][1]               |descendant::sect2[$chunk.section.depth &gt; 1                                and preceding-sibling::sect2                                and parent::sect1[preceding-sibling::sect1]][1]               |descendant::sect3[$chunk.section.depth &gt; 2                                and preceding-sibling::sect3                                and parent::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |descendant::sect4[$chunk.section.depth &gt; 3                                and preceding-sibling::sect4                                and parent::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]        !
        |descendant::sect5[$chunk.section.depth &gt; 4                                and preceding-sibling::sect5                                and parent::sect4[preceding-sibling::sect4]                                and ancestor::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |descendant::section[$chunk.section.depth &gt; count(ancestor::section)                                  and preceding-sibling::section                                  and not(ancestor::section[not(preceding-sibling::section)])])[1]"/>
+
+  <xsl:variable name="next" select="(following::book[1]              |following::preface[1]              |following::chapter[1]              |following::appendix[1]              |following::part[1]              |following::reference[1]              |following::refentry[1]              |following::colophon[1]              |following::bibliography[parent::article or parent::book or parent::part][1]              |following::glossary[parent::article or parent::book or parent::part][1]              |following::index[$generate.index != 0]                                [parent::article or parent::book or parent::part][1]              |following::article[1]              |following::setindex[$generate.index != 0][1]              |descendant::book[1]              |descendant::preface[1]              |descendant::chapter[1]              |descendant::appendix[1]              |descendant::article[1]              |descendant::bibliography[parent::article or parent::book or parent::part]!
 [1]              |descendant::glossary[parent::article or parent::book or parent::part][1]              |descendant::index[$generate.index != 0]                                [parent::article or parent::book or parent::part][1]              |descendant::colophon[1]              |descendant::setindex[$generate.index != 0][1]              |descendant::part[1]              |descendant::reference[1]              |descendant::refentry[1]              |$next-v1              |$next-v2)[1]"/>
+
+  <xsl:call-template name="process-chunk">
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="chunk-all-sections">
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:variable name="prev-v1" select="(preceding::sect1[$chunk.section.depth &gt; 0][1]              |preceding::sect2[$chunk.section.depth &gt; 1][1]              |preceding::sect3[$chunk.section.depth &gt; 2][1]              |preceding::sect4[$chunk.section.depth &gt; 3][1]              |preceding::sect5[$chunk.section.depth &gt; 4][1]              |preceding::section[$chunk.section.depth &gt; count(ancestor::section)][1])[last()]"/>
+
+  <xsl:variable name="prev-v2" select="(ancestor::sect1[$chunk.section.depth &gt; 0][1]              |ancestor::sect2[$chunk.section.depth &gt; 1][1]              |ancestor::sect3[$chunk.section.depth &gt; 2][1]              |ancestor::sect4[$chunk.section.depth &gt; 3][1]              |ancestor::sect5[$chunk.section.depth &gt; 4][1]              |ancestor::section[$chunk.section.depth &gt; count(ancestor::section)][1])[last()]"/>
+
+  <xsl:variable name="prev" select="(preceding::book[1]              |preceding::preface[1]              |preceding::chapter[1]              |preceding::appendix[1]              |preceding::part[1]              |preceding::reference[1]              |preceding::refentry[1]              |preceding::colophon[1]              |preceding::article[1]              |preceding::bibliography[parent::article or parent::book or parent::part][1]              |preceding::glossary[parent::article or parent::book or parent::part][1]              |preceding::index[$generate.index != 0]                                [parent::article or parent::book or parent::part][1]              |preceding::setindex[$generate.index != 0][1]              |ancestor::set              |ancestor::book[1]              |ancestor::preface[1]              |ancestor::chapter[1]              |ancestor::appendix[1]              |ancestor::part[1]              |ancestor::reference[1]              |ancestor::article[1] !
              |$prev-v1              |$prev-v2)[last()]"/>
+
+  <xsl:variable name="next-v1" select="(following::sect1[$chunk.section.depth &gt; 0][1]              |following::sect2[$chunk.section.depth &gt; 1][1]              |following::sect3[$chunk.section.depth &gt; 2][1]              |following::sect4[$chunk.section.depth &gt; 3][1]              |following::sect5[$chunk.section.depth &gt; 4][1]              |following::section[$chunk.section.depth &gt; count(ancestor::section)][1])[1]"/>
+
+  <xsl:variable name="next-v2" select="(descendant::sect1[$chunk.section.depth &gt; 0][1]              |descendant::sect2[$chunk.section.depth &gt; 1][1]              |descendant::sect3[$chunk.section.depth &gt; 2][1]              |descendant::sect4[$chunk.section.depth &gt; 3][1]              |descendant::sect5[$chunk.section.depth &gt; 4][1]              |descendant::section[$chunk.section.depth                                    &gt; count(ancestor::section)][1])[1]"/>
+
+  <xsl:variable name="next" select="(following::book[1]              |following::preface[1]              |following::chapter[1]              |following::appendix[1]              |following::part[1]              |following::reference[1]              |following::refentry[1]              |following::colophon[1]              |following::bibliography[parent::article or parent::book or parent::part][1]              |following::glossary[parent::article or parent::book or parent::part][1]              |following::index[$generate.index != 0]                                [parent::article or parent::book][1]              |following::article[1]              |following::setindex[$generate.index != 0][1]              |descendant::book[1]              |descendant::preface[1]              |descendant::chapter[1]              |descendant::appendix[1]              |descendant::article[1]              |descendant::bibliography[parent::article or parent::book][1]              |descendant::gl!
 ossary[parent::article or parent::book or parent::part][1]              |descendant::index[$generate.index != 0]                                [parent::article or parent::book][1]              |descendant::colophon[1]              |descendant::setindex[$generate.index != 0][1]              |descendant::part[1]              |descendant::reference[1]              |descendant::refentry[1]              |$next-v1              |$next-v2)[1]"/>
+
+  <xsl:call-template name="process-chunk">
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xslo:include xmlns:xslo="http://www.w3.org/1999/XSL/Transform" href="../profiling/profile-mode.xsl"/><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-content"><xslo:choose><xslo:when test="*/self::ng:* or */self::db:*"><xslo:message>Stripping NS from DocBook 5/NG document.</xslo:message><xslo:variable name="stripped-content"><xslo:apply-templates select="/" mode="stripNS"/></xslo:variable><xslo:message>Processing stripped document.</xslo:message><xslo:apply-templates select="exslt:node-set($stripped-content)" mode="profile"/></xslo:when><xslo:otherwise><xslo:apply-templates select="/" mode="profile"/></xslo:otherwise></xslo:choose></xslo:variable><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-nodes" select="exslt:node-set($profiled-content)"/><xsl:template match="/">
+  <xsl:choose>
+    <!-- include extra test for Xalan quirk -->
+    <xsl:when test="false()"/>
+    <!-- Can't process unless namespace removed -->
+    <xsl:when test="false()"/>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$rootid != ''">
+          <xsl:choose>
+            <xsl:when test="count($profiled-nodes//*[@id=$rootid]) = 0">
+              <xsl:message terminate="yes">
+                <xsl:text>ID '</xsl:text>
+                <xsl:value-of select="$rootid"/>
+                <xsl:text>' not found in document.</xsl:text>
+              </xsl:message>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:if test="$collect.xref.targets = 'yes' or                             $collect.xref.targets = 'only'">
+                <xsl:apply-templates select="key('id', $rootid)" mode="collect.targets"/>
+              </xsl:if>
+              <xsl:if test="$collect.xref.targets != 'only'">
+                <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="process.root"/>
+                <xsl:if test="$tex.math.in.alt != ''">
+                  <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="collect.tex.math"/>
+                </xsl:if>
+                <xsl:if test="$generate.manifest != 0">
+                  <xsl:call-template name="generate.manifest">
+                    <xsl:with-param name="node" select="key('id',$rootid)"/>
+                  </xsl:call-template>
+                </xsl:if>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$collect.xref.targets = 'yes' or                         $collect.xref.targets = 'only'">
+            <xsl:apply-templates select="$profiled-nodes" mode="collect.targets"/>
+          </xsl:if>
+          <xsl:if test="$collect.xref.targets != 'only'">
+            <xsl:apply-templates select="$profiled-nodes" mode="process.root"/>
+            <xsl:if test="$tex.math.in.alt != ''">
+              <xsl:apply-templates select="$profiled-nodes" mode="collect.tex.math"/>
+            </xsl:if>
+            <xsl:if test="$generate.manifest != 0">
+              <xsl:call-template name="generate.manifest">
+                <xsl:with-param name="node" select="$profiled-nodes"/>
+              </xsl:call-template>
+            </xsl:if>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="process.root">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="set|book|part|preface|chapter|appendix                      |article                      |reference|refentry                      |book/glossary|article/glossary|part/glossary                      |book/bibliography|article/bibliography|part/bibliography                      |colophon">
+  <xsl:choose>
+    <xsl:when test="$onechunk != 0 and parent::*">
+      <xsl:apply-imports/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="process-chunk-element"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="sect1|sect2|sect3|sect4|sect5|section">
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="not(parent::*)">
+      <xsl:call-template name="process-chunk-element"/>
+    </xsl:when>
+    <xsl:when test="$ischunk = 0">
+      <xsl:apply-imports/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="process-chunk-element"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="setindex                      |book/index                      |article/index                      |part/index">
+  <!-- some implementations use completely empty index tags to indicate -->
+  <!-- where an automatically generated index should be inserted. so -->
+  <!-- if the index is completely empty, skip it. -->
+  <xsl:if test="count(*)&gt;0 or $generate.index != '0'">
+    <xsl:call-template name="process-chunk-element"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="make.lots">
+  <xsl:param name="toc.params" select="''"/>
+  <xsl:param name="toc"/>
+
+  <xsl:variable name="lots">
+    <xsl:if test="contains($toc.params, 'toc')">
+      <xsl:copy-of select="$toc"/>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'figure')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'figure'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'figure'"/>
+                <xsl:with-param name="nodes" select=".//figure"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'figure'"/>
+            <xsl:with-param name="nodes" select=".//figure"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'table')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'table'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'table'"/>
+                <xsl:with-param name="nodes" select=".//table"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'table'"/>
+            <xsl:with-param name="nodes" select=".//table"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'example')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'example'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'example'"/>
+                <xsl:with-param name="nodes" select=".//example"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'example'"/>
+            <xsl:with-param name="nodes" select=".//example"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'equation')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'equation'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'equation'"/>
+                <xsl:with-param name="nodes" select=".//equation"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'equation'"/>
+            <xsl:with-param name="nodes" select=".//equation"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'procedure')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'procedure'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'procedure'"/>
+                <xsl:with-param name="nodes" select=".//procedure[title]"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'procedure'"/>
+            <xsl:with-param name="nodes" select=".//procedure[title]"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:if test="string($lots) != ''">
+    <xsl:choose>
+      <xsl:when test="$chunk.tocs.and.lots != 0 and not(parent::*)">
+        <xsl:call-template name="write.chunk">
+          <xsl:with-param name="filename">
+            <xsl:call-template name="make-relative-filename">
+              <xsl:with-param name="base.dir" select="$base.dir"/>
+              <xsl:with-param name="base.name">
+                <xsl:call-template name="dbhtml-dir"/>
+                <xsl:apply-templates select="." mode="recursive-chunk-filename">
+                  <xsl:with-param name="recursive" select="true()"/>
+                </xsl:apply-templates>
+                <xsl:text>-toc</xsl:text>
+                <xsl:value-of select="$html.ext"/>
+              </xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="content">
+            <xsl:call-template name="chunk-element-content">
+              <xsl:with-param name="prev" select="/foo"/>
+              <xsl:with-param name="next" select="/foo"/>
+              <xsl:with-param name="nav.context" select="'toc'"/>
+              <xsl:with-param name="content">
+                <xsl:if test="$chunk.tocs.and.lots.has.title != 0">
+                  <h1>
+                    <xsl:apply-templates select="." mode="object.title.markup"/>
+                  </h1>
+                </xsl:if>
+                <xsl:copy-of select="$lots"/>
+              </xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="quiet" select="$chunk.quietly"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$lots"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="make.lot.chunk">
+  <xsl:param name="type" select="''"/>
+  <xsl:param name="lot"/>
+
+  <xsl:if test="string($lot) != ''">
+    <xsl:variable name="filename">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.dir" select="$base.dir"/>
+        <xsl:with-param name="base.name">
+          <xsl:call-template name="dbhtml-dir"/>
+          <xsl:value-of select="$type"/>
+          <xsl:text>-toc</xsl:text>
+          <xsl:value-of select="$html.ext"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="href">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.name">
+          <xsl:call-template name="dbhtml-dir"/>
+          <xsl:value-of select="$type"/>
+          <xsl:text>-toc</xsl:text>
+          <xsl:value-of select="$html.ext"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:call-template name="write.chunk">
+      <xsl:with-param name="filename" select="$filename"/>
+      <xsl:with-param name="content">
+        <xsl:call-template name="chunk-element-content">
+          <xsl:with-param name="prev" select="/foo"/>
+          <xsl:with-param name="next" select="/foo"/>
+          <xsl:with-param name="nav.context" select="'toc'"/>
+          <xsl:with-param name="content">
+            <xsl:copy-of select="$lot"/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:with-param>
+      <xsl:with-param name="quiet" select="$chunk.quietly"/>
+    </xsl:call-template>
+    <!-- And output a link to this file -->
+    <div>
+      <xsl:attribute name="class">
+        <xsl:text>ListofTitles</xsl:text>
+      </xsl:attribute>
+      <a href="{$href}">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key">
+            <xsl:choose>
+              <xsl:when test="$type='table'">ListofTables</xsl:when>
+              <xsl:when test="$type='figure'">ListofFigures</xsl:when>
+              <xsl:when test="$type='equation'">ListofEquations</xsl:when>
+              <xsl:when test="$type='example'">ListofExamples</xsl:when>
+              <xsl:when test="$type='procedure'">ListofProcedures</xsl:when>
+              <xsl:otherwise>ListofUnknown</xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+      </a>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="in.other.chunk">
+  <xsl:param name="chunk" select="."/>
+  <xsl:param name="node" select="."/>
+
+  <xsl:variable name="is.chunk">
+    <xsl:call-template name="chunk">
+      <xsl:with-param name="node" select="$node"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+<!--
+  <xsl:message>
+    <xsl:text>in.other.chunk: </xsl:text>
+    <xsl:value-of select="name($chunk)"/>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="name($node)"/>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="$chunk = $node"/>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="$is.chunk"/>
+  </xsl:message>
+-->
+
+  <xsl:choose>
+    <xsl:when test="$chunk = $node">0</xsl:when>
+    <xsl:when test="$is.chunk = 1">1</xsl:when>
+    <xsl:when test="count($node) = 0">0</xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="in.other.chunk">
+        <xsl:with-param name="chunk" select="$chunk"/>
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="count.footnotes.in.this.chunk">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="footnotes" select="$node//footnote"/>
+  <xsl:param name="count" select="0"/>
+
+<!--
+  <xsl:message>
+    <xsl:text>count.footnotes.in.this.chunk: </xsl:text>
+    <xsl:value-of select="name($node)"/>
+  </xsl:message>
+-->
+
+  <xsl:variable name="in.other.chunk">
+    <xsl:call-template name="in.other.chunk">
+      <xsl:with-param name="chunk" select="$node"/>
+      <xsl:with-param name="node" select="$footnotes[1]"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="count($footnotes) = 0">
+      <xsl:value-of select="$count"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$in.other.chunk != 0">
+          <xsl:call-template name="count.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="$count"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$footnotes[1]/ancestor::table                         |$footnotes[1]/ancestor::informaltable">
+          <xsl:call-template name="count.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="$count"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="count.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="$count + 1"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process.footnotes.in.this.chunk">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="footnotes" select="$node//footnote"/>
+
+<!--
+  <xsl:message>process.footnotes.in.this.chunk</xsl:message>
+-->
+
+  <xsl:variable name="in.other.chunk">
+    <xsl:call-template name="in.other.chunk">
+      <xsl:with-param name="chunk" select="$node"/>
+      <xsl:with-param name="node" select="$footnotes[1]"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="count($footnotes) = 0">
+      <!-- nop -->
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$in.other.chunk != 0">
+          <xsl:call-template name="process.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$footnotes[1]/ancestor::table                         |$footnotes[1]/ancestor::informaltable">
+          <xsl:call-template name="process.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$footnotes[1]" mode="process.footnote.mode"/>
+          <xsl:call-template name="process.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process.footnotes">
+  <xsl:variable name="footnotes" select=".//footnote"/>
+  <xsl:variable name="fcount">
+    <xsl:call-template name="count.footnotes.in.this.chunk">
+      <xsl:with-param name="node" select="."/>
+      <xsl:with-param name="footnotes" select="$footnotes"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+<!--
+  <xsl:message>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text> fcount: </xsl:text>
+    <xsl:value-of select="$fcount"/>
+  </xsl:message>
+-->
+
+  <!-- Only bother to do this if there's at least one non-table footnote -->
+  <xsl:if test="$fcount &gt; 0">
+    <div class="footnotes">
+      <br/>
+      <hr width="100" align="left"/>
+      <xsl:call-template name="process.footnotes.in.this.chunk">
+        <xsl:with-param name="node" select="."/>
+        <xsl:with-param name="footnotes" select="$footnotes"/>
+      </xsl:call-template>
+    </div>
+  </xsl:if>
+
+  <!-- FIXME: When chunking, only the annotations actually used
+              in this chunk should be referenced. I don't think it
+              does any harm to reference them all, but it adds
+              unnecessary bloat to each chunk. -->
+  <xsl:if test="$annotation.support != 0 and //annotation">
+    <div class="annotation-list">
+      <div class="annotation-nocss">
+        <p>The following annotations are from this essay. You are seeing
+        them here because your browser doesn&#8217;t support the user-interface
+        techniques used to make them appear as &#8216;popups&#8217; on modern browsers.</p>
+      </div>
+
+      <xsl:apply-templates select="//annotation" mode="annotation-popup"/>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="process.chunk.footnotes">
+  <xsl:variable name="is.chunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+  <xsl:if test="$is.chunk = 1">
+    <xsl:call-template name="process.footnotes"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<!-- Resolve xml:base attributes -->
+<xsl:template match="@fileref">
+  <!-- need a check for absolute urls -->
+  <xsl:choose>
+    <xsl:when test="contains(., ':')">
+      <!-- it has a uri scheme so it is an absolute uri -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:when test="$keep.relative.image.uris != 0">
+      <!-- leave it alone -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- its a relative uri -->
+      <xsl:call-template name="relative-uri">
+        <xsl:with-param name="destdir">
+          <xsl:call-template name="dbhtml-dir">
+            <xsl:with-param name="context" select=".."/>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/profile-chunk.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/profile-chunk.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/profile-chunk.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,40 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+		version="1.0"
+                exclude-result-prefixes="exsl">
+
+<!-- ********************************************************************
+     $Id: profile-chunk.xsl 3202 2003-11-30 19:42:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="docbook.xsl"/>
+<xsl:import href="chunk-common.xsl"/>
+<xsl:include href="manifest.xsl"/>
+
+<!-- Why is chunk-code now xsl:included?
+
+Suppose you want to customize *both* the chunking algorithm used *and* the
+presentation of some elements that may be chunks. In order to do that, you
+must get the order of imports "just right". The answer is to make your own
+copy of this file, where you replace the initial import of "docbook.xsl"
+with an import of your own base.xsl (that does its own import of docbook.xsl).
+
+Put the templates for changing the presentation of elements in your base.xsl.
+
+Put the templates that control chunking after the include of chunk-code.xsl.
+
+Voila! (Man I hope we can do this better in XSLT 2.0)
+
+-->
+
+<xsl:include href="profile-chunk-code.xsl"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/profile-docbook.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/profile-docbook.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/profile-docbook.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,401 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by xsl2profile-->
+<!--from the DocBook XSL stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns:exslt="http://exslt.org/common" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" exclude-result-prefixes="db ng exsl exslt" version="1.0">
+
+<xsl:output method="html" encoding="ISO-8859-1" indent="no"/>
+
+<!-- ********************************************************************
+     $Id: docbook.xsl 6536 2007-01-21 08:37:12Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:include href="../VERSION"/>
+<xsl:include href="param.xsl"/>
+<xsl:include href="../lib/lib.xsl"/>
+<xsl:include href="../common/l10n.xsl"/>
+<xsl:include href="../common/common.xsl"/>
+<xsl:include href="../common/labels.xsl"/>
+<xsl:include href="../common/titles.xsl"/>
+<xsl:include href="../common/subtitles.xsl"/>
+<xsl:include href="../common/gentext.xsl"/>
+<xsl:include href="../common/targets.xsl"/>
+<xsl:include href="../common/olink.xsl"/>
+<xsl:include href="../common/pi.xsl"/>
+<xsl:include href="autotoc.xsl"/>
+<xsl:include href="autoidx.xsl"/>
+<xsl:include href="lists.xsl"/>
+<xsl:include href="callout.xsl"/>
+<xsl:include href="verbatim.xsl"/>
+<xsl:include href="graphics.xsl"/>
+<xsl:include href="xref.xsl"/>
+<xsl:include href="formal.xsl"/>
+<xsl:include href="table.xsl"/>
+<xsl:include href="htmltbl.xsl"/>
+<xsl:include href="sections.xsl"/>
+<xsl:include href="inline.xsl"/>
+<xsl:include href="footnote.xsl"/>
+<xsl:include href="html.xsl"/>
+<xsl:include href="info.xsl"/>
+<xsl:include href="keywords.xsl"/>
+<xsl:include href="division.xsl"/>
+<xsl:include href="toc.xsl"/>
+<xsl:include href="index.xsl"/>
+<xsl:include href="refentry.xsl"/>
+<xsl:include href="math.xsl"/>
+<xsl:include href="admon.xsl"/>
+<xsl:include href="component.xsl"/>
+<xsl:include href="biblio.xsl"/>
+<xsl:include href="glossary.xsl"/>
+<xsl:include href="block.xsl"/>
+<xsl:include href="task.xsl"/>
+<xsl:include href="qandaset.xsl"/>
+<xsl:include href="synop.xsl"/>
+<xsl:include href="titlepage.xsl"/>
+<xsl:include href="titlepage.templates.xsl"/>
+<xsl:include href="pi.xsl"/>
+<xsl:include href="ebnf.xsl"/>
+<xsl:include href="chunker.xsl"/>
+<xsl:include href="html-rtf.xsl"/>
+<xsl:include href="annotations.xsl"/>
+<xsl:include href="../common/stripns.xsl"/>
+
+<xsl:param name="stylesheet.result.type" select="'html'"/>
+<xsl:param name="htmlhelp.output" select="0"/>
+
+<!-- ==================================================================== -->
+
+<xsl:key name="id" match="*" use="@id|@xml:id"/>
+<xsl:key name="gid" match="*" use="generate-id()"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*">
+  <xsl:message>
+    <xsl:text>Element </xsl:text>
+    <xsl:value-of select="local-name(.)"/>
+    <xsl:text> in namespace '</xsl:text>
+    <xsl:value-of select="namespace-uri(.)"/>
+    <xsl:text>' encountered</xsl:text>
+    <xsl:if test="parent::*">
+      <xsl:text> in </xsl:text>
+      <xsl:value-of select="name(parent::*)"/>
+    </xsl:if>
+    <xsl:text>, but no template matches.</xsl:text>
+  </xsl:message>
+
+  <font color="red">
+    <xsl:text>&lt;</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text>&gt;</xsl:text>
+    <xsl:apply-templates/>
+    <xsl:text>&lt;/</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text>&gt;</xsl:text>
+  </font>
+</xsl:template>
+
+<xsl:template match="text()">
+  <xsl:value-of select="."/>
+</xsl:template>
+
+<xsl:template name="body.attributes">
+  <xsl:attribute name="bgcolor">white</xsl:attribute>
+  <xsl:attribute name="text">black</xsl:attribute>
+  <xsl:attribute name="link">#0000FF</xsl:attribute>
+  <xsl:attribute name="vlink">#840084</xsl:attribute>
+  <xsl:attribute name="alink">#0000FF</xsl:attribute>
+</xsl:template>
+
+<xsl:template name="head.content">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="title">
+    <xsl:apply-templates select="$node" mode="object.title.markup.textonly"/>
+  </xsl:param>
+
+  <title>
+    <xsl:copy-of select="$title"/>
+  </title>
+
+  <xsl:if test="$html.stylesheet != ''">
+    <xsl:call-template name="output.html.stylesheets">
+      <xsl:with-param name="stylesheets" select="normalize-space($html.stylesheet)"/>
+    </xsl:call-template>
+  </xsl:if>
+
+  <xsl:if test="$link.mailto.url != ''">
+    <link rev="made" href="{$link.mailto.url}"/>
+  </xsl:if>
+
+  <xsl:if test="$html.base != ''">
+    <base href="{$html.base}"/>
+  </xsl:if>
+
+  <meta name="generator" content="DocBook {$DistroTitle} V{$VERSION}"/>
+
+  <xsl:if test="$generate.meta.abstract != 0">
+    <xsl:variable name="info" select="(articleinfo                                       |bookinfo                                       |prefaceinfo                                       |chapterinfo                                       |appendixinfo                                       |sectioninfo                                       |sect1info                                       |sect2info                                       |sect3info                                       |sect4info                                       |sect5info                                       |referenceinfo                                       |refentryinfo                                       |partinfo                                       |info                                       |docinfo)[1]"/>
+    <xsl:if test="$info and $info/abstract">
+      <meta name="description">
+        <xsl:attribute name="content">
+          <xsl:for-each select="$info/abstract[1]/*">
+            <xsl:value-of select="normalize-space(.)"/>
+            <xsl:if test="position() &lt; last()">
+              <xsl:text> </xsl:text>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:attribute>
+      </meta>
+    </xsl:if>
+  </xsl:if>
+
+  <xsl:if test="($draft.mode = 'yes' or                 ($draft.mode = 'maybe' and                 ancestor-or-self::*[@status][1]/@status = 'draft'))                 and $draft.watermark.image != ''">
+    <style type="text/css"><xsl:text>
+body { background-image: url('</xsl:text>
+<xsl:value-of select="$draft.watermark.image"/><xsl:text>');
+       background-repeat: no-repeat;
+       background-position: top left;
+       /* The following properties make the watermark "fixed" on the page. */
+       /* I think that's just a bit too distracting for the reader... */
+       /* background-attachment: fixed; */
+       /* background-position: center center; */
+     }</xsl:text>
+    </style>
+  </xsl:if>
+  <xsl:apply-templates select="." mode="head.keywords.content"/>
+</xsl:template>
+
+<xsl:template name="output.html.stylesheets">
+  <xsl:param name="stylesheets" select="''"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($stylesheets, ' ')">
+      <link rel="stylesheet" href="{substring-before($stylesheets, ' ')}">
+        <xsl:if test="$html.stylesheet.type != ''">
+          <xsl:attribute name="type">
+            <xsl:value-of select="$html.stylesheet.type"/>
+          </xsl:attribute>
+        </xsl:if>
+      </link>
+      <xsl:call-template name="output.html.stylesheets">
+        <xsl:with-param name="stylesheets" select="substring-after($stylesheets, ' ')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$stylesheets != ''">
+      <link rel="stylesheet" href="{$stylesheets}">
+        <xsl:if test="$html.stylesheet.type != ''">
+          <xsl:attribute name="type">
+            <xsl:value-of select="$html.stylesheet.type"/>
+          </xsl:attribute>
+        </xsl:if>
+      </link>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="head.keywords.content">
+  <xsl:apply-templates select="chapterinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="appendixinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="prefaceinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="bookinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="setinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="articleinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="artheader/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect1info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect2info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect3info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect4info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect5info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sectioninfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refsect1info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refsect2info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refsect3info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="bibliographyinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="glossaryinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="indexinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refentryinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="partinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="referenceinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="docinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="info/keywordset" mode="html.header"/>
+
+  <xsl:if test="$inherit.keywords != 0                 and parent::*">
+    <xsl:apply-templates select="parent::*" mode="head.keywords.content"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="system.head.content">
+  <xsl:param name="node" select="."/>
+
+  <!-- FIXME: When chunking, only the annotations actually used
+              in this chunk should be referenced. I don't think it
+              does any harm to reference them all, but it adds
+              unnecessary bloat to each chunk. -->
+  <xsl:if test="$annotation.support != 0 and //annotation">
+    <xsl:call-template name="add.annotation.links"/>
+    <script type="text/javascript">
+      <xsl:text>
+// Create PopupWindow objects</xsl:text>
+      <xsl:for-each select="//annotation">
+        <xsl:text>
+var popup_</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text> = new PopupWindow("popup-</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text>");
+</xsl:text>
+        <xsl:text>popup_</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text>.offsetY = 15;
+</xsl:text>
+        <xsl:text>popup_</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text>.autoHide();
+</xsl:text>
+      </xsl:for-each>
+    </script>
+
+    <style type="text/css">
+      <xsl:value-of select="$annotation.css"/>
+    </style>
+  </xsl:if>
+
+  <!-- system.head.content is like user.head.content, except that
+       it is called before head.content. This is important because it
+       means, for example, that <style> elements output by system.head.content
+       have a lower CSS precedence than the users stylesheet. -->
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="user.preroot">
+  <!-- Pre-root output, can be used to output comments and PIs. -->
+  <!-- This must not output any element content! -->
+</xsl:template>
+
+<xsl:template name="user.head.content">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.header.navigation">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.header.content">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.footer.content">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.footer.navigation">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xslo:include xmlns:xslo="http://www.w3.org/1999/XSL/Transform" href="../profiling/profile-mode.xsl"/><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-content"><xslo:choose><xslo:when test="*/self::ng:* or */self::db:*"><xslo:message>Stripping NS from DocBook 5/NG document.</xslo:message><xslo:variable name="stripped-content"><xslo:apply-templates select="/" mode="stripNS"/></xslo:variable><xslo:message>Processing stripped document.</xslo:message><xslo:apply-templates select="exslt:node-set($stripped-content)" mode="profile"/></xslo:when><xslo:otherwise><xslo:apply-templates select="/" mode="profile"/></xslo:otherwise></xslo:choose></xslo:variable><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-nodes" select="exslt:node-set($profiled-content)"/><xsl:template match="/">
+  <xsl:choose>
+    <!-- include extra test for Xalan quirk -->
+    <xsl:when test="false()"/>
+    <!-- Can't process unless namespace removed -->
+    <xsl:when test="false()"/>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$rootid != ''">
+          <xsl:choose>
+            <xsl:when test="count($profiled-nodes//*[@id=$rootid]) = 0">
+              <xsl:message terminate="yes">
+                <xsl:text>ID '</xsl:text>
+                <xsl:value-of select="$rootid"/>
+                <xsl:text>' not found in document.</xsl:text>
+              </xsl:message>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:if test="$collect.xref.targets = 'yes' or                             $collect.xref.targets = 'only'">
+                <xsl:apply-templates select="key('id', $rootid)" mode="collect.targets"/>
+              </xsl:if>
+              <xsl:if test="$collect.xref.targets != 'only'">
+                <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="process.root"/>
+                <xsl:if test="$tex.math.in.alt != ''">
+                  <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="collect.tex.math"/>
+                </xsl:if>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$collect.xref.targets = 'yes' or                         $collect.xref.targets = 'only'">
+            <xsl:apply-templates select="$profiled-nodes" mode="collect.targets"/>
+          </xsl:if>
+          <xsl:if test="$collect.xref.targets != 'only'">
+            <xsl:apply-templates select="$profiled-nodes" mode="process.root"/>
+            <xsl:if test="$tex.math.in.alt != ''">
+              <xsl:apply-templates select="$profiled-nodes" mode="collect.tex.math"/>
+            </xsl:if>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="process.root">
+  <xsl:variable name="doc" select="self::*"/>
+
+  <xsl:call-template name="user.preroot"/>
+  <xsl:call-template name="root.messages"/>
+
+  <html>
+    <head>
+      <xsl:call-template name="system.head.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+      <xsl:call-template name="head.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+      <xsl:call-template name="user.head.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+    </head>
+    <body>
+      <xsl:call-template name="body.attributes"/>
+      <xsl:call-template name="user.header.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+      <xsl:apply-templates select="."/>
+      <xsl:call-template name="user.footer.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+    </body>
+  </html>
+  <xsl:value-of select="$html.append"/>
+</xsl:template>
+
+<xsl:template name="root.messages">
+  <!-- redefine this any way you'd like to output messages -->
+  <!-- DO NOT OUTPUT ANYTHING FROM THIS TEMPLATE -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="chunk">
+  <xsl:param name="node" select="."/>
+
+  <!-- The default is that we are not chunking... -->
+  <xsl:text>0</xsl:text>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/profile-onechunk.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/profile-onechunk.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/profile-onechunk.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,37 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                version="1.0"
+                exclude-result-prefixes="doc">
+
+<!-- ********************************************************************
+     $Id: profile-onechunk.xsl 3202 2003-11-30 19:42:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="profile-chunk.xsl"/>
+
+<!-- Ok, using the onechunk parameter makes this all work again. -->
+<!-- It does have the disadvantage that it only works for documents that have -->
+<!-- a root element that is considered a chunk by the chunk.xsl stylesheet. -->
+<!-- Ideally, onechunk would let anything be a chunk. But not today. -->
+
+<xsl:param name="onechunk" select="1"/>
+<xsl:param name="suppress.navigation">1</xsl:param>
+
+<xsl:template name="href.target.uri">
+  <xsl:param name="object" select="."/>
+  <xsl:text>#</xsl:text>
+  <xsl:call-template name="object.id">
+    <xsl:with-param name="object" select="$object"/>
+  </xsl:call-template>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/qandaset.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/qandaset.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/qandaset.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,413 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                exclude-result-prefixes="doc"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: qandaset.xsl 6480 2007-01-07 23:35:19Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="qandaset">
+  <xsl:variable name="title" select="(blockinfo/title|info/title|title)[1]"/>
+  <xsl:variable name="preamble" select="*[local-name(.) != 'title'
+                                          and local-name(.) != 'titleabbrev'
+                                          and local-name(.) != 'qandadiv'
+                                          and local-name(.) != 'qandaentry']"/>
+  <xsl:variable name="toc">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'toc'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="toc.params">
+    <xsl:call-template name="find.path.params">
+      <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates select="$title"/>
+    <xsl:if test="((contains($toc.params, 'toc') and $toc != '0') or $toc = '1')
+                  and not(ancestor::answer and not($qanda.nested.in.toc=0))">
+      <xsl:call-template name="process.qanda.toc"/>
+    </xsl:if>
+    <xsl:apply-templates select="$preamble"/>
+    <xsl:call-template name="process.qandaset"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="qandaset/blockinfo/title|
+                     qandaset/info/title|
+                     qandaset/title">
+  <xsl:variable name="qalevel">
+    <xsl:call-template name="qanda.section.level"/>
+  </xsl:variable>
+  <xsl:element name="h{string(number($qalevel)+1)}">
+    <xsl:attribute name="class">
+      <xsl:value-of select="local-name(.)"/>
+    </xsl:attribute>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select=".."/>
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="qandaset/blockinfo|qandaset/info">
+  <!-- what should this template really do? -->
+  <xsl:apply-templates select="legalnotice" mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="qandadiv">
+  <xsl:variable name="preamble" select="*[local-name(.) != 'title'
+                                          and local-name(.) != 'titleabbrev'
+                                          and local-name(.) != 'qandadiv'
+                                          and local-name(.) != 'qandaentry']"/>
+
+  <xsl:if test="blockinfo/title|info/title|title">
+    <tr class="qandadiv">
+      <td align="left" valign="top" colspan="2">
+        <xsl:apply-templates select="(blockinfo/title|info/title|title)[1]"/>
+      </td>
+    </tr>
+  </xsl:if>
+
+  <xsl:variable name="toc">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'toc'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="toc.params">
+    <xsl:call-template name="find.path.params">
+      <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="(contains($toc.params, 'toc') and $toc != '0') or $toc = '1'">
+    <tr class="toc">
+      <td align="left" valign="top" colspan="2">
+        <xsl:call-template name="process.qanda.toc"/>
+      </td>
+    </tr>
+  </xsl:if>
+  <xsl:if test="$preamble">
+    <tr class="toc">
+      <td align="left" valign="top" colspan="2">
+        <xsl:apply-templates select="$preamble"/>
+      </td>
+    </tr>
+  </xsl:if>
+  <xsl:apply-templates select="qandadiv|qandaentry"/>
+</xsl:template>
+
+<xsl:template match="qandadiv/blockinfo/title|
+                     qandadiv/info/title|
+                     qandadiv/title">
+  <xsl:variable name="qalevel">
+    <xsl:call-template name="qandadiv.section.level"/>
+  </xsl:variable>
+
+  <xsl:element name="h{string(number($qalevel)+1)}">
+    <xsl:attribute name="class">
+      <xsl:value-of select="local-name(.)"/>
+    </xsl:attribute>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select=".."/>
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates select="parent::qandadiv" mode="label.markup"/>
+    <xsl:if test="$qandadiv.autolabel != 0">
+      <xsl:apply-templates select="." mode="intralabel.punctuation"/>
+      <xsl:text> </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="qandaentry">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="question">
+  <xsl:variable name="deflabel">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+        <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]
+                              /@defaultlabel"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$qanda.defaultlabel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <tr>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <td align="left" valign="top">
+      <xsl:call-template name="anchor">
+        <xsl:with-param name="node" select=".."/>
+        <xsl:with-param name="conditional" select="0"/>
+      </xsl:call-template>
+      <xsl:call-template name="anchor">
+        <xsl:with-param name="conditional" select="0"/>
+      </xsl:call-template>
+
+      <xsl:variable name="label.content">
+        <xsl:apply-templates select="." mode="label.markup"/>
+        <xsl:if test="$deflabel = 'number' and not(label)">
+          <xsl:apply-templates select="." mode="intralabel.punctuation"/>
+        </xsl:if>
+      </xsl:variable>
+
+      <xsl:if test="string-length($label.content) &gt; 0">
+        <b>
+          <xsl:copy-of select="$label.content"/>
+        </b>
+      </xsl:if>
+    </td>
+    <td align="left" valign="top">
+      <xsl:choose>
+        <xsl:when test="$deflabel = 'none' and not(label)">
+          <b><xsl:apply-templates select="*[local-name(.) != 'label']"/></b>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="*[local-name(.) != 'label']"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </td>
+  </tr>
+</xsl:template>
+
+<xsl:template match="answer">
+  <xsl:variable name="deflabel">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+        <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]
+                              /@defaultlabel"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$qanda.defaultlabel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <tr class="{local-name(.)}">
+    <td align="left" valign="top">
+      <xsl:call-template name="anchor"/>
+      <xsl:variable name="answer.label">
+        <xsl:apply-templates select="." mode="label.markup"/>
+      </xsl:variable>
+      <xsl:if test="string-length($answer.label) &gt; 0">
+        <b>
+          <xsl:copy-of select="$answer.label"/>
+        </b>
+      </xsl:if>
+    </td>
+    <td align="left" valign="top">
+      <xsl:apply-templates select="*[local-name(.) != 'label'
+        and local-name(.) != 'qandaentry']"/>
+      <!-- * handle nested answer/qandaentry instances -->
+      <!-- * (bug 1509043 from Daniel Leidert) -->
+      <xsl:if test="descendant::question">
+        <xsl:call-template name="process.qandaset"/>
+      </xsl:if>
+    </td>
+  </tr>
+</xsl:template>
+
+<xsl:template match="label">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.qanda.toc">
+  <!-- * if user wants nested qandaset and qandaentry in main Qandaset TOC, -->
+  <!-- * then don't also include the nested stuff in the sub TOCs -->
+  <dl>
+    <xsl:apply-templates select="qandadiv" mode="qandatoc.mode"/>
+    <xsl:apply-templates select="qandaset|qandaentry" mode="qandatoc.mode"/>
+  </dl>
+</xsl:template>
+
+<xsl:template match="qandadiv" mode="qandatoc.mode">
+  <dt><xsl:apply-templates select="title" mode="qandatoc.mode"/></dt>
+  <dd><xsl:call-template name="process.qanda.toc"/></dd>
+</xsl:template>
+
+<xsl:template match="qandadiv/blockinfo/title|
+                     qandadiv/info/title|
+                     qandadiv/title" mode="qandatoc.mode">
+  <xsl:variable name="qalevel">
+    <xsl:call-template name="qandadiv.section.level"/>
+  </xsl:variable>
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="parent::*"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:apply-templates select="parent::qandadiv" mode="label.markup"/>
+  <xsl:value-of select="$autotoc.label.separator"/>
+  <xsl:text> </xsl:text>
+  <a>
+    <xsl:attribute name="href">
+      <xsl:call-template name="href.target">
+        <xsl:with-param name="object" select="parent::*"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:apply-templates/>
+  </a>
+</xsl:template>
+
+<xsl:template match="qandaset" mode="qandatoc.mode">
+  <xsl:for-each select="qandaentry">
+    <xsl:apply-templates select="." mode="qandatoc.mode"/>
+  </xsl:for-each>
+</xsl:template>
+
+<xsl:template match="qandaentry" mode="qandatoc.mode">
+  <xsl:apply-templates select="question" mode="qandatoc.mode"/>
+</xsl:template>
+
+<xsl:template match="question" mode="qandatoc.mode">
+  <xsl:variable name="firstch">
+    <xsl:apply-templates select="(*[local-name(.)!='label'])[1]"/>
+  </xsl:variable>
+  <xsl:variable name="deflabel">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+        <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]
+                              /@defaultlabel"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$qanda.defaultlabel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <dt>
+    <xsl:apply-templates select="." mode="label.markup"/>
+    <xsl:if test="$deflabel = 'number' and not(label)">
+      <xsl:apply-templates select="." mode="intralabel.punctuation"/>
+    </xsl:if>
+    <xsl:text> </xsl:text>
+    <a>
+      <xsl:attribute name="href">
+        <xsl:call-template name="href.target">
+          <xsl:with-param name="object" select=".."/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:value-of select="$firstch"/>
+    </a>
+  </dt>
+  <!-- * include nested qandaset/qandaentry in TOC if user wants it -->
+  <xsl:if test="not($qanda.nested.in.toc = 0)">
+    <xsl:apply-templates select="following-sibling::answer" mode="qandatoc.mode"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="answer" mode="qandatoc.mode">
+  <xsl:if test="descendant::question">
+    <dd>
+      <xsl:call-template name="process.qanda.toc"/>
+    </dd>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.qandaset">
+
+  <xsl:variable name="label-width">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+        select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'label-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="table-summary">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+        select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'table-summary'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="cellpadding">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+        select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'cellpadding'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="cellspacing">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+        select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'cellspacing'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <table border="0" summary="Q and A Set">
+    <xsl:if test="$table-summary != ''">
+      <xsl:attribute name="summary">
+        <xsl:value-of select="$table-summary"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$cellpadding != ''">
+      <xsl:attribute name="cellpadding">
+        <xsl:value-of select="$cellpadding"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$cellspacing != ''">
+      <xsl:attribute name="cellspacing">
+        <xsl:value-of select="$cellspacing"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <col align="left">
+      <xsl:attribute name="width">
+        <xsl:choose>
+          <xsl:when test="$label-width != ''">
+            <xsl:value-of select="$label-width"/>
+          </xsl:when>
+          <xsl:otherwise>1%</xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </col>
+    <tbody>
+      <xsl:apply-templates select="qandaentry|qandadiv"/>
+    </tbody>
+  </table>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="no.wrapper.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/refentry.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/refentry.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/refentry.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,307 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: refentry.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="reference">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="reference.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="not(partintro) and contains($toc.params, 'toc')">
+      <xsl:call-template name="division.toc"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="reference" mode="division.number">
+  <xsl:number from="book" count="reference" format="I."/>
+</xsl:template>
+
+<xsl:template match="reference/docinfo"></xsl:template>
+<xsl:template match="reference/referenceinfo"></xsl:template>
+<xsl:template match="reference/title"></xsl:template>
+<xsl:template match="reference/subtitle"></xsl:template>
+<xsl:template match="reference/titleabbrev"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="refentry.title">
+  <xsl:param name="node" select="."/>
+  <xsl:variable name="refmeta" select="$node//refmeta"/>
+  <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/>
+  <xsl:variable name="refnamediv" select="$node//refnamediv"/>
+  <xsl:variable name="refname" select="$refnamediv//refname"/>
+  <xsl:variable name="refdesc" select="$refnamediv//refdescriptor"/>
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="$refentrytitle">
+        <xsl:apply-templates select="$refentrytitle[1]" mode="title"/>
+      </xsl:when>
+      <xsl:when test="$refdesc">
+	<xsl:apply-templates select="$refdesc[1]" mode="title"/>
+      </xsl:when>
+      <xsl:when test="$refname">
+        <xsl:apply-templates select="$refname[1]" mode="title"/>
+      </xsl:when>
+      <xsl:otherwise></xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <h1 class="title">
+    <xsl:copy-of select="$title"/>
+  </h1>
+</xsl:template>
+
+<xsl:template match="refentry">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$refentry.separator != 0 and preceding-sibling::refentry">
+      <div class="refentry.separator">
+        <hr/>
+      </div>
+    </xsl:if>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:call-template name="refentry.titlepage"/>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refentry/docinfo|refentry/refentryinfo"></xsl:template>
+<xsl:template match="refentry/info"></xsl:template>
+
+<xsl:template match="refentrytitle|refname|refdescriptor" mode="title">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="refmeta">
+</xsl:template>
+
+<xsl:template match="manvolnum">
+  <xsl:if test="$refentry.xref.manvolnum != 0">
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates/>
+    <xsl:text>)</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refmiscinfo">
+</xsl:template>
+
+<xsl:template match="refentrytitle">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="refnamediv">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:choose>
+      <xsl:when test="preceding-sibling::refnamediv">
+	<!-- no title on secondary refnamedivs! -->
+      </xsl:when>
+      <xsl:when test="$refentry.generate.name != 0">
+        <h2>
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'RefName'"/>
+          </xsl:call-template>
+        </h2>
+      </xsl:when>
+      <xsl:when test="$refentry.generate.title != 0">
+        <h2>
+          <xsl:choose>
+            <xsl:when test="../refmeta/refentrytitle">
+              <xsl:apply-templates select="../refmeta/refentrytitle"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="refname[1]"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </h2>
+      </xsl:when>
+    </xsl:choose>
+
+    <p>
+      <xsl:apply-templates/>
+    </p>
+  </div>
+</xsl:template>
+
+<xsl:template match="refname">
+  <xsl:if test="not(preceding-sibling::refdescriptor)">
+    <xsl:apply-templates/>
+    <xsl:if test="following-sibling::refname">
+      <xsl:text>, </xsl:text>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refpurpose">
+  <xsl:if test="node()">
+    <xsl:text> </xsl:text>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">em-dash</xsl:with-param>
+    </xsl:call-template>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refdescriptor">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="refclass">
+  <xsl:if test="$refclass.suppress = 0">
+  <p>
+    <b>
+      <xsl:if test="@role">
+        <xsl:value-of select="@role"/>
+        <xsl:text>: </xsl:text>
+      </xsl:if>
+      <xsl:apply-templates/>
+    </b>
+  </p>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refsynopsisdiv">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="anchor"/>
+    <h2>
+      <xsl:choose>
+        <xsl:when test="refsynopsisdiv/title|title">
+          <xsl:apply-templates select="(refsynopsisdiv/title|title)[1]"
+                               mode="titlepage.mode"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'RefSynopsisDiv'"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </h2>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refsynopsisdivinfo"></xsl:template>
+
+<xsl:template match="refsynopsisdiv/title">
+</xsl:template>
+
+<xsl:template match="refsynopsisdiv/title" mode="titlepage.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="refsection|refsect1|refsect2|refsect3">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refsection/title">
+  <!-- the ID is output in the block.object call for refsect1 -->
+  <xsl:variable name="level" select="count(ancestor-or-self::refsection)"/>
+  <xsl:variable name="refsynopsisdiv">
+    <xsl:text>0</xsl:text>
+    <xsl:if test="ancestor::refsynopsisdiv">1</xsl:if>
+  </xsl:variable>
+  <xsl:variable name="hlevel">
+    <xsl:choose>
+      <xsl:when test="$level+$refsynopsisdiv &gt; 5">6</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$level+1+$refsynopsisdiv"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:element name="h{$hlevel}">
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="refsect1/title">
+  <!-- the ID is output in the block.object call for refsect1 -->
+  <h2>
+    <xsl:apply-templates/>
+  </h2>
+</xsl:template>
+
+<xsl:template match="refsect2/title">
+  <!-- the ID is output in the block.object call for refsect2 -->
+  <h3>
+    <xsl:apply-templates/>
+  </h3>
+</xsl:template>
+
+<xsl:template match="refsect3/title">
+  <!-- the ID is output in the block.object call for refsect3 -->
+  <h4>
+    <xsl:apply-templates/>
+  </h4>
+</xsl:template>
+
+<xsl:template match="refsectioninfo|refsection/info"></xsl:template>
+<xsl:template match="refsect1info|refsect1/info"></xsl:template>
+<xsl:template match="refsect2info|refsect2/info"></xsl:template>
+<xsl:template match="refsect3info|refsect3/info"></xsl:template>
+
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/sections.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/sections.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/sections.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,619 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: sections.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="section">
+  <xsl:variable name="depth" select="count(ancestor::section)+1"/>
+
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:call-template name="section.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')
+                  and $depth &lt;= $generate.section.toc.level">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.chunk.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template name="section.title">
+  <!-- the context node should be the title of a section when called -->
+  <xsl:variable name="section" select="(ancestor::section
+                                        |ancestor::simplesect
+                                        |ancestor::sect1
+                                        |ancestor::sect2
+                                        |ancestor::sect3
+                                        |ancestor::sect4
+                                        |ancestor::sect5)[last()]"/>
+
+  <xsl:variable name="renderas">
+    <xsl:choose>
+      <xsl:when test="$section/@renderas = 'sect1'">1</xsl:when>
+      <xsl:when test="$section/@renderas = 'sect2'">2</xsl:when>
+      <xsl:when test="$section/@renderas = 'sect3'">3</xsl:when>
+      <xsl:when test="$section/@renderas = 'sect4'">4</xsl:when>
+      <xsl:when test="$section/@renderas = 'sect5'">5</xsl:when>
+      <xsl:otherwise><xsl:value-of select="''"/></xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="level">
+    <xsl:choose>
+      <xsl:when test="$renderas != ''">
+        <xsl:value-of select="$renderas"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="section.level">
+          <xsl:with-param name="node" select="$section"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="section.heading">
+    <xsl:with-param name="section" select="$section"/>
+    <xsl:with-param name="level" select="$level"/>
+    <xsl:with-param name="title">
+      <xsl:apply-templates select="$section" mode="object.title.markup">
+        <xsl:with-param name="allow-anchors" select="1"/>
+      </xsl:apply-templates>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="section/title
+                    |section/info/title
+                    |sectioninfo/title" 
+              mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="sect1">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+
+    <xsl:choose>
+      <xsl:when test="@renderas = 'sect2'">
+        <xsl:call-template name="sect2.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect3'">
+        <xsl:call-template name="sect3.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect4'">
+        <xsl:call-template name="sect4.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect5'">
+        <xsl:call-template name="sect5.titlepage"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="sect1.titlepage"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')
+                  and $generate.section.toc.level &gt;= 1">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.chunk.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="sect1/title
+                    |sect1/info/title
+                    |sect1info/title" 
+              mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="sect2">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+
+    <xsl:choose>
+      <xsl:when test="@renderas = 'sect1'">
+        <xsl:call-template name="sect1.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect3'">
+        <xsl:call-template name="sect3.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect4'">
+        <xsl:call-template name="sect4.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect5'">
+        <xsl:call-template name="sect5.titlepage"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="sect2.titlepage"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')
+                  and $generate.section.toc.level &gt;= 2">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.chunk.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="sect2/title
+                    |sect2/info/title
+                    |sect2info/title" 
+              mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="sect3">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+
+    <xsl:choose>
+      <xsl:when test="@renderas = 'sect1'">
+        <xsl:call-template name="sect1.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect2'">
+        <xsl:call-template name="sect2.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect4'">
+        <xsl:call-template name="sect4.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect5'">
+        <xsl:call-template name="sect5.titlepage"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="sect3.titlepage"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')
+                  and $generate.section.toc.level &gt;= 3">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.chunk.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="sect3/title
+                    |sect3/info/title
+                    |sect3info/title" 
+              mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="sect4">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+
+    <xsl:choose>
+      <xsl:when test="@renderas = 'sect1'">
+        <xsl:call-template name="sect1.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect2'">
+        <xsl:call-template name="sect2.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect3'">
+        <xsl:call-template name="sect3.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect5'">
+        <xsl:call-template name="sect5.titlepage"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="sect4.titlepage"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')
+                  and $generate.section.toc.level &gt;= 4">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.chunk.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="sect4/title
+                    |sect4/info/title
+                    |sect4info/title" 
+              mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="sect5">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+
+    <xsl:choose>
+      <xsl:when test="@renderas = 'sect1'">
+        <xsl:call-template name="sect1.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect2'">
+        <xsl:call-template name="sect2.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect3'">
+        <xsl:call-template name="sect3.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect4'">
+        <xsl:call-template name="sect4.titlepage"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="sect5.titlepage"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')
+                  and $generate.section.toc.level &gt;= 5">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.chunk.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="sect5/title
+                    |sect5/info/title
+                    |sect5info/title" 
+              mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="simplesect">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:call-template name="simplesect.titlepage"/>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="simplesect/title|simplesect/info/title" 
+              mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="section/title"></xsl:template>
+<xsl:template match="section/titleabbrev"></xsl:template>
+<xsl:template match="section/subtitle"></xsl:template>
+<xsl:template match="sectioninfo"></xsl:template>
+<xsl:template match="section/info"></xsl:template>
+
+<xsl:template match="sect1/title"></xsl:template>
+<xsl:template match="sect1/titleabbrev"></xsl:template>
+<xsl:template match="sect1/subtitle"></xsl:template>
+<xsl:template match="sect1info"></xsl:template>
+<xsl:template match="sect1/info"></xsl:template>
+
+<xsl:template match="sect2/title"></xsl:template>
+<xsl:template match="sect2/subtitle"></xsl:template>
+<xsl:template match="sect2/titleabbrev"></xsl:template>
+<xsl:template match="sect2info"></xsl:template>
+<xsl:template match="sect2/info"></xsl:template>
+
+<xsl:template match="sect3/title"></xsl:template>
+<xsl:template match="sect3/subtitle"></xsl:template>
+<xsl:template match="sect3/titleabbrev"></xsl:template>
+<xsl:template match="sect3info"></xsl:template>
+<xsl:template match="sect3/info"></xsl:template>
+
+<xsl:template match="sect4/title"></xsl:template>
+<xsl:template match="sect4/subtitle"></xsl:template>
+<xsl:template match="sect4/titleabbrev"></xsl:template>
+<xsl:template match="sect4info"></xsl:template>
+<xsl:template match="sect4/info"></xsl:template>
+
+<xsl:template match="sect5/title"></xsl:template>
+<xsl:template match="sect5/subtitle"></xsl:template>
+<xsl:template match="sect5/titleabbrev"></xsl:template>
+<xsl:template match="sect5info"></xsl:template>
+<xsl:template match="sect5/info"></xsl:template>
+
+<xsl:template match="simplesect/title"></xsl:template>
+<xsl:template match="simplesect/subtitle"></xsl:template>
+<xsl:template match="simplesect/titleabbrev"></xsl:template>
+<xsl:template match="simplesect/info"></xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="section.heading">
+  <xsl:param name="section" select="."/>
+  <xsl:param name="level" select="1"/>
+  <xsl:param name="allow-anchors" select="1"/>
+  <xsl:param name="title"/>
+  <xsl:param name="class" select="'title'"/>
+
+  <xsl:variable name="id">
+    <xsl:choose>
+      <!-- if title is in an *info wrapper, get the grandparent -->
+      <xsl:when test="contains(local-name(..), 'info')">
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select="../.."/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select=".."/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- HTML H level is one higher than section level -->
+  <xsl:variable name="hlevel">
+    <xsl:choose>
+      <!-- highest valid HTML H level is H6; so anything nested deeper
+           than 5 levels down just becomes H6 -->
+      <xsl:when test="$level &gt; 5">6</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$level + 1"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:element name="h{$hlevel}">
+    <xsl:attribute name="class"><xsl:value-of select="$class"/></xsl:attribute>
+    <xsl:if test="$css.decoration != '0'">
+      <xsl:if test="$hlevel&lt;3">
+        <xsl:attribute name="style">clear: both</xsl:attribute>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="$allow-anchors != 0">
+      <xsl:call-template name="anchor">
+        <xsl:with-param name="node" select="$section"/>
+        <xsl:with-param name="conditional" select="0"/>
+      </xsl:call-template>
+    </xsl:if>
+    <xsl:copy-of select="$title"/>
+  </xsl:element>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="bridgehead">
+  <xsl:variable name="container"
+                select="(ancestor::appendix
+                        |ancestor::article
+                        |ancestor::bibliography
+                        |ancestor::chapter
+                        |ancestor::glossary
+                        |ancestor::glossdiv
+                        |ancestor::index
+                        |ancestor::partintro
+                        |ancestor::preface
+                        |ancestor::refsect1
+                        |ancestor::refsect2
+                        |ancestor::refsect3
+                        |ancestor::sect1
+                        |ancestor::sect2
+                        |ancestor::sect3
+                        |ancestor::sect4
+                        |ancestor::sect5
+                        |ancestor::section
+                        |ancestor::setindex
+                        |ancestor::simplesect)[last()]"/>
+
+  <xsl:variable name="clevel">
+    <xsl:choose>
+      <xsl:when test="local-name($container) = 'appendix'
+                      or local-name($container) = 'chapter'
+                      or local-name($container) = 'article'
+                      or local-name($container) = 'bibliography'
+                      or local-name($container) = 'glossary'
+                      or local-name($container) = 'index'
+                      or local-name($container) = 'partintro'
+                      or local-name($container) = 'preface'
+                      or local-name($container) = 'setindex'">1</xsl:when>
+      <xsl:when test="local-name($container) = 'glossdiv'">
+        <xsl:value-of select="count(ancestor::glossdiv)+1"/>
+      </xsl:when>
+      <xsl:when test="local-name($container) = 'sect1'
+                      or local-name($container) = 'sect2'
+                      or local-name($container) = 'sect3'
+                      or local-name($container) = 'sect4'
+                      or local-name($container) = 'sect5'
+                      or local-name($container) = 'refsect1'
+                      or local-name($container) = 'refsect2'
+                      or local-name($container) = 'refsect3'
+                      or local-name($container) = 'section'
+                      or local-name($container) = 'simplesect'">
+        <xsl:variable name="slevel">
+          <xsl:call-template name="section.level">
+            <xsl:with-param name="node" select="$container"/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:value-of select="$slevel + 1"/>
+      </xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- HTML H level is one higher than section level -->
+  <xsl:variable name="hlevel">
+    <xsl:choose>
+      <xsl:when test="@renderas = 'sect1'">2</xsl:when>
+      <xsl:when test="@renderas = 'sect2'">3</xsl:when>
+      <xsl:when test="@renderas = 'sect3'">4</xsl:when>
+      <xsl:when test="@renderas = 'sect4'">5</xsl:when>
+      <xsl:when test="@renderas = 'sect5'">6</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$clevel + 1"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:element name="h{$hlevel}">
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="section/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template match="simplesect/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template match="sect1/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template match="sect2/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template match="sect3/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template match="sect4/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template match="sect5/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template name="section.subtitle">
+  <!-- the context node should be the subtitle of a section when called -->
+  <xsl:variable name="section" select="(ancestor::section
+                                        |ancestor::simplesect
+                                        |ancestor::sect1
+                                        |ancestor::sect2
+                                        |ancestor::sect3
+                                        |ancestor::sect4
+                                        |ancestor::sect5)[last()]"/>
+
+  <xsl:variable name="level">
+    <xsl:call-template name="section.level">
+      <xsl:with-param name="node" select="$section"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="section.heading">
+    <xsl:with-param name="section" select=".."/>
+    <xsl:with-param name="allow-anchors" select="0"/>
+    <!-- subtitle heading level one higher than section level -->
+    <xsl:with-param name="level" select="$level + 1"/>
+    <xsl:with-param name="class" select="'subtitle'"/>
+    <xsl:with-param name="title">
+      <xsl:apply-templates select="$section" mode="object.subtitle.markup">
+        <xsl:with-param name="allow-anchors" select="0"/>
+      </xsl:apply-templates>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/html/synop.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/synop.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/synop.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1577 @@
+<?xml version='1.0'?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY nbsp "&#160;">
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: synop.xsl 6446 2006-12-01 07:57:40Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- synopsis is in verbatim -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="cmdsynopsis">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <p>
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+    </p>
+  </div>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis/command">
+  <br/>
+  <xsl:call-template name="inline.monoseq"/>
+  <xsl:text> </xsl:text>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis/command[1]" priority="2">
+  <xsl:call-template name="inline.monoseq"/>
+  <xsl:text> </xsl:text>
+</xsl:template>
+
+<xsl:template match="group|arg" name="group-or-arg">
+  <xsl:variable name="choice" select="@choice"/>
+  <xsl:variable name="rep" select="@rep"/>
+  <xsl:variable name="sepchar">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*/@sepchar">
+        <xsl:value-of select="ancestor-or-self::*/@sepchar"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:text> </xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:if test="preceding-sibling::*">
+    <xsl:value-of select="$sepchar"/>
+  </xsl:if>
+  <xsl:choose>
+    <xsl:when test="$choice='plain'">
+      <xsl:value-of select="$arg.choice.plain.open.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='req'">
+      <xsl:value-of select="$arg.choice.req.open.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='opt'">
+      <xsl:value-of select="$arg.choice.opt.open.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.choice.def.open.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:apply-templates/>
+  <xsl:choose>
+    <xsl:when test="$rep='repeat'">
+      <xsl:value-of select="$arg.rep.repeat.str"/>
+    </xsl:when>
+    <xsl:when test="$rep='norepeat'">
+      <xsl:value-of select="$arg.rep.norepeat.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.rep.def.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:choose>
+    <xsl:when test="$choice='plain'">
+      <xsl:value-of select="$arg.choice.plain.close.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='req'">
+      <xsl:value-of select="$arg.choice.req.close.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='opt'">
+      <xsl:value-of select="$arg.choice.opt.close.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.choice.def.close.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="group/arg">
+  <xsl:variable name="choice" select="@choice"/>
+  <xsl:variable name="rep" select="@rep"/>
+  <xsl:if test="preceding-sibling::*">
+    <xsl:value-of select="$arg.or.sep"/>
+  </xsl:if>
+  <xsl:call-template name="group-or-arg"/>
+</xsl:template>
+
+<xsl:template match="sbr">
+  <br/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="synopfragmentref">
+  <xsl:variable name="target" select="key('id', at linkend)"/>
+  <xsl:variable name="snum">
+    <xsl:apply-templates select="$target" mode="synopfragment.number"/>
+  </xsl:variable>
+  <i>
+    <a href="#{@linkend}">
+      <xsl:text>(</xsl:text>
+      <xsl:value-of select="$snum"/>
+      <xsl:text>)</xsl:text>
+    </a>
+    <xsl:text>&#160;</xsl:text>
+    <xsl:apply-templates/>
+  </i>
+</xsl:template>
+
+<xsl:template match="synopfragment" mode="synopfragment.number">
+  <xsl:number format="1"/>
+</xsl:template>
+
+<xsl:template match="synopfragment">
+  <xsl:variable name="snum">
+    <xsl:apply-templates select="." mode="synopfragment.number"/>
+  </xsl:variable>
+  <p>
+    <xsl:variable name="id">
+      <xsl:call-template name="object.id"/>
+    </xsl:variable>
+    <a name="{$id}">
+      <xsl:text>(</xsl:text>
+      <xsl:value-of select="$snum"/>
+      <xsl:text>)</xsl:text>
+    </a>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<xsl:template match="funcsynopsis">
+  <xsl:call-template name="informal.object"/>
+</xsl:template>
+
+<xsl:template match="funcsynopsisinfo">
+  <pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </pre>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype -->
+<!--
+
+funcprototype ::= (funcdef,
+                   (void|varargs|paramdef+))
+
+funcdef       ::= (#PCDATA|type|replaceable|function)*
+
+paramdef      ::= (#PCDATA|type|replaceable|parameter|funcparams)*
+-->
+
+<xsl:template match="funcprototype">
+  <xsl:variable name="html-style">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="ancestor::funcsynopsis//processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'funcsynopsis-style'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="style">
+    <xsl:choose>
+      <xsl:when test="$html-style != ''">
+        <xsl:value-of select="$html-style"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$funcsynopsis.style"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+<!--
+  <xsl:variable name="tabular-p"
+                select="$funcsynopsis.tabular.threshold &gt; 0
+                        and string-length(.) &gt; $funcsynopsis.tabular.threshold"/>
+-->
+
+  <xsl:variable name="tabular-p" select="true()"/>
+
+  <xsl:choose>
+    <xsl:when test="$style = 'kr' and $tabular-p">
+      <xsl:apply-templates select="." mode="kr-tabular"/>
+    </xsl:when>
+    <xsl:when test="$style = 'kr'">
+      <xsl:apply-templates select="." mode="kr-nontabular"/>
+    </xsl:when>
+    <xsl:when test="$style = 'ansi' and $tabular-p">
+      <xsl:apply-templates select="." mode="ansi-tabular"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="." mode="ansi-nontabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype: kr, non-tabular -->
+
+<xsl:template match="funcprototype" mode="kr-nontabular">
+  <p>
+    <xsl:apply-templates mode="kr-nontabular"/>
+    <xsl:if test="paramdef">
+      <br/>
+      <xsl:apply-templates select="paramdef" mode="kr-funcsynopsis-mode"/>
+    </xsl:if>
+  </p>
+</xsl:template>
+
+<xsl:template match="funcdef" mode="kr-nontabular">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="kr-nontabular"/>
+    <xsl:text>(</xsl:text>
+  </code>
+</xsl:template>
+
+<xsl:template match="funcdef/function" mode="kr-nontabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <b class="fsfunc"><xsl:apply-templates mode="kr-nontabular"/></b>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="kr-nontabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="void" mode="kr-nontabular">
+  <code>)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="varargs" mode="kr-nontabular">
+  <xsl:text>...</xsl:text>
+  <code>)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="kr-nontabular">
+  <xsl:apply-templates select="parameter" mode="kr-nontabular"/>
+  <xsl:choose>
+    <xsl:when test="following-sibling::*">
+      <xsl:text>, </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>)</code>
+      <xsl:text>;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="kr-nontabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="kr-nontabular"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="kr-nontabular"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="kr-funcsynopsis-mode">
+  <xsl:if test="preceding-sibling::paramdef"><br/></xsl:if>
+  <code>
+    <xsl:apply-templates mode="kr-funcsynopsis-mode"/>
+  </code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="kr-funcsynopsis-mode">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="kr-funcsynopsis-mode"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="kr-funcsynopsis-mode"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="funcparams" mode="kr-funcsynopsis-mode">
+  <code>(</code>
+  <xsl:apply-templates mode="kr-funcsynopsis-mode"/>
+  <code>)</code>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype: kr, tabular -->
+
+<xsl:template match="funcprototype" mode="kr-tabular">
+  <table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0"
+         style="padding-bottom: 1em">
+    <tr>
+      <td>
+        <xsl:apply-templates select="funcdef" mode="kr-tabular"/>
+      </td>
+      <xsl:apply-templates select="(void|varargs|paramdef)[1]" mode="kr-tabular"/>
+    </tr>
+    <xsl:for-each select="(void|varargs|paramdef)[preceding-sibling::*[not(self::funcdef)]]">
+      <tr>
+        <td>&#160;</td>
+        <xsl:apply-templates select="." mode="kr-tabular"/>
+      </tr>
+    </xsl:for-each>
+  </table>
+  <xsl:if test="paramdef">
+    <table border="0" summary="Function argument synopsis"
+           cellspacing="0" cellpadding="0">
+      <xsl:if test="following-sibling::funcprototype">
+        <xsl:attribute name="style">padding-bottom: 1em</xsl:attribute>
+      </xsl:if>
+      <xsl:apply-templates select="paramdef" mode="kr-tabular-funcsynopsis-mode"/>
+    </table>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="funcdef" mode="kr-tabular">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="kr-tabular"/>
+    <xsl:text>(</xsl:text>
+  </code>
+</xsl:template>
+
+<xsl:template match="funcdef/function" mode="kr-tabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <b class="fsfunc"><xsl:apply-templates mode="kr-nontabular"/></b>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="kr-tabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="void" mode="kr-tabular">
+  <td>
+    <code>)</code>
+    <xsl:text>;</xsl:text>
+  </td>
+  <td>&#160;</td>
+</xsl:template>
+
+<xsl:template match="varargs" mode="kr-tabular">
+  <td>
+    <xsl:text>...</xsl:text>
+    <code>)</code>
+    <xsl:text>;</xsl:text>
+  </td>
+  <td>&#160;</td>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="kr-tabular">
+  <td>
+    <xsl:apply-templates select="parameter" mode="kr-tabular"/>
+    <xsl:choose>
+      <xsl:when test="following-sibling::*">
+	<xsl:text>, </xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+	<code>)</code>
+	<xsl:text>;</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </td>
+  <td>&#160;</td>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="kr-tabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="kr-tabular"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="kr-tabular"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="kr-tabular-funcsynopsis-mode">
+  <xsl:variable name="type">
+    <xsl:choose>
+      <xsl:when test="type">
+	<xsl:apply-templates select="type"
+			     mode="kr-tabular-funcsynopsis-mode"/>
+      </xsl:when>
+      <xsl:when test="normalize-space(parameter/preceding-sibling::node()[not(self::parameter)]) != ''">
+	<xsl:copy-of select="parameter/preceding-sibling::node()[not(self::parameter)]"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <tr>
+    <xsl:choose>
+      <xsl:when test="$type != '' and funcparams">
+        <td>
+	  <code>
+	    <xsl:copy-of select="$type"/>
+	  </code>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td>
+	  <code>
+	    <xsl:choose>
+	      <xsl:when test="type">
+		<xsl:apply-templates select="type/following-sibling::*"
+				     mode="kr-tabular-funcsynopsis-mode"/>
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:apply-templates select="*"
+				     mode="kr-tabular-funcsynopsis-mode"/>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </code>
+        </td>
+      </xsl:when>
+
+      <xsl:when test="funcparams">
+        <td colspan="2">
+	  <code>
+	    <xsl:apply-templates mode="kr-tabular-funcsynopsis-mode"/>
+	  </code>
+        </td>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <td>
+	  <code>
+	    <xsl:apply-templates select="parameter/preceding-sibling::node()[not(self::parameter)]"
+				 mode="kr-tabular-funcsynopsis-mode"/>
+	  </code>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td>
+	  <code>
+	    <xsl:apply-templates select="parameter"
+				 mode="kr-tabular"/>
+	    <xsl:apply-templates select="parameter/following-sibling::*[not(self::parameter)]"
+				 mode="kr-tabular-funcsynopsis-mode"/>
+	    <xsl:text>;</xsl:text>
+	  </code>
+        </td>
+      </xsl:otherwise>
+    </xsl:choose>
+  </tr>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="kr-tabular-funcsynopsis-mode">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="kr-tabular-funcsynopsis-mode"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="kr-tabular-funcsynopsis-mode"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="funcparams" mode="kr-tabular-funcsynopsis-mode">
+  <code>(</code>
+  <xsl:apply-templates mode="kr-tabular-funcsynopsis-mode"/>
+  <code>)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype: ansi, non-tabular -->
+
+<xsl:template match="funcprototype" mode="ansi-nontabular">
+  <p>
+    <xsl:apply-templates mode="ansi-nontabular"/>
+  </p>
+</xsl:template>
+
+<xsl:template match="funcdef" mode="ansi-nontabular">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="ansi-nontabular"/>
+    <xsl:text>(</xsl:text>
+  </code>
+</xsl:template>
+
+<xsl:template match="funcdef/function" mode="ansi-nontabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <b class="fsfunc"><xsl:apply-templates mode="ansi-nontabular"/></b>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="ansi-nontabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="void" mode="ansi-nontabular">
+  <code>void)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="varargs" mode="ansi-nontabular">
+  <xsl:text>...</xsl:text>
+  <code>)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="ansi-nontabular">
+  <xsl:apply-templates mode="ansi-nontabular"/>
+  <xsl:choose>
+    <xsl:when test="following-sibling::*">
+      <xsl:text>, </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>)</code>
+      <xsl:text>;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="ansi-nontabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="ansi-nontabular"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="ansi-nontabular"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="funcparams" mode="ansi-nontabular">
+  <code>(</code>
+  <xsl:apply-templates mode="ansi-nontabular"/>
+  <code>)</code>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype: ansi, tabular -->
+
+<xsl:template match="funcprototype" mode="ansi-tabular">
+  <table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0">
+    <xsl:if test="following-sibling::funcprototype">
+      <xsl:attribute name="style">padding-bottom: 1em</xsl:attribute>
+    </xsl:if>
+    <tr>
+      <td>
+        <xsl:apply-templates select="funcdef" mode="ansi-tabular"/>
+      </td>
+      <xsl:apply-templates select="(void|varargs|paramdef)[1]" mode="ansi-tabular"/>
+    </tr>
+    <xsl:for-each select="(void|varargs|paramdef)[preceding-sibling::*[not(self::funcdef)]]">
+      <tr>
+        <td>&#160;</td>
+        <xsl:apply-templates select="." mode="ansi-tabular"/>
+      </tr>
+    </xsl:for-each>
+  </table>
+</xsl:template>
+
+<xsl:template match="funcdef" mode="ansi-tabular">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="ansi-tabular"/>
+    <xsl:text>(</xsl:text>
+  </code>
+</xsl:template>
+
+<xsl:template match="funcdef/function" mode="ansi-tabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <b class="fsfunc"><xsl:apply-templates mode="ansi-nontabular"/></b>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="kr-tabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="void" mode="ansi-tabular">
+  <td>
+    <code>void)</code>
+    <xsl:text>;</xsl:text>
+  </td>
+  <td>&#160;</td>
+</xsl:template>
+
+<xsl:template match="varargs" mode="ansi-tabular">
+  <td>
+    <xsl:text>...</xsl:text>
+    <code>)</code>
+    <xsl:text>;</xsl:text>
+  </td>
+  <td>&#160;</td>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="ansi-tabular">
+  <xsl:variable name="type">
+    <xsl:choose>
+      <xsl:when test="type">
+	<xsl:apply-templates select="type"
+			     mode="ansi-tabular"/>
+      </xsl:when>
+      <xsl:when test="normalize-space(parameter/preceding-sibling::node()[not(self::parameter)]) != ''">
+	<xsl:copy-of select="parameter/preceding-sibling::node()[not(self::parameter)]"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$type != '' and funcparams">
+      <td>
+	<xsl:copy-of select="$type"/>
+        <xsl:text>&#160;</xsl:text>
+      </td>
+      <td>
+	<xsl:choose>
+	  <xsl:when test="type">
+	    <xsl:apply-templates select="type/following-sibling::*"
+				 mode="ansi-tabular"/>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates select="*"
+				 mode="ansi-tabular"/>
+	  </xsl:otherwise>
+	</xsl:choose>
+        <xsl:choose>
+          <xsl:when test="following-sibling::*">
+            <xsl:text>, </xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <code>)</code>
+            <xsl:text>;</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </td>
+    </xsl:when>
+    <xsl:otherwise>
+      <td>
+        <xsl:apply-templates select="parameter/preceding-sibling::node()[not(self::parameter)]"
+                             mode="ansi-tabular"/>
+        <xsl:text>&#160;</xsl:text>
+      </td>
+      <td>
+        <xsl:apply-templates select="parameter"
+                             mode="ansi-tabular"/>
+        <xsl:apply-templates select="parameter/following-sibling::*[not(self::parameter)]"
+                             mode="ansi-tabular"/>
+        <xsl:choose>
+          <xsl:when test="following-sibling::*">
+            <xsl:text>, </xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <code>)</code>
+            <xsl:text>;</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </td>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="ansi-tabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="ansi-tabular"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="ansi-tabular"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="funcparams" mode="ansi-tabular">
+  <code>(</code>
+  <xsl:apply-templates/>
+  <code>)</code>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:variable name="default-classsynopsis-language">java</xsl:variable>
+
+<xsl:template match="classsynopsis
+                     |fieldsynopsis
+                     |methodsynopsis
+                     |constructorsynopsis
+                     |destructorsynopsis">
+  <xsl:param name="language">
+    <xsl:choose>
+      <xsl:when test="@language">
+	<xsl:value-of select="@language"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:value-of select="$default-classsynopsis-language"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$language='java' or $language='Java'">
+      <xsl:apply-templates select="." mode="java"/>
+    </xsl:when>
+    <xsl:when test="$language='perl' or $language='Perl'">
+      <xsl:apply-templates select="." mode="perl"/>
+    </xsl:when>
+    <xsl:when test="$language='idl' or $language='IDL'">
+      <xsl:apply-templates select="." mode="idl"/>
+    </xsl:when>
+    <xsl:when test="$language='cpp' or $language='c++' or $language='C++'">
+      <xsl:apply-templates select="." mode="cpp"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+	<xsl:text>Unrecognized language on </xsl:text>
+        <xsl:value-of select="local-name(.)"/>
+        <xsl:text>: </xsl:text>
+	<xsl:value-of select="$language"/>
+      </xsl:message>
+      <xsl:apply-templates select=".">
+	<xsl:with-param name="language"
+	  select="$default-classsynopsis-language"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="synop-break">
+  <xsl:if test="parent::classsynopsis
+                or (following-sibling::fieldsynopsis
+                    |following-sibling::methodsynopsis
+                    |following-sibling::constructorsynopsis
+                    |following-sibling::destructorsynopsis)">
+    <br/>
+  </xsl:if>
+</xsl:template>
+
+
+<!-- ===== Java ======================================================== -->
+
+<xsl:template match="classsynopsis" mode="java">
+  <pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates select="ooclass[1]" mode="java"/>
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text> extends</xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="java"/>
+      <xsl:if test="oointerface|ooexception">
+        <br/>
+	<xsl:text>&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="oointerface">
+      <xsl:text>implements</xsl:text>
+      <xsl:apply-templates select="oointerface" mode="java"/>
+      <xsl:if test="ooexception">
+        <br/>
+	<xsl:text>&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="ooexception">
+      <xsl:text>throws</xsl:text>
+      <xsl:apply-templates select="ooexception" mode="java"/>
+    </xsl:if>
+    <xsl:text>&nbsp;{</xsl:text>
+    <br/>
+    <xsl:apply-templates select="constructorsynopsis
+                                 |destructorsynopsis
+                                 |fieldsynopsis
+                                 |methodsynopsis
+                                 |classsynopsisinfo" mode="java"/>
+    <xsl:text>}</xsl:text>
+  </pre>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="java">
+  <xsl:apply-templates mode="java"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="java">
+  <xsl:choose>
+    <xsl:when test="preceding-sibling::*">
+      <xsl:text>, </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text> </xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text>&nbsp;</xsl:text>
+    </xsl:if>
+  </span>
+</xsl:template>
+
+<xsl:template match="classname" mode="java">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="java">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="java">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="java">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&nbsp;&nbsp;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates mode="java"/>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+    <xsl:text>&nbsp;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="varname" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+    <xsl:text>&nbsp;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="initializer" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>=&nbsp;</xsl:text>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="void" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>void&nbsp;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodname" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="java">
+  <xsl:param name="indent">0</xsl:param>
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>,</xsl:text>
+    <br/>
+    <xsl:if test="$indent &gt; 0">
+      <xsl:call-template name="copy-string">
+	<xsl:with-param name="string">&nbsp;</xsl:with-param>
+	<xsl:with-param name="count" select="$indent + 1"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="parameter" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template mode="java"
+  match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="decl">
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&nbsp;&nbsp;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="$start-modifiers" mode="java"/>
+
+    <!-- type -->
+    <xsl:if test="local-name($notmod[1]) != 'methodname'">
+      <xsl:apply-templates select="$notmod[1]" mode="java"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="methodname" mode="java"/>
+  </xsl:variable>
+
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$decl"/>
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates select="methodparam" mode="java">
+      <xsl:with-param name="indent" select="string-length($decl)"/>
+    </xsl:apply-templates>
+    <xsl:text>)</xsl:text>
+    <xsl:if test="exceptionname">
+      <br/>
+      <xsl:text>&nbsp;&nbsp;&nbsp;&nbsp;throws&nbsp;</xsl:text>
+      <xsl:apply-templates select="exceptionname" mode="java"/>
+    </xsl:if>
+    <xsl:if test="modifier[preceding-sibling::*[local-name(.) != 'modifier']]">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="$end-modifiers" mode="java"/>
+    </xsl:if>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ===== C++ ========================================================= -->
+
+<xsl:template match="classsynopsis" mode="cpp">
+  <pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates select="ooclass[1]" mode="cpp"/>
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text>: </xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="cpp"/>
+      <xsl:if test="oointerface|ooexception">
+        <br/>
+	<xsl:text>&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="oointerface">
+      <xsl:text> implements</xsl:text>
+      <xsl:apply-templates select="oointerface" mode="cpp"/>
+      <xsl:if test="ooexception">
+        <br/>
+	<xsl:text>&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="ooexception">
+      <xsl:text> throws</xsl:text>
+      <xsl:apply-templates select="ooexception" mode="cpp"/>
+    </xsl:if>
+    <xsl:text>&nbsp;{</xsl:text>
+    <br/>
+    <xsl:apply-templates select="constructorsynopsis
+                                 |destructorsynopsis
+                                 |fieldsynopsis
+                                 |methodsynopsis
+                                 |classsynopsisinfo" mode="cpp"/>
+    <xsl:text>}</xsl:text>
+  </pre>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="cpp">
+  <xsl:apply-templates mode="cpp"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="cpp">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text>&nbsp;</xsl:text>
+    </xsl:if>
+  </span>
+</xsl:template>
+
+<xsl:template match="classname" mode="cpp">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="cpp">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="cpp">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="cpp">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&nbsp;&nbsp;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates mode="cpp"/>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+    <xsl:text>&nbsp;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="varname" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+    <xsl:text>&nbsp;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="initializer" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>=&nbsp;</xsl:text>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="void" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>void&nbsp;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodname" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="cpp">
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="parameter" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template mode="cpp"
+  match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&nbsp;&nbsp;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="$start-modifiers" mode="cpp"/>
+
+    <!-- type -->
+    <xsl:if test="local-name($notmod[1]) != 'methodname'">
+      <xsl:apply-templates select="$notmod[1]" mode="cpp"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="methodname" mode="cpp"/>
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates select="methodparam" mode="cpp"/>
+    <xsl:text>)</xsl:text>
+    <xsl:if test="exceptionname">
+      <br/>
+      <xsl:text>&nbsp;&nbsp;&nbsp;&nbsp;throws&nbsp;</xsl:text>
+      <xsl:apply-templates select="exceptionname" mode="cpp"/>
+    </xsl:if>
+    <xsl:if test="modifier[preceding-sibling::*[local-name(.) != 'modifier']]">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="$end-modifiers" mode="cpp"/>
+    </xsl:if>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ===== IDL ========================================================= -->
+
+<xsl:template match="classsynopsis" mode="idl">
+  <pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>interface </xsl:text>
+    <xsl:apply-templates select="ooclass[1]" mode="idl"/>
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text>: </xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="idl"/>
+      <xsl:if test="oointerface|ooexception">
+        <br/>
+	<xsl:text>&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="oointerface">
+      <xsl:text> implements</xsl:text>
+      <xsl:apply-templates select="oointerface" mode="idl"/>
+      <xsl:if test="ooexception">
+        <br/>
+	<xsl:text>&nbsp;&nbsp;&nbsp;&nbsp;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="ooexception">
+      <xsl:text> throws</xsl:text>
+      <xsl:apply-templates select="ooexception" mode="idl"/>
+    </xsl:if>
+    <xsl:text>&nbsp;{</xsl:text>
+    <br/>
+    <xsl:apply-templates select="constructorsynopsis
+                                 |destructorsynopsis
+                                 |fieldsynopsis
+                                 |methodsynopsis
+                                 |classsynopsisinfo" mode="idl"/>
+    <xsl:text>}</xsl:text>
+  </pre>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="idl">
+  <xsl:apply-templates mode="idl"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="idl">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text>&nbsp;</xsl:text>
+    </xsl:if>
+  </span>
+</xsl:template>
+
+<xsl:template match="classname" mode="idl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="idl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="idl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="idl">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&nbsp;&nbsp;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates mode="idl"/>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+    <xsl:text>&nbsp;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="varname" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+    <xsl:text>&nbsp;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="initializer" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>=&nbsp;</xsl:text>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="void" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>void&nbsp;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodname" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="idl">
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="parameter" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template mode="idl"
+  match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&nbsp;&nbsp;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="$start-modifiers" mode="idl"/>
+
+    <!-- type -->
+    <xsl:if test="local-name($notmod[1]) != 'methodname'">
+      <xsl:apply-templates select="$notmod[1]" mode="idl"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="methodname" mode="idl"/>
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates select="methodparam" mode="idl"/>
+    <xsl:text>)</xsl:text>
+    <xsl:if test="exceptionname">
+      <br/>
+      <xsl:text>&nbsp;&nbsp;&nbsp;&nbsp;raises(</xsl:text>
+      <xsl:apply-templates select="exceptionname" mode="idl"/>
+      <xsl:text>)</xsl:text>
+    </xsl:if>
+    <xsl:if test="modifier[preceding-sibling::*[local-name(.) != 'modifier']]">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="$end-modifiers" mode="idl"/>
+    </xsl:if>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ===== Perl ======================================================== -->
+
+<xsl:template match="classsynopsis" mode="perl">
+  <pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>package </xsl:text>
+    <xsl:apply-templates select="ooclass[1]" mode="perl"/>
+    <xsl:text>;</xsl:text>
+    <br/>
+
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text>@ISA = (</xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="perl"/>
+      <xsl:text>);</xsl:text>
+      <br/>
+    </xsl:if>
+
+    <xsl:apply-templates select="constructorsynopsis
+                                 |destructorsynopsis
+                                 |fieldsynopsis
+                                 |methodsynopsis
+                                 |classsynopsisinfo" mode="perl"/>
+  </pre>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="perl">
+  <xsl:apply-templates mode="perl"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="perl">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text>&nbsp;</xsl:text>
+    </xsl:if>
+  </span>
+</xsl:template>
+
+<xsl:template match="classname" mode="perl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="perl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="perl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="perl">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&nbsp;&nbsp;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates mode="perl"/>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+    <xsl:text>&nbsp;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="varname" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+    <xsl:text>&nbsp;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="initializer" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>=&nbsp;</xsl:text>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="void" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>void&nbsp;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodname" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="perl">
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="parameter" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template mode="perl"
+  match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>sub </xsl:text>
+
+    <xsl:apply-templates select="methodname" mode="perl"/>
+    <xsl:text> { ... };</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- * DocBook 5 allows linking elements (link, olink, and xref) -->
+<!-- * within the OO *synopsis elements (classsynopsis, fieldsynopsis, -->
+<!-- * methodsynopsis, constructorsynopsis, destructorsynopsis) and -->
+<!-- * their children. So we need to have mode="java|cpp|idl|perl" -->
+<!-- * per-mode matches for those linking elements in order for them -->
+<!-- * to be processed as expected. -->
+
+<xsl:template match="link|olink|xref" mode="java">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="link|olink|xref" mode="cpp">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="link|olink|xref" mode="idl">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="link|olink|xref" mode="perl">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/table.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/table.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/table.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1144 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                xmlns:stbl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Table"
+                xmlns:xtbl="xalan://com.nwalsh.xalan.Table"
+                xmlns:lxslt="http://xml.apache.org/xslt"
+                xmlns:ptbl="http://nwalsh.com/xslt/ext/xsltproc/python/Table"
+                exclude-result-prefixes="doc stbl xtbl lxslt ptbl"
+                version='1.0'>
+
+<xsl:include href="../common/table.xsl"/>
+
+<!-- ********************************************************************
+     $Id: table.xsl 6439 2006-11-18 20:10:32Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<lxslt:component prefix="xtbl"
+                 functions="adjustColumnWidths"/>
+
+<xsl:template name="empty.table.cell">
+  <xsl:param name="colnum" select="0"/>
+
+  <xsl:variable name="rowsep">
+    <xsl:choose>
+      <!-- If this is the last row, rowsep never applies. -->
+      <xsl:when test="not(ancestor-or-self::row[1]/following-sibling::row
+                          or ancestor-or-self::thead/following-sibling::tbody
+                          or ancestor-or-self::tbody/preceding-sibling::tfoot)">
+        <xsl:value-of select="0"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inherited.table.attribute">
+          <xsl:with-param name="entry" select="NOT-AN-ELEMENT-NAME"/>
+          <xsl:with-param name="row" select="ancestor-or-self::row[1]"/>
+          <xsl:with-param name="colnum" select="$colnum"/>
+          <xsl:with-param name="attribute" select="'rowsep'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="colsep">
+    <xsl:choose>
+      <!-- If this is the last column, colsep never applies. -->
+      <xsl:when test="number($colnum) &gt;= ancestor::tgroup/@cols">0</xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inherited.table.attribute">
+          <xsl:with-param name="entry" select="NOT-AN-ELEMENT-NAME"/>
+          <xsl:with-param name="row" select="ancestor-or-self::row[1]"/>
+          <xsl:with-param name="colnum" select="$colnum"/>
+          <xsl:with-param name="attribute" select="'colsep'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <td class="auto-generated">
+    <xsl:if test="$table.borders.with.css != 0">
+      <xsl:attribute name="style">
+        <xsl:if test="$colsep &gt; 0">
+          <xsl:call-template name="border">
+            <xsl:with-param name="side" select="'right'"/>
+          </xsl:call-template>
+        </xsl:if>
+        <xsl:if test="$rowsep &gt; 0">
+          <xsl:call-template name="border">
+            <xsl:with-param name="side" select="'bottom'"/>
+          </xsl:call-template>
+        </xsl:if>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:text>&#160;</xsl:text>
+  </td>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="border">
+  <xsl:param name="side" select="'left'"/>
+  <xsl:param name="padding" select="0"/>
+  <xsl:param name="style" select="$table.cell.border.style"/>
+  <xsl:param name="color" select="$table.cell.border.color"/>
+  <xsl:param name="thickness" select="$table.cell.border.thickness"/>
+
+  <!-- Note: Some browsers (mozilla) require at least a width and style. -->
+
+  <xsl:choose>
+    <xsl:when test="($thickness != ''
+                     and $style != ''
+                     and $color != '')
+                    or ($thickness != ''
+                        and $style != '')
+                    or ($thickness != '')">
+      <!-- use the compound property if we can: -->
+      <!-- it saves space and probably works more reliably -->
+      <xsl:text>border-</xsl:text>
+      <xsl:value-of select="$side"/>
+      <xsl:text>: </xsl:text>
+      <xsl:value-of select="$thickness"/>
+      <xsl:text> </xsl:text>
+      <xsl:value-of select="$style"/>
+      <xsl:text> </xsl:text>
+      <xsl:value-of select="$color"/>
+      <xsl:text>; </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- we need to specify the styles individually -->
+      <xsl:if test="$thickness != ''">
+        <xsl:text>border-</xsl:text>
+        <xsl:value-of select="$side"/>
+        <xsl:text>-width: </xsl:text>
+        <xsl:value-of select="$thickness"/>
+        <xsl:text>; </xsl:text>
+      </xsl:if>
+
+      <xsl:if test="$style != ''">
+        <xsl:text>border-</xsl:text>
+        <xsl:value-of select="$side"/>
+        <xsl:text>-style: </xsl:text>
+        <xsl:value-of select="$style"/>
+        <xsl:text>; </xsl:text>
+      </xsl:if>
+
+      <xsl:if test="$color != ''">
+        <xsl:text>border-</xsl:text>
+        <xsl:value-of select="$side"/>
+        <xsl:text>-color: </xsl:text>
+        <xsl:value-of select="$color"/>
+        <xsl:text>; </xsl:text>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="tgroup" name="tgroup">
+  <xsl:if test="not(@cols) or @cols = '' or string(number(@cols)) = 'NaN'">
+    <xsl:message terminate="yes">
+      <xsl:text>Error: CALS tables must specify the number of columns.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="summary">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'table-summary'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="cellspacing">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'cellspacing'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="cellpadding">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="processing-instruction('dbhtml')[1]"/>
+      <xsl:with-param name="attribute" select="'cellpadding'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <table>
+    <xsl:choose>
+      <!-- If there's a textobject/phrase for the table summary, use it -->
+      <xsl:when test="../textobject/phrase">
+        <xsl:attribute name="summary">
+          <xsl:value-of select="../textobject/phrase"/>
+        </xsl:attribute>
+      </xsl:when>
+
+      <!-- If there's a <?dbhtml table-summary="foo"?> PI, use it for
+           the HTML table summary attribute -->
+      <xsl:when test="$summary != ''">
+        <xsl:attribute name="summary">
+          <xsl:value-of select="$summary"/>
+        </xsl:attribute>
+      </xsl:when>
+
+      <!-- Otherwise, if there's a title, use that -->
+      <xsl:when test="../title">
+        <xsl:attribute name="summary">
+          <xsl:value-of select="string(../title)"/>
+        </xsl:attribute>
+      </xsl:when>
+
+      <!-- Otherwise, forget the whole idea -->
+      <xsl:otherwise><!-- nevermind --></xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test="$cellspacing != '' or $html.cellspacing != ''">
+      <xsl:attribute name="cellspacing">
+        <xsl:choose>
+          <xsl:when test="$cellspacing != ''">
+            <xsl:value-of select="$cellspacing"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$html.cellspacing"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$cellpadding != '' or $html.cellpadding != ''">
+      <xsl:attribute name="cellpadding">
+        <xsl:choose>
+          <xsl:when test="$cellpadding != ''">
+            <xsl:value-of select="$cellpadding"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$html.cellpadding"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="../@pgwide=1 or local-name(.) = 'entrytbl'">
+      <xsl:attribute name="width">100%</xsl:attribute>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="$table.borders.with.css != 0">
+        <xsl:attribute name="border">0</xsl:attribute>
+        <xsl:choose>
+          <xsl:when test="../@frame='all' or (not(../@frame) and $default.table.frame='all')">
+            <xsl:attribute name="style">
+              <xsl:text>border-collapse: collapse;</xsl:text>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'top'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'bottom'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'left'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'right'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:when test="../@frame='topbot' or (not(../@frame) and $default.table.frame='topbot')">
+            <xsl:attribute name="style">
+              <xsl:text>border-collapse: collapse;</xsl:text>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'top'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'bottom'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:when test="../@frame='top' or (not(../@frame) and $default.table.frame='top')">
+            <xsl:attribute name="style">
+              <xsl:text>border-collapse: collapse;</xsl:text>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'top'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:when test="../@frame='bottom' or (not(../@frame) and $default.table.frame='bottom')">
+            <xsl:attribute name="style">
+              <xsl:text>border-collapse: collapse;</xsl:text>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'bottom'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:when test="../@frame='sides' or (not(../@frame) and $default.table.frame='sides')">
+            <xsl:attribute name="style">
+              <xsl:text>border-collapse: collapse;</xsl:text>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'left'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'right'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:attribute name="style">
+              <xsl:text>border-collapse: collapse;</xsl:text>
+            </xsl:attribute>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:when test="../@frame='none' or (not(../@frame) and $default.table.frame='none') or local-name(.) = 'entrytbl'">
+        <xsl:attribute name="border">0</xsl:attribute>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:attribute name="border">1</xsl:attribute>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="colgroup">
+      <colgroup>
+        <xsl:call-template name="generate.colgroup">
+          <xsl:with-param name="cols" select="@cols"/>
+        </xsl:call-template>
+      </colgroup>
+    </xsl:variable>
+
+    <xsl:variable name="explicit.table.width">
+      <xsl:call-template name="dbhtml-attribute">
+        <xsl:with-param name="pis"
+                        select="../processing-instruction('dbhtml')[1]"/>
+        <xsl:with-param name="attribute" select="'table-width'"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="table.width">
+      <xsl:choose>
+        <xsl:when test="$explicit.table.width != ''">
+          <xsl:value-of select="$explicit.table.width"/>
+        </xsl:when>
+        <xsl:when test="$default.table.width = ''">
+          <xsl:text>100%</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$default.table.width"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:if test="$default.table.width != ''
+                  or $explicit.table.width != ''">
+      <xsl:attribute name="width">
+        <xsl:choose>
+          <xsl:when test="contains($table.width, '%')">
+            <xsl:value-of select="$table.width"/>
+          </xsl:when>
+          <xsl:when test="$use.extensions != 0
+                          and $tablecolumns.extension != 0">
+            <xsl:choose>
+              <xsl:when test="function-available('stbl:convertLength')">
+                <xsl:value-of select="stbl:convertLength($table.width)"/>
+              </xsl:when>
+              <xsl:when test="function-available('xtbl:convertLength')">
+                <xsl:value-of select="xtbl:convertLength($table.width)"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:message terminate="yes">
+                  <xsl:text>No convertLength function available.</xsl:text>
+                </xsl:message>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$table.width"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="$use.extensions != 0
+                      and $tablecolumns.extension != 0">
+        <xsl:choose>
+          <xsl:when test="function-available('stbl:adjustColumnWidths')">
+            <xsl:copy-of select="stbl:adjustColumnWidths($colgroup)"/>
+          </xsl:when>
+          <xsl:when test="function-available('xtbl:adjustColumnWidths')">
+            <xsl:copy-of select="xtbl:adjustColumnWidths($colgroup)"/>
+          </xsl:when>
+          <xsl:when test="function-available('ptbl:adjustColumnWidths')">
+            <xsl:copy-of select="ptbl:adjustColumnWidths($colgroup)"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:message terminate="yes">
+              <xsl:text>No adjustColumnWidths function available.</xsl:text>
+            </xsl:message>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$colgroup"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:apply-templates select="thead"/>
+    <xsl:apply-templates select="tfoot"/>
+    <xsl:apply-templates select="tbody"/>
+
+    <xsl:if test=".//footnote">
+      <tbody class="footnotes">
+        <tr>
+          <td colspan="{@cols}">
+            <xsl:apply-templates select=".//footnote" mode="table.footnote.mode"/>
+          </td>
+        </tr>
+      </tbody>
+    </xsl:if>
+  </table>
+</xsl:template>
+
+<xsl:template match="tgroup/processing-instruction('dbhtml')">
+  <xsl:variable name="summary">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="."/>
+      <xsl:with-param name="attribute" select="'table-summary'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <!-- Suppress the table-summary PI -->
+  <xsl:if test="$summary = ''">
+    <xsl:processing-instruction name="dbhtml">
+      <xsl:value-of select="."/>
+    </xsl:processing-instruction>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="colspec"></xsl:template>
+
+<xsl:template match="spanspec"></xsl:template>
+
+<xsl:template match="thead|tfoot">
+  <xsl:element name="{local-name(.)}">
+    <xsl:if test="@align">
+      <xsl:attribute name="align">
+        <xsl:value-of select="@align"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@char">
+      <xsl:attribute name="char">
+        <xsl:value-of select="@char"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@charoff">
+      <xsl:attribute name="charoff">
+        <xsl:value-of select="@charoff"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@valign">
+      <xsl:attribute name="valign">
+        <xsl:value-of select="@valign"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:apply-templates select="row[1]">
+      <xsl:with-param name="spans">
+        <xsl:call-template name="blank.spans">
+          <xsl:with-param name="cols" select="../@cols"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:apply-templates>
+
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="tbody">
+  <tbody>
+    <xsl:if test="@align">
+      <xsl:attribute name="align">
+        <xsl:value-of select="@align"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@char">
+      <xsl:attribute name="char">
+        <xsl:value-of select="@char"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@charoff">
+      <xsl:attribute name="charoff">
+        <xsl:value-of select="@charoff"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@valign">
+      <xsl:attribute name="valign">
+        <xsl:value-of select="@valign"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:apply-templates select="row[1]">
+      <xsl:with-param name="spans">
+        <xsl:call-template name="blank.spans">
+          <xsl:with-param name="cols" select="../@cols"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:apply-templates>
+
+  </tbody>
+</xsl:template>
+
+<xsl:template match="row">
+  <xsl:param name="spans"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($spans, '0')">
+      <xsl:call-template name="normal-row">
+	<xsl:with-param name="spans" select="$spans"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <!--
+      <xsl:message>
+	<xsl:text>Ignoring row: </xsl:text>
+	<xsl:value-of select="$spans"/>
+	<xsl:text> = </xsl:text>
+	<xsl:call-template name="consume-row">
+	  <xsl:with-param name="spans" select="$spans"/>
+	</xsl:call-template>
+      </xsl:message>
+      -->
+
+      <xsl:if test="normalize-space(.//text()) != ''">
+	<xsl:message>Warning: overlapped row contains content!</xsl:message>
+      </xsl:if>
+
+      <tr><xsl:comment> This row intentionally left blank </xsl:comment></tr>
+
+      <xsl:apply-templates select="following-sibling::row[1]">
+	<xsl:with-param name="spans">
+	  <xsl:call-template name="consume-row">
+	    <xsl:with-param name="spans" select="$spans"/>
+	  </xsl:call-template>
+	</xsl:with-param>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="normal-row">
+  <xsl:param name="spans"/>
+
+  <xsl:variable name="row-height">
+    <xsl:if test="processing-instruction('dbhtml')">
+      <xsl:call-template name="dbhtml-attribute">
+        <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+        <xsl:with-param name="attribute" select="'row-height'"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="bgcolor">
+    <xsl:if test="processing-instruction('dbhtml')">
+      <xsl:call-template name="dbhtml-attribute">
+	<xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+	<xsl:with-param name="attribute" select="'bgcolor'"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="class">
+    <xsl:if test="processing-instruction('dbhtml')">
+      <xsl:call-template name="dbhtml-attribute">
+	<xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+	<xsl:with-param name="attribute" select="'class'"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <tr>
+    <xsl:call-template name="tr.attributes">
+      <xsl:with-param name="rownum">
+        <xsl:number from="tgroup" count="row"/>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <xsl:if test="$row-height != ''">
+      <xsl:attribute name="height">
+        <xsl:value-of select="$row-height"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$bgcolor != ''">
+      <xsl:attribute name="bgcolor">
+        <xsl:value-of select="$bgcolor"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$class != ''">
+      <xsl:attribute name="class">
+        <xsl:value-of select="$class"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$table.borders.with.css != 0">
+      <xsl:if test="@rowsep = 1 and following-sibling::row">
+        <xsl:attribute name="style">
+          <xsl:call-template name="border">
+            <xsl:with-param name="side" select="'bottom'"/>
+          </xsl:call-template>
+        </xsl:attribute>
+      </xsl:if>
+    </xsl:if>
+
+    <xsl:if test="@align">
+      <xsl:attribute name="align">
+        <xsl:value-of select="@align"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@char">
+      <xsl:attribute name="char">
+        <xsl:value-of select="@char"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@charoff">
+      <xsl:attribute name="charoff">
+        <xsl:value-of select="@charoff"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@valign">
+      <xsl:attribute name="valign">
+        <xsl:value-of select="@valign"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:apply-templates select="(entry|entrytbl)[1]">
+      <xsl:with-param name="spans" select="$spans"/>
+    </xsl:apply-templates>
+  </tr>
+
+  <xsl:if test="following-sibling::row">
+    <xsl:variable name="nextspans">
+      <xsl:apply-templates select="(entry|entrytbl)[1]" mode="span">
+        <xsl:with-param name="spans" select="$spans"/>
+      </xsl:apply-templates>
+    </xsl:variable>
+
+    <xsl:apply-templates select="following-sibling::row[1]">
+      <xsl:with-param name="spans" select="$nextspans"/>
+    </xsl:apply-templates>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="entry|entrytbl" name="entry">
+  <xsl:param name="col" select="1"/>
+  <xsl:param name="spans"/>
+
+  <xsl:variable name="cellgi">
+    <xsl:choose>
+      <xsl:when test="ancestor::thead">th</xsl:when>
+      <xsl:when test="ancestor::tfoot">th</xsl:when>
+      <xsl:otherwise>td</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="empty.cell" select="count(node()) = 0"/>
+
+  <xsl:variable name="named.colnum">
+    <xsl:call-template name="entry.colnum"/>
+  </xsl:variable>
+
+  <xsl:variable name="entry.colnum">
+    <xsl:choose>
+      <xsl:when test="$named.colnum &gt; 0">
+        <xsl:value-of select="$named.colnum"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$col"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="entry.colspan">
+    <xsl:choose>
+      <xsl:when test="@spanname or @namest">
+        <xsl:call-template name="calculate.colspan"/>
+      </xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="following.spans">
+    <xsl:call-template name="calculate.following.spans">
+      <xsl:with-param name="colspan" select="$entry.colspan"/>
+      <xsl:with-param name="spans" select="$spans"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="rowsep">
+    <xsl:choose>
+      <!-- If this is the last row, rowsep never applies. -->
+      <xsl:when test="ancestor::entrytbl
+                      and not (ancestor-or-self::row[1]/following-sibling::row)">
+        <xsl:value-of select="0"/>
+      </xsl:when>
+      <xsl:when test="not(ancestor-or-self::row[1]/following-sibling::row
+                          or ancestor-or-self::thead/following-sibling::tbody
+                          or ancestor-or-self::tbody/preceding-sibling::tfoot)">
+        <xsl:value-of select="0"/>
+      </xsl:when>
+      <xsl:when test="@morerows and not(@morerows &lt; 
+                 count(ancestor-or-self::row[1]/following-sibling::row))">
+        <xsl:value-of select="0"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inherited.table.attribute">
+          <xsl:with-param name="entry" select="."/>
+          <xsl:with-param name="colnum" select="$entry.colnum"/>
+          <xsl:with-param name="attribute" select="'rowsep'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="colsep">
+    <xsl:choose>
+      <!-- If this is the last column, colsep never applies. -->
+      <xsl:when test="$following.spans = ''">0</xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inherited.table.attribute">
+          <xsl:with-param name="entry" select="."/>
+          <xsl:with-param name="colnum" select="$entry.colnum"/>
+          <xsl:with-param name="attribute" select="'colsep'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="valign">
+    <xsl:call-template name="inherited.table.attribute">
+      <xsl:with-param name="entry" select="."/>
+      <xsl:with-param name="colnum" select="$entry.colnum"/>
+      <xsl:with-param name="attribute" select="'valign'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="align">
+    <xsl:call-template name="inherited.table.attribute">
+      <xsl:with-param name="entry" select="."/>
+      <xsl:with-param name="colnum" select="$entry.colnum"/>
+      <xsl:with-param name="attribute" select="'align'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="char">
+    <xsl:call-template name="inherited.table.attribute">
+      <xsl:with-param name="entry" select="."/>
+      <xsl:with-param name="colnum" select="$entry.colnum"/>
+      <xsl:with-param name="attribute" select="'char'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="charoff">
+    <xsl:call-template name="inherited.table.attribute">
+      <xsl:with-param name="entry" select="."/>
+      <xsl:with-param name="colnum" select="$entry.colnum"/>
+      <xsl:with-param name="attribute" select="'charoff'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$spans != '' and not(starts-with($spans,'0:'))">
+      <xsl:call-template name="entry">
+        <xsl:with-param name="col" select="$col+1"/>
+        <xsl:with-param name="spans" select="substring-after($spans,':')"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:when test="number($entry.colnum) &gt; $col">
+      <xsl:call-template name="empty.table.cell"/>
+      <xsl:call-template name="entry">
+        <xsl:with-param name="col" select="$col+1"/>
+        <xsl:with-param name="spans" select="substring-after($spans,':')"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:variable name="bgcolor">
+        <xsl:if test="processing-instruction('dbhtml')">
+          <xsl:call-template name="dbhtml-attribute">
+            <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+            <xsl:with-param name="attribute" select="'bgcolor'"/>
+          </xsl:call-template>
+        </xsl:if>
+      </xsl:variable>
+
+      <xsl:element name="{$cellgi}">
+        <xsl:if test="$bgcolor != ''">
+          <xsl:attribute name="bgcolor">
+            <xsl:value-of select="$bgcolor"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$entry.propagates.style != 0 and @role">
+          <xsl:apply-templates select="." mode="class.attribute">
+            <xsl:with-param name="class" select="@role"/>
+          </xsl:apply-templates>
+        </xsl:if>
+
+        <xsl:if test="$show.revisionflag and @revisionflag">
+          <xsl:attribute name="class">
+            <xsl:value-of select="@revisionflag"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$table.borders.with.css != 0">
+          <xsl:attribute name="style">
+            <xsl:if test="$colsep &gt; 0">
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'right'"/>
+              </xsl:call-template>
+            </xsl:if>
+            <xsl:if test="$rowsep &gt; 0">
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'bottom'"/>
+              </xsl:call-template>
+            </xsl:if>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="@morerows &gt; 0">
+          <xsl:attribute name="rowspan">
+            <xsl:value-of select="1+ at morerows"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$entry.colspan &gt; 1">
+          <xsl:attribute name="colspan">
+            <xsl:value-of select="$entry.colspan"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$align != ''">
+          <xsl:attribute name="align">
+            <xsl:value-of select="$align"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$valign != ''">
+          <xsl:attribute name="valign">
+            <xsl:value-of select="$valign"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$char != ''">
+          <xsl:attribute name="char">
+            <xsl:value-of select="$char"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$charoff != ''">
+          <xsl:attribute name="charoff">
+            <xsl:value-of select="$charoff"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="not(preceding-sibling::*) and 
+                    (ancestor::row[1]/@id or ancestor::row[1]/@xml:id)">
+          <xsl:call-template name="anchor">
+            <xsl:with-param name="node" select="ancestor::row[1]"/>
+          </xsl:call-template>
+        </xsl:if>
+
+        <xsl:call-template name="anchor"/>
+
+        <xsl:choose>
+          <xsl:when test="$empty.cell">
+            <xsl:text>&#160;</xsl:text>
+          </xsl:when>
+          <xsl:when test="self::entrytbl">
+            <xsl:call-template name="tgroup"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:element>
+
+      <xsl:choose>
+        <xsl:when test="following-sibling::entry|following-sibling::entrytbl">
+          <xsl:apply-templates select="(following-sibling::entry
+                                       |following-sibling::entrytbl)[1]">
+            <xsl:with-param name="col" select="$col+$entry.colspan"/>
+            <xsl:with-param name="spans" select="$following.spans"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="finaltd">
+            <xsl:with-param name="spans" select="$following.spans"/>
+            <xsl:with-param name="col" select="$col+$entry.colspan"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="entry|entrytbl" name="sentry" mode="span">
+  <xsl:param name="col" select="1"/>
+  <xsl:param name="spans"/>
+
+  <xsl:variable name="entry.colnum">
+    <xsl:call-template name="entry.colnum"/>
+  </xsl:variable>
+
+  <xsl:variable name="entry.colspan">
+    <xsl:choose>
+      <xsl:when test="@spanname or @namest">
+        <xsl:call-template name="calculate.colspan"/>
+      </xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="following.spans">
+    <xsl:call-template name="calculate.following.spans">
+      <xsl:with-param name="colspan" select="$entry.colspan"/>
+      <xsl:with-param name="spans" select="$spans"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$spans != '' and not(starts-with($spans,'0:'))">
+      <xsl:value-of select="substring-before($spans,':')-1"/>
+      <xsl:text>:</xsl:text>
+      <xsl:call-template name="sentry">
+        <xsl:with-param name="col" select="$col+1"/>
+        <xsl:with-param name="spans" select="substring-after($spans,':')"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:when test="number($entry.colnum) &gt; $col">
+      <xsl:text>0:</xsl:text>
+      <xsl:call-template name="sentry">
+        <xsl:with-param name="col" select="$col+$entry.colspan"/>
+        <xsl:with-param name="spans" select="$following.spans"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:call-template name="copy-string">
+        <xsl:with-param name="count" select="$entry.colspan"/>
+        <xsl:with-param name="string">
+          <xsl:choose>
+            <xsl:when test="@morerows">
+              <xsl:value-of select="@morerows"/>
+            </xsl:when>
+            <xsl:otherwise>0</xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>:</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+
+      <xsl:choose>
+        <xsl:when test="following-sibling::entry|following-sibling::entrytbl">
+          <xsl:apply-templates select="(following-sibling::entry
+                                        |following-sibling::entrytbl)[1]"
+                               mode="span">
+            <xsl:with-param name="col" select="$col+$entry.colspan"/>
+            <xsl:with-param name="spans" select="$following.spans"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="sfinaltd">
+            <xsl:with-param name="spans" select="$following.spans"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="generate.colgroup">
+  <xsl:param name="cols" select="1"/>
+  <xsl:param name="count" select="1"/>
+  <xsl:choose>
+    <xsl:when test="$count &gt; $cols"></xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="generate.col">
+        <xsl:with-param name="countcol" select="$count"/>
+      </xsl:call-template>
+      <xsl:call-template name="generate.colgroup">
+        <xsl:with-param name="cols" select="$cols"/>
+        <xsl:with-param name="count" select="$count+1"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="generate.col">
+  <xsl:param name="countcol">1</xsl:param>
+  <xsl:param name="colspecs" select="./colspec"/>
+  <xsl:param name="count">1</xsl:param>
+  <xsl:param name="colnum">1</xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$count>count($colspecs)">
+      <col/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="colspec" select="$colspecs[$count=position()]"/>
+      <xsl:variable name="colspec.colnum">
+        <xsl:choose>
+          <xsl:when test="$colspec/@colnum">
+            <xsl:value-of select="$colspec/@colnum"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$colnum"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$colspec.colnum=$countcol">
+          <col>
+            <xsl:if test="$colspec/@colwidth
+                          and $use.extensions != 0
+                          and $tablecolumns.extension != 0">
+              <xsl:attribute name="width">
+	        <xsl:choose>
+		  <xsl:when test="normalize-space($colspec/@colwidth) = '*'">
+                    <xsl:value-of select="'1*'"/>
+		  </xsl:when>
+		  <xsl:otherwise>
+                    <xsl:value-of select="$colspec/@colwidth"/>
+		  </xsl:otherwise>
+		</xsl:choose>
+              </xsl:attribute>
+            </xsl:if>
+
+            <xsl:choose>
+              <xsl:when test="$colspec/@align">
+                <xsl:attribute name="align">
+                  <xsl:value-of select="$colspec/@align"/>
+                </xsl:attribute>
+              </xsl:when>
+              <!-- Suggested by Pavel ZAMPACH <zampach at nemcb.cz> -->
+              <xsl:when test="$colspecs/ancestor::tgroup/@align">
+                <xsl:attribute name="align">
+                  <xsl:value-of select="$colspecs/ancestor::tgroup/@align"/>
+                </xsl:attribute>
+              </xsl:when>
+            </xsl:choose>
+
+            <xsl:if test="$colspec/@char">
+              <xsl:attribute name="char">
+                <xsl:value-of select="$colspec/@char"/>
+              </xsl:attribute>
+            </xsl:if>
+            <xsl:if test="$colspec/@charoff">
+              <xsl:attribute name="charoff">
+                <xsl:value-of select="$colspec/@charoff"/>
+              </xsl:attribute>
+            </xsl:if>
+          </col>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="generate.col">
+            <xsl:with-param name="countcol" select="$countcol"/>
+            <xsl:with-param name="colspecs" select="$colspecs"/>
+            <xsl:with-param name="count" select="$count+1"/>
+            <xsl:with-param name="colnum">
+              <xsl:choose>
+                <xsl:when test="$colspec/@colnum">
+                  <xsl:value-of select="$colspec/@colnum + 1"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="$colnum + 1"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+           </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="colspec.colwidth">
+  <!-- when this macro is called, the current context must be an entry -->
+  <xsl:param name="colname"></xsl:param>
+  <!-- .. = row, ../.. = thead|tbody, ../../.. = tgroup -->
+  <xsl:param name="colspecs" select="../../../../tgroup/colspec"/>
+  <xsl:param name="count">1</xsl:param>
+  <xsl:choose>
+    <xsl:when test="$count>count($colspecs)"></xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="colspec" select="$colspecs[$count=position()]"/>
+      <xsl:choose>
+        <xsl:when test="$colspec/@colname=$colname">
+          <xsl:value-of select="$colspec/@colwidth"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="colspec.colwidth">
+            <xsl:with-param name="colname" select="$colname"/>
+            <xsl:with-param name="colspecs" select="$colspecs"/>
+            <xsl:with-param name="count" select="$count+1"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="tr.attributes">
+  <xsl:param name="row" select="."/>
+  <xsl:param name="rownum" select="0"/>
+
+  <!-- by default, do nothing. But you might want to say:
+
+  <xsl:if test="$rownum mod 2 = 0">
+    <xsl:attribute name="class">oddrow</xsl:attribute>
+  </xsl:if>
+
+  -->
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/html/task.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/task.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/task.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,76 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<!-- ********************************************************************
+     $Id: task.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="task">
+  <xsl:variable name="param.placement"
+                select="substring-after(normalize-space($formal.title.placement),
+                                        concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="preamble"
+                select="*[not(self::title
+                              or self::titleabbrev)]"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:if test="title and $placement = 'before'">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="$preamble"/>
+
+    <xsl:if test="title and $placement != 'before'">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="task/title">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="tasksummary">
+  <xsl:call-template name="semiformal.object"/>
+</xsl:template>
+
+<xsl:template match="tasksummary/title"/>
+
+<xsl:template match="taskprerequisites">
+  <xsl:call-template name="semiformal.object"/>
+</xsl:template>
+
+<xsl:template match="taskprerequisites/title"/>
+
+<xsl:template match="taskrelated">
+  <xsl:call-template name="semiformal.object"/>
+</xsl:template>
+
+<xsl:template match="taskrelated/title"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/titlepage.templates.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/html/titlepage.templates.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/titlepage.templates.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,662 @@
+<t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
+	     xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
+             xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="article" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+    <hr/>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="set" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+    <hr/>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="book" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+    <hr/>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="part" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title
+	   t:force="1"
+	   t:named-template="division.title"
+	   param:node="ancestor-or-self::part[1]"/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="partintro" t:wrapper="div">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="reference" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+    <hr/>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="refentry" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+<!-- uncomment this if you want refentry titlepages
+    <title t:force="1"
+	   t:named-template="refentry.title"
+	   param:node="ancestor-or-self::refentry[1]"/>
+-->
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator/>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+  <t:titlepage t:element="dedication" t:wrapper="div" class="titlepage">
+    <t:titlepage-content t:side="recto">
+    <title
+	   t:force="1"
+	   t:named-template="component.title"
+	   param:node="ancestor-or-self::dedication[1]"/>
+    <subtitle/>
+    </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="preface" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="chapter" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="appendix" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="section" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="sect1" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="sect2" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="sect3" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="sect4" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="sect5" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<t:titlepage t:element="simplesect" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title/>
+    <subtitle/>
+    <corpauthor/>
+    <authorgroup/>
+    <author/>
+    <othercredit/>
+    <releaseinfo/>
+    <copyright/>
+    <legalnotice/>
+    <pubdate/>
+    <revision/>
+    <revhistory/>
+    <abstract/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+    <xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="bibliography" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title
+	   t:force="1"
+	   t:named-template="component.title"
+	   param:node="ancestor-or-self::bibliography[1]"/>
+    <subtitle/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="glossary" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title
+	   t:force="1"
+	   t:named-template="component.title"
+	   param:node="ancestor-or-self::glossary[1]"/>
+    <subtitle/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="index" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title
+	   t:force="1"
+	   t:named-template="component.title"
+	   param:node="ancestor-or-self::index[1]"/>
+    <subtitle/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="setindex" t:wrapper="div" class="titlepage">
+  <t:titlepage-content t:side="recto">
+    <title
+	   t:force="1"
+	   t:named-template="component.title"
+	   param:node="ancestor-or-self::setindex[1]"/>
+    <subtitle/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+<!-- ==================================================================== -->
+
+</t:templates>

Added: trunk/docs/docbook/src/main/resources/html/titlepage.templates.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/titlepage.templates.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/titlepage.templates.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,3620 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl">
+
+<!-- This stylesheet was created by template/titlepage.xsl; do not edit it by hand. -->
+
+<xsl:template name="article.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="articleinfo/title">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/>
+    </xsl:when>
+    <xsl:when test="artheader/title">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="articleinfo/subtitle">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="artheader/subtitle">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="article.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="article.titlepage.separator"><hr/>
+</xsl:template>
+
+<xsl:template name="article.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="article.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="article.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="article.titlepage.before.recto"/>
+      <xsl:call-template name="article.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="article.titlepage.before.verso"/>
+      <xsl:call-template name="article.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="article.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="article.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="article.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="set.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="setinfo/title">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="setinfo/subtitle">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="set.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="set.titlepage.separator"><hr/>
+</xsl:template>
+
+<xsl:template name="set.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="set.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="set.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="set.titlepage.before.recto"/>
+      <xsl:call-template name="set.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="set.titlepage.before.verso"/>
+      <xsl:call-template name="set.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="set.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="set.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="set.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="book.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="bookinfo/title">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="bookinfo/subtitle">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/othercredit"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="book.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="book.titlepage.separator"><hr/>
+</xsl:template>
+
+<xsl:template name="book.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="book.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="book.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="book.titlepage.before.recto"/>
+      <xsl:call-template name="book.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="book.titlepage.before.verso"/>
+      <xsl:call-template name="book.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="book.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="book.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="book.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="part.titlepage.recto">
+  <div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:call-template name="division.title">
+<xsl:with-param name="node" select="ancestor-or-self::part[1]"/>
+</xsl:call-template></div>
+  <xsl:choose>
+    <xsl:when test="partinfo/subtitle">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/corpauthor"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/authorgroup"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/author"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/othercredit"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/releaseinfo"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/copyright"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/legalnotice"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/pubdate"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revision"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revhistory"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/abstract"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="part.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="part.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="part.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="part.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="part.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="part.titlepage.before.recto"/>
+      <xsl:call-template name="part.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="part.titlepage.before.verso"/>
+      <xsl:call-template name="part.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="part.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="part.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="part.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="partintroinfo/title">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="partintroinfo/subtitle">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="partintro.titlepage">
+  <div>
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="partintro.titlepage.before.recto"/>
+      <xsl:call-template name="partintro.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="partintro.titlepage.before.verso"/>
+      <xsl:call-template name="partintro.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="partintro.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="partintro.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="partintro.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="reference.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="referenceinfo/title">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="referenceinfo/subtitle">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="reference.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="reference.titlepage.separator"><hr/>
+</xsl:template>
+
+<xsl:template name="reference.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="reference.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="reference.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="reference.titlepage.before.recto"/>
+      <xsl:call-template name="reference.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="reference.titlepage.before.verso"/>
+      <xsl:call-template name="reference.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="reference.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="reference.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="reference.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="refentry.titlepage.recto">
+</xsl:template>
+
+<xsl:template name="refentry.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="refentry.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="refentry.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="refentry.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="refentry.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="refentry.titlepage.before.recto"/>
+      <xsl:call-template name="refentry.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="refentry.titlepage.before.verso"/>
+      <xsl:call-template name="refentry.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="refentry.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="refentry.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="refentry.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.recto">
+  <div xsl:use-attribute-sets="dedication.titlepage.recto.style">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/>
+</xsl:call-template></div>
+  <xsl:choose>
+    <xsl:when test="dedicationinfo/subtitle">
+      <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="dedication.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="dedication.titlepage.before.recto"/>
+      <xsl:call-template name="dedication.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="dedication.titlepage.before.verso"/>
+      <xsl:call-template name="dedication.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="dedication.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="dedication.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="dedication.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="dedication.titlepage.recto.style">
+<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="preface.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="prefaceinfo/title">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="prefaceinfo/subtitle">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="preface.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="preface.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="preface.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="preface.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="preface.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="preface.titlepage.before.recto"/>
+      <xsl:call-template name="preface.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="preface.titlepage.before.verso"/>
+      <xsl:call-template name="preface.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="preface.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="preface.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="preface.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="chapterinfo/title">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="chapterinfo/subtitle">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="chapter.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="chapter.titlepage.before.recto"/>
+      <xsl:call-template name="chapter.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="chapter.titlepage.before.verso"/>
+      <xsl:call-template name="chapter.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="chapter.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="chapter.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="chapter.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="appendixinfo/title">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="appendixinfo/subtitle">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="appendix.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="appendix.titlepage.before.recto"/>
+      <xsl:call-template name="appendix.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="appendix.titlepage.before.verso"/>
+      <xsl:call-template name="appendix.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="appendix.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="appendix.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="appendix.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="section.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sectioninfo/title">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sectioninfo/subtitle">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="section.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="section.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="section.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="section.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="section.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="section.titlepage.before.recto"/>
+      <xsl:call-template name="section.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="section.titlepage.before.verso"/>
+      <xsl:call-template name="section.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="section.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="section.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="section.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect1info/title">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect1info/subtitle">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect1.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect1.titlepage.before.recto"/>
+      <xsl:call-template name="sect1.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect1.titlepage.before.verso"/>
+      <xsl:call-template name="sect1.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="sect1.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="sect1.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect1.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect2info/title">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect2info/subtitle">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect2.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect2.titlepage.before.recto"/>
+      <xsl:call-template name="sect2.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect2.titlepage.before.verso"/>
+      <xsl:call-template name="sect2.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="sect2.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="sect2.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect2.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect3info/title">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect3info/subtitle">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect3.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect3.titlepage.before.recto"/>
+      <xsl:call-template name="sect3.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect3.titlepage.before.verso"/>
+      <xsl:call-template name="sect3.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="sect3.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="sect3.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect3.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect4info/title">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect4info/subtitle">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect4.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect4.titlepage.before.recto"/>
+      <xsl:call-template name="sect4.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect4.titlepage.before.verso"/>
+      <xsl:call-template name="sect4.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="sect4.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="sect4.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect4.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect5info/title">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect5info/subtitle">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect5.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect5.titlepage.before.recto"/>
+      <xsl:call-template name="sect5.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect5.titlepage.before.verso"/>
+      <xsl:call-template name="sect5.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="sect5.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="sect5.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect5.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="simplesectinfo/title">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="simplesectinfo/subtitle">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="simplesect.titlepage.before.recto"/>
+      <xsl:call-template name="simplesect.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="simplesect.titlepage.before.verso"/>
+      <xsl:call-template name="simplesect.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="simplesect.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="simplesect.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="simplesect.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.recto">
+  <div xsl:use-attribute-sets="bibliography.titlepage.recto.style">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/>
+</xsl:call-template></div>
+  <xsl:choose>
+    <xsl:when test="bibliographyinfo/subtitle">
+      <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="bibliography.titlepage.before.recto"/>
+      <xsl:call-template name="bibliography.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="bibliography.titlepage.before.verso"/>
+      <xsl:call-template name="bibliography.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="bibliography.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="bibliography.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="bibliography.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="bibliography.titlepage.recto.style">
+<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.recto">
+  <div xsl:use-attribute-sets="glossary.titlepage.recto.style">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/>
+</xsl:call-template></div>
+  <xsl:choose>
+    <xsl:when test="glossaryinfo/subtitle">
+      <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="glossary.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="glossary.titlepage.before.recto"/>
+      <xsl:call-template name="glossary.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="glossary.titlepage.before.verso"/>
+      <xsl:call-template name="glossary.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="glossary.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="glossary.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="glossary.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="glossary.titlepage.recto.style">
+<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="index.titlepage.recto">
+  <div xsl:use-attribute-sets="index.titlepage.recto.style">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::index[1]"/>
+</xsl:call-template></div>
+  <xsl:choose>
+    <xsl:when test="indexinfo/subtitle">
+      <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="index.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="index.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="index.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="index.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="index.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="index.titlepage.before.recto"/>
+      <xsl:call-template name="index.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="index.titlepage.before.verso"/>
+      <xsl:call-template name="index.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="index.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="index.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="index.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="index.titlepage.recto.style">
+<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.recto">
+  <div xsl:use-attribute-sets="setindex.titlepage.recto.style">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/>
+</xsl:call-template></div>
+  <xsl:choose>
+    <xsl:when test="setindexinfo/subtitle">
+      <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="setindex.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="setindex.titlepage.before.recto"/>
+      <xsl:call-template name="setindex.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="setindex.titlepage.before.verso"/>
+      <xsl:call-template name="setindex.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="setindex.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="setindex.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="setindex.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="setindex.titlepage.recto.style">
+<xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/titlepage.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/titlepage.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/titlepage.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,966 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: titlepage.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:attribute-set name="book.titlepage.recto.style"/>
+<xsl:attribute-set name="book.titlepage.verso.style"/>
+
+<xsl:attribute-set name="article.titlepage.recto.style"/>
+<xsl:attribute-set name="article.titlepage.verso.style"/>
+
+<xsl:attribute-set name="set.titlepage.recto.style"/>
+<xsl:attribute-set name="set.titlepage.verso.style"/>
+
+<xsl:attribute-set name="part.titlepage.recto.style"/>
+<xsl:attribute-set name="part.titlepage.verso.style"/>
+
+<xsl:attribute-set name="partintro.titlepage.recto.style"/>
+<xsl:attribute-set name="partintro.titlepage.verso.style"/>
+
+<xsl:attribute-set name="reference.titlepage.recto.style"/>
+<xsl:attribute-set name="reference.titlepage.verso.style"/>
+
+<xsl:attribute-set name="refentry.titlepage.recto.style"/>
+<xsl:attribute-set name="refentry.titlepage.verso.style"/>
+
+<xsl:attribute-set name="dedication.titlepage.recto.style"/>
+<xsl:attribute-set name="dedication.titlepage.verso.style"/>
+
+<xsl:attribute-set name="preface.titlepage.recto.style"/>
+<xsl:attribute-set name="preface.titlepage.verso.style"/>
+
+<xsl:attribute-set name="chapter.titlepage.recto.style"/>
+<xsl:attribute-set name="chapter.titlepage.verso.style"/>
+
+<xsl:attribute-set name="appendix.titlepage.recto.style"/>
+<xsl:attribute-set name="appendix.titlepage.verso.style"/>
+
+<xsl:attribute-set name="bibliography.titlepage.recto.style"/>
+<xsl:attribute-set name="bibliography.titlepage.verso.style"/>
+
+<xsl:attribute-set name="glossary.titlepage.recto.style"/>
+<xsl:attribute-set name="glossary.titlepage.verso.style"/>
+
+<xsl:attribute-set name="index.titlepage.recto.style"/>
+<xsl:attribute-set name="index.titlepage.verso.style"/>
+
+<xsl:attribute-set name="setindex.titlepage.recto.style"/>
+<xsl:attribute-set name="setindex.titlepage.verso.style"/>
+
+<xsl:attribute-set name="section.titlepage.recto.style"/>
+<xsl:attribute-set name="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect1.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect1.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect2.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect2.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect3.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect3.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect4.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect4.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect5.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect5.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="simplesect.titlepage.recto.style"
+                   use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="simplesect.titlepage.verso.style"
+                   use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="table.of.contents.titlepage.recto.style"/>
+<xsl:attribute-set name="table.of.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.tables.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.figures.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.equations.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.examples.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="titlepage.mode">
+  <!-- if an element isn't found in this mode, try the default mode -->
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="abbrev" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="abstract" mode="titlepage.mode">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="formal.object.heading">
+      <xsl:with-param name="title">
+        <xsl:apply-templates select="." mode="title.markup"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="abstract/title" mode="titlepage.mode">
+</xsl:template>
+
+<xsl:template match="address" mode="titlepage.mode">
+  <xsl:param name="suppress-numbers" select="'0'"/>
+
+  <xsl:variable name="rtf">
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$suppress-numbers = '0'
+                    and @linenumbering = 'numbered'
+                    and $use.extensions != '0'
+                    and $linenumbering.extension != '0'">
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:call-template name="paragraph">
+          <xsl:with-param name="content">
+            <xsl:call-template name="number.rtf.lines">
+              <xsl:with-param name="rtf" select="$rtf"/>
+            </xsl:call-template>
+          </xsl:with-param>
+        </xsl:call-template>
+      </div>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:call-template name="paragraph">
+          <xsl:with-param name="content">
+            <xsl:call-template name="make-verbatim">
+              <xsl:with-param name="rtf" select="$rtf"/>
+            </xsl:call-template>
+          </xsl:with-param>
+        </xsl:call-template>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="affiliation" mode="titlepage.mode">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="artpagenums" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="author|editor" mode="titlepage.mode">
+  <xsl:call-template name="credits.div"/>
+</xsl:template>
+
+<xsl:template name="credits.div">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="self::editor[position()=1] and not($editedby.enabled = 0)">
+      <h4 class="editedby"><xsl:call-template name="gentext.edited.by"/></h4>
+    </xsl:if>
+    <h3>
+      <xsl:apply-templates select="." mode="class.attribute"/>
+      <xsl:call-template name="person.name"/>
+    </h3>
+    <xsl:if test="not($contrib.inline.enabled = 0)">
+      <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
+    </xsl:if>
+    <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+    <xsl:apply-templates mode="titlepage.mode" select="./email"/>
+    <xsl:if test="not($blurb.on.titlepage.enabled = 0)">
+      <xsl:choose>
+        <xsl:when test="$contrib.inline.enabled = 0">
+          <xsl:apply-templates mode="titlepage.mode"
+                               select="./contrib|./authorblurb|./personblurb"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates mode="titlepage.mode"
+                               select="./authorblurb|./personblurb"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="authorblurb|personblurb" mode="titlepage.mode">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="titlepage.mode">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="authorinitials" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliomisc" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="bibliomset" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="collab" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="collabname" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confgroup" mode="titlepage.mode">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="confdates" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confsponsor" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="conftitle" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confnum" mode="titlepage.mode">
+  <!-- suppress -->
+</xsl:template>
+
+<xsl:template match="contractnum" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contractsponsor" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contrib" mode="titlepage.mode">
+  <xsl:choose>
+    <xsl:when test="not($contrib.inline.enabled = 0)">
+      <span>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates mode="titlepage.mode"/>
+      </span>
+    </xsl:when>
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <p><xsl:apply-templates mode="titlepage.mode"/></p>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="copyright" mode="titlepage.mode">
+  <p>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'Copyright'"/>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">copyright</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="copyright.years">
+      <xsl:with-param name="years" select="year"/>
+      <xsl:with-param name="print.ranges" select="$make.year.ranges"/>
+      <xsl:with-param name="single.year.ranges"
+                      select="$make.single.year.ranges"/>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="holder" mode="titlepage.mode"/>
+  </p>
+</xsl:template>
+
+<xsl:template match="year" mode="titlepage.mode">
+  <xsl:choose>
+    <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+      <span class="{@revisionflag}">
+        <xsl:apply-templates mode="titlepage.mode"/>
+      </span>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="titlepage.mode"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="holder" mode="titlepage.mode">
+  <xsl:choose>
+    <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+      <span class="{@revisionflag}">
+        <xsl:apply-templates mode="titlepage.mode"/>
+      </span>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="titlepage.mode"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:if test="position() &lt; last()">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="titlepage.mode">
+  <h3>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </h3>
+</xsl:template>
+
+<xsl:template match="corpcredit" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="corpname" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="date" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="edition" mode="titlepage.mode">
+  <p>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'Edition'"/>
+    </xsl:call-template>
+  </p>
+</xsl:template>
+
+<xsl:template match="email" mode="titlepage.mode">
+  <!-- use the normal e-mail handling code -->
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="firstname" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="graphic" mode="titlepage.mode">
+  <!-- use the normal graphic handling code -->
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="honorific" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="isbn" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="issn" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="biblioid" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="itermset" mode="titlepage.mode">
+</xsl:template>
+
+<xsl:template match="invpartnumber" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="issuenum" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="jobtitle" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="keywordset" mode="titlepage.mode">
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="titlepage.mode">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+  <xsl:choose>
+    <xsl:when test="$generate.legalnotice.link != 0">
+      <xsl:variable name="filename">
+        <xsl:call-template name="make-relative-filename">
+          <xsl:with-param name="base.dir" select="$base.dir"/>
+	  <xsl:with-param name="base.name">
+            <xsl:apply-templates mode="chunk-filename" select="."/>
+	  </xsl:with-param>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="title">
+        <xsl:apply-templates select="." mode="title.markup"/>
+      </xsl:variable>
+
+      <xsl:variable name="href">
+        <xsl:apply-templates mode="chunk-filename" select="."/>
+      </xsl:variable>
+
+      <a href="{$href}">
+        <xsl:copy-of select="$title"/>
+      </a>
+
+      <xsl:call-template name="write.chunk">
+        <xsl:with-param name="filename" select="$filename"/>
+        <xsl:with-param name="quiet" select="$chunk.quietly"/>
+        <xsl:with-param name="content">
+        <xsl:call-template name="user.preroot"/>
+          <html>
+            <head>
+              <xsl:call-template name="system.head.content"/>
+              <xsl:call-template name="head.content"/>
+              <xsl:call-template name="user.head.content"/>
+            </head>
+            <body>
+              <xsl:call-template name="body.attributes"/>
+              <div>
+                <xsl:apply-templates select="." mode="class.attribute"/>
+                <xsl:apply-templates mode="titlepage.mode"/>
+              </div>
+            </body>
+          </html>
+          <xsl:value-of select="$chunk.append"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <a name="{$id}"/>
+        <xsl:apply-templates mode="titlepage.mode"/>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="legalnotice/title" mode="titlepage.mode">
+  <p class="legalnotice-title"><b><xsl:apply-templates/></b></p>
+</xsl:template>
+
+<xsl:template match="lineage" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modespec" mode="titlepage.mode">
+</xsl:template>
+
+<xsl:template match="orgdiv" mode="titlepage.mode">
+  <xsl:if test="preceding-sibling::*[1][self::orgname]">
+    <xsl:text> </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="orgname" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="titlepage.mode">
+<xsl:choose>
+  <xsl:when test="not($othercredit.like.author.enabled = 0)">
+  <xsl:variable name="contrib" select="string(contrib)"/>
+  <xsl:choose>
+    <xsl:when test="contrib">
+      <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])">
+        <xsl:call-template name="paragraph">
+          <xsl:with-param name="class" select="local-name(.)"/>
+          <xsl:with-param name="content">
+            <xsl:apply-templates mode="titlepage.mode" select="contrib"/>
+            <xsl:text>: </xsl:text>
+            <xsl:call-template name="person.name"/>
+            <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+            <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="paragraph">
+        <xsl:with-param name="class" select="local-name(.)"/>
+        <xsl:with-param name="content">
+          <xsl:call-template name="person.name"/>
+        </xsl:with-param>
+      </xsl:call-template>
+      <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  </xsl:when>
+  <xsl:otherwise>
+    <xsl:call-template name="credits.div"/>
+  </xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="titlepage.othercredits">
+  <xsl:text>, </xsl:text>
+  <xsl:call-template name="person.name"/>
+</xsl:template>
+
+<xsl:template match="othername" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pagenums" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="printhistory" mode="titlepage.mode">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="productname" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="productnumber" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="titlepage.mode">
+  <xsl:call-template name="paragraph">
+    <xsl:with-param name="class" select="local-name(.)"/>
+    <xsl:with-param name="content">
+      <xsl:apply-templates mode="titlepage.mode"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="publisher" mode="titlepage.mode">
+  <xsl:call-template name="paragraph">
+    <xsl:with-param name="class" select="local-name(.)"/>
+    <xsl:with-param name="content">
+      <xsl:apply-templates mode="titlepage.mode"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="publishername" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pubsnumber" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="titlepage.mode">
+  <xsl:call-template name="paragraph">
+    <xsl:with-param name="class" select="local-name(.)"/>
+    <xsl:with-param name="content">
+      <xsl:apply-templates mode="titlepage.mode"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="titlepage.mode">
+  <xsl:variable name="numcols">
+    <xsl:choose>
+      <xsl:when test=".//authorinitials|.//author">3</xsl:when>
+      <xsl:otherwise>2</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:variable name="title">
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key">RevHistory</xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="contents">
+    <div>
+      <xsl:apply-templates select="." mode="class.attribute"/>
+      <table border="1" width="100%" summary="Revision history">
+        <tr>
+          <th align="left" valign="top" colspan="{$numcols}">
+            <b>
+              <xsl:call-template name="gentext">
+                <xsl:with-param name="key" select="'RevHistory'"/>
+              </xsl:call-template>
+            </b>
+          </th>
+        </tr>
+        <xsl:apply-templates mode="titlepage.mode">
+          <xsl:with-param name="numcols" select="$numcols"/>
+        </xsl:apply-templates>
+      </table>
+    </div>
+  </xsl:variable>
+  
+  <xsl:choose>
+    <xsl:when test="$generate.revhistory.link != 0">
+      <xsl:variable name="filename">
+        <xsl:call-template name="make-relative-filename">
+          <xsl:with-param name="base.dir" select="$base.dir"/>
+          <xsl:with-param name="base.name" select="concat($id,$html.ext)"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <a href="{concat($id,$html.ext)}">
+        <xsl:copy-of select="$title"/>
+      </a>
+
+      <xsl:call-template name="write.chunk">
+        <xsl:with-param name="filename" select="$filename"/>
+        <xsl:with-param name="quiet" select="$chunk.quietly"/>
+        <xsl:with-param name="content">
+        <xsl:call-template name="user.preroot"/>
+          <html>
+            <head>
+              <xsl:call-template name="system.head.content"/>
+              <xsl:call-template name="head.content">
+                <xsl:with-param name="title">
+                    <xsl:value-of select="$title"/>
+                    <xsl:if test="../../title">
+                        <xsl:value-of select="concat(' (', ../../title, ')')"/>
+                    </xsl:if>
+                </xsl:with-param>
+              </xsl:call-template>
+              <xsl:call-template name="user.head.content"/>
+            </head>
+            <body>
+              <xsl:call-template name="body.attributes"/>
+              <xsl:copy-of select="$contents"/>
+            </body>
+          </html>
+          <xsl:text>&#x0a;</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$contents"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="revhistory/revision" mode="titlepage.mode">
+  <xsl:param name="numcols" select="'3'"/>
+  <xsl:variable name="revnumber" select="revnumber"/>
+  <xsl:variable name="revdate"   select="date"/>
+  <xsl:variable name="revauthor" select="authorinitials|author"/>
+  <xsl:variable name="revremark" select="revremark|revdescription"/>
+  <tr>
+    <td align="left">
+      <xsl:if test="$revnumber">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'Revision'"/>
+        </xsl:call-template>
+        <xsl:call-template name="gentext.space"/>
+        <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/>
+      </xsl:if>
+    </td>
+    <td align="left">
+      <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/>
+    </td>
+    <xsl:choose>
+      <xsl:when test="$revauthor">
+        <td align="left">
+          <xsl:for-each select="$revauthor">
+            <xsl:apply-templates select="." mode="titlepage.mode"/>
+            <xsl:if test="position() != last()">
+	      <xsl:text>, </xsl:text>
+	    </xsl:if>
+	  </xsl:for-each>
+        </td>
+      </xsl:when>
+      <xsl:when test="$numcols &gt; 2">
+        <td>&#160;</td>
+      </xsl:when>
+      <xsl:otherwise></xsl:otherwise>
+    </xsl:choose>
+  </tr>
+  <xsl:if test="$revremark">
+    <tr>
+      <td align="left" colspan="{$numcols}">
+        <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/>
+      </td>
+    </tr>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="revision/revnumber" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/date" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/authorinitials" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/author" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/revremark" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/revdescription" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="seriesvolnums" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="shortaffil" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="subjectset" mode="titlepage.mode">
+</xsl:template>
+
+<xsl:template match="subtitle" mode="titlepage.mode">
+  <h2>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </h2>
+</xsl:template>
+
+<xsl:template match="surname" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="title" mode="titlepage.mode">
+  <xsl:variable name="id">
+    <xsl:choose>
+      <!-- if title is in an *info wrapper, get the grandparent -->
+      <xsl:when test="contains(local-name(..), 'info')">
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select="../.."/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select=".."/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <h1>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <a name="{$id}"/>
+    <xsl:choose>
+      <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+	<span class="{@revisionflag}">
+	  <xsl:apply-templates mode="titlepage.mode"/>
+	</span>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:apply-templates mode="titlepage.mode"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </h1>
+</xsl:template>
+
+<xsl:template match="titleabbrev" mode="titlepage.mode">
+  <!-- nop; title abbreviations don't belong on the title page! -->
+</xsl:template>
+
+<xsl:template match="volumenum" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/toc.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/toc.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/toc.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,173 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: toc.xsl 1243 2002-03-14 18:43:42Z nwalsh $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="toc">
+  <xsl:choose>
+    <xsl:when test="*">
+      <xsl:if test="$process.source.toc != 0">
+        <!-- if the toc isn't empty, process it -->
+        <xsl:element name="{$toc.list.type}">
+          <xsl:apply-templates/>
+        </xsl:element>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$process.empty.source.toc != 0">
+        <xsl:choose>
+          <xsl:when test="parent::section
+                          or parent::sect1
+                          or parent::sect2
+                          or parent::sect3
+                          or parent::sect4
+                          or parent::sect5">
+            <xsl:apply-templates select="parent::*"
+                                 mode="toc.for.section"/>
+          </xsl:when>
+          <xsl:when test="parent::article">
+            <xsl:apply-templates select="parent::*"
+                                 mode="toc.for.component"/>
+          </xsl:when>
+          <xsl:when test="parent::book
+                          or parent::part">
+            <xsl:apply-templates select="parent::*"
+                                 mode="toc.for.division"/>
+          </xsl:when>
+          <xsl:when test="parent::set">
+            <xsl:apply-templates select="parent::*"
+                                 mode="toc.for.set"/>
+          </xsl:when>
+          <!-- there aren't any other contexts that allow toc -->
+          <xsl:otherwise>
+            <xsl:message>
+              <xsl:text>I don't know how to make a TOC in this context!</xsl:text>
+            </xsl:message>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="tocpart|tocchap
+                     |toclevel1|toclevel2|toclevel3|toclevel4|toclevel5">
+  <xsl:variable name="sub-toc">
+    <xsl:if test="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5">
+      <xsl:choose>
+        <xsl:when test="$toc.list.type = 'dl'">
+          <dd>
+            <xsl:element name="{$toc.list.type}">
+              <xsl:apply-templates select="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/>
+            </xsl:element>
+          </dd>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:element name="{$toc.list.type}">
+            <xsl:apply-templates select="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/>
+          </xsl:element>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:apply-templates select="tocentry[position() != last()]"/>
+
+  <xsl:choose>
+    <xsl:when test="$toc.list.type = 'dl'">
+      <dt>
+        <xsl:apply-templates select="tocentry[position() = last()]"/>
+      </dt>
+      <xsl:copy-of select="$sub-toc"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <li>
+        <xsl:apply-templates select="tocentry[position() = last()]"/>
+        <xsl:copy-of select="$sub-toc"/>
+      </li>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="tocentry|tocfront|tocback">
+  <xsl:choose>
+    <xsl:when test="$toc.list.type = 'dl'">
+      <dt>
+        <xsl:call-template name="tocentry-content"/>
+      </dt>
+    </xsl:when>
+    <xsl:otherwise>
+      <li>
+        <xsl:call-template name="tocentry-content"/>
+      </li>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="tocentry[position() = last()]" priority="2">
+  <xsl:call-template name="tocentry-content"/>
+</xsl:template>
+
+<xsl:template name="tocentry-content">
+  <xsl:variable name="targets" select="key('id', at linkend)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:choose>
+    <xsl:when test="@linkend">
+      <xsl:call-template name="check.id.unique">
+        <xsl:with-param name="linkend" select="@linkend"/>
+      </xsl:call-template>
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:apply-templates/>
+      </a>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="toc.for.section">
+  <xsl:call-template name="section.toc"/>
+</xsl:template>
+
+<xsl:template match="*" mode="toc.for.component">
+  <xsl:call-template name="component.toc"/>
+</xsl:template>
+
+<xsl:template match="*" mode="toc.for.section">
+  <xsl:call-template name="section.toc"/>
+</xsl:template>
+
+<xsl:template match="*" mode="toc.for.division">
+  <xsl:call-template name="division.toc"/>
+</xsl:template>
+
+<xsl:template match="*" mode="toc.for.set">
+  <xsl:call-template name="set.toc"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="lot|lotentry">
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/verbatim.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/verbatim.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/verbatim.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,382 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim"
+                xmlns:xverb="xalan://com.nwalsh.xalan.Verbatim"
+                xmlns:lxslt="http://xml.apache.org/xslt"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="sverb xverb lxslt exsl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: verbatim.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:include href="../highlighting/common.xsl"/>
+<xsl:include href="highlight.xsl"/>
+
+<lxslt:component prefix="xverb"
+                 functions="numberLines"/>
+
+<xsl:template match="programlisting|screen|synopsis">
+  <xsl:param name="suppress-numbers" select="'0'"/>
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:call-template name="anchor"/>
+
+  <xsl:if test="$shade.verbatim != 0">
+    <xsl:message>
+      <xsl:text>The shade.verbatim parameter is deprecated. </xsl:text>
+      <xsl:text>Use CSS instead,</xsl:text>
+    </xsl:message>
+    <xsl:message>
+      <xsl:text>for example: pre.</xsl:text>
+      <xsl:value-of select="local-name(.)"/>
+      <xsl:text> { background-color: #E0E0E0; }</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="$suppress-numbers = '0'
+		    and @linenumbering = 'numbered'
+		    and $use.extensions != '0'
+		    and $linenumbering.extension != '0'">
+      <xsl:variable name="rtf">
+	<xsl:call-template name="apply-highlighting"/>
+      </xsl:variable>
+      <pre>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+	<xsl:call-template name="number.rtf.lines">
+	  <xsl:with-param name="rtf" select="$rtf"/>
+	</xsl:call-template>
+      </pre>
+    </xsl:when>
+    <xsl:otherwise>
+      <pre>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+	<xsl:call-template name="apply-highlighting"/>
+      </pre>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="literallayout">
+  <xsl:param name="suppress-numbers" select="'0'"/>
+
+  <xsl:variable name="rtf">
+    <xsl:apply-templates/>
+  </xsl:variable>
+
+  <xsl:if test="$shade.verbatim != 0 and @class='monospaced'">
+    <xsl:message>
+      <xsl:text>The shade.verbatim parameter is deprecated. </xsl:text>
+      <xsl:text>Use CSS instead,</xsl:text>
+    </xsl:message>
+    <xsl:message>
+      <xsl:text>for example: pre.</xsl:text>
+      <xsl:value-of select="local-name(.)"/>
+      <xsl:text> { background-color: #E0E0E0; }</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="$suppress-numbers = '0'
+		    and @linenumbering = 'numbered'
+		    and $use.extensions != '0'
+		    and $linenumbering.extension != '0'">
+      <xsl:choose>
+	<xsl:when test="@class='monospaced'">
+          <pre>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+	    <xsl:call-template name="number.rtf.lines">
+	      <xsl:with-param name="rtf" select="$rtf"/>
+	    </xsl:call-template>
+	  </pre>
+	</xsl:when>
+	<xsl:otherwise>
+          <div>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+	    <p>
+	      <xsl:call-template name="number.rtf.lines">
+		<xsl:with-param name="rtf" select="$rtf"/>
+	      </xsl:call-template>
+	    </p>
+	  </div>
+	</xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+	<xsl:when test="@class='monospaced'">
+          <pre>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+	    <xsl:copy-of select="$rtf"/>
+	  </pre>
+	</xsl:when>
+	<xsl:otherwise>
+          <div>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+	    <p>
+	      <xsl:call-template name="make-verbatim">
+		<xsl:with-param name="rtf" select="$rtf"/>
+	      </xsl:call-template>
+	    </p>
+	  </div>
+	</xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="address">
+  <xsl:param name="suppress-numbers" select="'0'"/>
+
+  <xsl:variable name="rtf">
+    <xsl:apply-templates/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$suppress-numbers = '0'
+                    and @linenumbering = 'numbered'
+                    and $use.extensions != '0'
+                    and $linenumbering.extension != '0'">
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <p>
+          <xsl:call-template name="number.rtf.lines">
+            <xsl:with-param name="rtf" select="$rtf"/>
+          </xsl:call-template>
+        </p>
+      </div>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <p>
+          <xsl:call-template name="make-verbatim">
+            <xsl:with-param name="rtf" select="$rtf"/>
+          </xsl:call-template>
+        </p>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="number.rtf.lines">
+  <xsl:param name="rtf" select="''"/>
+  <xsl:param name="pi.context" select="."/>
+
+  <!-- Save the global values -->
+  <xsl:variable name="global.linenumbering.everyNth"
+                select="$linenumbering.everyNth"/>
+
+  <xsl:variable name="global.linenumbering.separator"
+                select="$linenumbering.separator"/>
+
+  <xsl:variable name="global.linenumbering.width"
+                select="$linenumbering.width"/>
+
+  <!-- Extract the <?dbhtml linenumbering.*?> PI values -->
+  <xsl:variable name="pi.linenumbering.everyNth">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="$pi.context/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'linenumbering.everyNth'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="pi.linenumbering.separator">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="$pi.context/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'linenumbering.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="pi.linenumbering.width">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis"
+                      select="$pi.context/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'linenumbering.width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <!-- Construct the 'in-context' values -->
+  <xsl:variable name="linenumbering.everyNth">
+    <xsl:choose>
+      <xsl:when test="$pi.linenumbering.everyNth != ''">
+        <xsl:value-of select="$pi.linenumbering.everyNth"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$global.linenumbering.everyNth"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="linenumbering.separator">
+    <xsl:choose>
+      <xsl:when test="$pi.linenumbering.separator != ''">
+        <xsl:value-of select="$pi.linenumbering.separator"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$global.linenumbering.separator"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="linenumbering.width">
+    <xsl:choose>
+      <xsl:when test="$pi.linenumbering.width != ''">
+        <xsl:value-of select="$pi.linenumbering.width"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$global.linenumbering.width"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="linenumbering.startinglinenumber">
+    <xsl:choose>
+      <xsl:when test="$pi.context/@startinglinenumber">
+        <xsl:value-of select="$pi.context/@startinglinenumber"/>
+      </xsl:when>
+      <xsl:when test="$pi.context/@continuation='continues'">
+        <xsl:variable name="lastLine">
+          <xsl:choose>
+            <xsl:when test="$pi.context/self::programlisting">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings"
+                     select="preceding::programlisting[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$pi.context/self::screen">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings"
+                     select="preceding::screen[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$pi.context/self::literallayout">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings"
+                     select="preceding::literallayout[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$pi.context/self::address">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings"
+                     select="preceding::address[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$pi.context/self::synopsis">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings"
+                     select="preceding::synopsis[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message>
+                <xsl:text>Unexpected verbatim environment: </xsl:text>
+                <xsl:value-of select="local-name($pi.context)"/>
+              </xsl:message>
+              <xsl:value-of select="0"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+
+        <xsl:value-of select="$lastLine + 1"/>
+      </xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('sverb:numberLines')">
+      <xsl:copy-of select="sverb:numberLines($rtf)"/>
+    </xsl:when>
+    <xsl:when test="function-available('xverb:numberLines')">
+      <xsl:copy-of select="xverb:numberLines($rtf)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message terminate="yes">
+        <xsl:text>No numberLines function available.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="make-verbatim">
+  <xsl:param name="rtf"/>
+
+  <!-- I want to make this RTF verbatim. There are two possibilities: either
+       I have access to the exsl:node-set extension function and I can "do it right"
+       or I have to rely on CSS. -->
+
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set')">
+      <xsl:apply-templates select="exsl:node-set($rtf)" mode="make.verbatim.mode"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <span style="white-space: pre;">
+        <xsl:copy-of select="$rtf"/>
+      </span>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ======================================================================== -->
+
+<xsl:template name="lastLineNumber">
+  <xsl:param name="listings"/>
+  <xsl:param name="number" select="0"/>
+
+  <xsl:variable name="lines">
+    <xsl:call-template name="countLines">
+      <xsl:with-param name="listing" select="string($listings[1])"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="not($listings)">
+      <xsl:value-of select="$number"/>
+    </xsl:when>
+    <xsl:when test="$listings[1]/@startinglinenumber">
+      <xsl:value-of select="$number + $listings[1]/@startinglinenumber + $lines - 1"/>
+    </xsl:when>
+    <xsl:when test="$listings[1]/@continuation='continues'">
+      <xsl:call-template name="lastLineNumber">
+        <xsl:with-param name="listings" select="listings[position() &gt; 1]"/>
+        <xsl:with-param name="number" select="$number + $lines"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$lines"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="countLines">
+  <xsl:param name="listing"/>
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($listing, '&#10;')">
+      <xsl:call-template name="countLines">
+        <xsl:with-param name="listing" select="substring-after($listing, '&#10;')"/>
+        <xsl:with-param name="count" select="$count + 1"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$count"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/html/xref.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/html/xref.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/html/xref.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1297 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:suwl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.UnwrapLinks"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:xlink='http://www.w3.org/1999/xlink'
+                exclude-result-prefixes="suwl exsl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: xref.xsl 6422 2006-11-17 08:22:56Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="anchor">
+  <xsl:call-template name="anchor"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="xref" name="xref">
+  <xsl:param name="xhref" select="@xlink:href"/>
+  <!-- is the @xlink:href a local idref link? -->
+  <xsl:param name="xlink.idref">
+    <xsl:if test="starts-with($xhref,'#')
+                  and (not(contains($xhref,'&#40;'))
+                  or starts-with($xhref, '#xpointer&#40;id&#40;'))">
+      <xsl:call-template name="xpointer.idref">
+        <xsl:with-param name="xpointer" select="$xhref"/>
+      </xsl:call-template>
+   </xsl:if>
+  </xsl:param>
+  <xsl:param name="xlink.targets" select="key('id',$xlink.idref)"/>
+  <xsl:param name="linkend.targets" select="key('id', at linkend)"/>
+  <xsl:param name="target" select="($xlink.targets | $linkend.targets)[1]"/>
+
+  <xsl:variable name="xrefstyle">
+    <xsl:choose>
+      <xsl:when test="@role and not(@xrefstyle) 
+                      and $use.role.as.xrefstyle != 0">
+        <xsl:value-of select="@role"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="@xrefstyle"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="anchor"/>
+
+  <xsl:variable name="content">
+    <xsl:choose>
+  
+      <xsl:when test="@endterm">
+        <xsl:variable name="etargets" select="key('id', at endterm)"/>
+        <xsl:variable name="etarget" select="$etargets[1]"/>
+        <xsl:choose>
+          <xsl:when test="count($etarget) = 0">
+            <xsl:message>
+              <xsl:value-of select="count($etargets)"/>
+              <xsl:text>Endterm points to nonexistent ID: </xsl:text>
+              <xsl:value-of select="@endterm"/>
+            </xsl:message>
+            <xsl:text>???</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="$etarget" mode="endterm"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+  
+      <xsl:when test="$target/@xreflabel">
+        <xsl:call-template name="xref.xreflabel">
+          <xsl:with-param name="target" select="$target"/>
+        </xsl:call-template>
+      </xsl:when>
+  
+      <xsl:when test="$target">
+        <xsl:if test="not(parent::citation)">
+          <xsl:apply-templates select="$target" mode="xref-to-prefix"/>
+        </xsl:if>
+  
+        <xsl:apply-templates select="$target" mode="xref-to">
+          <xsl:with-param name="referrer" select="."/>
+          <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+        </xsl:apply-templates>
+  
+        <xsl:if test="not(parent::citation)">
+          <xsl:apply-templates select="$target" mode="xref-to-suffix"/>
+        </xsl:if>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <xsl:message>
+          <xsl:text>ERROR: xref linking to </xsl:text>
+          <xsl:value-of select="@linkend|@xlink:href"/>
+          <xsl:text> has no generated link text.</xsl:text>
+        </xsl:message>
+        <xsl:text>???</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- biblioref handled largely like an xref -->
+<!-- To be done: add support for begin, end, and units attributes -->
+<xsl:template match="biblioref">
+  <xsl:variable name="targets" select="key('id', at linkend)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+  <xsl:variable name="refelem" select="local-name($target)"/>
+
+  <xsl:call-template name="check.id.unique">
+    <xsl:with-param name="linkend" select="@linkend"/>
+  </xsl:call-template>
+
+  <xsl:call-template name="anchor"/>
+
+  <xsl:choose>
+    <xsl:when test="count($target) = 0">
+      <xsl:message>
+        <xsl:text>XRef to nonexistent id: </xsl:text>
+        <xsl:value-of select="@linkend"/>
+      </xsl:message>
+      <xsl:text>???</xsl:text>
+    </xsl:when>
+
+    <xsl:when test="@endterm">
+      <xsl:variable name="href">
+        <xsl:call-template name="href.target">
+          <xsl:with-param name="object" select="$target"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="etargets" select="key('id', at endterm)"/>
+      <xsl:variable name="etarget" select="$etargets[1]"/>
+      <xsl:choose>
+        <xsl:when test="count($etarget) = 0">
+          <xsl:message>
+            <xsl:value-of select="count($etargets)"/>
+            <xsl:text>Endterm points to nonexistent ID: </xsl:text>
+            <xsl:value-of select="@endterm"/>
+          </xsl:message>
+          <a href="{$href}">
+            <xsl:text>???</xsl:text>
+          </a>
+        </xsl:when>
+        <xsl:otherwise>
+          <a href="{$href}">
+            <xsl:apply-templates select="$etarget" mode="endterm"/>
+          </a>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="$target/@xreflabel">
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:call-template name="xref.xreflabel">
+          <xsl:with-param name="target" select="$target"/>
+        </xsl:call-template>
+      </a>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:variable name="href">
+        <xsl:call-template name="href.target">
+          <xsl:with-param name="object" select="$target"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:if test="not(parent::citation)">
+        <xsl:apply-templates select="$target" mode="xref-to-prefix"/>
+      </xsl:if>
+
+      <a href="{$href}">
+        <xsl:if test="$target/title or $target/*/title">
+          <xsl:attribute name="title">
+            <xsl:apply-templates select="$target" mode="xref-title"/>
+          </xsl:attribute>
+        </xsl:if>
+        <xsl:apply-templates select="$target" mode="xref-to">
+          <xsl:with-param name="referrer" select="."/>
+          <xsl:with-param name="xrefstyle">
+            <xsl:choose>
+              <xsl:when test="@role and not(@xrefstyle) and $use.role.as.xrefstyle != 0">
+                <xsl:value-of select="@role"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select="@xrefstyle"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:apply-templates>
+      </a>
+
+      <xsl:if test="not(parent::citation)">
+        <xsl:apply-templates select="$target" mode="xref-to-suffix"/>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="endterm">
+  <!-- Process the children of the endterm element -->
+  <xsl:variable name="endterm">
+    <xsl:apply-templates select="child::node()"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set')">
+      <xsl:apply-templates select="exsl:node-set($endterm)" mode="remove-ids"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$endterm"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="remove-ids">
+  <xsl:choose>
+    <!-- handle html or xhtml -->
+    <xsl:when test="local-name(.) = 'a'
+                    and (namespace-uri(.) = ''
+                         or namespace-uri(.) = 'http://www.w3.org/1999/xhtml')">
+      <xsl:choose>
+        <xsl:when test="(@name and count(@*) = 1)
+                        or (@id and count(@*) = 1)
+                        or (@xml:id and count(@*) = 1)
+                        or (@xml:id and @name and count(@*) = 2)
+                        or (@id and @name and count(@*) = 2)">
+          <xsl:message>suppress anchor</xsl:message>
+          <!-- suppress the whole thing -->
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:copy>
+            <xsl:for-each select="@*">
+              <xsl:choose>
+                <xsl:when test="local-name(.) != 'name' and local-name(.) != 'id'">
+                  <xsl:copy/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:message>removing <xsl:value-of 
+                             select="local-name(.)"/></xsl:message>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:for-each>
+          </xsl:copy>
+          <xsl:apply-templates mode="remove-ids"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy>
+        <xsl:for-each select="@*">
+          <xsl:choose>
+            <xsl:when test="local-name(.) != 'id'">
+              <xsl:copy/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message>removing <xsl:value-of 
+                        select="local-name(.)"/></xsl:message>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:for-each>
+        <xsl:apply-templates mode="remove-ids"/>
+      </xsl:copy>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="xref-to-prefix"/>
+<xsl:template match="*" mode="xref-to-suffix"/>
+
+<xsl:template match="*" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:if test="$verbose">
+    <xsl:message>
+      <xsl:text>Don't know what gentext to create for xref to: "</xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:text>", ("</xsl:text>
+      <xsl:value-of select="(@id|@xml:id)[1]"/>
+      <xsl:text>")</xsl:text>
+    </xsl:message>
+  </xsl:if>
+  <xsl:text>???</xsl:text>
+</xsl:template>
+
+<xsl:template match="title" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <!-- if you xref to a title, xref to the parent... -->
+  <xsl:choose>
+    <!-- FIXME: how reliable is this? -->
+    <xsl:when test="contains(local-name(parent::*), 'info')">
+      <xsl:apply-templates select="parent::*[2]" mode="xref-to">
+        <xsl:with-param name="referrer" select="$referrer"/>
+        <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+        <xsl:with-param name="verbose" select="$verbose"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="parent::*" mode="xref-to">
+        <xsl:with-param name="referrer" select="$referrer"/>
+        <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+        <xsl:with-param name="verbose" select="$verbose"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="abstract|authorblurb|personblurb|bibliodiv|bibliomset
+                     |biblioset|blockquote|calloutlist|caution|colophon
+                     |constraintdef|formalpara|glossdiv|important|indexdiv
+                     |itemizedlist|legalnotice|lot|msg|msgexplan|msgmain
+                     |msgrel|msgset|msgsub|note|orderedlist|partintro
+                     |productionset|qandadiv|refsynopsisdiv|segmentedlist
+                     |set|setindex|sidebar|tip|toc|variablelist|warning"
+              mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <!-- catch-all for things with (possibly optional) titles -->
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="author|editor|othercredit|personname" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:call-template name="person.name"/>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:call-template name="person.name.list"/>
+</xsl:template>
+
+<xsl:template match="figure|example|table|equation" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="procedure" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="task" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis" mode="xref-to">
+  <xsl:apply-templates select="(.//command)[1]" mode="xref"/>
+</xsl:template>
+
+<xsl:template match="funcsynopsis" mode="xref-to">
+  <xsl:apply-templates select="(.//function)[1]" mode="xref"/>
+</xsl:template>
+
+<xsl:template match="dedication|preface|chapter|appendix|article" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="bibliography" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="biblioentry|bibliomixed" mode="xref-to-prefix">
+  <xsl:text>[</xsl:text>
+</xsl:template>
+
+<xsl:template match="biblioentry|bibliomixed" mode="xref-to-suffix">
+  <xsl:text>]</xsl:text>
+</xsl:template>
+
+<xsl:template match="biblioentry|bibliomixed" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <!-- handles both biblioentry and bibliomixed -->
+  <xsl:choose>
+    <xsl:when test="string(.) = ''">
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
+      <xsl:variable name="id" select="(@id|@xml:id)[1]"/>
+      <xsl:variable name="entry" select="$bib/bibliography/
+                                    *[@id=$id or @xml:id=$id][1]"/>
+      <xsl:choose>
+        <xsl:when test="$entry">
+          <xsl:choose>
+            <xsl:when test="$bibliography.numbered != 0">
+              <xsl:number from="bibliography" count="biblioentry|bibliomixed"
+                          level="any" format="1"/>
+            </xsl:when>
+            <xsl:when test="local-name($entry/*[1]) = 'abbrev'">
+              <xsl:apply-templates select="$entry/*[1]"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="(@id|@xml:id)[1]"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>No bibliography entry: </xsl:text>
+            <xsl:value-of select="$id"/>
+            <xsl:text> found in </xsl:text>
+            <xsl:value-of select="$bibliography.collection"/>
+          </xsl:message>
+          <xsl:value-of select="(@id|@xml:id)[1]"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$bibliography.numbered != 0">
+          <xsl:number from="bibliography" count="biblioentry|bibliomixed"
+                      level="any" format="1"/>
+        </xsl:when>
+        <xsl:when test="local-name(*[1]) = 'abbrev'">
+          <xsl:apply-templates select="*[1]"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="(@id|@xml:id)[1]"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="glossary" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="glossentry" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+  <xsl:choose>
+    <xsl:when test="$glossentry.show.acronym = 'primary'">
+      <xsl:choose>
+        <xsl:when test="acronym|abbrev">
+          <xsl:apply-templates select="(acronym|abbrev)[1]"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="glossterm[1]" mode="xref-to">
+            <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+            <xsl:with-param name="referrer" select="$referrer"/>
+            <xsl:with-param name="verbose" select="$verbose"/>
+          </xsl:apply-templates>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="glossterm[1]" mode="xref-to">
+        <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+        <xsl:with-param name="referrer" select="$referrer"/>
+        <xsl:with-param name="verbose" select="$verbose"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="glossterm" mode="xref-to">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="index" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="listitem" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="section|simplesect
+                     |sect1|sect2|sect3|sect4|sect5
+                     |refsect1|refsect2|refsect3|refsection" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+  <!-- FIXME: What about "in Chapter X"? -->
+</xsl:template>
+
+<xsl:template match="bridgehead" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+  <!-- FIXME: What about "in Chapter X"? -->
+</xsl:template>
+
+<xsl:template match="qandaset" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="qandadiv" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="qandaentry" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="question[1]" mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="question|answer" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="part|reference" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="refentry" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:choose>
+    <xsl:when test="refmeta/refentrytitle">
+      <xsl:apply-templates select="refmeta/refentrytitle"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="refnamediv/refname[1]"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:apply-templates select="refmeta/manvolnum"/>
+</xsl:template>
+
+<xsl:template match="refnamediv" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="refname[1]" mode="xref-to">
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="refname" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates mode="xref-to"/>
+</xsl:template>
+
+<xsl:template match="step" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'Step'"/>
+  </xsl:call-template>
+  <xsl:text> </xsl:text>
+  <xsl:apply-templates select="." mode="number"/>
+</xsl:template>
+
+<xsl:template match="varlistentry" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="term[1]" mode="xref-to">
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="varlistentry/term" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <!-- to avoid the comma that will be generated if there are several terms -->
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="co" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:apply-templates select="." mode="callout-bug"/>
+</xsl:template>
+
+<!-- This is currently not working, because there is no corresponding ID generated by Java extensions for processing callouts
+<xsl:template match="area|areaset" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:call-template name="callout-bug">
+    <xsl:with-param name="conum">
+      <xsl:apply-templates select="." mode="conumber"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+-->
+
+<xsl:template match="book" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="para" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:variable name="context" select="(ancestor::simplesect
+                                       |ancestor::section
+                                       |ancestor::sect1
+                                       |ancestor::sect2
+                                       |ancestor::sect3
+                                       |ancestor::sect4
+                                       |ancestor::sect5
+                                       |ancestor::refsection
+                                       |ancestor::refsect1
+                                       |ancestor::refsect2
+                                       |ancestor::refsect3
+                                       |ancestor::chapter
+                                       |ancestor::appendix
+                                       |ancestor::preface
+                                       |ancestor::partintro
+                                       |ancestor::dedication
+                                       |ancestor::colophon
+                                       |ancestor::bibliography
+                                       |ancestor::index
+                                       |ancestor::glossary
+                                       |ancestor::glossentry
+                                       |ancestor::listitem
+                                       |ancestor::varlistentry)[last()]"/>
+
+  <xsl:apply-templates select="$context" mode="xref-to">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="xref-title">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="object.title.markup"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="author" mode="xref-title">
+  <xsl:variable name="title">
+    <xsl:call-template name="person.name"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="xref-title">
+  <xsl:variable name="title">
+    <xsl:call-template name="person.name.list"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis" mode="xref-title">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="(.//command)[1]" mode="xref"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="funcsynopsis" mode="xref-title">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="(.//function)[1]" mode="xref"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="biblioentry|bibliomixed" mode="xref-title">
+  <!-- handles both biblioentry and bibliomixed -->
+  <xsl:variable name="title">
+    <xsl:text>[</xsl:text>
+    <xsl:choose>
+      <xsl:when test="local-name(*[1]) = 'abbrev'">
+        <xsl:apply-templates select="*[1]"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="(@id|@xml:id)[1]"/>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:text>]</xsl:text>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="step" mode="xref-title">
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'Step'"/>
+  </xsl:call-template>
+  <xsl:text> </xsl:text>
+  <xsl:apply-templates select="." mode="number"/>
+</xsl:template>
+
+<xsl:template match="co" mode="xref-title">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="callout-bug"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="link" name="link">
+  <xsl:param name="linkend" select="@linkend"/>
+  <xsl:param name="a.target"/>
+
+  <xsl:variable name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:choose>
+      <xsl:when test="count(child::node()) &gt; 0">
+        <!-- If it has content, use it -->
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- else look for an endterm -->
+        <xsl:choose>
+          <xsl:when test="@endterm">
+            <xsl:variable name="etargets" select="key('id', at endterm)"/>
+            <xsl:variable name="etarget" select="$etargets[1]"/>
+            <xsl:choose>
+              <xsl:when test="count($etarget) = 0">
+                <xsl:message>
+                  <xsl:value-of select="count($etargets)"/>
+                  <xsl:text>Endterm points to nonexistent ID: </xsl:text>
+                  <xsl:value-of select="@endterm"/>
+                </xsl:message>
+                <xsl:text>???</xsl:text>
+              </xsl:when>
+              <xsl:otherwise>
+                  <xsl:apply-templates select="$etarget" mode="endterm"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:when>
+
+          <xsl:otherwise>
+            <xsl:message>
+              <xsl:text>Link element has no content and no Endterm. </xsl:text>
+              <xsl:text>Nothing to show in the link to </xsl:text>
+              <xsl:value-of select="(@xlink:href|@linkend)[1]"/>
+            </xsl:message>
+            <xsl:text>???</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="node" select="."/>
+    <xsl:with-param name="linkend" select="$linkend"/>
+    <xsl:with-param name="content" select="$content"/>
+    <xsl:with-param name="a.target" select="$a.target"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="ulink" name="ulink">
+  <xsl:param name="url" select="@url"/>
+  <xsl:variable name="link">
+    <a>
+      <xsl:if test="@id or @xml:id">
+        <xsl:attribute name="name">
+          <xsl:value-of select="(@id|@xml:id)[1]"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:attribute name="href"><xsl:value-of select="$url"/></xsl:attribute>
+      <xsl:if test="$ulink.target != ''">
+        <xsl:attribute name="target">
+          <xsl:value-of select="$ulink.target"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:choose>
+        <xsl:when test="count(child::node())=0">
+          <xsl:value-of select="$url"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </a>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('suwl:unwrapLinks')">
+      <xsl:copy-of select="suwl:unwrapLinks($link)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$link"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="olink" name="olink">
+
+  <xsl:call-template name="anchor"/>
+
+  <xsl:variable name="localinfo" select="@localinfo"/>
+
+  <xsl:choose>
+    <!-- olinks resolved by stylesheet and target database -->
+    <xsl:when test="@targetdoc or @targetptr" >
+      <xsl:variable name="targetdoc.att" select="@targetdoc"/>
+      <xsl:variable name="targetptr.att" select="@targetptr"/>
+
+      <xsl:variable name="olink.lang">
+        <xsl:call-template name="l10n.language">
+          <xsl:with-param name="xref-context" select="true()"/>
+        </xsl:call-template>
+      </xsl:variable>
+    
+      <xsl:variable name="target.database.filename">
+        <xsl:call-template name="select.target.database">
+          <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/>
+          <xsl:with-param name="targetptr.att" select="$targetptr.att"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+        </xsl:call-template>
+      </xsl:variable>
+    
+      <xsl:variable name="target.database" 
+          select="document($target.database.filename,/)"/>
+    
+      <xsl:if test="$olink.debug != 0">
+        <xsl:message>
+          <xsl:text>Olink debug: root element of target.database '</xsl:text>
+          <xsl:value-of select="$target.database.filename"/>
+          <xsl:text>' is '</xsl:text>
+          <xsl:value-of select="local-name($target.database/*[1])"/>
+          <xsl:text>'.</xsl:text>
+        </xsl:message>
+      </xsl:if>
+    
+      <xsl:variable name="olink.key">
+        <xsl:call-template name="select.olink.key">
+          <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/>
+          <xsl:with-param name="targetptr.att" select="$targetptr.att"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+        </xsl:call-template>
+      </xsl:variable>
+    
+      <xsl:if test="string-length($olink.key) = 0">
+        <xsl:message>
+          <xsl:text>Error: unresolved olink: </xsl:text>
+          <xsl:text>targetdoc/targetptr = '</xsl:text>
+          <xsl:value-of select="$targetdoc.att"/>
+          <xsl:text>/</xsl:text>
+          <xsl:value-of select="$targetptr.att"/>
+          <xsl:text>'.</xsl:text>
+        </xsl:message>
+      </xsl:if>
+
+      <xsl:variable name="href">
+        <xsl:call-template name="make.olink.href">
+          <xsl:with-param name="olink.key" select="$olink.key"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="hottext">
+        <xsl:call-template name="olink.hottext">
+          <xsl:with-param name="target.database" select="$target.database"/>
+          <xsl:with-param name="olink.key" select="$olink.key"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="olink.docname.citation">
+        <xsl:call-template name="olink.document.citation">
+          <xsl:with-param name="olink.key" select="$olink.key"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="olink.page.citation">
+        <xsl:call-template name="olink.page.citation">
+          <xsl:with-param name="olink.key" select="$olink.key"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$href != ''">
+          <a href="{$href}" class="olink">
+            <xsl:copy-of select="$hottext"/>
+          </a>
+          <xsl:copy-of select="$olink.page.citation"/>
+          <xsl:copy-of select="$olink.docname.citation"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <span class="olink"><xsl:copy-of select="$hottext"/></span>
+          <xsl:copy-of select="$olink.page.citation"/>
+          <xsl:copy-of select="$olink.docname.citation"/>
+        </xsl:otherwise>
+      </xsl:choose>
+
+    </xsl:when>
+
+    <!-- Or use old olink mechanism -->
+    <xsl:otherwise>
+      <xsl:variable name="href">
+        <xsl:choose>
+          <xsl:when test="@linkmode">
+            <!-- use the linkmode to get the base URI, use localinfo as fragid -->
+            <xsl:variable name="modespec" select="key('id', at linkmode)"/>
+            <xsl:if test="count($modespec) != 1
+                          or local-name($modespec) != 'modespec'">
+              <xsl:message>Warning: olink linkmode pointer is wrong.</xsl:message>
+            </xsl:if>
+            <xsl:value-of select="$modespec"/>
+            <xsl:if test="@localinfo">
+              <xsl:text>#</xsl:text>
+              <xsl:value-of select="@localinfo"/>
+            </xsl:if>
+          </xsl:when>
+          <xsl:when test="@type = 'href'">
+            <xsl:call-template name="olink.outline">
+              <xsl:with-param name="outline.base.uri"
+                              select="unparsed-entity-uri(@targetdocent)"/>
+              <xsl:with-param name="localinfo" select="@localinfo"/>
+              <xsl:with-param name="return" select="'href'"/>
+            </xsl:call-template>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$olink.resolver"/>
+            <xsl:text>?</xsl:text>
+            <xsl:value-of select="$olink.sysid"/>
+            <xsl:value-of select="unparsed-entity-uri(@targetdocent)"/>
+            <!-- XSL gives no access to the public identifier (grumble...) -->
+            <xsl:if test="@localinfo">
+              <xsl:text>&amp;</xsl:text>
+              <xsl:value-of select="$olink.fragid"/>
+              <xsl:value-of select="@localinfo"/>
+            </xsl:if>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+    
+      <xsl:choose>
+        <xsl:when test="$href != ''">
+          <a href="{$href}" class="olink">
+            <xsl:call-template name="olink.hottext"/>
+          </a>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="olink.hottext"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="pagenumber.markup">
+  <!-- no-op in HTML -->
+</xsl:template>
+
+
+<xsl:template name="olink.outline">
+  <xsl:param name="outline.base.uri"/>
+  <xsl:param name="localinfo"/>
+  <xsl:param name="return" select="href"/>
+
+  <xsl:variable name="outline-file"
+                select="concat($outline.base.uri,
+                               $olink.outline.ext)"/>
+
+  <xsl:variable name="outline" select="document($outline-file,.)/div"/>
+
+  <xsl:variable name="node-href">
+    <xsl:choose>
+      <xsl:when test="$localinfo != ''">
+        <xsl:variable name="node" select="$outline//
+                                   *[@id=$localinfo or @xml:id=$localinfo]"/>
+        <xsl:value-of select="$node/@href"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$outline/@href"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="node-xref">
+    <xsl:choose>
+      <xsl:when test="$localinfo != ''">
+        <xsl:variable name="node" select="$outline//
+                               *[@id=$localinfo or @xml:id=$localinfo]"/>
+        <xsl:copy-of select="$node/xref"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$outline/xref"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$return = 'href'">
+      <xsl:value-of select="$node-href"/>
+    </xsl:when>
+    <xsl:when test="$return = 'xref'">
+      <xsl:value-of select="$node-xref"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$node-xref"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="xref.xreflabel">
+  <!-- called to process an xreflabel...you might use this to make  -->
+  <!-- xreflabels come out in the right font for different targets, -->
+  <!-- for example. -->
+  <xsl:param name="target" select="."/>
+  <xsl:value-of select="$target/@xreflabel"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="title" mode="xref">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="command" mode="xref">
+  <xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="function" mode="xref">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="insert.title.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="title"/>
+
+  <xsl:choose>
+    <!-- FIXME: what about the case where titleabbrev is inside the info? -->
+    <xsl:when test="$purpose = 'xref' and titleabbrev">
+      <xsl:apply-templates select="." mode="titleabbrev.markup"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$title"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="chapter|appendix" mode="insert.title.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="title"/>
+
+  <xsl:choose>
+    <xsl:when test="$purpose = 'xref'">
+      <i>
+        <xsl:copy-of select="$title"/>
+      </i>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$title"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.subtitle.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="subtitle"/>
+
+  <xsl:copy-of select="$subtitle"/>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.label.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="label"/>
+
+  <xsl:copy-of select="$label"/>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.pagenumber.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="pagenumber"/>
+
+  <xsl:copy-of select="$pagenumber"/>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.direction.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="direction"/>
+
+  <xsl:copy-of select="$direction"/>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.olink.docname.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="docname"/>
+
+  <span class="olinkdocname">
+    <xsl:copy-of select="$docname"/>
+  </span>
+
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/htmlhelp/htmlhelp-common.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/htmlhelp/htmlhelp-common.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/htmlhelp/htmlhelp-common.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1064 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY lf '<xsl:text xmlns:xsl="http://www.w3.org/1999/XSL/Transform">&#xA;</xsl:text>'>
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:set="http://exslt.org/sets"
+                xmlns:h="urn:x-hex"
+		xmlns:ng="http://docbook.org/docbook-ng"
+		xmlns:db="http://docbook.org/ns/docbook"
+		version="1.0"
+                exclude-result-prefixes="doc exsl set h db ng">
+
+<!-- ********************************************************************
+     $Id: htmlhelp-common.xsl 6156 2006-08-13 07:06:50Z bobstayton $
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- Customizations of standard HTML stylesheet parameters -->
+
+<!-- no navigation on pages by default, HTML Help provides its own navigation controls -->
+<xsl:param name="suppress.navigation" select="1"/>
+
+<!-- no separate HTML page with index, index is built inside CHM index pane -->
+<xsl:param name="generate.index" select="0"/>
+
+<!-- ==================================================================== -->
+
+<xsl:param name="htmlhelp.generate.index" select="//indexterm[1]"/>
+
+<!-- Set up HTML Help flag -->
+<xsl:variable name="htmlhelp.output" select="1"/>
+
+<xsl:variable name="raw.help.title">
+  <xsl:choose>
+    <xsl:when test="$htmlhelp.title = ''">
+      <xsl:choose>
+        <xsl:when test="$rootid != ''">
+          <xsl:apply-templates select="key('id',$rootid)" mode="title.markup"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="/*" mode="title.markup"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$htmlhelp.title"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:variable>
+
+<xsl:variable name="help.title" select="normalize-space($raw.help.title)"/>
+  
+<!-- ==================================================================== -->
+
+<xsl:template match="/">
+  <xsl:if test="$htmlhelp.only != 1">
+    <xsl:choose>
+      <xsl:when test="$rootid != ''">
+        <xsl:choose>
+          <xsl:when test="count(key('id',$rootid)) = 0">
+            <xsl:message terminate="yes">
+              <xsl:text>ID '</xsl:text>
+              <xsl:value-of select="$rootid"/>
+              <xsl:text>' not found in document.</xsl:text>
+            </xsl:message>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:message>Formatting from <xsl:value-of select="$rootid"/></xsl:message>
+            <xsl:apply-templates select="key('id',$rootid)" mode="process.root"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="/" mode="process.root"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+
+  <xsl:call-template name="hhp"/>
+  <xsl:call-template name="hhc"/>
+  <xsl:if test="($rootid = '' and //processing-instruction('dbhh')) or
+                ($rootid != '' and key('id',$rootid)//processing-instruction('dbhh'))">
+    <xsl:call-template name="hh-map"/>
+    <xsl:call-template name="hh-alias"/>
+  </xsl:if>
+  <xsl:if test="$htmlhelp.generate.index">
+    <xsl:call-template name="hhk"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="hhp">
+  <xsl:call-template name="write.text.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="$htmlhelp.hhp"/>
+    </xsl:with-param>
+    <xsl:with-param name="method" select="'text'"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="hhp-main"/>
+    </xsl:with-param>
+    <xsl:with-param name="encoding" select="$htmlhelp.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<xsl:template name="hhp-main">
+<xsl:variable name="default.topic">
+  <xsl:choose>
+    <xsl:when test="$htmlhelp.default.topic != ''">
+      <xsl:value-of select="$htmlhelp.default.topic"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.dir">
+          <xsl:if test="$manifest.in.base.dir = 0">
+            <xsl:value-of select="$base.dir"/>
+          </xsl:if>
+        </xsl:with-param>
+        <xsl:with-param name="base.name">
+          <xsl:choose>
+            <xsl:when test="$rootid != ''">
+              <xsl:apply-templates select="key('id',$rootid)" mode="chunk-filename"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="/" mode="chunk-filename"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:variable>
+<xsl:variable name="xnavigation">
+  <xsl:text>0x</xsl:text>
+  <xsl:call-template name="toHex">
+    <xsl:with-param name="n" select="9504 + $htmlhelp.show.menu * 65536
+                                          + $htmlhelp.show.advanced.search * 131072
+                                          + $htmlhelp.show.favorities * 4096
+                                          + (1 - $htmlhelp.show.toolbar.text) * 64
+                                          + $htmlhelp.remember.window.position * 262144"/>
+  </xsl:call-template>
+</xsl:variable>
+<xsl:variable name="xbuttons">
+  <xsl:text>0x</xsl:text>
+  <xsl:call-template name="toHex">
+    <xsl:with-param name="n" select="0 + $htmlhelp.button.hideshow * 2
+                                       + $htmlhelp.button.back * 4
+                                       + $htmlhelp.button.forward * 8
+                                       + $htmlhelp.button.stop * 16
+                                       + $htmlhelp.button.refresh * 32
+                                       + $htmlhelp.button.home * 64
+                                       + $htmlhelp.button.options * 4096
+                                       + $htmlhelp.button.print * 8192
+                                       + $htmlhelp.button.locate * 2048
+                                       + $htmlhelp.button.jump1 * 262144
+                                       + $htmlhelp.button.jump2 * 524288
+                                       + $htmlhelp.button.next * 2097152
+                                       + $htmlhelp.button.prev * 4194304
+                                       + $htmlhelp.button.zoom * 1048576"/>
+  </xsl:call-template>
+</xsl:variable>
+<xsl:text>[OPTIONS]
+</xsl:text>
+<xsl:if test="$htmlhelp.generate.index">
+<xsl:text>Auto Index=Yes
+</xsl:text></xsl:if>
+<xsl:if test="$htmlhelp.hhc.binary != 0">
+<xsl:text>Binary TOC=Yes
+</xsl:text></xsl:if>
+<xsl:text>Compatibility=1.1 or later
+Compiled file=</xsl:text><xsl:value-of select="$htmlhelp.chm"/><xsl:text>
+Contents file=</xsl:text><xsl:value-of select="$htmlhelp.hhc"/><xsl:text>
+</xsl:text>
+<xsl:if test="$htmlhelp.hhp.window != ''">
+<xsl:text>Default Window=</xsl:text><xsl:value-of select="$htmlhelp.hhp.window"/><xsl:text>
+</xsl:text></xsl:if>
+<xsl:text>Default topic=</xsl:text><xsl:value-of select="$default.topic"/>
+<xsl:text>
+Display compile progress=</xsl:text>
+  <xsl:choose>
+    <xsl:when test="$htmlhelp.display.progress != 1">
+      <xsl:text>No</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>Yes</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+<xsl:text>
+Full-text search=Yes
+</xsl:text>
+<xsl:if test="$htmlhelp.generate.index">
+<xsl:text>Index file=</xsl:text><xsl:value-of select="$htmlhelp.hhk"/><xsl:text>
+</xsl:text></xsl:if>
+<xsl:text>Language=</xsl:text>
+<xsl:for-each select="*">   <!-- Change context from / to root element -->
+  <xsl:call-template name="gentext.template">
+    <xsl:with-param name="context" select="'htmlhelp'"/>
+    <xsl:with-param name="name" select="'langcode'"/>
+  </xsl:call-template>
+</xsl:for-each>
+<xsl:text>
+Title=</xsl:text>
+  <xsl:value-of select="$help.title"/>
+<xsl:text>
+Enhanced decompilation=</xsl:text>
+  <xsl:choose>
+    <xsl:when test="$htmlhelp.enhanced.decompilation != 0">
+      <xsl:text>Yes</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>No</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+
+<xsl:if test="$htmlhelp.hhp.window != ''">
+  <xsl:text>
+
+[WINDOWS]
+</xsl:text>
+<xsl:value-of select="$htmlhelp.hhp.window"/>
+<xsl:text>="</xsl:text>
+<xsl:value-of select="$help.title"/>
+<xsl:text>","</xsl:text><xsl:value-of select="$htmlhelp.hhc"/>
+<xsl:text>",</xsl:text>
+<xsl:if test="$htmlhelp.generate.index">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.hhk"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,"</xsl:text>
+<xsl:value-of select="$default.topic"/>
+<xsl:text>",</xsl:text>
+<xsl:text>"</xsl:text>
+<xsl:choose>
+  <xsl:when test="$htmlhelp.button.home != 0">
+    <xsl:value-of select="$htmlhelp.button.home.url"/>
+  </xsl:when>
+  <xsl:otherwise>
+    <xsl:value-of select="$default.topic"/>
+  </xsl:otherwise>
+</xsl:choose>
+<xsl:text>"</xsl:text>
+<xsl:text>,</xsl:text>
+<xsl:if test="$htmlhelp.button.jump1 != 0">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.button.jump1.url"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,</xsl:text>
+<xsl:if test="$htmlhelp.button.jump1 != 0">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.button.jump1.title"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,</xsl:text>
+<xsl:if test="$htmlhelp.button.jump2 != 0">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.button.jump2.url"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,</xsl:text>
+<xsl:if test="$htmlhelp.button.jump2 != 0">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.button.jump2.title"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,</xsl:text>
+<xsl:value-of select="$xnavigation"/>
+<xsl:text>,</xsl:text><xsl:value-of select="$htmlhelp.hhc.width"/><xsl:text>,</xsl:text>
+<xsl:value-of select="$xbuttons"/>
+<xsl:text>,</xsl:text><xsl:value-of select="$htmlhelp.window.geometry"/><xsl:text>,,,,,,,0
+</xsl:text>
+</xsl:if>
+
+<!-- 
+  Needs more investigation to generate propetly all fields 
+<xsl:text>search="</xsl:text>
+<xsl:value-of select="normalize-space(//title[1])"/>
+<xsl:text>","toc.hhc","index.hhk","</xsl:text>
+<xsl:value-of select="$root.filename"/>
+<xsl:text>.html","</xsl:text>
+<xsl:value-of select="$root.filename"/>
+<xsl:text>.html",,,,,</xsl:text>
+<xsl:value-of select="$xnavigation"/>
+<xsl:text>,</xsl:text>
+<xsl:value-of select="$htmlhelp.hhc.width"/>
+<xsl:text>,</xsl:text>
+<xsl:value-of select="$xbuttons"/>
+<xsl:text>,</xsl:text>
+<xsl:value-of select="$htmlhelp.window.geometry"/>
+<xsl:text>,,,,,2,,0
+</xsl:text>
+-->
+
+<xsl:if test="$htmlhelp.hhp.windows">
+  <xsl:value-of select="$htmlhelp.hhp.windows"/>
+</xsl:if>
+<xsl:text>
+
+[FILES]
+</xsl:text>
+
+<xsl:choose>
+  <xsl:when test="$rootid != ''">
+    <xsl:apply-templates select="key('id',$rootid)" mode="enumerate-files"/>
+  </xsl:when>
+  <xsl:otherwise>
+    <xsl:apply-templates select="/" mode="enumerate-files"/>
+  </xsl:otherwise>
+</xsl:choose>
+
+<xsl:if test="$htmlhelp.enumerate.images">
+  <xsl:variable name="imagelist">
+    <xsl:choose>
+      <xsl:when test="$rootid != ''">
+        <xsl:apply-templates select="key('id',$rootid)" mode="enumerate-images"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="/" mode="enumerate-images"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set') and function-available('set:distinct')">
+      <xsl:for-each select="set:distinct(exsl:node-set($imagelist)/filename)">
+        <xsl:value-of select="."/>
+        <xsl:text>&#10;</xsl:text>
+      </xsl:for-each>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$imagelist"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:if>
+
+<xsl:if test="($htmlhelp.force.map.and.alias != 0) or 
+              ($rootid = '' and //processing-instruction('dbhh')) or
+              ($rootid != '' and key('id',$rootid)//processing-instruction('dbhh'))">
+  <xsl:text>
+[ALIAS]
+#include </xsl:text><xsl:value-of select="$htmlhelp.alias.file"/><xsl:text>
+
+[MAP]
+#include </xsl:text><xsl:value-of select="$htmlhelp.map.file"/><xsl:text>
+</xsl:text>
+</xsl:if>
+
+<xsl:value-of select="$htmlhelp.hhp.tail"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="graphic|inlinegraphic[@format!='linespecific']" mode="enumerate-images">
+  <xsl:call-template name="write.filename.enumerate-images">
+    <xsl:with-param name="filename">
+      <xsl:call-template name="mediaobject.filename.enumerate-images">
+        <xsl:with-param name="object" select="."/>
+      </xsl:call-template>  
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="mediaobject|inlinemediaobject" mode="enumerate-images">
+  <xsl:call-template name="select.mediaobject.enumerate-images"/>
+</xsl:template>
+
+<xsl:template name="select.mediaobject.enumerate-images">
+  <xsl:param name="olist"
+             select="imageobject|imageobjectco
+                     |videoobject|audioobject|textobject"/>
+  <xsl:param name="count">1</xsl:param>
+
+  <xsl:if test="$count &lt;= count($olist)">
+    <xsl:variable name="object" select="$olist[position()=$count]"/>
+
+    <xsl:variable name="useobject">
+      <xsl:choose>
+	<!-- The phrase is never used -->
+        <xsl:when test="name($object)='textobject' and $object/phrase">
+          <xsl:text>0</xsl:text>
+        </xsl:when>
+	<!-- The first textobject is a reasonable fallback (but not for image in HH) -->
+        <xsl:when test="name($object)='textobject'">
+          <xsl:text>0</xsl:text>
+        </xsl:when>
+	<!-- If there's only one object, use it -->
+	<xsl:when test="$count = 1 and count($olist) = 1">
+	  <xsl:text>1</xsl:text>
+	</xsl:when>
+	<!-- Otherwise, see if this one is a useable graphic -->
+        <xsl:otherwise>
+          <xsl:choose>
+            <!-- peek inside imageobjectco to simplify the test -->
+            <xsl:when test="local-name($object) = 'imageobjectco'">
+              <xsl:call-template name="is.acceptable.mediaobject">
+                <xsl:with-param name="object" select="$object/imageobject"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:call-template name="is.acceptable.mediaobject">
+                <xsl:with-param name="object" select="$object"/>
+              </xsl:call-template>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:choose>
+      <xsl:when test="$useobject='1' and $object[not(*/@format='linespecific')]">
+        <xsl:call-template name="write.filename.enumerate-images">
+          <xsl:with-param name="filename">
+            <xsl:call-template name="mediaobject.filename.enumerate-images">
+              <xsl:with-param name="object" select="$object"/>
+            </xsl:call-template>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="select.mediaobject.enumerate-images">
+          <xsl:with-param name="olist" select="$olist"/>
+          <xsl:with-param name="count" select="$count + 1"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="mediaobject.filename.enumerate-images">
+  <xsl:param name="object"/>
+
+  <xsl:variable name="urifilename">
+    <xsl:call-template name="mediaobject.filename">
+      <xsl:with-param name="object" select="$object"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="starts-with($urifilename, 'file:/')">
+	<xsl:value-of select="substring-after($urifilename, 'file:/')"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:value-of select="$urifilename"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:value-of select="translate($filename, '/', '\')"/>
+
+</xsl:template>
+
+<xsl:template match="text()" mode="enumerate-images">
+</xsl:template>
+
+<xsl:template name="write.filename.enumerate-images">
+  <xsl:param name="filename"/>
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set') and function-available('set:distinct')">
+      <filename><xsl:value-of select="$filename"/></filename>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$filename"/>
+      <xsl:text>&#10;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- HHC and HHK files are processed by compiler line by line
+     and therefore are very sensitive to whitespaces (linefeeds for sure).  -->
+
+<xsl:template name="hhc">
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="$htmlhelp.hhc"/>
+    </xsl:with-param>
+    <xsl:with-param name="indent" select="'no'"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="hhc-main"/>
+    </xsl:with-param>
+    <xsl:with-param name="encoding" select="$htmlhelp.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="hhc-main">
+<HTML>&lf;
+ <HEAD></HEAD>&lf;
+ <BODY>&lf;
+  <xsl:if test="$htmlhelp.hhc.folders.instead.books != 0">
+   <OBJECT type="text/site properties">&lf;
+     <param name="ImageType" value="Folder"/>&lf;
+   </OBJECT>&lf;
+  </xsl:if>
+  <xsl:variable name="content">
+    <xsl:choose>
+      <xsl:when test="$rootid != ''">
+	<xsl:apply-templates select="key('id',$rootid)" mode="hhc"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:apply-templates select="/" mode="hhc"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$htmlhelp.hhc.show.root != 0">
+      <UL>&lf;
+        <xsl:copy-of select="$content"/>
+      </UL>&lf;
+    </xsl:when>
+    <xsl:otherwise>
+    <xsl:copy-of select="$content"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+ </BODY>
+</HTML>
+</xsl:template>
+
+<xsl:template name="hhc.entry">
+  <xsl:param name="title">
+    <xsl:if test="$htmlhelp.autolabel=1">
+      <xsl:variable name="label.markup">
+        <xsl:apply-templates select="." mode="label.markup"/>
+      </xsl:variable>
+      <xsl:if test="normalize-space($label.markup)">
+        <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/>
+      </xsl:if>
+    </xsl:if>
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:param>
+
+  <LI><OBJECT type="text/sitemap">&lf;
+    <param name="Name">
+      <xsl:attribute name="value">
+          <xsl:value-of select="normalize-space($title)"/>
+      </xsl:attribute>
+    </param>&lf;
+    <param name="Local">
+      <xsl:attribute name="value">
+          <xsl:call-template name="href.target.with.base.dir"/>
+      </xsl:attribute>
+    </param>
+  </OBJECT></LI>&lf;
+</xsl:template>
+
+<xsl:template match="set" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="book">
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <UL>
+      <xsl:if test="contains($toc.params, 'toc') and $htmlhelp.hhc.show.root = 0">
+      <LI><OBJECT type="text/sitemap">&lf;
+          <param name="Name">
+            <xsl:attribute name="value">
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'TableofContents'"/>
+            </xsl:call-template>
+            </xsl:attribute>
+          </param>&lf;
+          <param name="Local">
+            <xsl:attribute name="value">
+	      <xsl:choose>
+		<xsl:when test="$chunk.tocs.and.lots != 0">
+		  <xsl:apply-templates select="." mode="recursive-chunk-filename">
+		    <xsl:with-param name="recursive" select="true()"/>
+		  </xsl:apply-templates>
+		  <xsl:text>-toc</xsl:text>
+		  <xsl:value-of select="$html.ext"/>
+		</xsl:when>
+		<xsl:otherwise>
+		  <xsl:call-template name="href.target.with.base.dir"/>
+		</xsl:otherwise>
+	      </xsl:choose>
+	    </xsl:attribute>
+          </param>
+      </OBJECT></LI>&lf;
+      </xsl:if>
+      <xsl:apply-templates select="book" mode="hhc"/>
+    </UL>&lf;
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="book" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="part|reference|preface|chapter|appendix|bibliography|article|colophon|glossary">
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <UL>
+      <xsl:if test="contains($toc.params, 'toc') and $htmlhelp.hhc.show.root = 0 and not(parent::*)">
+        <LI><OBJECT type="text/sitemap">&lf;
+            <param name="Name">
+              <xsl:attribute name="value">
+		<xsl:call-template name="gentext">
+		  <xsl:with-param name="key" select="'TableofContents'"/>
+		</xsl:call-template>
+              </xsl:attribute>
+            </param>&lf;
+            <param name="Local">
+	      <xsl:attribute name="value">
+		<xsl:choose>
+		  <xsl:when test="$chunk.tocs.and.lots != 0">
+		    <xsl:apply-templates select="." mode="recursive-chunk-filename">
+		      <xsl:with-param name="recursive" select="true()"/>
+		    </xsl:apply-templates>
+		    <xsl:text>-toc</xsl:text>
+		    <xsl:value-of select="$html.ext"/>
+		  </xsl:when>
+		  <xsl:otherwise>
+		    <xsl:call-template name="href.target.with.base.dir"/>
+		  </xsl:otherwise>
+		</xsl:choose>
+	      </xsl:attribute>
+            </param>
+        </OBJECT></LI>&lf;
+      </xsl:if>
+      <xsl:apply-templates select="part|reference|preface|chapter|bibliography|appendix|article|colophon|glossary"
+			   mode="hhc"/>
+    </UL>&lf;
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="part|reference|preface|chapter|bibliography|appendix|article|glossary"
+              mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="article|reference|preface|chapter|appendix|refentry|section|sect1|bibliodiv">
+    <UL>&lf;
+      <xsl:apply-templates
+	select="article|reference|preface|chapter|appendix|refentry|section|sect1|bibliodiv"
+	mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="section" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="section[count(ancestor::section) &lt; $htmlhelp.hhc.section.depth]|refentry">
+    <UL>&lf;
+      <xsl:apply-templates select="section|refentry" mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect1" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="sect2[$htmlhelp.hhc.section.depth > 1]|refentry">
+    <UL>&lf;
+      <xsl:apply-templates select="sect2|refentry"
+			   mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect2" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="sect3[$htmlhelp.hhc.section.depth > 2]|refentry">
+    <UL>&lf;
+      <xsl:apply-templates select="sect3|refentry"
+			   mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect3" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="sect4[$htmlhelp.hhc.section.depth > 3]|refentry">
+    <UL>&lf;
+      <xsl:apply-templates select="sect4|refentry"
+			   mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect4" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="sect5[$htmlhelp.hhc.section.depth > 4]|refentry">
+    <UL>&lf;
+      <xsl:apply-templates select="sect5|refentry"
+			   mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect5|refentry|colophon|bibliodiv" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="refentry">
+    <UL>&lf;
+      <xsl:apply-templates select="refentry"
+			   mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="indexterm">
+  <xsl:choose>
+    <xsl:when test="$htmlhelp.use.hhk = 0">
+  
+      <xsl:variable name="primary" select="normalize-space(primary)"/>
+      <xsl:variable name="secondary" select="normalize-space(secondary)"/>
+      <xsl:variable name="tertiary" select="normalize-space(tertiary)"/>
+      
+      <xsl:variable name="text">
+        <xsl:value-of select="$primary"/>
+        <xsl:if test="secondary">
+          <xsl:text>, </xsl:text>
+          <xsl:value-of select="$secondary"/>
+        </xsl:if>
+        <xsl:if test="tertiary">
+          <xsl:text>, </xsl:text>
+          <xsl:value-of select="$tertiary"/>
+        </xsl:if>
+      </xsl:variable>
+      
+      <xsl:if test="secondary">
+        <xsl:if test="not(//indexterm[normalize-space(primary)=$primary and not(secondary)])">
+          <xsl:call-template name="write.indexterm">
+            <xsl:with-param name="text" select="$primary"/>
+          </xsl:call-template>
+        </xsl:if>
+      </xsl:if>
+
+      <xsl:if test="tertiary">
+        <xsl:if test="not(//indexterm[normalize-space(primary)=$primary and 
+		                      normalize-space(secondary)=$secondary and not(tertiary)])">
+          <xsl:call-template name="write.indexterm">
+            <xsl:with-param name="text" select="concat($primary, ', ', $secondary)"/>
+          </xsl:call-template>
+        </xsl:if>
+      </xsl:if>
+      
+      <xsl:call-template name="write.indexterm">
+        <xsl:with-param name="text" select="$text"/>
+      </xsl:call-template>
+      
+    </xsl:when>
+    <xsl:otherwise>
+      <a>
+        <xsl:attribute name="name">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </a>
+    </xsl:otherwise>
+    
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="write.indexterm">
+  <xsl:param name="text"/>
+  <OBJECT type="application/x-oleobject"
+          classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
+    <param name="Keyword" value="{$text}"/>
+  </OBJECT>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="hhk">
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="$htmlhelp.hhk"/>
+    </xsl:with-param>
+    <xsl:with-param name="indent" select="'no'"/>
+    <xsl:with-param name="content"><xsl:text disable-output-escaping="yes"><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<HTML>
+<HEAD>
+<meta name="GENERATOR" content="Microsoft&reg; HTML Help Workshop 4.1">
+<!-- Sitemap 1.0 -->
+</HEAD><BODY>
+<OBJECT type="text/site properties">
+</OBJECT>
+<UL>]]>
+</xsl:text>
+<xsl:if test="($htmlhelp.use.hhk != 0) and $htmlhelp.generate.index">
+  <xsl:choose>
+    <xsl:when test="$rootid != ''">
+      <xsl:apply-templates select="key('id',$rootid)" mode="hhk"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="/" mode="hhk"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:if>
+<xsl:text disable-output-escaping="yes"><![CDATA[</UL>
+</BODY></HTML>]]>
+</xsl:text></xsl:with-param>
+    <xsl:with-param name="encoding" select="$htmlhelp.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="indexterm[@class='endofrange']" mode="hhk"/>
+
+<xsl:template match="indexterm" mode="hhk">
+  <xsl:variable name="primary" select="normalize-space(primary)"/>
+  <xsl:variable name="secondary" select="normalize-space(secondary)"/>
+  <xsl:variable name="tertiary" select="normalize-space(tertiary)"/>
+
+  <xsl:call-template name="write.indexterm.hhk">
+    <xsl:with-param name="text" select="$primary"/>
+    <xsl:with-param name="seealso" select="seealso"/>
+  </xsl:call-template>
+
+  <xsl:if test="secondary">
+    <xsl:if test="not(//indexterm[normalize-space(primary)=$primary and not(secondary)])">
+      <xsl:call-template name="write.indexterm.hhk">
+        <!-- We must create fake entry when there is secondary without primary --> 
+        <xsl:with-param name="text" select="$primary"/>
+        <xsl:with-param name="seealso" select="$primary"/>
+      </xsl:call-template>
+    </xsl:if>
+    <UL>
+    <xsl:call-template name="write.indexterm.hhk">
+      <xsl:with-param name="text" select="$secondary"/>
+      <xsl:with-param name="seealso" select="secondary/seealso"/>
+    </xsl:call-template>
+    <xsl:if test="tertiary">
+      <UL>&lf;
+      <xsl:call-template name="write.indexterm.hhk">
+        <xsl:with-param name="text" select="$tertiary"/>
+        <xsl:with-param name="seealso" select="tertiary/seealso"/>
+      </xsl:call-template>
+      </UL>
+    </xsl:if>
+    </UL>
+  </xsl:if>
+
+</xsl:template>
+
+<xsl:template name="write.indexterm.hhk">
+  <xsl:param name="text"/>
+  <xsl:param name="seealso"/>
+
+  <LI> <OBJECT type="text/sitemap">&lf;
+    <param name="Name">
+      <xsl:attribute name="value">
+        <xsl:value-of select="$text"/>
+      </xsl:attribute>
+    </param>&lf;
+
+      <xsl:if test="not(seealso)">
+        <xsl:variable name="href">
+          <xsl:call-template name="href.target.with.base.dir"/>
+        </xsl:variable>
+        <xsl:variable name="title">
+	  <xsl:call-template name="nearest.title">
+	    <xsl:with-param name="object" select=".."/>
+	  </xsl:call-template>
+        </xsl:variable>
+
+        <param name="Name">
+          <xsl:attribute name="value">
+          <xsl:value-of select="$title"/>
+          </xsl:attribute>
+        </param>&lf;
+        <param name="Local">
+          <xsl:attribute name="value">
+          <xsl:value-of select="$href"/>
+          </xsl:attribute>
+        </param>&lf;
+      </xsl:if>
+
+      <xsl:if test="seealso">
+        <param name="See Also">
+          <xsl:attribute name="value">
+          <xsl:value-of select="$seealso"/>
+          </xsl:attribute>
+        </param>&lf;
+      </xsl:if>
+      </OBJECT></LI>
+</xsl:template>
+
+<xsl:template match="text()" mode="hhk"/>
+
+<xsl:template name="nearest.title">
+  <xsl:param name="object"/>
+  <xsl:apply-templates select="$object/ancestor-or-self::*[title][1]" mode="title.markup"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="hh-map">
+  <xsl:call-template name="write.text.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="$htmlhelp.map.file"/>
+    </xsl:with-param>
+    <xsl:with-param name="method" select="'text'"/>
+    <xsl:with-param name="content">
+     <xsl:choose>
+       <xsl:when test="$rootid != ''">
+         <xsl:apply-templates select="key('id',$rootid)" mode="hh-map"/>
+       </xsl:when>
+       <xsl:otherwise>
+         <xsl:apply-templates select="/" mode="hh-map"/>
+       </xsl:otherwise>
+     </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="encoding" select="$htmlhelp.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="processing-instruction('dbhh')" mode="hh-map">
+  <xsl:variable name="topicname">
+    <xsl:call-template name="pi-attribute">
+      <xsl:with-param name="pis"
+                      select="."/>
+      <xsl:with-param name="attribute" select="'topicname'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="topicid">
+    <xsl:call-template name="pi-attribute">
+      <xsl:with-param name="pis"
+                      select="."/>
+      <xsl:with-param name="attribute" select="'topicid'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:text>#define </xsl:text>
+  <xsl:value-of select="$topicname"/>
+  <xsl:text>&#9;</xsl:text>
+  <xsl:value-of select="$topicid"/>
+  <xsl:text>&#xA;</xsl:text>
+</xsl:template>
+
+<xsl:template match="text()" mode="hh-map"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="hh-alias">
+  <xsl:call-template name="write.text.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="$htmlhelp.alias.file"/>
+    </xsl:with-param>
+    <xsl:with-param name="method" select="'text'"/>
+    <xsl:with-param name="content">
+     <xsl:choose>
+       <xsl:when test="$rootid != ''">
+         <xsl:apply-templates select="key('id',$rootid)" mode="hh-alias"/>
+       </xsl:when>
+       <xsl:otherwise>
+         <xsl:apply-templates select="/" mode="hh-alias"/>
+       </xsl:otherwise>
+     </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="encoding" select="$htmlhelp.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="processing-instruction('dbhh')" mode="hh-alias">
+  <xsl:variable name="topicname">
+    <xsl:call-template name="pi-attribute">
+      <xsl:with-param name="pis"
+                      select="."/>
+      <xsl:with-param name="attribute" select="'topicname'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="href">
+    <xsl:call-template name="href.target.with.base.dir">
+      <xsl:with-param name="object" select=".."/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:value-of select="$topicname"/>
+  <xsl:text>=</xsl:text>
+  <!-- Some versions of HH doesn't like fragment identifires, but some does. -->
+  <!-- <xsl:value-of select="substring-before(concat($href, '#'), '#')"/> -->
+  <xsl:value-of select="$href"/>
+  <xsl:text>&#xA;</xsl:text>
+</xsl:template>
+
+<xsl:template match="text()" mode="hh-alias"/>
+
+<!-- ==================================================================== -->
+<!-- This code can be used to convert any number to hexadecimal format -->
+
+  <h:hex>
+    <d>0</d>
+    <d>1</d>
+    <d>2</d>
+    <d>3</d>
+    <d>4</d>
+    <d>5</d>
+    <d>6</d>
+    <d>7</d>
+    <d>8</d>
+    <d>9</d>
+    <d>A</d>
+    <d>B</d>
+    <d>C</d>
+    <d>D</d>
+    <d>E</d>
+    <d>F</d>
+  </h:hex>
+
+  <xsl:template name="toHex">
+    <xsl:param name="n" select="0"/>
+    <xsl:param name="digit" select="$n mod 16"/>
+    <xsl:param name="rest" select="floor($n div 16)"/>
+    <xsl:if test="$rest > 0">
+      <xsl:call-template name="toHex">
+        <xsl:with-param name="n" select="$rest"/>
+      </xsl:call-template>
+    </xsl:if>
+    <xsl:value-of select="document('')//h:hex/d[$digit+1]"/>
+  </xsl:template>
+
+<!-- ==================================================================== -->
+<!-- Modification to standard HTML stylesheets -->
+
+<!-- There are links from ToC pane to bibliodivs, so there must be anchor -->
+<xsl:template match="bibliodiv/title">
+  <h3 class="{name(.)}">
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select=".."/>
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </h3>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/htmlhelp/htmlhelp.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/htmlhelp/htmlhelp.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/htmlhelp/htmlhelp.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:set="http://exslt.org/sets"
+		version="1.0"
+                exclude-result-prefixes="doc exsl set">
+
+<!-- ********************************************************************
+     $Id: htmlhelp.xsl 1676 2002-06-12 13:21:54Z kosek $
+     ******************************************************************** 
+
+     This file is used by htmlhelp.xsl if you want to generate source
+     files for HTML Help.  It is based on the XSL DocBook Stylesheet
+     distribution (especially on JavaHelp code) from Norman Walsh.
+
+     ******************************************************************** -->
+
+<xsl:import href="../html/chunk.xsl"/>
+<xsl:include href="htmlhelp-common.xsl"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/htmlhelp/profile-htmlhelp-common.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/htmlhelp/profile-htmlhelp-common.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/htmlhelp/profile-htmlhelp-common.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1055 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by xsl2profile-->
+<!--from the DocBook XSL stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:exsl="http://exslt.org/common" xmlns:set="http://exslt.org/sets" xmlns:h="urn:x-hex" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exslt="http://exslt.org/common" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" version="1.0" exclude-result-prefixes="doc exsl set h db ng exslt">
+
+<!-- ********************************************************************
+     $Id: htmlhelp-common.xsl 6156 2006-08-13 07:06:50Z bobstayton $
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- Customizations of standard HTML stylesheet parameters -->
+
+<!-- no navigation on pages by default, HTML Help provides its own navigation controls -->
+<xsl:param name="suppress.navigation" select="1"/>
+
+<!-- no separate HTML page with index, index is built inside CHM index pane -->
+<xsl:param name="generate.index" select="0"/>
+
+<!-- ==================================================================== -->
+
+<xsl:param name="htmlhelp.generate.index" select="//indexterm[1]"/>
+
+<!-- Set up HTML Help flag -->
+<xsl:variable name="htmlhelp.output" select="1"/>
+
+<xsl:variable name="raw.help.title">
+  <xsl:choose>
+    <xsl:when test="$htmlhelp.title = ''">
+      <xsl:choose>
+        <xsl:when test="$rootid != ''">
+          <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="title.markup"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$profiled-nodes/*" mode="title.markup"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$htmlhelp.title"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:variable>
+
+<xsl:variable name="help.title" select="normalize-space($raw.help.title)"/>
+  
+<!-- ==================================================================== -->
+
+<xslo:include xmlns:xslo="http://www.w3.org/1999/XSL/Transform" href="../profiling/profile-mode.xsl"/><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-content"><xslo:choose><xslo:when test="*/self::ng:* or */self::db:*"><xslo:message>Stripping NS from DocBook 5/NG document.</xslo:message><xslo:variable name="stripped-content"><xslo:apply-templates select="/" mode="stripNS"/></xslo:variable><xslo:message>Processing stripped document.</xslo:message><xslo:apply-templates select="exslt:node-set($stripped-content)" mode="profile"/></xslo:when><xslo:otherwise><xslo:apply-templates select="/" mode="profile"/></xslo:otherwise></xslo:choose></xslo:variable><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-nodes" select="exslt:node-set($profiled-content)"/><xsl:template match="/">
+  <xsl:if test="$htmlhelp.only != 1">
+    <xsl:choose>
+      <xsl:when test="$rootid != ''">
+        <xsl:choose>
+          <xsl:when test="count($profiled-nodes//*[@id=$rootid]) = 0">
+            <xsl:message terminate="yes">
+              <xsl:text>ID '</xsl:text>
+              <xsl:value-of select="$rootid"/>
+              <xsl:text>' not found in document.</xsl:text>
+            </xsl:message>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:message>Formatting from <xsl:value-of select="$rootid"/></xsl:message>
+            <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="process.root"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="$profiled-nodes" mode="process.root"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+
+  <xsl:call-template name="hhp"/>
+  <xsl:call-template name="hhc"/>
+  <xsl:if test="($rootid = '' and //processing-instruction('dbhh')) or                 ($rootid != '' and $profiled-nodes//*[@id=$rootid]//processing-instruction('dbhh'))">
+    <xsl:call-template name="hh-map"/>
+    <xsl:call-template name="hh-alias"/>
+  </xsl:if>
+  <xsl:if test="$htmlhelp.generate.index">
+    <xsl:call-template name="hhk"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="hhp">
+  <xsl:call-template name="write.text.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="$htmlhelp.hhp"/>
+    </xsl:with-param>
+    <xsl:with-param name="method" select="'text'"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="hhp-main"/>
+    </xsl:with-param>
+    <xsl:with-param name="encoding" select="$htmlhelp.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<xsl:template name="hhp-main">
+<xsl:variable name="default.topic">
+  <xsl:choose>
+    <xsl:when test="$htmlhelp.default.topic != ''">
+      <xsl:value-of select="$htmlhelp.default.topic"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.dir">
+          <xsl:if test="$manifest.in.base.dir = 0">
+            <xsl:value-of select="$base.dir"/>
+          </xsl:if>
+        </xsl:with-param>
+        <xsl:with-param name="base.name">
+          <xsl:choose>
+            <xsl:when test="$rootid != ''">
+              <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="chunk-filename"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="$profiled-nodes" mode="chunk-filename"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:variable>
+<xsl:variable name="xnavigation">
+  <xsl:text>0x</xsl:text>
+  <xsl:call-template name="toHex">
+    <xsl:with-param name="n" select="9504 + $htmlhelp.show.menu * 65536                                           + $htmlhelp.show.advanced.search * 131072                                           + $htmlhelp.show.favorities * 4096                                           + (1 - $htmlhelp.show.toolbar.text) * 64                                           + $htmlhelp.remember.window.position * 262144"/>
+  </xsl:call-template>
+</xsl:variable>
+<xsl:variable name="xbuttons">
+  <xsl:text>0x</xsl:text>
+  <xsl:call-template name="toHex">
+    <xsl:with-param name="n" select="0 + $htmlhelp.button.hideshow * 2                                        + $htmlhelp.button.back * 4                                        + $htmlhelp.button.forward * 8                                        + $htmlhelp.button.stop * 16                                        + $htmlhelp.button.refresh * 32                                        + $htmlhelp.button.home * 64                                        + $htmlhelp.button.options * 4096                                        + $htmlhelp.button.print * 8192                                        + $htmlhelp.button.locate * 2048                                        + $htmlhelp.button.jump1 * 262144                                        + $htmlhelp.button.jump2 * 524288                                        + $htmlhelp.button.next * 2097152                                        + $htmlhelp.button.prev * 4194304                                        + $htmlhelp.button.zoom * !
 1048576"/>
+  </xsl:call-template>
+</xsl:variable>
+<xsl:text>[OPTIONS]
+</xsl:text>
+<xsl:if test="$htmlhelp.generate.index">
+<xsl:text>Auto Index=Yes
+</xsl:text></xsl:if>
+<xsl:if test="$htmlhelp.hhc.binary != 0">
+<xsl:text>Binary TOC=Yes
+</xsl:text></xsl:if>
+<xsl:text>Compatibility=1.1 or later
+Compiled file=</xsl:text><xsl:value-of select="$htmlhelp.chm"/><xsl:text>
+Contents file=</xsl:text><xsl:value-of select="$htmlhelp.hhc"/><xsl:text>
+</xsl:text>
+<xsl:if test="$htmlhelp.hhp.window != ''">
+<xsl:text>Default Window=</xsl:text><xsl:value-of select="$htmlhelp.hhp.window"/><xsl:text>
+</xsl:text></xsl:if>
+<xsl:text>Default topic=</xsl:text><xsl:value-of select="$default.topic"/>
+<xsl:text>
+Display compile progress=</xsl:text>
+  <xsl:choose>
+    <xsl:when test="$htmlhelp.display.progress != 1">
+      <xsl:text>No</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>Yes</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+<xsl:text>
+Full-text search=Yes
+</xsl:text>
+<xsl:if test="$htmlhelp.generate.index">
+<xsl:text>Index file=</xsl:text><xsl:value-of select="$htmlhelp.hhk"/><xsl:text>
+</xsl:text></xsl:if>
+<xsl:text>Language=</xsl:text>
+<xsl:for-each select="*">   <!-- Change context from / to root element -->
+  <xsl:call-template name="gentext.template">
+    <xsl:with-param name="context" select="'htmlhelp'"/>
+    <xsl:with-param name="name" select="'langcode'"/>
+  </xsl:call-template>
+</xsl:for-each>
+<xsl:text>
+Title=</xsl:text>
+  <xsl:value-of select="$help.title"/>
+<xsl:text>
+Enhanced decompilation=</xsl:text>
+  <xsl:choose>
+    <xsl:when test="$htmlhelp.enhanced.decompilation != 0">
+      <xsl:text>Yes</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>No</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+
+<xsl:if test="$htmlhelp.hhp.window != ''">
+  <xsl:text>
+
+[WINDOWS]
+</xsl:text>
+<xsl:value-of select="$htmlhelp.hhp.window"/>
+<xsl:text>="</xsl:text>
+<xsl:value-of select="$help.title"/>
+<xsl:text>","</xsl:text><xsl:value-of select="$htmlhelp.hhc"/>
+<xsl:text>",</xsl:text>
+<xsl:if test="$htmlhelp.generate.index">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.hhk"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,"</xsl:text>
+<xsl:value-of select="$default.topic"/>
+<xsl:text>",</xsl:text>
+<xsl:text>"</xsl:text>
+<xsl:choose>
+  <xsl:when test="$htmlhelp.button.home != 0">
+    <xsl:value-of select="$htmlhelp.button.home.url"/>
+  </xsl:when>
+  <xsl:otherwise>
+    <xsl:value-of select="$default.topic"/>
+  </xsl:otherwise>
+</xsl:choose>
+<xsl:text>"</xsl:text>
+<xsl:text>,</xsl:text>
+<xsl:if test="$htmlhelp.button.jump1 != 0">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.button.jump1.url"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,</xsl:text>
+<xsl:if test="$htmlhelp.button.jump1 != 0">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.button.jump1.title"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,</xsl:text>
+<xsl:if test="$htmlhelp.button.jump2 != 0">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.button.jump2.url"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,</xsl:text>
+<xsl:if test="$htmlhelp.button.jump2 != 0">
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="$htmlhelp.button.jump2.title"/>
+  <xsl:text>"</xsl:text>
+</xsl:if>
+<xsl:text>,</xsl:text>
+<xsl:value-of select="$xnavigation"/>
+<xsl:text>,</xsl:text><xsl:value-of select="$htmlhelp.hhc.width"/><xsl:text>,</xsl:text>
+<xsl:value-of select="$xbuttons"/>
+<xsl:text>,</xsl:text><xsl:value-of select="$htmlhelp.window.geometry"/><xsl:text>,,,,,,,0
+</xsl:text>
+</xsl:if>
+
+<!-- 
+  Needs more investigation to generate propetly all fields 
+<xsl:text>search="</xsl:text>
+<xsl:value-of select="normalize-space(//title[1])"/>
+<xsl:text>","toc.hhc","index.hhk","</xsl:text>
+<xsl:value-of select="$root.filename"/>
+<xsl:text>.html","</xsl:text>
+<xsl:value-of select="$root.filename"/>
+<xsl:text>.html",,,,,</xsl:text>
+<xsl:value-of select="$xnavigation"/>
+<xsl:text>,</xsl:text>
+<xsl:value-of select="$htmlhelp.hhc.width"/>
+<xsl:text>,</xsl:text>
+<xsl:value-of select="$xbuttons"/>
+<xsl:text>,</xsl:text>
+<xsl:value-of select="$htmlhelp.window.geometry"/>
+<xsl:text>,,,,,2,,0
+</xsl:text>
+-->
+
+<xsl:if test="$htmlhelp.hhp.windows">
+  <xsl:value-of select="$htmlhelp.hhp.windows"/>
+</xsl:if>
+<xsl:text>
+
+[FILES]
+</xsl:text>
+
+<xsl:choose>
+  <xsl:when test="$rootid != ''">
+    <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="enumerate-files"/>
+  </xsl:when>
+  <xsl:otherwise>
+    <xsl:apply-templates select="$profiled-nodes" mode="enumerate-files"/>
+  </xsl:otherwise>
+</xsl:choose>
+
+<xsl:if test="$htmlhelp.enumerate.images">
+  <xsl:variable name="imagelist">
+    <xsl:choose>
+      <xsl:when test="$rootid != ''">
+        <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="enumerate-images"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="$profiled-nodes" mode="enumerate-images"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set') and function-available('set:distinct')">
+      <xsl:for-each select="set:distinct(exsl:node-set($imagelist)/filename)">
+        <xsl:value-of select="."/>
+        <xsl:text>
+</xsl:text>
+      </xsl:for-each>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$imagelist"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:if>
+
+<xsl:if test="($htmlhelp.force.map.and.alias != 0) or                ($rootid = '' and //processing-instruction('dbhh')) or               ($rootid != '' and $profiled-nodes//*[@id=$rootid]//processing-instruction('dbhh'))">
+  <xsl:text>
+[ALIAS]
+#include </xsl:text><xsl:value-of select="$htmlhelp.alias.file"/><xsl:text>
+
+[MAP]
+#include </xsl:text><xsl:value-of select="$htmlhelp.map.file"/><xsl:text>
+</xsl:text>
+</xsl:if>
+
+<xsl:value-of select="$htmlhelp.hhp.tail"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="graphic|inlinegraphic[@format!='linespecific']" mode="enumerate-images">
+  <xsl:call-template name="write.filename.enumerate-images">
+    <xsl:with-param name="filename">
+      <xsl:call-template name="mediaobject.filename.enumerate-images">
+        <xsl:with-param name="object" select="."/>
+      </xsl:call-template>  
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="mediaobject|inlinemediaobject" mode="enumerate-images">
+  <xsl:call-template name="select.mediaobject.enumerate-images"/>
+</xsl:template>
+
+<xsl:template name="select.mediaobject.enumerate-images">
+  <xsl:param name="olist" select="imageobject|imageobjectco                      |videoobject|audioobject|textobject"/>
+  <xsl:param name="count">1</xsl:param>
+
+  <xsl:if test="$count &lt;= count($olist)">
+    <xsl:variable name="object" select="$olist[position()=$count]"/>
+
+    <xsl:variable name="useobject">
+      <xsl:choose>
+	<!-- The phrase is never used -->
+        <xsl:when test="name($object)='textobject' and $object/phrase">
+          <xsl:text>0</xsl:text>
+        </xsl:when>
+	<!-- The first textobject is a reasonable fallback (but not for image in HH) -->
+        <xsl:when test="name($object)='textobject'">
+          <xsl:text>0</xsl:text>
+        </xsl:when>
+	<!-- If there's only one object, use it -->
+	<xsl:when test="$count = 1 and count($olist) = 1">
+	  <xsl:text>1</xsl:text>
+	</xsl:when>
+	<!-- Otherwise, see if this one is a useable graphic -->
+        <xsl:otherwise>
+          <xsl:choose>
+            <!-- peek inside imageobjectco to simplify the test -->
+            <xsl:when test="local-name($object) = 'imageobjectco'">
+              <xsl:call-template name="is.acceptable.mediaobject">
+                <xsl:with-param name="object" select="$object/imageobject"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:call-template name="is.acceptable.mediaobject">
+                <xsl:with-param name="object" select="$object"/>
+              </xsl:call-template>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:choose>
+      <xsl:when test="$useobject='1' and $object[not(*/@format='linespecific')]">
+        <xsl:call-template name="write.filename.enumerate-images">
+          <xsl:with-param name="filename">
+            <xsl:call-template name="mediaobject.filename.enumerate-images">
+              <xsl:with-param name="object" select="$object"/>
+            </xsl:call-template>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="select.mediaobject.enumerate-images">
+          <xsl:with-param name="olist" select="$olist"/>
+          <xsl:with-param name="count" select="$count + 1"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="mediaobject.filename.enumerate-images">
+  <xsl:param name="object"/>
+
+  <xsl:variable name="urifilename">
+    <xsl:call-template name="mediaobject.filename">
+      <xsl:with-param name="object" select="$object"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="starts-with($urifilename, 'file:/')">
+	<xsl:value-of select="substring-after($urifilename, 'file:/')"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:value-of select="$urifilename"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:value-of select="translate($filename, '/', '\')"/>
+
+</xsl:template>
+
+<xsl:template match="text()" mode="enumerate-images">
+</xsl:template>
+
+<xsl:template name="write.filename.enumerate-images">
+  <xsl:param name="filename"/>
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set') and function-available('set:distinct')">
+      <filename><xsl:value-of select="$filename"/></filename>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$filename"/>
+      <xsl:text>
+</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- HHC and HHK files are processed by compiler line by line
+     and therefore are very sensitive to whitespaces (linefeeds for sure).  -->
+
+<xsl:template name="hhc">
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="$htmlhelp.hhc"/>
+    </xsl:with-param>
+    <xsl:with-param name="indent" select="'no'"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="hhc-main"/>
+    </xsl:with-param>
+    <xsl:with-param name="encoding" select="$htmlhelp.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="hhc-main">
+<HTML><xsl:text>
+</xsl:text>
+ <HEAD/><xsl:text>
+</xsl:text>
+ <BODY><xsl:text>
+</xsl:text>
+  <xsl:if test="$htmlhelp.hhc.folders.instead.books != 0">
+   <OBJECT type="text/site properties"><xsl:text>
+</xsl:text>
+     <param name="ImageType" value="Folder"/><xsl:text>
+</xsl:text>
+   </OBJECT><xsl:text>
+</xsl:text>
+  </xsl:if>
+  <xsl:variable name="content">
+    <xsl:choose>
+      <xsl:when test="$rootid != ''">
+	<xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="hhc"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:apply-templates select="$profiled-nodes" mode="hhc"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$htmlhelp.hhc.show.root != 0">
+      <UL><xsl:text>
+</xsl:text>
+        <xsl:copy-of select="$content"/>
+      </UL><xsl:text>
+</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+    <xsl:copy-of select="$content"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+ </BODY>
+</HTML>
+</xsl:template>
+
+<xsl:template name="hhc.entry">
+  <xsl:param name="title">
+    <xsl:if test="$htmlhelp.autolabel=1">
+      <xsl:variable name="label.markup">
+        <xsl:apply-templates select="." mode="label.markup"/>
+      </xsl:variable>
+      <xsl:if test="normalize-space($label.markup)">
+        <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/>
+      </xsl:if>
+    </xsl:if>
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:param>
+
+  <LI><OBJECT type="text/sitemap"><xsl:text>
+</xsl:text>
+    <param name="Name">
+      <xsl:attribute name="value">
+          <xsl:value-of select="normalize-space($title)"/>
+      </xsl:attribute>
+    </param><xsl:text>
+</xsl:text>
+    <param name="Local">
+      <xsl:attribute name="value">
+          <xsl:call-template name="href.target.with.base.dir"/>
+      </xsl:attribute>
+    </param>
+  </OBJECT></LI><xsl:text>
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="set" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="book">
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <UL>
+      <xsl:if test="contains($toc.params, 'toc') and $htmlhelp.hhc.show.root = 0">
+      <LI><OBJECT type="text/sitemap"><xsl:text>
+</xsl:text>
+          <param name="Name">
+            <xsl:attribute name="value">
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'TableofContents'"/>
+            </xsl:call-template>
+            </xsl:attribute>
+          </param><xsl:text>
+</xsl:text>
+          <param name="Local">
+            <xsl:attribute name="value">
+	      <xsl:choose>
+		<xsl:when test="$chunk.tocs.and.lots != 0">
+		  <xsl:apply-templates select="." mode="recursive-chunk-filename">
+		    <xsl:with-param name="recursive" select="true()"/>
+		  </xsl:apply-templates>
+		  <xsl:text>-toc</xsl:text>
+		  <xsl:value-of select="$html.ext"/>
+		</xsl:when>
+		<xsl:otherwise>
+		  <xsl:call-template name="href.target.with.base.dir"/>
+		</xsl:otherwise>
+	      </xsl:choose>
+	    </xsl:attribute>
+          </param>
+      </OBJECT></LI><xsl:text>
+</xsl:text>
+      </xsl:if>
+      <xsl:apply-templates select="book" mode="hhc"/>
+    </UL><xsl:text>
+</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="book" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="part|reference|preface|chapter|appendix|bibliography|article|colophon|glossary">
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <UL>
+      <xsl:if test="contains($toc.params, 'toc') and $htmlhelp.hhc.show.root = 0 and not(parent::*)">
+        <LI><OBJECT type="text/sitemap"><xsl:text>
+</xsl:text>
+            <param name="Name">
+              <xsl:attribute name="value">
+		<xsl:call-template name="gentext">
+		  <xsl:with-param name="key" select="'TableofContents'"/>
+		</xsl:call-template>
+              </xsl:attribute>
+            </param><xsl:text>
+</xsl:text>
+            <param name="Local">
+	      <xsl:attribute name="value">
+		<xsl:choose>
+		  <xsl:when test="$chunk.tocs.and.lots != 0">
+		    <xsl:apply-templates select="." mode="recursive-chunk-filename">
+		      <xsl:with-param name="recursive" select="true()"/>
+		    </xsl:apply-templates>
+		    <xsl:text>-toc</xsl:text>
+		    <xsl:value-of select="$html.ext"/>
+		  </xsl:when>
+		  <xsl:otherwise>
+		    <xsl:call-template name="href.target.with.base.dir"/>
+		  </xsl:otherwise>
+		</xsl:choose>
+	      </xsl:attribute>
+            </param>
+        </OBJECT></LI><xsl:text>
+</xsl:text>
+      </xsl:if>
+      <xsl:apply-templates select="part|reference|preface|chapter|bibliography|appendix|article|colophon|glossary" mode="hhc"/>
+    </UL><xsl:text>
+</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="part|reference|preface|chapter|bibliography|appendix|article|glossary" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="article|reference|preface|chapter|appendix|refentry|section|sect1|bibliodiv">
+    <UL><xsl:text>
+</xsl:text>
+      <xsl:apply-templates select="article|reference|preface|chapter|appendix|refentry|section|sect1|bibliodiv" mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="section" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="section[count(ancestor::section) &lt; $htmlhelp.hhc.section.depth]|refentry">
+    <UL><xsl:text>
+</xsl:text>
+      <xsl:apply-templates select="section|refentry" mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect1" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="sect2[$htmlhelp.hhc.section.depth &gt; 1]|refentry">
+    <UL><xsl:text>
+</xsl:text>
+      <xsl:apply-templates select="sect2|refentry" mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect2" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="sect3[$htmlhelp.hhc.section.depth &gt; 2]|refentry">
+    <UL><xsl:text>
+</xsl:text>
+      <xsl:apply-templates select="sect3|refentry" mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect3" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="sect4[$htmlhelp.hhc.section.depth &gt; 3]|refentry">
+    <UL><xsl:text>
+</xsl:text>
+      <xsl:apply-templates select="sect4|refentry" mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect4" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="sect5[$htmlhelp.hhc.section.depth &gt; 4]|refentry">
+    <UL><xsl:text>
+</xsl:text>
+      <xsl:apply-templates select="sect5|refentry" mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="sect5|refentry|colophon|bibliodiv" mode="hhc">
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <xsl:call-template name="hhc.entry"/>
+  </xsl:if>
+  <xsl:if test="refentry">
+    <UL><xsl:text>
+</xsl:text>
+      <xsl:apply-templates select="refentry" mode="hhc"/>
+    </UL>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="indexterm">
+  <xsl:choose>
+    <xsl:when test="$htmlhelp.use.hhk = 0">
+  
+      <xsl:variable name="primary" select="normalize-space(primary)"/>
+      <xsl:variable name="secondary" select="normalize-space(secondary)"/>
+      <xsl:variable name="tertiary" select="normalize-space(tertiary)"/>
+      
+      <xsl:variable name="text">
+        <xsl:value-of select="$primary"/>
+        <xsl:if test="secondary">
+          <xsl:text>, </xsl:text>
+          <xsl:value-of select="$secondary"/>
+        </xsl:if>
+        <xsl:if test="tertiary">
+          <xsl:text>, </xsl:text>
+          <xsl:value-of select="$tertiary"/>
+        </xsl:if>
+      </xsl:variable>
+      
+      <xsl:if test="secondary">
+        <xsl:if test="not(//indexterm[normalize-space(primary)=$primary and not(secondary)])">
+          <xsl:call-template name="write.indexterm">
+            <xsl:with-param name="text" select="$primary"/>
+          </xsl:call-template>
+        </xsl:if>
+      </xsl:if>
+
+      <xsl:if test="tertiary">
+        <xsl:if test="not(//indexterm[normalize-space(primary)=$primary and                          normalize-space(secondary)=$secondary and not(tertiary)])">
+          <xsl:call-template name="write.indexterm">
+            <xsl:with-param name="text" select="concat($primary, ', ', $secondary)"/>
+          </xsl:call-template>
+        </xsl:if>
+      </xsl:if>
+      
+      <xsl:call-template name="write.indexterm">
+        <xsl:with-param name="text" select="$text"/>
+      </xsl:call-template>
+      
+    </xsl:when>
+    <xsl:otherwise>
+      <a>
+        <xsl:attribute name="name">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </a>
+    </xsl:otherwise>
+    
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="write.indexterm">
+  <xsl:param name="text"/>
+  <OBJECT type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
+    <param name="Keyword" value="{$text}"/>
+  </OBJECT>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="hhk">
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="$htmlhelp.hhk"/>
+    </xsl:with-param>
+    <xsl:with-param name="indent" select="'no'"/>
+    <xsl:with-param name="content"><xsl:text disable-output-escaping="yes">&lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
+&lt;HTML&gt;
+&lt;HEAD&gt;
+&lt;meta name="GENERATOR" content="Microsoft&amp;reg; HTML Help Workshop 4.1"&gt;
+&lt;!-- Sitemap 1.0 --&gt;
+&lt;/HEAD&gt;&lt;BODY&gt;
+&lt;OBJECT type="text/site properties"&gt;
+&lt;/OBJECT&gt;
+&lt;UL&gt;
+</xsl:text>
+<xsl:if test="($htmlhelp.use.hhk != 0) and $htmlhelp.generate.index">
+  <xsl:choose>
+    <xsl:when test="$rootid != ''">
+      <xsl:apply-templates select="key('id',$rootid)" mode="hhk"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="/" mode="hhk"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:if>
+<xsl:text disable-output-escaping="yes">&lt;/UL&gt;
+&lt;/BODY&gt;&lt;/HTML&gt;
+</xsl:text></xsl:with-param>
+    <xsl:with-param name="encoding" select="$htmlhelp.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="indexterm[@class='endofrange']" mode="hhk"/>
+
+<xsl:template match="indexterm" mode="hhk">
+  <xsl:variable name="primary" select="normalize-space(primary)"/>
+  <xsl:variable name="secondary" select="normalize-space(secondary)"/>
+  <xsl:variable name="tertiary" select="normalize-space(tertiary)"/>
+
+  <xsl:call-template name="write.indexterm.hhk">
+    <xsl:with-param name="text" select="$primary"/>
+    <xsl:with-param name="seealso" select="seealso"/>
+  </xsl:call-template>
+
+  <xsl:if test="secondary">
+    <xsl:if test="not(//indexterm[normalize-space(primary)=$primary and not(secondary)])">
+      <xsl:call-template name="write.indexterm.hhk">
+        <!-- We must create fake entry when there is secondary without primary --> 
+        <xsl:with-param name="text" select="$primary"/>
+        <xsl:with-param name="seealso" select="$primary"/>
+      </xsl:call-template>
+    </xsl:if>
+    <UL>
+    <xsl:call-template name="write.indexterm.hhk">
+      <xsl:with-param name="text" select="$secondary"/>
+      <xsl:with-param name="seealso" select="secondary/seealso"/>
+    </xsl:call-template>
+    <xsl:if test="tertiary">
+      <UL><xsl:text>
+</xsl:text>
+      <xsl:call-template name="write.indexterm.hhk">
+        <xsl:with-param name="text" select="$tertiary"/>
+        <xsl:with-param name="seealso" select="tertiary/seealso"/>
+      </xsl:call-template>
+      </UL>
+    </xsl:if>
+    </UL>
+  </xsl:if>
+
+</xsl:template>
+
+<xsl:template name="write.indexterm.hhk">
+  <xsl:param name="text"/>
+  <xsl:param name="seealso"/>
+
+  <LI> <OBJECT type="text/sitemap"><xsl:text>
+</xsl:text>
+    <param name="Name">
+      <xsl:attribute name="value">
+        <xsl:value-of select="$text"/>
+      </xsl:attribute>
+    </param><xsl:text>
+</xsl:text>
+
+      <xsl:if test="not(seealso)">
+        <xsl:variable name="href">
+          <xsl:call-template name="href.target.with.base.dir"/>
+        </xsl:variable>
+        <xsl:variable name="title">
+	  <xsl:call-template name="nearest.title">
+	    <xsl:with-param name="object" select=".."/>
+	  </xsl:call-template>
+        </xsl:variable>
+
+        <param name="Name">
+          <xsl:attribute name="value">
+          <xsl:value-of select="$title"/>
+          </xsl:attribute>
+        </param><xsl:text>
+</xsl:text>
+        <param name="Local">
+          <xsl:attribute name="value">
+          <xsl:value-of select="$href"/>
+          </xsl:attribute>
+        </param><xsl:text>
+</xsl:text>
+      </xsl:if>
+
+      <xsl:if test="seealso">
+        <param name="See Also">
+          <xsl:attribute name="value">
+          <xsl:value-of select="$seealso"/>
+          </xsl:attribute>
+        </param><xsl:text>
+</xsl:text>
+      </xsl:if>
+      </OBJECT></LI>
+</xsl:template>
+
+<xsl:template match="text()" mode="hhk"/>
+
+<xsl:template name="nearest.title">
+  <xsl:param name="object"/>
+  <xsl:apply-templates select="$object/ancestor-or-self::*[title][1]" mode="title.markup"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="hh-map">
+  <xsl:call-template name="write.text.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="$htmlhelp.map.file"/>
+    </xsl:with-param>
+    <xsl:with-param name="method" select="'text'"/>
+    <xsl:with-param name="content">
+     <xsl:choose>
+       <xsl:when test="$rootid != ''">
+         <xsl:apply-templates select="key('id',$rootid)" mode="hh-map"/>
+       </xsl:when>
+       <xsl:otherwise>
+         <xsl:apply-templates select="/" mode="hh-map"/>
+       </xsl:otherwise>
+     </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="encoding" select="$htmlhelp.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="processing-instruction('dbhh')" mode="hh-map">
+  <xsl:variable name="topicname">
+    <xsl:call-template name="pi-attribute">
+      <xsl:with-param name="pis" select="."/>
+      <xsl:with-param name="attribute" select="'topicname'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="topicid">
+    <xsl:call-template name="pi-attribute">
+      <xsl:with-param name="pis" select="."/>
+      <xsl:with-param name="attribute" select="'topicid'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:text>#define </xsl:text>
+  <xsl:value-of select="$topicname"/>
+  <xsl:text>	</xsl:text>
+  <xsl:value-of select="$topicid"/>
+  <xsl:text>
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="text()" mode="hh-map"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="hh-alias">
+  <xsl:call-template name="write.text.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="$htmlhelp.alias.file"/>
+    </xsl:with-param>
+    <xsl:with-param name="method" select="'text'"/>
+    <xsl:with-param name="content">
+     <xsl:choose>
+       <xsl:when test="$rootid != ''">
+         <xsl:apply-templates select="key('id',$rootid)" mode="hh-alias"/>
+       </xsl:when>
+       <xsl:otherwise>
+         <xsl:apply-templates select="/" mode="hh-alias"/>
+       </xsl:otherwise>
+     </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="encoding" select="$htmlhelp.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="processing-instruction('dbhh')" mode="hh-alias">
+  <xsl:variable name="topicname">
+    <xsl:call-template name="pi-attribute">
+      <xsl:with-param name="pis" select="."/>
+      <xsl:with-param name="attribute" select="'topicname'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="href">
+    <xsl:call-template name="href.target.with.base.dir">
+      <xsl:with-param name="object" select=".."/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:value-of select="$topicname"/>
+  <xsl:text>=</xsl:text>
+  <!-- Some versions of HH doesn't like fragment identifires, but some does. -->
+  <!-- <xsl:value-of select="substring-before(concat($href, '#'), '#')"/> -->
+  <xsl:value-of select="$href"/>
+  <xsl:text>
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="text()" mode="hh-alias"/>
+
+<!-- ==================================================================== -->
+<!-- This code can be used to convert any number to hexadecimal format -->
+
+  <h:hex>
+    <d>0</d>
+    <d>1</d>
+    <d>2</d>
+    <d>3</d>
+    <d>4</d>
+    <d>5</d>
+    <d>6</d>
+    <d>7</d>
+    <d>8</d>
+    <d>9</d>
+    <d>A</d>
+    <d>B</d>
+    <d>C</d>
+    <d>D</d>
+    <d>E</d>
+    <d>F</d>
+  </h:hex>
+
+  <xsl:template name="toHex">
+    <xsl:param name="n" select="0"/>
+    <xsl:param name="digit" select="$n mod 16"/>
+    <xsl:param name="rest" select="floor($n div 16)"/>
+    <xsl:if test="$rest &gt; 0">
+      <xsl:call-template name="toHex">
+        <xsl:with-param name="n" select="$rest"/>
+      </xsl:call-template>
+    </xsl:if>
+    <xsl:value-of select="document('')//h:hex/d[$digit+1]"/>
+  </xsl:template>
+
+<!-- ==================================================================== -->
+<!-- Modification to standard HTML stylesheets -->
+
+<!-- There are links from ToC pane to bibliodivs, so there must be anchor -->
+<xsl:template match="bibliodiv/title">
+  <h3 class="{name(.)}">
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select=".."/>
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </h3>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/htmlhelp/profile-htmlhelp.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/htmlhelp/profile-htmlhelp.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/htmlhelp/profile-htmlhelp.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:set="http://exslt.org/sets"
+		version="1.0"
+                exclude-result-prefixes="doc exsl set">
+
+<!-- ********************************************************************
+     $Id: profile-htmlhelp.xsl 1676 2002-06-12 13:21:54Z kosek $
+     ******************************************************************** 
+
+     This file is used by htmlhelp.xsl if you want to generate source
+     files for HTML Help.  It is based on the XSL DocBook Stylesheet
+     distribution (especially on JavaHelp code) from Norman Walsh.
+
+     ******************************************************************** -->
+
+<xsl:import href="../html/chunk.xsl"/>
+<xsl:include href="profile-htmlhelp-common.xsl"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/images/blank.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/blank.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/1.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/1.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/1.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/1.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/10.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/10.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/10.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/10.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/11.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/11.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/11.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/11.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/12.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/12.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/12.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/12.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/13.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/13.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/13.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/13.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/14.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/14.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/14.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/14.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/15.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/15.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/15.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/15.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/2.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/2.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/2.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/2.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/3.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/3.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/3.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/3.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/4.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/4.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/4.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/4.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/5.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/5.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/5.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/5.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/6.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/6.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/6.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/6.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/7.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/7.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/7.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/7.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/8.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/8.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/8.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/8.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/9.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/9.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/callouts/9.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/callouts/9.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/caution.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/caution.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/caution.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/caution.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/caution.svg
===================================================================
--- trunk/docs/docbook/src/main/resources/images/caution.svg	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/images/caution.svg	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In  -->
+<!DOCTYPE svg [
+	<!ENTITY st0 "fill:#FFFFFF;stroke:none;">
+	<!ENTITY st1 "fill:#FFFFFF;stroke-width:6.6112;stroke-linecap:round;stroke-linejoin:round;">
+	<!ENTITY st2 "stroke:#FFFFFF;stroke-width:6.6112;">
+	<!ENTITY st3 "fill:none;stroke:none;">
+	<!ENTITY st4 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+	<!ENTITY st5 "stroke:none;">
+]>
+<svg  width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+	<g id="Layer_x0020_3" style="&st4;">
+		<g>
+			<path style="&st2;" d="M41.7,35.3L26.6,9.4c-0.6-1-1.7-1.7-2.9-1.6c-1.2,0-2.3,0.7-2.9,1.7L6.3,35.4c-0.6,1-0.6,2.3,0,3.3c0.6,1,1.7,1.6,2.9,1.6h29.6c1.2,0,2.3-0.6,2.9-1.7c0.6-1,0.6-2.3,0-3.3z"/>
+			<path style="&st1;" d="M23.7,11L9.2,37h29.6L23.7,11z"/>
+			<path style="&st0;" d="M23.7,11.9L10.3,36.1h27.5l-14-24.1z"/>
+			<g>
+				<path style="&st5;" d="M24.1,34c-1.1,0-1.8-0.8-1.8-1.8c0-1.1,0.7-1.8,1.8-1.8c1.1,0,1.8,0.7,1.8,1.8c0,1-0.7,1.8-1.8,1.8h0z M22.9,29.3l-0.4-9.1h3.2l-0.4,9.1h-2.3z"/>
+			</g>
+		</g>
+	</g>
+	<g id="crop_x0020_marks" style="&st4;">
+		<path style="&st3;" d="M48,48H0V0h48v48z"/>
+	</g>
+</svg>

Added: trunk/docs/docbook/src/main/resources/images/caution.tif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/caution.tif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/draft.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/draft.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/home.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/home.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/home.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/home.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/home.svg
===================================================================
--- trunk/docs/docbook/src/main/resources/images/home.svg	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/images/home.svg	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In  -->
+<!DOCTYPE svg [
+	<!ENTITY st0 "fill-rule:nonzero;clip-rule:nonzero;fill:#FFFFFF;stroke:#000000;stroke-miterlimit:4;">
+	<!ENTITY st1 "fill:none;stroke:none;">
+	<!ENTITY st2 "fill:#000000;">
+	<!ENTITY st3 "fill:none;stroke:#FFFFFF;stroke-width:6.3469;stroke-linejoin:round;">
+	<!ENTITY st4 "fill-rule:evenodd;clip-rule:evenodd;stroke:none;">
+	<!ENTITY st5 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+]>
+<svg  width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+	<g id="Layer_x0020_3" style="&st0;">
+		<g style="&st4;">
+			<path style="&st3;" d="M22.9,7.1L5.1,21.8l0,0c-0.3,0.3-0.5,0.8-0.5,1.2c0,0.2,0,0.4,0.1,0.6c0.3,0.6,0.9,1,1.6,1c0,0,1.1,0,2.2,0c0,2.4,0,14.2,0,14.2c0,1.1,0.8,1.9,1.8,1.9h27.4c1.1,0,1.9-0.9,1.9-2c0,0,0-11.8,0-14.2c1,0,2,0,2,0c0.8,0,1.4-0.5,1.7-1.2
+				c0.1-0.2,0.1-0.4,0.1-0.6c0-0.5-0.2-1-0.7-1.4c0,0-3.6-3-4.5-3.7c0-1.2,0-6.9,0-6.9c0-1.2-0.8-2-2-2h-4.8c-1,0-1.7,0.6-1.9,1.5c-1.9-1.6-4.1-3.5-4.1-3.5l0.1,0.1c-0.7-0.7-1.8-0.8-2.7-0.1z"/>
+			<path style="&st2;" d="M22.9,7.1L5.1,21.8l0,0c-0.3,0.3-0.5,0.8-0.5,1.2c0,0.2,0,0.4,0.1,0.6c0.3,0.6,0.9,1,1.6,1c0,0,1.1,0,2.2,0c0,2.4,0,14.2,0,14.2c0,1.1,0.8,1.9,1.8,1.9h27.4c1.1,0,1.9-0.9,1.9-2c0,0,0-11.8,0-14.2c1,0,2,0,2,0c0.8,0,1.4-0.5,1.7-1.2
+				c0.1-0.2,0.1-0.4,0.1-0.6c0-0.5-0.2-1-0.7-1.4c0,0-3.6-3-4.5-3.7c0-1.2,0-6.9,0-6.9c0-1.2-0.8-2-2-2h-4.8c-1,0-1.7,0.6-1.9,1.5c-1.9-1.6-4.1-3.5-4.1-3.5l0.1,0.1c-0.7-0.7-1.8-0.8-2.7-0.1z"/>
+			<path style="&st2;" d="M41.8,22.8l-5.1-4.2v-0.1L31,13.7v0l-6.5-5.5C24.2,8,24,8,23.8,8.2L6.2,22.9c-0.1,0.1-0.1,0.3,0.1,0.3h1.6H10h28.1h1.2h2.3c0.2,0,0.4-0.2,0.2-0.4z"/>
+			<path d="M35.8,16.8l0-5.1c0-0.2-0.1-0.4-0.3-0.4h-3.2c-0.2,0-0.3,0.1-0.3,0.3v2.2l3.9,2.9z"/>
+			<path d="M11.9,24.7V37c0,0.3,0.1,0.4,0.3,0.4h23.6c0.3,0,0.4-0.2,0.4-0.4V24.7H11.9z"/>
+		</g>
+	</g>
+	<g id="crop_x0020_marks" style="&st5;">
+		<path style="&st1;" d="M48,48H0V0h48v48z"/>
+	</g>
+</svg>

Added: trunk/docs/docbook/src/main/resources/images/important.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/important.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/important.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/important.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/important.svg
===================================================================
--- trunk/docs/docbook/src/main/resources/images/important.svg	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/images/important.svg	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In  -->
+<!DOCTYPE svg [
+	<!ENTITY st0 "fill:#FFFFFF;stroke:none;">
+	<!ENTITY st1 "fill:#FFFFFF;stroke-width:6.6112;stroke-linecap:round;stroke-linejoin:round;">
+	<!ENTITY st2 "stroke:#FFFFFF;stroke-width:6.6112;">
+	<!ENTITY st3 "fill:none;stroke:none;">
+	<!ENTITY st4 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+	<!ENTITY st5 "stroke:none;">
+]>
+<svg  width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+	<g id="Layer_x0020_3" style="&st4;">
+		<g>
+			<path style="&st2;" d="M41.7,35.3L26.6,9.4c-0.6-1-1.7-1.7-2.9-1.6c-1.2,0-2.3,0.7-2.9,1.7L6.3,35.4c-0.6,1-0.6,2.3,0,3.3c0.6,1,1.7,1.6,2.9,1.6h29.6c1.2,0,2.3-0.6,2.9-1.7c0.6-1,0.6-2.3,0-3.3z"/>
+			<path style="&st1;" d="M23.7,11L9.2,37h29.6L23.7,11z"/>
+			<path style="&st0;" d="M23.7,11.9L10.3,36.1h27.5l-14-24.1z"/>
+			<g>
+				<path style="&st5;" d="M24.1,34c-1.1,0-1.8-0.8-1.8-1.8c0-1.1,0.7-1.8,1.8-1.8c1.1,0,1.8,0.7,1.8,1.8c0,1-0.7,1.8-1.8,1.8h0z M22.9,29.3l-0.4-9.1h3.2l-0.4,9.1h-2.3z"/>
+			</g>
+		</g>
+	</g>
+	<g id="crop_x0020_marks" style="&st4;">
+		<path style="&st3;" d="M48,48H0V0h48v48z"/>
+	</g>
+</svg>

Added: trunk/docs/docbook/src/main/resources/images/important.tif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/important.tif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/next.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/next.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/next.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/next.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/next.svg
===================================================================
--- trunk/docs/docbook/src/main/resources/images/next.svg	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/images/next.svg	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In  -->
+<!DOCTYPE svg [
+	<!ENTITY st0 "fill:none;stroke:none;">
+	<!ENTITY st1 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:7.5901;stroke-linejoin:round;">
+	<!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+	<!ENTITY st3 "stroke:none;">
+]>
+<svg  width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+	<g id="Layer_x0020_3" style="&st2;">
+		<g>
+			<path style="&st1;" d="M22.4,41.1c0,0.3,0.3,0.3,0.5,0.2l16.6-16.9c0.5-0.5,0.4-0.7,0-1L22.9,6.7c-0.1-0.1-0.4-0.1-0.4,0.1v10H8.9c-0.3,0-0.5,0.2-0.5,0.4l0,13.3C8.4,30.9,8.6,31,9,31h13.5l-0.1,10.1z"/>
+			<path style="&st3;" d="M22.4,41.1c0,0.3,0.3,0.3,0.5,0.2l16.6-16.9c0.5-0.5,0.4-0.7,0-1L22.9,6.7c-0.1-0.1-0.4-0.1-0.4,0.1v10H8.9c-0.3,0-0.5,0.2-0.5,0.4l0,13.3C8.4,30.9,8.6,31,9,31h13.5l-0.1,10.1z"/>
+		</g>
+	</g>
+	<g id="crop_x0020_marks" style="&st2;">
+		<path style="&st0;" d="M48,48H0V0h48v48z"/>
+	</g>
+</svg>

Added: trunk/docs/docbook/src/main/resources/images/note.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/note.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/note.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/note.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/note.svg
===================================================================
--- trunk/docs/docbook/src/main/resources/images/note.svg	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/images/note.svg	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In  -->
+<!DOCTYPE svg [
+	<!ENTITY st0 "fill:none;stroke:#FFFFFF;stroke-width:12.1438;stroke-linejoin:round;">
+	<!ENTITY st1 "fill:none;stroke-width:1.2429;">
+	<!ENTITY st2 "fill:#FFFFFF;stroke:none;">
+	<!ENTITY st3 "fill:none;stroke:#FFFFFF;stroke-width:12.7649;stroke-linejoin:round;">
+	<!ENTITY st4 "fill:#FFFFFF;stroke-width:6.3824;stroke-linejoin:round;">
+	<!ENTITY st5 "fill:none;stroke:none;">
+	<!ENTITY st6 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+	<!ENTITY st7 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:12.7649;stroke-linejoin:round;">
+	<!ENTITY st8 "stroke:none;">
+	<!ENTITY st9 "fill:none;stroke-width:4.9715;stroke-linejoin:round;">
+]>
+<svg  xmlns="http://www.w3.org/2000/svg" width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve">
+	<g id="Layer_x0020_1" style="&st6;">
+		<path style="&st0;" d="M35.7,19.8v18.9H11V8.8h13.9l10.8,11z"/>
+		<path style="&st3;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/>
+		<path style="&st7;" d="M35.7,8.8H11v29.9h24.7V8.8z"/>
+		<path style="&st4;" d="M35.7,8.8H11v29.9h24.7V8.8z"/>
+		<path style="&st2;" d="M35.7,8.8H11v29.9h24.7V8.8z"/>
+	</g>
+	<g id="Layer_x0020_4" style="&st6;">
+		<path style="&st9;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/>
+		<path style="&st8;" d="M38.7,30.4L25,16.7l-7.7-3l2.7,8.7l13.3,13.4l5.4-5.4z"/>
+		<path style="&st8;" d="M20.6,14.7l-2.5,2.5L17,13.4l3.6,1.3z"/>
+		<path style="&st1;" d="M19.6,22.2l3-0.3l2.4-2.4l0.4-2.8"/>
+		<path style="&st2;" d="M20.4,14.9L18.3,17l1.6,5.2l2.7-0.3l2.4-2.4l0.3-2.4l-5-2.2z"/>
+	</g>
+	<g id="crop" style="&st6;">
+		<path style="&st5;" d="M48,48H0V0h48v48z"/>
+	</g>
+</svg>

Added: trunk/docs/docbook/src/main/resources/images/note.tif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/note.tif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/prev.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/prev.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/prev.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/prev.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/prev.svg
===================================================================
--- trunk/docs/docbook/src/main/resources/images/prev.svg	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/images/prev.svg	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In  -->
+<!DOCTYPE svg [
+	<!ENTITY st0 "fill:none;stroke:none;">
+	<!ENTITY st1 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:7.5901;stroke-linejoin:round;">
+	<!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+	<!ENTITY st3 "stroke:none;">
+]>
+<svg  width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+	<g id="Layer_x0020_3" style="&st2;">
+		<g>
+			<path style="&st1;" d="M25.6,6.9c0-0.3-0.3-0.3-0.5-0.2L8.4,23.6c-0.5,0.5-0.4,0.7,0,1l16.6,16.6c0.1,0.1,0.4,0.1,0.4-0.1v-10h13.6c0.3,0,0.5-0.2,0.5-0.4l0-13.3c0-0.3-0.2-0.5-0.5-0.5H25.5l0.1-10.1z"/>
+			<path style="&st3;" d="M25.6,6.9c0-0.3-0.3-0.3-0.5-0.2L8.4,23.6c-0.5,0.5-0.4,0.7,0,1l16.6,16.6c0.1,0.1,0.4,0.1,0.4-0.1v-10h13.6c0.3,0,0.5-0.2,0.5-0.4l0-13.3c0-0.3-0.2-0.5-0.5-0.5H25.5l0.1-10.1z"/>
+		</g>
+	</g>
+	<g id="crop_x0020_marks" style="&st2;">
+		<path style="&st0;" d="M48,48H0V0h48v48z"/>
+	</g>
+</svg>

Added: trunk/docs/docbook/src/main/resources/images/tip.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/tip.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/tip.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/tip.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/tip.svg
===================================================================
--- trunk/docs/docbook/src/main/resources/images/tip.svg	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/images/tip.svg	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In  -->
+<!DOCTYPE svg [
+	<!ENTITY st0 "fill:none;stroke:#000000;stroke-width:1.0944;">
+	<!ENTITY st1 "fill:#FFFFFF;stroke:none;">
+	<!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#FFFFFF;stroke-width:5.6139;stroke-miterlimit:4;">
+	<!ENTITY st3 "fill:none;stroke:none;">
+	<!ENTITY st4 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+	<!ENTITY st5 "stroke:none;">
+]>
+<svg  width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+	<g id="Layer_x0020_3" style="&st2;">
+		<g>
+			<path d="M9.5,18.6c0,8,6.5,14.4,14.4,14.4c8,0,14.4-6.5,14.4-14.4c0-8-6.5-14.4-14.4-14.4c-8,0-14.4,6.5-14.4,14.4z M12.8,18.6c0-6.2,5-11.2,11.2-11.2c6.2,0,11.2,5,11.2,11.2c0,6.2-5,11.2-11.2,11.2c-6.2,0-11.2-5-11.2-11.2z"/>
+			<path d="M28.1,37.9l-7.6,0.8c-0.9,0.1-1.5,0.9-1.4,1.8c0.1,0.9,0.9,1.5,1.8,1.4l7.6-0.8c0.9-0.1,1.5-0.9,1.4-1.8c-0.1-0.9-0.9-1.5-1.8-1.4z"/>
+			<path d="M28.1,34.8l-7.6,0.8c-0.9,0.1-1.5,0.9-1.4,1.8c0.1,0.9,0.9,1.5,1.8,1.4l7.6-0.8c0.9-0.1,1.5-0.9,1.4-1.8c-0.1-0.9-0.9-1.5-1.8-1.4z"/>
+			<path d="M28.1,31.6l-7.6,0.8c-0.9,0.1-1.5,0.9-1.4,1.8s0.9,1.5,1.8,1.4l7.6-0.8c0.9-0.1,1.5-0.9,1.4-1.8s-0.9-1.5-1.8-1.4z"/>
+			<path d="M23.1,41.3v0.9c0,0.9,0.7,1.6,1.6,1.6c0.9,0,1.6-0.7,1.6-1.6v-0.9h-3.3z"/>
+			<path style="&st1;" d="M35.9,18.7c0,6.6-5.4,12-12,12c-6.6,0-12-5.4-12-12s5.4-12,12-12c6.6,0,12,5.4,12,12z"/>
+			<path style="&st5;" d="M9.6,18.6c0,8,6.5,14.4,14.4,14.4c8,0,14.4-6.5,14.4-14.4c0-8-6.5-14.4-14.4-14.4c-8,0-14.4,6.5-14.4,14.4z M12.9,18.6c0-6.2,5-11.2,11.2-11.2c6.2,0,11.2,5,11.2,11.2c0,6.2-5,11.2-11.2,11.2c-6.2,0-11.2-5-11.2-11.2z"/>
+			<path style="&st5;" d="M28.2,37.9l-7.6,0.8c-0.9,0.1-1.5,0.9-1.4,1.8c0.1,0.9,0.9,1.5,1.8,1.4l7.6-0.8c0.9-0.1,1.5-0.9,1.4-1.8c-0.1-0.9-0.9-1.5-1.8-1.4z"/>
+			<path style="&st5;" d="M28.2,34.7l-7.6,0.8c-0.9,0.1-1.5,0.9-1.4,1.8c0.1,0.9,0.9,1.5,1.8,1.4l7.6-0.8c0.9-0.1,1.5-0.9,1.4-1.8c-0.1-0.9-0.9-1.5-1.8-1.4z"/>
+			<path style="&st5;" d="M28.2,31.6l-7.6,0.8c-0.9,0.1-1.5,0.9-1.4,1.8c0.1,0.9,0.9,1.5,1.8,1.4l7.6-0.8c0.9-0.1,1.5-0.9,1.4-1.8c-0.1-0.9-0.9-1.5-1.8-1.4z"/>
+			<path style="&st5;" d="M23.1,41.3v0.9c0,0.9,0.7,1.6,1.6,1.6s1.6-0.7,1.6-1.6v-0.9h-3.3z"/>
+			<path style="&st0;" d="M22.3,28.3l-3.5-10.7c0,0,6.6,3.9,10.5,0"/>
+		</g>
+	</g>
+	<g id="crop_x0020_marks" style="&st4;">
+		<path style="&st3;" d="M48,48H0V0h48v48z"/>
+	</g>
+</svg>

Added: trunk/docs/docbook/src/main/resources/images/tip.tif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/tip.tif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/toc-blank.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/toc-blank.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/toc-minus.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/toc-minus.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/toc-plus.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/toc-plus.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/up.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/up.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/up.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/up.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/up.svg
===================================================================
--- trunk/docs/docbook/src/main/resources/images/up.svg	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/images/up.svg	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In  -->
+<!DOCTYPE svg [
+	<!ENTITY st0 "fill:none;stroke:none;">
+	<!ENTITY st1 "fill:#FFFFFF;stroke:#FFFFFF;stroke-width:7.5901;stroke-linejoin:round;">
+	<!ENTITY st2 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+	<!ENTITY st3 "stroke:none;">
+]>
+<svg  width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+	<g id="Layer_x0020_3" style="&st2;">
+		<g>
+			<path style="&st1;" d="M41.1,25.6c0.3,0,0.3-0.3,0.2-0.5L24.4,8.4c-0.5-0.5-0.7-0.4-1,0L6.7,25.1c-0.1,0.1-0.1,0.4,0.1,0.4h10v13.6c0,0.3,0.2,0.5,0.4,0.5l13.3,0c0.3,0,0.5-0.2,0.5-0.5V25.5l10.1,0.1z"/>
+			<path style="&st3;" d="M41.1,25.6c0.3,0,0.3-0.3,0.2-0.5L24.4,8.4c-0.5-0.5-0.7-0.4-1,0L6.7,25.1c-0.1,0.1-0.1,0.4,0.1,0.4h10v13.6c0,0.3,0.2,0.5,0.4,0.5l13.3,0c0.3,0,0.5-0.2,0.5-0.5V25.5l10.1,0.1z"/>
+		</g>
+	</g>
+	<g id="crop_x0020_marks" style="&st2;">
+		<path style="&st0;" d="M48,48H0V0h48v48z"/>
+	</g>
+</svg>

Added: trunk/docs/docbook/src/main/resources/images/warning.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/warning.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/warning.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/warning.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/images/warning.svg
===================================================================
--- trunk/docs/docbook/src/main/resources/images/warning.svg	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/images/warning.svg	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- Generator: Adobe Illustrator 9.0, SVG Export Plug-In  -->
+<!DOCTYPE svg [
+	<!ENTITY st0 "fill:#000000;stroke:#FFFFFF;stroke-width:7.9139;stroke-linejoin:round;">
+	<!ENTITY st1 "fill-rule:nonzero;clip-rule:nonzero;fill:#FFFFFF;stroke:#000000;stroke-miterlimit:4;">
+	<!ENTITY st2 "fill:none;stroke:none;">
+	<!ENTITY st3 "fill:#000000;">
+	<!ENTITY st4 "fill-rule:evenodd;clip-rule:evenodd;stroke:none;">
+	<!ENTITY st5 "fill-rule:nonzero;clip-rule:nonzero;stroke:#000000;stroke-miterlimit:4;">
+]>
+<svg  width="48pt" height="48pt" viewBox="0 0 48 48" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
+	<g id="Layer_x0020_4" style="&st1;">
+		<g style="&st4;">
+			<path style="&st0;" d="M16.4,42.3L5.7,31.6V16.4L16.4,5.7h15.2l10.7,10.7v15.2L31.6,42.3H16.4z"/>
+			<path style="&st3;" d="M16.4,42.3L5.7,31.6V16.4L16.4,5.7h15.2l10.7,10.7v15.2L31.6,42.3H16.4z"/>
+			<path d="M11.7,17.7l18.7,18.7l5.9-5.9L17.6,11.7l-5.9,5.9z"/>
+			<path d="M11.7,30.5l5.9,5.9l18.7-18.7l-5.9-5.9L11.7,30.5z"/>
+		</g>
+	</g>
+	<g id="crop_x0020_marks" style="&st5;">
+		<path style="&st2;" d="M48,48H0V0h48v48z"/>
+	</g>
+</svg>

Added: trunk/docs/docbook/src/main/resources/images/warning.tif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/images/warning.tif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/javahelp/javahelp.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/javahelp/javahelp.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/javahelp/javahelp.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,543 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+		xmlns:ng="http://docbook.org/docbook-ng"
+		xmlns:db="http://docbook.org/ns/docbook"
+                version="1.0"
+                exclude-result-prefixes="doc ng db">
+
+<xsl:import href="../html/chunk.xsl"/>
+
+<xsl:output method="html"/>
+
+<!-- ********************************************************************
+     $Id: javahelp.xsl 6157 2006-08-13 07:15:40Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<xsl:param name="javahelp.encoding" select="'ISO-8859-1'"/>
+
+<doc:param name="javahelp.encoding" xmlns="">
+<refpurpose>Character encoding to use in control files for Java Help.</refpurpose>
+<refdescription>
+<para>Java Help crashes on some characters when written as character
+references. In that case you can select appropriate encoding here.</para>
+</refdescription>
+</doc:param>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="/">
+  <xsl:choose>
+    <xsl:when test="$rootid != ''">
+      <xsl:choose>
+        <xsl:when test="count(key('id',$rootid)) = 0">
+          <xsl:message terminate="yes">
+            <xsl:text>ID '</xsl:text>
+            <xsl:value-of select="$rootid"/>
+            <xsl:text>' not found in document.</xsl:text>
+          </xsl:message>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>Formatting from <xsl:value-of select="$rootid"/></xsl:message>
+          <xsl:apply-templates select="key('id',$rootid)" mode="process.root"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="/" mode="process.root"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:for-each select="/">    <!-- This is just a hook for building profiling stylesheets -->
+    <xsl:call-template name="helpset"/>
+    <xsl:call-template name="helptoc"/>
+    <xsl:call-template name="helpmap"/>
+    <xsl:call-template name="helpidx"/>
+  </xsl:for-each>
+</xsl:template>
+
+
+<xsl:template name="header.navigation">
+</xsl:template>
+
+<xsl:template name="footer.navigation">
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helpset">
+  <xsl:call-template name="write.chunk.with.doctype">
+    <xsl:with-param name="filename" select="concat($base.dir,'jhelpset.hs')"/>
+    <xsl:with-param name="method" select="'xml'"/>
+    <xsl:with-param name="indent" select="'yes'"/>
+    <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN'"/>
+    <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/helpset_1_0.dtd'"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="helpset.content"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helpset.content">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <helpset version="1.0">
+    <title>
+      <xsl:value-of select="$title"/>
+    </title>
+
+    <!-- maps -->
+    <maps>
+      <homeID>top</homeID>
+      <mapref location="jhelpmap.jhm"/>
+    </maps>
+
+    <!-- views -->
+    <view>
+      <name>TOC</name>
+      <label>Table Of Contents</label>
+      <type>javax.help.TOCView</type>
+      <data>jhelptoc.xml</data>
+    </view>
+
+    <view>
+      <name>Index</name>
+      <label>Index</label>
+      <type>javax.help.IndexView</type>
+      <data>jhelpidx.xml</data>
+    </view>
+
+    <view>
+      <name>Search</name>
+      <label>Search</label>
+      <type>javax.help.SearchView</type>
+      <data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data>
+    </view>
+  </helpset>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helptoc">
+  <xsl:call-template name="write.chunk.with.doctype">
+    <xsl:with-param name="filename" select="concat($base.dir,'jhelptoc.xml')"/>
+    <xsl:with-param name="method" select="'xml'"/>
+    <xsl:with-param name="indent" select="'yes'"/>
+    <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN'"/>
+    <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/toc_1_0.dtd'"/>
+    <xsl:with-param name="encoding" select="$javahelp.encoding"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="helptoc.content"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helptoc.content">
+  <toc version="1.0">
+    <xsl:choose>
+      <xsl:when test="$rootid != ''">
+        <xsl:apply-templates select="key('id',$rootid)" mode="jhtoc"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="." mode="jhtoc"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </toc>
+</xsl:template>
+
+<xsl:template match="set" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="."/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="book" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="book" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="part|reference|preface|chapter|appendix|article|colophon"
+                         mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="part|reference|preface|chapter|appendix|article"
+              mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates
+      select="article|preface|chapter|appendix|refentry|section|sect1"
+      mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="section" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="section" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="sect1" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="sect2" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="sect2" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="sect3" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="sect3" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="sect4" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="sect4" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="sect5" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="sect5|colophon|refentry" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+  </tocitem>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helpmap">
+  <xsl:call-template name="write.chunk.with.doctype">
+    <xsl:with-param name="filename" select="concat($base.dir, 'jhelpmap.jhm')"/>
+    <xsl:with-param name="method" select="'xml'"/>
+    <xsl:with-param name="indent" select="'yes'"/>
+    <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp Map Version 1.0//EN'"/>
+    <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/map_1_0.dtd'"/>
+    <xsl:with-param name="encoding" select="$javahelp.encoding"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="helpmap.content"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helpmap.content">
+  <map version="1.0">
+    <xsl:choose>
+      <xsl:when test="$rootid != ''">
+        <xsl:apply-templates select="key('id',$rootid)//set
+                                     | key('id',$rootid)//book
+                                     | key('id',$rootid)//part
+                                     | key('id',$rootid)//reference
+                                     | key('id',$rootid)//preface
+                                     | key('id',$rootid)//chapter
+                                     | key('id',$rootid)//appendix
+                                     | key('id',$rootid)//article
+                                     | key('id',$rootid)//colophon
+                                     | key('id',$rootid)//refentry
+                                     | key('id',$rootid)//section
+                                     | key('id',$rootid)//sect1
+                                     | key('id',$rootid)//sect2
+                                     | key('id',$rootid)//sect3
+                                     | key('id',$rootid)//sect4
+                                     | key('id',$rootid)//sect5
+                                     | key('id',$rootid)//indexterm
+				     | key('id',$rootid)//*[@id]"
+                             mode="map"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="//set
+                                     | //book
+                                     | //part
+                                     | //reference
+                                     | //preface
+                                     | //chapter
+                                     | //appendix
+                                     | //article
+                                     | //colophon
+                                     | //refentry
+                                     | //section
+                                     | //sect1
+                                     | //sect2
+                                     | //sect3
+                                     | //sect4
+                                     | //sect5
+                                     | //indexterm
+				     | //*[@id]"
+                             mode="map"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </map>
+</xsl:template>
+
+<xsl:template match="set" mode="map">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <mapID target="{$id}">
+    <xsl:attribute name="url">
+      <xsl:call-template name="href.target.uri"/>
+    </xsl:attribute>
+  </mapID>
+</xsl:template>
+
+<xsl:template match="book" mode="map">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <mapID target="{$id}">
+    <xsl:attribute name="url">
+      <xsl:call-template name="href.target.uri"/>
+    </xsl:attribute>
+  </mapID>
+</xsl:template>
+
+<xsl:template match="part|reference|preface|chapter|appendix|refentry|article"
+              mode="map">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <mapID target="{$id}">
+    <xsl:attribute name="url">
+      <xsl:call-template name="href.target.uri"/>
+    </xsl:attribute>
+  </mapID>
+</xsl:template>
+
+<xsl:template match="section|sect1|sect2|sect3|sect4|sect5|colophon" mode="map">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <mapID target="{$id}">
+    <xsl:attribute name="url">
+      <xsl:call-template name="href.target.uri"/>
+    </xsl:attribute>
+  </mapID>
+</xsl:template>
+
+<xsl:template match="indexterm[@class='endofrange']" mode="map"/>
+
+<xsl:template match="indexterm" mode="map">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <mapID target="{$id}">
+    <xsl:attribute name="url">
+      <xsl:call-template name="href.target.uri"/>
+    </xsl:attribute>
+  </mapID>
+</xsl:template>
+
+<xsl:template match="*[@id]" mode="map">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <mapID target="{$id}">
+    <xsl:attribute name="url">
+      <xsl:call-template name="href.target.uri"/>
+    </xsl:attribute>
+  </mapID>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helpidx">
+  <xsl:call-template name="write.chunk.with.doctype">
+    <xsl:with-param name="filename" select="concat($base.dir, 'jhelpidx.xml')"/>
+    <xsl:with-param name="method" select="'xml'"/>
+    <xsl:with-param name="indent" select="'yes'"/>
+    <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp Index Version 1.0//EN'"/>
+    <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/index_1_0.dtd'"/>
+    <xsl:with-param name="encoding" select="$javahelp.encoding"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="helpidx.content"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helpidx.content">
+  <index version="1.0">
+    <xsl:choose>
+      <xsl:when test="$rootid != ''">
+        <xsl:apply-templates select="key('id',$rootid)//indexterm" mode="idx"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="//indexterm" mode="idx"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </index>
+</xsl:template>
+
+<xsl:template match="indexterm[@class='endofrange']" mode="idx"/>
+
+<xsl:template match="indexterm" mode="idx">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="text">
+    <xsl:value-of select="primary"/>
+    <xsl:if test="secondary">
+      <xsl:text>, </xsl:text>
+      <xsl:value-of select="secondary"/>
+    </xsl:if>
+    <xsl:if test="tertiary">
+      <xsl:text>, </xsl:text>
+      <xsl:value-of select="tertiary"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="see">
+      <xsl:variable name="see"><xsl:value-of select="see"/></xsl:variable>
+      <indexitem text="{$text} see '{$see}'"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <indexitem text="{$text}" target="{$id}"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- Kludge for Xalan outputting &trade; which fails in javahelp -->
+<xsl:template name="dingbat.characters">
+  <!-- now that I'm using the real serializer, all that dingbat malarky -->
+  <!-- isn't necessary anymore... -->
+  <xsl:param name="dingbat">bullet</xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$dingbat='bullet'">&#x2022;</xsl:when>
+    <xsl:when test="$dingbat='copyright'">&#x00A9;</xsl:when>
+    <xsl:when test="$dingbat='trademark' or $dingbat='trade'">
+      <xsl:choose>
+        <xsl:when test="contains(system-property('xsl:vendor'),
+                                 'Apache Software Foundation')">
+          <sup>TM</sup>
+        </xsl:when>
+        <xsl:otherwise>&#x2122;</xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$dingbat='registered'">&#x00AE;</xsl:when>
+    <xsl:when test="$dingbat='service'">(SM)</xsl:when>
+    <xsl:when test="$dingbat='nbsp'">&#x00A0;</xsl:when>
+    <xsl:when test="$dingbat='ldquo'">&#x201C;</xsl:when>
+    <xsl:when test="$dingbat='rdquo'">&#x201D;</xsl:when>
+    <xsl:when test="$dingbat='lsquo'">&#x2018;</xsl:when>
+    <xsl:when test="$dingbat='rsquo'">&#x2019;</xsl:when>
+    <xsl:when test="$dingbat='em-dash'">&#x2014;</xsl:when>
+    <xsl:when test="$dingbat='mdash'">&#x2014;</xsl:when>
+    <xsl:when test="$dingbat='en-dash'">&#x2013;</xsl:when>
+    <xsl:when test="$dingbat='ndash'">&#x2013;</xsl:when>
+    <xsl:otherwise>
+      <xsl:text>&#x2022;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/javahelp/profile-javahelp.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/javahelp/profile-javahelp.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/javahelp/profile-javahelp.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,498 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by xsl2profile-->
+<!--from the DocBook XSL stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exslt="http://exslt.org/common" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" version="1.0" exclude-result-prefixes="doc ng db exslt">
+
+<xsl:import href="../html/chunk.xsl"/>
+
+<xsl:output method="html"/>
+
+<!-- ********************************************************************
+     $Id: javahelp.xsl 6157 2006-08-13 07:15:40Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<xsl:param name="javahelp.encoding" select="'ISO-8859-1'"/>
+
+<doc:param name="javahelp.encoding">
+<refpurpose>Character encoding to use in control files for Java Help.</refpurpose>
+<refdescription>
+<para>Java Help crashes on some characters when written as character
+references. In that case you can select appropriate encoding here.</para>
+</refdescription>
+</doc:param>
+
+<!-- ==================================================================== -->
+
+<xslo:include xmlns:xslo="http://www.w3.org/1999/XSL/Transform" href="../profiling/profile-mode.xsl"/><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-content"><xslo:choose><xslo:when test="*/self::ng:* or */self::db:*"><xslo:message>Stripping NS from DocBook 5/NG document.</xslo:message><xslo:variable name="stripped-content"><xslo:apply-templates select="/" mode="stripNS"/></xslo:variable><xslo:message>Processing stripped document.</xslo:message><xslo:apply-templates select="exslt:node-set($stripped-content)" mode="profile"/></xslo:when><xslo:otherwise><xslo:apply-templates select="/" mode="profile"/></xslo:otherwise></xslo:choose></xslo:variable><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-nodes" select="exslt:node-set($profiled-content)"/><xsl:template match="/">
+  <xsl:choose>
+    <xsl:when test="$rootid != ''">
+      <xsl:choose>
+        <xsl:when test="count($profiled-nodes//*[@id=$rootid]) = 0">
+          <xsl:message terminate="yes">
+            <xsl:text>ID '</xsl:text>
+            <xsl:value-of select="$rootid"/>
+            <xsl:text>' not found in document.</xsl:text>
+          </xsl:message>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>Formatting from <xsl:value-of select="$rootid"/></xsl:message>
+          <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="process.root"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="$profiled-nodes" mode="process.root"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:for-each select="$profiled-nodes">    <!-- This is just a hook for building profiling stylesheets -->
+    <xsl:call-template name="helpset"/>
+    <xsl:call-template name="helptoc"/>
+    <xsl:call-template name="helpmap"/>
+    <xsl:call-template name="helpidx"/>
+  </xsl:for-each>
+</xsl:template>
+
+
+<xsl:template name="header.navigation">
+</xsl:template>
+
+<xsl:template name="footer.navigation">
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helpset">
+  <xsl:call-template name="write.chunk.with.doctype">
+    <xsl:with-param name="filename" select="concat($base.dir,'jhelpset.hs')"/>
+    <xsl:with-param name="method" select="'xml'"/>
+    <xsl:with-param name="indent" select="'yes'"/>
+    <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 1.0//EN'"/>
+    <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/helpset_1_0.dtd'"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="helpset.content"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helpset.content">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <helpset version="1.0">
+    <title>
+      <xsl:value-of select="$title"/>
+    </title>
+
+    <!-- maps -->
+    <maps>
+      <homeID>top</homeID>
+      <mapref location="jhelpmap.jhm"/>
+    </maps>
+
+    <!-- views -->
+    <view>
+      <name>TOC</name>
+      <label>Table Of Contents</label>
+      <type>javax.help.TOCView</type>
+      <data>jhelptoc.xml</data>
+    </view>
+
+    <view>
+      <name>Index</name>
+      <label>Index</label>
+      <type>javax.help.IndexView</type>
+      <data>jhelpidx.xml</data>
+    </view>
+
+    <view>
+      <name>Search</name>
+      <label>Search</label>
+      <type>javax.help.SearchView</type>
+      <data engine="com.sun.java.help.search.DefaultSearchEngine">JavaHelpSearch</data>
+    </view>
+  </helpset>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helptoc">
+  <xsl:call-template name="write.chunk.with.doctype">
+    <xsl:with-param name="filename" select="concat($base.dir,'jhelptoc.xml')"/>
+    <xsl:with-param name="method" select="'xml'"/>
+    <xsl:with-param name="indent" select="'yes'"/>
+    <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp TOC Version 1.0//EN'"/>
+    <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/toc_1_0.dtd'"/>
+    <xsl:with-param name="encoding" select="$javahelp.encoding"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="helptoc.content"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helptoc.content">
+  <toc version="1.0">
+    <xsl:choose>
+      <xsl:when test="$rootid != ''">
+        <xsl:apply-templates select="key('id',$rootid)" mode="jhtoc"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="." mode="jhtoc"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </toc>
+</xsl:template>
+
+<xsl:template match="set" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="."/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="book" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="book" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="part|reference|preface|chapter|appendix|article|colophon" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="part|reference|preface|chapter|appendix|article" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="article|preface|chapter|appendix|refentry|section|sect1" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="section" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="section" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="sect1" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="sect2" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="sect2" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="sect3" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="sect3" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="sect4" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="sect4" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+    <xsl:apply-templates select="sect5" mode="jhtoc"/>
+  </tocitem>
+</xsl:template>
+
+<xsl:template match="sect5|colophon|refentry" mode="jhtoc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <tocitem target="{$id}">
+    <xsl:attribute name="text">
+      <xsl:value-of select="$title"/>
+    </xsl:attribute>
+  </tocitem>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helpmap">
+  <xsl:call-template name="write.chunk.with.doctype">
+    <xsl:with-param name="filename" select="concat($base.dir, 'jhelpmap.jhm')"/>
+    <xsl:with-param name="method" select="'xml'"/>
+    <xsl:with-param name="indent" select="'yes'"/>
+    <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp Map Version 1.0//EN'"/>
+    <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/map_1_0.dtd'"/>
+    <xsl:with-param name="encoding" select="$javahelp.encoding"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="helpmap.content"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helpmap.content">
+  <map version="1.0">
+    <xsl:choose>
+      <xsl:when test="$rootid != ''">
+        <xsl:apply-templates select="key('id',$rootid)//set                                      | key('id',$rootid)//book                                      | key('id',$rootid)//part                                      | key('id',$rootid)//reference                                      | key('id',$rootid)//preface                                      | key('id',$rootid)//chapter                                      | key('id',$rootid)//appendix                                      | key('id',$rootid)//article                                      | key('id',$rootid)//colophon                                      | key('id',$rootid)//refentry                                      | key('id',$rootid)//section                                      | key('id',$rootid)//sect1                                      | key('id',$rootid)//sect2                                      | key('id',$rootid)//sect3                                      | key('id',$rootid)//sect4              !
                         | key('id',$rootid)//sect5                                      | key('id',$rootid)//indexterm          | key('id',$rootid)//*[@id]" mode="map"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="//set                                      | //book                                      | //part                                      | //reference                                      | //preface                                      | //chapter                                      | //appendix                                      | //article                                      | //colophon                                      | //refentry                                      | //section                                      | //sect1                                      | //sect2                                      | //sect3                                      | //sect4                                      | //sect5                                      | //indexterm          | //*[@id]" mode="map"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </map>
+</xsl:template>
+
+<xsl:template match="set" mode="map">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <mapID target="{$id}">
+    <xsl:attribute name="url">
+      <xsl:call-template name="href.target.uri"/>
+    </xsl:attribute>
+  </mapID>
+</xsl:template>
+
+<xsl:template match="book" mode="map">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <mapID target="{$id}">
+    <xsl:attribute name="url">
+      <xsl:call-template name="href.target.uri"/>
+    </xsl:attribute>
+  </mapID>
+</xsl:template>
+
+<xsl:template match="part|reference|preface|chapter|appendix|refentry|article" mode="map">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <mapID target="{$id}">
+    <xsl:attribute name="url">
+      <xsl:call-template name="href.target.uri"/>
+    </xsl:attribute>
+  </mapID>
+</xsl:template>
+
+<xsl:template match="section|sect1|sect2|sect3|sect4|sect5|colophon" mode="map">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <mapID target="{$id}">
+    <xsl:attribute name="url">
+      <xsl:call-template name="href.target.uri"/>
+    </xsl:attribute>
+  </mapID>
+</xsl:template>
+
+<xsl:template match="indexterm[@class='endofrange']" mode="map"/>
+
+<xsl:template match="indexterm" mode="map">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <mapID target="{$id}">
+    <xsl:attribute name="url">
+      <xsl:call-template name="href.target.uri"/>
+    </xsl:attribute>
+  </mapID>
+</xsl:template>
+
+<xsl:template match="*[@id]" mode="map">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <mapID target="{$id}">
+    <xsl:attribute name="url">
+      <xsl:call-template name="href.target.uri"/>
+    </xsl:attribute>
+  </mapID>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="helpidx">
+  <xsl:call-template name="write.chunk.with.doctype">
+    <xsl:with-param name="filename" select="concat($base.dir, 'jhelpidx.xml')"/>
+    <xsl:with-param name="method" select="'xml'"/>
+    <xsl:with-param name="indent" select="'yes'"/>
+    <xsl:with-param name="doctype-public" select="'-//Sun Microsystems Inc.//DTD JavaHelp Index Version 1.0//EN'"/>
+    <xsl:with-param name="doctype-system" select="'http://java.sun.com/products/javahelp/index_1_0.dtd'"/>
+    <xsl:with-param name="encoding" select="$javahelp.encoding"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="helpidx.content"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="helpidx.content">
+  <index version="1.0">
+    <xsl:choose>
+      <xsl:when test="$rootid != ''">
+        <xsl:apply-templates select="key('id',$rootid)//indexterm" mode="idx"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="//indexterm" mode="idx"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </index>
+</xsl:template>
+
+<xsl:template match="indexterm[@class='endofrange']" mode="idx"/>
+
+<xsl:template match="indexterm" mode="idx">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="text">
+    <xsl:value-of select="primary"/>
+    <xsl:if test="secondary">
+      <xsl:text>, </xsl:text>
+      <xsl:value-of select="secondary"/>
+    </xsl:if>
+    <xsl:if test="tertiary">
+      <xsl:text>, </xsl:text>
+      <xsl:value-of select="tertiary"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="see">
+      <xsl:variable name="see"><xsl:value-of select="see"/></xsl:variable>
+      <indexitem text="{$text} see '{$see}'"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <indexitem text="{$text}" target="{$id}"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- Kludge for Xalan outputting &trade; which fails in javahelp -->
+<xsl:template name="dingbat.characters">
+  <!-- now that I'm using the real serializer, all that dingbat malarky -->
+  <!-- isn't necessary anymore... -->
+  <xsl:param name="dingbat">bullet</xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$dingbat='bullet'">&#8226;</xsl:when>
+    <xsl:when test="$dingbat='copyright'">&#169;</xsl:when>
+    <xsl:when test="$dingbat='trademark' or $dingbat='trade'">
+      <xsl:choose>
+        <xsl:when test="contains(system-property('xsl:vendor'),                                  'Apache Software Foundation')">
+          <sup>TM</sup>
+        </xsl:when>
+        <xsl:otherwise>&#8482;</xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$dingbat='registered'">&#174;</xsl:when>
+    <xsl:when test="$dingbat='service'">(SM)</xsl:when>
+    <xsl:when test="$dingbat='nbsp'">&#160;</xsl:when>
+    <xsl:when test="$dingbat='ldquo'">&#8220;</xsl:when>
+    <xsl:when test="$dingbat='rdquo'">&#8221;</xsl:when>
+    <xsl:when test="$dingbat='lsquo'">&#8216;</xsl:when>
+    <xsl:when test="$dingbat='rsquo'">&#8217;</xsl:when>
+    <xsl:when test="$dingbat='em-dash'">&#8212;</xsl:when>
+    <xsl:when test="$dingbat='mdash'">&#8212;</xsl:when>
+    <xsl:when test="$dingbat='en-dash'">&#8211;</xsl:when>
+    <xsl:when test="$dingbat='ndash'">&#8211;</xsl:when>
+    <xsl:otherwise>
+      <xsl:text>&#8226;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/lib/lib.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/lib/lib.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/lib/lib.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,559 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- ********************************************************************
+     $Id: lib.xweb 6369 2006-10-19 08:40:35Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     This module implements DTD-independent functions
+
+     ******************************************************************** -->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" xmlns:dyn="http://exslt.org/dynamic" xmlns:saxon="http://icl.com/saxon" exclude-result-prefixes="src" version="1.0">
+
+<xsl:template name="dot.count">
+  <!-- Returns the number of "." characters in a string -->
+  <xsl:param name="string"/>
+  <xsl:param name="count" select="0"/>
+  <xsl:choose>
+    <xsl:when test="contains($string, '.')">
+      <xsl:call-template name="dot.count">
+        <xsl:with-param name="string" select="substring-after($string, '.')"/>
+        <xsl:with-param name="count" select="$count+1"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$count"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+<xsl:template name="copy-string">
+  <!-- returns 'count' copies of 'string' -->
+  <xsl:param name="string"/>
+  <xsl:param name="count" select="0"/>
+  <xsl:param name="result"/>
+
+  <xsl:choose>
+    <xsl:when test="$count&gt;0">
+      <xsl:call-template name="copy-string">
+        <xsl:with-param name="string" select="$string"/>
+        <xsl:with-param name="count" select="$count - 1"/>
+        <xsl:with-param name="result">
+          <xsl:value-of select="$result"/>
+          <xsl:value-of select="$string"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$result"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+<xsl:template name="string.subst">
+  <xsl:param name="string"/>
+  <xsl:param name="target"/>
+  <xsl:param name="replacement"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($string, $target)">
+      <xsl:variable name="rest">
+        <xsl:call-template name="string.subst">
+          <xsl:with-param name="string" select="substring-after($string, $target)"/>
+          <xsl:with-param name="target" select="$target"/>
+          <xsl:with-param name="replacement" select="$replacement"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:value-of select="concat(substring-before($string, $target),                                    $replacement,                                    $rest)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$string"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+<xsl:template name="xpointer.idref">
+  <xsl:param name="xpointer">http://...</xsl:param>
+  <xsl:choose>
+    <xsl:when test="starts-with($xpointer, '#xpointer(id(')">
+      <xsl:variable name="rest" select="substring-after($xpointer, '#xpointer(id(')"/>
+      <xsl:variable name="quote" select="substring($rest, 1, 1)"/>
+      <xsl:value-of select="substring-before(substring-after($xpointer, $quote), $quote)"/>
+    </xsl:when>
+    <xsl:when test="starts-with($xpointer, '#')">
+      <xsl:value-of select="substring-after($xpointer, '#')"/>
+    </xsl:when>
+    <!-- otherwise it's a pointer to some other document -->
+  </xsl:choose>
+</xsl:template>
+<xsl:template name="length-magnitude">
+  <xsl:param name="length" select="'0pt'"/>
+
+  <xsl:choose>
+    <xsl:when test="string-length($length) = 0"/>
+    <xsl:when test="substring($length,1,1) = '0'                     or substring($length,1,1) = '1'                     or substring($length,1,1) = '2'                     or substring($length,1,1) = '3'                     or substring($length,1,1) = '4'                     or substring($length,1,1) = '5'                     or substring($length,1,1) = '6'                     or substring($length,1,1) = '7'                     or substring($length,1,1) = '8'                     or substring($length,1,1) = '9'                     or substring($length,1,1) = '.'">
+      <xsl:value-of select="substring($length,1,1)"/>
+      <xsl:call-template name="length-magnitude">
+        <xsl:with-param name="length" select="substring($length,2)"/>
+      </xsl:call-template>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+<xsl:template name="length-units">
+  <xsl:param name="length" select="'0pt'"/>
+  <xsl:param name="default.units" select="'px'"/>
+  <xsl:variable name="magnitude">
+    <xsl:call-template name="length-magnitude">
+      <xsl:with-param name="length" select="$length"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="units">
+    <xsl:value-of select="substring($length, string-length($magnitude)+1)"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$units = ''">
+      <xsl:value-of select="$default.units"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$units"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+<xsl:template name="length-spec">
+  <xsl:param name="length" select="'0pt'"/>
+  <xsl:param name="default.units" select="'px'"/>
+
+  <xsl:variable name="magnitude">
+    <xsl:call-template name="length-magnitude">
+      <xsl:with-param name="length" select="$length"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="units">
+    <xsl:value-of select="substring($length, string-length($magnitude)+1)"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$magnitude"/>
+  <xsl:choose>
+    <xsl:when test="$units='cm'                     or $units='mm'                     or $units='in'                     or $units='pt'                     or $units='pc'                     or $units='px'                     or $units='em'">
+      <xsl:value-of select="$units"/>
+    </xsl:when>
+    <xsl:when test="$units = ''">
+      <xsl:value-of select="$default.units"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>Unrecognized unit of measure: </xsl:text>
+        <xsl:value-of select="$units"/>
+        <xsl:text>.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+<xsl:template name="length-in-points">
+  <xsl:param name="length" select="'0pt'"/>
+  <xsl:param name="em.size" select="10"/>
+  <xsl:param name="pixels.per.inch" select="90"/>
+
+  <xsl:variable name="magnitude">
+    <xsl:call-template name="length-magnitude">
+      <xsl:with-param name="length" select="$length"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="units">
+    <xsl:value-of select="substring($length, string-length($magnitude)+1)"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$units = 'pt'">
+      <xsl:value-of select="$magnitude"/>
+    </xsl:when>
+    <xsl:when test="$units = 'cm'">
+      <xsl:value-of select="$magnitude div 2.54 * 72.0"/>
+    </xsl:when>
+    <xsl:when test="$units = 'mm'">
+      <xsl:value-of select="$magnitude div 25.4 * 72.0"/>
+    </xsl:when>
+    <xsl:when test="$units = 'in'">
+      <xsl:value-of select="$magnitude * 72.0"/>
+    </xsl:when>
+    <xsl:when test="$units = 'pc'">
+      <xsl:value-of select="$magnitude * 12.0"/>
+    </xsl:when>
+    <xsl:when test="$units = 'px'">
+      <xsl:value-of select="$magnitude div $pixels.per.inch * 72.0"/>
+    </xsl:when>
+    <xsl:when test="$units = 'em'">
+      <xsl:value-of select="$magnitude * $em.size"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>Unrecognized unit of measure: </xsl:text>
+        <xsl:value-of select="$units"/>
+        <xsl:text>.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+<xsl:template name="pi-attribute">
+  <xsl:param name="pis" select="processing-instruction('BOGUS_PI')"/>
+  <xsl:param name="attribute">filename</xsl:param>
+  <xsl:param name="count">1</xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$count&gt;count($pis)">
+      <!-- not found -->
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="pi">
+        <xsl:value-of select="$pis[$count]"/>
+      </xsl:variable>
+      <xsl:variable name="pivalue">
+        <xsl:value-of select="concat(' ', normalize-space($pi))"/>
+      </xsl:variable>
+      <xsl:choose>
+        <xsl:when test="contains($pivalue,concat(' ', $attribute, '='))">
+          <xsl:variable name="rest" select="substring-after($pivalue,concat(' ', $attribute,'='))"/>
+          <xsl:variable name="quote" select="substring($rest,1,1)"/>
+          <xsl:value-of select="substring-before(substring($rest,2),$quote)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="pi-attribute">
+            <xsl:with-param name="pis" select="$pis"/>
+            <xsl:with-param name="attribute" select="$attribute"/>
+            <xsl:with-param name="count" select="$count + 1"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+<xsl:template name="lookup.key">
+  <xsl:param name="key" select="''"/>
+  <xsl:param name="table" select="''"/>
+
+  <xsl:if test="contains($table, ' ')">
+    <xsl:choose>
+      <xsl:when test="substring-before($table, ' ') = $key">
+        <xsl:variable name="rest" select="substring-after($table, ' ')"/>
+        <xsl:choose>
+          <xsl:when test="contains($rest, ' ')">
+            <xsl:value-of select="substring-before($rest, ' ')"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$rest"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="lookup.key">
+          <xsl:with-param name="key" select="$key"/>
+          <xsl:with-param name="table" select="substring-after(substring-after($table,' '), ' ')"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+<xsl:template name="xpath.location">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="path" select="''"/>
+
+  <xsl:variable name="next.path">
+    <xsl:value-of select="local-name($node)"/>
+    <xsl:if test="$path != ''">/</xsl:if>
+    <xsl:value-of select="$path"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$node/parent::*">
+      <xsl:call-template name="xpath.location">
+        <xsl:with-param name="node" select="$node/parent::*"/>
+        <xsl:with-param name="path" select="$next.path"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>/</xsl:text>
+      <xsl:value-of select="$next.path"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+<xsl:template name="comment-escape-string">
+  <xsl:param name="string" select="''"/>
+
+  <xsl:if test="starts-with($string, '-')">
+    <xsl:text> </xsl:text>
+  </xsl:if>
+
+  <xsl:call-template name="comment-escape-string.recursive">
+    <xsl:with-param name="string" select="$string"/>
+  </xsl:call-template>
+
+  <xsl:if test="substring($string, string-length($string), 1) = '-'">
+    <xsl:text> </xsl:text>
+  </xsl:if>
+</xsl:template>
+<xsl:template name="comment-escape-string.recursive">
+  <xsl:param name="string" select="''"/>
+  <xsl:choose>
+    <xsl:when test="contains($string, '--')">
+      <xsl:value-of select="substring-before($string, '--')"/>
+      <xsl:value-of select="'- -'"/>
+      <xsl:call-template name="comment-escape-string.recursive">
+        <xsl:with-param name="string" select="substring-after($string, '--')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$string"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+  <xsl:template name="prepend-pad">    
+  <!-- recursive template to right justify and prepend-->
+  <!-- the value with whatever padChar is passed in   -->
+    <xsl:param name="padChar" select="' '"/>
+    <xsl:param name="padVar"/>
+    <xsl:param name="length"/>
+    <xsl:choose>
+      <xsl:when test="string-length($padVar) &lt; $length">
+        <xsl:call-template name="prepend-pad">
+          <xsl:with-param name="padChar" select="$padChar"/>
+          <xsl:with-param name="padVar" select="concat($padChar,$padVar)"/>
+          <xsl:with-param name="length" select="$length"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="substring($padVar,string-length($padVar) - $length + 1)"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <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: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: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>
+      <xsl:call-template name="str.tokenize.keep.delimiters-characters">
+	<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>
+      </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: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:otherwise>
+    </xsl:choose>
+  </xsl:template>
+    <xsl:template name="apply-string-subst-map">
+      <xsl:param name="content"/>
+      <xsl:param name="map.contents"/>
+      <xsl:variable name="replaced_text">
+        <xsl:call-template name="string.subst">
+          <xsl:with-param name="string" select="$content"/>
+          <xsl:with-param name="target" select="$map.contents[1]/@oldstring"/>
+          <xsl:with-param name="replacement" select="$map.contents[1]/@newstring"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:choose>
+        <xsl:when test="$map.contents[2]">
+          <xsl:call-template name="apply-string-subst-map">
+            <xsl:with-param name="content" select="$replaced_text"/>
+            <xsl:with-param name="map.contents" select="$map.contents[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$replaced_text"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:template>
+
+  
+    <xsl:template name="apply-character-map">
+      <xsl:param name="content"/>
+      <xsl:param name="map.contents"/>
+      <xsl:variable name="replaced_text">
+        <xsl:call-template name="string.subst">
+          <xsl:with-param name="string" select="$content"/>
+          <xsl:with-param name="target" select="$map.contents[1]/@character"/>
+          <xsl:with-param name="replacement" select="$map.contents[1]/@string"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:choose>
+        <xsl:when test="$map.contents[2]">
+          <xsl:call-template name="apply-character-map">
+            <xsl:with-param name="content" select="$replaced_text"/>
+            <xsl:with-param name="map.contents" select="$map.contents[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$replaced_text"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:template>
+
+  
+  <xsl:template name="read-character-map">
+    <xsl:param name="use.subset"/>
+    <xsl:param name="subset.profile"/>
+    <xsl:param name="uri"/>
+    <xsl:choose>
+      <xsl:when test="$use.subset != 0">
+        <!-- use a subset of the character map instead of the full map -->
+        <xsl:choose>
+          <!-- xsltproc and Xalan both support dyn:evaluate() -->
+          <xsl:when test="function-available('dyn:evaluate')">
+            <xsl:copy-of select="document($uri)//*[local-name()='output-character']                                  [dyn:evaluate($subset.profile)]"/>
+          </xsl:when>
+          <!-- Saxon has its own evaluate() & doesn't support dyn:evaluate() -->
+          <xsl:when test="function-available('saxon:evaluate')">
+            <xsl:copy-of select="document($uri)//*[local-name()='output-character']                                  [saxon:evaluate($subset.profile)]"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:message terminate="yes">
+Error: To process character-map subsets, you must use an XSLT engine
+that supports the evaluate() XSLT extension function. Your XSLT engine
+does not support it.
+</xsl:message>
+          </xsl:otherwise>
+        </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <!-- value of $use.subset is non-zero, so use the full map -->
+        <xsl:copy-of select="document($uri)//*[local-name()='output-character']"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+<xsl:template name="count.uri.path.depth">
+  <xsl:param name="filename" select="''"/>
+  <xsl:param name="count" select="0"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($filename, '/')">
+      <xsl:call-template name="count.uri.path.depth">
+        <xsl:with-param name="filename" select="substring-after($filename, '/')"/>
+        <xsl:with-param name="count" select="$count + 1"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$count"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+<xsl:template name="trim.common.uri.paths">
+  <xsl:param name="uriA" select="''"/>
+  <xsl:param name="uriB" select="''"/>
+  <xsl:param name="return" select="'A'"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($uriA, '/') and contains($uriB, '/')                     and substring-before($uriA, '/') = substring-before($uriB, '/')">
+      <xsl:call-template name="trim.common.uri.paths">
+        <xsl:with-param name="uriA" select="substring-after($uriA, '/')"/>
+        <xsl:with-param name="uriB" select="substring-after($uriB, '/')"/>
+        <xsl:with-param name="return" select="$return"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$return = 'A'">
+          <xsl:value-of select="$uriA"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$uriB"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+  <xsl:template name="trim.text">
+    <xsl:param name="contents" select="."/>
+    <xsl:variable name="contents-left-trimmed">
+      <xsl:call-template name="trim-left">
+        <xsl:with-param name="contents" select="$contents"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:variable name="contents-trimmed">
+      <xsl:call-template name="trim-right">
+        <xsl:with-param name="contents" select="$contents-left-trimmed"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:value-of select="$contents-trimmed"/>
+  </xsl:template>
+
+  <xsl:template name="trim-left">
+    <xsl:param name="contents"/>
+    <xsl:choose>
+      <xsl:when test="starts-with($contents,'&#xA;') or                       starts-with($contents,'&#xA;') or                       starts-with($contents,' ') or                       starts-with($contents,'&#x9;')">
+        <xsl:call-template name="trim-left">
+          <xsl:with-param name="contents" select="substring($contents, 2)"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$contents"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template name="trim-right">
+    <xsl:param name="contents"/>
+    <xsl:variable name="last-char">
+      <xsl:value-of select="substring($contents, string-length($contents), 1)"/>
+    </xsl:variable>
+    <xsl:choose>
+      <xsl:when test="($last-char = '&#xA;') or                       ($last-char = '&#xD;') or                       ($last-char = ' ') or                       ($last-char = '&#x9;')">
+        <xsl:call-template name="trim-right">
+          <xsl:with-param name="contents" select="substring($contents, 1, string-length($contents) - 1)"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$contents"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+</xsl:stylesheet>
\ No newline at end of file

Added: trunk/docs/docbook/src/main/resources/manpages/ChangeLog.20020917
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/ChangeLog.20020917	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/ChangeLog.20020917	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,195 @@
+Note: This changelog is a record of descriptions of all changes
+made to the DocBook XSL manpages stylesheets during the time when
+they were maintained in their original home in the
+[cvs]/docbook/contrib/xsl/db2man area of the DocBook Project
+source-code repository at Sourceforge; that is, from October 2001
+(when they were contributed to the project by Martijn van Beers)
+until September 2002 (when they were moved to the
+[cvs]/docbook/xsl/manpages area and became a standard part of all
+subsequent DocBook XSL Stylesheets releases).
+
+2002-09-17  Norman Walsh <nwalsh at users.sourceforge.net>
+
+	* README, db2man.xsl, lists.xsl, sect23.xsl, synop.xsl, xref.xsl: 
+	Moved to docbook/xsl/manpages
+
+	* db2man.xsl, synop.xsl: Patch from Joe Orton
+
+2002-06-16  <lotr at users.sourceforge.net>
+
+	* db2man.xsl: commit patch sent by Joe Orton:
+	
+	  This patch adds support for using the productname, date and title out of
+	  a <referenceinfo> if one is present, rather than having to add each of
+	  these individually for every refentry.
+
+	* db2man.xsl: Tim Waugh sent:
+	
+	  This patch normalizes space in each refname before displaying it in
+	  the name section.
+
+2002-05-21  <lotr at users.sourceforge.net>
+
+	* xref.xsl: from Joe Orton:
+	this patch allows cross-referencing to a specific refname.  I
+	need this since I'm documenting several different (but related)
+	functions per refentry, and want to cross-reference them individually,
+	rather than just by the title used for the refentry as a whole.
+
+2002-05-17  <lotr at users.sourceforge.net>
+
+	* lists.xsl: apply glosslist support patch from twaugh
+
+2002-05-15  <lotr at users.sourceforge.net>
+
+	* db2man.xsl: slightly sanitize the filenames we generate. again from twaugh
+
+	* db2man.xsl: Apply twaugh's fix for making the entity transform stuff work
+
+2002-05-14  <lotr at users.sourceforge.net>
+
+	* db2man.xsl: generalize the tip template for all admonitions
+	(caution,important,note,tip,warning)
+
+	* db2man.xsl: Apply Joe Orton's <tip> patch, modified to be indented. Also show "Tip"
+	in the title.
+	
+	so if <tip><title>foo</title></tip>, you get
+	      Tip: foo
+
+	* synop.xsl: rewrote funcprototype. It used to convert all its children to a single
+	string and the split it up again through recursion. Now has a nice
+	foreach loop for the paramdefs, which seems much cleaner than throwing
+	everything in a big string before processing it.
+
+2002-05-10  <lotr at users.sourceforge.net>
+
+	* db2man.xsl: add support for simpara
+
+	* db2man.xsl, lists.xsl: fix refsect2 titles
+
+	* synop.xsl: also from twaugh:
+	
+	I found some input that goes wrong with the synop.xsl we have in CVS:
+	
+	<group choice="opt">
+	  <arg>-o <replaceable>FILE</replaceable></arg>
+	  <arg>--output=<replaceable>FILE</replaceable></arg>
+	</group>
+	
+	It gets rendered as (with *bold* and _italic_):
+	
+	[*-o FILE* | *--output=FILE*]
+	
+	The desired markup should look like:
+	The following macro does the trick:
+	
+	[\fB-o \fIFILE\fR\fR | \fB--output=\fIFILE\fR\fR]
+	
+	The trouble is that the named template 'bold' uses value-of, and so
+	strips <replaceable> of its significance.
+	
+	Another thing I found is that the arg/replaceable template is
+	superfluous altogether: db2man.xsl has a 'replaceable' template which
+	does the same thing.
+	
+	Here is a patch to make those two modifications.
+	
+	NOTE TO SELF: must try to fix bold template so we can use it everywhere
+
+2002-05-09  <lotr at users.sourceforge.net>
+
+	* db2man.xsl: oops, removed too much
+
+	* db2man.xsl: remove stuff that's apparently left-over from sect23.xsl
+
+	* db2man.xsl, lists.xsl, synop.xsl: batch of patches from twaugh:
+	* This patch (based on one from Jirka Kosek) adds support for
+	  block-level elements inside <para>s---<screen>s for example, or lists.
+	* This patch replaces entities (like '&#x8212;') with sensible
+	  characters or groups of characters.
+	* This patch adds support for sbr.
+	* This patch normalizes spaces in varlistentry terms.
+	* This patch normalizes spaces in terminal varlistentry terms.
+	* This patch allows variable lists to be nested (once).
+	* This patch prevents variable list item paragraphs from merging into
+	  one another.
+	* This patch improves the rendering of itemized lists, and adds support
+	  for ordered lists and procedures.
+	* This patch makes some small adjustments to group/arg: don't put extra
+	  spaces in where they aren't needed, and normalize the space of $arg.
+	* This patch makes adjustments to cmdsynopsis elements.  In particular,
+	  they can now be wrapped if no <sbr/> is provided.
+	* This patch adds funcsynopsis//* support.  Again, wrapping is done
+	  automatically.
+
+	* synop.xsl: make synopsises work for --arg=foo <arg>s too
+
+	* synop.xsl: remove unneccesary adding of whitespace for arg/replaceable
+
+2002-05-01  <lotr at users.sourceforge.net>
+
+	* db2man.xsl: This patch adds support for multiple refnames.
+	
+	(another twaugh patch)
+
+	* db2man.xsl: modified ulink patch from twaugh. Be nice to content-less ulinks. But we
+	don't accomodate silly people who don't understand ulink and put the
+	url as the content too.
+
+	* db2man.xsl, synop.xsl: db2man.xsl:
+	  * temporarily add some params that chunker.xsl needs
+	  * fix bold/italic templates
+	  * update calls to bold/italic templates for new syntax
+	synop.xsl:
+	  * add support for synopfragment
+	  * update calls to bold/italic templates for new syntax
+
+2002-04-30  <lotr at users.sourceforge.net>
+
+	* db2man.xsl: Add twaug's patch for xref support
+
+	* db2man.xsl: This patch adds support for:
+	
+	- Multiple authors.
+	- A (single) man page editor.
+	
+	(another patch from twaugh)
+
+	* db2man.xsl: more twaugh patches:
+	- Use refentrytitle, not refname[1], for title.
+	- Upper-case it.
+	- Use date, productname, and title.
+	- Pick up author from main document if not contained in refentry.
+	- Use refname[1] for man page filename, not refentrytitle.
+
+	* db2man.xsl: add varname support
+
+	* db2man.xsl: This patch makes userinput (an inline element) have inline formatting.
+
+	* db2man.xsl: This patch adds support for the top-level document being something
+	other than an article.
+	
+	It also emits a helpful warning if no refentry elements are found.
+
+	* db2man.xsl: next twaugh patch:
+	  Instead of writing to stdout, create a file for each
+	  refentry.  Plus, for bonus points, a file for each additional refname
+	  within that entry (pointing to the main page).
+
+	* db2man.xsl: Add named templates for bold-ifying and italicizing stuff. Inspired
+	by yet another twaugh patch
+
+	* db2man.xsl, lists.xsl, sect23.xsl: consistently use &#10; instead of a newline
+
+	* db2man.xsl, synop.xsl: * add support for informalexample, screen, errorcode, constant, type,
+	  quote, programlisting and citerefentry
+	* use the 'bold' and 'italic' named templates
+
+	* xref.xsl: New file.
+
+2001-12-01  Norman Walsh <nwalsh at users.sourceforge.net>
+
+	* README, db2man.xsl, lists.xsl, sect23.xsl, synop.xsl: 
+	New file.
+

Added: trunk/docs/docbook/src/main/resources/manpages/block.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/block.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/block.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,256 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="exsl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: block.xsl 6500 2007-01-15 15:41:06Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="caution|important|note|tip|warning">
+  <xsl:call-template name="nested-section-title"/>
+  <xsl:apply-templates/>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template> 
+
+<xsl:template match="formalpara">
+  <xsl:variable name="title.wrapper">
+    <bold><xsl:value-of select="normalize-space(title[1])"/></bold>
+  </xsl:variable>
+  <xsl:text>&#x2302;PP&#10;</xsl:text>
+  <!-- * don't put linebreak after head; instead render it as a "run in" -->
+  <!-- * head, that is, inline, with a period and space following it -->
+  <xsl:apply-templates mode="bold" select="exsl:node-set($title.wrapper)"/>
+  <xsl:text>. </xsl:text>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="formalpara/para">
+  <xsl:call-template name="mixed-block"/>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="para">
+  <!-- * FIXME: Need to extract the ancestor::footnote, etc. checking and -->
+  <!-- * move to named template so that we can call it from templates for -->
+  <!-- * other block elements also -->
+  <xsl:choose>
+    <!-- * If a para is a descendant of a footnote, etc., then indent it -->
+    <!-- * (unless it is the first child, in which case don't generate -->
+    <!-- * anything at all to mark its start). -->
+    <!-- * FIXME: *blurb checking should not be munged in here the way -->
+    <!-- * it currently is; this probably breaks blurb indenting. -->
+    <xsl:when test="ancestor::footnote or
+                    ancestor::annotation or
+                    ancestor::authorblurb or
+                    ancestor::personblurb">
+      <xsl:if test="preceding-sibling::*[not(name() ='')]">
+        <xsl:text>&#x2302;sp</xsl:text>
+        <xsl:text>&#10;</xsl:text>
+        <xsl:text>&#x2302;RS 4n</xsl:text>
+        <xsl:text>&#10;</xsl:text>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>&#x2302;PP</xsl:text>
+      <xsl:text>&#10;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:call-template name="mixed-block"/>
+    <xsl:if test="ancestor::footnote or
+                  ancestor::annotation or
+                  ancestor::authorblurb or
+                  ancestor::personblurb">
+      <xsl:if test="preceding-sibling::*[not(name() ='')]">
+        <xsl:text>&#10;</xsl:text>
+        <xsl:text>&#x2302;RE</xsl:text>
+        <xsl:text>&#10;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="simpara">
+  <xsl:variable name="content">
+    <xsl:apply-templates/>
+  </xsl:variable>
+  <xsl:value-of select="normalize-space($content)"/>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:if test="not(ancestor::authorblurb) and
+                not(ancestor::personblurb)">
+    <xsl:text>&#x2302;sp&#10;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- * Yes, address, synopsis, and funcsynopsisinfo are verbatim environments. -->
+<xsl:template match="literallayout|programlisting|screen|
+                     address|synopsis|funcsynopsisinfo">
+  <xsl:param name="indent">
+    <!-- * Only indent this verbatim if $man.indent.verbatims is -->
+    <!-- * non-zero and it is not a child of a *synopsis element -->
+    <xsl:if test="not($man.indent.verbatims = 0) and
+                  not(substring(local-name(..),
+                  string-length(local-name(..))-7) = 'synopsis')">
+      <xsl:text>Yes</xsl:text>
+    </xsl:if>
+  </xsl:param>
+
+  <xsl:choose>
+    <!-- * Check to see if this verbatim item is within a parent element that -->
+    <!-- * allows mixed content. -->
+    <!-- * -->
+    <!-- * If it is within a mixed-content parent, then a line space is -->
+    <!-- * already added before it by the mixed-block template, so we don't -->
+    <!-- * need to add one here. -->
+    <!-- * -->
+    <!-- * If it is not within a mixed-content parent, then we need to add a -->
+    <!-- * line space before it. -->
+    <xsl:when test="parent::caption|parent::entry|parent::para|
+                    parent::td|parent::th" /> <!-- do nothing -->
+    <xsl:otherwise>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:text>&#x2302;sp&#10;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:if test="$indent = 'Yes'">
+    <!-- * start indented section -->
+    <xsl:text>&#x2302;RS</xsl:text> 
+    <xsl:if test="not($man.indent.width = '')">
+      <xsl:text> </xsl:text>
+      <xsl:value-of select="$man.indent.width"/>
+    </xsl:if>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:if>
+  <xsl:choose>
+    <xsl:when test="self::funcsynopsisinfo">
+      <!-- * All Funcsynopsisinfo content is by default rendered in bold, -->
+      <!-- * because the man(7) man page says this: -->
+      <!-- * -->
+      <!-- *   For functions, the arguments are always specified using -->
+      <!-- *   italics, even in the SYNOPSIS section, where the rest of -->
+      <!-- *   the function is specified in bold -->
+      <!-- * -->
+      <!-- * Look through the contents of the man/man2 and man3 directories -->
+      <!-- * on your system, and you'll see that most existing pages do follow -->
+      <!-- * this "bold everything in function synopsis" rule. -->
+      <!-- * -->
+      <!-- * Users who don't want the bold output can choose to adjust the -->
+      <!-- * man.font.funcsynopsisinfo parameter on their own. So even if you -->
+      <!-- * don't personally like the way it looks, please don't change the -->
+      <!-- * default to be non-bold - because it's a convention that's -->
+      <!-- * followed is the vast majority of existing man pages that document -->
+      <!-- * functions, and we need to follow it by default, like it or no. -->
+      <xsl:text>&#x2302;ft </xsl:text>
+      <xsl:value-of select="$man.font.funcsynopsisinfo"/>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:text>&#x2302;nf&#10;</xsl:text>
+      <xsl:apply-templates/>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:text>&#x2302;fi&#10;</xsl:text>
+      <xsl:text>&#x2302;ft&#10;</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- * Other verbatims do not need to get bolded -->
+      <xsl:text>&#x2302;nf&#10;</xsl:text>
+      <xsl:apply-templates/>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:text>&#x2302;fi&#10;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:if test="$indent = 'Yes'">
+    <!-- * end indented section -->
+    <xsl:text>&#x2302;RE&#10;</xsl:text> 
+  </xsl:if>
+  <!-- * if first following sibling node of this verbatim -->
+  <!-- * environment is a text node, output a line of space before it -->
+  <xsl:if test="following-sibling::node()[1][name(.) = '']">
+    <xsl:text>&#x2302;sp&#10;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="table|informaltable">
+  <xsl:apply-templates select="." mode="to.tbl">
+    <!--* we call the to.tbl mode with the "source" param so that we can -->
+    <!--* preserve the context information and pass it down to the -->
+    <!--* named templates that do the actual table processing -->
+    <xsl:with-param name="source" select="ancestor::refentry/refnamediv[1]/refname[1]"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="informalexample">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="figure">
+  <xsl:variable name="param.placement"
+                select="substring-after(normalize-space($formal.title.placement),
+                        concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:text>&#x2302;PP&#10;</xsl:text>
+  <xsl:call-template name="formal.object">
+    <xsl:with-param name="placement" select="$placement"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="formal.object">
+  <xsl:param name="placement" select="'before'"/>
+  <xsl:param name="class" select="local-name(.)"/>
+
+  <xsl:choose>
+    <xsl:when test="$placement = 'before'">
+      <xsl:call-template name="formal.object.heading"/>
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="formal.object.heading">
+  <xsl:param name="object" select="."/>
+  <xsl:param name="title">
+    <bold><xsl:apply-templates select="$object" mode="object.title.markup.textonly"/></bold>
+  </xsl:param>
+  <xsl:apply-templates mode="bold" select="exsl:node-set($title)"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- * suppress abstract -->
+<xsl:template match="abstract"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/manpages/charmap.groff.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/charmap.groff.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/charmap.groff.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,5985 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<xsl:stylesheet version="2.0"
+                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:u="http://docbook.sf.net/xmlns/unichar/1.0"
+                exclude-result-prefixes="u">
+
+<!-- ********************************************************************
+     $Id: charmap.groff.xsl 6528 2007-01-19 08:54:04Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<xsl:character-map name="groff">
+
+  <!-- * *************************************************************** -->
+  <!-- *    Commentary -->
+  <!-- * *************************************************************** -->
+  <!-- * -->
+  <!-- * This file maps a selection of Unicode symbols and special -->
+  <!-- * characters (about 800) to corresponding groff escape sequences.-->
+  <!-- * -->
+  <!-- * Although the format of this file follows the "character map" -->
+  <!-- * format described in the XSLT 2.0 specification[1], the file can -->
+  <!-- * also be used with an appropriate XSLT 1.0 stylesheet and any -->
+  <!-- * XSLT 1.0 processor. -->
+  <!-- * -->
+  <!-- *   [1] http://www.w3.org/TR/xslt20/#character-maps -->
+  <!-- * -->
+  <!-- * In order to make the character map more readable, and to make -->
+  <!-- * it possible to create subsets of it at run time, it uses the -->
+  <!-- * following "extension attributes" (in the "unichar" namespace): -->
+  <!-- * -->
+  <!-- *   - u:name   = ISO character name (e.g., "OHM SIGN") -->
+  <!-- *   - u:entity = ISO entity name (e.g., "ohm") -->
+  <!-- *   - u:block  = Unicode block name (e.g., "Letterlike Symbols") -->
+  <!-- *   - u:class  = character class (e.g., "bullets") -->
+  <!-- * -->
+  <!-- * Use of such extension attributes is permitted by the XSLT 2.0 -->
+  <!-- * spec; see the "Extension Attributes" section[2]. -->
+  <!-- * -->
+  <!-- *   [2] http://www.w3.org/TR/xslt20/#extension-attributes -->
+  <!-- * -->
+  <!-- * *************************************************************** -->
+  <!-- *    Acknowledgements -->
+  <!-- * *************************************************************** -->
+  <!-- * The following references were consulted when selecting roff -->
+  <!-- * mappings and character information: -->
+  <!-- * -->
+  <!-- *   - groff_char(7) man page[3] -->
+  <!-- *   - groff info file[4]; in particular, the "Page Motions" node[5] -->
+  <!-- *   - tables in "Character Sets" chapter of "XML In a Nutshell"[6] -->
+  <!-- *   - Zvon Character Search[7] -->
+  <!-- * -->
+  <!-- *   [3] http://www.linux.se/showMan.php?TITLE=groff_char&SECTION=7 -->
+  <!-- *   [4] http://www.fifi.org/cgi-bin/info2www?(groff) -->
+  <!-- *   [5] http://www.fifi.org/cgi-bin/info2www?(groff)Page+Motions -->
+  <!-- *   [6] http://www.ibiblio.org/xml/books/xian2/ -->
+  <!-- *   [7] http://zvon.org/other/charSearch/PHP/search.php -->
+  <!-- * -->
+  <!-- * The initial version of this file (before the "string" mappings -->
+  <!-- * were added) was generated by taking the "unichars.el" file from -->
+  <!-- * Norm Walsh's "xmlunicode.el"[8] elisp distro, and running a -->
+  <!-- * script on it to convert it to XML. -->
+  <!-- * -->
+  <!-- *   [8] http://nwalsh.com/emacs/xmlchars/ -->
+  <!-- * -->
+  <!-- * The idea for implementing a character map in the DocBook Project -->
+  <!-- * manpages system was inspired by Steve Cheng's docbook2x[9]; -->
+  <!-- * in particular, its "utf8trans" utility and character-map system. -->
+  <!-- * -->
+  <!-- *   [9] http://docbook2x.sourceforge.net/ -->
+  <!-- * -->
+  <!-- * ################################################################# -->
+
+  <!-- * ***************************************************************** -->
+  <!-- * Begin: Latin-1/ISO-8859-1 -->
+  <!-- * x00a0 to x00ff -->
+  <!-- * ***************************************************************** -->
+
+  <!-- * A no-break space can be written two ways in roff; the difference, -->
+  <!-- * according to the "Page Motions" node in the groff info page, is: -->
+  <!-- * -->
+  <!-- *   "\ " = -->
+  <!-- *   An unbreakable and unpaddable (i.e. not expanded during filling) -->
+  <!-- *   space. -->
+  <!-- * -->
+  <!-- *   "\~" = -->
+  <!-- *   An unbreakable space that stretches like a normal -->
+  <!-- *   inter-word space when a line is adjusted."  -->
+  <!-- * -->
+  <!-- * Unfortunately, roff seems to do some weird things with long -->
+  <!-- * lines that only have words separated by "\~" spaces, so it's -->
+  <!-- * safer just to stick with the "\ " space -->
+  <xsl:output-character
+   character="&#x00a0;"
+   u:name="NO-BREAK SPACE"
+   u:entity="nbsp"
+   string="\ "
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00a1;"
+   u:name="INVERTED EXCLAMATION MARK"
+   u:entity="iexcl"
+   string="\(r!"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00a2;"
+   u:name="CENT SIGN"
+   u:entity="cent"
+   string="\(ct"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00a3;"
+   u:name="POUND SIGN"
+   u:entity="pound"
+   string="\(Po"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00a4;"
+   u:name="CURRENCY SIGN"
+   u:entity="curren"
+   string="\(Cs"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00a5;"
+   u:name="YEN SIGN"
+   u:entity="yen"
+   string="\(Ye"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00a6;"
+   u:name="BROKEN BAR"
+   u:entity="brvbar"
+   string="\(bb"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00a7;"
+   u:name="SECTION SIGN"
+   u:entity="sect"
+   string="\(sc"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00a8;"
+   u:name="DIAERESIS"
+   u:entity="Dot"
+   string="\(ad"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00a9;"
+   u:name="COPYRIGHT SIGN"
+   u:entity="copy"
+   string="\(co"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00aa;"
+   u:name="FEMININE ORDINAL INDICATOR"
+   u:entity="ordf"
+   string="\(Of"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00ab;"
+   u:name="LEFT-POINTING DOUBLE ANGLE QUOTATION MARK"
+   u:entity="laquo"
+   string="\(Fo"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00ac;"
+   u:name="NOT SIGN"
+   u:entity="not"
+   string="\(no"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <!-- * groff_char(7) man page sayxsl: "the soft hyphen control character -->
+  <!-- * (prints as itself).  groff never use this character for output -->
+  <!-- * (thus it is omitted in the table below); the input character 173 -->
+  <!-- * is onto \%." -->
+  <xsl:output-character
+   character="&#x00ad;"
+   u:name="SOFT HYPHEN"
+   u:entity="shy"
+   string="\%"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00ae;"
+   u:name="REGISTERED SIGN"
+   u:entity="reg"
+   string="\(rg"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00af;"
+   u:name="MACRON"
+   u:entity="macr"
+   string="\(a-"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00b0;"
+   u:name="DEGREE SIGN"
+   u:entity="deg"
+   string="\(de"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00b1;"
+   u:name="PLUS-MINUS SIGN"
+   u:entity="plusmn"
+   string="\(+-"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00b2;"
+   u:name="SUPERSCRIPT TWO"
+   u:entity="sup2"
+   string="\(S2"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00b3;"
+   u:name="SUPERSCRIPT THREE"
+   u:entity="sup3"
+   string="\(S3"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00b4;"
+   u:name="ACUTE ACCENT"
+   u:entity="acute"
+   string="\(aa"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00b5;"
+   u:name="MICRO SIGN"
+   u:entity="micro"
+   string="\(mc"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00b6;"
+   u:name="PILCROW SIGN"
+   u:entity="para"
+   string="\(ps"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <!-- * according to groff_char(7), I think the escape string \(pc -->
+  <!-- * "periodcentered" could also be used for middot; not sure which -->
+  <!-- * is better, but "md" mnemonic is a better fit :-) -->
+  <xsl:output-character
+   character="&#x00b7;"
+   u:name="MIDDLE DOT"
+   u:entity="middot"
+   string="\(md"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00b8;"
+   u:name="CEDILLA"
+   u:entity="cedil"
+   string="\(ac"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00b9;"
+   u:name="SUPERSCRIPT ONE"
+   u:entity="sup1"
+   string="\(S1"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00ba;"
+   u:name="MASCULINE ORDINAL INDICATOR"
+   u:entity="ordm"
+   string="\(Om"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00bb;"
+   u:name="RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK"
+   u:entity="raquo"
+   string="\(Fc"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00bc;"
+   u:name="VULGAR FRACTION ONE QUARTER"
+   u:entity="frac14"
+   string="\(14"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00bd;"
+   u:name="VULGAR FRACTION ONE HALF"
+   u:entity="frac12"
+   string="\(12"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00be;"
+   u:name="VULGAR FRACTION THREE QUARTERS"
+   u:entity="frac34"
+   string="\(34"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00bf;"
+   u:name="INVERTED QUESTION MARK"
+   u:entity="iquest"
+   string="\(r?"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00c0;"
+   u:name="LATIN CAPITAL LETTER A WITH GRAVE"
+   u:entity="Agrave"
+   string="\(`A"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00c1;"
+   u:name="LATIN CAPITAL LETTER A WITH ACUTE"
+   u:entity="Aacute"
+   string="\('A"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00c2;"
+   u:name="LATIN CAPITAL LETTER A WITH CIRCUMFLEX"
+   u:entity="Acirc"
+   string="\(^A"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00c3;"
+   u:name="LATIN CAPITAL LETTER A WITH TILDE"
+   u:entity="Atilde"
+   string="\(~A"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00c4;"
+   u:name="LATIN CAPITAL LETTER A WITH DIAERESIS"
+   u:entity="Auml"
+   string="\(:A"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00c5;"
+   u:name="LATIN CAPITAL LETTER A WITH RING ABOVE"
+   u:entity="Aring"
+   string="\(oA"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00c6;"
+   u:name="LATIN CAPITAL LETTER AE"
+   u:entity="AElig"
+   string="\(AE"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00c7;"
+   u:name="LATIN CAPITAL LETTER C WITH CEDILLA"
+   u:entity="Ccedil"
+   string="\(,C"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00c8;"
+   u:name="LATIN CAPITAL LETTER E WITH GRAVE"
+   u:entity="Egrave"
+   string="\(`E"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00c9;"
+   u:name="LATIN CAPITAL LETTER E WITH ACUTE"
+   u:entity="Eacute"
+   string="\('E"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00ca;"
+   u:name="LATIN CAPITAL LETTER E WITH CIRCUMFLEX"
+   u:entity="Ecirc"
+   string="\(^E"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00cb;"
+   u:name="LATIN CAPITAL LETTER E WITH DIAERESIS"
+   u:entity="Euml"
+   string="\(:E"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00cc;"
+   u:name="LATIN CAPITAL LETTER I WITH GRAVE"
+   u:entity="Igrave"
+   string="\(`I"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00cd;"
+   u:name="LATIN CAPITAL LETTER I WITH ACUTE"
+   u:entity="Iacute"
+   string="\('I"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00ce;"
+   u:name="LATIN CAPITAL LETTER I WITH CIRCUMFLEX"
+   u:entity="Icirc"
+   string="\(^I"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00cf;"
+   u:name="LATIN CAPITAL LETTER I WITH DIAERESIS"
+   u:entity="Iuml"
+   string="\(:I"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00d0;"
+   u:name="LATIN CAPITAL LETTER ETH"
+   u:entity="ETH"
+   string="\(-D"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00d1;"
+   u:name="LATIN CAPITAL LETTER N WITH TILDE"
+   u:entity="Ntilde"
+   string="\(~N"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00d2;"
+   u:name="LATIN CAPITAL LETTER O WITH GRAVE"
+   u:entity="Ograve"
+   string="\(`O"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00d3;"
+   u:name="LATIN CAPITAL LETTER O WITH ACUTE"
+   u:entity="Oacute"
+   string="\('O"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00d4;"
+   u:name="LATIN CAPITAL LETTER O WITH CIRCUMFLEX"
+   u:entity="Ocirc"
+   string="\(^O"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00d5;"
+   u:name="LATIN CAPITAL LETTER O WITH TILDE"
+   u:entity="Otilde"
+   string="\(~O"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00d6;"
+   u:name="LATIN CAPITAL LETTER O WITH DIAERESIS"
+   u:entity="Ouml"
+   string="\(:O"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00d7;"
+   u:name="MULTIPLICATION SIGN"
+   u:entity="times"
+   string="\(mu"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00d8;"
+   u:name="LATIN CAPITAL LETTER O WITH STROKE"
+   u:entity="Oslash"
+   string="\(/O"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00d9;"
+   u:name="LATIN CAPITAL LETTER U WITH GRAVE"
+   u:entity="Ugrave"
+   string="\(`U"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00da;"
+   u:name="LATIN CAPITAL LETTER U WITH ACUTE"
+   u:entity="Uacute"
+   string="\('U"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00db;"
+   u:name="LATIN CAPITAL LETTER U WITH CIRCUMFLEX"
+   u:entity="Ucirc"
+   string="\(^U"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00dc;"
+   u:name="LATIN CAPITAL LETTER U WITH DIAERESIS"
+   u:entity="Uuml"
+   string="\(:U"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00dd;"
+   u:name="LATIN CAPITAL LETTER Y WITH ACUTE"
+   u:entity="Yacute"
+   string="\('Y"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00de;"
+   u:name="LATIN CAPITAL LETTER THORN"
+   u:entity="THORN"
+   string="\(TP"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00df;"
+   u:name="LATIN SMALL LETTER SHARP S"
+   u:entity="szlig"
+   string="\(ss"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00e0;"
+   u:name="LATIN SMALL LETTER A WITH GRAVE"
+   u:entity="agrave"
+   string="\(`a"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00e1;"
+   u:name="LATIN SMALL LETTER A WITH ACUTE"
+   u:entity="aacute"
+   string="\('a"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00e2;"
+   u:name="LATIN SMALL LETTER A WITH CIRCUMFLEX"
+   u:entity="acirc"
+   string="\(^a"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00e3;"
+   u:name="LATIN SMALL LETTER A WITH TILDE"
+   u:entity="atilde"
+   string="\(~a"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00e4;"
+   u:name="LATIN SMALL LETTER A WITH DIAERESIS"
+   u:entity="auml"
+   string="\(:a"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00e5;"
+   u:name="LATIN SMALL LETTER A WITH RING ABOVE"
+   u:entity="aring"
+   string="\(oa"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00e6;"
+   u:name="LATIN SMALL LETTER AE"
+   u:entity="aelig"
+   string="\(ae"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00e7;"
+   u:name="LATIN SMALL LETTER C WITH CEDILLA"
+   u:entity="ccedil"
+   string="\(,c"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00e8;"
+   u:name="LATIN SMALL LETTER E WITH GRAVE"
+   u:entity="egrave"
+   string="\(`e"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00e9;"
+   u:name="LATIN SMALL LETTER E WITH ACUTE"
+   u:entity="eacute"
+   string="\('e"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00ea;"
+   u:name="LATIN SMALL LETTER E WITH CIRCUMFLEX"
+   u:entity="ecirc"
+   string="\(^e"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00eb;"
+   u:name="LATIN SMALL LETTER E WITH DIAERESIS"
+   u:entity="euml"
+   string="\(:e"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00ec;"
+   u:name="LATIN SMALL LETTER I WITH GRAVE"
+   u:entity="igrave"
+   string="\(`i"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00ed;"
+   u:name="LATIN SMALL LETTER I WITH ACUTE"
+   u:entity="iacute"
+   string="\('i"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00ee;"
+   u:name="LATIN SMALL LETTER I WITH CIRCUMFLEX"
+   u:entity="icirc"
+   string="\(^i"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00ef;"
+   u:name="LATIN SMALL LETTER I WITH DIAERESIS"
+   u:entity="iuml"
+   string="\(:i"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00f0;"
+   u:name="LATIN SMALL LETTER ETH"
+   u:entity="eth"
+   string="\(Sd"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00f1;"
+   u:name="LATIN SMALL LETTER N WITH TILDE"
+   u:entity="ntilde"
+   string="\(~n"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00f2;"
+   u:name="LATIN SMALL LETTER O WITH GRAVE"
+   u:entity="ograve"
+   string="\(`o"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00f3;"
+   u:name="LATIN SMALL LETTER O WITH ACUTE"
+   u:entity="oacute"
+   string="\('o"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00f4;"
+   u:name="LATIN SMALL LETTER O WITH CIRCUMFLEX"
+   u:entity="ocirc"
+   string="\(^o"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00f5;"
+   u:name="LATIN SMALL LETTER O WITH TILDE"
+   u:entity="otilde"
+   string="\(~o"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00f6;"
+   u:name="LATIN SMALL LETTER O WITH DIAERESIS"
+   u:entity="ouml"
+   string="\(:o"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00f7;"
+   u:name="DIVISION SIGN"
+   u:entity="divide"
+   string="\(di"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="symbols"
+   />
+  <xsl:output-character
+   character="&#x00f8;"
+   u:name="LATIN SMALL LETTER O WITH STROKE"
+   u:entity="oslash"
+   string="\(/o"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00f9;"
+   u:name="LATIN SMALL LETTER U WITH GRAVE"
+   u:entity="ugrave"
+   string="\(`u"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00fa;"
+   u:name="LATIN SMALL LETTER U WITH ACUTE"
+   u:entity="uacute"
+   string="\('u"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00fb;"
+   u:name="LATIN SMALL LETTER U WITH CIRCUMFLEX"
+   u:entity="ucirc"
+   string="\(^u"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00fc;"
+   u:name="LATIN SMALL LETTER U WITH DIAERESIS"
+   u:entity="uuml"
+   string="\(:u"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00fd;"
+   u:name="LATIN SMALL LETTER Y WITH ACUTE"
+   u:entity="yacute"
+   string="\('y"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00fe;"
+   u:name="LATIN SMALL LETTER THORN"
+   u:entity="thorn"
+   string="\(Tp"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <xsl:output-character
+   character="&#x00ff;"
+   u:name="LATIN SMALL LETTER Y WITH DIAERESIS"
+   u:entity="yuml"
+   string="\(:y"
+   u:block="C1 Controls And Latin-1 Supplement (Latin-1 Supplement)"
+   u:class="letters"
+   />
+  <!-- * **************************************************************** -->
+  <!-- *   End: Latin-1/ISO-8859-1 -->
+  <!-- * **************************************************************** -->
+  
+  <!-- * **************************************************************** -->
+  <!-- *   Begin: -->
+  <!-- * -->
+  <!-- *     - x0100 to x017f (Latin Extended-A) -->
+  <!-- *     - x0180 to x023f (Latin Extended-B) -->
+  <!-- *     - x0250 to x02ad (IPA Extensions) -->
+  <!-- *     - x02b0 to x02ee (Spacing Modifier Letters) -->
+  <!-- *     - x0300 to x036f (Combining Diacritical Marks) -->
+  <!-- * -->
+  <!-- *   Other than the following exceptions, characters in these -->
+  <!-- *   blocks don't have any roff equivalents -->
+  <!-- * **************************************************************** -->
+
+  <xsl:output-character
+   character="&#x0131;"
+   u:name="LATIN SMALL LETTER DOTLESS I"
+   u:entity="inodot"
+   string="\(.i"
+   u:block="Latin Extended-A"
+   />
+  <xsl:output-character
+   character="&#x0132;"
+   u:name="LATIN CAPITAL LIGATURE IJ"
+   u:entity="IJlig"
+   string="\(IJ"
+   u:block="Latin Extended-A"
+   />
+  <xsl:output-character
+   character="&#x0133;"
+   u:name="LATIN SMALL LIGATURE IJ"
+   u:entity="ijlig"
+   string="\(ij"
+   u:block="Latin Extended-A"
+   />
+  <xsl:output-character
+   character="&#x0141;"
+   u:name="LATIN CAPITAL LETTER L WITH STROKE"
+   u:entity="Lstrok"
+   string="\(/L"
+   u:block="Latin Extended-A"
+   />
+  <xsl:output-character
+   character="&#x0142;"
+   u:name="LATIN SMALL LETTER L WITH STROKE"
+   u:entity="lstrok"
+   string="\(/l"
+   u:block="Latin Extended-A"
+   />
+  <xsl:output-character
+   character="&#x0152;"
+   u:name="LATIN CAPITAL LIGATURE OE"
+   u:entity="OElig"
+   string="\(OE"
+   u:block="Latin Extended-A"
+   />
+  <xsl:output-character
+   character="&#x0153;"
+   u:name="LATIN SMALL LIGATURE OE"
+   u:entity="oelig"
+   string="\(oe"
+   u:block="Latin Extended-A"
+   />
+  <xsl:output-character
+   character="&#x0192;"
+   u:name="LATIN SMALL LETTER F WITH HOOK"
+   u:entity="fnof"
+   string="\(Fn"
+   u:block="Latin Extended-B"
+   />
+  <xsl:output-character
+   character="&#x02c6;"
+   u:name="MODIFIER LETTER CIRCUMFLEX ACCENT"
+   u:entity="circ"
+   string="\(a^"
+   u:block="Spacing Modifier Letters"
+   />
+  <xsl:output-character
+   character="&#x02c7;"
+   u:name="CARON"
+   u:entity="caron"
+   string="\(ac"
+   u:block="Spacing Modifier Letters"
+   />
+  <xsl:output-character
+   character="&#x02c9;"
+   u:name="MODIFIER LETTER MACRON"
+   string="\(a-"
+   u:block="Spacing Modifier Letters"
+   />
+  <xsl:output-character
+   character="&#x02d8;"
+   u:name="BREVE"
+   u:entity="breve"
+   string="\(ab"
+   u:block="Spacing Modifier Letters"
+   />
+<!-- * there does not seem to by any roff equivalent for "dot above" -->
+<!-- * <xsl:output-character -->
+<!-- *  character="&#x02d9;" -->
+<!-- *  u:name="DOT ABOVE" -->
+<!-- *  u:entity="dot" -->
+<!-- *  /> -->
+  <xsl:output-character
+   character="&#x02da;"
+   u:name="RING ABOVE"
+   u:entity="ring"
+   string="\(ao"
+   u:block="Spacing Modifier Letters"
+   />
+  <xsl:output-character
+   character="&#x02db;"
+   u:name="OGONEK"
+   u:entity="ogon"
+   string="\(ho"
+   u:block="Spacing Modifier Letters"
+   />
+  <!-- groff_char(7) calls Unicode x02dd a "Hungarian umlaut"  -->
+  <xsl:output-character
+   character="&#x02dd;"
+   u:name="DOUBLE ACUTE ACCENT"
+   u:entity="dblac"
+   string='\(a"'
+   u:block="Spacing Modifier Letters"
+   />
+
+  <!-- * **************************************************************** -->
+  <!-- *   End: -->
+  <!-- *     - Latin Extended-A -->
+  <!-- *     - Latin Extended-B -->
+  <!-- *     - IPA Extensions -->
+  <!-- *     - Spacing Modifier Letters -->
+  <!-- *     - Combining Diacritical Marks -->
+  <!-- * **************************************************************** -->
+  
+  <!-- * **************************************************************** -->
+  <!-- *   Begin: Greek and Coptic -->
+  <!-- *     x0370 to x03ff -->
+  <!-- * **************************************************************** -->
+  
+  <xsl:output-character
+   character="&#x0391;"
+   u:name="GREEK CAPITAL LETTER ALPHA"
+   u:entity="Agr"
+   string="\(*A)"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x0392;"
+   u:name="GREEK CAPITAL LETTER BETA"
+   u:entity="Bgr"
+   string="\(*B"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x0393;"
+   u:name="GREEK CAPITAL LETTER GAMMA"
+   u:entity="Gamma"
+   string="\(*G"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x0394;"
+   u:name="GREEK CAPITAL LETTER DELTA"
+   u:entity="Delta"
+   string="\(*D"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x0395;"
+   u:name="GREEK CAPITAL LETTER EPSILON"
+   u:entity="Egr"
+   string="\(*E"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x0396;"
+   u:name="GREEK CAPITAL LETTER ZETA"
+   u:entity="Zgr"
+   string="\(*Z"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x0397;"
+   u:name="GREEK CAPITAL LETTER ETA"
+   u:entity="EEgr"
+   string="\(*Y"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x0398;"
+   u:name="GREEK CAPITAL LETTER THETA"
+   u:entity="THgr"
+   string="\(*H"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x0399;"
+   u:name="GREEK CAPITAL LETTER IOTA"
+   u:entity="Igr"
+   string="\(*I"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x039a;"
+   u:name="GREEK CAPITAL LETTER KAPPA"
+   u:entity="Kgr"
+   string="\(*K"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x039b;"
+   u:name="GREEK CAPITAL LETTER LAMDA"
+   u:entity="Lambda"
+   string="\(*L"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x039c;"
+   u:name="GREEK CAPITAL LETTER MU"
+   u:entity="Mgr"
+   string="\(*M"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x039d;"
+   u:name="GREEK CAPITAL LETTER NU"
+   u:entity="Ngr"
+   string="\(*N"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x039e;"
+   u:name="GREEK CAPITAL LETTER XI"
+   u:entity="Xgr"
+   string="\(*C"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x039f;"
+   u:name="GREEK CAPITAL LETTER OMICRON"
+   u:entity="Ogr"
+   string="\(*O"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03a0;"
+   u:name="GREEK CAPITAL LETTER PI"
+   u:entity="Pgr"
+   string="\(*P"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03a1;"
+   u:name="GREEK CAPITAL LETTER RHO"
+   u:entity="Rgr"
+   string="\(*R"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03a3;"
+   u:name="GREEK CAPITAL LETTER SIGMA"
+   u:entity="Sgr"
+   string="\(*S"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03a4;"
+   u:name="GREEK CAPITAL LETTER TAU"
+   u:entity="Tgr"
+   string="\(*T"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03a5;"
+   u:name="GREEK CAPITAL LETTER UPSILON"
+   u:entity="Ugr"
+   string="\(*U"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03a6;"
+   u:name="GREEK CAPITAL LETTER PHI"
+   u:entity="PHgr"
+   string="\(*F"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03a7;"
+   u:name="GREEK CAPITAL LETTER CHI"
+   u:entity="KHgr"
+   string="\(*X"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03a8;"
+   u:name="GREEK CAPITAL LETTER PSI"
+   u:entity="PSgr"
+   string="\(*Q"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03a9;"
+   u:name="GREEK CAPITAL LETTER OMEGA"
+   u:entity="OHgr"
+   string="\(*W"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03aa;"
+   u:name="GREEK CAPITAL LETTER IOTA WITH DIALYTIKA"
+   u:entity="Idigr"
+   string="\(*I"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03ab;"
+   u:name="GREEK CAPITAL LETTER UPSILON WITH DIALYTIKA"
+   u:entity="Udigr"
+   string="\(*U"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03ac;"
+   u:name="GREEK SMALL LETTER ALPHA WITH TONOS"
+   u:entity="aacgr"
+   string="\(*a"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03ad;"
+   u:name="GREEK SMALL LETTER EPSILON WITH TONOS"
+   u:entity="eacgr"
+   string="\(*e"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03ae;"
+   u:name="GREEK SMALL LETTER ETA WITH TONOS"
+   u:entity="eeacgr"
+   string="\(*y"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03af;"
+   u:name="GREEK SMALL LETTER IOTA WITH TONOS"
+   u:entity="iacgr"
+   string="\(*i"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03b0;"
+   u:name="GREEK SMALL LETTER UPSILON WITH DIALYTIKA AND TONOS"
+   u:entity="udiagr"
+   string="\(*u"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03b1;"
+   u:name="GREEK SMALL LETTER ALPHA"
+   u:entity="agr"
+   string="\(*a"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03b2;"
+   u:name="GREEK SMALL LETTER BETA"
+   u:entity="beta"
+   string="\(*b"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03b3;"
+   u:name="GREEK SMALL LETTER GAMMA"
+   u:entity="gamma"
+   string="\(*g"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03b4;"
+   u:name="GREEK SMALL LETTER DELTA"
+   u:entity="delta"
+   string="\(*d"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03b5;"
+   u:name="GREEK SMALL LETTER EPSILON"
+   u:entity="epsi"
+   string="\(*e"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03b6;"
+   u:name="GREEK SMALL LETTER ZETA"
+   u:entity="zeta"
+   string="\(*z"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03b7;"
+   u:name="GREEK SMALL LETTER ETA"
+   u:entity="eegr"
+   string="\(*y"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03b8;"
+   u:name="GREEK SMALL LETTER THETA"
+   u:entity="thetas"
+   string="\(*h"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03b9;"
+   u:name="GREEK SMALL LETTER IOTA"
+   u:entity="igr"
+   string="\(*i"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03ba;"
+   u:name="GREEK SMALL LETTER KAPPA"
+   u:entity="kappa"
+   string="\(*k"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03bb;"
+   u:name="GREEK SMALL LETTER LAMDA"
+   u:entity="lambda"
+   string="\(*l"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03bc;"
+   u:name="GREEK SMALL LETTER MU"
+   u:entity="mgr"
+   string="\(*m"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03bd;"
+   u:name="GREEK SMALL LETTER NU"
+   u:entity="ngr"
+   string="\(*n"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03be;"
+   u:name="GREEK SMALL LETTER XI"
+   u:entity="xgr"
+   string="\(*c"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03bf;"
+   u:name="GREEK SMALL LETTER OMICRON"
+   u:entity="ogr"
+   string="\(*o"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03c0;"
+   u:name="GREEK SMALL LETTER PI"
+   u:entity="pgr"
+   string="\(*p"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03c1;"
+   u:name="GREEK SMALL LETTER RHO"
+   u:entity="rgr"
+   string="\(*r"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03c2;"
+   u:name="GREEK SMALL LETTER FINAL SIGMA"
+   u:entity="sfgr"
+   string="\(ts"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03c3;"
+   u:name="GREEK SMALL LETTER SIGMA"
+   u:entity="sgr"
+   string="\(*s"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03c4;"
+   u:name="GREEK SMALL LETTER TAU"
+   u:entity="tau"
+   string="\(*t"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03c5;"
+   u:name="GREEK SMALL LETTER UPSILON"
+   u:entity="ugr"
+   string="\(*u"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03c6;"
+   u:name="GREEK SMALL LETTER PHI"
+   u:entity="phgr"
+   string="\(*f"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03c7;"
+   u:name="GREEK SMALL LETTER CHI"
+   u:entity="chi"
+   string="\(*x"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03c8;"
+   u:name="GREEK SMALL LETTER PSI"
+   u:entity="psgr"
+   string="\(*q"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03c9;"
+   u:name="GREEK SMALL LETTER OMEGA"
+   u:entity="ohgr"
+   string="\(*w"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03ca;"
+   u:name="GREEK SMALL LETTER IOTA WITH DIALYTIKA"
+   u:entity="idigr"
+   string="\(*i"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03cb;"
+   u:name="GREEK SMALL LETTER UPSILON WITH DIALYTIKA"
+   u:entity="udigr"
+   string="\(*u"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03cc;"
+   u:name="GREEK SMALL LETTER OMICRON WITH TONOS"
+   u:entity="oacgr"
+   string="\(*o"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03cd;"
+   u:name="GREEK SMALL LETTER UPSILON WITH TONOS"
+   u:entity="uacgr"
+   string="\(*u"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03ce;"
+   u:name="GREEK SMALL LETTER OMEGA WITH TONOS"
+   u:entity="ohacgr"
+   string="\(*w"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03d0;"
+   u:name="GREEK BETA SYMBOL"
+   string="\(*B"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03d1;"
+   u:name="GREEK THETA SYMBOL"
+   u:entity="thetav"
+   string="\(+h"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03d2;"
+   u:name="GREEK UPSILON WITH HOOK SYMBOL"
+   u:entity="Upsi"
+   string="\(*U"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03d3;"
+   u:name="GREEK UPSILON WITH ACUTE AND HOOK SYMBOL"
+   string="\(*U"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03d4;"
+   u:name="GREEK UPSILON WITH DIAERESIS AND HOOK SYMBOL"
+   string="\(*U"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03d5;"
+   u:name="GREEK PHI SYMBOL"
+   u:entity="phis"
+   string="\(+f"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03d6;"
+   u:name="GREEK PI SYMBOL"
+   u:entity="piv"
+   string="\(+p"
+   u:block="Greek and Coptic"
+   />
+  <!-- no mappings for remaining chars x03d7 to x03ef -->
+  <xsl:output-character
+   character="&#x03f0;"
+   u:name="GREEK KAPPA SYMBOL"
+   u:entity="kappav"
+   string="(*k"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03f1;"
+   u:name="GREEK RHO SYMBOL"
+   u:entity="rhov"
+   string="\(*r"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03f2;"
+   u:name="GREEK LUNATE SIGMA SYMBOL"
+   string="\(*s"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03f4;"
+   u:name="GREEK CAPITAL THETA SYMBOL"
+   string="\(*H"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03f5;"
+   u:name="GREEK LUNATE EPSILON SYMBOL"
+   string="\(*e"
+   u:block="Greek and Coptic"
+   />
+  <xsl:output-character
+   character="&#x03f6;"
+   u:name="GREEK REVERSED LUNATE EPSILON SYMBOL"
+   u:entity="bepsi"
+   string="\(*e"
+   u:block="Greek and Coptic"
+   />
+
+  <!-- * ***************************************************************** -->
+  <!-- *   End: Greek and Coptic -->
+  <!-- * ***************************************************************** -->
+  
+  <!-- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+  <!-- *   Cyrillic -->
+  <!-- *   x0400 to x04ff -->
+  <!-- *   - do nothing - -->
+  <!-- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+  
+  <!-- * ***************************************************************** -->
+  <!-- *   Begin: General Punctuation -->
+  <!-- *   x2000 to x206f -->
+  <!-- * ***************************************************************** -->
+  
+  <!-- * first, spaces of various widths -->
+
+  <!-- * Note: There does not seem to be either a real em space or en space -->
+  <!-- * in roff; to approximate them, this character map assumes that in -->
+  <!-- * most fonts, an en space is about the same as the width of a digit -->
+  <!-- * (in roff, "\0"), so an em space (which by definition is -->
+  <!-- * equal to the width of two en spaces) is about the same as the width -->
+  <!-- * of two digits (thus, in roff, "\0\0") -->
+
+  <xsl:output-character
+   character="&#x2000;"
+   u:name="EN QUAD"
+   string="\0"
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+  <xsl:output-character
+   character="&#x2001;"
+   u:name="EM QUAD"
+   string="\0\0"
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+  <xsl:output-character
+   character="&#x2002;"
+   u:name="EN SPACE"
+   u:entity="ensp"
+   string="\0"
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+  <xsl:output-character
+   character="&#x2003;"
+   u:name="EM SPACE"
+   u:entity="emsp"
+   string="\0\0"
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+  <!-- * roughly same width as a normal space -->
+  <xsl:output-character
+   character="&#x2004;"
+   u:name="THREE-PER-EM SPACE"
+   u:entity="emsp13"
+   string=" "
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+  <!-- * roughly same width as a normal space -->
+  <xsl:output-character
+   character="&#x2005;"
+   u:name="FOUR-PER-EM SPACE"
+   u:entity="emsp14"
+   string=" "
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+  <!-- * roughly same width as a normal space -->
+  <xsl:output-character
+   character="&#x2006;"
+   u:name="SIX-PER-EM SPACE"
+   string=" "
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+  <!-- * same as roff "digit" space -->
+  <xsl:output-character
+   character="&#x2007;"
+   u:name="FIGURE SPACE"
+   u:entity="numsp"
+   string="\0"
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+  <!-- * punctuation space in most fonts is actually closer to a normal -->
+  <!-- * space than it is to a thin space -->
+  <xsl:output-character
+   character="&#x2008;"
+   u:name="PUNCTUATION SPACE"
+   u:entity="puncsp"
+   string=" "
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+  <!-- * Note: Not sure how best to deal with thin space, because the roff -->
+  <!-- * thin space, "\^", prints as a zero-width space in TTY -->
+  <!-- * output. However, it seems that, unlike a hair space, a thin space, -->
+  <!-- * at 1/12 of an em, is still recognizable to most people as a space, -->
+  <!-- * so treating it as zero-width seems wrong. So, for the sake of making -->
+  <!-- * TTY output look OK, just substitute with a normal space; but real -->
+  <!-- * roff escape is "\(\^" -->
+  <xsl:output-character
+   character="&#x2009;"
+   u:name="THIN SPACE"
+   u:entity="thinsp"
+   string=" "
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+  <!-- * I don't think there's a standard definition of what a hair -->
+  <!-- * space is; some guides just say it's "less than 1/5 of an em" or -->
+  <!-- * that it's "narrower than a thin space"; seems like in practice, -->
+  <!-- * it's *a lot* narrower than a thin space, to the point where -->
+  <!-- * it's close to being a non-space, so here it's substituted with -->
+  <!-- * roff equivalent of a zero-width no-break space -->
+  <xsl:output-character
+   character="&#x200a;"
+   u:name="HAIR SPACE"
+   u:entity="hairsp"
+   string="\&amp;"
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+  <!-- * map to roff "zero-width break point"  -->
+  <xsl:output-character
+   character="&#x200b;"
+   u:name="ZERO WIDTH SPACE"
+   string="\:"
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+
+  <!-- *   x200c and x200d have special purposes in some Indic languages (I -->
+  <!-- *   think); for the "correct" zero-width space, according to Unicode docs, -->
+  <!-- *   use x2060, not x200c or x200d -->
+  <!-- *     <xsl:output-character -->
+  <!-- *      character="&#x200c;" -->
+  <!-- *      u:name="ZERO WIDTH NON-JOINER" -->
+  <!-- *      string="\:" -->
+  <!-- *      /> -->
+  <!-- *     <xsl:output-character -->
+  <!-- *      character="&#x200d;" -->
+  <!-- *      u:name="ZERO WIDTH JOINER" -->
+  <!-- *      string="\&amp;" -->
+  <!-- *      /> -->
+  <!-- * non-visible  -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x200e;" -->
+  <!-- *      u:name="LEFT-TO-RIGHT MARK" -->
+  <!-- *      /> -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x200f;" -->
+  <!-- *      u:name="RIGHT-TO-LEFT MARK" -->
+  <!-- *      /> -->
+
+  <!-- * .................................................... -->
+  <!-- * next, hyphens and various dashes, bars, underscores  -->
+  <xsl:output-character
+   character="&#x2010;"
+   u:name="HYPHEN"
+   u:entity="hyphen"
+   string="\(hy"
+   u:block="General Punctuation"
+   u:class="dashes"
+   />
+  <!-- * although the groff docs do not make it clear, testing -->
+  <!-- * indicates that the only reliable way to make a non-breaking -->
+  <!-- * hyphen is to put just a backslash in front of it. -->
+  <!-- * -->
+  <!-- * based on testing, it also appears that no character is needed -->
+  <!-- * after the hyphen in order to make it non-breaking -->
+  <xsl:output-character
+   character="&#x2011;"
+   u:name="NON-BREAKING HYPHEN"
+   string="\-"
+   u:block="General Punctuation"
+   u:class="dashes"
+   />
+  <!-- * roughly same width as en dash -->
+  <xsl:output-character
+   character="&#x2012;"
+   u:name="FIGURE DASH"
+   string="\(en"
+   u:block="General Punctuation"
+   u:class="dashes"
+   />
+  <xsl:output-character
+   character="&#x2013;"
+   u:name="EN DASH"
+   u:entity="ndash"
+   string="\(en"
+   u:block="General Punctuation"
+   u:class="dashes"
+   />
+  <xsl:output-character
+   character="&#x2014;"
+   u:name="EM DASH"
+   u:entity="mdash"
+   string="\(em"
+   u:block="General Punctuation"
+   u:class="dashes"
+   />
+  <!-- * seems roughly same width as em dash -->
+  <xsl:output-character
+   character="&#x2015;"
+   u:name="HORIZONTAL BAR"
+   u:entity="horbar"
+   string="\(em"
+   u:block="General Punctuation"
+   u:class="dashes"
+   />
+  <xsl:output-character
+   character="&#x2016;"
+   u:name="DOUBLE VERTICAL LINE"
+   u:entity="Verbar"
+   string="\(bv\(bv"
+   u:block="General Punctuation"
+   />
+  <!-- * no double-underscore in roff; so just make it a single -->
+  <!-- * underscore -->
+  <xsl:output-character
+   character="&#x2017;"
+   u:name="DOUBLE LOW LINE"
+   string="_"
+   u:block="General Punctuation"
+   />
+
+  <!-- * .................................................... -->
+  <!-- * various quotation marks -->
+  <xsl:output-character
+   character="&#x2018;"
+   u:name="LEFT SINGLE QUOTATION MARK"
+   u:entity="lsquo"
+   string="\(oq"
+   u:block="General Punctuation"
+   u:class="quotes"
+   />
+  <xsl:output-character
+   character="&#x2019;"
+   u:name="RIGHT SINGLE QUOTATION MARK"
+   u:entity="rsquo"
+   string="\(cq"
+   u:block="General Punctuation"
+   u:class="quotes"
+   />
+  <xsl:output-character
+   character="&#x201a;"
+   u:name="SINGLE LOW-9 QUOTATION MARK"
+   u:entity="lsquor"
+   string="\(bq"
+   u:block="General Punctuation"
+   u:class="quotes"
+   />
+  <!-- * no roff equiv; treat same as lsquo -->
+  <xsl:output-character
+   character="&#x201b;"
+   u:name="SINGLE HIGH-REVERSED-9 QUOTATION MARK"
+   string="\(oq"
+   u:block="General Punctuation"
+   u:class="quotes"
+   />
+  <xsl:output-character
+   character="&#x201c;"
+   u:name="LEFT DOUBLE QUOTATION MARK"
+   u:entity="ldquo"
+   string="\(lq"
+   u:block="General Punctuation"
+   u:class="quotes"
+   />
+  <xsl:output-character
+   character="&#x201d;"
+   u:name="RIGHT DOUBLE QUOTATION MARK"
+   u:entity="rdquo"
+   string="\(rq"
+   u:block="General Punctuation"
+   u:class="quotes"
+   />
+  <xsl:output-character
+   character="&#x201e;"
+   u:name="DOUBLE LOW-9 QUOTATION MARK"
+   u:entity="ldquor"
+   string="\(Bq"
+   u:block="General Punctuation"
+   u:class="quotes"
+   />
+  <!-- * no roff equiv; treat same as rdquo -->
+  <xsl:output-character
+   character="&#x201f;"
+   u:name="DOUBLE HIGH-REVERSED-9 QUOTATION MARK"
+   string="\(rq"
+   u:block="General Punctuation"
+   u:class="quotes"
+   />
+
+  <!-- * .................................................... -->
+  <!-- * various symbols -->
+  <xsl:output-character
+   character="&#x2020;"
+   u:name="DAGGER"
+   u:entity="dagger"
+   string="\(dg"
+   u:block="General Punctuation_daggers"
+   />
+  <xsl:output-character
+   character="&#x2021;"
+   u:name="DOUBLE DAGGER"
+   u:entity="Dagger"
+   string="\(dd"
+   u:block="General Punctuation_daggers"
+   />
+  <xsl:output-character
+   character="&#x2022;"
+   u:name="BULLET"
+   u:entity="bull"
+   string="\(bu"
+   u:block="General Punctuation"
+   u:class="bullets"
+   />
+  <!-- * no roff equiv -->
+  <xsl:output-character
+   character="&#x2023;"
+   u:name="TRIANGULAR BULLET"
+   string=">\&amp;"
+   u:block="General Punctuation"
+   u:class="bullets"
+   />
+  <!-- * no roff equiv -->
+  <xsl:output-character
+   character="&#x2024;"
+   u:name="ONE DOT LEADER"
+   string="\&amp;."
+   u:block="General Punctuation_leaders"
+   />
+  <!-- * no roff equiv -->
+  <xsl:output-character
+   character="&#x2025;"
+   u:name="TWO DOT LEADER"
+   u:entity="nldr"
+   string="\&amp;.."
+   u:block="General Punctuation_leaders"
+   />
+  <!-- * no roff equiv -->
+  <xsl:output-character
+   character="&#x2026;"
+   u:name="HORIZONTAL ELLIPSIS"
+   u:entity="hellip"
+   string="\&amp;..."
+   u:block="General Punctuation"
+   />
+  <!-- what is "hyphenation point" used for? looks like middot to me... -->
+  <xsl:output-character
+   character="&#x2027;"
+   u:name="HYPHENATION POINT"
+   string="\(md"
+   u:block="General Punctuation"
+   />
+  <!-- * Begin x2028 to x202e - no idea what to do with these -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2028;" -->
+  <!-- *      u:name="LINE SEPARATOR" -->
+  <!-- *      /> -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2029;" -->
+  <!-- *      u:name="PARAGRAPH SEPARATOR" -->
+  <!-- *      /> -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x202a;" -->
+  <!-- *      u:name="LEFT-TO-RIGHT EMBEDDING" -->
+  <!-- *      /> -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x202b;" -->
+  <!-- *      u:name="RIGHT-TO-LEFT EMBEDDING" -->
+  <!-- *      /> -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x202c;" -->
+  <!-- *      u:name="POP DIRECTIONAL FORMATTING" -->
+  <!-- *      /> -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x202d;" -->
+  <!-- *      u:name="LEFT-TO-RIGHT OVERRIDE" -->
+  <!-- *      /> -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x202e;" -->
+  <!-- *      u:name="RIGHT-TO-LEFT OVERRIDE" -->
+  <!-- *      /> -->
+  <!-- *      End x2028 to x202e - no idea what to do with these -->
+
+  <!-- * seems like "narrow" nbsp is basically the same as a no-break -->
+  <!-- * space -->
+  <xsl:output-character
+   character="&#x202f;"
+   u:name="NARROW NO-BREAK SPACE"
+   string="\ "
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+  <xsl:output-character
+   character="&#x2030;"
+   u:name="PER MILLE SIGN"
+   u:entity="permil"
+   string="\(%0"
+   u:block="General Punctuation"
+   />
+  <!-- * no roff equiv; no idea what to do with it -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2031;" -->
+  <!-- *      u:name="PER TEN THOUSAND SIGN" -->
+  <!-- *      /> -->
+  <xsl:output-character
+   character="&#x2032;"
+   u:name="PRIME"
+   u:entity="prime"
+   string="\(fm"
+   u:block="General Punctuation"
+   u:class="primes"
+   />
+  <xsl:output-character
+   character="&#x2033;"
+   u:name="DOUBLE PRIME"
+   u:entity="Prime"
+   string="\(sd"
+   u:block="General Punctuation"
+   u:class="primes"
+   />
+  <xsl:output-character
+   character="&#x2034;"
+   u:name="TRIPLE PRIME"
+   u:entity="tprime"
+   string="\(sd\(fm"
+   u:block="General Punctuation"
+   u:class="primes"
+   />
+  <!-- * no idea for these  -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2035;" -->
+  <!-- *      u:name="REVERSED PRIME" -->
+  <!-- *      u:entity="bprime" -->
+  <!-- *      /> -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2036;" -->
+  <!-- *      u:name="REVERSED DOUBLE PRIME" -->
+  <!-- *      /> -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2037;" -->
+  <!-- *      u:name="REVERSED TRIPLE PRIME" -->
+  <!-- *      /> -->
+
+  <!-- * there is no low caret in roff -->
+  <xsl:output-character
+   character="&#x2038;"
+   u:name="CARET"
+   string="^"
+   u:block="General Punctuation"
+   />
+  <xsl:output-character
+   character="&#x2039;"
+   u:name="SINGLE LEFT-POINTING ANGLE QUOTATION MARK"
+   string="\(fo"
+   u:block="General Punctuation"
+   u:class="quotes"
+   />
+  <xsl:output-character
+   character="&#x203a;"
+   u:name="SINGLE RIGHT-POINTING ANGLE QUOTATION MARK"
+   string="\(fc"
+   u:block="General Punctuation"
+   u:class="quotes"
+   />
+  <!-- * not in roff -->
+  <xsl:output-character
+   character="&#x203b;"
+   u:name="REFERENCE MARK"
+   string="*"
+   u:block="General Punctuation"
+   />
+  <xsl:output-character
+   character="&#x203c;"
+   u:name="DOUBLE EXCLAMATION MARK"
+   string="!!"
+   u:block="General Punctuation"
+   />
+  <xsl:output-character
+   character="&#x203d;"
+   u:name="INTERROBANG"
+   string="?!"
+   u:block="General Punctuation"
+   />
+  <xsl:output-character
+   character="&#x203e;"
+   u:name="OVERLINE"
+   string="\(rn"
+   u:block="General Punctuation"
+   />
+  <xsl:output-character
+   character="&#x203f;"
+   u:name="UNDERTIE"
+   string="\(ul"
+   u:block="General Punctuation"
+   />
+  <!-- * not in roff -->
+  <xsl:output-character
+   character="&#x2040;"
+   u:name="CHARACTER TIE"
+   string="\(rn"
+   u:block="General Punctuation"
+   />
+  <!-- * not in roff -->
+  <xsl:output-character
+   character="&#x2041;"
+   u:name="CARET INSERTION POINT"
+   u:entity="caret"
+   string="^"
+   u:block="General Punctuation"
+   />
+  <!-- * not in roff -->
+  <xsl:output-character
+   character="&#x2042;"
+   u:name="ASTERISM"
+   string="*"
+   u:block="General Punctuation"
+   />
+  <!-- * not in roff; just make bold hyphen -->
+  <xsl:output-character
+   character="&#x2043;"
+   u:name="HYPHEN BULLET"
+   u:entity="hybull"
+   string="\fB-\fR"
+   u:block="General Punctuation"
+   u:class="bullets"
+   />
+  <xsl:output-character
+   character="&#x2044;"
+   u:name="FRACTION SLASH"
+   string="\(sl"
+   u:block="General Punctuation"
+   />
+  <!-- * not in roff -->
+  <xsl:output-character
+   character="&#x2045;"
+   u:name="LEFT SQUARE BRACKET WITH QUILL"
+   string="["
+   u:block="General Punctuation"
+   />
+  <!-- * not in roff -->
+  <xsl:output-character
+   character="&#x2046;"
+   u:name="RIGHT SQUARE BRACKET WITH QUILL"
+   string="]"
+   u:block="General Punctuation"
+   />
+  <xsl:output-character
+   character="&#x2047;"
+   u:name="DOUBLE QUESTION MARK"
+   string="??"
+   u:block="General Punctuation"
+   />
+  <xsl:output-character
+   character="&#x2048;"
+   u:name="QUESTION EXCLAMATION MARK"
+   string="?!"
+   u:block="General Punctuation"
+   />
+  <xsl:output-character
+   character="&#x2049;"
+   u:name="EXCLAMATION QUESTION MARK"
+   string="!?"
+   u:block="General Punctuation"
+   />
+  <!-- * not in roff -->
+  <xsl:output-character
+   character="&#x204a;"
+   u:name="TIRONIAN SIGN ET"
+   string="7"
+   u:block="General Punctuation"
+   />
+  <!-- * not in roff; just replace with un-reversed pilcrow -->
+  <xsl:output-character
+   character="&#x204b;"
+   u:name="REVERSED PILCROW SIGN"
+   string="\(ps"
+   u:block="General Punctuation"
+   />
+  <!-- * not in roff; just make regular bullet -->
+  <xsl:output-character
+   character="&#x204c;"
+   u:name="BLACK LEFTWARDS BULLET"
+   string="\(bu"
+   u:block="General Punctuation"
+   />
+  <!-- * not in roff; just make regular bullet -->
+  <xsl:output-character
+   character="&#x204d;"
+   u:name="BLACK RIGHTWARDS BULLET"
+   string="\(bu"
+   u:block="General Punctuation"
+   />
+  <xsl:output-character
+   character="&#x204e;"
+   u:name="LOW ASTERISK"
+   string="*"
+   u:block="General Punctuation"
+   />
+
+  <!-- * ............................................................... -->
+  <!-- *   Remaining General Punctuation -->
+  <!-- *   from x2050 to x206f -->
+  <!-- *   only map a couple of these -->
+  <!-- * ............................................................... -->
+
+  <!-- * basically same as a normal space -->
+  <xsl:output-character
+   character="&#x205f;"
+   u:name="MEDIUM MATHEMATICAL SPACE"
+   string=" "
+   u:block="General Punctuation"
+   u:class="spaces"
+   />
+  <!-- * Regarding x2060 vs. xFEFF, the document "Unicode Standard Annex #14, -->
+  <!-- * Line Breaking Properties"[1] says: -->
+  <!-- * -->
+  <!-- *   The word joiner character [x2060 a.k.a "WJ"] is the preferred -->
+  <!-- *   choice for an invisible character to keep other characters -->
+  <!-- *   together that would otherwise be split across the line at a direct -->
+  <!-- *   break. The character FEFF has the same effect, but because it is -->
+  <!-- *   also used in an unrelated way as a byte order mark, the use of the -->
+  <!-- *   WJ as the preferred interword glue simplifies the handling of FEFF. -->
+  <!-- * -->
+  <!-- * [1] http://www.unicode.org/reports/tr14/ -->
+  <!-- * -->
+  <!-- * The groff docs seem ambiguous about whether \& is a joiner and -->
+  <!-- * prevents breaks, but, based on testing, seems like it does -->
+  <xsl:output-character
+   character="&#x2060;"
+   u:name="WORD JOINER"
+   string="\&amp;"
+   u:block="General Punctuation"
+   />
+
+  <!-- * ***************************************************************** -->
+  <!-- *   End: General Punctuation -->
+  <!-- * ***************************************************************** -->
+  
+  <!-- * ***************************************************************** -->
+  <!-- *   Begin: Superscripts and Subscripts -->
+  <!-- *    x2070 to x209f -->
+  <!-- *    For superscripts, just do a^n thing -->
+  <!-- *    For subscripts, just do a_n -->
+  <!-- * ***************************************************************** -->
+
+  <xsl:output-character
+   character="&#x2070;"
+   u:name="SUPERSCRIPT ZERO"
+   string="^0"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2071;"
+   u:name="SUPERSCRIPT LATIN SMALL LETTER I"
+   string="^i"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2074;"
+   u:name="SUPERSCRIPT FOUR"
+   string="^4"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2075;"
+   u:name="SUPERSCRIPT FIVE"
+   string="^5"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2076;"
+   u:name="SUPERSCRIPT SIX"
+   string="^6"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2077;"
+   u:name="SUPERSCRIPT SEVEN"
+   string="^7"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2078;"
+   u:name="SUPERSCRIPT EIGHT"
+   string="^8"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2079;"
+   u:name="SUPERSCRIPT NINE"
+   string="^9"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x207a;"
+   u:name="SUPERSCRIPT PLUS SIGN"
+   string="^+"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x207b;"
+   u:name="SUPERSCRIPT MINUS"
+   string="^-"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x207c;"
+   u:name="SUPERSCRIPT EQUALS SIGN"
+   string="^="
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x207d;"
+   u:name="SUPERSCRIPT LEFT PARENTHESIS"
+   string="^("
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x207e;"
+   u:name="SUPERSCRIPT RIGHT PARENTHESIS"
+   string="^)"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x207f;"
+   u:name="SUPERSCRIPT LATIN SMALL LETTER N"
+   string="^n"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2080;"
+   u:name="SUBSCRIPT ZERO"
+   string="_0"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2081;"
+   u:name="SUBSCRIPT ONE"
+   string="_1"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2082;"
+   u:name="SUBSCRIPT TWO"
+   string="_2"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2083;"
+   u:name="SUBSCRIPT THREE"
+   string="_3"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2084;"
+   u:name="SUBSCRIPT FOUR"
+   string="_4"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2085;"
+   u:name="SUBSCRIPT FIVE"
+   string="_5"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2086;"
+   u:name="SUBSCRIPT SIX"
+   string="_6"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2087;"
+   u:name="SUBSCRIPT SEVEN"
+   string="_7"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2088;"
+   u:name="SUBSCRIPT EIGHT"
+   string="_8"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x2089;"
+   u:name="SUBSCRIPT NINE"
+   string="_9"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x208a;"
+   u:name="SUBSCRIPT PLUS SIGN"
+   string="_+"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x208b;"
+   u:name="SUBSCRIPT MINUS"
+   string="_-"
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x208c;"
+   u:name="SUBSCRIPT EQUALS SIGN"
+   string="_="
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x208d;"
+   u:name="SUBSCRIPT LEFT PARENTHESIS"
+   string="_("
+   u:block="Superscripts and Subscripts"
+   />
+  <xsl:output-character
+   character="&#x208e;"
+   u:name="SUBSCRIPT RIGHT PARENTHESIS"
+   string="_)"
+   u:block="Superscripts and Subscripts"
+   />
+  <!-- * ***************************************************************** -->
+  <!-- *   End: Superscripts and Subscripts -->
+  <!-- *     x2070 to x209f -->
+  <!-- * ***************************************************************** -->
+
+  <!-- * ***************************************************************** -->
+  <!-- *   Begin: Currency Symbols -->
+  <!-- *     x20a0 to x20b1 -->
+  <!-- *     No mappings for any of these; just spell out -->
+  <!-- * ***************************************************************** -->
+
+  <xsl:output-character
+   character="&#x20a0;"
+   u:name="EURO-CURRENCY SIGN"
+   string="EUR"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20a1;"
+   u:name="COLON SIGN"
+   string="COLON"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20a2;"
+   u:name="CRUZEIRO SIGN"
+   string="CRUZEIRO"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20a3;"
+   u:name="FRENCH FRANC SIGN"
+   string="FRANC"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20a4;"
+   u:name="LIRA SIGN"
+   string="LIRA"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20a5;"
+   u:name="MILL SIGN"
+   string="MILL"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20a6;"
+   u:name="NAIRA SIGN"
+   string="NAIRA"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20a7;"
+   u:name="PESETA SIGN"
+   string="PESETA"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20a8;"
+   u:name="RUPEE SIGN"
+   string="RUPEE"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20a9;"
+   u:name="WON SIGN"
+   string="WON"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20aa;"
+   u:name="NEW SHEQEL SIGN"
+   string="SHEQEL"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20ab;"
+   u:name="DONG SIGN"
+   string="DONG"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20ac;"
+   u:name="EURO SIGN"
+   string="EUR"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20ad;"
+   u:name="KIP SIGN"
+   string="KIP"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20ae;"
+   u:name="TUGRIK SIGN"
+   string="TUGRIK"
+   u:block="Currency Symbols"
+   />
+  <xsl:output-character
+   character="&#x20af;"
+   u:name="DRACHMA SIGN"
+   string="DRACHMA"
+   u:block="Currency Symbols"
+   />
+  <!-- <xsl:output-character -->
+  <!--  character="&#x20b0;" -->
+  <!--  u:name="GERMAN PENNY SIGN" -->
+  <!--  string="?" -->
+  <!--  u:block="Currency Symbols" -->
+  <!--  /> -->
+  <xsl:output-character
+   character="&#x20b1;"
+   u:name="PESO SIGN"
+   string="PESO"
+   u:block="Currency Symbols"
+   />
+
+  <!-- * ***************************************************************** -->
+  <!-- *   End: Currency Symbols -->
+  <!-- *   x20a0 to x20b1 -->
+  <!-- * ***************************************************************** -->
+
+  <!-- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+  <!-- *   Combining Diacritical Marks for Symbols -->
+  <!-- *     x20d0 to x20ff -->
+  <!-- *     - do nothing - -->
+  <!-- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+
+  <!-- * ***************************************************************** -->
+  <!-- *   Begin: Letterlike Symbols -->
+  <!-- *     x2100 to x214b -->
+  <!-- * -->
+  <!-- *     No mappings for any of these, and nothing appropriate for -->
+  <!-- *     most of them; so, just spell out the ones that we can -->
+  <!-- * ***************************************************************** -->
+
+  <xsl:output-character
+   character="&#x2103;"
+   u:name="DEGREE CELSIUS"
+   string="\(deC"
+   u:block="Letterlike Symbols"
+   />
+  <xsl:output-character
+   character="&#x2105;"
+   u:name="CARE OF"
+   u:entity="incare"
+   string="c/o"
+   u:block="Letterlike Symbols"
+   />
+  <xsl:output-character
+   character="&#x2109;"
+   u:name="DEGREE FAHRENHEIT"
+   string="\(deF"
+   u:block="Letterlike Symbols"
+   />
+  <!-- roff Ifraktur -->
+  <xsl:output-character
+   character="&#x2111;"
+   u:name="BLACK-LETTER CAPITAL I"
+   string="\(Im"
+   u:block="Letterlike Symbols"
+   />
+  <xsl:output-character
+   character="&#x2113;"
+   u:name="SCRIPT SMALL L"
+   u:entity="ell"
+   string="l"
+   u:block="Letterlike Symbols"
+   />
+  <xsl:output-character
+   character="&#x2116;"
+   u:name="NUMERO SIGN"
+   u:entity="numero"
+   string="No."
+   u:block="Letterlike Symbols"
+   />
+  <xsl:output-character
+   character="&#x2118;"
+   u:name="SCRIPT CAPITAL P"
+   u:entity="weierp"
+   string="\(wp"
+   u:block="Letterlike Symbols"
+   />
+  <xsl:output-character
+   character="&#x211c;"
+   u:name="BLACK-LETTER CAPITAL R"
+   u:entity="real"
+   string="\(Re"
+   u:block="Letterlike Symbols"
+   />
+  <xsl:output-character
+   character="&#x211e;"
+   u:name="PRESCRIPTION TAKE"
+   u:entity="rx"
+   string="Rx"
+   u:block="Letterlike Symbols"
+   />
+  <xsl:output-character
+   character="&#x2120;"
+   u:name="SERVICE MARK"
+   string="(SM)"
+   u:block="Letterlike Symbols"
+   />
+  <!-- * We don't do "\(tm" for &#x2122; because for console output, groff -->
+  <!-- * just renders that as "tm", without any preceding space, parens, -->
+  <!-- * or anything. So it just gets run into the preceding word; i.e.: -->
+  <!-- * -->
+  <!-- *  Product&#x2122; -> Producttm -->
+  <!-- * -->
+  <!-- * That it probably not what most people would want. So we just -->
+  <!-- * render it as (TM) instead, Thus: -->
+  <!-- * -->
+  <!-- *  Product&#x2122; -> Product(TM) -->
+  <xsl:output-character
+   character="&#x2122;"
+   u:name="TRADE MARK SIGN"
+   u:entity="trade"
+   string="(TM)"
+   u:block="Letterlike Symbols"
+   />
+  <xsl:output-character
+   character="&#x2126;"
+   u:name="OHM SIGN"
+   u:entity="ohm"
+   string="\(*W"
+   u:block="Letterlike Symbols"
+   />
+  <xsl:output-character
+   character="&#x212a;"
+   u:name="KELVIN SIGN"
+   string="K"
+   u:block="Letterlike Symbols"
+   />
+  <xsl:output-character
+   character="&#x212b;"
+   u:name="ANGSTROM SIGN"
+   u:entity="angst"
+   string="\(oA"
+   u:block="Letterlike Symbols"
+   />
+  <xsl:output-character
+   character="&#x2135;"
+   u:name="ALEF SYMBOL"
+   u:entity="aleph"
+   string="\(Ah"
+   u:block="Letterlike Symbols"
+   />
+
+  <!-- * ***************************************************************** -->
+  <!-- *   End: Letterlike Symbols -->
+  <!-- *     x2100 to x214b -->
+  <!-- * ***************************************************************** -->
+  
+  <!-- * ***************************************************************** -->
+  <!-- *   Begin: Number Forms -->
+  <!-- *     x2150 to x218f -->
+  <!-- * -->
+  <!-- *   No mappings for any of these, and nothing appropriate for most -->
+  <!-- *   of them; so, just spell out the ones that we can -->
+  <!-- * ***************************************************************** -->
+
+  <xsl:output-character
+   character="&#x2153;"
+   u:name="VULGAR FRACTION ONE THIRD"
+   u:entity="frac13"
+   string="1/3"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2154;"
+   u:name="VULGAR FRACTION TWO THIRDS"
+   u:entity="frac23"
+   string="2/3"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2155;"
+   u:name="VULGAR FRACTION ONE FIFTH"
+   u:entity="frac15"
+   string="1/5"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2156;"
+   u:name="VULGAR FRACTION TWO FIFTHS"
+   u:entity="frac25"
+   string="2/5"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2157;"
+   u:name="VULGAR FRACTION THREE FIFTHS"
+   u:entity="frac35"
+   string="3/5"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2158;"
+   u:name="VULGAR FRACTION FOUR FIFTHS"
+   u:entity="frac45"
+   string="4/5"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2159;"
+   u:name="VULGAR FRACTION ONE SIXTH"
+   u:entity="frac16"
+   string="1/6"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x215a;"
+   u:name="VULGAR FRACTION FIVE SIXTHS"
+   u:entity="frac56"
+   string="5/6"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x215b;"
+   u:name="VULGAR FRACTION ONE EIGHTH"
+   u:entity="frac18"
+   string="1/8"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x215c;"
+   u:name="VULGAR FRACTION THREE EIGHTHS"
+   u:entity="frac38"
+   string="3/8"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x215d;"
+   u:name="VULGAR FRACTION FIVE EIGHTHS"
+   u:entity="frac58"
+   string="5/8"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x215e;"
+   u:name="VULGAR FRACTION SEVEN EIGHTHS"
+   u:entity="frac78"
+   string="7/8"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x215f;"
+   u:name="FRACTION NUMERATOR ONE"
+   string="1/"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2160;"
+   u:name="ROMAN NUMERAL ONE"
+   string="I"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2161;"
+   u:name="ROMAN NUMERAL TWO"
+   string="II"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2162;"
+   u:name="ROMAN NUMERAL THREE"
+   string="III"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2163;"
+   u:name="ROMAN NUMERAL FOUR"
+   string="IV"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2164;"
+   u:name="ROMAN NUMERAL FIVE"
+   string="V"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2165;"
+   u:name="ROMAN NUMERAL SIX"
+   string="VI"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2166;"
+   u:name="ROMAN NUMERAL SEVEN"
+   string="VII"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2167;"
+   u:name="ROMAN NUMERAL EIGHT"
+   string="VIII"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2168;"
+   u:name="ROMAN NUMERAL NINE"
+   string="IX"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2169;"
+   u:name="ROMAN NUMERAL TEN"
+   string="X"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x216a;"
+   u:name="ROMAN NUMERAL ELEVEN"
+   string="XI"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x216b;"
+   u:name="ROMAN NUMERAL TWELVE"
+   string="XII"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x216c;"
+   u:name="ROMAN NUMERAL FIFTY"
+   string="L"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x216d;"
+   u:name="ROMAN NUMERAL ONE HUNDRED"
+   string="C"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x216e;"
+   u:name="ROMAN NUMERAL FIVE HUNDRED"
+   string="D"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x216f;"
+   u:name="ROMAN NUMERAL ONE THOUSAND"
+   string="M"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2170;"
+   u:name="SMALL ROMAN NUMERAL ONE"
+   string="i"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2171;"
+   u:name="SMALL ROMAN NUMERAL TWO"
+   string="ii"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2172;"
+   u:name="SMALL ROMAN NUMERAL THREE"
+   string="iii"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2173;"
+   u:name="SMALL ROMAN NUMERAL FOUR"
+   string="iv"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2174;"
+   u:name="SMALL ROMAN NUMERAL FIVE"
+   string="v"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2175;"
+   u:name="SMALL ROMAN NUMERAL SIX"
+   string="vi"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2176;"
+   u:name="SMALL ROMAN NUMERAL SEVEN"
+   string="vii"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2177;"
+   u:name="SMALL ROMAN NUMERAL EIGHT"
+   string="viii"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2178;"
+   u:name="SMALL ROMAN NUMERAL NINE"
+   string="ix"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2179;"
+   u:name="SMALL ROMAN NUMERAL TEN"
+   string="x"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x217a;"
+   u:name="SMALL ROMAN NUMERAL ELEVEN"
+   string="xi"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x217b;"
+   u:name="SMALL ROMAN NUMERAL TWELVE"
+   string="xii"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x217c;"
+   u:name="SMALL ROMAN NUMERAL FIFTY"
+   string="l"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x217d;"
+   u:name="SMALL ROMAN NUMERAL ONE HUNDRED"
+   string="c"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x217e;"
+   u:name="SMALL ROMAN NUMERAL FIVE HUNDRED"
+   string="d"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x217f;"
+   u:name="SMALL ROMAN NUMERAL ONE THOUSAND"
+   string="m"
+   u:block="Number Forms"
+   />
+  <xsl:output-character
+   character="&#x2180;"
+   u:name="ROMAN NUMERAL ONE THOUSAND C D"
+   string="CD"
+   u:block="Number Forms"
+   />
+
+  <!-- * ***************************************************************** -->
+  <!-- *   End: Number Forms -->
+  <!-- *     x2150 to x218f -->
+  <!-- * ***************************************************************** -->
+
+  <!-- * ***************************************************************** -->
+  <!-- *   Begin: Arrows -->
+  <!-- *   x2190 to x21ff -->
+  <!-- * ***************************************************************** -->
+
+  <xsl:output-character
+   character="&#x2190;"
+   u:name="LEFTWARDS ARROW"
+   u:entity="larr"
+   string="\(&lt;-"
+   u:block="Arrows"
+   />
+  <xsl:output-character
+   character="&#x2191;"
+   u:name="UPWARDS ARROW"
+   u:entity="uarr"
+   string="\(ua"
+   u:block="Arrows"
+   />
+  <xsl:output-character
+   character="&#x2192;"
+   u:name="RIGHTWARDS ARROW"
+   u:entity="rarr"
+   string="\(->"
+   u:block="Arrows"
+   />
+  <xsl:output-character
+   character="&#x2193;"
+   u:name="DOWNWARDS ARROW"
+   u:entity="darr"
+   string="\(da"
+   u:block="Arrows"
+   />
+  <xsl:output-character
+   character="&#x2194;"
+   u:name="LEFT RIGHT ARROW"
+   u:entity="harr"
+   string="\(&lt;>"
+   u:block="Arrows"
+   />
+  <xsl:output-character
+   character="&#x2195;"
+   u:name="UP DOWN ARROW"
+   u:entity="varr"
+   string="\(va"
+   u:block="Arrows"
+   />
+  <xsl:output-character
+   character="&#x21b5;"
+   u:name="DOWNWARDS ARROW WITH CORNER LEFTWARDS"
+   u:entity="crarr"
+   string="\(CR"
+   u:block="Arrows"
+   />
+  <xsl:output-character
+   character="&#x21d0;"
+   u:name="LEFTWARDS DOUBLE ARROW"
+   u:entity="lArr"
+   string="\(la"
+   u:block="Arrows"
+   />
+  <xsl:output-character
+   character="&#x21d1;"
+   u:name="UPWARDS DOUBLE ARROW"
+   u:entity="uArr"
+   string="\(uA"
+   u:block="Arrows"
+   />
+  <xsl:output-character
+   character="&#x21d2;"
+   u:name="RIGHTWARDS DOUBLE ARROW"
+   u:entity="rArr"
+   string="\(rA"
+   u:block="Arrows"
+   />
+  <xsl:output-character
+   character="&#x21d3;"
+   u:name="DOWNWARDS DOUBLE ARROW"
+   u:entity="dArr"
+   string="\(dA"
+   u:block="Arrows"
+   />
+  <xsl:output-character
+   character="&#x21d4;"
+   u:name="LEFT RIGHT DOUBLE ARROW"
+   u:entity="hArr"
+   string="\(hA"
+   u:block="Arrows"
+   />
+  <!-- no roff equiv; render same as single arrow -->
+  <xsl:output-character
+   character="&#x21d5;"
+   u:name="UP DOWN DOUBLE ARROW"
+   u:entity="vArr"
+   string="\(va"
+   u:block="Arrows"
+   />
+
+  <!-- * ***************************************************************** -->
+  <!-- *   Begin: Mathematical Operators -->
+  <!-- *     x2200 to x22ff -->
+  <!-- * ***************************************************************** -->
+
+  <xsl:output-character
+   character="&#x2200;"
+   u:name="FOR ALL"
+   u:entity="forall"
+   string="\(fa"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2201;"
+   u:name="COMPLEMENT"
+   u:entity="comp"
+   string="C"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2202;"
+   u:name="PARTIAL DIFFERENTIAL"
+   u:entity="part"
+   string="\(pd"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2203;"
+   u:name="THERE EXISTS"
+   u:entity="exist"
+   string="\(te"
+   u:block="Mathematical Operators"
+   />
+  <!-- * no roff equiv  -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2204;" -->
+  <!-- *      u:name="THERE DOES NOT EXIST" -->
+  <!-- *      u:entity="nexist" -->
+  <!-- *      /> -->
+  <xsl:output-character
+   character="&#x2205;"
+   u:name="EMPTY SET"
+   u:entity="empty"
+   string="\(es"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2206;"
+   u:name="INCREMENT"
+   string="\(*D"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2207;"
+   u:name="NABLA"
+   u:entity="nabla"
+   string="\(gr"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2208;"
+   u:name="ELEMENT OF"
+   u:entity="isin"
+   string="\(mo"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2209;"
+   u:name="NOT AN ELEMENT OF"
+   u:entity="notin"
+   string="\(nm"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x220a;"
+   u:name="SMALL ELEMENT OF"
+   string="\(mo"
+   u:block="Mathematical Operators"
+   />
+
+  <xsl:output-character
+   character="&#x220b;"
+   u:name="CONTAINS AS MEMBER"
+   u:entity="ni"
+   string="\(st"
+   u:block="Mathematical Operators"
+   />
+  <!-- * not in roff  -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x220c;" -->
+  <!-- *      u:name="DOES NOT CONTAIN AS MEMBER" -->
+  <!-- *      /> -->
+  <xsl:output-character
+   character="&#x220d;"
+   u:name="SMALL CONTAINS AS MEMBER"
+   string="\(st"
+   u:block="Mathematical Operators"
+   />
+  <!-- * not in roff -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x220e;" -->
+  <!-- *      u:name="END OF PROOF" -->
+  <!-- *      /> -->
+  <xsl:output-character
+   character="&#x220f;"
+   u:name="N-ARY PRODUCT"
+   u:entity="prod"
+   string="\(product"
+   u:block="Mathematical Operators"
+   />
+  <!-- * not in roff -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2210;" -->
+  <!-- *      u:name="N-ARY COPRODUCT" -->
+  <!-- *      u:entity="coprod" -->
+  <!-- *      /> -->
+  <xsl:output-character
+   character="&#x2211;"
+   u:name="N-ARY SUMMATION"
+   u:entity="sum"
+   string="\(sum"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2212;"
+   u:name="MINUS SIGN"
+   u:entity="minus"
+   string="\-"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2213;"
+   u:name="MINUS-OR-PLUS SIGN"
+   u:entity="mnplus"
+   string="\(+-"
+   u:block="Mathematical Operators"
+   />
+  <!-- * not in roff -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2214;" -->
+  <!-- *      u:name="DOT PLUS" -->
+  <!-- *      u:entity="plusdo" -->
+  <!-- *      /> -->
+  <xsl:output-character
+   character="&#x2215;"
+   u:name="DIVISION SLASH"
+   string="\(f/"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2216;"
+   u:name="SET MINUS"
+   u:entity="setmn"
+   string="\e"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2217;"
+   u:name="ASTERISK OPERATOR"
+   u:entity="lowast"
+   string="\(**"
+   u:block="Mathematical Operators"
+   />
+  <!-- * not in roff -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2218;" -->
+  <!-- *      u:name="RING OPERATOR" -->
+  <!-- *      u:entity="compfn" -->
+  <!-- *      /> -->
+  <xsl:output-character
+   character="&#x2219;"
+   u:name="BULLET OPERATOR"
+   string="\(bu"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x221a;"
+   u:name="SQUARE ROOT"
+   u:entity="radic"
+   string="\(sr"
+   u:block="Mathematical Operators"
+   />
+  <!-- * not in roff -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x221b;" -->
+  <!-- *      u:name="CUBE ROOT" -->
+  <!-- *      /> -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x221c;" -->
+  <!-- *      u:name="FOURTH ROOT" -->
+  <!-- *      /> -->
+  <xsl:output-character
+   character="&#x221d;"
+   u:name="PROPORTIONAL TO"
+   u:entity="prop"
+   string="\(pt"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x221e;"
+   u:name="INFINITY"
+   u:entity="infin"
+   string="\(if"
+   u:block="Mathematical Operators"
+   />
+  <!-- * not in roff -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x221f;" -->
+  <!-- *      u:name="RIGHT ANGLE" -->
+  <!-- *      u:entity="ang90" -->
+  <!-- *      /> -->
+  <xsl:output-character
+   character="&#x2220;"
+   u:name="ANGLE"
+   u:entity="ang"
+   string="\(/_"
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * 0x2221 to 0x2226 not in roff; -->
+  <!-- * but fake a parallel sign with vert bars -->
+
+  <xsl:output-character
+   character="&#x2225;"
+   u:name="PARALLEL TO"
+   u:entity="par"
+   string="\(bv\(bv"
+   u:block="Mathematical Operators"
+   />
+
+  <xsl:output-character
+   character="&#x2227;"
+   u:name="LOGICAL AND"
+   u:entity="and"
+   string="\(AN"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2228;"
+   u:name="LOGICAL OR"
+   u:entity="or"
+   string="\(OR"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2229;"
+   u:name="INTERSECTION"
+   u:entity="cap"
+   string="\(ca"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x222a;"
+   u:name="UNION"
+   u:entity="cup"
+   string="\(cu"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x222b;"
+   u:name="INTEGRAL"
+   u:entity="int"
+   string="\(is"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x222c;"
+   u:name="DOUBLE INTEGRAL"
+   string="\(is\(is"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x222d;"
+   u:name="TRIPLE INTEGRAL"
+   string="\(is\(is\(is"
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * 0x222e to 0x2233 not in roff -->
+
+  <xsl:output-character
+   character="&#x2234;"
+   u:name="THEREFORE"
+   u:entity="there4"
+   string="\(tf"
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * not in roff -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2235;" -->
+  <!-- *      u:name="BECAUSE" -->
+  <!-- *      u:entity="becaus" -->
+  <!-- *      /> -->
+  <xsl:output-character
+   character="&#x2236;"
+   u:name="RATIO"
+   string=":"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2237;"
+   u:name="PROPORTION"
+   string="::"
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * 0x2238 to 0x223b not in roff -->
+
+  <xsl:output-character
+   character="&#x223c;"
+   u:name="TILDE OPERATOR"
+   u:entity="sim"
+   string="\(ti"
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * 0x223d to 0x224b not in roff -->
+
+  <xsl:output-character
+   character="&#x2245;"
+   u:name="APPROXIMATELY EQUAL TO"
+   u:entity="cong"
+   string="\(=~"
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * not in roff -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2246;" -->
+  <!-- *      u:name="APPROXIMATELY BUT NOT ACTUALLY EQUAL TO" -->
+  <!-- *      /> -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2247;" -->
+  <!-- *      u:name="NEITHER APPROXIMATELY NOR ACTUALLY EQUAL TO" -->
+  <!-- *      u:entity="ncong" -->
+  <!-- *      /> -->
+
+  <xsl:output-character
+   character="&#x2248;"
+   u:name="ALMOST EQUAL TO"
+   u:entity="asymp"
+   string="\(~~"
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * x2249 to x2253 not in roff -->
+
+  <xsl:output-character
+   character="&#x2254;"
+   u:name="COLON EQUALS"
+   u:entity="colone"
+   string=":="
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2255;"
+   u:name="EQUALS COLON"
+   u:entity="ecolon"
+   string="=:"
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * x2256 to x2255 not in roff -->
+
+  <xsl:output-character
+   character="&#x225f;"
+   u:name="QUESTIONED EQUAL TO"
+   string="?="
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2260;"
+   u:name="NOT EQUAL TO"
+   u:entity="ne"
+   string="\(!="
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2261;"
+   u:name="IDENTICAL TO"
+   u:entity="equiv"
+   string="\(=="
+   u:block="Mathematical Operators"
+   />
+  <!-- * not in roff -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2262;" -->
+  <!-- *      u:name="NOT IDENTICAL TO" -->
+  <!-- *      u:entity="nequiv" -->
+  <!-- *      /> -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2263;" -->
+  <!-- *      u:name="STRICTLY EQUIVALENT TO" -->
+  <!-- *      /> -->
+  <xsl:output-character
+   character="&#x2264;"
+   u:name="LESS-THAN OR EQUAL TO"
+   u:entity="le"
+   string="\(&lt;="
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2265;"
+   u:name="GREATER-THAN OR EQUAL TO"
+   u:entity="ge"
+   string="\(>="
+   u:block="Mathematical Operators"
+   />
+  <!-- * x2266 to x2269 not in roff -->
+
+  <xsl:output-character
+   character="&#x226a;"
+   u:name="MUCH LESS-THAN"
+   u:entity="Lt"
+   string="&lt;&lt;"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x226b;"
+   u:name="MUCH GREATER-THAN"
+   u:entity="Gt"
+   string=">>"
+   u:block="Mathematical Operators"
+   />
+  <!-- * x226c to x2281 not in roff -->
+
+  <xsl:output-character
+   character="&#x2282;"
+   u:name="SUBSET OF"
+   u:entity="sub"
+   string="\(sb"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2283;"
+   u:name="SUPERSET OF"
+   u:entity="sup"
+   string="\(sp"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2284;"
+   u:name="NOT A SUBSET OF"
+   u:entity="nsub"
+   string="\(nb"
+   u:block="Mathematical Operators"
+   />
+  <!-- * not in roff -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x2285;" -->
+  <!-- *      u:name="NOT A SUPERSET OF" -->
+  <!-- *      u:entity="nsup" -->
+  <!-- *      /> -->
+  <xsl:output-character
+   character="&#x2286;"
+   u:name="SUBSET OF OR EQUAL TO"
+   u:entity="sube"
+   string="\(ib"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2287;"
+   u:name="SUPERSET OF OR EQUAL TO"
+   u:entity="supe"
+   string="\(ip"
+   u:block="Mathematical Operators"
+   />
+  <!-- * x2288 to x2294 not in roff -->
+
+  <xsl:output-character
+   character="&#x2295;"
+   u:name="CIRCLED PLUS"
+   u:entity="oplus"
+   string="\(c+"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2296;"
+   u:name="CIRCLED MINUS"
+   u:entity="ominus"
+   string="\(c*"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x2297;"
+   u:name="CIRCLED TIMES"
+   u:entity="otimes"
+   string="\(c*"
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * x2298 to x22a4 not in roff -->
+
+  <xsl:output-character
+   character="&#x22a5;"
+   u:name="UP TACK"
+   u:entity="bottom"
+   string="\(pp"
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * x22a6 to x22bf not in roff -->
+
+  <xsl:output-character
+   character="&#x22c0;"
+   u:name="N-ARY LOGICAL AND"
+   string="\(AN"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x22c1;"
+   u:name="N-ARY LOGICAL OR"
+   string="\(OR"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x22c2;"
+   u:name="N-ARY INTERSECTION"
+   string="\(ca"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x22c3;"
+   u:name="N-ARY UNION"
+   string="\(cu"
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * not in roff -->
+  <!-- *      <xsl:output-character -->
+  <!-- *      character="&#x22c4;" -->
+  <!-- *      u:name="DIAMOND OPERATOR" -->
+  <!-- *      u:entity="diam" -->
+  <!-- *      /> -->
+  <xsl:output-character
+   character="&#x22c5;"
+   u:name="DOT OPERATOR"
+   u:entity="sdot"
+   string="\(md"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x22c6;"
+   u:name="STAR OPERATOR"
+   u:entity="sstarf"
+   string="\(**"
+   u:block="Mathematical Operators"
+   />
+  <!-- * x22c7 to x22cd not in roff -->
+
+  <xsl:output-character
+   character="&#x22ce;"
+   u:name="CURLY LOGICAL OR"
+   u:entity="cuvee"
+   string="\(OR"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x22cf;"
+   u:name="CURLY LOGICAL AND"
+   u:entity="cuwed"
+   string="\(AN"
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * x22d0 to x22d7 not in roff -->
+
+  <xsl:output-character
+   character="&#x22d8;"
+   u:name="VERY MUCH LESS-THAN"
+   u:entity="Ll"
+   string="&lt;&lt;&lt;"
+   u:block="Mathematical Operators"
+   />
+  <xsl:output-character
+   character="&#x22d9;"
+   u:name="VERY MUCH GREATER-THAN"
+   u:entity="Gg"
+   string=">>>"
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * x22da to x22ee not in roff -->
+
+  <xsl:output-character
+   character="&#x22ef;"
+   u:name="MIDLINE HORIZONTAL ELLIPSIS"
+   string="\&amp;..."
+   u:block="Mathematical Operators"
+   />
+
+  <!-- * x22fo to x22ff not in roff -->
+
+  <!-- * ***************************************************************** -->
+  <!-- *   End: Mathematical Operators -->
+  <!-- * ***************************************************************** -->
+  
+  <!-- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+  <!-- *   Miscellaneous Technical -->
+  <!-- *     x2300 to x23ff -->
+  <!-- *     - do nothing except for angle brackets - -->
+  <!-- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+
+  <xsl:output-character
+   character="&#x2329;"
+   u:name="LEFT-POINTING ANGLE BRACKET"
+   u:entity="lang"
+   string="\(la"
+   u:block="Miscellaneous Technical"
+   />
+  <xsl:output-character
+   character="&#x232a;"
+   u:name="RIGHT-POINTING ANGLE BRACKET"
+   u:entity="rang"
+   string="\(ra"
+   u:block="Miscellaneous Technical"
+   />
+
+  <!-- * ***************************************************************** -->
+  <!-- *   Begin: Control Pictures -->
+  <!-- *     x2400 to x243f -->
+  <!-- * ***************************************************************** -->
+
+  <xsl:output-character
+   character="&#x2400;"
+   u:name="SYMBOL FOR NULL"
+   string="NUL"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2401;"
+   u:name="SYMBOL FOR START OF HEADING"
+   string="SOH"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2402;"
+   u:name="SYMBOL FOR START OF TEXT"
+   string="STX"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2403;"
+   u:name="SYMBOL FOR END OF TEXT"
+   string="ETX"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2404;"
+   u:name="SYMBOL FOR END OF TRANSMISSION"
+   string="EOT"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2405;"
+   u:name="SYMBOL FOR ENQUIRY"
+   string="ENQ"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2406;"
+   u:name="SYMBOL FOR ACKNOWLEDGE"
+   string="ACK"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2407;"
+   u:name="SYMBOL FOR BELL"
+   string="BEL"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2408;"
+   u:name="SYMBOL FOR BACKSPACE"
+   string="BS"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2409;"
+   u:name="SYMBOL FOR HORIZONTAL TABULATION"
+   string="HT"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x240a;"
+   u:name="SYMBOL FOR LINE FEED"
+   string="LF"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x240b;"
+   u:name="SYMBOL FOR VERTICAL TABULATION"
+   string="VT"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x240c;"
+   u:name="SYMBOL FOR FORM FEED"
+   string="FF"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x240d;"
+   u:name="SYMBOL FOR CARRIAGE RETURN"
+   string="CR"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x240e;"
+   u:name="SYMBOL FOR SHIFT OUT"
+   string="SO"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x240f;"
+   u:name="SYMBOL FOR SHIFT IN"
+   string="SI"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2410;"
+   u:name="SYMBOL FOR DATA LINK ESCAPE"
+   string="DLE"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2411;"
+   u:name="SYMBOL FOR DEVICE CONTROL ONE"
+   string="DC1"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2412;"
+   u:name="SYMBOL FOR DEVICE CONTROL TWO"
+   string="DC2"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2413;"
+   u:name="SYMBOL FOR DEVICE CONTROL THREE"
+   string="DC3"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2414;"
+   u:name="SYMBOL FOR DEVICE CONTROL FOUR"
+   string="DC4"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2415;"
+   u:name="SYMBOL FOR NEGATIVE ACKNOWLEDGE"
+   string="NAK"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2416;"
+   u:name="SYMBOL FOR SYNCHRONOUS IDLE"
+   string="SYN"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2417;"
+   u:name="SYMBOL FOR END OF TRANSMISSION BLOCK"
+   string="ETB"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2418;"
+   u:name="SYMBOL FOR CANCEL"
+   string="CAN"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2419;"
+   u:name="SYMBOL FOR END OF MEDIUM"
+   string="EM"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x241a;"
+   u:name="SYMBOL FOR SUBSTITUTE"
+   string="SUB"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x241b;"
+   u:name="SYMBOL FOR ESCAPE"
+   string="ESC"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x241c;"
+   u:name="SYMBOL FOR FILE SEPARATOR"
+   string="FS"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x241d;"
+   u:name="SYMBOL FOR GROUP SEPARATOR"
+   string="GS"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x241e;"
+   u:name="SYMBOL FOR RECORD SEPARATOR"
+   string="RS"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x241f;"
+   u:name="SYMBOL FOR UNIT SEPARATOR"
+   string="US"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2420;"
+   u:name="SYMBOL FOR SPACE"
+   string="SP"
+   u:block="Control Pictures"
+   />
+  <xsl:output-character
+   character="&#x2421;"
+   u:name="SYMBOL FOR DELETE"
+   string="DEL"
+   u:block="Control Pictures"
+   />
+  <!-- * no roff equivs for x2422 and x2423 -->
+  <!-- *   <xsl:output-character -->
+  <!-- *    character="&#x2422;" -->
+  <!-- *    u:name="BLANK SYMBOL" -->
+  <!-- *    string="?" -->
+  <!-- *    u:block="Control Pictures" -->
+  <!-- *    /> -->
+  <!-- * I think there should be a roff equiv for &blank;, but as far as I -->
+  <!-- * know, there is not... -->
+  <!-- *   <xsl:output-character -->
+  <!-- *    character="&#x2423;" -->
+  <!-- *    u:name="OPEN BOX" -->
+  <!-- *    u:entity="blank" -->
+  <!-- *    string="?" -->
+  <!-- *    u:block="Control Pictures" -->
+  <!-- *    /> -->
+  <xsl:output-character
+   character="&#x2424;"
+   u:name="SYMBOL FOR NEWLINE"
+   string="NL"
+   u:block="Control Pictures"
+   />
+
+  <!-- * ***************************************************************** -->
+  <!-- *   End: Control Pictures -->
+  <!-- * ***************************************************************** -->
+
+  <!-- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+  <!-- *   Optical Character Recognition -->
+  <!-- *     x2440 to x24ff -->
+  <!-- *     - do nothing - -->
+  <!-- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+
+  <!-- * ***************************************************************** -->
+  <!-- *   Begin: Enclosed Alphanumerics -->
+  <!-- *     x2460 to x24ff -->
+  <!-- * ***************************************************************** -->
+
+  <xsl:output-character
+   character="&#x2460;"
+   u:name="CIRCLED DIGIT ONE"
+   string="1"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2461;"
+   u:name="CIRCLED DIGIT TWO"
+   string="2"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2462;"
+   u:name="CIRCLED DIGIT THREE"
+   string="3"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2463;"
+   u:name="CIRCLED DIGIT FOUR"
+   string="4"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2464;"
+   u:name="CIRCLED DIGIT FIVE"
+   string="5"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2465;"
+   u:name="CIRCLED DIGIT SIX"
+   string="6"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2466;"
+   u:name="CIRCLED DIGIT SEVEN"
+   string="7"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2467;"
+   u:name="CIRCLED DIGIT EIGHT"
+   string="8"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2468;"
+   u:name="CIRCLED DIGIT NINE"
+   string="9"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2469;"
+   u:name="CIRCLED NUMBER TEN"
+   string="10"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x246a;"
+   u:name="CIRCLED NUMBER ELEVEN"
+   string="11"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x246b;"
+   u:name="CIRCLED NUMBER TWELVE"
+   string="12"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x246c;"
+   u:name="CIRCLED NUMBER THIRTEEN"
+   string="13"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x246d;"
+   u:name="CIRCLED NUMBER FOURTEEN"
+   string="14"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x246e;"
+   u:name="CIRCLED NUMBER FIFTEEN" 
+   string="15"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x246f;"
+   u:name="CIRCLED NUMBER SIXTEEN"
+   string="16"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2470;"
+   u:name="CIRCLED NUMBER SEVENTEEN"
+   string="17"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2471;"
+   u:name="CIRCLED NUMBER EIGHTEEN"
+   string="18"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2472;"
+   u:name="CIRCLED NUMBER NINETEEN"
+   string="19"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2473;"
+   u:name="CIRCLED NUMBER TWENTY"
+   string="20"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2474;"
+   u:name="PARENTHESIZED DIGIT ONE"
+   string="(1)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2475;"
+   u:name="PARENTHESIZED DIGIT TWO"
+   string="(2)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2476;"
+   u:name="PARENTHESIZED DIGIT THREE"
+   string="(3)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2477;"
+   u:name="PARENTHESIZED DIGIT FOUR"
+   string="(4)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2478;"
+   u:name="PARENTHESIZED DIGIT FIVE"
+   string="(5)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2479;"
+   u:name="PARENTHESIZED DIGIT SIX"
+   string="(6)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x247a;"
+   u:name="PARENTHESIZED DIGIT SEVEN"
+   string="(7)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x247b;"
+   u:name="PARENTHESIZED DIGIT EIGHT"
+   string="(8)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x247c;"
+   u:name="PARENTHESIZED DIGIT NINE"
+   string="(9)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x247d;"
+   u:name="PARENTHESIZED NUMBER TEN"
+   string="(10)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x247e;"
+   u:name="PARENTHESIZED NUMBER ELEVEN"
+   string="(11)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x247f;"
+   u:name="PARENTHESIZED NUMBER TWELVE"
+   string="(12)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2480;"
+   u:name="PARENTHESIZED NUMBER THIRTEEN"
+   string="(13)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2481;"
+   u:name="PARENTHESIZED NUMBER FOURTEEN"
+   string="(14)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2482;"
+   u:name="PARENTHESIZED NUMBER FIFTEEN"
+   string="(15)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2483;"
+   u:name="PARENTHESIZED NUMBER SIXTEEN"
+   string="(16)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2484;"
+   u:name="PARENTHESIZED NUMBER SEVENTEEN"
+   string="(17)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2485;"
+   u:name="PARENTHESIZED NUMBER EIGHTEEN"
+   string="(18)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2486;"
+   u:name="PARENTHESIZED NUMBER NINETEEN"
+   string="(19)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2487;"
+   u:name="PARENTHESIZED NUMBER TWENTY"
+   string="(20)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2488;"
+   u:name="DIGIT ONE FULL STOP"
+   string="1."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2489;"
+   u:name="DIGIT TWO FULL STOP"
+   string="2."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x248a;"
+   u:name="DIGIT THREE FULL STOP"
+   string="3."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x248b;"
+   u:name="DIGIT FOUR FULL STOP"
+   string="4."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x248c;"
+   u:name="DIGIT FIVE FULL STOP"
+   string="5."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x248d;"
+   u:name="DIGIT SIX FULL STOP"
+   string="6."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x248e;"
+   u:name="DIGIT SEVEN FULL STOP"
+   string="7."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x248f;"
+   u:name="DIGIT EIGHT FULL STOP"
+   string="8."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2490;"
+   u:name="DIGIT NINE FULL STOP"
+   string="9."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2491;"
+   u:name="NUMBER TEN FULL STOP"
+   string="10."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2492;"
+   u:name="NUMBER ELEVEN FULL STOP"
+   string="11."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2493;"
+   u:name="NUMBER TWELVE FULL STOP"
+   string="12."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2494;"
+   u:name="NUMBER THIRTEEN FULL STOP"
+   string="13."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2495;"
+   u:name="NUMBER FOURTEEN FULL STOP"
+   string="14."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2496;"
+   u:name="NUMBER FIFTEEN FULL STOP"
+   string="15."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2497;"
+   u:name="NUMBER SIXTEEN FULL STOP"
+   string="16."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2498;"
+   u:name="NUMBER SEVENTEEN FULL STOP"
+   string="17."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x2499;"
+   u:name="NUMBER EIGHTEEN FULL STOP"
+   string="18."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x249a;"
+   u:name="NUMBER NINETEEN FULL STOP"
+   string="19."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x249b;"
+   u:name="NUMBER TWENTY FULL STOP"
+   string="20."
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x249c;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER A"
+   string="(a)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x249d;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER B"
+   string="(b)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x249e;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER C"
+   string="(c)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x249f;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER D"
+   string="(d)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24a0;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER E"
+   string="(e)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24a1;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER F"
+   string="(f)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24a2;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER G"
+   string="(g)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24a3;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER H"
+   string="(h)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24a4;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER I"
+   string="(i)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24a5;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER J"
+   string="(j)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24a6;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER K"
+   string="(k)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24a7;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER L"
+   string="(l)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24a8;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER M"
+   string="(m)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24a9;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER N"
+   string="(n)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24aa;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER O"
+   string="(o)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24ab;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER P"
+   string="(p)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24ac;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER Q"
+   string="(q)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24ad;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER R"
+   string="(r)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24ae;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER S"
+   string="(s)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24af;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER T"
+   string="(t)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24b0;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER U"
+   string="(u)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24b1;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER V"
+   string="(v)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24b2;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER W"
+   string="(w)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24b3;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER X"
+   string="(x)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24b4;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER Y"
+   string="(y)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24b5;"
+   u:name="PARENTHESIZED LATIN SMALL LETTER Z"
+   string="(z)"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24b6;"
+   u:name="CIRCLED LATIN CAPITAL LETTER A"
+   string="A"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24b7;"
+   u:name="CIRCLED LATIN CAPITAL LETTER B"
+   string="B"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24b8;"
+   u:name="CIRCLED LATIN CAPITAL LETTER C"
+   string="C"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24b9;"
+   u:name="CIRCLED LATIN CAPITAL LETTER D"
+   string="D"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24ba;"
+   u:name="CIRCLED LATIN CAPITAL LETTER E"
+   string="E"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24bb;"
+   u:name="CIRCLED LATIN CAPITAL LETTER F"
+   string="F"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24bc;"
+   u:name="CIRCLED LATIN CAPITAL LETTER G"
+   string="G"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24bd;"
+   u:name="CIRCLED LATIN CAPITAL LETTER H"
+   string="H"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24be;"
+   u:name="CIRCLED LATIN CAPITAL LETTER I"
+   string="I"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24bf;"
+   u:name="CIRCLED LATIN CAPITAL LETTER J"
+   string="J"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24c0;"
+   u:name="CIRCLED LATIN CAPITAL LETTER K"
+   string="K"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24c1;"
+   u:name="CIRCLED LATIN CAPITAL LETTER L"
+   string="L"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24c2;"
+   u:name="CIRCLED LATIN CAPITAL LETTER M"
+   string="M"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24c3;"
+   u:name="CIRCLED LATIN CAPITAL LETTER N"
+   string="N"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24c4;"
+   u:name="CIRCLED LATIN CAPITAL LETTER O"
+   string="O"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24c5;"
+   u:name="CIRCLED LATIN CAPITAL LETTER P"
+   string="P"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24c6;"
+   u:name="CIRCLED LATIN CAPITAL LETTER Q"
+   string="Q"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24c7;"
+   u:name="CIRCLED LATIN CAPITAL LETTER R"
+   string="R"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24c8;"
+   u:name="CIRCLED LATIN CAPITAL LETTER S"
+   u:entity="oS"
+   string="S"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24c9;"
+   u:name="CIRCLED LATIN CAPITAL LETTER T"
+   string="T"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24ca;"
+   u:name="CIRCLED LATIN CAPITAL LETTER U"
+   string="U"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24cb;"
+   u:name="CIRCLED LATIN CAPITAL LETTER V"
+   string="V"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24cc;"
+   u:name="CIRCLED LATIN CAPITAL LETTER W"
+   string="W"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24cd;"
+   u:name="CIRCLED LATIN CAPITAL LETTER X"
+   string="X"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24ce;"
+   u:name="CIRCLED LATIN CAPITAL LETTER Y"
+   string="Y"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24cf;"
+   u:name="CIRCLED LATIN CAPITAL LETTER Z"
+   string="Z"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24d0;"
+   u:name="CIRCLED LATIN SMALL LETTER A"
+   string="a"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24d1;"
+   u:name="CIRCLED LATIN SMALL LETTER B"
+   string="b"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24d2;"
+   u:name="CIRCLED LATIN SMALL LETTER C"
+   string="c"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24d3;"
+   u:name="CIRCLED LATIN SMALL LETTER D"
+   string="d"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24d4;"
+   u:name="CIRCLED LATIN SMALL LETTER E"
+   string="e"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24d5;"
+   u:name="CIRCLED LATIN SMALL LETTER F"
+   string="f"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24d6;"
+   u:name="CIRCLED LATIN SMALL LETTER G"
+   string="g"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24d7;"
+   u:name="CIRCLED LATIN SMALL LETTER H"
+   string="h"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24d8;"
+   u:name="CIRCLED LATIN SMALL LETTER I"
+   string="i"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24d9;"
+   u:name="CIRCLED LATIN SMALL LETTER J"
+   string="j"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24da;"
+   u:name="CIRCLED LATIN SMALL LETTER K"
+   string="k"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24db;"
+   u:name="CIRCLED LATIN SMALL LETTER L"
+   string="l"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24dc;"
+   u:name="CIRCLED LATIN SMALL LETTER M"
+   string="m"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24dd;"
+   u:name="CIRCLED LATIN SMALL LETTER N"
+   string="n"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24de;"
+   u:name="CIRCLED LATIN SMALL LETTER O"
+   string="o"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24df;"
+   u:name="CIRCLED LATIN SMALL LETTER P"
+   string="p"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24e0;"
+   u:name="CIRCLED LATIN SMALL LETTER Q"
+   string="q"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24e1;"
+   u:name="CIRCLED LATIN SMALL LETTER R"
+   string="r"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24e2;"
+   u:name="CIRCLED LATIN SMALL LETTER S"
+   string="s"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24e3;"
+   u:name="CIRCLED LATIN SMALL LETTER T"
+   string="t"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24e4;"
+   u:name="CIRCLED LATIN SMALL LETTER U"
+   string="u"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24e5;"
+   u:name="CIRCLED LATIN SMALL LETTER V"
+   string="b"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24e6;"
+   u:name="CIRCLED LATIN SMALL LETTER W"
+   string="w"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24e7;"
+   u:name="CIRCLED LATIN SMALL LETTER X"
+   string="x"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24e8;"
+   u:name="CIRCLED LATIN SMALL LETTER Y"
+   string="y"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24e9;"
+   u:name="CIRCLED LATIN SMALL LETTER Z"
+   string="z"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24ea;"
+   u:name="CIRCLED DIGIT ZERO"
+   string="0"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24eb;"
+   u:name="NEGATIVE CIRCLED NUMBER ELEVEN"
+   string="11"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24ec;"
+   u:name="NEGATIVE CIRCLED NUMBER TWELVE"
+   string="12"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24ed;"
+   u:name="NEGATIVE CIRCLED NUMBER THIRTEEN"
+   string="13"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24ee;"
+   u:name="NEGATIVE CIRCLED NUMBER FOURTEEN"
+   string="14"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24ef;"
+   u:name="NEGATIVE CIRCLED NUMBER FIFTEEN"
+   string="15"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24f0;"
+   u:name="NEGATIVE CIRCLED NUMBER SIXTEEN"
+   string="16"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24f1;"
+   u:name="NEGATIVE CIRCLED NUMBER SEVENTEEN"
+   string="17"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24f2;"
+   u:name="NEGATIVE CIRCLED NUMBER EIGHTEEN"
+   string="18"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24f3;"
+   u:name="NEGATIVE CIRCLED NUMBER NINETEEN"
+   string="19"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24f4;"
+   u:name="NEGATIVE CIRCLED NUMBER TWENTY"
+   string="20"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24f5;"
+   u:name="DOUBLE CIRCLED DIGIT ONE"
+   string="1"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24f6;"
+   u:name="DOUBLE CIRCLED DIGIT TWO"
+   string="2"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24f7;"
+   u:name="DOUBLE CIRCLED DIGIT THREE"
+   string="3"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24f8;"
+   u:name="DOUBLE CIRCLED DIGIT FOUR"
+   string="4"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24f9;"
+   u:name="DOUBLE CIRCLED DIGIT FIVE"
+   string="5"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24fa;"
+   u:name="DOUBLE CIRCLED DIGIT SIX"
+   string="6"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24fb;"
+   u:name="DOUBLE CIRCLED DIGIT SEVEN"
+   string="7"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24fc;"
+   u:name="DOUBLE CIRCLED DIGIT EIGHT"
+   string="8"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24fd;"
+   u:name="DOUBLE CIRCLED DIGIT NINE"
+   string="9"
+   u:block="Enclosed Alphanumerics"
+   />
+  <xsl:output-character
+   character="&#x24fe;"
+   u:name="DOUBLE CIRCLED NUMBER TEN"
+   string="10"
+   u:block="Enclosed Alphanumerics"
+   />
+
+  <!-- * ***************************************************************** -->
+  <!-- *   End: Enclosed Alphanumerics -->
+  <!-- * ***************************************************************** -->
+
+  <!-- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+  <!-- *   Box Drawing -->
+  <!-- *     x2500 to x257f -->
+  <!-- *   Block Elements -->
+  <!-- *     x2580 to x259f -->
+  <!-- *   - do nothing - -->
+  <!-- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+  
+  <!-- * ***************************************************************** -->
+  <!-- *   Begin: Geometric Shapes -->
+  <!-- *     x25a0 to x25f7 -->
+  <!-- * ***************************************************************** -->
+
+  <xsl:output-character
+   character="&#x25a1;"
+   u:name="WHITE SQUARE"
+   u:entity="squ"
+   string="\(sq"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25a2;"
+   u:name="WHITE SQUARE WITH ROUNDED CORNERS"
+   string="\(sq"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25ab;"
+   u:name="WHITE SMALL SQUARE"
+   string="\(sq"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25ba;"
+   u:name="BLACK RIGHT-POINTING POINTER"
+   string="\fB>\fR"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25bb;"
+   u:name="WHITE RIGHT-POINTING POINTER"
+   string=">"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25bc;"
+   u:name="BLACK DOWN-POINTING TRIANGLE"
+   string="\fBv\fR"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25bd;"
+   u:name="WHITE DOWN-POINTING TRIANGLE"
+   u:entity="xdtri"
+   string="v"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25c4;"
+   u:name="BLACK LEFT-POINTING POINTER"
+   string="\fB&lt;\fR"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25c5;"
+   u:name="WHITE LEFT-POINTING POINTER"
+   string="&lt;"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25c6;"
+   u:name="BLACK DIAMOND"
+   string="\(DI"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25c7;"
+   u:name="WHITE DIAMOND"
+   string="\(lz"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25ca;"
+   u:name="LOZENGE"
+   u:entity="loz"
+   string="\(lz"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25cb;"
+   u:name="WHITE CIRCLE"
+   u:entity="cir"
+   string="\(ci"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25cf;"
+   u:name="BLACK CIRCLE"
+   string="\(bu"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25e6;"
+   u:name="WHITE BULLET"
+   string="\(ci"
+   u:block="Geometric Shapes"
+   />
+  <xsl:output-character
+   character="&#x25ef;"
+   u:name="LARGE CIRCLE"
+   u:entity="xcirc"
+   string="\(ci"
+   u:block="Geometric Shapes"
+   />
+  <!-- * ***************************************************************** -->
+  <!-- *   End: Geometric Shapes -->
+  <!-- *   x25a0 to x25f7 -->
+  <!-- * ***************************************************************** -->
+
+  <!-- * ***************************************************************** -->
+  <!-- *   Begin: Miscellaneous Symbols -->
+  <!-- *   x2600 to x26ff -->
+  <!-- * ***************************************************************** -->
+  
+  <xsl:output-character
+   character="&#x261a;"
+   u:name="BLACK LEFT POINTING INDEX"
+   string="\(lh"
+   u:block="Miscellaneous Symbols"
+   />
+  <xsl:output-character
+   character="&#x261b;"
+   u:name="BLACK RIGHT POINTING INDEX"
+   string="\(rh)"
+   u:block="Miscellaneous Symbols"
+   />
+  <xsl:output-character
+   character="&#x261c;"
+   u:name="WHITE LEFT POINTING INDEX"
+   string="\(lh"
+   u:block="Miscellaneous Symbols"
+   />
+  <xsl:output-character
+   character="&#x261e;"
+   u:name="WHITE RIGHT POINTING INDEX"
+   string="\(rh)"
+   u:block="Miscellaneous Symbols"
+   />
+  <xsl:output-character
+   character="&#x2660;"
+   u:name="BLACK SPADE SUIT"
+   u:entity="spades"
+   string="\(SP"
+   u:block="Miscellaneous Symbols"
+   />
+  <xsl:output-character
+   character="&#x2661;"
+   u:name="WHITE HEART SUIT"
+   string="\(HE"
+   u:block="Miscellaneous Symbols"
+   />
+  <xsl:output-character
+   character="&#x2662;"
+   u:name="WHITE DIAMOND SUIT"
+   string="\(DI"
+   u:block="Miscellaneous Symbols"
+   />
+  <xsl:output-character
+   character="&#x2663;"
+   u:name="BLACK CLUB SUIT"
+   u:entity="clubs"
+   string="\(CL"
+   u:block="Miscellaneous Symbols"
+   />
+  <xsl:output-character
+   character="&#x2664;"
+   u:name="WHITE SPADE SUIT"
+   string="\(SP"
+   u:block="Miscellaneous Symbols"
+   />
+  <xsl:output-character
+   character="&#x2665;"
+   u:name="BLACK HEART SUIT"
+   u:entity="hearts"
+   string="\(HE"
+   u:block="Miscellaneous Symbols"
+   />
+  <xsl:output-character
+   character="&#x2666;"
+   u:name="BLACK DIAMOND SUIT"
+   u:entity="diams"
+   string="\(DI"
+   u:block="Miscellaneous Symbols"
+   />
+  <xsl:output-character
+   character="&#x2667;"
+   u:name="WHITE CLUB SUIT"
+   string="\(CL"
+   u:block="Miscellaneous Symbols"
+   />
+
+  <!-- * ***************************************************************** -->
+  <!-- *   End: Miscellaneous Symbols -->
+  <!-- * ***************************************************************** -->
+
+  <!-- * ***************************************************************** -->
+  <!-- *   Begin: Dingbats -->
+  <!-- *     x2700 to x27be -->
+  <!-- *     No roff equiv for most of these; just map to something close -->
+  <!-- * ***************************************************************** -->
+
+  <xsl:output-character
+   character="&#x2713;"
+   u:name="CHECK MARK"
+   u:entity="check"
+   string="\(OK"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2714;"
+   u:name="HEAVY CHECK MARK"
+   string="\fB\(OK\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2715;"
+   u:name="MULTIPLICATION X"
+   string="\(mu"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2716;"
+   u:name="HEAVY MULTIPLICATION X"
+   string="\fB\(mu\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2717;"
+   u:name="BALLOT X"
+   u:entity="cross"
+   string="\(mu"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2718;"
+   u:name="HEAVY BALLOT X"
+   string="\fB\(mu\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2719;"
+   u:name="OUTLINED GREEK CROSS"
+   string="\fB+\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x271a;"
+   u:name="HEAVY GREEK CROSS"
+   string="\fB+\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x271b;"
+   u:name="OPEN CENTRE CROSS"
+   string="\fB+\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x271c;"
+   u:name="HEAVY OPEN CENTRE CROSS"
+   string="\fB+\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x271d;"
+   u:name="LATIN CROSS"
+   string="\fB+\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x271e;"
+   u:name="SHADOWED WHITE LATIN CROSS"
+   string="\fB+\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x271f;"
+   u:name="OUTLINED LATIN CROSS"
+   string="\fB+\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2720;"
+   u:name="MALTESE CROSS"
+   u:entity="malt"
+   string="\fB+\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2721;"
+   u:name="STAR OF DAVID"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2722;"
+   u:name="FOUR TEARDROP-SPOKED ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2723;"
+   u:name="FOUR BALLOON-SPOKED ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2724;"
+   u:name="HEAVY FOUR BALLOON-SPOKED ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2725;"
+   u:name="FOUR CLUB-SPOKED ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2726;"
+   u:name="BLACK FOUR POINTED STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2727;"
+   u:name="WHITE FOUR POINTED STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2729;"
+   u:name="STRESS OUTLINED WHITE STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x272a;"
+   u:name="CIRCLED WHITE STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x272b;"
+   u:name="OPEN CENTRE BLACK STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x272c;"
+   u:name="BLACK CENTRE WHITE STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x272d;"
+   u:name="OUTLINED BLACK STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x272e;"
+   u:name="HEAVY OUTLINED BLACK STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x272f;"
+   u:name="PINWHEEL STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2730;"
+   u:name="SHADOWED WHITE STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2731;"
+   u:name="HEAVY ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2732;"
+   u:name="OPEN CENTRE ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2733;"
+   u:name="EIGHT SPOKED ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2734;"
+   u:name="EIGHT POINTED BLACK STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2735;"
+   u:name="EIGHT POINTED PINWHEEL STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2736;"
+   u:name="SIX POINTED BLACK STAR"
+   u:entity="sext"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2737;"
+   u:name="EIGHT POINTED RECTILINEAR BLACK STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2738;"
+   u:name="HEAVY EIGHT POINTED RECTILINEAR BLACK STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2739;"
+   u:name="TWELVE POINTED BLACK STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x273a;"
+   u:name="SIXTEEN POINTED ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x273b;"
+   u:name="TEARDROP-SPOKED ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x273c;"
+   u:name="OPEN CENTRE TEARDROP-SPOKED ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x273d;"
+   u:name="HEAVY TEARDROP-SPOKED ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x273e;"
+   u:name="SIX PETALLED BLACK AND WHITE FLORETTE"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x273f;"
+   u:name="BLACK FLORETTE"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2740;"
+   u:name="WHITE FLORETTE"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2741;"
+   u:name="EIGHT PETALLED OUTLINED BLACK FLORETTE"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2742;"
+   u:name="CIRCLED OPEN CENTRE EIGHT POINTED STAR"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2743;"
+   u:name="HEAVY TEARDROP-SPOKED PINWHEEL ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2744;"
+   u:name="SNOWFLAKE"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2745;"
+   u:name="TIGHT TRIFOLIATE SNOWFLAKE"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2746;"
+   u:name="HEAVY CHEVRON SNOWFLAKE"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2747;"
+   u:name="SPARKLE"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2748;"
+   u:name="HEAVY SPARKLE"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2749;"
+   u:name="BALLOON-SPOKED ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x274a;"
+   u:name="EIGHT TEARDROP-SPOKED PROPELLER ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x274b;"
+   u:name="HEAVY EIGHT TEARDROP-SPOKED PROPELLER ASTERISK"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x274d;"
+   u:name="SHADOWED WHITE CIRCLE"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x274f;"
+   u:name="LOWER RIGHT DROP-SHADOWED WHITE SQUARE"
+   string="\(sq"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2750;"
+   u:name="UPPER RIGHT DROP-SHADOWED WHITE SQUARE"
+   string="\(sq"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2751;"
+   u:name="LOWER RIGHT SHADOWED WHITE SQUARE"
+   string="\(sq"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2752;"
+   u:name="UPPER RIGHT SHADOWED WHITE SQUARE"
+   string="\(sq"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2756;"
+   u:name="BLACK DIAMOND MINUS WHITE X"
+   string="*"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2758;"
+   u:name="LIGHT VERTICAL BAR"
+   string="\(bv"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2759;"
+   u:name="MEDIUM VERTICAL BAR"
+   string="\fB\(bv\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x275a;"
+   u:name="HEAVY VERTICAL BAR"
+   string="\fB\(bv\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x275b;"
+   u:name="HEAVY SINGLE TURNED COMMA QUOTATION MARK ORNAMENT"
+   string="\fB\(oq\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x275c;"
+   u:name="HEAVY SINGLE COMMA QUOTATION MARK ORNAMENT"
+   string="\fB\(cq\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x275d;"
+   u:name="HEAVY DOUBLE TURNED COMMA QUOTATION MARK ORNAMENT"
+   string="\fB\(lq\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x275e;"
+   u:name="HEAVY DOUBLE COMMA QUOTATION MARK ORNAMENT"
+   string="\fB\(rq\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2761;"
+   u:name="CURVED STEM PARAGRAPH SIGN ORNAMENT"
+   string="\(ps"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2762;"
+   u:name="HEAVY EXCLAMATION MARK ORNAMENT"
+   string="\fB!\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2763;"
+   u:name="HEAVY HEART EXCLAMATION MARK ORNAMENT"
+   string="\fB!\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2764;"
+   u:name="HEAVY BLACK HEART"
+   string="\fB\(HE\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2765;"
+   u:name="ROTATED HEAVY BLACK HEART BULLET"
+   string="\fB\(HE\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2766;"
+   u:name="FLORAL HEART"
+   string="\fB\(HE\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2767;"
+   u:name="ROTATED FLORAL HEART BULLET"
+   string="\fB\(HE\fR"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2776;"
+   u:name="DINGBAT NEGATIVE CIRCLED DIGIT ONE"
+   string="1"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2777;"
+   u:name="DINGBAT NEGATIVE CIRCLED DIGIT TWO"
+   string="2"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2778;"
+   u:name="DINGBAT NEGATIVE CIRCLED DIGIT THREE"
+   string="3"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2779;"
+   u:name="DINGBAT NEGATIVE CIRCLED DIGIT FOUR"
+   string="4"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x277a;"
+   u:name="DINGBAT NEGATIVE CIRCLED DIGIT FIVE"
+   string="5"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x277b;"
+   u:name="DINGBAT NEGATIVE CIRCLED DIGIT SIX"
+   string="6"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x277c;"
+   u:name="DINGBAT NEGATIVE CIRCLED DIGIT SEVEN"
+   string="7"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x277d;"
+   u:name="DINGBAT NEGATIVE CIRCLED DIGIT EIGHT"
+   string="8"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x277e;"
+   u:name="DINGBAT NEGATIVE CIRCLED DIGIT NINE"
+   string="9"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x277f;"
+   u:name="DINGBAT NEGATIVE CIRCLED NUMBER TEN"
+   string="10"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2780;"
+   u:name="DINGBAT CIRCLED SANS-SERIF DIGIT ONE"
+   string="1"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2781;"
+   u:name="DINGBAT CIRCLED SANS-SERIF DIGIT TWO"
+   string="2"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2782;"
+   u:name="DINGBAT CIRCLED SANS-SERIF DIGIT THREE"
+   string="3"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2783;"
+   u:name="DINGBAT CIRCLED SANS-SERIF DIGIT FOUR"
+   string="4"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2784;"
+   u:name="DINGBAT CIRCLED SANS-SERIF DIGIT FIVE"
+   string="5"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2785;"
+   u:name="DINGBAT CIRCLED SANS-SERIF DIGIT SIX"
+   string="6"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2786;"
+   u:name="DINGBAT CIRCLED SANS-SERIF DIGIT SEVEN"
+   string="7"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2787;"
+   u:name="DINGBAT CIRCLED SANS-SERIF DIGIT EIGHT"
+   string="8"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2788;"
+   u:name="DINGBAT CIRCLED SANS-SERIF DIGIT NINE"
+   string="9"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2789;"
+   u:name="DINGBAT CIRCLED SANS-SERIF NUMBER TEN"
+   string="10"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x278a;"
+   u:name="DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT ONE"
+   string="1"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x278b;"
+   u:name="DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT TWO"
+   string="2"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x278c;"
+   u:name="DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT THREE"
+   string="3"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x278d;"
+   u:name="DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT FOUR"
+   string="4"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x278e;"
+   u:name="DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT FIVE"
+   string="5"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x278f;"
+   u:name="DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT SIX"
+   string="6"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2790;"
+   u:name="DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT SEVEN"
+   string="7"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2791;"
+   u:name="DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT EIGHT"
+   string="8"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2792;"
+   u:name="DINGBAT NEGATIVE CIRCLED SANS-SERIF DIGIT NINE"
+   string="9"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2793;"
+   u:name="DINGBAT NEGATIVE CIRCLED SANS-SERIF NUMBER TEN"
+   string="10"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2794;"
+   u:name="HEAVY WIDE-HEADED RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x2799;"
+   u:name="HEAVY RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x279b;"
+   u:name="DRAFTING POINT RIGHTWARDS ARROW"
+   string="\(->"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x279c;"
+   u:name="HEAVY ROUND-TIPPED RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x279d;"
+   u:name="TRIANGLE-HEADED RIGHTWARDS ARROW"
+   string="\(->"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x279e;"
+   u:name="HEAVY TRIANGLE-HEADED RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x279f;"
+   u:name="DASHED TRIANGLE-HEADED RIGHTWARDS ARROW"
+   string="\(->"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27a0;"
+   u:name="HEAVY DASHED TRIANGLE-HEADED RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27a1;"
+   u:name="BLACK RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27a2;"
+   u:name="THREE-D TOP-LIGHTED RIGHTWARDS ARROWHEAD"
+   string="\(->"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27a3;"
+   u:name="THREE-D BOTTOM-LIGHTED RIGHTWARDS ARROWHEAD"
+   string="\(->"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27a4;"
+   u:name="BLACK RIGHTWARDS ARROWHEAD"
+   string="\(->"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27a7;"
+   u:name="SQUAT BLACK RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27a8;"
+   u:name="HEAVY CONCAVE-POINTED BLACK RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27a9;"
+   u:name="RIGHT-SHADED WHITE RIGHTWARDS ARROW"
+   string="\(rA"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27aa;"
+   u:name="LEFT-SHADED WHITE RIGHTWARDS ARROW"
+   string="\(rA"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27ab;"
+   u:name="BACK-TILTED SHADOWED WHITE RIGHTWARDS ARROW"
+   string="\(rA"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27ac;"
+   u:name="FRONT-TILTED SHADOWED WHITE RIGHTWARDS ARROW"
+   string="\(rA"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27ad;"
+   u:name="HEAVY LOWER RIGHT-SHADOWED WHITE RIGHTWARDS ARROW"
+   string="\(rA"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27ae;"
+   u:name="HEAVY UPPER RIGHT-SHADOWED WHITE RIGHTWARDS ARROW"
+   string="\(rA"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27af;"
+   u:name="NOTCHED LOWER RIGHT-SHADOWED WHITE RIGHTWARDS ARROW"
+   string="\(rA"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27b1;"
+   u:name="NOTCHED UPPER RIGHT-SHADOWED WHITE RIGHTWARDS ARROW"
+   string="\(rA"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27b2;"
+   u:name="CIRCLED HEAVY WHITE RIGHTWARDS ARROW"
+   string="\(rA"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27b3;"
+   u:name="WHITE-FEATHERED RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27b4;"
+   u:name="BLACK-FEATHERED SOUTH EAST ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27b5;"
+   u:name="BLACK-FEATHERED RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27b6;"
+   u:name="BLACK-FEATHERED NORTH EAST ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27b7;"
+   u:name="HEAVY BLACK-FEATHERED SOUTH EAST ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27b8;"
+   u:name="HEAVY BLACK-FEATHERED RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27b9;"
+   u:name="HEAVY BLACK-FEATHERED NORTH EAST ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27ba;"
+   u:name="TEARDROP-BARBED RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27bb;"
+   u:name="HEAVY TEARDROP-SHANKED RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27bc;"
+   u:name="WEDGE-TAILED RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27bd;"
+   u:name="HEAVY WEDGE-TAILED RIGHTWARDS ARROW"
+   string="\fR\(->\fB"
+   u:block="Dingbats"
+   />
+  <xsl:output-character
+   character="&#x27be;"
+   u:name="OPEN-OUTLINED RIGHTWARDS ARROW"
+   string="\fR\(rA\fB"
+   u:block="Dingbats"
+   />
+
+  <!-- * ***************************************************************** -->
+  <!-- *   End: Dingbats -->
+  <!-- * ***************************************************************** -->
+
+  <!-- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+  <!-- *   Miscellaneous Mathematical Symbols -->
+  <!-- *     x27c0 to x27ef -->
+  <!-- *   Supplemental Arrows -->
+  <!-- *     x27f0 to x297f -->
+  <!-- *   Miscellaneous Mathematical Symbols -->
+  <!-- *     x2980 to x29ff -->
+  <!-- *   Supplemental Mathematical Operators -->
+  <!-- *     x2a00 to x2aff -->
+  <!-- *   - no nothing - -->
+  <!-- * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
+
+  <!-- * ***************************************************************** -->
+  <!-- *   Begin: Alphabetic Presentation Forms -->
+  <!-- *     xfb00 to xfb04 -->
+  <!-- * ***************************************************************** -->
+
+  <xsl:output-character
+   character="&#xfb00;"
+   u:name="LATIN SMALL LIGATURE FF"
+   u:entity="fflig"
+   string="\(ff"
+   u:block="Alphabetic Presentation Forms"
+   />
+  <xsl:output-character
+   character="&#xfb01;"
+   u:name="LATIN SMALL LIGATURE FI"
+   u:entity="filig"
+   string="\(fi"
+   u:block="Alphabetic Presentation Forms"
+   />
+  <xsl:output-character
+   character="&#xfb02;"
+   u:name="LATIN SMALL LIGATURE FL"
+   u:entity="fllig"
+   string="\(fl"
+   u:block="Alphabetic Presentation Forms"
+   />
+  <xsl:output-character
+   character="&#xfb03;"
+   u:name="LATIN SMALL LIGATURE FFI"
+   u:entity="ffilig"
+   string="\(Fi"
+   u:block="Alphabetic Presentation Forms"
+   />
+  <xsl:output-character
+   character="&#xfb04;"
+   u:name="LATIN SMALL LIGATURE FFL"
+   u:entity="ffllig"
+   string="\(Fl"
+   u:block="Alphabetic Presentation Forms"
+   />
+
+  <!-- * ***************************************************************** -->
+  <!-- *   End: Alphabetic Presentation Forms -->
+  <!-- * ***************************************************************** -->
+
+  <!-- * ================================================================= -->
+
+  <!-- * Regarding x2060 vs. xFEFF, the document "Unicode Standard Annex #14, -->
+  <!-- * Line Breaking Properties"[1] says: -->
+  <!-- * -->
+  <!-- *   The word joiner character [x2060 a.k.a "WJ"] is the preferred -->
+  <!-- *   choice for an invisible character to keep other characters -->
+  <!-- *   together that would otherwise be split across the line at a direct -->
+  <!-- *   break. The character FEFF has the same effect, but because it is -->
+  <!-- *   also used in an unrelated way as a byte order mark, the use of the -->
+  <!-- *   WJ as the preferred interword glue simplifies the handling of FEFF. -->
+  <!-- * -->
+  <!-- * [1] http://www.unicode.org/reports/tr14/ -->
+  <!-- * -->
+  <!-- * We include it here anyway & map to the roff zero-width no-break -->
+  <xsl:output-character
+   character="&#xfeff;"
+   u:name="ZERO WIDTH NO-BREAK SPACE"
+   string="\&amp;"
+   u:block="Arabic Presentation Forms-B"
+   />
+</xsl:character-map>
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/manpages/docbook.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/docbook.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/docbook.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,255 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:ng="http://docbook.org/docbook-ng"
+                xmlns:db="http://docbook.org/ns/docbook"
+                exclude-result-prefixes="exsl"
+                version='1.0'>
+
+  <xsl:import href="../html/docbook.xsl"/>
+  <xsl:import href="../html/manifest.xsl"/>
+  <!-- * html-synop.xsl file is generated by build -->
+  <xsl:import href="html-synop.xsl"/>
+  <xsl:output method="text"
+              encoding="UTF-8"
+              indent="no"/>
+  <!-- ********************************************************************
+       $Id: docbook.xsl 6535 2007-01-21 08:33:44Z xmldoc $
+       ********************************************************************
+
+       This file is part of the XSL DocBook Stylesheet distribution.
+       See ../README or http://docbook.sf.net/release/xsl/current/ for
+       copyright and other information.
+
+       ******************************************************************** -->
+
+  <!-- ==================================================================== -->
+
+  <xsl:include href="../common/refentry.xsl"/>
+  <xsl:include href="param.xsl"/>
+  <xsl:include href="utility.xsl"/>
+  <xsl:include href="info.xsl"/>
+  <xsl:include href="other.xsl"/>
+  <xsl:include href="refentry.xsl"/>
+  <xsl:include href="block.xsl"/>
+  <xsl:include href="inline.xsl"/>
+  <xsl:include href="synop.xsl"/>
+  <xsl:include href="lists.xsl"/>
+  <xsl:include href="links.xsl"/>
+  <xsl:include href="table.xsl"/>
+
+  <!-- * we rename the following just to avoid using params with "man" -->
+  <!-- * prefixes in the table.xsl stylesheet (because that stylesheet -->
+  <!-- * can potentially be reused for more than just man output) -->
+  <xsl:param name="tbl.font.headings" select="$man.font.table.headings"/>
+  <xsl:param name="tbl.font.title" select="$man.font.table.title"/>
+
+  <!-- ==================================================================== -->
+
+  <xsl:template match="/">
+        <xsl:choose>
+          <xsl:when test="//refentry">
+            <!-- * Check to see if we have any refentry children in this -->
+            <!-- * document; if so, process them. -->
+            <xsl:apply-templates select="//refentry"/>
+            <!-- * if $man.output.manifest.enabled is non-zero, -->
+            <!-- * generate a manifest file -->
+            <xsl:if test="not($man.output.manifest.enabled = 0)">
+              <xsl:call-template name="generate.manifest">
+                <xsl:with-param name="filename">
+                  <xsl:choose>
+                    <xsl:when test="not($man.output.manifest.filename = '')">
+                      <!-- * If a name for the manifest file is specified, -->
+                      <!-- * use that name. -->
+                      <xsl:value-of select="$man.output.manifest.filename"/>
+                    </xsl:when>
+                    <xsl:otherwise>
+                      <!-- * Otherwise, if user has unset -->
+                      <!-- * $man.output.manifest.filename, default to -->
+                      <!-- * using "MAN.MANIFEST" as the filename. Because -->
+                      <!-- * $man.output.manifest.enabled is non-zero and -->
+                      <!-- * so we must have a filename in order to -->
+                      <!-- * generate the manifest. -->
+                      <xsl:text>MAN.MANIFEST</xsl:text>
+                    </xsl:otherwise>
+                  </xsl:choose>
+                </xsl:with-param>
+              </xsl:call-template>
+            </xsl:if>
+          </xsl:when>
+          <xsl:otherwise>
+            <!-- * Otherwise, the document does not contain any -->
+            <!-- * refentry elements, so emit message and stop. -->
+            <xsl:variable name="title">
+              <!-- * Get a title so that we let the user know what -->
+              <!-- * document we are processing at this point. -->
+              <xsl:choose>
+                <xsl:when test="title">
+                  <xsl:value-of select="title[1]"/>
+                </xsl:when>
+                <xsl:when test="substring(local-name(*[1]),
+                                string-length(local-name(*[1])-3) = 'info')
+                                and *[1]/title">
+                  <xsl:value-of select="*[1]/title[1]"/>
+                </xsl:when>
+              </xsl:choose>
+            </xsl:variable>
+            <xsl:message>
+              <xsl:text>Note: No refentry elements found in "</xsl:text>
+              <xsl:value-of select="local-name(.)"/>
+              <xsl:if test="$title != ''">
+                <xsl:choose>
+                  <xsl:when test="string-length($title) &gt; 30">
+                    <xsl:value-of select="substring($title,1,30)"/>
+                    <xsl:text>...</xsl:text>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <xsl:value-of select="$title"/>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </xsl:if>
+              <xsl:text>"</xsl:text>
+            </xsl:message>
+          </xsl:otherwise>
+        </xsl:choose>
+  </xsl:template>
+
+  <!-- ============================================================== -->
+
+  <xsl:template match="refentry">
+    <xsl:param name="lang">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:param>
+    <!-- * Just use the first refname found as the "name" of the man -->
+    <!-- * page (which may different from the "title"...) -->
+    <xsl:variable name="first.refname" select="refnamediv[1]/refname[1]"/>
+
+    <xsl:call-template name="root.messages">
+      <xsl:with-param name="refname" select="$first.refname"/>
+    </xsl:call-template>
+
+    <!-- * Because there are several times when we need to check *info of -->
+    <!-- * each refentry and its ancestors, we get those and store the -->
+    <!-- * data from them as a node-set in memory. -->
+
+    <!-- * Make a node-set with contents of *info -->
+    <xsl:variable name="get.info"
+                  select="ancestor-or-self::*/*[substring(local-name(),
+                          string-length(local-name()) - 3) = 'info']"
+                  />
+    <xsl:variable name="info" select="exsl:node-set($get.info)"/>
+
+    <!-- * The get.refentry.metadata template is in -->
+    <!-- * ../common/refentry.xsl. It looks for metadata in $info -->
+    <!-- * and in various other places and then puts it into a form -->
+    <!-- * that's easier for us to digest. -->
+    <xsl:variable name="get.refentry.metadata">
+      <xsl:call-template name="get.refentry.metadata">
+        <xsl:with-param name="refname" select="$first.refname"/>
+        <xsl:with-param name="info" select="$info"/>
+        <xsl:with-param name="prefs" select="$refentry.metadata.prefs"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:variable name="refentry.metadata" select="exsl:node-set($get.refentry.metadata)"/>
+
+    <!-- * Assemble the various parts into a complete page, then store into -->
+    <!-- * $manpage.contents so that we can manipluate them further. -->
+    <xsl:variable name="manpage.contents">
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <!-- * top.comment = commented-out section at top of roff source -->
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <xsl:call-template name="top.comment">
+        <xsl:with-param name="info"       select="$info"/>
+        <xsl:with-param name="date"       select="$refentry.metadata/date"/>
+        <xsl:with-param name="title"      select="$refentry.metadata/title"/>
+        <xsl:with-param name="manual"     select="$refentry.metadata/manual"/>
+        <xsl:with-param name="source"     select="$refentry.metadata/source"/>
+      </xsl:call-template>
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <!-- * TH.title.line = title line in header/footer of man page -->
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <xsl:call-template name="TH.title.line">
+        <!-- * .TH TITLE  section  extra1  extra2  extra3 -->
+        <!-- *  -->
+        <!-- * According to the man(7) man page: -->
+        <!-- *  -->
+        <!-- * extra1 = date,   "the date of the last revision" -->
+        <!-- * extra2 = source, "the source of the command" -->
+        <!-- * extra3 = manual, "the title of the manual -->
+        <!-- *                  (e.g., Linux Programmer's Manual)" -->
+        <!-- * -->
+        <!-- * So, we end up with: -->
+        <!-- *  -->
+        <!-- * .TH TITLE  section  date  source  manual -->
+        <!-- * -->
+        <xsl:with-param name="title"   select="$refentry.metadata/title"/>
+        <xsl:with-param name="section" select="$refentry.metadata/section"/>
+        <xsl:with-param name="extra1"  select="$refentry.metadata/date"/>
+        <xsl:with-param name="extra2"  select="$refentry.metadata/source"/>
+        <xsl:with-param name="extra3"  select="$refentry.metadata/manual"/>
+      </xsl:call-template>
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <!-- * Set default hyphenation, justification, indentation, and -->
+      <!-- * line-breaking -->
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <xsl:call-template name="set.default.formatting"/>
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <!-- * Main body of man page -->
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <xsl:apply-templates/>
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <!-- * AUTHOR section -->
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <xsl:call-template name="author.section">
+        <xsl:with-param name="info" select="$info"/>
+      </xsl:call-template>
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <!-- * COPYRIGHT section -->
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <xsl:call-template name="copyright.section">
+        <xsl:with-param name="info" select="$info"/>
+      </xsl:call-template>
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <!-- * LINKS list (only if user wants links numbered and/or listed) -->
+      <!-- * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
+      <xsl:if test="$man.links.list.enabled != 0 or
+                    $man.links.are.numbered != 0">
+        <xsl:call-template name="endnotes.list"/>
+      </xsl:if>
+    </xsl:variable> <!-- * end of manpage.contents -->
+
+    <!-- * Prepare the page contents for final output, then store in -->
+    <!-- * $manpage.contents.prepared so the we can pass it on to the -->
+    <!-- * write.text.chunk() function -->
+    <xsl:variable name="manpage.contents.prepared">
+      <!-- * "Preparing" the page contents involves, at a minimum, -->
+      <!-- * doubling any backslashes found (so they aren't interpreted -->
+      <!-- * as roff escapes). -->
+      <!-- * -->
+      <!-- * If $charmap.enabled is true, "preparing" the page contents also -->
+      <!-- * involves applying a character map to convert Unicode symbols and -->
+      <!-- * special characters into corresponding roff escape sequences. -->
+      <xsl:call-template name="prepare.manpage.contents">
+        <xsl:with-param name="content" select="$manpage.contents"/>
+      </xsl:call-template>
+    </xsl:variable>
+    
+    <!-- * Write the prepared page contents to disk to create -->
+    <!-- * the final man page. -->
+    <xsl:call-template name="write.man.file">
+      <xsl:with-param name="name" select="$first.refname"/>
+      <xsl:with-param name="section" select="$refentry.metadata/section"/>
+      <xsl:with-param name="lang" select="$lang"/>
+      <xsl:with-param name="content" select="$manpage.contents.prepared"/>
+    </xsl:call-template>
+
+    <!-- * Generate "stub" (alias) pages (if any needed) -->
+    <xsl:call-template name="write.stubs">
+      <xsl:with-param name="first.refname" select="$first.refname"/>
+      <xsl:with-param name="section" select="$refentry.metadata/section"/>
+      <xsl:with-param name="lang" select="$lang"/>
+    </xsl:call-template>
+
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/manpages/html-synop.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/html-synop.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/html-synop.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1583 @@
+<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+<!-- ********************************************************************
+     $Id: synop.xsl 6446 2006-12-01 07:57:40Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- synopsis is in verbatim -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="cmdsynopsis">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <p>
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+    </p>
+  </div>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis/command">
+  <xsl:text>
+.
+</xsl:text>
+  <xsl:call-template name="inline.monoseq"/>
+  <xsl:text> </xsl:text>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis/command[1]" priority="2">
+  <xsl:call-template name="inline.monoseq"/>
+  <xsl:text> </xsl:text>
+</xsl:template>
+
+<xsl:template match="group|arg" name="group-or-arg">
+  <xsl:variable name="choice" select="@choice"/>
+  <xsl:variable name="rep" select="@rep"/>
+  <xsl:variable name="sepchar">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*/@sepchar">
+        <xsl:value-of select="ancestor-or-self::*/@sepchar"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:text> </xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:if test="preceding-sibling::*">
+    <xsl:value-of select="$sepchar"/>
+  </xsl:if>
+  <xsl:choose>
+    <xsl:when test="$choice='plain'">
+      <xsl:value-of select="$arg.choice.plain.open.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='req'">
+      <xsl:value-of select="$arg.choice.req.open.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='opt'">
+      <xsl:value-of select="$arg.choice.opt.open.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.choice.def.open.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:apply-templates/>
+  <xsl:choose>
+    <xsl:when test="$rep='repeat'">
+      <xsl:value-of select="$arg.rep.repeat.str"/>
+    </xsl:when>
+    <xsl:when test="$rep='norepeat'">
+      <xsl:value-of select="$arg.rep.norepeat.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.rep.def.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:choose>
+    <xsl:when test="$choice='plain'">
+      <xsl:value-of select="$arg.choice.plain.close.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='req'">
+      <xsl:value-of select="$arg.choice.req.close.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='opt'">
+      <xsl:value-of select="$arg.choice.opt.close.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.choice.def.close.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="group/arg">
+  <xsl:variable name="choice" select="@choice"/>
+  <xsl:variable name="rep" select="@rep"/>
+  <xsl:if test="preceding-sibling::*">
+    <xsl:value-of select="$arg.or.sep"/>
+  </xsl:if>
+  <xsl:call-template name="group-or-arg"/>
+</xsl:template>
+
+<xsl:template match="sbr">
+  <xsl:text>
+.
+</xsl:text>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="synopfragmentref">
+  <xsl:variable name="target" select="key('id', at linkend)"/>
+  <xsl:variable name="snum">
+    <xsl:apply-templates select="$target" mode="synopfragment.number"/>
+  </xsl:variable>
+  <i>
+    <a href="#{@linkend}">
+      <xsl:text>(</xsl:text>
+      <xsl:value-of select="$snum"/>
+      <xsl:text>)</xsl:text>
+    </a>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates/>
+  </i>
+</xsl:template>
+
+<xsl:template match="synopfragment" mode="synopfragment.number">
+  <xsl:number format="1"/>
+</xsl:template>
+
+<xsl:template match="synopfragment">
+  <xsl:variable name="snum">
+    <xsl:apply-templates select="." mode="synopfragment.number"/>
+  </xsl:variable>
+  <p>
+    <xsl:variable name="id">
+      <xsl:call-template name="object.id"/>
+    </xsl:variable>
+    <a name="{$id}">
+      <xsl:text>(</xsl:text>
+      <xsl:value-of select="$snum"/>
+      <xsl:text>)</xsl:text>
+    </a>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<xsl:template match="funcsynopsis">
+  <xsl:call-template name="informal.object"/>
+</xsl:template>
+
+<xsl:template match="funcsynopsisinfo">
+  <xsl:text>⌂sp
+</xsl:text><xsl:text>⌂nf
+</xsl:text><pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </pre><xsl:text/><xsl:text>⌂fi
+</xsl:text>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype -->
+<!--
+
+funcprototype ::= (funcdef,
+                   (void|varargs|paramdef+))
+
+funcdef       ::= (#PCDATA|type|replaceable|function)*
+
+paramdef      ::= (#PCDATA|type|replaceable|parameter|funcparams)*
+-->
+
+<xsl:template match="funcprototype">
+  <xsl:variable name="html-style">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="ancestor::funcsynopsis//processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'funcsynopsis-style'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="style">
+    <xsl:choose>
+      <xsl:when test="$html-style != ''">
+        <xsl:value-of select="$html-style"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$funcsynopsis.style"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+<!--
+  <xsl:variable name="tabular-p"
+                select="$funcsynopsis.tabular.threshold &gt; 0
+                        and string-length(.) &gt; $funcsynopsis.tabular.threshold"/>
+-->
+
+  <xsl:variable name="tabular-p" select="true()"/>
+
+  <xsl:choose>
+    <xsl:when test="$style = 'kr' and $tabular-p">
+      <xsl:apply-templates select="." mode="kr-tabular"/>
+    </xsl:when>
+    <xsl:when test="$style = 'kr'">
+      <xsl:apply-templates select="." mode="kr-nontabular"/>
+    </xsl:when>
+    <xsl:when test="$style = 'ansi' and $tabular-p">
+      <xsl:apply-templates select="." mode="ansi-tabular"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="." mode="ansi-nontabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype: kr, non-tabular -->
+
+<xsl:template match="funcprototype" mode="kr-nontabular">
+  <p>
+    <xsl:apply-templates mode="kr-nontabular"/>
+    <xsl:if test="paramdef">
+      <xsl:text>
+.
+</xsl:text>
+      <xsl:apply-templates select="paramdef" mode="kr-funcsynopsis-mode"/>
+    </xsl:if>
+  </p>
+</xsl:template>
+
+<xsl:template match="funcdef" mode="kr-nontabular">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="kr-nontabular"/>
+    <xsl:text>(</xsl:text>
+  </code>
+</xsl:template>
+
+<xsl:template match="funcdef/function" mode="kr-nontabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <b class="fsfunc"><xsl:apply-templates mode="kr-nontabular"/></b>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="kr-nontabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="void" mode="kr-nontabular">
+  <code>)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="varargs" mode="kr-nontabular">
+  <xsl:text>...</xsl:text>
+  <code>)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="kr-nontabular">
+  <xsl:apply-templates select="parameter" mode="kr-nontabular"/>
+  <xsl:choose>
+    <xsl:when test="following-sibling::*">
+      <xsl:text>, </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>)</code>
+      <xsl:text>;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="kr-nontabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="kr-nontabular"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="kr-nontabular"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="kr-funcsynopsis-mode">
+  <xsl:if test="preceding-sibling::paramdef"><xsl:text>
+.
+</xsl:text></xsl:if>
+  <code>
+    <xsl:apply-templates mode="kr-funcsynopsis-mode"/>
+  </code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="kr-funcsynopsis-mode">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="kr-funcsynopsis-mode"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="kr-funcsynopsis-mode"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="funcparams" mode="kr-funcsynopsis-mode">
+  <code>(</code>
+  <xsl:apply-templates mode="kr-funcsynopsis-mode"/>
+  <code>)</code>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype: kr, tabular -->
+
+<xsl:template match="funcprototype" mode="kr-tabular">
+  <table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em">
+    <tr>
+      <td>
+        <xsl:apply-templates select="funcdef" mode="kr-tabular"/>
+      </td>
+      <xsl:apply-templates select="(void|varargs|paramdef)[1]" mode="kr-tabular"/>
+    </tr>
+    <xsl:for-each select="(void|varargs|paramdef)[preceding-sibling::*[not(self::funcdef)]]">
+      <tr>
+        <td> </td>
+        <xsl:apply-templates select="." mode="kr-tabular"/>
+      </tr>
+    </xsl:for-each>
+  </table>
+  <xsl:if test="paramdef">
+    <table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0">
+      <xsl:if test="following-sibling::funcprototype">
+        <xsl:attribute name="style">padding-bottom: 1em</xsl:attribute>
+      </xsl:if>
+      <xsl:apply-templates select="paramdef" mode="kr-tabular-funcsynopsis-mode"/>
+    </table>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="funcdef" mode="kr-tabular">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="kr-tabular"/>
+    <xsl:text>(</xsl:text>
+  </code>
+</xsl:template>
+
+<xsl:template match="funcdef/function" mode="kr-tabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <b class="fsfunc"><xsl:apply-templates mode="kr-nontabular"/></b>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="kr-tabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="void" mode="kr-tabular">
+  <td>
+    <code>)</code>
+    <xsl:text>;</xsl:text>
+  </td>
+  <td> </td>
+</xsl:template>
+
+<xsl:template match="varargs" mode="kr-tabular">
+  <td>
+    <xsl:text>...</xsl:text>
+    <code>)</code>
+    <xsl:text>;</xsl:text>
+  </td>
+  <td> </td>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="kr-tabular">
+  <td>
+    <xsl:apply-templates select="parameter" mode="kr-tabular"/>
+    <xsl:choose>
+      <xsl:when test="following-sibling::*">
+	<xsl:text>, </xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+	<code>)</code>
+	<xsl:text>;</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </td>
+  <td> </td>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="kr-tabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="kr-tabular"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="kr-tabular"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="kr-tabular-funcsynopsis-mode">
+  <xsl:variable name="type">
+    <xsl:choose>
+      <xsl:when test="type">
+	<xsl:apply-templates select="type" mode="kr-tabular-funcsynopsis-mode"/>
+      </xsl:when>
+      <xsl:when test="normalize-space(parameter/preceding-sibling::node()[not(self::parameter)]) != ''">
+	<xsl:copy-of select="parameter/preceding-sibling::node()[not(self::parameter)]"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <tr>
+    <xsl:choose>
+      <xsl:when test="$type != '' and funcparams">
+        <td>
+	  <code>
+	    <xsl:copy-of select="$type"/>
+	  </code>
+          <xsl:text> </xsl:text>
+        </td>
+        <td>
+	  <code>
+	    <xsl:choose>
+	      <xsl:when test="type">
+		<xsl:apply-templates select="type/following-sibling::*" mode="kr-tabular-funcsynopsis-mode"/>
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:apply-templates select="*" mode="kr-tabular-funcsynopsis-mode"/>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </code>
+        </td>
+      </xsl:when>
+
+      <xsl:when test="funcparams">
+        <td colspan="2">
+	  <code>
+	    <xsl:apply-templates mode="kr-tabular-funcsynopsis-mode"/>
+	  </code>
+        </td>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <td>
+	  <code>
+	    <xsl:apply-templates select="parameter/preceding-sibling::node()[not(self::parameter)]" mode="kr-tabular-funcsynopsis-mode"/>
+	  </code>
+          <xsl:text> </xsl:text>
+        </td>
+        <td>
+	  <code>
+	    <xsl:apply-templates select="parameter" mode="kr-tabular"/>
+	    <xsl:apply-templates select="parameter/following-sibling::*[not(self::parameter)]" mode="kr-tabular-funcsynopsis-mode"/>
+	    <xsl:text>;</xsl:text>
+	  </code>
+        </td>
+      </xsl:otherwise>
+    </xsl:choose>
+  </tr>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="kr-tabular-funcsynopsis-mode">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="kr-tabular-funcsynopsis-mode"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="kr-tabular-funcsynopsis-mode"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="funcparams" mode="kr-tabular-funcsynopsis-mode">
+  <code>(</code>
+  <xsl:apply-templates mode="kr-tabular-funcsynopsis-mode"/>
+  <code>)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype: ansi, non-tabular -->
+
+<xsl:template match="funcprototype" mode="ansi-nontabular">
+  <p>
+    <xsl:apply-templates mode="ansi-nontabular"/>
+  </p>
+</xsl:template>
+
+<xsl:template match="funcdef" mode="ansi-nontabular">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="ansi-nontabular"/>
+    <xsl:text>(</xsl:text>
+  </code>
+</xsl:template>
+
+<xsl:template match="funcdef/function" mode="ansi-nontabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <b class="fsfunc"><xsl:apply-templates mode="ansi-nontabular"/></b>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="ansi-nontabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="void" mode="ansi-nontabular">
+  <code>void)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="varargs" mode="ansi-nontabular">
+  <xsl:text>...</xsl:text>
+  <code>)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="ansi-nontabular">
+  <xsl:apply-templates mode="ansi-nontabular"/>
+  <xsl:choose>
+    <xsl:when test="following-sibling::*">
+      <xsl:text>, </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>)</code>
+      <xsl:text>;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="ansi-nontabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="ansi-nontabular"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="ansi-nontabular"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="funcparams" mode="ansi-nontabular">
+  <code>(</code>
+  <xsl:apply-templates mode="ansi-nontabular"/>
+  <code>)</code>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype: ansi, tabular -->
+
+<xsl:template match="funcprototype" mode="ansi-tabular">
+  <table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0">
+    <xsl:if test="following-sibling::funcprototype">
+      <xsl:attribute name="style">padding-bottom: 1em</xsl:attribute>
+    </xsl:if>
+    <tr>
+      <td>
+        <xsl:apply-templates select="funcdef" mode="ansi-tabular"/>
+      </td>
+      <xsl:apply-templates select="(void|varargs|paramdef)[1]" mode="ansi-tabular"/>
+    </tr>
+    <xsl:for-each select="(void|varargs|paramdef)[preceding-sibling::*[not(self::funcdef)]]">
+      <tr>
+        <td> </td>
+        <xsl:apply-templates select="." mode="ansi-tabular"/>
+      </tr>
+    </xsl:for-each>
+  </table>
+</xsl:template>
+
+<xsl:template match="funcdef" mode="ansi-tabular">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="ansi-tabular"/>
+    <xsl:text>(</xsl:text>
+  </code>
+</xsl:template>
+
+<xsl:template match="funcdef/function" mode="ansi-tabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <b class="fsfunc"><xsl:apply-templates mode="ansi-nontabular"/></b>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="kr-tabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="void" mode="ansi-tabular">
+  <td>
+    <code>void)</code>
+    <xsl:text>;</xsl:text>
+  </td>
+  <td> </td>
+</xsl:template>
+
+<xsl:template match="varargs" mode="ansi-tabular">
+  <td>
+    <xsl:text>...</xsl:text>
+    <code>)</code>
+    <xsl:text>;</xsl:text>
+  </td>
+  <td> </td>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="ansi-tabular">
+  <xsl:variable name="type">
+    <xsl:choose>
+      <xsl:when test="type">
+	<xsl:apply-templates select="type" mode="ansi-tabular"/>
+      </xsl:when>
+      <xsl:when test="normalize-space(parameter/preceding-sibling::node()[not(self::parameter)]) != ''">
+	<xsl:copy-of select="parameter/preceding-sibling::node()[not(self::parameter)]"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$type != '' and funcparams">
+      <td>
+	<xsl:copy-of select="$type"/>
+        <xsl:text> </xsl:text>
+      </td>
+      <td>
+	<xsl:choose>
+	  <xsl:when test="type">
+	    <xsl:apply-templates select="type/following-sibling::*" mode="ansi-tabular"/>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates select="*" mode="ansi-tabular"/>
+	  </xsl:otherwise>
+	</xsl:choose>
+        <xsl:choose>
+          <xsl:when test="following-sibling::*">
+            <xsl:text>, </xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <code>)</code>
+            <xsl:text>;</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </td>
+    </xsl:when>
+    <xsl:otherwise>
+      <td>
+        <xsl:apply-templates select="parameter/preceding-sibling::node()[not(self::parameter)]" mode="ansi-tabular"/>
+        <xsl:text> </xsl:text>
+      </td>
+      <td>
+        <xsl:apply-templates select="parameter" mode="ansi-tabular"/>
+        <xsl:apply-templates select="parameter/following-sibling::*[not(self::parameter)]" mode="ansi-tabular"/>
+        <xsl:choose>
+          <xsl:when test="following-sibling::*">
+            <xsl:text>, </xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <code>)</code>
+            <xsl:text>;</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </td>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="ansi-tabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="ansi-tabular"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="ansi-tabular"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="funcparams" mode="ansi-tabular">
+  <code>(</code>
+  <xsl:apply-templates/>
+  <code>)</code>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:variable name="default-classsynopsis-language">java</xsl:variable>
+
+<xsl:template match="classsynopsis                      |fieldsynopsis                      |methodsynopsis                      |constructorsynopsis                      |destructorsynopsis">
+  <xsl:param name="language">
+    <xsl:choose>
+      <xsl:when test="@language">
+	<xsl:value-of select="@language"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:value-of select="$default-classsynopsis-language"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$language='java' or $language='Java'">
+      <xsl:apply-templates select="." mode="java"/>
+    </xsl:when>
+    <xsl:when test="$language='perl' or $language='Perl'">
+      <xsl:apply-templates select="." mode="perl"/>
+    </xsl:when>
+    <xsl:when test="$language='idl' or $language='IDL'">
+      <xsl:apply-templates select="." mode="idl"/>
+    </xsl:when>
+    <xsl:when test="$language='cpp' or $language='c++' or $language='C++'">
+      <xsl:apply-templates select="." mode="cpp"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+	<xsl:text>Unrecognized language on </xsl:text>
+        <xsl:value-of select="local-name(.)"/>
+        <xsl:text>: </xsl:text>
+	<xsl:value-of select="$language"/>
+      </xsl:message>
+      <xsl:apply-templates select=".">
+	<xsl:with-param name="language" select="$default-classsynopsis-language"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="synop-break">
+  <xsl:if test="parent::classsynopsis                 or (following-sibling::fieldsynopsis                     |following-sibling::methodsynopsis                     |following-sibling::constructorsynopsis                     |following-sibling::destructorsynopsis)">
+    <xsl:text>
+.
+</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+
+<!-- ===== Java ======================================================== -->
+
+<xsl:template match="classsynopsis" mode="java">
+  <xsl:text>⌂sp
+</xsl:text><xsl:text>⌂nf
+</xsl:text><pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates select="ooclass[1]" mode="java"/>
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text> extends</xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="java"/>
+      <xsl:if test="oointerface|ooexception">
+        <xsl:text>
+.
+</xsl:text>
+	<xsl:text>    </xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="oointerface">
+      <xsl:text>implements</xsl:text>
+      <xsl:apply-templates select="oointerface" mode="java"/>
+      <xsl:if test="ooexception">
+        <xsl:text>
+.
+</xsl:text>
+	<xsl:text>    </xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="ooexception">
+      <xsl:text>throws</xsl:text>
+      <xsl:apply-templates select="ooexception" mode="java"/>
+    </xsl:if>
+    <xsl:text> {</xsl:text>
+    <xsl:text>
+.
+</xsl:text>
+    <xsl:apply-templates select="constructorsynopsis                                  |destructorsynopsis                                  |fieldsynopsis                                  |methodsynopsis                                  |classsynopsisinfo" mode="java"/>
+    <xsl:text>}</xsl:text>
+  </pre><xsl:text/><xsl:text>⌂fi
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="java">
+  <xsl:apply-templates mode="java"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="java">
+  <xsl:choose>
+    <xsl:when test="preceding-sibling::*">
+      <xsl:text>, </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text> </xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text> </xsl:text>
+    </xsl:if>
+  </span>
+</xsl:template>
+
+<xsl:template match="classname" mode="java">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="java">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="java">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="java">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>  </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates mode="java"/>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+    <xsl:text> </xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="varname" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+    <xsl:text> </xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="initializer" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>= </xsl:text>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="void" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>void </xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodname" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="java">
+  <xsl:param name="indent">0</xsl:param>
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>,</xsl:text>
+    <xsl:text>
+.
+</xsl:text>
+    <xsl:if test="$indent &gt; 0">
+      <xsl:call-template name="copy-string">
+	<xsl:with-param name="string"> </xsl:with-param>
+	<xsl:with-param name="count" select="$indent + 1"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="parameter" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template mode="java" match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="decl">
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>  </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="$start-modifiers" mode="java"/>
+
+    <!-- type -->
+    <xsl:if test="local-name($notmod[1]) != 'methodname'">
+      <xsl:apply-templates select="$notmod[1]" mode="java"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="methodname" mode="java"/>
+  </xsl:variable>
+
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$decl"/>
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates select="methodparam" mode="java">
+      <xsl:with-param name="indent" select="string-length($decl)"/>
+    </xsl:apply-templates>
+    <xsl:text>)</xsl:text>
+    <xsl:if test="exceptionname">
+      <xsl:text>
+.
+</xsl:text>
+      <xsl:text>    throws </xsl:text>
+      <xsl:apply-templates select="exceptionname" mode="java"/>
+    </xsl:if>
+    <xsl:if test="modifier[preceding-sibling::*[local-name(.) != 'modifier']]">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="$end-modifiers" mode="java"/>
+    </xsl:if>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ===== C++ ========================================================= -->
+
+<xsl:template match="classsynopsis" mode="cpp">
+  <xsl:text>⌂sp
+</xsl:text><xsl:text>⌂nf
+</xsl:text><pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates select="ooclass[1]" mode="cpp"/>
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text>: </xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="cpp"/>
+      <xsl:if test="oointerface|ooexception">
+        <xsl:text>
+.
+</xsl:text>
+	<xsl:text>    </xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="oointerface">
+      <xsl:text> implements</xsl:text>
+      <xsl:apply-templates select="oointerface" mode="cpp"/>
+      <xsl:if test="ooexception">
+        <xsl:text>
+.
+</xsl:text>
+	<xsl:text>    </xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="ooexception">
+      <xsl:text> throws</xsl:text>
+      <xsl:apply-templates select="ooexception" mode="cpp"/>
+    </xsl:if>
+    <xsl:text> {</xsl:text>
+    <xsl:text>
+.
+</xsl:text>
+    <xsl:apply-templates select="constructorsynopsis                                  |destructorsynopsis                                  |fieldsynopsis                                  |methodsynopsis                                  |classsynopsisinfo" mode="cpp"/>
+    <xsl:text>}</xsl:text>
+  </pre><xsl:text/><xsl:text>⌂fi
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="cpp">
+  <xsl:apply-templates mode="cpp"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="cpp">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text> </xsl:text>
+    </xsl:if>
+  </span>
+</xsl:template>
+
+<xsl:template match="classname" mode="cpp">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="cpp">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="cpp">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="cpp">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>  </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates mode="cpp"/>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+    <xsl:text> </xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="varname" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+    <xsl:text> </xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="initializer" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>= </xsl:text>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="void" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>void </xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodname" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="cpp">
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="parameter" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template mode="cpp" match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>  </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="$start-modifiers" mode="cpp"/>
+
+    <!-- type -->
+    <xsl:if test="local-name($notmod[1]) != 'methodname'">
+      <xsl:apply-templates select="$notmod[1]" mode="cpp"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="methodname" mode="cpp"/>
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates select="methodparam" mode="cpp"/>
+    <xsl:text>)</xsl:text>
+    <xsl:if test="exceptionname">
+      <xsl:text>
+.
+</xsl:text>
+      <xsl:text>    throws </xsl:text>
+      <xsl:apply-templates select="exceptionname" mode="cpp"/>
+    </xsl:if>
+    <xsl:if test="modifier[preceding-sibling::*[local-name(.) != 'modifier']]">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="$end-modifiers" mode="cpp"/>
+    </xsl:if>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ===== IDL ========================================================= -->
+
+<xsl:template match="classsynopsis" mode="idl">
+  <xsl:text>⌂sp
+</xsl:text><xsl:text>⌂nf
+</xsl:text><pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>interface </xsl:text>
+    <xsl:apply-templates select="ooclass[1]" mode="idl"/>
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text>: </xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="idl"/>
+      <xsl:if test="oointerface|ooexception">
+        <xsl:text>
+.
+</xsl:text>
+	<xsl:text>    </xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="oointerface">
+      <xsl:text> implements</xsl:text>
+      <xsl:apply-templates select="oointerface" mode="idl"/>
+      <xsl:if test="ooexception">
+        <xsl:text>
+.
+</xsl:text>
+	<xsl:text>    </xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="ooexception">
+      <xsl:text> throws</xsl:text>
+      <xsl:apply-templates select="ooexception" mode="idl"/>
+    </xsl:if>
+    <xsl:text> {</xsl:text>
+    <xsl:text>
+.
+</xsl:text>
+    <xsl:apply-templates select="constructorsynopsis                                  |destructorsynopsis                                  |fieldsynopsis                                  |methodsynopsis                                  |classsynopsisinfo" mode="idl"/>
+    <xsl:text>}</xsl:text>
+  </pre><xsl:text/><xsl:text>⌂fi
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="idl">
+  <xsl:apply-templates mode="idl"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="idl">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text> </xsl:text>
+    </xsl:if>
+  </span>
+</xsl:template>
+
+<xsl:template match="classname" mode="idl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="idl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="idl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="idl">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>  </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates mode="idl"/>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+    <xsl:text> </xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="varname" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+    <xsl:text> </xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="initializer" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>= </xsl:text>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="void" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>void </xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodname" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="idl">
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="parameter" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template mode="idl" match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>  </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="$start-modifiers" mode="idl"/>
+
+    <!-- type -->
+    <xsl:if test="local-name($notmod[1]) != 'methodname'">
+      <xsl:apply-templates select="$notmod[1]" mode="idl"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="methodname" mode="idl"/>
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates select="methodparam" mode="idl"/>
+    <xsl:text>)</xsl:text>
+    <xsl:if test="exceptionname">
+      <xsl:text>
+.
+</xsl:text>
+      <xsl:text>    raises(</xsl:text>
+      <xsl:apply-templates select="exceptionname" mode="idl"/>
+      <xsl:text>)</xsl:text>
+    </xsl:if>
+    <xsl:if test="modifier[preceding-sibling::*[local-name(.) != 'modifier']]">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="$end-modifiers" mode="idl"/>
+    </xsl:if>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ===== Perl ======================================================== -->
+
+<xsl:template match="classsynopsis" mode="perl">
+  <xsl:text>⌂sp
+</xsl:text><xsl:text>⌂nf
+</xsl:text><pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>package </xsl:text>
+    <xsl:apply-templates select="ooclass[1]" mode="perl"/>
+    <xsl:text>;</xsl:text>
+    <xsl:text>
+.
+</xsl:text>
+
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text>@ISA = (</xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="perl"/>
+      <xsl:text>);</xsl:text>
+      <xsl:text>
+.
+</xsl:text>
+    </xsl:if>
+
+    <xsl:apply-templates select="constructorsynopsis                                  |destructorsynopsis                                  |fieldsynopsis                                  |methodsynopsis                                  |classsynopsisinfo" mode="perl"/>
+  </pre><xsl:text/><xsl:text>⌂fi
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="perl">
+  <xsl:apply-templates mode="perl"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="perl">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text> </xsl:text>
+    </xsl:if>
+  </span>
+</xsl:template>
+
+<xsl:template match="classname" mode="perl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="perl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="perl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="perl">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>  </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates mode="perl"/>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+    <xsl:text> </xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="varname" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+    <xsl:text> </xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="initializer" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>= </xsl:text>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="void" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>void </xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodname" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="perl">
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="parameter" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template mode="perl" match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>sub </xsl:text>
+
+    <xsl:apply-templates select="methodname" mode="perl"/>
+    <xsl:text> { ... };</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- * DocBook 5 allows linking elements (link, olink, and xref) -->
+<!-- * within the OO *synopsis elements (classsynopsis, fieldsynopsis, -->
+<!-- * methodsynopsis, constructorsynopsis, destructorsynopsis) and -->
+<!-- * their children. So we need to have mode="java|cpp|idl|perl" -->
+<!-- * per-mode matches for those linking elements in order for them -->
+<!-- * to be processed as expected. -->
+
+<xsl:template match="link|olink|xref" mode="java">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="link|olink|xref" mode="cpp">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="link|olink|xref" mode="idl">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="link|olink|xref" mode="perl">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/manpages/info.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/info.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/info.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,618 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:date="http://exslt.org/dates-and-times"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="date exsl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: info.xsl 6524 2007-01-18 15:44:19Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+  <xsl:variable name="blurb-indent">
+    <xsl:choose>
+      <xsl:when test="not($man.indent.blurbs = 0)">
+        <xsl:value-of select="$man.indent.width"/>
+      </xsl:when>
+      <xsl:when test="not($man.indent.refsect = 0)">
+        <!-- * "zq" is the name of a register we set for -->
+        <!-- * preserving the original default indent value -->
+        <!-- * when $man.indent.refsect is non-zero; -->
+        <!-- * "u" is a roff unit specifier -->
+        <xsl:text>&#x2593;n(zqu</xsl:text>
+      </xsl:when>
+      <xsl:otherwise/> <!-- * otherwise, just leave it empty -->
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- ================================================================== -->
+  <!-- * About the $info param used in this stylesheet -->
+  <!-- * -->
+  <!-- * The $info param is a "master info" node set that contains -->
+  <!-- * the entires contents of the *info child of the current -->
+  <!-- * Refentry, plus the entire contents of the *info children of -->
+  <!-- * all ancestors of the current Refentry, in document order. -->
+  <!-- * -->
+  <!-- * We try to find a "best match" for selecting content from -->
+  <!-- * $infor; we look through it in reverse document order until we -->
+  <!-- * can find something usable. -->
+  <!-- * -->
+  <!-- * Specifically what the basic metadata-gathering XPath expression -->
+  <!-- * in this stylesheet does is: -->
+  <!-- * -->
+  <!-- *   1. Look through the entire "master info" node set.-->
+  <!-- *   2. Get the last node in the set that contains, for -->
+  <!-- *      example, an Author element. That amounts to being the -->
+  <!-- *      closest *info node to the Refentry - either its *info -->
+  <!-- *      child, or the *info node of its closest ancestor that -->
+  <!-- *      contains an Author. -->
+
+  <!-- ================================================================== -->
+  <!-- * Get user "refentry metadata" preferences -->
+  <!-- ================================================================== -->
+  <!-- * The DocBook XSL stylesheets include several user-configurable -->
+  <!-- * global stylesheet parameters for controlling refentry metadata -->
+  <!-- * gathering. Those parameters are not read directly by the other -->
+  <!-- * refentry metadata-gathering templates. Instead, they are read -->
+  <!-- * only by the get.refentry.metadata.prefs template, which -->
+  <!-- * assembles them into a structure that is then passed to the -->
+  <!-- * other refentry metadata-gathering template. -->
+
+  <xsl:variable name="get.refentry.metadata.prefs">
+    <!-- * get.refentry.metadata.prefs is in common/refentry.xsl -->
+    <xsl:call-template name="get.refentry.metadata.prefs"/>
+  </xsl:variable>
+
+  <xsl:variable name="refentry.metadata.prefs"
+                select="exsl:node-set($get.refentry.metadata.prefs)"/>
+  
+  <!-- * ============================================================== -->
+  <!-- *    Get content for Author metadata field. -->
+  <!-- * ============================================================== -->
+
+  <!-- * The make.roff.metatada.author template and metadata.author -->
+  <!-- * mode are used only for populating the Author field in the -->
+  <!-- * metadata "top comment" we embed in roff source of each page. -->
+
+  <xsl:template name="make.roff.metadata.author">
+    <xsl:param name="info"/>
+    <xsl:choose>
+      <xsl:when test="$info//author">
+        <xsl:apply-templates
+            select="(($info[//author])[last()]//author)[1]"
+            mode="metadata.author"/>
+      </xsl:when>
+      <xsl:when test="$info//corpauthor">
+        <xsl:apply-templates
+            select="(($info[//corpauthor])[last()]//corpauthor)[1]"
+            mode="metadata.author"/>
+      </xsl:when>
+      <xsl:when test="$info//editor">
+        <xsl:apply-templates
+            select="(($info[//editor])[last()]//editor)[1]"
+            mode="metadata.author"/>
+      </xsl:when>
+      <xsl:when test="$info//corpcredit">
+        <xsl:apply-templates
+            select="(($info[//corpcredit])[last()]//corpcredit)[1]"
+            mode="metadata.author"/>
+      </xsl:when>
+      <xsl:when test="$info//othercredit">
+        <xsl:apply-templates
+            select="(($info[//othercredit])[last()]//othercredit)[1]"
+            mode="metadata.author"/>
+      </xsl:when>
+      <xsl:when test="$info//collab">
+        <xsl:apply-templates
+            select="(($info[//collab])[last()]//collab)[1]"
+            mode="metadata.author"/>
+      </xsl:when>
+      <xsl:when test="$info//orgname">
+        <xsl:apply-templates
+            select="(($info[//orgname])[last()]//orgname)[1]"
+            mode="metadata.author"/>
+      </xsl:when>
+      <xsl:when test="$info//publishername">
+        <xsl:apply-templates
+            select="(($info[//publishername])[last()]//publishername)[1]"
+            mode="metadata.author"/>
+      </xsl:when>
+      <xsl:otherwise/> <!-- * do nothing, no author info found -->
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match="author|editor|othercredit|collab" mode="metadata.author">
+    <xsl:choose>
+      <xsl:when test="collabname">
+        <!-- * If this node is a Collab, then it should have a -->
+        <!-- * Collabname child, so get that. -->
+        <xsl:variable name="contents">
+          <xsl:apply-templates select="collabname"/>
+        </xsl:variable>
+        <xsl:value-of select="normalize-space($contents)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * Otherwise, this node is not a Collab, but instead -->
+        <!-- * an author|editor|othercredit, which must have a name -->
+        <!-- * of some kind; so get that name -->
+        <xsl:call-template name="person.name.normalized"/>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:if test=".//email|address/otheraddr/ulink">
+      <xsl:text> </xsl:text>
+      <!-- * For each attribution found, use only the first e-mail -->
+      <!-- * address or ulink value found -->
+      <xsl:apply-templates select="(.//email|address/otheraddr/ulink)[1]"
+                           mode="metadata.author"/>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match="email|address/otheraddr/ulink" mode="metadata.author">
+    <xsl:text>&lt;</xsl:text>
+    <xsl:choose>
+      <xsl:when test="self::email">
+        <xsl:variable name="contents">
+          <xsl:apply-templates/>
+        </xsl:variable>
+        <xsl:value-of select="normalize-space($contents)"/>
+      </xsl:when>
+      <xsl:when test="self::ulink">
+        <xsl:variable name="contents">
+          <xsl:apply-templates select="."/>
+        </xsl:variable>
+        <xsl:value-of select="normalize-space($contents)"/>
+      </xsl:when>
+    </xsl:choose>
+    <xsl:text>&gt;</xsl:text>
+  </xsl:template>
+
+  <xsl:template match="corpauthor|corpcredit|orgname|publishername" mode="metadata.author">
+    <xsl:variable name="contents">
+      <xsl:apply-templates/>
+    </xsl:variable>
+    <xsl:value-of select="normalize-space($contents)"/>
+  </xsl:template>
+
+  <!-- * ============================================================== -->
+  <!-- *     Assemble the AUTHOR/AUTHORS section -->
+  <!-- * ============================================================== -->
+
+  <xsl:template name="author.section">
+    <xsl:param name="info"/>
+    <!-- * The $info param is a "master info" node set that contains -->
+    <!-- * the entires contents of the *info child of the current -->
+    <!-- * Refentry, plus the entire contents of the *info children of -->
+    <!-- * all ancestors of the current Refentry, in document order. -->
+    <xsl:choose>
+      <xsl:when test="$info//author|$info//editor|$info//collab|
+                      $info//corpauthor|$info//corpcredit|
+                      $info//othercredit|$info/orgname|
+                      $info/publishername|$info/publisher">
+        <xsl:variable name="authorcount">
+          <xsl:value-of
+              select="count(
+                      $info//author|$info//editor|$info//collab|
+                      $info//corpauthor|$info//corpcredit|
+                      $info//othercredit)">
+          </xsl:value-of>
+        </xsl:variable>
+        <xsl:text>&#x2302;SH "</xsl:text>
+        <xsl:call-template name="make.authorsecttitle">
+          <xsl:with-param name="authorcount" select="$authorcount"/>
+        </xsl:call-template>
+        <!-- * Now output all the actual author, editor, etc. content -->
+        <xsl:for-each
+            select="$info//author|$info//editor|$info//collab|
+                    $info//corpauthor|$info//corpcredit|
+                    $info//othercredit|$info/orgname|
+                    $info/publishername|$info/publisher">
+          <xsl:apply-templates select="." mode="authorsect"/>
+        </xsl:for-each>
+      </xsl:when>
+      <xsl:otherwise/> <!-- * do nothing, no author info found -->
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template name="make.authorsecttitle">
+    <!-- * If we have exactly one attributable person/entity, then output -->
+    <!-- * localized gentext for 'Author'; otherwise, output 'Authors'. -->
+    <xsl:param name="authorcount"/>
+    <xsl:param name="authorsecttitle">
+      <xsl:choose>
+        <xsl:when test="$authorcount = 1">
+          <xsl:text>Author</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>Authors</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:param>
+    <xsl:call-template name="string.upper">
+      <xsl:with-param name="string">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="$authorsecttitle"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:text>"&#10;</xsl:text>
+  </xsl:template>
+  
+  <xsl:template match="author|editor|othercredit" mode="authorsect">
+    <xsl:variable name="person-name">
+      <xsl:call-template name="person.name.normalized"/>
+    </xsl:variable>
+    <!-- * If we have a person-name or email or ulink content, then -->
+    <!-- * output name and email or ulink content on the same line -->
+    <xsl:choose>
+      <xsl:when test="not($person-name = '') or .//email or address/otheraddr/ulink">
+        <!-- * Our mode="bold" mechanism doesn't work on text nodes; so we -->
+        <!-- * need to turn the person-name into an element node first. -->
+        <xsl:variable name="person-name-node">
+          <bold><xsl:value-of select="$person-name"/></bold>
+        </xsl:variable>
+        <xsl:text>&#x2302;PP&#10;</xsl:text>
+        <!-- * Display person name in bold -->
+        <xsl:apply-templates mode="bold" select="exsl:node-set($person-name-node)"/>
+        <!-- * Display e-mail address(es) and ulink(s) on same line as name -->
+        <xsl:apply-templates select=".//email|address/otheraddr/ulink" mode="authorsect"/>
+        <xsl:text>&#10;</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:text>&#x2302;br&#10;</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+    <!-- * Display affiliation(s) on separate lines -->
+    <xsl:apply-templates select="affiliation" mode="authorsect"/>
+    <!-- * Display direct-child addresses on separate lines -->
+    <xsl:apply-templates select="address" mode="authorsect"/>
+    <!-- * Call template for handling various attribution possibilities -->
+    <xsl:call-template name="attribution"/>
+  </xsl:template>
+
+  <xsl:template match="collab" mode="authorsect">
+    <xsl:text>&#x2302;PP&#10;</xsl:text>
+    <xsl:apply-templates mode="bold" select="collabname"/>
+    <!-- * Display e-mail address(es) and ulink(s) on same line as name -->
+    <xsl:apply-templates select=".//email|address/otheraddr/ulink" mode="authorsect"/>
+    <xsl:text>&#10;</xsl:text>
+    <!-- * Display affilition(s) on separate lines -->
+    <xsl:apply-templates select="affiliation" mode="authorsect"/>
+  </xsl:template>
+
+  <xsl:template match="corpauthor|corpcredit|orgname|publishername" mode="authorsect">
+    <xsl:text>&#x2302;PP&#10;</xsl:text>
+    <xsl:apply-templates mode="bold" select="."/>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:if test="self::publishername">
+      <!-- * Display localized "Publisher" gentext -->
+      <xsl:call-template name="publisher.attribution"/>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match="publisher" mode="authorsect">
+    <xsl:text>&#x2302;PP&#10;</xsl:text>
+    <xsl:apply-templates mode="bold" select="publishername"/>
+    <!-- * Display e-mail address(es) and ulink(s) on same line as name -->
+    <xsl:apply-templates select=".//email|address/otheraddr/ulink" mode="authorsect"/>
+    <!-- * Display addresses on separate lines -->
+    <xsl:apply-templates select="address" mode="authorsect"/>
+    <!-- * Display localized "Publisher" literal -->
+    <xsl:call-template name="publisher.attribution"/>
+  </xsl:template>
+
+  <xsl:template name="publisher.attribution">
+    <xsl:text>&#10;</xsl:text>
+    <xsl:text>&#x2302;sp &#x2591;1n&#10;</xsl:text>
+    <xsl:text>&#x2302;IP ""</xsl:text> 
+    <xsl:if test="not($blurb-indent = '')">
+      <xsl:text> </xsl:text>
+      <xsl:value-of select="$blurb-indent"/>
+    </xsl:if>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'Publisher'"/>
+    </xsl:call-template>
+    <xsl:text>.&#10;</xsl:text>
+  </xsl:template>
+
+  <xsl:template match="email|address/otheraddr/ulink" mode="authorsect">
+    <xsl:choose>
+      <xsl:when test="preceding-sibling::*[descendant-or-self::email]
+                      or preceding-sibling::address/otheraddr/ulink
+                      or ancestor::address[preceding-sibling::*[descendant-or-self::email]]
+                      or ancestor::address[preceding-sibling::address/otheraddr/ulink]">
+        <!-- * This is not the first instance, so do nothing. -->
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * This is first instances of an e-mail address or ulink, -->
+        <!-- * so put a space before it. -->
+        <xsl:text> </xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+    <!-- * Note that the reason for the \& character after the opening -->
+    <!-- * angle bracket and before the closing angle bracket is to -->
+    <!-- * prevent groff from inserting a linebreak at those points and -->
+    <!-- * outputting a hyphen character where the break occurs -->
+    <xsl:text>&lt;&#x2593;&amp;</xsl:text>
+    <xsl:choose>
+      <xsl:when test="self::email">
+        <xsl:variable name="contents">
+          <xsl:apply-templates/>
+        </xsl:variable>
+        <xsl:value-of select="normalize-space($contents)"/>
+      </xsl:when>
+      <xsl:when test="self::ulink">
+        <xsl:variable name="contents">
+          <xsl:apply-templates select="."/>
+        </xsl:variable>
+        <xsl:value-of select="normalize-space($contents)"/>
+      </xsl:when>
+    </xsl:choose>
+    <xsl:text>&#x2593;&amp;&gt;</xsl:text>
+    <xsl:choose>
+      <xsl:when test="not(following-sibling::*[descendant-or-self::email]
+                      or following-sibling::address/otheraddr/ulink
+                      or ancestor::address[following-sibling::*[descendant-or-self::email]]
+                      or ancestor::address[following-sibling::address/otheraddr/ulink])">
+        <!-- * This is the final instance, so do nothing. -->
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * Separate multiple e-mail addresses or ulinks with a comma -->
+        <xsl:text>, </xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match="affiliation" mode="authorsect">
+    <!-- * Get the string value of the contents of this Affiliation. If the -->
+    <!-- * affiliation only contains an Address child whose only content is -->
+    <!-- * an email address or ulink, then these contents will end up empty. -->
+    <xsl:variable name="contents">
+      <xsl:apply-templates mode="authorsect"/>
+    </xsl:variable>
+    <!-- * If contents are actually empty except for an email address -->
+    <!-- * or ulink, then output nothing. -->
+    <xsl:if test="$contents != ''">
+      <xsl:text>&#x2302;br&#10;</xsl:text>
+      <xsl:for-each select="shortaffil|jobtitle|orgname|orgdiv|address">
+        <!-- * only display output of nodes other than email or ulink -->
+        <xsl:apply-templates select="node()[not(self::email) and not(self::otheraddr/ulink)]"/>
+        <xsl:choose>
+          <xsl:when test="position() = last()"/> <!-- do nothing -->
+          <xsl:otherwise>
+            <!-- * only add comma if the node has a child node other than -->
+            <!-- * an email address or ulink -->
+            <xsl:if test="child::node()[not(self::email) and not(self::otheraddr/ulink)]">
+              <xsl:text>, </xsl:text>
+            </xsl:if>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:for-each>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:choose>
+        <xsl:when test="position() = last()"/> <!-- do nothing -->
+        <xsl:otherwise>
+          <!-- * put a line break after every Affiliation instance except -->
+          <!-- * the last one in the set -->
+          <xsl:text>&#x2302;br&#10;</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match="address" mode="authorsect">
+    <xsl:variable name="contents"
+                  select="normalize-space(node()[not(self::email)
+                          and not(self::otheraddr/ulink)])"/>
+    <!-- * If this contents of this Address do not contain anything except -->
+    <!-- * an email address or ulink, then output nothing. -->
+    <xsl:if test="$contents != ''">
+      <xsl:text>&#10;</xsl:text>
+      <xsl:text>&#x2302;br&#10;</xsl:text>
+      <!--* Skip email and ulink descendants of Address (rendered elsewhere) -->
+      <xsl:apply-templates select="node()[not(self::email) and not(self::otheraddr/ulink)]"/>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template name="attribution">
+    <!-- * Determine appropriate attribution for a particular person's role. -->
+    <xsl:choose>
+      <!-- * if we have a *blurb or contrib, just use that -->
+      <xsl:when test="contrib|personblurb|authorblurb">
+        <xsl:apply-templates select="contrib|personblurb|authorblurb" mode="authorsect"/>
+        <xsl:text>&#10;</xsl:text>
+      </xsl:when>
+      <!-- * If we have no *blurb or contrib, but this is an Author or -->
+      <!-- * Editor, then render the corresponding localized gentext -->
+      <xsl:when test="self::author">
+        <xsl:text>&#10;</xsl:text>
+        <xsl:text>&#x2302;sp &#x2591;1n&#10;</xsl:text>
+        <xsl:text>&#x2302;IP ""</xsl:text> 
+        <xsl:if test="not($blurb-indent = '')">
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="$blurb-indent"/>
+        </xsl:if>
+        <xsl:text>&#10;</xsl:text>
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'Author'"/>
+        </xsl:call-template>
+        <xsl:text>.&#10;</xsl:text>
+      </xsl:when>
+      <xsl:when test="self::editor">
+        <xsl:text>&#10;</xsl:text>
+        <xsl:text>&#x2302;sp &#x2591;1n&#10;</xsl:text>
+        <xsl:text>&#x2302;IP ""</xsl:text> 
+        <xsl:if test="not($blurb-indent = '')">
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="$blurb-indent"/>
+        </xsl:if>
+        <xsl:text>&#10;</xsl:text>
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'Editor'"/>
+        </xsl:call-template>
+        <xsl:text>.&#10;</xsl:text>
+      </xsl:when>
+      <!-- * If we have no *blurb or contrib, but this is an Othercredit, -->
+      <!-- * check value of Class attribute and use corresponding gentext. -->
+      <xsl:when test="self::othercredit">
+        <xsl:choose>
+          <xsl:when test="@class and @class != 'other'">
+            <xsl:text>&#10;</xsl:text>
+            <xsl:text>&#x2302;sp &#x2591;1n&#10;</xsl:text>
+            <xsl:text>&#x2302;IP ""</xsl:text> 
+            <xsl:if test="not($blurb-indent = '')">
+              <xsl:text> </xsl:text>
+              <xsl:value-of select="$blurb-indent"/>
+            </xsl:if>
+            <xsl:text>&#10;</xsl:text>
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="@class"/>
+            </xsl:call-template>
+            <xsl:text>.&#10;</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <!-- * We have an Othercredit, but not usable value for the Class -->
+            <!-- * attribute, so nothing to show, do nothing -->
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * We have no *blurb or contrib or anything else we can use to -->
+        <!-- * display appropriate attribution for this person, so do nothing -->
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match="personblurb|authorblurb" mode="authorsect">
+    <xsl:call-template name="mark.up.blurb.or.contrib"/>
+    <!-- * yeah, it's possible for a *blurb to have a "title" -->
+    <xsl:apply-templates select="title"/>
+    <xsl:apply-templates select="*[not(self::title)]"/>
+  </xsl:template>
+
+  <xsl:template match="personblurb/title|authorblurb/title">
+    <!-- * always render period after title -->
+    <xsl:variable name="contents">
+      <xsl:apply-templates/>
+    </xsl:variable>
+    <xsl:value-of select="normalize-space($contents)"/>
+    <xsl:text>.</xsl:text>
+    <!-- * render space after Title+period if the title is followed -->
+    <!-- * by something element content -->
+    <xsl:if test="following-sibling::*[name() != '']">
+      <xsl:text> </xsl:text>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match="contrib" mode="authorsect">
+    <xsl:call-template name="mark.up.blurb.or.contrib"/>
+    <xsl:variable name="contents">
+      <xsl:apply-templates/>
+    </xsl:variable>
+    <xsl:value-of select="normalize-space($contents)"/>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:template>
+
+  <xsl:template name="mark.up.blurb.or.contrib">
+    <xsl:choose>
+      <!-- * If this *blurb has a sibling "name" element of some kind, then -->
+      <!-- * we are already outputting the name content, and we need to -->
+      <!-- * indent the *blurb content after that. -->
+      <xsl:when
+          test="../personname|../surname|../firstname
+                |../othername|../lineage|../honorific
+                |../affiliation|../email|../address">
+        <xsl:text>&#10;</xsl:text>
+        <xsl:text>&#x2302;sp &#x2591;1n&#10;</xsl:text>
+        <xsl:text>&#x2302;IP ""</xsl:text> 
+        <xsl:if test="not($blurb-indent = '')">
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="$blurb-indent"/>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * otherwise, we have no "name" content, so don't indent; -->
+        <!-- * instead, decide if we need a .PP or just a .br -->
+        <xsl:choose>
+          <xsl:when test="not(preceding-sibling::*)">
+            <!-- * if this *blurb or contrib has no preceding -->
+            <!-- * siblings, then we need to start a new paragraph -->
+            <xsl:text>&#x2302;PP</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <!-- * otherwise, this has no preceding siblings, so -->
+            <!-- * just put a linebreak -->
+            <xsl:text>&#x2302;br</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:template>
+
+  <!-- * ============================================================== -->
+  <!-- *     Assemble the COPYRIGHT section -->
+  <!-- * ============================================================== -->
+  <!-- * The COPYRIGHT section is output only if a copyright or -->
+  <!-- * legalnotice is found. It contains the copyright contents -->
+  <!-- * followed by the legalnotice contents. -->
+  <xsl:template name="copyright.section">
+    <xsl:param name="info"/>
+    <xsl:choose>
+      <xsl:when test="$info//copyright|$info//legalnotice">
+        <xsl:text>&#x2302;SH "</xsl:text>
+        <xsl:call-template name="string.upper">
+          <xsl:with-param name="string">
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key">Copyright</xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+        </xsl:call-template>
+        <xsl:text>"&#10;</xsl:text>
+        <!-- * the copyright mode="titlepage.mode" template is -->
+        <!-- * imported from the HTML stylesheets -->
+        <xsl:for-each select="(($info[//copyright])[last()]//copyright)">
+          <xsl:variable name="contents">
+            <xsl:apply-templates select="." mode="titlepage.mode"/>
+          </xsl:variable>
+          <xsl:value-of select="normalize-space($contents)"/>
+          <xsl:text>&#10;</xsl:text>
+          <xsl:text>&#x2302;br&#10;</xsl:text>
+        </xsl:for-each>
+        <xsl:text>&#10;</xsl:text>
+        <xsl:for-each select="(($info[//legalnotice])[last()]//legalnotice)">
+          <xsl:apply-templates select="." mode="titlepage.mode"/>
+          <xsl:text>&#10;</xsl:text>
+          <xsl:text>&#x2302;br&#10;</xsl:text>
+        </xsl:for-each>
+      </xsl:when>
+      <xsl:otherwise/> <!-- * do nothing, no copyright or legalnotice found -->
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match="legalnotice">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <!-- * ============================================================== -->
+
+  <!-- * suppress refmeta and all *info (we grab what we need from them -->
+  <!-- * elsewhere) -->
+
+  <xsl:template match="refmeta"/>
+
+  <xsl:template match="info|refentryinfo|referenceinfo|refsynopsisdivinfo
+                       |refsectioninfo|refsect1info|refsect2info|refsect3info
+                       |setinfo|bookinfo|articleinfo|chapterinfo|sectioninfo
+                       |sect1info|sect2info|sect3info|sect4info|sect5info
+                       |partinfo|prefaceinfo|appendixinfo|docinfo"/>
+
+  <!-- ============================================================== -->
+  
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/manpages/inline.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/inline.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/inline.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,155 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: inline.xsl 6496 2007-01-15 01:47:19Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="replaceable|varname">
+  <xsl:if test="$man.hyphenate.computer.inlines = 0">
+    <xsl:call-template name="suppress.hyphenation"/>
+  </xsl:if>
+  <xsl:apply-templates mode="italic" select="."/>
+</xsl:template>
+
+<xsl:template match="option|userinput|envar|errorcode|constant|markup">
+  <xsl:if test="$man.hyphenate.computer.inlines = 0">
+    <xsl:call-template name="suppress.hyphenation"/>
+  </xsl:if>
+  <xsl:apply-templates mode="bold" select="."/>
+</xsl:template>
+
+<xsl:template match="classname">
+  <xsl:if test="$man.hyphenate.computer.inlines = 0">
+    <xsl:call-template name="suppress.hyphenation"/>
+  </xsl:if>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="command">
+  <xsl:if test="$man.hyphenate.computer.inlines = 0">
+    <xsl:call-template name="suppress.hyphenation"/>
+  </xsl:if>
+  <xsl:apply-templates mode="bold" select="."/>
+</xsl:template>
+
+<xsl:template match="type[not(ancestor::cmdsynopsis) and
+                     not(ancestor::funcsynopsis)]">
+  <xsl:if test="$man.hyphenate.computer.inlines = 0">
+    <xsl:call-template name="suppress.hyphenation"/>
+  </xsl:if>
+  <xsl:apply-templates mode="bold" select="."/>
+</xsl:template>
+
+<xsl:template match="function[not(ancestor::cmdsynopsis) and
+                     not(ancestor::funcsynopsis)]">
+  <xsl:if test="$man.hyphenate.computer.inlines = 0">
+    <xsl:call-template name="suppress.hyphenation"/>
+  </xsl:if>
+  <xsl:apply-templates mode="bold" select="."/>
+</xsl:template>
+
+<xsl:template match="parameter[not(ancestor::cmdsynopsis) and
+                     not(ancestor::funcsynopsis)]">
+  <xsl:if test="$man.hyphenate.computer.inlines = 0">
+    <xsl:call-template name="suppress.hyphenation"/>
+  </xsl:if>
+  <xsl:apply-templates mode="italic" select="."/>
+</xsl:template>
+
+<xsl:template match="filename">
+  <!-- * add hyphenation suppression in Filename output only if -->
+  <!-- * break.after.slash is also non-zero -->
+  <xsl:if test="$man.hyphenate.filenames = 0 and
+                $man.break.after.slash = 0">
+    <xsl:call-template name="suppress.hyphenation"/>
+  </xsl:if>
+  <xsl:apply-templates mode="italic" select="."/>
+</xsl:template>
+
+<xsl:template match="emphasis">
+  <xsl:choose>
+    <xsl:when test="@role = 'bold' or
+                    @role = 'strong' or
+                    @remap = 'B'">
+      <xsl:apply-templates mode="bold" select="."/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="italic" select="."/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="optional">
+  <xsl:value-of select="$arg.choice.opt.open.str"/>
+  <xsl:apply-templates/>
+  <xsl:value-of select="$arg.choice.opt.close.str"/>
+</xsl:template>
+
+<xsl:template name="do-citerefentry">
+  <xsl:param name="refentrytitle" select="''"/>
+  <xsl:param name="manvolnum" select="''"/>
+  <xsl:variable name="title">
+    <bold><xsl:value-of select="$refentrytitle"/></bold>
+  </xsl:variable>
+  <xsl:apply-templates mode="bold" select="exsl:node-set($title)"/>
+  <xsl:text>(</xsl:text>
+  <xsl:value-of select="$manvolnum"/>
+  <xsl:text>)</xsl:text>
+</xsl:template>
+
+<xsl:template match="citerefentry">
+  <xsl:call-template name="do-citerefentry">
+    <xsl:with-param name="refentrytitle" select="refentrytitle"/>
+    <xsl:with-param name="manvolnum" select="manvolnum"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="trademark|productname">
+  <xsl:apply-templates/>
+  <xsl:choose>
+    <!-- * Just use true Unicode chars for copyright, trademark, etc., -->
+    <!-- * symbols (by default, we later automatically translate them -->
+    <!-- * with the apply-string-subst-map template, or with the -->
+    <!-- * default character map, if man.charmap.enabled is true). -->
+    <xsl:when test="@class = 'copyright'">
+      <xsl:text>&#x00a9;</xsl:text>
+    </xsl:when>
+    <xsl:when test="@class = 'registered'">
+      <xsl:text>&#x00ae;</xsl:text>
+    </xsl:when>
+    <xsl:when test="@class = 'service'">
+      <xsl:text>&#x2120;</xsl:text>
+    </xsl:when>
+    <xsl:when test="@class = 'trade'">
+      <xsl:text>&#x2122;</xsl:text>
+    </xsl:when>
+    <!-- * for Trademark element, render a trademark symbol by default -->
+    <!-- * even if no "class" value is specified -->
+    <xsl:when test="self::trademark" >
+      <xsl:text>&#x2122;</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- * otherwise we have a Productname with no value for the -->
+      <!-- * "class" attribute, so don't render any symbol by default -->
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- * span in seems to sneak through into output sometimes, possibly due -->
+<!-- * to failed Olink processing; so we need to catch it -->
+<xsl:template match="span">
+  <xsl:apply-templates/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/manpages/links.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/links.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/links.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,382 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:ng="http://docbook.org/docbook-ng"
+                xmlns:db="http://docbook.org/ns/docbook"
+                exclude-result-prefixes="db ng exsl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: links.xsl 6524 2007-01-18 15:44:19Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- * -->
+<!-- * This stylesheet: -->
+<!-- * -->
+<!-- * 1. Identifies all "note sources" (link, annotation, alt, and -->
+<!-- *    footnote instances) in a Refentry which do not have the same -->
+<!-- *    "earmark" as any preceding notesource in that same Refentry -->
+<!-- *    (and for notesources that are links, then only those links -->
+<!-- *    whose string value and url attribute value are not identical). -->
+<!-- * -->
+<!-- * 2. Puts a number inline to mark the place where the notesource -->
+<!-- *    occurs in the main text flow. -->
+<!-- * -->
+<!-- * 3. Generates a numbered endnotes list (titled NOTES in -->
+<!-- *    English) at the end of the man page, with the contents of -->
+<!-- *    each notesourcse. -->
+<!-- * -->
+<!-- * Note that table footnotes are not listed in the endnotes list, -->
+<!-- * and are not handled by this stylesheet (they are instead -->
+<!-- * handled by the table.xsl stylesheet). -->
+<!-- * -->
+<!-- * Also, we don't get notesources in *info sections or Refmeta or -->
+<!-- * Refnamediv or Indexterm, because, in manpages output, contents -->
+<!-- * of those are either suppressed or are displayed out of document -->
+<!-- * order - for example, the Info/Author content gets moved to the -->
+<!-- * end of the page. So, if we were to number notesources in the Author -->
+<!-- * content, it would "throw off" the numbering at the beginning of -->
+<!-- * the main text flow. -->
+<!-- * -->
+<!-- * Important: For any notesource whose earmark matches that of a -->
+<!-- * preceding notesource in the same Refentry, we assign it the -->
+<!-- * number of that previous notesource. -->
+<!-- * -->
+<!-- * For links, we check to see if the link is empty OR if its -->
+<!-- * string value is identical to the value of its url attribute; if -->
+<!-- * either of those is true, we just display the value of its url -->
+<!-- * attribute (if the link itself is empty), and stop there. -->
+<!-- * -->
+<!-- * And for the record, one reason we don't use xsl:key to index -->
+<!-- * the notesources is that we need to get and check the sets of -->
+<!-- * notesources for uniqueness per-Refentry (not per-document). -->
+<!-- * -->
+<!-- * FIXME: mediaobject and inlinemediaobject should also be handled -->
+<!-- * as notesources; should change most link* variable names to -->
+<!-- * notesource*; as with "repeat" URLS, alt instances that have the -->
+<!-- * same string value as preceding ones (likely to occur for repeat -->
+<!-- * acroynyms and abbreviations) should be listed only once in -->
+<!-- * the endnotes list, and numbered accordingly inline; split -->
+<!-- * man.indent.width into man.indent.width.value (default 4) and -->
+<!-- * man.indent.width.units (default n); also, if the first child of -->
+<!-- * notesource is some block content other than a (non-formal) -->
+<!-- * paragraph, the current code will probably end up generating a -->
+<!-- * blank line after the corresponding number in the endnotes -->
+<!-- * list... we should probably try to instead display the title of -->
+<!-- * that block content there (if there is one: e.g., the list title, -->
+<!-- * admonition title, etc.) -->
+<!-- * -->
+<!-- ==================================================================== -->
+      
+<xsl:template name="get.all.links.with.unique.urls">
+  <xsl:if test="$man.links.are.numbered != 0">
+    <xsl:for-each select="//refentry">
+      <refentry.link.set>
+        <xsl:attribute name="idref">
+          <xsl:value-of select="generate-id()"/>
+        </xsl:attribute>
+        <xsl:for-each
+            select=".//*[self::ulink
+                    or self::footnote[not(ancestor::table)]
+                    or self::annotation
+                    or self::alt]
+                    [node()
+                    and not(ancestor::refentryinfo)
+                    and not(ancestor::info)
+                    and not(ancestor::docinfo)
+                    and not(ancestor::refmeta)
+                    and not(ancestor::refnamediv)
+                    and not(ancestor::indexterm)
+                    and not(. = @url)
+                    and not(@url =
+                    preceding::ulink[node()
+                    and not(ancestor::refentryinfo)
+                    and not(ancestor::info)
+                    and not(ancestor::docinfo)
+                    and not(ancestor::refmeta)
+                    and not(ancestor::refnamediv)
+                    and not(ancestor::indexterm)
+                    and (generate-id(ancestor::refentry)
+                    = generate-id(current()))]/@url)]">
+          <notesource>
+            <xsl:attribute name="earmark">
+              <xsl:choose>
+                <xsl:when test="@url">
+                  <xsl:value-of select="@url"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="generate-id()"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:attribute>
+            <xsl:copy>
+              <xsl:copy-of select="node()"/>
+            </xsl:copy>
+          </notesource>
+        </xsl:for-each>
+      </refentry.link.set>
+    </xsl:for-each>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="ulink|footnote[not(ancestor::table)]|annotation|alt">
+  <xsl:variable name="get.all.links.with.unique.urls">
+    <xsl:call-template  name="get.all.links.with.unique.urls"/>
+  </xsl:variable>
+  <xsl:variable name="all.links.with.unique.urls"
+                select="exsl:node-set($get.all.links.with.unique.urls)"/>
+  <xsl:variable name="get.links.with.unique.urls">
+    <!-- * get the set of all unique notesources in the ancestor Refentry of -->
+    <!-- * this notesource -->
+    <xsl:copy-of
+        select="$all.links.with.unique.urls/refentry.link.set
+                [@idref = generate-id(current()/ancestor::refentry)]/notesource"/>
+  </xsl:variable>
+  <xsl:variable name="links.with.unique.urls"
+                select="exsl:node-set($get.links.with.unique.urls)"/>
+  <!-- * Identify the "earmark" for this notesource -->
+  <xsl:variable name="earmark">
+    <xsl:choose>
+      <xsl:when test="@url">
+        <xsl:value-of select="@url"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="generate-id()"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <!-- * for links, $notesource is either the link contents (if the -->
+  <!-- * link is non-empty) or the "earmark" URL (if the link is empty) -->
+  <xsl:variable name="notesource">
+    <xsl:choose>
+      <!-- * check to see if the element is empty or not; if it's -->
+      <!-- * non-empty, get the content -->
+      <xsl:when test="node()">
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * Otherwise this is an empty link, so we just get the -->
+        <!-- * value of its URL; note that we don't number empty links -->
+        <!-- * -->
+        <!-- * Add hyphenation suppression in URL output only if -->
+        <!-- * break.after.slash is also non-zero -->
+        <xsl:if test="$man.hyphenate.urls = 0 and
+                      $man.break.after.slash = 0">
+          <xsl:call-template name="suppress.hyphenation"/>
+          <xsl:text>&#x2593;%</xsl:text>
+        </xsl:if>
+        <xsl:value-of select="$earmark"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:if test="self::ulink">
+  <xsl:choose>
+    <!-- * if user wants links underlined, underline (ital) it -->
+    <xsl:when test="$man.links.are.underlined != 0">
+      <xsl:variable name="link.wrapper">
+        <italic><xsl:value-of select="$notesource"/></italic>
+      </xsl:variable>
+      <xsl:apply-templates mode="italic" select="exsl:node-set($link.wrapper)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- * user doesn't want links underlined, so just display content -->
+      <xsl:value-of select="$notesource"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  </xsl:if>
+  <!-- * If link is non-empty AND its string value is not equal to the -->
+  <!-- * value of its url attribute AND user wants notesources numbered, -->
+  <!-- * then output a number for it -->
+  <xsl:if test="node() and not(. = @url) and $man.links.are.numbered != 0">
+    <!-- * We number notesources by checking the $links.with.unique.urls -->
+    <!-- * set and finding the notesource whose earmark matches the -->
+    <!-- * earmark for this notesource. -->
+    <!-- * -->
+    <!-- * If this is the only instance in this Refentry of a notesource -->
+    <!-- * with this earmark, then it gets a unique number. -->
+    <!-- * -->
+    <!-- * But if this is a notesource for which there are multiple -->
+    <!-- * instances of notesources in this Refentry that have the same -->
+    <!-- * earmark as this notesource, then the number assigned is the -->
+    <!-- * number of the _first_ instance of a notesource in this -->
+    <!-- * Refentry with the earmark for this notesource (which be the -->
+    <!-- * number of this notesource itself, if it happens to be the -->
+    <!-- * first instance). -->
+    <xsl:variable name="notesource.number">
+      <xsl:apply-templates
+          select="$links.with.unique.urls/notesource[@earmark = $earmark][1]"
+          mode="notesource.number"/>
+    </xsl:variable>
+    <!-- * Format the number by placing it in square brackets. FIXME: -->
+    <!-- * This formatting should probably be made user-configurable, -->
+    <!-- * to allow something other than just square brackets; e.g., -->
+    <!-- * Angle brackets<10> or Braces{10}  -->
+    <xsl:text>&#x2593;&amp;[</xsl:text>
+    <xsl:value-of select="$notesource.number"/>
+    <xsl:text>]</xsl:text>
+    <!-- * Note that the reason for the \& before the opening bracket -->
+    <!-- * is to prevent any possible linebreak from being introduced -->
+    <!-- * between the opening bracket and the following text. -->
+  </xsl:if>
+  </xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="notesource.number">
+  <xsl:value-of select="count(preceding::*[(self::ulink
+                        or self::footnote[not(ancestor::table)]
+                        or self::annotation
+                        or self::alt)
+                        and node()
+                        and not(ancestor::refentryinfo)
+                        and not(ancestor::info)
+                        and not(ancestor::docinfo)
+                        and not(ancestor::refmeta)
+                        and not(ancestor::refnamediv)
+                        and not(ancestor::indexterm)
+                        and not(. = @url)
+                        and not(@url =
+                        preceding::ulink[node()
+                        and not(ancestor::refentryinfo)
+                        and not(ancestor::info)
+                        and not(ancestor::docinfo)
+                        and not(ancestor::refmeta)
+                        and not(ancestor::refnamediv)
+                        and not(ancestor::indexterm)
+                        and (generate-id(ancestor::refentry)
+                        = generate-id(current()/ancestor::refentry))]/@url)]
+                        [generate-id(ancestor::refentry)
+                        = generate-id(current()/ancestor::refentry)]) + 1"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="endnotes.list">
+  <xsl:variable name="notesources"
+                select=".//*[(self::ulink
+                  or self::footnote[not(ancestor::table)]
+                  or self::annotation
+                  or self::alt)
+                  and node()
+                  and not(ancestor::refentryinfo)
+                  and not(ancestor::info)
+                  and not(ancestor::docinfo)
+                  and not(ancestor::refmeta)
+                  and not(ancestor::refnamediv)
+                  and not(ancestor::indexterm)
+                  and not(. = @url)
+                  and not(@url =
+                  preceding::ulink[node()
+                  and not(ancestor::refentryinfo)
+                  and not(ancestor::info)
+                  and not(ancestor::docinfo)
+                  and not(ancestor::refmeta)
+                  and not(ancestor::refnamediv)
+                  and not(ancestor::indexterm)
+                  and (generate-id(ancestor::refentry)
+                  = generate-id(current()))]/@url)]"/>
+  <!-- * check to see if we have actually found any notesources; if we -->
+  <!-- * have, we generate the endnotes list, if not, we do nothing -->
+  <xsl:if test="$notesources/node()">
+    <xsl:call-template name="format.endnotes.list">
+      <xsl:with-param name="notesources" select="$notesources"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="format.endnotes.list">
+  <xsl:param name="notesources"/>
+  <xsl:call-template name="mark.subheading"/>
+  <!-- * make the endnotes-list section heading -->
+  <xsl:text>&#x2302;SH "</xsl:text>
+  <xsl:call-template name="string.upper">
+    <xsl:with-param name="string">
+      <xsl:choose>
+        <!-- * if user has specified a heading, use that -->
+        <xsl:when test="$man.links.list.heading != ''">
+          <xsl:value-of select="$man.links.list.heading"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <!-- * otherwise, get localized heading from gentext -->
+          <!-- * (in English, NOTES) -->
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'References'"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+  </xsl:call-template>
+  <xsl:text>"&#10;</xsl:text>
+  <xsl:for-each select="$notesources">
+    <!-- * make paragraph with hanging indent, and starting with a -->
+    <!-- * number in the form " 1." (padded to $man.indent.width - 1) -->
+    <xsl:text>&#x2302;IP</xsl:text>
+    <xsl:text> "</xsl:text>
+    <xsl:variable name="endnote.number">
+      <xsl:apply-templates select="." mode="notesource.number"/>
+      <xsl:text>.</xsl:text>
+    </xsl:variable>
+    <xsl:call-template name="prepend-pad">
+      <xsl:with-param name="padVar" select="$endnote.number"/>
+      <!-- FIXME: the following assumes that $man.indent.width is in -->
+      <!-- en's; also, this should probably use $list.indent instead -->
+      <xsl:with-param name="length" select="$man.indent.width - 1"/>
+    </xsl:call-template>
+    <xsl:text>"</xsl:text>
+    <xsl:if test="not($list-indent = '')">
+      <xsl:text> </xsl:text>
+      <xsl:value-of select="$list-indent"/>
+    </xsl:if>
+    <xsl:text>&#10;</xsl:text>
+    <!-- * Print the endnote contents -->
+    <!-- * -->
+    <!-- * IMPORTANT: If there are multiple notesources in this Refentry -->
+    <!-- * with the same earmark, this gets the contents of the first -->
+    <!-- * instance of the notesource in this Refentry with that earmark -->
+    <xsl:choose>
+      <xsl:when test="self::ulink">
+        <xsl:variable name="contents">
+          <xsl:apply-templates/>
+        </xsl:variable>
+        <xsl:value-of select="normalize-space($contents)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:text>&#10;</xsl:text> 
+    <xsl:if test="@url">
+      <xsl:text>&#x2302;RS</xsl:text>
+      <xsl:if test="not($list-indent = '')">
+        <xsl:text> </xsl:text>
+        <xsl:value-of select="$list-indent"/>
+      </xsl:if>
+      <xsl:text>&#10;</xsl:text>
+      <!-- * This is a link, so print its URL. -->
+      <!-- * Add hyphenation suppression in URL output only if -->
+      <!-- * $break.after.slash is also non-zero -->
+      <xsl:if test="$man.hyphenate.urls = 0
+                    and $man.break.after.slash = 0">
+        <xsl:call-template name="suppress.hyphenation"/>
+        <xsl:text>&#x2593;%</xsl:text>
+      </xsl:if>
+      <xsl:value-of select="@url"/>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:text>&#x2302;RE</xsl:text>
+      <xsl:text>&#10;</xsl:text>
+    </xsl:if>
+  </xsl:for-each>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/manpages/lists.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/lists.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/lists.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,363 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: lists.xsl 6524 2007-01-18 15:44:19Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<xsl:variable name="list-indent">
+  <xsl:choose>
+    <xsl:when test="not($man.indent.lists = 0)">
+      <xsl:value-of select="$man.indent.width"/>
+    </xsl:when>
+    <xsl:when test="not($man.indent.refsect = 0)">
+      <!-- * "zq" is the name of a register we set for -->
+      <!-- * preserving the original default indent value -->
+      <!-- * when $man.indent.refsect is non-zero; -->
+      <!-- * "u" is a roff unit specifier -->
+      <xsl:text>&#x2593;n(zqu</xsl:text>
+    </xsl:when>
+    <xsl:otherwise/> <!-- * otherwise, just leave it empty -->
+  </xsl:choose>
+</xsl:variable>
+
+<!-- ================================================================== -->
+
+<xsl:template match="para[ancestor::listitem or ancestor::step or ancestor::glossdef]|
+	             simpara[ancestor::listitem or ancestor::step or ancestor::glossdef]|
+		     remark[ancestor::listitem or ancestor::step or ancestor::glossdef]">
+  <xsl:call-template name="mixed-block"/>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:if test="following-sibling::*[1][
+                self::para or
+                self::simpara or
+                self::remark
+                ]">
+    <!-- * Make sure multiple paragraphs within a list item don't -->
+    <!-- * merge together.                                        -->
+    <xsl:text>&#x2302;sp&#10;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="variablelist|glosslist">
+  <xsl:if test="title">
+    <xsl:text>&#x2302;PP&#10;</xsl:text>
+    <xsl:apply-templates mode="bold" select="title"/>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:if>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="varlistentry|glossentry">
+  <xsl:text>&#x2302;PP&#10;</xsl:text> 
+  <xsl:for-each select="term|glossterm">
+    <xsl:variable name="content">
+      <xsl:apply-templates/>
+    </xsl:variable>
+    <xsl:value-of select="normalize-space($content)"/>
+    <xsl:choose>
+      <xsl:when test="position() = last()"/> <!-- do nothing -->
+      <xsl:otherwise>
+        <!-- * if we have multiple terms in the same varlistentry, generate -->
+        <!-- * a separator (", " by default) and/or an additional line -->
+        <!-- * break after each one except the last -->
+        <!-- * -->
+        <!-- * note that it is not valid to have multiple glossterms -->
+        <!-- * within a glossentry, so this logic never gets exercised -->
+        <!-- * for glossterms (every glossterm is always the last in -->
+        <!-- * its parent glossentry) -->
+        <xsl:value-of select="$variablelist.term.separator"/>
+        <xsl:if test="not($variablelist.term.break.after = '0')">
+          <xsl:text>&#10;</xsl:text>
+          <xsl:text>&#x2302;br&#10;</xsl:text>
+        </xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:for-each>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:text>&#x2302;RS</xsl:text> 
+  <xsl:if test="not($list-indent = '')">
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="$list-indent"/>
+  </xsl:if>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>&#x2302;RE&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="varlistentry/term"/>
+<xsl:template match="glossentry/glossterm"/>
+
+<xsl:template match="variablelist[ancestor::listitem or ancestor::step or ancestor::glossdef]|
+                     glosslist[ancestor::listitem or ancestor::step or ancestor::glossdef]">
+  <xsl:text>&#10;</xsl:text>
+  <xsl:text>&#x2302;RS</xsl:text> 
+  <xsl:if test="not($list-indent = '')">
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="$list-indent"/>
+  </xsl:if>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>&#x2302;RE&#10;</xsl:text>
+  <xsl:if test="following-sibling::node() or
+                parent::para[following-sibling::node()] or
+                parent::simpara[following-sibling::node()] or
+                parent::remark[following-sibling::node()]">
+    <xsl:text>&#x2302;IP ""</xsl:text> 
+    <xsl:if test="not($list-indent = '')">
+      <xsl:text> </xsl:text>
+      <xsl:value-of select="$list-indent"/>
+    </xsl:if>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="varlistentry/listitem|glossentry/glossdef">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="itemizedlist/listitem">
+  <!-- * We output a real bullet here (rather than, "\(bu", -->
+  <!-- * the roff bullet) because, when we do character-map -->
+  <!-- * processing before final output, the character-map will -->
+  <!-- * handle conversion of the &#x2022; to "\(bu" for us -->
+  <xsl:text>&#10;</xsl:text>
+  <xsl:text>&#x2302;RS</xsl:text>
+  <xsl:if test="not($list-indent = '')">
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="$list-indent"/>
+  </xsl:if>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:text>&#x2593;h'&#x2591;</xsl:text>
+    <xsl:if test="not($list-indent = '')">
+    <xsl:text>0</xsl:text>
+    <xsl:value-of select="$list-indent"/>
+  </xsl:if>
+  <xsl:text>'</xsl:text>
+  <xsl:text>&#x2022;</xsl:text>
+  <xsl:text>&#x2593;h'+</xsl:text>
+    <xsl:if test="not($list-indent = '')">
+    <xsl:text>0</xsl:text>
+    <xsl:value-of select="$list-indent - 1"/>
+  <xsl:text>'</xsl:text>
+  </xsl:if>
+  <xsl:apply-templates/>
+  <xsl:text>&#x2302;RE&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="orderedlist/listitem|procedure/step">
+  <xsl:text>&#10;</xsl:text>
+  <xsl:text>&#x2302;RS</xsl:text>
+  <xsl:if test="not($list-indent = '')">
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="$list-indent"/>
+  </xsl:if>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:text>&#x2593;h'&#x2591;</xsl:text>
+    <xsl:if test="not($list-indent = '')">
+    <xsl:text>0</xsl:text>
+    <xsl:value-of select="$list-indent"/>
+  </xsl:if>
+  <xsl:text>'</xsl:text>
+  <xsl:if test="count(preceding-sibling::listitem) &lt; 9">
+    <xsl:text> </xsl:text>
+  </xsl:if>
+  <xsl:number format="1."/>
+  <xsl:text>&#x2593;h'+</xsl:text>
+    <xsl:if test="not($list-indent = '')">
+    <xsl:text>0</xsl:text>
+    <xsl:value-of select="$list-indent - 2"/>
+  <xsl:text>'</xsl:text>
+  </xsl:if>
+  <xsl:apply-templates/>
+  <xsl:text>&#x2302;RE&#10;</xsl:text>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="itemizedlist|orderedlist|procedure">
+  <xsl:if test="title">
+    <xsl:text>&#x2302;PP&#10;</xsl:text>
+    <xsl:apply-templates mode="bold" select="title"/>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:if>
+  <!-- * DocBook allows just about any block content to appear in -->
+  <!-- * lists before the actual list items, so we need to get that -->
+  <!-- * content (if any) before getting the list items -->
+  <xsl:apply-templates
+      select="*[not(self::listitem) and not(self::title)]"/>
+  <xsl:apply-templates select="listitem"/>
+  <!-- * If this list is a child of para and has content following -->
+  <!-- * it, within the same para, then add a blank line and move -->
+  <!-- * the left margin back to where it was -->
+  <xsl:if test="parent::para and following-sibling::node()">
+    <xsl:text>&#x2302;sp&#10;</xsl:text>
+    <xsl:text>&#x2302;RE&#10;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="itemizedlist[ancestor::listitem or ancestor::step  or ancestor::glossdef]|
+	             orderedlist[ancestor::listitem or ancestor::step or ancestor::glossdef]|
+                     procedure[ancestor::listitem or ancestor::step or ancestor::glossdef]">
+  <xsl:if test="title">
+    <xsl:text>&#x2302;PP&#10;</xsl:text>
+    <xsl:apply-templates mode="bold" select="title"/>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:if>
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::node() or
+                parent::para[following-sibling::node()] or
+                parent::simpara[following-sibling::node()] or
+                parent::remark[following-sibling::node()]">
+    <xsl:text>&#x2302;IP ""</xsl:text> 
+    <xsl:if test="not($list-indent = '')">
+      <xsl:text> </xsl:text>
+      <xsl:value-of select="$list-indent"/>
+    </xsl:if>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<!-- ================================================================== -->
+  
+<!-- * for simplelist type="inline", render it as a comma-separated list -->
+<xsl:template match="simplelist[@type='inline']">
+
+  <!-- * if dbchoice PI exists, use that to determine the choice separator -->
+  <!-- * (that is, equivalent of "and" or "or" in current locale), or literal -->
+  <!-- * value of "choice" otherwise -->
+  <xsl:variable name="localized-choice-separator">
+    <xsl:choose>
+      <xsl:when test="processing-instruction('dbchoice')">
+	<xsl:call-template name="select.choice.separator"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<!-- * empty -->
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:for-each select="member">
+    <xsl:apply-templates/>
+    <xsl:choose>
+      <xsl:when test="position() = last()"/> <!-- do nothing -->
+      <xsl:otherwise>
+	<xsl:text>, </xsl:text>
+	<xsl:if test="position() = last() - 1">
+	  <xsl:if test="$localized-choice-separator != ''">
+	    <xsl:value-of select="$localized-choice-separator"/>
+	    <xsl:text> </xsl:text>
+	  </xsl:if>
+	</xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:for-each>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<!-- * if simplelist type is not inline, render it as a one-column vertical -->
+<!-- * list (ignoring the values of the type and columns attributes) -->
+<xsl:template match="simplelist">
+  <xsl:for-each select="member">
+    <xsl:text>&#x2302;IP ""</xsl:text> 
+    <xsl:if test="not($list-indent = '')">
+      <xsl:text> </xsl:text>
+      <xsl:value-of select="$list-indent"/>
+    </xsl:if>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:apply-templates/>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:for-each>
+</xsl:template>
+
+<!-- ================================================================== -->
+
+<!-- * We output Segmentedlist as a table, using tbl(1) markup. There -->
+<!-- * is no option for outputting it in manpages in "list" form. -->
+<xsl:template match="segmentedlist">
+  <xsl:if test="title">
+    <xsl:text>&#x2302;PP&#10;</xsl:text>
+    <xsl:apply-templates mode="bold" select="title"/>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:if>
+  <xsl:text>&#x2302;&#x2593;" line length increase to cope w/ tbl weirdness&#10;</xsl:text>
+  <xsl:text>&#x2302;ll +(&#x2593;n(LLu * 62u / 100u)&#10;</xsl:text>
+  <!-- * .TS = "Table Start" -->
+  <xsl:text>&#x2302;TS&#10;</xsl:text>
+    <!-- * first output the table "format" spec, which tells tbl(1) how -->
+    <!-- * how to format each row and column. -->
+  <xsl:for-each select=".//segtitle">
+    <!-- * l = "left", which hard-codes left-alignment for tabular -->
+    <!-- * output of all segmentedlist content -->
+    <xsl:text>l</xsl:text>
+  </xsl:for-each>
+  <!-- * last line of table format section must end with a dot -->
+  <xsl:text>&#x2302;&#10;</xsl:text>
+  <!-- * optionally suppress output of segtitle -->
+  <xsl:choose>
+    <xsl:when test="$man.segtitle.suppress != 0">
+      <!-- * non-zero = "suppress", so do nothing -->
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- * "0" = "do not suppress", so output the segtitle(s) -->
+      <xsl:apply-templates select=".//segtitle" mode="table-title"/>
+      <xsl:text>&#10;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:apply-templates/>
+  <!-- * .TE = "Table End" -->
+  <xsl:text>&#x2302;TE&#10;</xsl:text>
+  <xsl:text>&#x2302;&#x2593;" line length decrease back to previous value&#10;</xsl:text>
+  <xsl:text>&#x2302;ll &#x2591;(&#x2593;n(LLu * 62u / 100u)&#10;</xsl:text>
+  <!-- * put a blank line of space below the table -->
+  <xsl:text>&#x2302;sp&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="segmentedlist/segtitle" mode="table-title">
+  <!-- * italic makes titles stand out more reliably than bold (because -->
+  <!-- * some consoles do not actually support rendering of bold -->
+  <xsl:apply-templates mode="italic" select="."/>
+  <xsl:choose>
+      <xsl:when test="position() = last()"/> <!-- do nothing -->
+      <xsl:otherwise>
+        <!-- * tbl(1) treats tab characters as delimiters between -->
+        <!-- * cells; so we need to output a tab after each except -->
+        <!-- * segtitle except the last one -->
+        <xsl:text>&#09;</xsl:text>
+      </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="segmentedlist/seglistitem">
+  <xsl:apply-templates/>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="segmentedlist/seglistitem/seg">
+  <!-- * the “T{" and “T}” stuff are delimiters to tell tbl(1) that -->
+  <!-- * the delimited contents are "text blocks" that groff(1) -->
+  <!-- * needs to process -->
+  <xsl:text>T{&#10;</xsl:text>
+  <xsl:variable name="contents">
+    <xsl:apply-templates/>
+  </xsl:variable>
+  <xsl:value-of select="normalize-space($contents)"/>
+  <xsl:text>&#10;T}</xsl:text>
+  <xsl:choose>
+    <xsl:when test="position() = last()"/> <!-- do nothing -->
+    <xsl:otherwise>
+      <!-- * tbl(1) treats tab characters as delimiters between -->
+      <!-- * cells; so we need to output a tab after each except -->
+      <!-- * segtitle except the last one -->
+      <xsl:text>&#09;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/manpages/other.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/other.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/other.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,556 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:db="http://docbook.org/ns/docbook"
+                exclude-result-prefixes="exsl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: other.xsl 6536 2007-01-21 08:37:12Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<!-- * This file contains named templates related to things other than -->
+<!-- * just assembling the actual text of the main text flow of each man -->
+<!-- * page. This "other" stuff currently amounts to these steps: -->
+<!-- * -->
+<!-- *  - output boilerplate messages -->
+<!-- *  - add a comment to top part of roff source of each page -->
+<!-- *  - make a .TH title line (for controlling page header/footer) -->
+<!-- *  - set hyphenation, alignment, indent & line-breaking defaults -->
+<!-- *  - "prepare" the complete man page contents for final output -->
+<!-- *  - write the actual man file to the filesystem -->
+<!-- *  - write any "stub" pages to the filesystem -->
+<!-- * -->
+<!-- * The templates in this file are actually called only once per -->
+<!-- * each Refentry; they are just in a separate file for the purpose -->
+<!-- * of keeping things modular. -->
+
+<!-- ==================================================================== -->
+
+<xsl:preserve-space elements="*"/>
+
+<xsl:strip-space elements="
+abstract affiliation anchor answer appendix area areaset areaspec
+artheader article audiodata audioobject author authorblurb authorgroup
+beginpage bibliodiv biblioentry bibliography biblioset blockquote book
+bookbiblio bookinfo callout calloutlist caption caution chapter
+citerefentry cmdsynopsis co collab colophon colspec confgroup
+copyright dedication docinfo editor entrytbl epigraph equation
+example figure footnote footnoteref formalpara funcprototype
+funcsynopsis glossary glossdef glossdiv glossentry glosslist graphicco
+group highlights imagedata imageobject imageobjectco important index
+indexdiv indexentry indexterm informalequation informalexample
+informalfigure informaltable inlineequation inlinemediaobject
+itemizedlist itermset keycombo keywordset legalnotice listitem lot
+mediaobject mediaobjectco menuchoice msg msgentry msgexplan msginfo
+msgmain msgrel msgset msgsub msgtext note objectinfo
+orderedlist othercredit part partintro preface printhistory procedure
+programlistingco publisher qandadiv qandaentry qandaset question
+refentry reference refmeta refnamediv refsection refsect1 refsect1info refsect2
+refsect2info refsect3 refsect3info refsynopsisdiv refsynopsisdivinfo
+revhistory revision row sbr screenco screenshot sect1 sect1info sect2
+sect2info sect3 sect3info sect4 sect4info sect5 sect5info section
+sectioninfo seglistitem segmentedlist seriesinfo set setindex setinfo
+shortcut sidebar simplelist simplesect spanspec step subject
+subjectset substeps synopfragment table tbody textobject tfoot tgroup
+thead tip toc tocchap toclevel1 toclevel2 toclevel3 toclevel4
+toclevel5 tocpart varargs variablelist varlistentry videodata
+videoobject void warning subjectset
+
+classsynopsis
+constructorsynopsis
+destructorsynopsis
+fieldsynopsis
+methodparam
+methodsynopsis
+ooclass
+ooexception
+oointerface
+simplemsgentry
+manvolnum
+
+db:abstract db:affiliation db:anchor db:answer db:appendix db:area db:areaset db:areaspec
+db:artheader db:article db:audiodata db:audioobject db:author db:authorblurb db:authorgroup
+db:beginpage db:bibliodiv db:biblioentry db:bibliography db:biblioset db:blockquote db:book
+db:bookbiblio db:bookinfo db:callout db:calloutlist db:caption db:caution db:chapter
+db:citerefentry db:cmdsynopsis db:co db:collab db:colophon db:colspec db:confgroup
+db:copyright db:dedication db:docinfo db:editor db:entrytbl db:epigraph db:equation
+db:example db:figure db:footnote db:footnoteref db:formalpara db:funcprototype
+db:funcsynopsis db:glossary db:glossdef db:glossdiv db:glossentry db:glosslist db:graphicco
+db:group db:highlights db:imagedata db:imageobject db:imageobjectco db:important db:index
+db:indexdiv db:indexentry db:indexterm db:informalequation db:informalexample
+db:informalfigure db:informaltable db:inlineequation db:inlinemediaobject
+db:itemizedlist db:itermset db:keycombo db:keywordset db:legalnotice db:listitem db:lot
+db:mediaobject db:mediaobjectco db:menuchoice db:msg db:msgentry db:msgexplan db:msginfo
+db:msgmain db:msgrel db:msgset db:msgsub db:msgtext db:note db:objectinfo
+db:orderedlist db:othercredit db:part db:partintro db:preface db:printhistory db:procedure
+db:programlistingco db:publisher db:qandadiv db:qandaentry db:qandaset db:question
+db:refentry db:reference db:refmeta db:refnamediv db:refsection db:refsect1 db:refsect1info
+db:refsect2
+db:refsect2info db:refsect3 db:refsect3info db:refsynopsisdiv db:refsynopsisdivinfo
+db:revhistory db:revision db:row db:sbr db:screenco db:screenshot db:sect1 db:sect1info db:sect2
+db:sect2info db:sect3 db:sect3info db:sect4 db:sect4info db:sect5 db:sect5info db:section
+db:sectioninfo db:seglistitem db:segmentedlist db:seriesinfo db:set db:setindex db:setinfo
+db:shortcut db:sidebar db:simplelist db:simplesect db:spanspec db:step db:subject
+db:subjectset db:substeps db:synopfragment db:table db:tbody db:textobject db:tfoot db:tgroup
+db:thead db:tip db:toc db:tocchap db:toclevel1 db:toclevel2 db:toclevel3 db:toclevel4
+db:toclevel5 db:tocpart db:varargs db:variablelist db:varlistentry db:videodata
+db:videoobject db:void db:warning db:subjectset
+
+db:classsynopsis
+db:constructorsynopsis
+db:destructorsynopsis
+db:fieldsynopsis
+db:methodparam
+db:methodsynopsis
+db:ooclass
+db:ooexception
+db:oointerface
+db:simplemsgentry
+db:manvolnum
+"/>
+
+<!-- ==================================================================== -->
+<!-- * Get character map contents -->
+<!-- ==================================================================== -->
+
+  <xsl:variable name="man.charmap.contents">
+    <xsl:if test="$man.charmap.enabled != 0">
+      <xsl:call-template name="read-character-map">
+        <xsl:with-param name="use.subset" select="$man.charmap.use.subset"/>
+        <xsl:with-param name="subset.profile" select="$man.charmap.subset.profile"/>
+        <xsl:with-param name="uri">
+          <xsl:choose>
+            <xsl:when test="$man.charmap.uri != ''">
+              <xsl:value-of select="$man.charmap.uri"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="'../manpages/charmap.groff.xsl'"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="root.messages">
+  <xsl:param name="refname"/>
+  <!-- redefine this any way you'd like to output messages -->
+  <!-- DO NOT OUTPUT ANYTHING FROM THIS TEMPLATE -->
+  <!--
+  <xsl:if test="//footnote">
+    <xsl:call-template name="log.message">
+      <xsl:with-param name="level">Warn</xsl:with-param>
+      <xsl:with-param name="source" select="$refname"/>
+      <xsl:with-param
+          name="message"
+          >Output for footnote element is not yet supported.</xsl:with-param>
+    </xsl:call-template>
+  </xsl:if>
+  -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- * top.comment generates a comment containing metadata for the man -->
+<!-- * page; for example, Author, Generator, and Date information -->
+
+  <xsl:template name="top.comment">
+    <xsl:param name="info"/>
+    <xsl:param name="date"/>
+    <xsl:param name="title"/>
+    <xsl:param name="manual"/>
+    <xsl:param name="source"/>
+    <xsl:text>&#x2302;&#x2593;"     Title: </xsl:text>
+    <xsl:call-template name="replace.dots.and.dashes">
+      <xsl:with-param name="content" select="$title"/>
+    </xsl:call-template>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:text>&#x2302;&#x2593;"    Author: </xsl:text>
+    <xsl:call-template name="replace.dots.and.dashes">
+      <xsl:with-param name="content">
+        <xsl:call-template name="make.roff.metadata.author">
+          <xsl:with-param name="info" select="$info"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:text>&#x2302;&#x2593;" Generator: DocBook </xsl:text>
+    <xsl:value-of select="$DistroTitle"/>
+    <xsl:text> v</xsl:text>
+    <xsl:call-template name="replace.dots.and.dashes">
+      <xsl:with-param name="content" select="$VERSION"/>
+    </xsl:call-template>
+    <xsl:text> &lt;http://docbook&#x2302;sf&#x2302;net/></xsl:text>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:text>&#x2302;&#x2593;"      Date: </xsl:text>
+    <xsl:call-template name="replace.dots.and.dashes">
+      <xsl:with-param name="content" select="$date"/>
+    </xsl:call-template>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:text>&#x2302;&#x2593;"    Manual: </xsl:text>
+    <xsl:call-template name="replace.dots.and.dashes">
+      <xsl:with-param name="content" select="$manual"/>
+    </xsl:call-template>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:text>&#x2302;&#x2593;"    Source: </xsl:text>
+    <xsl:call-template name="replace.dots.and.dashes">
+      <xsl:with-param name="content" select="$source"/>
+    </xsl:call-template>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:text>&#x2302;&#x2593;"</xsl:text>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:template>
+
+<!-- ==================================================================== -->
+
+  <xsl:template name="TH.title.line">
+
+    <!-- * The exact way that .TH contents are displayed is system- -->
+    <!-- * dependent; it varies somewhat between OSes and roff -->
+    <!-- * versions. Below is a description of how Linux systems with -->
+    <!-- * a modern groff seem to render .TH contents. -->
+    <!-- * -->
+    <!-- *   title(section)  extra3  title(section)  <- page header -->
+    <!-- *   extra2          extra1  title(section)  <- page footer-->
+    <!-- * -->
+    <!-- * Or, using the names with which the man(7) man page refers -->
+    <!-- * to the various fields: -->
+    <!-- * -->
+    <!-- *   title(section)  manual  title(section)  <- page header -->
+    <!-- *   source          date    title(section)  <- page footer-->
+    <!-- * -->
+    <!-- * Note that while extra1, extra2, and extra3 are all (nominally) -->
+    <!-- * optional, in practice almost all pages include an "extra1" -->
+    <!-- * field, which is, universally, a date (in some form), and it is -->
+    <!-- * always rendered in the same place (the middle footer position) -->
+    <!-- * -->
+    <!-- * Here are a couple of examples of real-world man pages that -->
+    <!-- * have somewhat useful page headers/footers: -->
+    <!-- * -->
+    <!-- *   gtk-options(7)    GTK+ User's Manual   gtk-options(7) -->
+    <!-- *   GTK+ 1.2              2003-10-20       gtk-options(7) -->
+    <!-- * -->
+    <!-- *   svgalib(7)       Svgalib User Manual       svgalib(7) -->
+    <!-- *   Svgalib 1.4.1      16 December 1999        svgalib(7) -->
+    <!-- * -->
+    <xsl:param name="title"/>
+    <xsl:param name="section"/>
+    <xsl:param name="extra1"/>
+    <xsl:param name="extra2"/>
+    <xsl:param name="extra3"/>
+
+    <xsl:call-template name="mark.subheading"/>
+    <!-- * Note that we generate quotes around _every_ field in the -->
+    <!-- * .TH title line, including the "title" and "section" -->
+    <!-- * fields. That is because we use the contents of those "as -->
+    <!-- * is", unchanged from the DocBook source; and DTD-based -->
+    <!-- * validation does not provide a way to constrain them to be -->
+    <!-- * "space free" -->
+    <xsl:text>&#x2302;TH "</xsl:text>
+    <xsl:call-template name="string.upper">
+      <xsl:with-param name="string">
+        <xsl:choose>
+          <xsl:when test="$man.th.title.max.length != ''">
+            <xsl:value-of
+                select="normalize-space(substring($title, 1, $man.th.title.max.length))"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="normalize-space($title)"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:text>" "</xsl:text>
+    <xsl:value-of select="normalize-space($section)"/>
+    <xsl:text>" "</xsl:text>
+    <xsl:if test="$man.th.extra1.suppress = 0">
+      <!-- * there is no max.length for the extra1 field; the reason -->
+      <!-- * is, it is almost always a date, and it is not possible -->
+      <!-- * to truncate dates without changing their meaning -->
+      <xsl:value-of select="normalize-space($extra1)"/>
+    </xsl:if>
+    <xsl:text>" "</xsl:text>
+    <xsl:if test="$man.th.extra2.suppress = 0">
+      <xsl:choose>
+        <!-- * if max.length is non-empty, use value to truncate field -->
+        <xsl:when test="$man.th.extra2.max.length != ''">
+          <xsl:value-of
+              select="normalize-space(substring($extra2, 1, $man.th.extra2.max.length))"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="normalize-space($extra2)"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+    <xsl:text>" "</xsl:text>
+    <xsl:if test="$man.th.extra3.suppress = 0">
+      <xsl:choose>
+        <!-- * if max.length is non-empty, use value to truncate field -->
+        <xsl:when test="$man.th.extra3.max.length != ''">
+          <xsl:value-of
+              select="normalize-space(substring($extra3, 1, $man.th.extra3.max.length))"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="normalize-space($extra3)"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+    <xsl:text>"&#10;</xsl:text>
+    <xsl:call-template name="mark.subheading"/>
+  </xsl:template>
+
+  <!-- ============================================================== -->
+
+  <xsl:template name="set.default.formatting">
+    <!-- * Set default hyphenation, justification, indentation and -->
+    <!-- * line-breaking -->
+    <!-- * -->
+    <!-- * If the value of man.hypenate is zero (the default), then -->
+    <!-- * disable hyphenation (".nh" = "no hyphenation") -->
+    <xsl:if test="$man.hyphenate = 0">
+      <xsl:text>&#x2302;&#x2593;" disable hyphenation&#10;</xsl:text>
+      <xsl:text>&#x2302;nh&#10;</xsl:text>
+    </xsl:if>
+    <!-- * If the value of man.justify is zero (the default), then -->
+    <!-- * disable justification (".ad l" means "adjust to left only") -->
+    <xsl:if test="$man.justify = 0">
+      <xsl:text>&#x2302;&#x2593;" disable justification</xsl:text>
+      <xsl:text> (adjust text to left margin only)&#10;</xsl:text>
+      <xsl:text>&#x2302;ad l&#10;</xsl:text>
+    </xsl:if>
+    <xsl:if test="not($man.indent.refsect = 0)">
+      <xsl:text>&#x2302;&#x2593;" store initial "default indentation value"&#10;</xsl:text>
+      <xsl:text>&#x2302;nr zq &#x2593;n(IN&#10;</xsl:text>
+      <xsl:text>&#x2302;&#x2593;" adjust default indentation&#10;</xsl:text>
+      <xsl:text>&#x2302;nr IN </xsl:text>
+      <xsl:value-of select="$man.indent.width"/>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:text>&#x2302;&#x2593;" adjust indentation of SS headings&#10;</xsl:text>
+      <xsl:text>&#x2302;nr SN &#x2593;n(IN&#10;</xsl:text>
+    </xsl:if>
+    <!-- * Unless the value of man.break.after.slash is zero (the -->
+    <!-- * default), tell groff that it is OK to break a line -->
+    <!-- * after a slash when needed. -->
+    <xsl:if test="$man.break.after.slash != 0">
+      <xsl:text>&#x2302;&#x2593;" enable line breaks after slashes&#10;</xsl:text>
+      <xsl:text>&#x2302;cflags 4 /&#10;</xsl:text>
+    </xsl:if>
+  </xsl:template>
+
+  <!-- ================================================================== -->
+
+  <!-- * The prepare.manpage.contents template is called after all -->
+  <!-- * other processing has been done, before serializing the -->
+  <!-- * result of all the other processing. It basically works on -->
+  <!-- * the result as one big string. -->
+  <xsl:template name="prepare.manpage.contents">
+    <xsl:param name="content" select="''"/>
+
+    <!-- * If user has provided a "local" string-substitution map to -->
+    <!-- * be applied /before/ the standard string-substitution map, -->
+    <!-- * apply it. -->
+    <xsl:variable name="pre.adjusted.content">
+      <xsl:choose>
+        <xsl:when test="$man.string.subst.map.local.pre">
+          <!-- * normalized value of man.string.subst.map.local.pre -->
+          <!-- * is non-empty, so get contents of map and apply them -->
+          <xsl:call-template name="apply-string-subst-map">
+            <xsl:with-param name="content" select="$content"/>
+            <xsl:with-param name="map.contents"
+                            select="exsl:node-set($man.string.subst.map.local.pre)/*"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <!-- * value of man.string.subst.map.local.pre is empty, -->
+          <!-- * so just copy original contents -->
+          <xsl:value-of select="$content"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <!-- * Apply standard string-substitution map. The main purpose -->
+    <!-- * of this map is to escape certain characters that have -->
+    <!-- * special meaning in roff, and to replace certain characters -->
+    <!-- * used within the stylesheet internally to represent roff -->
+    <!-- * markup characters. -->
+    <xsl:variable name="adjusted.content">
+      <xsl:call-template name="apply-string-subst-map">
+        <xsl:with-param name="content" select="$pre.adjusted.content"/>
+        <xsl:with-param name="map.contents"
+                        select="exsl:node-set($man.string.subst.map)/*"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <!-- * If user has provided a "local" string-substitution map to -->
+    <!-- * be applied /after/ the standard string-substitution map, -->
+    <!-- * apply it. -->
+    <xsl:variable name="post.adjusted.content">
+      <xsl:choose>
+        <xsl:when test="$man.string.subst.map.local.post">
+          <!-- * normalized value of man.string.subst.map.local.post -->
+          <!-- * is non-empty, so get contents of map and apply them -->
+          <xsl:call-template name="apply-string-subst-map">
+            <xsl:with-param name="content" select="$adjusted.content"/>
+            <xsl:with-param name="map.contents"
+                            select="exsl:node-set($man.string.subst.map.local.post)/*"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <!-- * value of man.string.subst.map.local.post is empty, -->
+          <!-- * so just copy original contents -->
+          <xsl:value-of select="$adjusted.content"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <!-- * Optionally, apply a character map to replace Unicode -->
+    <!-- * symbols and special characters. -->
+    <xsl:choose>
+      <xsl:when test="$man.charmap.enabled != 0">
+        <xsl:call-template name="apply-character-map">
+          <xsl:with-param name="content" select="$post.adjusted.content"/>
+          <xsl:with-param name="map.contents"
+                          select="exsl:node-set($man.charmap.contents)/*"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * if we reach here, value of $man.charmap.enabled is zero, -->
+        <!-- * so we just pass the adjusted contents through "as is" -->
+        <xsl:value-of select="$adjusted.content"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <!-- ================================================================== -->
+  
+  <xsl:template name="write.man.file">
+    <xsl:param name="name"/>
+    <xsl:param name="section"/>
+    <xsl:param name="lang"/>
+    <xsl:param name="content"/>
+    <xsl:param name="filename">
+      <xsl:call-template name="make.adjusted.man.filename">
+        <xsl:with-param name="name" select="$name"/>
+        <xsl:with-param name="section" select="$section"/>
+        <xsl:with-param name="lang" select="$lang"/>
+      </xsl:call-template>
+    </xsl:param>
+    <xsl:call-template name="write.text.chunk">
+      <xsl:with-param name="filename" select="$filename"/>
+      <xsl:with-param name="suppress-context-node-name" select="1"/>
+      <xsl:with-param name="quiet" select="$man.output.quietly"/>
+      <xsl:with-param
+          name="message-prolog"
+          >Note: </xsl:with-param>
+      <xsl:with-param name="encoding" select="$man.output.encoding"/>
+      <xsl:with-param name="content" select="$content"/>
+    </xsl:call-template>
+  </xsl:template>
+
+  <!-- ============================================================== -->
+
+  <!-- * A "stub" is sort of alias for another file, intended to be read -->
+  <!-- * and expanded by soelim(1); it's simply a file whose complete -->
+  <!-- * contents are just a single line of the following form: -->
+  <!-- * -->
+  <!-- *  .so manX/realname.X -->
+  <!-- * -->
+  <!-- * "realname" is a name of another man-page file. That .so line is -->
+  <!-- * basically a roff "include" statement.  When the man command finds -->
+  <!-- * it, it calls soelim(1) and includes and displays the contents of -->
+  <!-- * the manX/realqname.X file. -->
+  <!-- * -->
+  <!-- * If a refentry has multiple refnames, we generate a "stub" page for -->
+  <!-- * each refname found, except for the first one. -->
+  <xsl:template name="write.stubs">
+    <xsl:param name="first.refname"/>
+    <xsl:param name="section"/>
+    <xsl:param name="lang"/>
+    <xsl:for-each select="refnamediv/refname">
+      <xsl:if test=". != $first.refname">
+        <xsl:call-template name="write.text.chunk">
+          <xsl:with-param name="filename">
+            <xsl:call-template name="make.adjusted.man.filename">
+              <xsl:with-param name="name">
+                <xsl:apply-templates/>
+              </xsl:with-param>
+              <xsl:with-param name="section" select="$section"/>
+              <xsl:with-param name="lang" select="$lang"/>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="quiet" select="$man.output.quietly"/>
+          <xsl:with-param name="suppress-context-node-name" select="1"/>
+          <xsl:with-param name="message-prolog">Note: </xsl:with-param>
+          <xsl:with-param name="message-epilog"> (soelim stub)</xsl:with-param>
+          <xsl:with-param name="content">
+            <xsl:value-of select="concat('.so man', $section, '/')"/>
+            <xsl:call-template name="make.adjusted.man.filename">
+              <xsl:with-param name="name" select="$first.refname"/>
+              <xsl:with-param name="section" select="$section"/>
+            </xsl:call-template>
+            <xsl:text>&#10;</xsl:text>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+    </xsl:for-each>
+  </xsl:template>
+
+  <!-- ============================================================== -->
+
+  <!-- *  A manifest file is useful for doing "make clean" during -->
+  <!-- *  builds and for other purposes. When we make the manifest -->
+  <!-- *  file, we need to include in it a filename for each man-page -->
+  <!-- *  generated, including any "stub" pages. -->
+  <xsl:template name="generate.manifest">
+    <xsl:variable name="filelist">
+      <xsl:for-each select="//refentry">
+        <!-- * all refname instances in a Refentry inherit their section -->
+        <!-- * numbers from the parent Refentry; so we only need to get -->
+        <!-- * the section once per Refentry, not once per Refname -->
+        <xsl:variable name="section">
+          <xsl:call-template name="get.refentry.section">
+            <xsl:with-param name="quiet" select="1"/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:variable name="lang">
+          <xsl:call-template name="l10n.language"/>
+        </xsl:variable>
+        <xsl:for-each select="refnamediv/refname">
+          <xsl:call-template name="make.adjusted.man.filename">
+            <xsl:with-param name="name" select="."/>
+            <xsl:with-param name="section" select="$section"/>
+            <xsl:with-param name="lang" select="$lang"/>
+          </xsl:call-template>
+          <xsl:text>&#10;</xsl:text>
+        </xsl:for-each>
+      </xsl:for-each>
+    </xsl:variable>
+
+    <!-- * we write the manifest file once per document, not once per -->
+    <!-- * Refentry -->
+    <xsl:call-template name="write.text.chunk">
+      <xsl:with-param name="filename">
+        <xsl:value-of select="$man.output.manifest.filename"/>
+      </xsl:with-param>
+      <xsl:with-param name="quiet" select="1"/>
+      <xsl:with-param name="message-prolog">Note: </xsl:with-param>
+      <xsl:with-param name="message-epilog"> (manifest file)</xsl:with-param>
+      <xsl:with-param name="content">
+        <xsl:value-of select="$filelist"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:if test="$man.output.quietly = 0">
+      <xsl:message><xsl:text>&#10;</xsl:text></xsl:message>
+    </xsl:if>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/manpages/param.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/param.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/param.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,231 @@
+<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" exclude-result-prefixes="src" version="1.0">
+
+<!-- This file is generated from param.xweb; do not edit this file! -->
+
+<!-- ********************************************************************
+     $Id: param.xweb 6530 2007-01-19 11:40:50Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:param name="man.break.after.slash">0</xsl:param>
+<xsl:param name="man.hyphenate">0</xsl:param>
+<xsl:param name="man.hyphenate.urls">0</xsl:param>
+<xsl:param name="man.hyphenate.filenames">0</xsl:param>
+<xsl:param name="man.hyphenate.computer.inlines">0</xsl:param>
+<xsl:param name="man.justify">0</xsl:param>
+<xsl:param name="man.indent.width">4</xsl:param>
+<xsl:param name="man.indent.refsect" select="0"/>
+<xsl:param name="man.indent.blurbs" select="1"/>
+<xsl:param name="man.indent.lists" select="1"/>
+<xsl:param name="man.indent.verbatims" select="1"/>
+  <xsl:param name="man.font.funcprototype">BI</xsl:param>
+  <xsl:param name="man.font.funcsynopsisinfo">B</xsl:param>
+  <xsl:param name="man.font.table.headings">B</xsl:param>
+  <xsl:param name="man.font.table.title">B</xsl:param>
+<xsl:param name="man.output.manifest.enabled" select="0"/>
+<xsl:param name="man.output.manifest.filename">MAN.MANIFEST</xsl:param>
+<xsl:param name="man.output.quietly" select="0"/>
+<xsl:param name="man.output.encoding" select="'UTF-8'"/>
+<xsl:param name="man.output.in.separate.dir" select="0"/>
+<xsl:param name="man.output.lang.in.name.enabled" select="0"/>
+<xsl:param name="man.output.base.dir">man/</xsl:param>
+<xsl:param name="man.output.subdirs.enabled" select="1"/>
+  <xsl:param name="man.string.subst.map.local.pre"/>
+<xsl:param name="man.string.subst.map">
+
+  <!-- ******************************************************************** -->
+  <!-- *  -->
+  <!-- * The backslash and dot (\, .) characters have special meaning -->
+  <!-- * for roff, so we escape those characters when they appear in -->
+  <!-- * the source content, and we use certain (arbitrarily -->
+  <!-- * selected) Unicode characters as the internal representations -->
+  <!-- * for those characters, then replace them with real -->
+  <!-- * backslashes and dots in output. In addition, for certain -->
+  <!-- * reasons, we do the same thing for dashes. The mappings of -->
+  <!-- * those characters to the Unicode characters we use to -->
+  <!-- * represent them is hard-coded: -->
+  <!-- *  -->
+  <!-- *   - U+2591 = dash -->
+  <!-- *   - U+2593 = backslash -->
+  <!-- *   - U+2302 = dot -->
+  <!-- *  -->
+  <!-- ******************************************************************** -->
+
+  <!-- * escape backslashes in content; we use "\e" instead of "\\" -->
+  <!-- * because the groff docs say that's the correct thing to do; also -->
+  <!-- * because testing shows that "\\" doesn't always work as expected; -->
+  <!-- * for example, "\\" within a table seems to mess things up -->
+  <substitution oldstring="\" newstring="\e"/>
+  <!-- * fix bad font-request capitalization in .SH (stylesheet artifact) -->
+  <substitution oldstring="â–“FB" newstring="\fB"/>
+  <substitution oldstring="â–“FI" newstring="\fI"/>
+  <substitution oldstring="â–“FR" newstring="\fR"/>
+  <!-- * remove no-break marker at beginning of line (stylesheet artifact) --> 
+  <substitution oldstring="â–’â–€" newstring="â–’"/>
+  <!-- * replace U+2580 no-break marker (stylesheet-added) w/ no-break space -->
+  <substitution oldstring="â–€" newstring="\ "/>
+  <!-- * replace U+2593 marker with backslash --> 
+  <substitution oldstring="â–“" newstring="\"/>
+  <!-- * escape dashes in content (only at line beginnings) -->
+  <substitution oldstring="&#xA;." newstring="&#xA;\&amp;."/>
+  <!-- * replace U+2302 marker with dot -->
+  <substitution oldstring="⌂" newstring="."/>
+  <!-- * escape dashes in content -->
+  <substitution oldstring="-" newstring="\-"/>
+  <!-- * replace U+2591 marker with dash -->
+  <substitution oldstring="â–‘" newstring="-"/>
+
+  <!-- ==================================================================== -->
+
+  <!-- * squeeze multiple newlines before a roff request  -->
+  <substitution oldstring="&#xA;&#xA;." newstring="&#xA;."/>
+  <!-- * remove any .sp occurences that directly follow a .PP  -->
+  <substitution oldstring=".PP&#xA;.sp" newstring=".PP"/>
+  <!-- * squeeze multiple newlines after start of no-fill (verbatim) env. -->
+  <substitution oldstring=".nf&#xA;&#xA;" newstring=".nf&#xA;"/>
+  <!-- * squeeze multiple newlines after REstoring margin -->
+  <substitution oldstring=".RE&#xA;&#xA;" newstring=".RE&#xA;"/>
+  <!-- * an apostrophe at the beginning of a line gets interpreted as a -->
+  <!-- * roff request (groff(7) says it is "the non-breaking control -->
+  <!-- * character"); so we must add backslash before any apostrophe -->
+  <!-- * found at the start of a line -->
+  <substitution oldstring="&#xA;'" newstring="&#xA;\'"/>
+  <!-- * -->
+  <!-- * non-breaking space -->
+  <!-- * -->
+  <!-- * A no-break space can be written two ways in roff; the difference, -->
+  <!-- * according to the "Page Motions" node in the groff info page, ixsl: -->
+  <!-- * -->
+  <!-- *   "\ " = -->
+  <!-- *   An unbreakable and unpaddable (i.e. not expanded during filling) -->
+  <!-- *   space. -->
+  <!-- * -->
+  <!-- *   "\~" = -->
+  <!-- *   An unbreakable space that stretches like a normal -->
+  <!-- *   inter-word space when a line is adjusted."  -->
+  <!-- * -->
+  <!-- * Unfortunately, roff seems to do some weird things with long -->
+  <!-- * lines that only have words separated by "\~" spaces, so it's -->
+  <!-- * safer just to stick with the "\ " space -->
+  <substitution oldstring=" " newstring="\ "/>
+  <!-- * x2008 is a "punctuation space"; we must replace it here because, -->
+  <!-- * for certain reasons, the stylesheets add it before and after -->
+  <!-- * every Parameter in Funcprototype output -->
+  <substitution oldstring=" " newstring=" "/>
+  <!-- * -->
+  <!-- * Now deal with some other characters that are added by the -->
+  <!-- * stylesheets during processing. -->
+  <!-- * -->
+  <!-- * bullet -->
+  <substitution oldstring="•" newstring="\(bu"/>
+  <!-- * left double quote -->
+  <substitution oldstring="“" newstring="\(lq"/>
+  <!-- * right double quote -->
+  <substitution oldstring="”" newstring="\(rq"/>
+  <!-- * left single quote -->
+  <substitution oldstring="‘" newstring="\(oq"/>
+  <!-- * right single quote -->
+  <substitution oldstring="’" newstring="\(cq"/>
+  <!-- * copyright sign -->
+  <substitution oldstring="©" newstring="\(co"/>
+  <!-- * registered sign -->
+  <substitution oldstring="®" newstring="\(rg"/>
+  <!-- * servicemark... -->
+  <!-- * There is no groff equivalent for it. -->
+  <substitution oldstring="â„ " newstring="(SM)"/>
+  <!-- * trademark... -->
+  <!-- * We don't do "\(tm" because for console output, -->
+  <!-- * groff just renders that as "tm"; that is: -->
+  <!-- * -->
+  <!-- *   Product&#x2122; -> Producttm -->
+  <!-- * -->
+  <!-- * So we just make it to "(TM)" instead; thus: -->
+  <!-- * -->
+  <!-- *   Product&#x2122; -> Product(TM) -->
+  <substitution oldstring="â„¢" newstring="(TM)"/>
+
+  <!-- ==================================================================== -->
+
+  <!-- * we use U+2592 as a marker for the newline before output of <sbr>; -->
+  <!-- * so we now need to replace U+2592 marker with a real newline -->
+  <substitution oldstring="â–’" newstring="&#xA;"/>
+
+</xsl:param>
+<xsl:param name="man.string.subst.map.local.post"/>
+<xsl:param name="man.links.are.numbered">1</xsl:param>
+<xsl:param name="man.links.are.underlined">1</xsl:param>
+<xsl:param name="man.links.list.enabled">1</xsl:param>
+<xsl:param name="man.links.list.heading" select="''"/>
+<xsl:param name="variablelist.term.separator">, </xsl:param>
+<xsl:param name="variablelist.term.break.after">0</xsl:param>
+<xsl:param name="man.charmap.enabled" select="1"/>
+<xsl:param name="man.charmap.uri" select="''"/>
+<xsl:param name="man.charmap.use.subset" select="1"/>
+<xsl:param name="man.charmap.subset.profile">
+@*[local-name() = 'block'] = 'Miscellaneous Technical' or
+(@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and
+ @*[local-name() = 'class'] = 'symbols'
+) or
+(@*[local-name() = 'block'] = 'General Punctuation' and
+ (@*[local-name() = 'class'] = 'spaces' or
+  @*[local-name() = 'class'] = 'dashes' or
+  @*[local-name() = 'class'] = 'quotes' or
+  @*[local-name() = 'class'] = 'bullets'
+ )
+) or
+@*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or
+@*[local-name() = 'name'] = 'WORD JOINER' or
+@*[local-name() = 'name'] = 'SERVICE MARK' or
+@*[local-name() = 'name'] = 'TRADE MARK SIGN' or
+@*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE'
+</xsl:param>
+<xsl:param name="man.segtitle.suppress" select="0"/>
+<xsl:param name="man.table.footnotes.divider">----</xsl:param>
+<xsl:param name="man.subheading.divider">========================================================================</xsl:param>
+<xsl:param name="man.subheading.divider.enabled">0</xsl:param>
+<xsl:param name="refentry.date.profile.enabled">0</xsl:param>
+<xsl:param name="refentry.meta.get.quietly" select="0"/>
+<xsl:param name="refentry.manual.profile.enabled">0</xsl:param>
+<xsl:param name="refentry.source.name.profile.enabled">0</xsl:param>
+<xsl:param name="refentry.version.profile.enabled">0</xsl:param>
+<xsl:param name="refentry.source.name.suppress">0</xsl:param>
+<xsl:param name="refentry.version.suppress">0</xsl:param>
+<xsl:param name="refentry.date.profile">
+  (($info[//date])[last()]/date)[1]|
+  (($info[//pubdate])[last()]/pubdate)[1]
+</xsl:param>
+<xsl:param name="refentry.manual.fallback.profile">
+refmeta/refmiscinfo[1]/node()</xsl:param>
+<xsl:param name="refentry.manual.profile">
+  (($info[//title])[last()]/title)[1]|
+  ../title/node()
+</xsl:param>
+<xsl:param name="refentry.source.fallback.profile">
+refmeta/refmiscinfo[1]/node()</xsl:param>
+<xsl:param name="refentry.source.name.profile">
+  (($info[//productname])[last()]/productname)[1]|
+  (($info[//corpname])[last()]/corpname)[1]|
+  (($info[//corpcredit])[last()]/corpcredit)[1]|
+  (($info[//corpauthor])[last()]/corpauthor)[1]|
+  (($info[//orgname])[last()]/orgname)[1]|
+  (($info[//publishername])[last()]/publishername)[1]
+</xsl:param>
+<xsl:param name="refentry.version.profile">
+  (($info[//productnumber])[last()]/productnumber)[1]|
+  (($info[//edition])[last()]/edition)[1]|
+  (($info[//releaseinfo])[last()]/releaseinfo)[1]
+</xsl:param>
+<xsl:param name="man.th.title.max.length">20</xsl:param>
+<xsl:param name="man.th.extra2.max.length">30</xsl:param>
+<xsl:param name="man.th.extra3.max.length">30</xsl:param>
+<xsl:param name="man.th.extra1.suppress">0</xsl:param>
+<xsl:param name="man.th.extra2.suppress">0</xsl:param>
+<xsl:param name="man.th.extra3.suppress">0</xsl:param>
+<xsl:param name="email.delimiters.enabled">1</xsl:param>
+</xsl:stylesheet>
+    
\ No newline at end of file

Added: trunk/docs/docbook/src/main/resources/manpages/refentry.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/refentry.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/refentry.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,256 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: refentry.xsl 6524 2007-01-18 15:44:19Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+  <xsl:template match="refnamediv">
+    <xsl:choose>
+      <xsl:when test="preceding-sibling::refnamediv">
+        <!-- * No title on secondary refnamedivs! -->
+        <!-- * Just put a single line break instead -->
+        <xsl:text>&#x2302;br&#10;</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="mark.subheading"/>
+        <xsl:text>&#x2302;SH "</xsl:text>
+        <xsl:apply-templates select="." mode="title.markup"/>
+        <xsl:text>"</xsl:text>
+        <xsl:text>&#10;</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:call-template name="mark.subheading"/>
+    <!-- * if we have multiple Refname instances, separate the names -->
+    <!-- * with commas -->
+    <xsl:for-each select="refname">
+      <xsl:if test="position()>1">
+        <xsl:text>, </xsl:text>
+      </xsl:if>
+      <xsl:value-of select="."/>
+    </xsl:for-each>
+    <!-- * The man(7) man pages says: -->
+    <!-- * -->
+    <!-- *   The only required heading is NAME, which should be the -->
+    <!-- *   first section and be followed on the next line by a one -->
+    <!-- *   line description of the program: -->
+    <!-- * -->
+    <!-- *      .SH NAME chess \- the game of chess -->
+    <!-- * -->
+    <!-- *   It is extremely important that this format is followed, -->
+    <!-- *   and that there is a backslash before the single dash -->
+    <!-- *   which follows the command name.  This syntax is used by -->
+    <!-- *   the makewhatis(8) program to create a database of short -->
+    <!-- *   command descriptions for the whatis(1) and apropos(1) -->
+    <!-- *   commands. -->
+    <!-- * -->
+    <!-- * So why don't we precede the hyphen with a backslash here? -->
+    <!-- * Well, because it's added later, by the apply-string-subst-map -->
+    <!-- * template, before we generate final output -->
+    <xsl:if test="refpurpose/node()">
+      <xsl:text> - </xsl:text>
+      <xsl:value-of select="normalize-space(refpurpose)"/>
+    </xsl:if>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:template>
+
+  <xsl:template match="refsynopsisdiv">
+    <xsl:call-template name="mark.subheading"/>
+    <xsl:text>&#x2302;SH "</xsl:text>
+    <xsl:apply-templates select="." mode="title.markup"/>
+    <xsl:text>"&#10;</xsl:text>
+    <xsl:call-template name="mark.subheading"/>
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="refsect1|refentry/refsection">
+    <xsl:variable name="title">
+      <xsl:apply-templates select="." mode="title.markup"/>
+    </xsl:variable>
+    <xsl:call-template name="mark.subheading"/>
+    <xsl:text>&#x2302;SH "</xsl:text>
+    <xsl:value-of select="normalize-space($title)"/>
+    <xsl:text>"&#10;</xsl:text>
+    <xsl:call-template name="mark.subheading"/>
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="refsect2|refentry/refsection/refsection">
+    <xsl:call-template name="mark.subheading"/>
+    <xsl:variable name="title">
+      <xsl:apply-templates
+          select="(info/title
+                  |refsectioninfo/title
+                  |refsect1info/title
+                  |title)[1]/node()"/>
+      
+    </xsl:variable>
+    <xsl:text>&#x2302;SS "</xsl:text>
+    <xsl:value-of select="normalize-space($title)"/>
+    <xsl:text>"&#10;</xsl:text>
+    <xsl:call-template name="mark.subheading"/>
+    <xsl:choose>
+      <!-- * If default-indentation adjustment is on, then indent the -->
+      <!-- * child content of this Refsect2 -->
+      <xsl:when test="not($man.indent.refsect = 0)">
+        <xsl:text>&#x2302;RS&#10;</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>&#x2302;RE&#10;</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * If default-indentation adjustment is on, then do not -->
+        <!-- * indent the child content of thie Refsect2, because -->
+        <!-- * the title is already "sticking out to the left" -->
+        <!-- * (as the groff_man(7) man page describes it), which -->
+        <!-- * actually means the title is indented by the value of -->
+        <!-- * the SN register, which appears by default to be -->
+        <!-- * about half of the default indentation value -->
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match="refsect3|refentry/refsection/refsection/refsection">
+    <xsl:variable name="title">
+      <xsl:value-of select="(info/title
+                            |refsectioninfo/title
+                            |refsect1info/title
+                            |title)[1]"/>
+    </xsl:variable>
+    <xsl:choose>
+      <!-- * If default-indentation adjustment is on, then indent the -->
+      <!-- * child content of this Refsect3 or Refsection. -->
+      <xsl:when test="not($man.indent.refsect != 0)">
+        <xsl:call-template name="nested-section-title"/>
+        <xsl:text>&#x2302;RS&#10;</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>&#x2302;RE&#10;</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * If default-indentation adjustment is on, then do not -->
+        <!-- * indent the child content of thie Refsect2, because -->
+        <!-- * the title is already "sticking out to the left" -->
+        <!-- * (as the groff_man(7) man page describes it), which -->
+        <!-- * actually means the title is indented by the value of -->
+        <!-- * the SN register, which appears by default to be -->
+        <!-- * about half of the default indentation value -->
+        <xsl:text>&#x2302;ti (&#x2593;n(SNu * 5u / 3u)&#10;</xsl:text>
+        <xsl:call-template name="nested-section-title"/>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match="refsection">
+    <!-- * This template is used for a nested Refsection that is -->
+    <!-- * is a child of a Refsect3-level section (The numberd -->
+    <!-- * Refsect hierarchy in DocBook ends with Refsect3, so -->
+    <!-- * there is not actually a Refsect4 element.) -->
+    <xsl:variable name="title">
+      <xsl:value-of select="(info/title
+                            |refsectioninfo/title
+                            |refsect1info/title
+                            |title)[1]"/>
+    </xsl:variable>
+    <xsl:variable name="indent-width">
+      <xsl:if test="not($man.indent.refsect = 0)">
+        <!-- * If default-indentation adjustment is on, then indent the -->
+        <!-- * child content of this Refsect3 or Refsection. -->
+        <xsl:text>(&#x2593;n(SNu)&#10;</xsl:text>
+      </xsl:if>
+    </xsl:variable>
+    <xsl:call-template name="nested-section-title"/>
+    <xsl:text>&#x2302;RS (&#x2593;n(SNu)&#10;</xsl:text>
+    <xsl:apply-templates/>
+    <xsl:text>&#x2302;RE&#10;</xsl:text>
+  </xsl:template>
+
+  <!-- ==================================================================== -->
+
+  <!-- * Use uppercase to render titles of all instances of Refsect1 or -->
+  <!-- * top-level Refsection, including in cross-references -->
+  <xsl:template match="refsect1|refentry/refsection"
+                mode="title.markup">
+    <xsl:variable name="title" select="(info/title
+                                       |refsectioninfo/title
+                                       |refsect1info/title
+                                       |title)[1]"/>
+    <xsl:call-template name="string.upper">
+      <xsl:with-param name="string">
+        <xsl:apply-templates select="$title" mode="title.markup"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
+  <!-- * Output of Titles from Xref with Endterm needs to be handled -->
+  <!-- * separately from output for Endterm-less Xref -->
+  <xsl:template match="refsect1/title
+                       |refentry/refsection/title
+                       |refsynopsisdiv/title"
+                mode="endterm">
+    <xsl:call-template name="string.upper">
+      <xsl:with-param name="string">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
+  <!-- * Use uppercase to render titles of all instances of Refsynopsisdiv, -->
+  <!-- * including in cross-references -->
+  <xsl:template match="refsynopsisdiv" mode="title.markup">
+    <xsl:param name="allow-anchors" select="0"/>
+    <xsl:call-template name="string.upper">
+      <xsl:with-param name="string">
+        <xsl:choose>
+          <xsl:when test="info/title
+                          |refsynopsisdivinfo/title
+                          |title">
+            <xsl:apply-templates
+                select="(info/title
+                        |refsynopsisdivinfo/title
+                        |title)[1]" mode="title.markup">
+              <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+            </xsl:apply-templates>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'RefSynopsisDiv'"/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
+  <!-- * Use uppercase to render titles of all instances of Refnamediv, -->
+  <!-- * including in cross-references -->
+  <xsl:template match="refnamediv" mode="title.markup">
+    <xsl:call-template name="string.upper">
+      <xsl:with-param name="string">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'RefName'"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
+  <xsl:template match="refnamediv" mode="xref-to">
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:template>
+
+  <!-- ==================================================================== -->
+
+  <!-- * suppress any title we don't otherwise process elsewhere -->
+
+  <xsl:template match="title"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/manpages/synop.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/synop.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/synop.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,305 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="exsl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: synop.xsl 6526 2007-01-19 02:58:50Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<xsl:variable name="arg.or.sep"> |</xsl:variable>
+
+<!-- * Note: If you're looking for the *Synopsis* element, you won't -->
+<!-- * find any code here for handling it. It's a "verbatim" -->
+<!-- * environment; see the block.xsl file instead. -->
+
+<xsl:template match="synopfragmentref">
+  <xsl:variable name="target" select="key('id', at linkend)"/>
+  <xsl:variable name="snum">
+    <xsl:apply-templates select="$target" mode="synopfragment.number"/>
+  </xsl:variable>
+  <xsl:text>(</xsl:text>
+  <xsl:value-of select="$snum"/>
+  <xsl:text>)</xsl:text>
+  <xsl:text>&#x2580;</xsl:text>
+  <xsl:variable name="synopfragmentref">
+    <FragRefContents><xsl:value-of select="normalize-space(.)"/></FragRefContents>
+  </xsl:variable>
+  <xsl:apply-templates select="exsl:node-set($synopfragmentref)" mode="italic"/>
+</xsl:template>
+
+<xsl:template match="synopfragment" mode="synopfragment.number">
+  <xsl:number format="1"/>
+</xsl:template>
+
+<xsl:template match="synopfragment">
+  <xsl:variable name="snum">
+    <xsl:apply-templates select="." mode="synopfragment.number"/>
+  </xsl:variable>
+  <xsl:text>&#10;</xsl:text>
+  <!-- * If we have a group of Synopgfragments, we only want to output a -->
+  <!-- * line of space before the first; so when we find a Synopfragment -->
+  <!-- * whose first preceding sibling is another Synopfragment, we back -->
+  <!-- * up one line vertically to negate the line of vertical space -->
+  <!-- * that's added by the .HP macro -->
+  <xsl:if test="preceding-sibling::*[1][self::synopfragment]">
+    <xsl:text>&#x2302;sp &#x2591;1n&#10;</xsl:text>
+  </xsl:if>
+  <xsl:text>&#x2302;HP </xsl:text>
+  <!-- * For each Synopfragment, make a hanging paragraph, with the -->
+  <!-- * indent calculated from the length of the generated number -->
+  <!-- * used as a reference + pluse 3 characters (for the open and -->
+  <!-- * close parens around the number, plus a space). -->
+  <xsl:value-of select="string-length (normalize-space ($snum)) + 3"/>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:text>(</xsl:text>
+  <xsl:value-of select="$snum"/>
+  <xsl:text>)</xsl:text>
+  <xsl:text> </xsl:text>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="group|arg" name="group-or-arg">
+  <xsl:variable name="choice" select="@choice"/>
+  <xsl:variable name="rep" select="@rep"/>
+  <xsl:variable name="sepchar">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*/@sepchar">
+        <xsl:value-of select="ancestor-or-self::*/@sepchar"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:text> </xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:if test="position()>1 and
+                not(preceding-sibling::*[1][self::sbr])"
+          ><xsl:value-of select="$sepchar"/></xsl:if>
+  <xsl:choose>
+    <xsl:when test="$choice='plain'">
+      <!-- * do nothing -->
+    </xsl:when>
+    <xsl:when test="$choice='req'">
+      <xsl:value-of select="$arg.choice.req.open.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='opt'">
+      <xsl:value-of select="$arg.choice.opt.open.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.choice.def.open.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:variable name="arg">
+    <xsl:apply-templates/>
+  </xsl:variable>
+  <xsl:choose>
+    <xsl:when test="local-name(.) = 'arg' and not(ancestor::arg)">
+      <!-- * Prevent arg contents from getting wrapped and broken up -->
+      <xsl:variable name="arg.wrapper">
+        <Arg><xsl:value-of select="normalize-space($arg)"/></Arg>
+      </xsl:variable>
+      <xsl:apply-templates mode="prevent.line.breaking"
+                           select="exsl:node-set($arg.wrapper)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:choose>
+    <xsl:when test="$rep='repeat'">
+      <xsl:value-of select="$arg.rep.repeat.str"/>
+    </xsl:when>
+    <xsl:when test="$rep='norepeat'">
+      <xsl:value-of select="$arg.rep.norepeat.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.rep.def.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:choose>
+    <xsl:when test="$choice='plain'">
+      <xsl:if test='arg'>
+      <xsl:value-of select="$arg.choice.plain.close.str"/>
+      </xsl:if>
+    </xsl:when>
+    <xsl:when test="$choice='req'">
+      <xsl:value-of select="$arg.choice.req.close.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='opt'">
+      <xsl:value-of select="$arg.choice.opt.close.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.choice.def.close.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="group/arg">
+  <xsl:variable name="choice" select="@choice"/>
+  <xsl:variable name="rep" select="@rep"/>
+  <xsl:if test="position()>1"><xsl:value-of select="$arg.or.sep"/></xsl:if>
+  <xsl:call-template name="group-or-arg"/>
+</xsl:template>
+
+<xsl:template match="sbr">
+  <xsl:text>&#x2592;</xsl:text>
+  <xsl:text>&#x2302;br&#x2592;</xsl:text>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis">
+  <!-- * if justification is enabled by default, turn it off temporarily -->
+  <xsl:if test="$man.justify != 0">
+    <xsl:text>&#x2302;ad l&#10;</xsl:text>
+  </xsl:if>
+  <!-- * if hyphenation is enabled by default, turn it off temporarily -->
+  <xsl:if test="$man.hyphenate != 0">
+    <xsl:text>&#x2302;hy 0&#10;</xsl:text>
+  </xsl:if>
+  <xsl:text>&#x2302;HP </xsl:text>
+  <xsl:value-of select="string-length (normalize-space (command)) + 1"/>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>&#10;</xsl:text>
+  <!-- * if justification is enabled by default, turn it back on -->
+  <xsl:if test="$man.justify != 0">
+    <xsl:text>&#x2302;ad&#10;</xsl:text>
+  </xsl:if>
+  <!-- * if hyphenation is enabled by default, turn it back on -->
+  <xsl:if test="$man.hyphenate != 0">
+    <xsl:text>&#x2302;hy&#10;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- *  Funcsynopis hierarchy starts here -->
+<!-- ==================================================================== -->
+
+<!-- * Note: If you're looking for the *Funcsynopsisinfo* element, -->
+<!-- * you won't find any code here for handling it. It's a "verbatim" -->
+<!-- * environment; see the block.xsl file instead. -->
+
+<!-- * Within funcsynopis output, disable hyphenation, and use -->
+<!-- * left-aligned filling for the duration of the synopsis, so that -->
+<!-- * line breaks only occur between separate paramdefs. -->
+<xsl:template match="funcsynopsis">
+  <!-- * if justification is enabled by default, turn it off temporarily -->
+  <xsl:if test="$man.justify != 0">
+    <xsl:text>&#x2302;ad l&#10;</xsl:text>
+  </xsl:if>
+  <!-- * if hyphenation is enabled by default, turn it off temporarily -->
+  <xsl:if test="$man.hyphenate != 0">
+    <xsl:text>&#x2302;hy 0&#10;</xsl:text>
+  </xsl:if>
+  <xsl:apply-templates/>
+  <!-- * if justification is enabled by default, turn it back on -->
+  <xsl:if test="$man.justify != 0">
+    <xsl:text>&#x2302;ad&#10;</xsl:text>
+  </xsl:if>
+  <!-- * if hyphenation is enabled by default, turn it back on -->
+  <xsl:if test="$man.hyphenate != 0">
+    <xsl:text>&#x2302;hy&#10;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<!-- * All Funcprototype content is by default rendered in bold, -->
+<!-- * because the man(7) man page says this: -->
+<!-- * -->
+<!-- *   For functions, the arguments are always specified using -->
+<!-- *   italics, even in the SYNOPSIS section, where the rest of -->
+<!-- *   the function is specified in bold -->
+<!-- * -->
+<!-- * Look through the contents of the man/man2 and man3 directories -->
+<!-- * on your system, and you'll see that most existing pages do follow -->
+<!-- * this "bold everything in function synopsis" rule. -->
+<!-- * -->
+<!-- * Users who don't want the bold output can choose to adjust the -->
+<!-- * man.font.funcprototype parameter on their own. So even if you -->
+<!-- * don't personally like the way it looks, please don't change the -->
+<!-- * default to be non-bold - because it's a convention that's -->
+<!-- * followed is the vast majority of existing man pages that document -->
+<!-- * functions, and we need to follow it by default, like it or no. -->
+<xsl:template match="funcprototype">
+  <xsl:variable name="funcprototype.string.value">
+    <xsl:value-of select="funcdef"/>
+  </xsl:variable>
+  <xsl:variable name="funcprototype">
+    <xsl:apply-templates select="funcdef"/>
+  </xsl:variable>
+  <xsl:text>&#x2302;HP </xsl:text>
+  <!-- * Hang Paragraph by length of string value of <funcdef> + 1 -->
+  <!-- * (because funcdef is always followed by one open paren char) -->
+  <xsl:value-of select="string-length (normalize-space ($funcprototype.string.value)) + 1"/>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:text>&#x2302;</xsl:text>
+  <xsl:value-of select="$man.font.funcprototype"/>
+  <xsl:text> </xsl:text>
+  <!-- * The following quotation mark (and the one further below) are -->
+  <!-- * needed to properly delimit the parts of the Funcprototype that -->
+  <!-- * should be rendered in the prevailing font (either Bold or Roman) -->
+  <!-- * from Parameter output that needs to be alternately rendered in -->
+  <!-- * italic. -->
+  <xsl:text>"</xsl:text>
+  <xsl:value-of select="normalize-space($funcprototype)"/>
+  <xsl:text>(</xsl:text>
+  <xsl:apply-templates select="*[local-name() != 'funcdef']"/>
+  <xsl:text>"</xsl:text>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="funcdef">
+  <xsl:apply-templates mode="prevent.line.breaking"/>
+</xsl:template>
+
+<xsl:template match="funcdef/function">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="void">
+  <xsl:text>void);</xsl:text>
+</xsl:template>
+
+<xsl:template match="varargs">
+  <xsl:text>...);</xsl:text>
+</xsl:template>
+
+<xsl:template match="paramdef">
+  <xsl:apply-templates mode="prevent.line.breaking" select="."/>
+  <xsl:choose>
+    <xsl:when test="following-sibling::*">
+      <xsl:text>, </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>);</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter">
+  <!-- * x2008 is a "punctuation space"; we use it here because if we -->
+  <!-- * were to just use a normal space, it would get replaced with a -->
+  <!-- * non-breaking space when we run the whole Paramdef through the -->
+  <!-- * prevent.line.breaking template. And as far as why we're -->
+  <!-- * inserting the space an quotation marks around each Parameter to -->
+  <!-- * begin with, the reason is that we need to because we are -->
+  <!-- * outputting Funcsynopsis in either the "BI" or "RI" font, and -->
+  <!-- * the space and quotation marks delimit the text as the -->
+  <!-- * "alternate" or "I" text that needs to be rendered in italic. -->
+  <xsl:text>"&#x2008;"</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>"&#x2008;"</xsl:text>
+</xsl:template>
+
+<xsl:template match="funcparams">
+  <xsl:text>(</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>)</xsl:text>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/manpages/table.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/table.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/table.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,634 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="exsl"
+                version='1.0'>
+
+  <!-- ********************************************************************
+       $Id: table.xsl 6526 2007-01-19 02:58:50Z xmldoc $
+       ********************************************************************
+
+       This file is part of the XSL DocBook Stylesheet distribution.
+       See ../README or http://docbook.sf.net/release/xsl/current/ for
+       copyright and other information.
+
+       ******************************************************************** -->
+  <!--
+  <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
+  <xsl:param name="tbl.font.title">B</xsl:param>
+  <xsl:param name="tbl.font.headings">B</xsl:param>
+  -->
+  <xsl:param name="tbl.running.header.from.thead" select="0"/>
+  <xsl:param name="tbl.column.separator.char">:</xsl:param>
+
+  <!-- ==================================================================== -->
+
+  <!-- * This stylesheet transforms DocBook and HTML table source into -->
+  <!-- * tbl(1) markup. -->
+  <!-- * -->
+  <!-- * For details on tbl(1) and its markup syntaxt, see M. E. Lesk,-->
+  <!-- * "Tbl - A Program to Format Tables": -->
+  <!-- * -->
+  <!-- *   http://cm.bell-labs.com/7thEdMan/vol2/tbl -->
+  <!-- *   http://cm.bell-labs.com/cm/cs/doc/76/tbl.ps.gz -->
+  <!-- *   http://www.snake.net/software/troffcvt/tbl.html -->
+
+  <xsl:template match="table|informaltable" mode="to.tbl">
+    <!--* the "source" param is an optional param; it can be any -->
+    <!--* string you want to use that gives some indication of the -->
+    <!--* source context for a table; it gets passed down to the named -->
+    <!--* templates that do the actual table processing; this -->
+    <!--* stylesheet currently uses the "source" information for -->
+    <!--* logging purposes -->
+    <xsl:param name="source"/>
+    <xsl:param name="title">
+      <xsl:if test="local-name(.) = 'table'">
+        <xsl:apply-templates select="." mode="object.title.markup.textonly"/>
+      </xsl:if>
+    </xsl:param>
+    <!-- * ============================================================== -->
+    <!-- *    Set global table parameters                                 -->
+    <!-- * ============================================================== -->
+    <!-- * First, set a few parameters based on attributes specified in -->
+    <!-- * the table source. -->
+    <xsl:param name="allbox">
+    <xsl:if test="not(@frame = 'none') and not(@border = '0')">
+      <!-- * By default, put a box around table and between all cells, -->
+      <!-- * unless frame="none" or border="0" -->
+      <xsl:text>allbox </xsl:text>
+    </xsl:if>
+    </xsl:param>
+    <xsl:param name="center">
+    <!-- * If align="center", center the table. Otherwise, tbl(1) -->
+    <!-- * left-aligns it by default; note that there is no support -->
+    <!-- * in tbl(1) for specifying right alignment. -->
+    <xsl:if test="@align = 'center' or tgroup/@align = 'center'">
+      <xsl:text>center </xsl:text>
+    </xsl:if>
+    </xsl:param>
+    <xsl:param name="expand">
+    <!-- * If pgwide="1" or width="100%", then "expand" the table by -->
+    <!-- * making it "as wide as the current line length" (to quote -->
+    <!-- * the tbl(1) guide). -->
+    <xsl:if test="@pgwide = '1' or @width = '100%'">
+      <xsl:text>expand </xsl:text>
+    </xsl:if>
+    </xsl:param>
+
+    <!-- * ============================================================== -->
+    <!-- *    Convert table to HTML                                       -->
+    <!-- * ============================================================== -->
+    <!-- * Process the table by applying the HTML templates from the -->
+    <!-- * DocBook XSL stylesheets to the whole thing; because we don't -->
+    <!-- * override any of the <row>, <entry>, <tr>, <td>, etc. templates, -->
+    <!-- * the templates in the HTML stylesheets (which we import) are -->
+    <!-- * used to process those. -->
+    <xsl:param name="html-table-output">
+      <xsl:choose>
+        <xsl:when test=".//tr">
+          <!-- * If this table has a TR child, it means that it's an -->
+          <!-- * HTML table in the DocBook source, instead of a CALS -->
+          <!-- * table. So we just copy it as-is, while wrapping it -->
+          <!-- * in an element with same name as its original parent. -->
+          <xsl:for-each select="descendant-or-self::table|descendant-or-self::informaltable">
+            <xsl:element name="{local-name(..)}">
+              <table>
+                <xsl:copy-of select="*"/>
+              </table>
+            </xsl:element>
+          </xsl:for-each>
+        </xsl:when>
+        <xsl:otherwise>
+          <!-- * Otherwise, this is a CALS table in the DocBook source, -->
+          <!-- * so we need to apply the templates in the HTML -->
+          <!-- * stylesheets to transform it into HTML before we do -->
+          <!-- * any further processing of it. -->
+          <xsl:apply-templates/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:param>
+    <xsl:param name="contents" select="exsl:node-set($html-table-output)"/>
+
+    <!-- ==================================================================== -->
+    <!-- *                       Output the table -->
+    <!-- ==================================================================== -->
+    <!-- * -->
+    <!-- * This is the "driver" part of the code; it calls a series of named
+         * templates (further below) to generate the actual tbl(1) markup, -->
+    <!-- * including the optional "options line", required "format section", -->
+    <!-- * and then the actual contents of the table. -->
+    <!-- * -->
+    <!-- ==================================================================== -->
+
+    <xsl:for-each select="$contents//table">
+      <!-- * ============================================================== -->
+      <!-- *   Output table title                                           -->
+      <!-- * ============================================================== -->
+      <xsl:if test="$title != '' or parent::td">
+        <xsl:text>&#x2302;PP&#10;</xsl:text>
+        <xsl:text>.</xsl:text>
+        <xsl:value-of select="$tbl.font.title"/>
+        <xsl:text> </xsl:text>
+        <xsl:if test="parent::td">
+          <xsl:text>*[nested&#x2580;table]</xsl:text>
+        </xsl:if>
+        <xsl:value-of select="normalize-space($title)"/>
+        <xsl:text>&#10;</xsl:text>
+        <xsl:text>&#x2302;sp &#x2591;1n&#10;</xsl:text>
+      </xsl:if>
+      
+      <!-- * mark the start of the table -->
+      <!-- * "TS" = "table start" -->
+      <xsl:text>&#x2302;TS</xsl:text>
+      <xsl:if test="thead and $tbl.running.header.from.thead">
+        <!-- * H = "has header" -->
+        <xsl:text> H</xsl:text>
+      </xsl:if>
+      <xsl:text>&#10;</xsl:text>
+
+      <!-- * ============================================================== -->
+      <!-- *   Output "options line"                                         -->
+      <!-- * ============================================================== -->
+      <xsl:variable name="options-line">
+        <xsl:value-of select="$allbox"/>
+        <xsl:value-of select="$center"/>
+        <xsl:value-of select="$expand"/>
+        <xsl:text>tab(</xsl:text>
+        <xsl:value-of select="$tbl.column.separator.char"/>
+        <xsl:text>)</xsl:text>
+      </xsl:variable>
+      <xsl:if test="normalize-space($options-line) != ''">
+        <xsl:value-of select="normalize-space($options-line)"/>
+        <xsl:text>;&#10;</xsl:text>
+      </xsl:if>
+
+      <!-- * ============================================================== -->
+      <!-- *   Output table header rows                                     -->
+      <!-- * ============================================================== -->
+      <xsl:if test="thead">
+        <xsl:call-template name="output.rows">
+          <xsl:with-param name="rows" select="thead/tr"/>
+        </xsl:call-template> 
+        <xsl:text>&#10;</xsl:text>
+
+        <!-- * mark the end of table-header rows -->
+        <xsl:choose>
+          <xsl:when test="$tbl.running.header.from.thead">
+            <!-- * "TH" = "table header end" -->
+            <xsl:text>&#x2302;TH&#10;</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <!-- * "T&" = "table continuation" and is meant just as a kind -->
+            <!-- * of convenience macro and is sorta equivalent to a "TE" -->
+            <!-- * (table end) followed immediately by a "TS" (table start); -->
+            <!-- * in this case, it marks the end of a table "subsection" -->
+            <!-- * with header rows, and the start of a subsection with body -->
+            <!-- * rows. It's necessary to output it here because the "TH" -->
+            <!-- * macro is not being output, so there's otherwise no way -->
+            <!-- * for tbl(1) to know we have the table "sectioned". -->
+            <xsl:text>&#x2302;T&amp;&#10;</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:if>
+      
+      <!-- * ============================================================== -->
+      <!-- *  Output table body rows                                        -->
+      <!-- * ============================================================== -->
+      <!-- * First create node set with all non-thead rows (tbody+tfoot), -->
+      <!-- * but reordered with the tfoot rows at the end of the node set -->
+      <xsl:variable name="rows-set">
+        <xsl:copy-of select="tbody/tr|tr"/>
+        <xsl:copy-of select="tfoot/tr"/>
+      </xsl:variable>
+      <xsl:call-template name="output.rows">
+        <xsl:with-param name="source" select="$source"/>
+        <xsl:with-param name="rows" select="exsl:node-set($rows-set)"/>
+      </xsl:call-template>
+
+      <!-- * mark the end of the table -->
+      <xsl:text>&#10;</xsl:text>
+      <!-- * .TE = "Table End" -->
+      <xsl:text>&#x2302;TE&#10;</xsl:text>
+      <!-- * put a blank line of space below the table -->
+      <xsl:text>&#x2302;sp&#10;</xsl:text>
+    </xsl:for-each>
+  </xsl:template>
+
+  <!-- ==================================================================== -->
+  <!-- *                        named templates -->
+  <!-- ==================================================================== -->
+  <!-- * -->
+  <!-- * All of the following are named templates that get called directly -->
+  <!-- * or indirectly by the main "driver" part of the code (above) -->
+  <!-- * -->
+  <!-- ==================================================================== -->
+  
+  <xsl:template name="output.rows">
+    <xsl:param name="source"/>
+    <xsl:param name="rows"/>
+    <!-- * ============================================================== -->
+    <!-- *   Flatten row set into simple list of cells                    -->
+    <!-- * ============================================================== -->
+    <!-- * Now we flatten the structure further into just a set of -->
+    <!-- * cells without the row parents. This basically creates a -->
+    <!-- * copy of the entire contents of the original table, but -->
+    <!-- * restructured in such a way that we can more easily generate -->
+    <!-- * the corresponding tbl(1) markup we need to output. -->
+    <xsl:variable name="cells-list">
+      <xsl:call-template name="build.cell.list">
+        <xsl:with-param name="source" select="$source"/>
+        <xsl:with-param name="rows" select="$rows"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:variable name="cells" select="exsl:node-set($cells-list)"/>
+
+    <!-- * Output the table "format section", which tells tbl(1) how to -->
+    <!-- * format each row and column -->
+    <xsl:call-template name="create.table.format">
+      <xsl:with-param name="cells" select="$cells"/>
+    </xsl:call-template>
+
+    <!--* Output the formatted contents of each cell. -->
+    <xsl:for-each select="$cells/cell">
+      <xsl:call-template name="output.cell"/>
+    </xsl:for-each>
+  </xsl:template>
+
+
+  <!-- * ============================================================== -->
+  <!-- *    Output the tbl(1)-formatted contents of each cell.            -->
+  <!-- * ============================================================== -->
+  <xsl:template name="output.cell">
+    <xsl:choose>
+      <xsl:when test="preceding-sibling::cell[1]/@row != @row or
+                      not(preceding-sibling::cell)">
+        <!-- * If the value of the "row" attribute on this cell is -->
+        <!-- * different from the value of that on the previous cell, it -->
+        <!-- * means we have a new row. So output a line break (as long -->
+        <!-- * as this isn't the first cell in the table) -->
+        <xsl:text>&#10;</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * Otherwise we are not at the start of a new row, so we -->
+        <!-- * output a tab character to delimit the contents of this -->
+        <!-- * cell from the contents of the next one. -->
+        <xsl:value-of select="$tbl.column.separator.char"/>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:choose>
+      <xsl:when test="@type = '^'">
+        <!-- * If this is a dummy cell resulting from the presence of -->
+        <!-- * rowpan attribute in the source, it has no contents, so -->
+        <!-- * we need to handle it differently. -->
+        <xsl:if test="@colspan and @colspan > 1">
+          <!-- * If there is a colspan attribute on this dummy row, then -->
+          <!-- * we need to output a tab character for each column that -->
+          <!-- * it spans. -->
+          <xsl:call-template name="copy-string">
+            <xsl:with-param name="string" select="$tbl.column.separator.char"/>
+            <xsl:with-param name="count">
+              <xsl:value-of select="@colspan - 1"/>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * Otherwise, we have a "real" cell (not a dummy one) with -->
+        <!-- * contents that we need to output, -->
+        <!-- * -->
+        <!-- * The "T{" and "T}" stuff are delimiters to tell tbl(1) that -->
+        <!-- * the delimited contents are "text blocks" that roff -->
+        <!-- * needs to process -->
+        <xsl:text>T{&#10;</xsl:text>
+        <xsl:copy-of select="."/>
+        <xsl:text>&#10;T}</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <!-- * ============================================================== -->
+  <!-- *   Build a restructured "cell list" copy of the entire table    -->
+  <!-- * ============================================================== -->
+  <xsl:template name="build.cell.list">
+    <xsl:param name="source"/>
+    <xsl:param name="rows"/>
+    <xsl:param  name="cell-data-unsorted">
+      <!-- * This param collects all the "real" cells from the table, -->
+      <!-- * along with "dummy" rows that we generate for keeping -->
+      <!-- * track of Rowspan instances. -->
+      <xsl:apply-templates select="$rows" mode="cell.list">
+        <xsl:with-param name="source" select="$source"/>
+      </xsl:apply-templates>
+    </xsl:param>
+    <xsl:param  name="cell-data-sorted">
+      <!-- * Sort the cells so that the dummy cells get put where we -->
+      <!-- * need them in the structure. -->
+      <xsl:for-each select="exsl:node-set($cell-data-unsorted)/cell">
+        <xsl:sort select="@row"/>
+        <xsl:sort select="@slot"/>
+        <xsl:copy-of select="."/>
+      </xsl:for-each>
+    </xsl:param>
+    <!-- * Return the sorted cell list -->
+    <xsl:copy-of select="$cell-data-sorted"/>
+  </xsl:template>
+
+  <xsl:template match="tr" mode="cell.list">
+    <xsl:param name="source"/>
+    <xsl:variable name="row">
+      <xsl:value-of select="count(preceding-sibling::tr) + 1"/>
+    </xsl:variable>
+    <xsl:for-each select="td|th">
+      <xsl:call-template name="cell">
+        <xsl:with-param name="source" select="$source"/>
+        <xsl:with-param name="row" select="$row"/>
+        <!-- * pass on the element name so we can select the appropriate -->
+        <!-- * roff font for styling the cell contents -->
+        <xsl:with-param name="class" select="name(.)"/>
+      </xsl:call-template>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template name="cell">
+    <xsl:param name="source"/>
+    <xsl:param name="row"/>
+    <xsl:param name="class"/>
+    <xsl:param name="slot">
+      <!-- * The "slot" is the horizontal position of this cell (usually -->
+      <!-- * just the same as its column, but not so when it is preceded -->
+      <!-- * by cells that have colspans or cells in preceding rows that -->
+      <!-- * that have rowspans). -->
+      <xsl:value-of select="position()"/>
+    </xsl:param>
+    <!-- * For each real TD cell, create a Cell instance; contents will -->
+    <!-- * be the roff-formatted contents of its original table cell. -->
+    <cell type=""
+          row="{$row}"
+          slot="{$slot}"
+          class="{$class}"
+          colspan="{@colspan}"
+          align="{@align}"
+          valign="{@valign}"
+          >
+      <xsl:choose>
+        <xsl:when test=".//tr">
+          <xsl:call-template name="log.message">
+            <xsl:with-param name="level">Warn</xsl:with-param>
+            <xsl:with-param name="source" select="$source"/>
+            <xsl:with-param name="message">
+              <xsl:text
+              >tbl convert : Extracted a nested table</xsl:text>
+            </xsl:with-param>
+          </xsl:call-template>
+          <xsl:text>[&#x2593;fInested&#x2580;table&#x2593;fR]*&#10;</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <!-- * Apply templates to the child contents of this cell, to -->
+          <!-- * transform them into marked-up roff. -->
+          <xsl:variable name="contents">
+            <xsl:apply-templates/>
+          </xsl:variable>
+          <!-- * We now have the contents in roff (plain-text) form, -->
+          <!-- * but we may also still have unnecessary whitespace at -->
+          <!-- * the beginning and/or end of it, so trim it off. -->
+          <xsl:call-template name="trim.text">
+            <xsl:with-param name="contents" select="$contents"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </cell>
+
+    <!-- * For each instance of a rowspan attribute found, we create N -->
+    <!-- * dummy cells, where N is equal to the value of the rowspan. -->
+    <xsl:if test="@rowspan and @rowspan > 0">
+      <!-- * If this cell is preceded in the same row by cells that -->
+      <!-- * have colspan attributes, then we need to calculate the -->
+      <!-- * "offset" caused by those colspan instances; the formula -->
+      <!-- * is to (1) check for all the preceding cells that have -->
+      <!-- * colspan attributes that are not empty and which have a -->
+      <!-- * value greater than 1, then (2) take the sum of the values -->
+      <!-- * of all those colspan attributes, and subtract from that -->
+      <!-- * the number of such colspan instances found. -->
+      <xsl:variable name="colspan-offset">
+        <xsl:value-of
+            select="sum(preceding-sibling::td[@colspan != ''
+                    and @colspan > 1]/@colspan) -
+                    count(preceding-sibling::td[@colspan != ''
+                    and @colspan > 1]/@colspan)"/>
+      </xsl:variable>
+      <xsl:call-template name="create.dummy.cells">
+        <xsl:with-param name="row" select="$row + 1"/>
+        <!-- * The slot value on each dummy cell must be offset by the -->
+        <!-- * value of $colspan-offset to adjust for preceding colpans -->
+        <xsl:with-param name="slot" select="$slot + $colspan-offset"/>
+        <xsl:with-param name="colspan" select="@colspan"/>
+        <xsl:with-param name="rowspan" select="@rowspan"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template name="create.dummy.cells">
+    <xsl:param name="row"/>
+    <xsl:param name="slot"/>
+    <xsl:param name="colspan"/>
+    <xsl:param name="rowspan"/>
+    <xsl:choose>
+      <xsl:when test="$rowspan > 1">
+        <!-- * Tail recurse until we have no more rowspans, creating -->
+        <!-- * an empty dummy cell each time. The type value, '^' -->
+        <!-- * is the marker that tbl(1) uses for indicates a -->
+        <!-- * "vertically spanned heading". -->
+        <cell row="{$row}" slot="{$slot}" type="^" colspan="{@colspan}"/>
+        <xsl:call-template name="create.dummy.cells">
+          <xsl:with-param name="row" select="$row + 1"/>
+          <xsl:with-param name="slot" select="$slot"/>
+          <xsl:with-param name="colspan" select="$colspan"/>
+          <xsl:with-param name="rowspan" select="$rowspan - 1"/>
+        </xsl:call-template>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:template>
+
+  <!-- * ============================================================== -->
+  <!-- *    Build the "format section" for the table                    -->
+  <!-- * ============================================================== -->
+  <!-- * Description from the tbl(1) guide: -->
+  <!-- * -->
+  <!-- * "The format section of the table specifies the layout of the -->
+  <!-- * columns.  Each line in this section corresponds to one line of -->
+  <!-- * the table... and each line contains a key-letter for each -->
+  <!-- * column of the table." -->
+  <xsl:template name="create.table.format">
+    <xsl:param name="cells"/>
+    <xsl:apply-templates mode="table.format" select="$cells"/>
+    <!-- * last line of table format section must end with a dot -->
+    <!-- * we use U+2302 internally to mark dots, and replace them -->
+    <!-- * with real dots before serializing to output -->
+    <xsl:text>&#x2302;</xsl:text>
+  </xsl:template>
+
+  <xsl:template match="cell" mode="table.format">
+    <xsl:choose>
+      <xsl:when test="preceding-sibling::cell[1]/@row != @row">
+        <!-- * If the value of the row attribute on this cell is -->
+        <!-- * different from the value of that on the previous cell, it -->
+        <!-- * means we have a new row. So output a line break. -->
+        <xsl:text>&#xa;</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * If this isn't the first cell, output a space before it to -->
+        <!-- * separate it from the preceding key letter. -->
+        <xsl:if test="position() != 1">
+          <xsl:text> </xsl:text>
+        </xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+    <!-- * Select an appropriate "alignment" key letter based on this -->
+    <!-- * cell's attributes. -->
+    <xsl:choose>
+      <xsl:when test="@type = '^'">
+        <xsl:text>^</xsl:text>
+      </xsl:when>
+      <xsl:when test="@align = 'center'">
+        <xsl:text>c</xsl:text>
+      </xsl:when>
+      <xsl:when test="@align = 'right'">
+        <xsl:text>r</xsl:text>
+      </xsl:when>
+      <xsl:when test="@align = 'char'">
+        <xsl:text>n</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * Default to left alignment. -->
+        <xsl:text>l</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+    <!-- * By default, tbl(1) vertically centers cell contents within -->
+    <!-- * their cells; the "t" key latter tells it to top-align the -->
+    <!-- * contents instead. Note that tbl(1) has no options for -->
+    <!-- * bottom or baseline alignment. -->
+    <xsl:if test="@valign = 'top'">
+      <xsl:text>t</xsl:text>
+    </xsl:if>
+    <xsl:if test="@class = 'th'">
+      <!-- * If this is a heading row, generate a font indicator (B or I), -->
+      <!-- * or if the value of $tbl.font.headings is empty, nothing. -->
+      <xsl:value-of select="$tbl.font.headings"/>
+    </xsl:if>
+    <!-- * We only need to deal with colspans whose value is greater -->
+    <!-- * than one (a colspan="1" is the same as having no colspan -->
+    <!-- * attribute at all). -->
+    <xsl:if test="@colspan > 1">
+      <xsl:call-template name="process.colspan">
+        <xsl:with-param name="colspan" select="@colspan - 1"/>
+        <xsl:with-param name="type" select="@type"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:template>
+  
+  <xsl:template name="process.colspan">
+    <xsl:param name="colspan"/>
+    <xsl:param name="type"/>
+    <!-- * Output a space to separate this key letter from preceding one. -->
+    <xsl:text> </xsl:text>
+    <xsl:choose>
+      <xsl:when test="$type = '^'">
+        <!-- * A '^' ("vertically spanned heading" marker) indicates -->
+        <!-- * that the "parent" of this spanned cell is a dummy cell; -->
+        <!-- * in this case, we need to generate a '^' instead of the -->
+        <!-- * normal 's'. -->
+        <xsl:text>^</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- * s = 'spanned heading' -->
+        <xsl:text>s</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:if test="$colspan > 1">
+      <!-- * Tail recurse until we have no more colspans, outputting -->
+      <!-- * another marker each time. -->
+      <xsl:call-template name="process.colspan">
+        <xsl:with-param name="colspan" select="$colspan - 1"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:template>
+
+  <!-- * ============================================================== -->
+  <!-- *    colgroup and col                                            -->
+  <!-- * ============================================================== -->
+  <!-- * We currently don't do anything with colgroup. Not sure if it -->
+  <!-- * is widely used enough to bother adding support for it -->
+  <xsl:template match="colgroup"/>
+  <xsl:template match="col"/>
+
+  <!-- * ============================================================== -->
+  <!-- *    table footnotes                                      -->
+  <!-- * ============================================================== -->
+  <xsl:template match="footnote" mode="table.footnote.mode">
+    <xsl:variable name="footnotes" select=".//footnote"/>
+    <xsl:variable name="table.footnotes"
+                  select=".//tgroup//footnote"/>
+    <xsl:value-of select="$man.table.footnotes.divider"/>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:text>&#x2302;br&#10;</xsl:text>
+    <xsl:apply-templates select="*[1]" mode="footnote.body.number"/>
+    <xsl:apply-templates select="*[position() &gt; 1]"/>
+  </xsl:template>
+
+  <!-- * The following template for footnote.body.number mode was just -->
+  <!-- * lifted from the HTML stylesheets with some minor adjustments -->
+  <xsl:template match="*"  mode="footnote.body.number">
+    <xsl:variable name="name">
+      <xsl:text>ftn.</xsl:text>
+      <xsl:call-template name="object.id">
+        <xsl:with-param name="object" select="ancestor::footnote"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:variable name="href">
+      <xsl:text>#</xsl:text>
+      <xsl:call-template name="object.id">
+        <xsl:with-param name="object" select="ancestor::footnote"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:variable name="footnote.mark">
+      <xsl:text>[</xsl:text>
+      <xsl:apply-templates select="ancestor::footnote"
+                           mode="footnote.number"/>
+      <xsl:text>]&#10;</xsl:text>
+    </xsl:variable>
+    <xsl:variable name="html">
+      <xsl:apply-templates select="."/>
+    </xsl:variable>
+    <xsl:choose>
+      <xsl:when test="function-available('exsl:node-set')">
+        <xsl:variable name="html-nodes" select="exsl:node-set($html)"/>
+        <xsl:choose>
+          <xsl:when test="$html-nodes//p">
+            <xsl:apply-templates select="$html-nodes" mode="insert.html.p">
+              <xsl:with-param name="mark" select="$footnote.mark"/>
+            </xsl:apply-templates>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="$html-nodes" mode="insert.html.text">
+              <xsl:with-param name="mark" select="$footnote.mark"/>
+            </xsl:apply-templates>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$html"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <!-- * The HTML stylesheets output <sup><a>...</a></sup> around -->
+  <!-- * footnote markers in tables -->
+  <xsl:template match="th/sup">
+    <xsl:apply-templates/>
+  </xsl:template>
+  <xsl:template match="a">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/manpages/utility.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/manpages/utility.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/manpages/utility.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,430 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:dyn="http://exslt.org/dynamic"
+                xmlns:saxon="http://icl.com/saxon"
+                exclude-result-prefixes="exsl dyn saxon"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: utility.xsl 6529 2007-01-19 10:48:59Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- * This file contains "utility" templates that are called multiple -->
+<!-- * times per each Refentry. -->
+
+<!-- ==================================================================== -->
+
+  <!-- * NOTE TO DEVELOPERS: For ease of maintenance, the current -->
+  <!-- * manpages stylesheets use the mode="bold" and mode="italic" -->
+  <!-- * templates for *anything and everything* that needs to get -->
+  <!-- * boldfaced or italicized.   -->
+  <!-- * -->
+  <!-- * So if you add anything that needs bold or italic character -->
+  <!-- * formatting, try to apply these templates to it rather than -->
+  <!-- * writing separate code to format it. This can be a little odd if -->
+  <!-- * the content you want to format is not element content; in those -->
+  <!-- * cases, you need to turn it into element content before applying -->
+  <!-- * the template; see examples of this in the existing code. -->
+
+  <xsl:template mode="bold" match="*">
+    <xsl:for-each select="node()">
+      <xsl:text>&#x2593;fB</xsl:text>
+      <xsl:apply-templates select="."/>
+      <xsl:text>&#x2593;fR</xsl:text>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template mode="italic" match="*">
+    <xsl:for-each select="node()">
+      <xsl:text>&#x2593;fI</xsl:text>
+      <xsl:apply-templates select="."/>
+      <xsl:text>&#x2593;fR</xsl:text>
+    </xsl:for-each>
+  </xsl:template>
+
+  <!-- ================================================================== -->
+
+  <!-- * NOTE TO DEVELOPERS: For ease of maintenance, the current -->
+  <!-- * manpages stylesheets use the mode="prevent.line.breaking" -->
+  <!-- * templates for *anything and everything* that needs to have -->
+  <!-- * embedded spaces turned into no-break spaces in output - in -->
+  <!-- * order to prevent that output from getting broken across lines -->
+  <!-- * -->
+  <!-- * So if you add anything that whose output, try to apply this -->
+  <!-- * template to it rather than writing separate code to format -->
+  <!-- * it. This can be a little odd if the content you want to -->
+  <!-- * format is not element content; in those cases, you need to -->
+  <!-- * turn it into element content before applying the template; -->
+  <!-- * see examples of this in the existing code. -->
+  <!-- * -->
+  <!-- * This template is currently called by the funcdef and paramdef -->
+  <!-- * and group/arg templates. -->
+  <xsl:template mode="prevent.line.breaking" match="*">
+    <xsl:variable name="rcontent">
+      <xsl:apply-templates/>
+    </xsl:variable>
+    <xsl:variable name="content">
+      <xsl:value-of select="normalize-space($rcontent)"/>
+    </xsl:variable>
+    <xsl:call-template name="string.subst">
+      <xsl:with-param name="string" select="$content"/>
+      <xsl:with-param name="target" select="' '"/>
+      <!-- * U+2580 is a "UPPER HALF BLOCK"; we use it here because -->
+      <!-- * if we were to just use a normal space, it would get -->
+      <!-- * replaced when normalization is done. We replace it -->
+      <!-- * later with the groff markup for non-breaking space. -->
+      <xsl:with-param name="replacement" select="'&#x2580;'"/>
+    </xsl:call-template>
+  </xsl:template>
+
+  <!-- ================================================================== -->
+
+  <xsl:template name="suppress.hyphenation">
+    <!-- * we need to suppress hyphenation inline only if hyphenation is -->
+    <!-- * actually on, and even then only outside of Cmdsynopsis and -->
+    <!-- * Funcsynopsis, where it is already always turned off -->
+    <xsl:if test="$man.hyphenate != 0 and
+                  not(ancestor::cmdsynopsis) and
+                  not(ancestor::funcsynopsis)">
+      <xsl:text>&#x2593;%</xsl:text>
+    </xsl:if>
+  </xsl:template>
+
+  <!-- ================================================================== -->
+
+  <!-- * The replace.dots.and.dashes template is used to cause real -->
+  <!-- * dots and dashes to be output in the top comment (instead of -->
+  <!-- * escaped ones as in the source for the text displayed in the -->
+  <!-- * body of the page) -->
+  <xsl:template name="replace.dots.and.dashes">
+    <xsl:param name="content">
+      <xsl:apply-templates/>
+    </xsl:param>
+    <xsl:variable name="dot-content">
+      <xsl:call-template name="string.subst">
+        <xsl:with-param name="string" select="$content"/>
+        <xsl:with-param name="target" select="'.'"/>
+        <xsl:with-param name="replacement" select="'&#x2302;'"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:call-template name="string.subst">
+      <xsl:with-param name="string" select="$dot-content"/>
+      <xsl:with-param name="target" select="'-'"/>
+      <xsl:with-param name="replacement" select="'&#x2591;'"/>
+    </xsl:call-template>
+  </xsl:template>
+
+  <!-- ================================================================== -->
+
+  <!-- * The nested-section-title template is called for refsect3, and any -->
+  <!-- * refsection nested more than 2 levels deep. -->
+  <xsl:template name="nested-section-title">
+    <!-- * The next few lines are some arcane roff code to control line -->
+    <!-- * spacing after headings. -->
+    <xsl:text>&#x2302;sp&#10;</xsl:text>
+    <xsl:text>&#x2302;it 1 an&#x2591;trap&#10;</xsl:text>
+    <xsl:text>&#x2302;nr an&#x2591;no&#x2591;space&#x2591;flag 1&#10;</xsl:text>
+    <xsl:text>&#x2302;nr an&#x2591;break&#x2591;flag 1&#10;</xsl:text>
+    <xsl:text>&#x2302;br&#10;</xsl:text>
+    <!-- * make title wrapper so that we can use mode="bold" template to -->
+    <!-- * apply character formatting to it -->
+    <xsl:variable name="title.wrapper">
+      <bold><xsl:choose>
+        <xsl:when test="title">
+          <xsl:value-of select="normalize-space(title[1])"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="." mode="object.title.markup.textonly"/>
+        </xsl:otherwise>
+      </xsl:choose></bold>
+    </xsl:variable>
+    <xsl:call-template name="mark.subheading"/>
+    <xsl:apply-templates mode="bold" select="exsl:node-set($title.wrapper)"/>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:call-template name="mark.subheading"/>
+  </xsl:template>
+
+  <!-- ================================================================== -->
+
+  <!-- * The mixed-block template jumps through a few hoops to deal with -->
+  <!-- * mixed-content blocks, so that we don't end up munging verbatim -->
+  <!-- * environments or lists and so that we don't gobble up whitespace -->
+  <!-- * when we shouldn't -->
+  <xsl:template name="mixed-block">
+    <xsl:for-each select="node()">
+      <xsl:choose>
+        <!-- * Check to see if this node is a verbatim environment. -->
+        <!-- * If so, put a line of space before it. -->
+        <!-- * -->
+        <!-- * Yes, address and synopsis are vertabim environments. -->
+        <!-- * -->
+        <!-- * The code here previously also treated informaltable as a -->
+        <!-- * verbatim, presumably to support some kludge; I removed it -->
+        <xsl:when test="self::address|self::literallayout|self::programlisting|
+                        self::screen|self::synopsis">
+          <xsl:text>&#10;</xsl:text>
+          <xsl:text>&#x2302;sp&#10;</xsl:text>
+          <xsl:call-template name="mark.up.block.start"/>
+          <xsl:apply-templates select="."/>
+        </xsl:when>
+        <!-- * Check to see if this node is a list; if it is, we don't -->
+        <!-- * want to normalize-space(), so we just apply-templates. -->
+        <!-- * Do same for all admonitions -->
+        <xsl:when test="(self::itemizedlist|self::orderedlist|
+                        self::variablelist|self::glosslist|
+                        self::simplelist[@type !='inline']|
+                        self::segmentedlist|
+                        self::caution|self::important|
+                        self::note|self::tip|self::warning)">
+          <xsl:call-template name="mark.up.block.start"/>
+          <xsl:apply-templates select="."/>
+        </xsl:when>
+        <xsl:when test="self::text()">
+          <!-- * Check to see if this is a text node. -->
+          <!-- * -->
+          <!-- * If so, replace all whitespace at the beginning or end of it -->
+          <!-- * with a single linebreak. -->
+          <!-- * -->
+          <xsl:variable name="content">
+            <xsl:apply-templates select="."/>
+          </xsl:variable>
+          <xsl:if
+              test="starts-with(translate(.,'&#9;&#10;&#13; ','    '), ' ')
+                    and preceding-sibling::node()[1][name(.)!='']
+                    and normalize-space($content) != ''
+                    and not(
+                    preceding-sibling::*[1][
+                    self::caution or
+                    self::important or
+                    self::note or
+                    self::tip or
+                    self::warning or
+                    self::variablelist or
+                    self::glosslist or
+                    self::itemizedlist or
+                    self::orderedlist or
+                    self::segmentedlist or
+                    self::procedure or
+                    self::address or
+                    self::literallayout or
+                    self::programlisting or
+                    self::screen
+                    ]
+                    )
+                    ">
+            <xsl:text>&#10;</xsl:text>
+          </xsl:if>
+          <xsl:value-of select="normalize-space($content)"/>
+          <xsl:if
+              test="(translate(substring(., string-length(.), 1),'&#9;&#10;&#13; ','    ')  = ' '
+                    and following-sibling::node()[1][name(.)!=''])
+                    or following-sibling::node()[1][self::comment()]
+                    or following-sibling::node()[1][self::processing-instruction()]
+                    ">
+            <xsl:if test="normalize-space($content) != ''
+                          or concat(normalize-space($content), ' ') = ' '">
+              <xsl:text>&#10;</xsl:text>
+            </xsl:if>
+          </xsl:if>
+        </xsl:when>
+        <xsl:otherwise>
+          <!-- * At this point, we know that this node is not a verbatim -->
+          <!-- * environment, list, admonition, or text node; so we can -->
+          <!-- * safely normalize-space() it. -->
+          <xsl:variable name="content">
+            <xsl:apply-templates select="."/>
+          </xsl:variable>
+          <xsl:value-of select="normalize-space($content)"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:for-each>
+    <xsl:call-template name="mark.up.block.end"/>
+  </xsl:template>
+
+  <!-- ================================================================== -->
+
+  <!-- * Footnote and annotation contents are displayed using a hanging -->
+  <!-- * indent out to $man.indent.width If a paragraph-level block -->
+  <!-- * element (verbatim, list, or admonition) is the first block -->
+  <!-- * element nested at its same level within the same footnote or -->
+  <!-- * annotation, then we push it over by the same indent width. -->
+  <!-- * -->
+  <!-- * We don't reset the indent for each following sibling, but -->
+  <!-- * instead do it after for-eaching over all block siblings at -->
+  <!-- * the same level. So the effect is that if there are any -->
+  <!-- * following-sibling blocks after the block that starts this -->
+  <!-- * indent, then they just retain the indent that was already set -->
+
+  <xsl:template name="mark.up.block.start">
+    <xsl:choose>
+      <xsl:when test="(ancestor::footnote
+                      or ancestor::annotation)">
+        <xsl:if test="not(preceding-sibling::address|
+                      preceding-sibling::literallayout|
+                      preceding-sibling::programlisting|
+                      preceding-sibling::screen|
+                      preceding-sibling::synopsis|
+                      preceding-sibling::itemizedlist|
+                      preceding-sibling::orderedlist|
+                      preceding-sibling::variablelist|
+                      preceding-sibling::glosslist|
+                      preceding-sibling::simplelist[@type !='inline']|
+                      preceding-sibling::segmentedlist|
+                      preceding-sibling::caution|
+                      preceding-sibling::important|
+                      preceding-sibling::note|
+                      preceding-sibling::tip|
+                      preceding-sibling::warning)">
+          <xsl:text>&#x2302;RS</xsl:text>
+          <xsl:if test="not($list-indent = '')">
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="$list-indent"/>
+          </xsl:if>
+          <xsl:text>&#10;</xsl:text>
+        </xsl:if>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:template>
+
+  <!-- * Check to see if we were called from a block within a footnote or -->
+  <!-- * annotation; if so, and the block contains any nested block -->
+  <!-- * content, then we know the mark.up.block.end template was already -->
+  <!-- * called to generate a .RS macro to indent that nested block -->
+  <!-- * content; so we need to generated a .RE to set the margin back to -->
+  <!-- * where it was prior to the .RS call. -->
+  <xsl:template name="mark.up.block.end">
+    <xsl:if test="(ancestor::footnote
+                  or ancestor::annotation)">
+      <xsl:if test="address|
+                    literallayout|
+                    programlisting|
+                    screen|
+                    synopsis|
+                    itemizedlist|
+                    orderedlist|
+                    variablelist|
+                    glosslist|
+                    simplelist[@type !='inline']|
+                    segmentedlist|
+                    caution|
+                    important|
+                    note|
+                    tip|
+                    warning">
+        <xsl:text>&#10;</xsl:text>
+        <xsl:text>&#x2302;RE</xsl:text>
+      <xsl:text>&#10;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+  </xsl:template>
+
+  <!-- ================================================================== -->
+
+  <!-- * The person.name template in the HTML stylesheets outputs extra -->
+  <!-- * spaces that we need to strip out for manpages output. This -->
+  <!-- * template calls person.name, then tries to do some smart -->
+  <!-- * normalization of the result tree fragment from that. -->
+  <xsl:template name="person.name.normalized">
+    <xsl:variable name="contents">
+      <xsl:call-template name="person.name"/>
+    </xsl:variable>
+    <!-- * We put the output of person.name into a node-set and then we -->
+    <!-- * check it node-by-node and strip out space only where needed. -->
+    <xsl:variable name="contents.tree" select="exsl:node-set($contents)"/>
+    <xsl:for-each select="$contents.tree/node()">
+      <xsl:choose>
+        <!-- * We don't want to monkey with single spaces or commas/periods -->
+        <!-- * followed by spaces, because those are bits of text that are -->
+        <!-- * actually generated by the person.name template itself (that -->
+        <!-- * is, they're not in the source. So, we preserve them. -->
+        <xsl:when test=". = ' ' or . = ', ' or . = '. '">
+          <xsl:value-of select="."/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="normalize-space(.)"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:for-each>
+  </xsl:template>
+
+  <!-- ================================================================== -->
+
+  <xsl:template name="make.adjusted.man.filename">
+    <xsl:param name="name"/>
+    <xsl:param name="lang"/>
+    <xsl:param name="name.with.lang">
+      <xsl:choose>
+        <xsl:when test="not($man.output.lang.in.name.enabled = 0)
+                        and ($man.output.subdirs.enabled = 0)">
+          <!-- * user has specified man.output.lang.in.name.enabled -->
+          <!-- * AND doesn't want output going into separate manN dirs, -->
+          <!-- * so we include the $lang value in the filename; e.g., -->
+          <!-- * foo.ja.1 -->
+          <xsl:value-of select="concat($name, '.', $lang)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <!-- * user either has man.output.lang.in.name.enabled unset -->
+          <!-- * or has set it but also has man.output.subdirs.enabled -->
+          <!-- * set (in which case the $lang value is used to add a -->
+          <!-- * $lang subdir in the pathname); in either case, we don't -->
+          <!-- * want to include the $lang in the filename -->
+          <xsl:value-of select="$name"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:param>
+    <xsl:param name="section"/>
+    <xsl:param name="dirname">
+      <xsl:if test="not($man.output.in.separate.dir = 0)">
+        <xsl:choose>
+          <xsl:when test="not($man.output.subdirs.enabled = 0)">
+            <xsl:variable name="lang.subdir">
+              <xsl:if test="not($man.output.lang.in.name.enabled = 0)">
+                <!-- * user has man.output.lang.in.name.enabled set, so -->
+                <!-- * we need add a $lang subdir -->
+                <xsl:value-of select="concat($lang, '/')"/>
+              </xsl:if>
+            </xsl:variable>
+            <xsl:value-of
+                select="concat($man.output.base.dir, $lang.subdir,
+                        'man', normalize-space($section), '/')"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$man.output.base.dir"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:if>
+    </xsl:param>
+    <xsl:call-template name="string.subst">
+      <!-- * Replace any spaces in filename with underscores & then append -->
+      <!-- * a dot plus a section number to create the man filename -->
+      <xsl:with-param name="string"
+                      select="concat($dirname,
+                              normalize-space($name.with.lang),
+                              '.', normalize-space($section))"/>
+      <xsl:with-param name="target" select="' '"/>
+      <xsl:with-param name="replacement" select="'_'"/>
+    </xsl:call-template>
+  </xsl:template>
+  
+  <!-- ================================================================== -->
+
+  <!-- * Put a horizontal rule or other divider around section titles -->
+  <!-- * in roff source (just to make things easier to read). -->
+  <xsl:template name="mark.subheading">
+    <xsl:if test="$man.subheading.divider.enabled != 0">
+      <xsl:text>&#x2302;&#x2593;" </xsl:text>
+      <xsl:value-of select="$man.subheading.divider"/>
+      <xsl:text>&#10;</xsl:text>
+    </xsl:if>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/params/abstract.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/abstract.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/abstract.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="abstract.properties">
+<refnamediv>
+<refname>abstract.properties</refname>
+<refpurpose>Properties associated with the block surrounding an abstract</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='abstract.properties.frag'>
+<xsl:attribute-set name="abstract.properties">
+  <xsl:attribute name="start-indent">0.0in</xsl:attribute>
+  <xsl:attribute name="end-indent">0.0in</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Block styling properties for abstract.</para>
+
+<para>See also <parameter>abstract.title.properties</parameter>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/abstract.title.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/abstract.title.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/abstract.title.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,40 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="abstract.title.properties">
+<refmeta>
+<refentrytitle>abstract.title.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>abstract.title.properties</refname>
+<refpurpose>Properties for abstract titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='abstract.title.properties.frag'>
+<xsl:attribute-set name="abstract.title.properties">
+  <xsl:attribute name="font-family"><xsl:value-of
+            select="$title.fontset"/></xsl:attribute>
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="space-before.optimum"><xsl:value-of
+            select="concat($body.font.master, 'pt')"/></xsl:attribute>
+  <xsl:attribute name="space-before.minimum"><xsl:value-of
+            select="concat($body.font.master, 'pt * 0.8')"/></xsl:attribute>
+  <xsl:attribute name="space-before.maximum"><xsl:value-of
+            select="concat($body.font.master, 'pt * 1.2')"/></xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="text-align">center</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties for abstract titles.</para>
+
+<para>See also <parameter>abstract.properties</parameter>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/admon.graphics.extension.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/admon.graphics.extension.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/admon.graphics.extension.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="admon.graphics.extension">
+<refmeta>
+<refentrytitle>admon.graphics.extension</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>admon.graphics.extension</refname>
+<refpurpose>Extension for admonition graphics</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='admon.graphics.extension.frag'><xsl:param name="admon.graphics.extension" select="'.png'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Sets the extension to use on admonition graphics.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/admon.graphics.path.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/admon.graphics.path.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/admon.graphics.path.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="admon.graphics.path">
+<refmeta>
+<refentrytitle>admon.graphics.path</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>admon.graphics.path</refname>
+<refpurpose>Path to admonition graphics</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='admon.graphics.path.frag'><xsl:param name="admon.graphics.path">images/</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Sets the path, probably relative to the directory where the HTML
+files are created, to the admonition graphics.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/admon.graphics.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/admon.graphics.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/admon.graphics.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="admon.graphics">
+<refmeta>
+<refentrytitle>admon.graphics</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>admon.graphics</refname>
+<refpurpose>Use graphics in admonitions?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='admon.graphics.frag'>
+<xsl:param name="admon.graphics" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), admonitions are presented in an alternate style that uses
+a graphic.  Default graphics are provided in the distribution.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/admon.style.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/admon.style.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/admon.style.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="admon.style">
+<refmeta>
+<refentrytitle>admon.style</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>admon.style</refname>
+<refpurpose>CSS style attributes for admonitions</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='admon.style.frag'><xsl:param name="admon.style">
+  <xsl:text>margin-left: 0.5in; margin-right: 0.5in;</xsl:text>
+</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the value of the <sgmltag class="attribute">STYLE</sgmltag>
+attribute that should be added to admonitions.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/admon.textlabel.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/admon.textlabel.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/admon.textlabel.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="admon.textlabel">
+<refmeta>
+<refentrytitle>admon.textlabel</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>admon.textlabel</refname>
+<refpurpose>Use text label in admonitions?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='admon.textlabel.frag'>
+<xsl:param name="admon.textlabel" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), admonitions are presented with a generated
+text label such as Note or Warning in the appropriate language.
+If zero, such labels are turned off, but any title child
+of the admonition element are still output.
+The default value is 1.
+</para>
+
+</refsect1>
+</refentry>
+

Added: trunk/docs/docbook/src/main/resources/params/admonition.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/admonition.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/admonition.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,18 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="admonition.properties">
+<refnamediv>
+<refname>admonition.properties</refname>
+<refpurpose>To set the style for admonitions.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='admonition.properties.frag'><xsl:attribute-set name="admonition.properties"/>
+</src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>How do you want admonitions styled? </para>
+<para>Set the font-size, weight, etc. to the style required</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/admonition.title.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/admonition.title.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/admonition.title.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="admonition.title.properties">
+<refnamediv>
+<refname>admonition.title.properties</refname>
+<refpurpose>To set the style for admonitions titles.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='admonition.title.properties.frag'>
+<xsl:attribute-set name="admonition.title.properties">
+  <xsl:attribute name="font-size">14pt</xsl:attribute>
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>How do you want admonitions titles styled? </para>
+<para>Set the font-size, weight etc to the style required.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/alignment.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/alignment.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/alignment.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="alignment">
+<refmeta>
+<refentrytitle>alignment</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>alignment</refname>
+<refpurpose>Specify the default text alignment</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='alignment.frag'><xsl:param name="alignment">justify</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The default text alignment is used for most body text.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/annotate.toc.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/annotate.toc.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/annotate.toc.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="annotate.toc">
+<refmeta>
+<refentrytitle>annotate.toc</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>annotate.toc</refname>
+<refpurpose>Annotate the Table of Contents?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='annotate.toc.frag'><xsl:param name="annotate.toc" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true, TOCs will be annotated. At present, this just means
+that the <sgmltag>RefPurpose</sgmltag> of <sgmltag>RefEntry</sgmltag>
+TOC entries will be displayed.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/annotation.css.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/annotation.css.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/annotation.css.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,68 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="annotation.css">
+<refmeta>
+<refentrytitle>annotation.css</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>annotation.css</refname>
+<refpurpose>Enable annotations?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='annotation.css.frag'>
+<xsl:param name="annotation.css">
+/* ======================================================================
+   Annotations
+*/
+
+div.annotation-list  { visibility: hidden;
+                     }
+
+div.annotation-nocss { position: absolute;
+                       visibility: hidden;
+                     }
+
+div.annotation-popup { position: absolute;
+                       z-index: 4;
+                       visibility: hidden;
+                       padding: 0px;
+                       margin: 2px;
+                       border-style: solid;
+                       border-width: 1px;
+                       width: 200px;
+		       background-color: white;
+                     }
+
+div.annotation-title { padding: 1px;
+                       font-weight: bold;
+                       border-bottom-style: solid;
+                       border-bottom-width: 1px;
+		       color: white;
+		       background-color: black;
+                     }
+
+div.annotation-body  { padding: 2px;
+                     }
+
+div.annotation-body p { margin-top: 0px;
+                        padding-top: 0px;
+                      }
+
+div.annotation-close { position: absolute;
+                       top: 2px;
+                       right: 2px;
+                     }
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <property>annotation.support</property> is enabled and the
+document contains <sgmltag>annotation</sgmltag>s, then the CSS in this
+parameter will be included in the document.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/annotation.graphic.close.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/annotation.graphic.close.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/annotation.graphic.close.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="annotation.graphic.close">
+<refmeta>
+<refentrytitle>annotation.graphic.close</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>annotation.graphic.close</refname>
+<refpurpose>Enable annotations?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='annotation.graphic.close.frag'>
+<xsl:param name="annotation.graphic.close"
+   select="'http://docbook.sourceforge.net/release/images/annot-close.png'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This image is used on popup annotations as the “x” that the
+user can click to dismiss the popup.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/annotation.graphic.open.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/annotation.graphic.open.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/annotation.graphic.open.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="annotation.graphic.open">
+<refmeta>
+<refentrytitle>annotation.graphic.open</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>annotation.graphic.open</refname>
+<refpurpose>Enable annotations?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='annotation.graphic.open.frag'>
+<xsl:param name="annotation.graphic.open"
+   select="'http://docbook.sourceforge.net/release/images/annot-open.png'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This image is used inline to identify the location of
+annotations.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/annotation.js.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/annotation.js.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/annotation.js.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="annotation.js">
+<refmeta>
+<refentrytitle>annotation.js</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>annotation.js</refname>
+<refpurpose>Enable annotations?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='annotation.js.frag'>
+<xsl:param name="annotation.js"
+   select="'http://docbook.sourceforge.net/release/script/AnchorPosition.js
+            http://docbook.sourceforge.net/release/script/PopupWindow.js'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <property>annotation.support</property> is enabled and the
+document contains <sgmltag>annotation</sgmltag>s, then the URIs listed
+in this parameter will be included. These JavaScript files are required
+for popup annotation support.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/annotation.support.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/annotation.support.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/annotation.support.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="annotation.support">
+<refmeta>
+<refentrytitle>annotation.support</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>annotation.support</refname>
+<refpurpose>Enable annotations?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='annotation.support.frag'>
+<xsl:param name="annotation.support" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, the stylesheets will attempt to support annotation
+elements in HTML by including some JavaScript (see
+<parameter>annotation.js</parameter>).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/appendix.autolabel.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/appendix.autolabel.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/appendix.autolabel.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,64 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="appendix.autolabel">
+<refmeta>
+<refentrytitle>appendix.autolabel</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>appendix.autolabel</refname>
+<refpurpose>Specifies the labeling format for Appendix titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='appendix.autolabel.frag'>
+<xsl:param name="appendix.autolabel" select="'A'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If zero, then appendices will not be numbered.
+Otherwise appendices will be numbered, using the parameter value
+as the number format if the value matches one of the following:
+</para>
+
+<variablelist>
+  <varlistentry>
+    <term>1 or arabic</term>
+    <listitem>
+      <para>Arabic numeration (1, 2, 3 ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>A or upperalpha</term>
+    <listitem>
+      <para>Uppercase letter numeration (A, B, C ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>a or loweralpha</term>
+    <listitem>
+      <para>Lowercase letter numeration (a, b, c ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>I or upperroman</term>
+    <listitem>
+      <para>Uppercase roman numeration (I, II, III ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>i or lowerroman</term>
+    <listitem>
+      <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
+    </listitem>
+  </varlistentry>
+</variablelist>
+
+<para>Any nonzero value other than the above will generate
+the default number format (upperalpha).
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/arbortext.extensions.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/arbortext.extensions.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/arbortext.extensions.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="arbortext.extensions">
+<refmeta>
+<refentrytitle>arbortext.extensions</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>arbortext.extensions</refname>
+<refpurpose>Enable Arbortext extensions?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='arbortext.extensions.frag'><xsl:param name="arbortext.extensions" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero,
+<ulink url="http://www.arbortext.com/">Arbortext</ulink>
+extensions will be used.
+</para>
+<para>This parameter can also affect which graphics file formats
+are supported</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/article.appendix.title.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/article.appendix.title.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/article.appendix.title.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,33 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="article.appendix.title.properties">
+<refmeta>
+<refentrytitle>article.appendix.title.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>article.appendix.title.properties</refname>
+<refpurpose>Properties for appendix titles that appear in an article</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='article.appendix.title.properties.frag'>
+<xsl:attribute-set name="article.appendix.title.properties"
+                   use-attribute-sets="section.title.properties
+		                       section.title.level1.properties">
+  <xsl:attribute name="margin-left">
+    <xsl:value-of select="$title.margin.left"/>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties for the title of an appendix that
+appears inside an article.  The default is to use
+the properties of sect1 titles.</para>
+
+</refsect1>
+</refentry>
+

Added: trunk/docs/docbook/src/main/resources/params/author.othername.in.middle.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/author.othername.in.middle.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/author.othername.in.middle.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="author.othername.in.middle">
+<refmeta>
+<refentrytitle>author.othername.in.middle</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>author.othername.in.middle</refname>
+<refpurpose>Is <sgmltag>othername</sgmltag> in <sgmltag>author</sgmltag> a
+middle name?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='author.othername.in.middle.frag'><xsl:param name="author.othername.in.middle" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), the <sgmltag>othername</sgmltag> of an <sgmltag>author</sgmltag>
+appears between the <sgmltag>firstname</sgmltag> and
+<sgmltag>surname</sgmltag>.  Otherwise, <sgmltag>othername</sgmltag>
+is suppressed.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/autotoc.label.in.hyperlink.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/autotoc.label.in.hyperlink.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/autotoc.label.in.hyperlink.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="autotoc.label.in.hyperlink">
+<refmeta>
+<refentrytitle>autotoc.label.in.hyperlink</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>autotoc.label.in.hyperlink</refname>
+<refpurpose>Include lable in hyperlinked titles in TOC?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='autotoc.label.in.hyperlink.frag'><xsl:param name="autotoc.label.in.hyperlink" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of
+<parameter>autotoc.label.in.hyperlink</parameter> is non-zero, labels
+are included in hyperlinked titles in the TOC. If it is instead zero,
+labels are still displayed prior to the hyperlinked titles, but
+are not hyperlinked along with the titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/autotoc.label.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/autotoc.label.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/autotoc.label.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="autotoc.label.separator">
+<refmeta>
+<refentrytitle>autotoc.label.separator</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>autotoc.label.separator</refname>
+<refpurpose>Separator between labels and titles in the ToC</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='autotoc.label.separator.frag'><xsl:param name="autotoc.label.separator" select="'. '"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>String to use to seperate labels and title in a table of contents.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/axf.extensions.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/axf.extensions.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/axf.extensions.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="axf.extensions">
+<refmeta>
+<refentrytitle>axf.extensions</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>axf.extensions</refname>
+<refpurpose>Enable XSL Formatter extensions?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='axf.extensions.frag'>
+<xsl:param name="axf.extensions" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero,
+<ulink url="http://www.antennahouse.com/">XSL Formatter</ulink>
+extensions will be used. XSL Formatter extensions consists of PDF bookmarks,
+document information and better index processing.</para>
+
+<para>This parameter can also affect which graphics file formats
+are supported</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/base.dir.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/base.dir.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/base.dir.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="base.dir">
+<refmeta>
+<refentrytitle>base.dir</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>base.dir</refname>
+<refpurpose>The base directory of chunks</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='base.dir.frag'><xsl:param name="base.dir" select="''"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If specified, the <literal>base.dir</literal> identifies
+the output directory for chunks. (If not specified, the output directory
+is system dependent.)</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/biblioentry.item.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/biblioentry.item.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/biblioentry.item.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="biblioentry.item.separator">
+<refmeta>
+<refentrytitle>biblioentry.item.separator</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>biblioentry.item.separator</refname>
+<refpurpose>Text to separate bibliography entries</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='biblioentry.item.separator.frag'><xsl:param name="biblioentry.item.separator">. </xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Text to separate bibliography entries
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/biblioentry.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/biblioentry.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/biblioentry.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,21 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="biblioentry.properties">
+<refnamediv>
+<refname>biblioentry.properties</refname>
+<refpurpose>To set the style for biblioentry.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='biblioentry.properties.frag'><xsl:attribute-set name="biblioentry.properties" use-attribute-sets="normal.para.spacing">
+  <xsl:attribute name="start-indent">0.5in</xsl:attribute>
+  <xsl:attribute name="text-indent">-0.5in</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>How do you want biblioentry styled? </para>
+<para>Set the font-size, weight, space-above and space-below, indents, etc. to the style required</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/bibliography.collection.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/bibliography.collection.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/bibliography.collection.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,98 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="bibliography.collection">
+<refmeta>
+<refentrytitle>bibliography.collection</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>bibliography.collection</refname>
+<refpurpose>Name of the bibliography collection file</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='bibliography.collection.frag'><xsl:param name="bibliography.collection" select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Maintaining bibliography entries across a set of documents is tedious, time
+consuming, and error prone. It makes much more sense, usually, to store all of
+the bibliography entries in a single place and simply <quote>extract</quote>
+the ones you need in each document.</para>
+
+<para>That's the purpose of the
+<parameter>bibliography.collection</parameter> parameter. To setup a global
+bibliography <quote>database</quote>, follow these steps:</para>
+
+<para>First, create a stand-alone bibliography document that contains all of
+the documents that you wish to reference. Make sure that each bibliography
+entry (whether you use <sgmltag>biblioentry</sgmltag> or <sgmltag>bibliomixed</sgmltag>)
+has an ID.</para>
+
+<para>My global bibliography, <filename>~/bibliography.xml</filename> begins
+like this:</para>
+
+<informalexample>
+<programlisting><![CDATA[<!DOCTYPE bibliography
+  PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<bibliography><title>References</title>
+
+<bibliomixed id="xml-rec"><abbrev>XML 1.0</abbrev>Tim Bray,
+Jean Paoli, C. M. Sperberg-McQueen, and Eve Maler, editors.
+<citetitle><ulink url="http://www.w3.org/TR/REC-xml">Extensible Markup
+Language (XML) 1.0 Second Edition</ulink></citetitle>.
+World Wide Web Consortium, 2000.
+</bibliomixed>
+
+<bibliomixed id="xml-names"><abbrev>Namespaces</abbrev>Tim Bray,
+Dave Hollander,
+and Andrew Layman, editors.
+<citetitle><ulink url="http://www.w3.org/TR/REC-xml-names/">Namespaces in
+XML</ulink></citetitle>.
+World Wide Web Consortium, 1999.
+</bibliomixed>
+
+<!-- ... -->
+</bibliography>
+]]></programlisting>
+</informalexample>
+
+<para>When you create a bibliography in your document, simply
+provide <emphasis>empty</emphasis> <sgmltag>bibliomixed</sgmltag>
+entries for each document that you wish to cite. Make sure that these
+elements have the same ID as the corresponding <quote>real</quote>
+entry in your global bibliography.</para>
+
+<para>For example:</para>
+
+<informalexample>
+<programlisting><![CDATA[<bibliography><title>Bibliography</title>
+
+<bibliomixed id="xml-rec"/>
+<bibliomixed id="xml-names"/>
+<bibliomixed id="DKnuth86">Donald E. Knuth. <citetitle>Computers and
+Typesetting: Volume B, TeX: The Program</citetitle>. Addison-Wesley,
+1986.  ISBN 0-201-13437-3.
+</bibliomixed>
+<bibliomixed id="relaxng"/>
+
+</bibliography>]]></programlisting>
+</informalexample>
+
+<para>Note that it's perfectly acceptable to mix entries from your
+global bibliography with <quote>normal</quote> entries. You can use
+<sgmltag>xref</sgmltag> or other elements to cross-reference your
+bibliography entries in exactly the same way you do now.</para>
+
+<para>Finally, when you are ready to format your document, simply set the
+<parameter>bibliography.collection</parameter> parameter (in either a
+customization layer or directly through your processor's interface) to
+point to your global bibliography.</para>
+
+<para>The stylesheets will format the bibliography in your document as if
+all of the entries referenced appeared there literally.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/bibliography.numbered.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/bibliography.numbered.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/bibliography.numbered.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="bibliography.numbered">
+<refmeta>
+<refentrytitle>bibliography.numbered</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>bibliography.numbered</refname>
+<refpurpose>Should bibliography entries be numbered?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='bibliography.numbered.frag'>
+<xsl:param name="bibliography.numbered" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero bibliography entries will be numbered</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/blockquote.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/blockquote.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/blockquote.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="blockquote.properties">
+<refnamediv>
+<refname>blockquote.properties</refname>
+<refpurpose>To set the style for block quotations.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='blockquote.properties.frag'>
+<xsl:attribute-set name="blockquote.properties">
+<xsl:attribute name="margin-left">0.5in</xsl:attribute>
+<xsl:attribute name="margin-right">0.5in</xsl:attribute>
+<xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
+<xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+<xsl:attribute name="space-after.maximum">2em</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>blockquote.properties</parameter> attribute set specifies
+the formating properties of block quotations.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/blurb.on.titlepage.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/blurb.on.titlepage.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/blurb.on.titlepage.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="blurb.on.titlepage.enabled">
+<refmeta>
+<refentrytitle>blurb.on.titlepage.enabled</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>blurb.on.titlepage.enabled</refname>
+<refpurpose>Display personblurb and authorblurb on title pages?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='blurb.on.titlepage.enabled.frag'><xsl:param name="blurb.on.titlepage.enabled">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, output from <sgmltag>authorblurb</sgmltag> and
+<sgmltag>personblurb</sgmltag> elements is displayed on title
+pages. If zero (the default), output from those elements is suppressed
+on title pages (unless you are using a titlepage customization that
+causes them to be included).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/body.end.indent.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/body.end.indent.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/body.end.indent.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,34 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="body.end.indent">
+<refmeta>
+<refentrytitle>body.end.indent</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>body.end.indent</refname>
+<refpurpose>The end-indent for the body text</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='body.end.indent.frag'>
+<xsl:param name="body.end.indent" select="'0pt'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This end-indent property is added to the fo:flow
+for certain page sequences.  Which page-sequences it is 
+applied to is determined by the template named
+<literal>set.flow.properties</literal>.
+By default, that template adds it to the flow
+for page-sequences using the <quote>body</quote>
+master-reference, as well as appendixes and prefaces.
+</para>
+
+<para>See also <parameter>body.start.indent</parameter>.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/body.font.family.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/body.font.family.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/body.font.family.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="body.font.family">
+<refmeta>
+<refentrytitle>body.font.family</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>body.font.family</refname>
+<refpurpose>The default font family for body text</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='body.font.family.frag'>
+<xsl:param name="body.font.family" select="'serif'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The body font family is the default font used for text in the page body.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/body.font.master.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/body.font.master.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/body.font.master.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="body.font.master">
+<refmeta>
+<refentrytitle>body.font.master</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>body.font.master</refname>
+<refpurpose>Specifies the default point size for body text</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='body.font.master.frag'>
+<xsl:param name="body.font.master">10</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The body font size is specified in two parameters
+(<varname>body.font.master</varname> and <varname>body.font.size</varname>)
+so that math can be performed on the font size by XSLT.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/body.font.size.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/body.font.size.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/body.font.size.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="body.font.size">
+<refmeta>
+<refentrytitle>body.font.size</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>body.font.size</refname>
+<refpurpose>Specifies the default font size for body text</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='body.font.size.frag'><xsl:param name="body.font.size">
+ <xsl:value-of select="$body.font.master"/><xsl:text>pt</xsl:text>
+</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The body font size is specified in two parameters
+(<varname>body.font.master</varname> and <varname>body.font.size</varname>)
+so that math can be performed on the font size by XSLT.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/body.margin.bottom.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/body.margin.bottom.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/body.margin.bottom.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="body.margin.bottom">
+<refmeta>
+<refentrytitle>body.margin.bottom</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>body.margin.bottom</refname>
+<refpurpose>The bottom margin of the body text</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='body.margin.bottom.frag'>
+<xsl:param name="body.margin.bottom" select="'0.5in'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The body bottom margin is the distance from the last line of text
+in the page body to the bottom of the region-after.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/body.margin.top.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/body.margin.top.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/body.margin.top.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="body.margin.top">
+<refmeta>
+<refentrytitle>body.margin.top</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>body.margin.top</refname>
+<refpurpose>To specify the size of the top margin of a page</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='body.margin.top.frag'>
+<xsl:param name="body.margin.top" select="'0.5in'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The body top margin is the distance from the top of the region-before
+to the first line of text in the page body.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/body.start.indent.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/body.start.indent.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/body.start.indent.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,59 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="body.start.indent">
+<refmeta>
+<refentrytitle>body.start.indent</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>body.start.indent</refname>
+<refpurpose>The start-indent for the body text</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='body.start.indent.frag'>
+<xsl:param name="body.start.indent">
+  <xsl:choose>
+    <xsl:when test="$fop.extensions != 0">0pt</xsl:when>
+    <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
+    <xsl:otherwise>4pc</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter provides
+one means of indenting the body text relative to
+the left page margin.
+It is used in place of the 
+<parameter>title.margin.left</parameter> for
+all XSL-FO processors except FOP.
+It enables support for side floats to appear
+in the indented margin area.
+</para>
+<para>This start-indent property is added to the fo:flow
+for certain page sequences.  Which page-sequences it is 
+applied to is determined by the template named
+<literal>set.flow.properties</literal>.
+By default, that template adds it to the flow
+for page-sequences using the <quote>body</quote>
+master-reference, as well as appendixes and prefaces.
+</para>
+<para>If this parameter is used, section titles should have
+a start-indent value of 0pt if they are to be
+outdented relative to the body text.
+</para>
+
+<para>If you are using FOP, then set this parameter to a zero
+width value and set the <parameter>title.margin.left</parameter>
+parameter to the negative value of the desired indent.
+</para>
+
+<para>See also <parameter>body.end.indent</parameter> and
+<parameter>title.margin.left</parameter>.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/bridgehead.in.toc.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/bridgehead.in.toc.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/bridgehead.in.toc.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="bridgehead.in.toc">
+<refmeta>
+<refentrytitle>bridgehead.in.toc</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>bridgehead.in.toc</refname>
+<refpurpose>Should bridgehead elements appear in the TOC?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='bridgehead.in.toc.frag'><xsl:param name="bridgehead.in.toc" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, bridgeheads appear in the TOC. Note that this option
+is not fully supported and may be removed in a future version of the
+stylesheets.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/callout.defaultcolumn.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/callout.defaultcolumn.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/callout.defaultcolumn.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="callout.defaultcolumn">
+<refmeta>
+<refentrytitle>callout.defaultcolumn</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>callout.defaultcolumn</refname>
+<refpurpose>Indicates what column callouts appear in by default</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='callout.defaultcolumn.frag'><xsl:param name="callout.defaultcolumn" select="'60'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If a callout does not identify a column (for example, if it uses
+the <literal>linerange</literal> <sgmltag class="attribute">unit</sgmltag>),
+it will appear in the default column.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/callout.graphics.extension.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/callout.graphics.extension.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/callout.graphics.extension.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="callout.graphics.extension">
+<refmeta>
+<refentrytitle>callout.graphics.extension</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>callout.graphics.extension</refname>
+<refpurpose>Extension for callout graphics</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='callout.graphics.extension.frag'><xsl:param name="callout.graphics.extension" select="'.png'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Sets the extension to use on callout graphics.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/callout.graphics.number.limit.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/callout.graphics.number.limit.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/callout.graphics.number.limit.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="callout.graphics.number.limit">
+<refmeta>
+<refentrytitle>callout.graphics.number.limit</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>callout.graphics.number.limit</refname>
+<refpurpose>Number of the largest callout graphic</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='callout.graphics.number.limit.frag'><xsl:param name="callout.graphics.number.limit" select="'15'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>callout.graphics</parameter>
+is non-zero, graphics are used to represent
+callout numbers. The value of
+<parameter>callout.graphics.number.limit</parameter>
+is
+the largest number for which a graphic exists. If the callout number
+exceeds this limit, the default presentation "(nnn)" will always
+be used.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/callout.graphics.path.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/callout.graphics.path.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/callout.graphics.path.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="callout.graphics.path">
+<refmeta>
+<refentrytitle>callout.graphics.path</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>callout.graphics.path</refname>
+<refpurpose>Path to callout graphics</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='callout.graphics.path.frag'>
+<xsl:param name="callout.graphics.path" select="'images/callouts/'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Sets the path, probably relative to the directory where the HTML
+files are created, to the callout graphics.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/callout.graphics.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/callout.graphics.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/callout.graphics.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="callout.graphics">
+<refmeta>
+<refentrytitle>callout.graphics</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>callout.graphics</refname>
+<refpurpose>Use graphics for callouts?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='callout.graphics.frag'>
+<xsl:param name="callout.graphics" select="'1'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, callouts are presented with graphics (e.g., reverse-video
+circled numbers instead of "(1)", "(2)", etc.).
+Default graphics are provided in the distribution.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/callout.list.table.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/callout.list.table.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/callout.list.table.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="callout.list.table">
+<refmeta>
+<refentrytitle>callout.list.table</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>callout.list.table</refname>
+<refpurpose>Present callout lists using a table?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='callout.list.table.frag'><xsl:param name="callout.list.table" select="'1'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The default presentation of <sgmltag>CalloutList</sgmltag>s uses
+an HTML <sgmltag>DL</sgmltag>. Some browsers don't align DLs very well
+if <parameter>callout.graphics</parameter> are used. With this option
+turned on, <sgmltag>CalloutList</sgmltag>s are presented in an HTML
+<sgmltag>TABLE</sgmltag>, which usually results in better alignment
+of the callout number with the callout description.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/callout.unicode.font.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/callout.unicode.font.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/callout.unicode.font.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="callout.unicode.font">
+<refmeta>
+<refentrytitle>callout.unicode.font</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>callout.unicode.font</refname>
+<refpurpose>Specify a font for Unicode glyphs</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='callout.unicode.font.frag'><xsl:param name="callout.unicode.font" select="'ZapfDingbats'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The name of the font to specify around Unicode callout glyphs.
+If set to the empty string, no font change will occur.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/callout.unicode.number.limit.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/callout.unicode.number.limit.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/callout.unicode.number.limit.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="callout.unicode.number.limit">
+<refmeta>
+<refentrytitle>callout.unicode.number.limit</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>callout.unicode.number.limit</refname>
+<refpurpose>Number of the largest callout graphic</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='callout.unicode.number.limit.frag'><xsl:param name="callout.unicode.number.limit" select="'10'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>callout.unicode</parameter>
+is non-zero, unicode characters are used to represent
+callout numbers. The value of
+<parameter>callout.unicode.number.limit</parameter>
+is
+the largest number for which a unicode character exists. If the callout number
+exceeds this limit, the default presentation "(nnn)" will always
+be used.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/callout.unicode.start.character.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/callout.unicode.start.character.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/callout.unicode.start.character.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="callout.unicode.start.character">
+<refmeta>
+<refentrytitle>callout.unicode.start.character</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>callout.unicode.start.character</refname>
+<refpurpose>First Unicode character to use, decimal value.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='callout.unicode.start.character.frag'><xsl:param name="callout.unicode.start.character" select="10102"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>callout.graphics</parameter> is zero and <parameter>callout.unicode</parameter>
+is non-zero, unicode characters are used to represent
+callout numbers. The value of
+<parameter>callout.unicode.start.character</parameter>
+is the decimal unicode value used for callout number one. Currently, 
+only 10102 is supported in the stylesheets for this parameter. 
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/callout.unicode.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/callout.unicode.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/callout.unicode.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="callout.unicode">
+<refmeta>
+<refentrytitle>callout.unicode</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>callout.unicode</refname>
+<refpurpose>Use Unicode characters rather than images for callouts.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='callout.unicode.frag'><xsl:param name="callout.unicode" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The stylesheets can use either an image of the numbers one to ten, or the single Unicode character which represents the numeral, in white on a black background. Use this to select the Unicode character option.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/callouts.extension.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/callouts.extension.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/callouts.extension.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="callouts.extension">
+<refmeta>
+<refentrytitle>callouts.extension</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>callouts.extension</refname>
+<refpurpose>Enable the callout extension</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='callouts.extension.frag'><xsl:param name="callouts.extension" select="'1'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The callouts extension processes <sgmltag>areaset</sgmltag>
+elements in <sgmltag>ProgramListingCO</sgmltag> and other text-based
+callout elements.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chapter.autolabel.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chapter.autolabel.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chapter.autolabel.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,62 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chapter.autolabel">
+<refmeta>
+<refentrytitle>chapter.autolabel</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chapter.autolabel</refname>
+<refpurpose>Specifies the labeling format for Chapter titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='chapter.autolabel.frag'><xsl:param name="chapter.autolabel" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If zero, then chapters will not be numbered.
+Otherwise chapters will be numbered, using the parameter value
+as the number format if the value matches one of the following:
+</para>
+
+<variablelist>
+  <varlistentry>
+    <term>1 or arabic</term>
+    <listitem>
+      <para>Arabic numeration (1, 2, 3 ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>A or upperalpha</term>
+    <listitem>
+      <para>Uppercase letter numeration (A, B, C ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>a or loweralpha</term>
+    <listitem>
+      <para>Lowercase letter numeration (a, b, c ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>I or upperroman</term>
+    <listitem>
+      <para>Uppercase roman numeration (I, II, III ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>i or lowerroman</term>
+    <listitem>
+      <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
+    </listitem>
+  </varlistentry>
+</variablelist>
+
+<para>Any nonzero value other than the above will generate
+the default number format (arabic).
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunk.append.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunk.append.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunk.append.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunk.append">
+<refmeta>
+<refentrytitle>chunk.append</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>chunk.append</refname>
+<refpurpose>Specifies content to append to chunked HTML output</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='chunk.append.frag'><xsl:param name="chunk.append"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies content to append to the end of HTML files output by
+the <filename>html/chunk.xsl</filename> stylesheet, after the closing
+<code>&lt;html></code> tag. You probably don’t want to set any value
+for this parameter; but if you do, the only value it should ever be
+set to is a newline character: <code>&amp;#x0a;</code> or
+<code>&amp;#10;</code></para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunk.first.sections.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunk.first.sections.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunk.first.sections.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunk.first.sections">
+<refmeta>
+<refentrytitle>chunk.first.sections</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>chunk.first.sections</refname>
+<refpurpose>Chunk the first top-level section?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='chunk.first.sections.frag'>
+<xsl:param name="chunk.first.sections" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, a chunk will be created for the first top-level
+<sgmltag>sect1</sgmltag> or <sgmltag>section</sgmltag> elements in
+each component. Otherwise, that section will be part of the chunk for
+its parent.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunk.quietly.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunk.quietly.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunk.quietly.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunk.quietly">
+<refmeta>
+<refentrytitle>chunk.quietly</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>chunk.quietly</refname>
+<refpurpose>Omit the chunked filename messages.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='chunk.quietly.frag'>
+<xsl:param name="chunk.quietly" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If zero (the default), the XSL processor emits a message naming
+each separate chunk filename as it is being output.
+If nonzero, then the messages are suppressed.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunk.section.depth.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunk.section.depth.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunk.section.depth.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunk.section.depth">
+<refmeta>
+<refentrytitle>chunk.section.depth</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunk.section.depth</refname>
+<refpurpose>Depth to which sections should be chunked</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='chunk.section.depth.frag'>
+<xsl:param name="chunk.section.depth" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter sets the depth of section chunking.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunk.sections.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunk.sections.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunk.sections.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunk.sections">
+<refmeta>
+<refentrytitle>chunk.sections</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>chunk.sections</refname>
+<refpurpose>Should top-level sections be chunks in their own right?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='chunk.sections.frag'><xsl:param name="chunk.sections" select="'1'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, chunks will be created for top-level
+<sgmltag>sect1</sgmltag> and <sgmltag>section</sgmltag> elements in
+each component.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunk.separate.lots.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunk.separate.lots.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunk.separate.lots.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,33 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunk.separate.lots">
+<refmeta>
+<refentrytitle>chunk.separate.lots</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunk.separate.lots</refname>
+<refpurpose>Should each LoT be in its own separate chunk?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='chunk.separate.lots.frag'>
+<xsl:param name="chunk.separate.lots" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, each of the ToC and LoTs
+(List of Examples, List of Figures, etc.)
+will be put in its own separate chunk.
+The title page includes generated links to each of the separate files.
+</para>
+<para>
+This feature depends on the
+<literal>chunk.tocs.and.lots</literal>
+parameter also being non-zero. 
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunk.toc.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunk.toc.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunk.toc.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunk.toc">
+<refmeta>
+<refentrytitle>chunk.toc</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunk.toc</refname>
+<refpurpose>An explicit TOC to be used for chunking</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='chunk.toc.frag'>
+<xsl:param name="chunk.toc" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>chunk.toc</parameter> identifies an explicit TOC that
+will be used for chunking. This parameter is only used by the
+<filename>chunktoc.xsl</filename> stylesheet (and customization layers built
+from it).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunk.tocs.and.lots.has.title.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunk.tocs.and.lots.has.title.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunk.tocs.and.lots.has.title.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunk.tocs.and.lots.has.title">
+<refmeta>
+<refentrytitle>chunk.tocs.and.lots.has.title</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunk.tocs.and.lots.has.title</refname>
+<refpurpose>Should ToC and LoTs in a separate chunks have title?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='chunk.tocs.and.lots.has.title.frag'>
+<xsl:param name="chunk.tocs.and.lots.has.title" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero title of document is shown before ToC/LoT in
+separate chunk.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunk.tocs.and.lots.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunk.tocs.and.lots.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunk.tocs.and.lots.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunk.tocs.and.lots">
+<refmeta>
+<refentrytitle>chunk.tocs.and.lots</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunk.tocs.and.lots</refname>
+<refpurpose>Should ToC and LoTs be in separate chunks?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='chunk.tocs.and.lots.frag'>
+<xsl:param name="chunk.tocs.and.lots" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, ToC and LoT (List of Examples, List of Figures, etc.)
+will be put in a separate chunk. At the moment, this chunk is not in the
+normal forward/backward navigation list. Instead, a new link is added to the
+navigation footer.</para>
+
+<para>This feature is still somewhat experimental. Feedback welcome.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunker.output.cdata-section-elements.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunker.output.cdata-section-elements.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunker.output.cdata-section-elements.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunker.output.cdata-section-elements">
+<refmeta>
+<refentrytitle>chunker.output.cdata-section-elements</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunker.output.cdata-section-elements</refname>
+<refpurpose>List of elements to escape with CDATA sections</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>&lt;xsl:param name="chunker.output.cdata-section-elements" select="''"/>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies the list of elements that should be escaped
+as CDATA sections by the chunking stylesheet.  Not all processors support
+specification of this parameter.
+</para>
+
+<note>
+<para>This parameter is documented here, but the declaration is actually
+in the <filename>chunker.xsl</filename> stylesheet module.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunker.output.doctype-public.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunker.output.doctype-public.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunker.output.doctype-public.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunker.output.doctype-public">
+<refmeta>
+<refentrytitle>chunker.output.doctype-public</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunker.output.doctype-public</refname>
+<refpurpose>Public identifer to use in the document type of generated pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>&lt;xsl:param name="chunker.output.doctype-public" select="''"/>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies the public identifier that should be used by
+the chunking stylesheet in the document type declaration of chunked pages.
+Not all processors support specification of
+this parameter.
+</para>
+
+<note>
+<para>This parameter is documented here, but the declaration is actually
+in the <filename>chunker.xsl</filename> stylesheet module.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunker.output.doctype-system.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunker.output.doctype-system.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunker.output.doctype-system.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunker.output.doctype-system">
+<refmeta>
+<refentrytitle>chunker.output.doctype-system</refentrytitle>
+<refmiscinfo role="type">uri</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunker.output.doctype-system</refname>
+<refpurpose>System identifier to use for the document type in generated pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>&lt;xsl:param name="chunker.output.doctype-system" select="''"/>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies the system identifier that should be used by
+the chunking stylesheet in the document type declaration of chunked pages.
+Not all processors support specification of
+this parameter.
+</para>
+
+<note>
+<para>This parameter is documented here, but the declaration is actually
+in the <filename>chunker.xsl</filename> stylesheet module.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunker.output.encoding.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunker.output.encoding.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunker.output.encoding.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunker.output.encoding">
+<refmeta>
+<refentrytitle>chunker.output.encoding</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunker.output.encoding</refname>
+<refpurpose>Encoding used in generated pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>&lt;xsl:param name="chunker.output.encoding" select="'ISO-8859-1'"/>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies the encoding to be used in files
+generated by the chunking stylesheet. Not all processors support
+specification of this parameter.
+</para>
+
+<para>This parameter used to be named <literal>default.encoding</literal>.</para>
+
+<note>
+<para>This parameter is documented here, but the declaration is actually
+in the <filename>chunker.xsl</filename> stylesheet module.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunker.output.indent.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunker.output.indent.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunker.output.indent.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunker.output.indent">
+<refmeta>
+<refentrytitle>chunker.output.indent</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunker.output.indent</refname>
+<refpurpose>Specification of indentation on generated pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>&lt;xsl:param name="chunker.output.indent" select="'no'"/>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies the value of the indent
+specification for generated pages. Not all processors support
+specification of this parameter.
+</para>
+
+<note>
+<para>This parameter is documented here, but the declaration is actually
+in the <filename>chunker.xsl</filename> stylesheet module.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunker.output.media-type.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunker.output.media-type.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunker.output.media-type.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunker.output.media-type">
+<refmeta>
+<refentrytitle>chunker.output.media-type</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunker.output.media-type</refname>
+<refpurpose>Media type to use in generated pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>&lt;xsl:param name="chunker.output.media-type" select="''"/>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies the media type that should be used by
+the chunking stylesheet. Not all processors support specification of
+this parameter.
+</para>
+
+<note>
+<para>This parameter is documented here, but the declaration is actually
+in the <filename>chunker.xsl</filename> stylesheet module.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunker.output.method.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunker.output.method.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunker.output.method.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunker.output.method">
+<refmeta>
+<refentrytitle>chunker.output.method</refentrytitle>
+<refmiscinfo role="type">list</refmiscinfo>
+<refmiscinfo role="value">html</refmiscinfo>
+<refmiscinfo role="value">xml</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunker.output.method</refname>
+<refpurpose>Method used in generated pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>&lt;xsl:param name="chunker.output.method" select="'html'"/>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies the output method to be used in files
+generated by the chunking stylesheet.
+</para>
+
+<para>This parameter used to be named <literal>output.method</literal>.</para>
+
+<note>
+<para>This parameter is documented here, but the declaration is actually
+in the <filename>chunker.xsl</filename> stylesheet module.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunker.output.omit-xml-declaration.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunker.output.omit-xml-declaration.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunker.output.omit-xml-declaration.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunker.output.omit-xml-declaration">
+<refmeta>
+<refentrytitle>chunker.output.omit-xml-declaration</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunker.output.omit-xml-declaration</refname>
+<refpurpose>Omit-xml-declaration for generated pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>&lt;xsl:param name="chunker.output.omit-xml-declaration" select="'no'"/>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies the value of the omit-xml-declaration
+specification for generated pages. Not all processors support
+specification of this parameter.
+</para>
+
+<note>
+<para>This parameter is documented here, but the declaration is actually
+in the <filename>chunker.xsl</filename> stylesheet module.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/chunker.output.standalone.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/chunker.output.standalone.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/chunker.output.standalone.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="chunker.output.standalone">
+<refmeta>
+<refentrytitle>chunker.output.standalone</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>chunker.output.standalone</refname>
+<refpurpose>Standalone declaration for generated pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>&lt;xsl:param name="chunker.output.standalone" select="'no'"/>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies the value of the standalone
+specification for generated pages. Not all processors support
+specification of this parameter.
+</para>
+
+<note>
+<para>This parameter is documented here, but the declaration is actually
+in the <filename>chunker.xsl</filename> stylesheet module.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/citerefentry.link.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/citerefentry.link.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/citerefentry.link.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="citerefentry.link">
+<refmeta>
+<refentrytitle>citerefentry.link</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>citerefentry.link</refname>
+<refpurpose>Generate URL links when cross-referencing RefEntrys?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='citerefentry.link.frag'><xsl:param name="citerefentry.link" select="'0'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true, a web link will be generated, presumably
+to an online man-&gt;HTML gateway. The text of the link is
+generated by the generate.citerefentry.link template.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/collect.xref.targets.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/collect.xref.targets.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/collect.xref.targets.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="collect.xref.targets"> 
+<refmeta> 
+<refentrytitle>collect.xref.targets</refentrytitle> 
+<refmiscinfo role="type">string</refmiscinfo> 
+</refmeta> 
+<refnamediv> 
+<refname>collect.xref.targets</refname> 
+<refpurpose>Controls whether cross reference data is
+collected</refpurpose> 
+</refnamediv> 
+<refsynopsisdiv> <src:fragment id="collect.xref.targets.frag">
+<xsl:param name="collect.xref.targets" select="'no'"/>
+</src:fragment> 
+</refsynopsisdiv> 
+<refsect1> 
+<title>Description</title> 
+<para>
+In order to resolve olinks efficiently, the stylesheets can
+generate an external data file containing information about
+all potential cross reference endpoints in a document.
+This parameter determines whether the collection process is run when the document is processed by the stylesheet. The default value is  <literal>no</literal>, which means the data file is not generated during processing. The other choices are <literal>yes</literal>, which means the data file is created and the document is processed for output, and <literal>only</literal>, which means the data file is created but the document is not processed for output.
+See also <parameter>targets.filename</parameter>.
+</para> 
+</refsect1> 
+</refentry> 

Added: trunk/docs/docbook/src/main/resources/params/column.count.back.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/column.count.back.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/column.count.back.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="column.count.back">
+<refmeta>
+<refentrytitle>column.count.back</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>column.count.back</refname>
+<refpurpose>Number of columns on back matter pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='column.count.back.frag'>
+<xsl:param name="column.count.back" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Number of columns on back matter (appendix, glossary, etc.) pages.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/column.count.body.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/column.count.body.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/column.count.body.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="column.count.body">
+<refmeta>
+<refentrytitle>column.count.body</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>column.count.body</refname>
+<refpurpose>Number of columns on body pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='column.count.body.frag'>
+<xsl:param name="column.count.body" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Number of columns on body pages.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/column.count.front.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/column.count.front.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/column.count.front.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="column.count.front">
+<refmeta>
+<refentrytitle>column.count.front</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>column.count.front</refname>
+<refpurpose>Number of columns on front matter pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='column.count.front.frag'>
+<xsl:param name="column.count.front" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Number of columns on front matter (dedication, preface, etc.) pages.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/column.count.index.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/column.count.index.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/column.count.index.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="column.count.index">
+<refmeta>
+<refentrytitle>column.count.index</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>column.count.index</refname>
+<refpurpose>Number of columns on index pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='column.count.index.frag'>
+<xsl:param name="column.count.index" select="2"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Number of columns on index pages.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/column.count.lot.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/column.count.lot.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/column.count.lot.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="column.count.lot">
+<refmeta>
+<refentrytitle>column.count.lot</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>column.count.lot</refname>
+<refpurpose>Number of columns on a 'List-of-Titles' page</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='column.count.lot.frag'>
+<xsl:param name="column.count.lot" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Number of columns on a page sequence containing the Table of Contents,
+List of Figures, etc.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/column.count.titlepage.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/column.count.titlepage.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/column.count.titlepage.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="column.count.titlepage">
+<refmeta>
+<refentrytitle>column.count.titlepage</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>column.count.titlepage</refname>
+<refpurpose>Number of columns on a title page</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='column.count.titlepage.frag'>
+<xsl:param name="column.count.titlepage" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Number of columns on a title page</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/column.gap.back.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/column.gap.back.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/column.gap.back.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="column.gap.back">
+<refmeta>
+<refentrytitle>column.gap.back</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>column.gap.back</refname>
+<refpurpose>Gap between columns in back matter</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='column.gap.back.frag'>
+<xsl:param name="column.gap.back" select="'12pt'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the gap between columns in back matter (if
+<parameter>column.count.back</parameter> is greater than one).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/column.gap.body.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/column.gap.body.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/column.gap.body.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="column.gap.body">
+<refmeta>
+<refentrytitle>column.gap.body</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>column.gap.body</refname>
+<refpurpose>Gap between columns in the body</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='column.gap.body.frag'>
+<xsl:param name="column.gap.body" select="'12pt'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the gap between columns in body matter (if
+<parameter>column.count.body</parameter> is greater than one).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/column.gap.front.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/column.gap.front.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/column.gap.front.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="column.gap.front">
+<refmeta>
+<refentrytitle>column.gap.front</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>column.gap.front</refname>
+<refpurpose>Gap between columns in the front matter</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='column.gap.front.frag'>
+<xsl:param name="column.gap.front" select="'12pt'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the gap between columns in front matter (if
+<parameter>column.count.front</parameter> is greater than one).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/column.gap.index.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/column.gap.index.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/column.gap.index.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="column.gap.index">
+<refmeta>
+<refentrytitle>column.gap.index</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>column.gap.index</refname>
+<refpurpose>Gap between columns in the index</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='column.gap.index.frag'>
+<xsl:param name="column.gap.index" select="'12pt'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the gap between columns in indexes (if
+<parameter>column.count.index</parameter> is greater than one).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/column.gap.lot.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/column.gap.lot.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/column.gap.lot.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="column.gap.lot">
+<refmeta>
+<refentrytitle>column.gap.lot</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>column.gap.lot</refname>
+<refpurpose>Gap between columns on a 'List-of-Titles' page</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='column.gap.lot.frag'>
+<xsl:param name="column.gap.lot" select="'12pt'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the gap between columns on 'List-of-Titles' pages (if
+<parameter>column.count.lot</parameter> is greater than one).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/column.gap.titlepage.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/column.gap.titlepage.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/column.gap.titlepage.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="column.gap.titlepage">
+<refmeta>
+<refentrytitle>column.gap.titlepage</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>column.gap.titlepage</refname>
+<refpurpose>Gap between columns on title pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='column.gap.titlepage.frag'>
+<xsl:param name="column.gap.titlepage" select="'12pt'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the gap between columns on title pages (if
+<parameter>column.count.titlepage</parameter> is greater than one).</para>
+
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/compact.list.item.spacing.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/compact.list.item.spacing.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/compact.list.item.spacing.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,21 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="compact.list.item.spacing">
+<refnamediv>
+<refname>compact.list.item.spacing</refname>
+<refpurpose>What space do you want between list items (when spacing=compact)?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='compact.list.item.spacing.frag'><xsl:attribute-set name="compact.list.item.spacing">
+  <xsl:attribute name="space-before.optimum">0em</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">0.2em</xsl:attribute>
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>Specify what spacing you want between each list item when
+<sgmltag class="attribute">spacing</sgmltag> is
+<quote><literal>compact</literal></quote>.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/component.label.includes.part.label.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/component.label.includes.part.label.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/component.label.includes.part.label.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,36 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="component.label.includes.part.label">
+<refmeta>
+<refentrytitle>component.label.includes.part.label</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>component.label.includes.part.label</refname>
+<refpurpose>Do component labels include the part label?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='component.label.includes.part.label.frag'><xsl:param name="component.label.includes.part.label" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), number labels for chapters, appendices, and other component
+elements are prefixed with the label of the
+part element that contains them.
+So you might see Chapter II.3 instead of Chapter 3.
+Also, the labels for formal elements such as table and figure will
+include the part label.
+If there is no part element container, then no prefix is generated.
+</para>
+<para>
+This feature is most useful when the
+<literal>label.from.part</literal> parameter is turned on.
+In that case, there would be more than one chapter
+<quote>1</quote>, and the extra part label prefix will identify
+each chapter unambiguously.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/component.title.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/component.title.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/component.title.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,42 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="component.title.properties">
+<refmeta>
+<refentrytitle>component.title.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>component.title.properties</refname>
+<refpurpose>Properties for component titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='component.title.properties.frag'>
+<xsl:attribute-set name="component.title.properties">
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="space-before.optimum"><xsl:value-of
+            select="concat($body.font.master, 'pt')"/></xsl:attribute>
+  <xsl:attribute name="space-before.minimum"><xsl:value-of
+            select="concat($body.font.master, 'pt * 0.8')"/></xsl:attribute>
+  <xsl:attribute name="space-before.maximum"><xsl:value-of
+            select="concat($body.font.master, 'pt * 1.2')"/></xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="text-align">
+    <xsl:choose>
+      <xsl:when test="((parent::article | parent::articleinfo | parent::info/parent::article) and not(ancestor::book) and not(self::bibliography))
+		      or (parent::slides | parent::slidesinfo)">center</xsl:when>
+      <xsl:otherwise>left</xsl:otherwise>
+    </xsl:choose>
+  </xsl:attribute>
+  <xsl:attribute name="start-indent"><xsl:value-of 
+                 select="$title.margin.left"/></xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties common to all component titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/contrib.inline.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/contrib.inline.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/contrib.inline.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="contrib.inline.enabled">
+<refmeta>
+<refentrytitle>contrib.inline.enabled</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>contrib.inline.enabled</refname>
+<refpurpose>Display contrib output inline?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='contrib.inline.enabled.frag'><xsl:param name="contrib.inline.enabled">1</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero (the default), output of the <sgmltag>contrib</sgmltag> element is
+displayed as inline content rather than as block content.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/crop.mark.bleed.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/crop.mark.bleed.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/crop.mark.bleed.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="crop.mark.bleed">
+<refmeta>
+<refentrytitle>crop.mark.bleed</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>crop.mark.bleed</refname>
+<refpurpose>Length of invisible part of crop marks.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='crop.mark.bleed.frag'><xsl:param name="crop.mark.bleed" select="'6pt'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Length of invisible part of crop marks. Crop marks are controlled by
+<parameter>crop.marks</parameter> parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/crop.mark.offset.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/crop.mark.offset.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/crop.mark.offset.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="crop.mark.offset">
+<refmeta>
+<refentrytitle>crop.mark.offset</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>crop.mark.offset</refname>
+<refpurpose>Length of crop marks.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='crop.mark.offset.frag'><xsl:param name="crop.mark.offset" select="'24pt'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Length of crop marks. Crop marks are controlled by
+<parameter>crop.marks</parameter> parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/crop.mark.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/crop.mark.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/crop.mark.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="crop.mark.width">
+<refmeta>
+<refentrytitle>crop.mark.width</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>crop.mark.width</refname>
+<refpurpose>Width of crop marks.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='crop.mark.width.frag'><xsl:param name="crop.mark.width" select="'0.5pt'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Width of crop marks. Crop marks are controlled by
+<parameter>crop.marks</parameter> parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/crop.marks.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/crop.marks.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/crop.marks.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="crop.marks">
+<refmeta>
+<refentrytitle>crop.marks</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>crop.marks</refname>
+<refpurpose>Output crop marks?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='crop.marks.frag'><xsl:param name="crop.marks" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, crop marks will be added to each page. Currently this
+works only with XEP if you have <parameter>xep.extensions</parameter> set.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/css.decoration.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/css.decoration.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/css.decoration.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="css.decoration">
+<refmeta>
+<refentrytitle>css.decoration</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>css.decoration</refname>
+<refpurpose>Enable CSS decoration of elements</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='css.decoration.frag'>
+<xsl:param name="css.decoration" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>
+If <literal>css.decoration</literal> is turned on, then HTML elements
+produced by the
+stylesheet may be decorated with STYLE attributes.  For example, the
+LI tags produced for list items may include a fragment of CSS in the
+STYLE attribute which sets the CSS property "list-style-type".
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/current.docid.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/current.docid.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/current.docid.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="current.docid"> 
+<refmeta> 
+<refentrytitle>current.docid</refentrytitle> 
+<refmiscinfo role="type">string</refmiscinfo> 
+</refmeta> 
+<refnamediv> 
+<refname>current.docid</refname> 
+<refpurpose>targetdoc identifier for the document being
+processed</refpurpose> 
+</refnamediv> 
+<refsynopsisdiv> <src:fragment id="current.docid.frag">
+<xsl:param name="current.docid" select="''"/> </src:fragment> 
+</refsynopsisdiv> 
+<refsect1> 
+<title>Description</title> 
+<para>When olinks between documents are resolved for HTML output, the stylesheet can compute the relative path between the current document and the target document. The stylesheet needs to know the <literal>targetdoc</literal> identifiers for both documents, as they appear in the <parameter>target.database.document</parameter> database file. This parameter passes to the stylesheet
+the targetdoc identifier of the current document, since that
+identifier does not appear in the document itself. </para>
+<para>This parameter can also be used for print output. If an olink's  <literal>targetdoc</literal>  id differs from the <literal>current.docid</literal>, then the stylesheet can append the target document's title to the generated olink text. That identifies to the reader that the link is to a different document, not the current document. See also <parameter>olink.doctitle</parameter> to enable that feature.</para> 
+</refsect1> 
+</refentry> 

Added: trunk/docs/docbook/src/main/resources/params/default.float.class.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/default.float.class.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/default.float.class.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="default.float.class">
+<refmeta>
+<refentrytitle>default.float.class</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>default.float.class</refname>
+<refpurpose>Specifies the default float class</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='default.float.class.frag'>
+<xsl:param name="default.float.class">
+  <xsl:choose>
+    <xsl:when test="contains($stylesheet.result.type,'html')">left</xsl:when>
+    <xsl:otherwise>before</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/default.image.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/default.image.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/default.image.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="default.image.width">
+<refmeta>
+<refentrytitle>default.image.width</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>default.image.width</refname>
+<refpurpose>The default width of images</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='default.image.width.frag'>
+<xsl:param name="default.image.width" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If specified, this value will be used for the
+<sgmltag class="attribute">width</sgmltag> attribute on
+images that do not specify any
+<ulink url="http://docbook.org/tdg/en/html/imagedata.html#viewport.area">viewport
+dimensions</ulink>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/default.table.frame.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/default.table.frame.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/default.table.frame.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="default.table.frame">
+<refmeta>
+<refentrytitle>default.table.frame</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>default.table.frame</refname>
+<refpurpose>The default framing of tables</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='default.table.frame.frag'><xsl:param name="default.table.frame" select="'all'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This value will be used when there is no frame attribute on the table.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/default.table.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/default.table.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/default.table.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="default.table.width">
+<refmeta>
+<refentrytitle>default.table.width</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>default.table.width</refname>
+<refpurpose>The default width of tables</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='default.table.width.frag'><xsl:param name="default.table.width" select="''"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If specified, this value will be used for the WIDTH attribute on
+tables that do not specify an alternate width (with the dbhtml processing
+instruction).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/default.units.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/default.units.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/default.units.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="default.units">
+<refmeta>
+<refentrytitle>default.units</refentrytitle>
+<refmiscinfo role="type">list</refmiscinfo>
+<refmiscinfo role="value">cm</refmiscinfo>
+<refmiscinfo role="value">mm</refmiscinfo>
+<refmiscinfo role="value">in</refmiscinfo>
+<refmiscinfo role="value">pt</refmiscinfo>
+<refmiscinfo role="value">pc</refmiscinfo>
+<refmiscinfo role="value">px</refmiscinfo>
+<refmiscinfo role="value">em</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>default.units</refname>
+<refpurpose>Default units for an unqualified dimension</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='default.units.frag'><xsl:param name="default.units" select="'pt'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If an unqualified dimension is encountered (for example, in a
+graphic width), the <parameter>default-units</parameter> will be used for the
+units. Unqualified dimensions are not allowed in XSL Formatting Objects.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/dingbat.font.family.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/dingbat.font.family.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/dingbat.font.family.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="dingbat.font.family">
+<refmeta>
+<refentrytitle>dingbat.font.family</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>dingbat.font.family</refname>
+<refpurpose>The font family for copyright, quotes, and other symbols</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='dingbat.font.family.frag'>
+<xsl:param name="dingbat.font.family" select="'serif'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The dingbat font family is used for dingbats. If it is defined
+as the empty string, no font change is effected around dingbats.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/double.sided.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/double.sided.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/double.sided.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="double.sided">
+<refmeta>
+<refentrytitle>double.sided</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>double.sided</refname>
+<refpurpose>Is the document to be printed double sided?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='double.sided.frag'>
+<xsl:param name="double.sided" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Double-sided documents are printed with a slightly wider margin
+on the binding edge of the page.
+</para>
+<para>FIXME: The current set of parameters does not take writing direction
+into account.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/draft.mode.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/draft.mode.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/draft.mode.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="draft.mode">
+<refmeta>
+<refentrytitle>draft.mode</refentrytitle>
+<refmiscinfo role="type">list</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>draft.mode</refname>
+<refpurpose>Select draft mode</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='draft.mode.frag'>
+<xsl:param name="draft.mode" select="'maybe'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Selects draft mode. If <parameter>draft.mode</parameter> is
+<quote><literal>yes</literal></quote>, the entire document will be treated
+as a draft. If it is <quote><literal>no</literal></quote>, the entire document
+will be treated as a final copy. If it is <quote><literal>maybe</literal></quote>,
+individual sections will be treated as draft or final independently, depending
+on how their <sgmltag class="attribute">status</sgmltag> attribute is set.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/draft.watermark.image.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/draft.watermark.image.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/draft.watermark.image.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="draft.watermark.image">
+<refmeta>
+<refentrytitle>draft.watermark.image</refentrytitle>
+<refmiscinfo role="type">uri</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>draft.watermark.image</refname>
+<refpurpose>The URI of the image to be used for draft watermarks</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='draft.watermark.image.frag'>
+<xsl:param name="draft.watermark.image" select="'http://docbook.sourceforge.net/release/images/draft.png'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The image to be used for draft watermarks.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/ebnf.assignment.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/ebnf.assignment.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/ebnf.assignment.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,37 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="ebnf.assignment">
+<refmeta>
+<refentrytitle>ebnf.assignment</refentrytitle>
+<refmiscinfo role="type">rtf</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ebnf.assignment</refname>
+<refpurpose>The EBNF production assignment operator</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='ebnf.assignment.frag'>
+<xsl:param condition="html" name="ebnf.assignment">
+<code>::=</code>
+</xsl:param>
+<xsl:param condition="fo" name="ebnf.assignment"
+           xmlns:fo="http://www.w3.org/1999/XSL/Format">
+  <fo:inline font-family="{$monospace.font.family}">
+    <xsl:text>::=</xsl:text>
+  </fo:inline>
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>ebnf.assignment</parameter> parameter determines what
+text is used to show <quote>assignment</quote> in <sgmltag>production</sgmltag>s
+in <sgmltag>productionset</sgmltag>s.</para>
+
+<para>While <quote><literal>::=</literal></quote> is common, so are several
+other operators.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/ebnf.statement.terminator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/ebnf.statement.terminator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/ebnf.statement.terminator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="ebnf.statement.terminator">
+<refmeta>
+<refentrytitle>ebnf.statement.terminator</refentrytitle>
+<refmiscinfo role="type">rtf</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ebnf.statement.terminator</refname>
+<refpurpose>Punctuation that ends an EBNF statement.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='ebnf.statement.terminator.frag'>
+<xsl:param condition="html" name="ebnf.statement.terminator"/>
+<xsl:param condition="fo" name="ebnf.statement.terminator"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>ebnf.statement.terminator</parameter> parameter determines what
+text is used to terminate each <sgmltag>production</sgmltag>
+in <sgmltag>productionset</sgmltag>.</para>
+
+<para>Some notations end each statement with a period.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/ebnf.table.bgcolor.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/ebnf.table.bgcolor.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/ebnf.table.bgcolor.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="ebnf.table.bgcolor">
+<refmeta>
+<refentrytitle>ebnf.table.bgcolor</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ebnf.table.bgcolor</refname>
+<refpurpose>Background color for EBNF tables</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='ebnf.table.bgcolor.frag'><xsl:param name="ebnf.table.bgcolor" select="'#F5DCB3'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Sets the background color for EBNF tables. No <sgmltag>bgcolor</sgmltag>
+attribute is output if <varname>ebnf.table.bgcolor</varname> is set to
+the null string. The default value matches the value used in recent
+online versions of the W3C's XML Spec productions.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/ebnf.table.border.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/ebnf.table.border.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/ebnf.table.border.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="ebnf.table.border">
+<refmeta>
+<refentrytitle>ebnf.table.border</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ebnf.table.border</refname>
+<refpurpose>Selects border on EBNF tables</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='ebnf.table.border.frag'><xsl:param name="ebnf.table.border" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Selects the border on EBNF tables. If non-zero, the tables have
+borders, otherwise they don't.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/eclipse.autolabel.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/eclipse.autolabel.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/eclipse.autolabel.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="eclipse.autolabel">
+<refmeta>
+<refentrytitle>eclipse.autolabel</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>eclipse.autolabel</refname>
+<refpurpose>Should tree-like ToC use autonumbering feature?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='eclipse.autolabel.frag'>
+<xsl:param name="eclipse.autolabel" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want to include chapter and section numbers into ToC in
+the left panel, set this parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/eclipse.plugin.id.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/eclipse.plugin.id.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/eclipse.plugin.id.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="eclipse.plugin.id">
+<refmeta>
+<refentrytitle>eclipse.plugin.id</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>eclipse.plugin.id</refname>
+<refpurpose>Eclipse Help plugin id</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='eclipse.plugin.id.frag'>
+<xsl:param name="eclipse.plugin.id">com.example.help</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Eclipse Help plugin id. You should change this id to something
+unique for each help.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/eclipse.plugin.name.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/eclipse.plugin.name.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/eclipse.plugin.name.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="eclipse.plugin.name">
+<refmeta>
+<refentrytitle>eclipse.plugin.name</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>eclipse.plugin.name</refname>
+<refpurpose>Eclipse Help plugin name</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='eclipse.plugin.name.frag'>
+<xsl:param name="eclipse.plugin.name">DocBook Online Help Sample</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Eclipse Help plugin name.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/eclipse.plugin.provider.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/eclipse.plugin.provider.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/eclipse.plugin.provider.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="eclipse.plugin.provider">
+<refmeta>
+<refentrytitle>eclipse.plugin.provider</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>eclipse.plugin.provider</refname>
+<refpurpose>Eclipse Help plugin provider name</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='eclipse.plugin.provider.frag'>
+<xsl:param name="eclipse.plugin.provider">Example provider</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Eclipse Help plugin provider name.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/editedby.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/editedby.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/editedby.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+cxb<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="editedby.enabled">
+<refmeta>
+<refentrytitle>editedby.enabled</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>editedby.enabled</refname>
+<refpurpose>Display “Edited by” heading above editor name?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='editedby.enabled.frag'><xsl:param name="editedby.enabled">1</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero (the default), a localized <emphasis
+role="bold">Edited by</emphasis> heading is displayed above editor
+names in output of the <sgmltag>editor</sgmltag> element.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/email.delimiters.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/email.delimiters.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/email.delimiters.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="email.delimiters.enabled">
+<refmeta>
+<refentrytitle>email.delimiters.enabled</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>email.delimiters.enabled</refname>
+<refpurpose>Generate delimiters around email addresses?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='email.delimiters.enabled.frag'><xsl:param name="email.delimiters.enabled">1</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, delimiters<footnote><para>For delimiters, the
+stylesheets are currently hard-coded to output angle
+brackets.</para></footnote> are generated around e-mail addresses
+(the output of the <sgmltag>email</sgmltag> element).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/emphasis.propagates.style.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/emphasis.propagates.style.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/emphasis.propagates.style.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="emphasis.propagates.style">
+<refmeta>
+<refentrytitle>emphasis.propagates.style</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>emphasis.propagates.style</refname>
+<refpurpose>Pass emphasis role attribute through to HTML?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='emphasis.propagates.style.frag'>
+<xsl:param name="emphasis.propagates.style" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true, the role attribute of <sgmltag>emphasis</sgmltag> elements
+will be passed through to the HTML as a class attribute on a
+<sgmltag>span</sgmltag> that surrounds the emphasis.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/entry.propagates.style.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/entry.propagates.style.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/entry.propagates.style.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="entry.propagates.style">
+<refmeta>
+<refentrytitle>entry.propagates.style</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>entry.propagates.style</refname>
+<refpurpose>Pass entry role attribute through to HTML?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='entry.propagates.style.frag'>
+<xsl:param name="entry.propagates.style" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true, the role attribute of <sgmltag>entry</sgmltag> elements
+will be passed through to the HTML as a class attribute on the
+<sgmltag>td</sgmltag> or <sgmltag>th</sgmltag> generated for the table
+cell.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/equation.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/equation.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/equation.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,20 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="equation.properties">
+<refnamediv>
+<refname>equation.properties</refname>
+<refpurpose>Properties associated with a equation</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='equation.properties.frag'>
+<xsl:attribute-set name="equation.properties" use-attribute-sets="formal.object.properties"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for equations.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/example.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/example.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/example.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,20 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="example.properties">
+<refnamediv>
+<refname>example.properties</refname>
+<refpurpose>Properties associated with a example</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='example.properties.frag'>
+<xsl:attribute-set name="example.properties" use-attribute-sets="formal.object.properties"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for examples.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/figure.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/figure.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/figure.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,20 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="figure.properties">
+<refnamediv>
+<refname>figure.properties</refname>
+<refpurpose>Properties associated with a figure</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='figure.properties.frag'>
+<xsl:attribute-set name="figure.properties" use-attribute-sets="formal.object.properties"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for figures.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/firstterm.only.link.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/firstterm.only.link.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/firstterm.only.link.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="firstterm.only.link">
+<refmeta>
+<refentrytitle>firstterm.only.link</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>firstterm.only.link</refname>
+<refpurpose>Does automatic glossterm linking only apply to firstterms?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='firstterm.only.link.frag'>
+<xsl:param name="firstterm.only.link" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true, only <sgmltag>firstterm</sgmltag>s will be automatically linked
+to the glossary. If glossary linking is not enabled, this parameter
+has no effect.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/footer.column.widths.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/footer.column.widths.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/footer.column.widths.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,71 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="footer.column.widths">
+<refmeta>
+<refentrytitle>footer.column.widths</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>footer.column.widths</refname>
+<refpurpose>Specify relative widths of footer areas</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv><src:fragment id='footer.column.widths.frag'>
+<xsl:param name="footer.column.widths" select="'1 1 1'"/>
+</src:fragment></refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Page footers in print output use a three column table
+to position text at the left, center, and right side of
+the footer on the page.
+This parameter lets you specify the relative sizes of the
+three columns.  The default value is
+"1 1 1".</para>
+
+<para>The parameter value must be three numbers, separated
+by white space. The first number represents the relative
+width of the left footer for
+single-sided output, or the inside footer for
+double-sided output.  The second number is the relative
+width of the center footer.  The third number is the
+relative width of the right footer for
+single-sided output, or the outside footer for
+double-sided output.
+</para>
+
+<para>The numbers are used to specify the column widths
+for the table that makes up the footer area.
+In the FO output, this looks like:
+</para>
+
+<programlisting>
+&lt;fo:table-column column-number="1" 
+    column-width="proportional-column-width(1)"/&gt;
+</programlisting>
+
+<para>
+The <literal>proportional-column-width()</literal>
+function computes a column width by dividing its
+argument by the total of the arguments for all the columns, and
+then multiplying the result by the width of the whole table
+(assuming all the column specs use the function).
+Its argument can be any positive integer or floating point number.
+Zero is an acceptable value, although some FO processors
+may warn about it, in which case using a very small number might
+be more satisfactory.
+</para>
+
+<para>For example, the value "1 2 1" means the center
+footer should have twice the width of the other areas.
+A value of "0 0 1" means the entire footer area
+is reserved for the right (or outside) footer text.
+Note that to keep the center area centered on
+the page, the left and right values must be
+the same. A specification like "1 2 3" means the
+center area is no longer centered on the page
+since the right area is three times the width of the left area.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/footer.content.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/footer.content.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/footer.content.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="footer.content.properties">
+<refmeta>
+<refentrytitle>footer.content.properties</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>footer.content.properties</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='footer.content.properties.frag'>
+<xsl:attribute-set name="footer.content.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$body.fontset"/>
+  </xsl:attribute>
+  <xsl:attribute name="margin-left">
+    <xsl:value-of select="$title.margin.left"/>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Properties of page footer content.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/footer.rule.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/footer.rule.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/footer.rule.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="footer.rule">
+<refmeta>
+<refentrytitle>footer.rule</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>footer.rule</refname>
+<refpurpose>Rule over footers?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='footer.rule.frag'>
+<xsl:param name="footer.rule" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, a rule will be drawn above the page footers.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/footer.table.height.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/footer.table.height.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/footer.table.height.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="footer.table.height">
+<refmeta>
+<refentrytitle>footer.table.height</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>footer.table.height</refname>
+<refpurpose>Specify the minimum height of the table containing the running page footers</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv><src:fragment id='footer.table.height.frag'>
+<xsl:param name="footer.table.height" select="'14pt'"/>
+</src:fragment></refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Page footers in print output use a three column table
+to position text at the left, center, and right side of
+the footer on the page.
+This parameter lets you specify the minimum height 
+of the single row in the table.  
+Since this specifies only the minimum height,
+the table should automatically grow to fit taller content.
+The default value is "14pt".</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/footers.on.blank.pages.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/footers.on.blank.pages.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/footers.on.blank.pages.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="footers.on.blank.pages">
+<refmeta>
+<refentrytitle>footers.on.blank.pages</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>footers.on.blank.pages</refname>
+<refpurpose>Put footers on blank pages?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='footers.on.blank.pages.frag'>
+<xsl:param name="footers.on.blank.pages" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, footers will be placed on blank pages.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/footnote.font.size.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/footnote.font.size.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/footnote.font.size.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="footnote.font.size">
+<refmeta>
+<refentrytitle>footnote.font.size</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>footnote.font.size</refname>
+<refpurpose>The font size for footnotes</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='footnote.font.size.frag'><xsl:param name="footnote.font.size">
+ <xsl:value-of select="$body.font.master * 0.8"/><xsl:text>pt</xsl:text>
+</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The footnote font size is used for...footnotes!
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/footnote.mark.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/footnote.mark.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/footnote.mark.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,33 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="footnote.mark.properties">
+<refnamediv>
+<refname>footnote.mark.properties</refname>
+<refpurpose>Properties applied to each footnote mark
+</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='footnote.mark.properties.frag'>
+<xsl:attribute-set name="footnote.mark.properties">
+  <xsl:attribute name="font-size">75%</xsl:attribute>
+  <xsl:attribute name="font-weight">normal</xsl:attribute>
+  <xsl:attribute name="font-style">normal</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This attribute set is applied to the footnote mark used
+for each footnote.
+It should contain only inline properties.
+</para>
+
+<para>The property to make the mark a superscript is contained in the
+footnote template itself, because the current version of FOP reports
+an error if baseline-shift is used.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/footnote.number.format.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/footnote.number.format.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/footnote.number.format.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="footnote.number.format">
+<refmeta>
+<refentrytitle>footnote.number.format</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>footnote.number.format</refname>
+<refpurpose>Identifies the format used for footnote numbers</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='footnote.number.format.frag'>
+<xsl:param name="footnote.number.format" select="'1'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>footnote.number.format</parameter> specifies the format
+to use for footnote numeration (1, i, I, a, or A).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/footnote.number.symbols.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/footnote.number.symbols.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/footnote.number.symbols.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,36 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="footnote.number.symbols">
+<refmeta>
+<refentrytitle>footnote.number.symbols</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>footnote.number.symbols</refname>
+<refpurpose>Special characters to use as footnote markers</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='footnote.number.symbols.frag'>
+<xsl:param name="footnote.number.symbols" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>footnote.number.symbols</parameter> is not the empty string,
+footnotes will use the characters it contains as footnote symbols. For example,
+<quote>*&amp;#x2020;&amp;#x2021;&amp;#x25CA;&amp;#x2720;</quote> will identify
+footnotes with <quote>*</quote>, <quote>&#x2020;</quote>, <quote>&#x2021;</quote>,
+<quote>&#x25CA;</quote>, and <quote>&#x2720;</quote>. If there are more footnotes
+than symbols, the stylesheets will fall back to numbered footnotes using
+<parameter>footnote.number.format</parameter>.</para>
+
+<para>The use of symbols for footnotes depends on the ability of your
+processor (or browser) to render the symbols you select. Not all systems are
+capable of displaying the full range of Unicode characters. If the quoted characters
+in the preceding paragraph are not displayed properly, that's a good indicator
+that you may have trouble using those symbols for footnotes.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/footnote.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/footnote.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/footnote.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,36 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="footnote.properties">
+<refnamediv>
+<refname>footnote.properties</refname>
+<refpurpose>Properties applied to each footnote body
+</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='footnote.properties.frag'>
+<xsl:attribute-set name="footnote.properties">
+  <xsl:attribute name="font-family"><xsl:value-of 
+                             select="$body.fontset"/></xsl:attribute>
+  <xsl:attribute name="font-size"><xsl:value-of 
+                             select="$footnote.font.size"/></xsl:attribute>
+  <xsl:attribute name="font-weight">normal</xsl:attribute>
+  <xsl:attribute name="font-style">normal</xsl:attribute>
+  <xsl:attribute name="text-align"><xsl:value-of
+                             select="$alignment"/></xsl:attribute>
+  <xsl:attribute name="start-indent">0pt</xsl:attribute>
+  <xsl:attribute name="text-indent">0pt</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This attribute set is applied to the footnote-block 
+for each footnote.
+It can be used to set the
+font-size, font-family, and other inheritable properties that will be
+applied to all footnotes.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/footnote.sep.leader.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/footnote.sep.leader.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/footnote.sep.leader.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="footnote.sep.leader.properties">
+<refnamediv>
+<refname>footnote.sep.leader.properties</refname>
+<refpurpose>Properties associated with a procedure</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='footnote.sep.leader.properties.frag'>
+<xsl:attribute-set name="footnote.sep.leader.properties">
+  <xsl:attribute name="color">black</xsl:attribute>
+  <xsl:attribute name="leader-pattern">rule</xsl:attribute>
+  <xsl:attribute name="leader-length">1in</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for the rule line that separates the
+footnotes from the body text.
+These are properties applied to the fo:leader used as
+the separator.
+</para>
+<para>If you want to do more than just set properties on
+the leader element, then you can customize the template
+named <literal>footnote.separator</literal> in 
+<filename>fo/pagesetup.xsl</filename>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/fop.extensions.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/fop.extensions.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/fop.extensions.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,33 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="fop.extensions">
+<refmeta>
+<refentrytitle>fop.extensions</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>fop.extensions</refname>
+<refpurpose>Enable FOP extensions for version 0.20.5 and earlier</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='fop.extensions.frag'><xsl:param name="fop.extensions" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, extensions intended for
+<ulink url="http://xml.apache.org/fop/">FOP</ulink>
+version 0.20.5 and earlier will be used.
+At present, this consists of PDF bookmarks.
+</para>
+
+<para>This parameter can also affect which graphics file formats
+are supported</para>
+
+<para>If you are using a version of FOP beyond
+version 0.20.5, then use the <parameter>fop1.extensions</parameter>
+instead.
+</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/fop1.extensions.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/fop1.extensions.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/fop1.extensions.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="fop1.extensions">
+<refmeta>
+<refentrytitle>fop1.extensions</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>fop1.extensions</refname>
+<refpurpose>Enable extensions for FOP version 1 and later</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='fop1.extensions.frag'><xsl:param name="fop1.extensions" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, extensions for 
+<ulink url="http://xml.apache.org/fop/">FOP</ulink>
+version 1 and later will be used.
+</para>
+
+<para>This parameter can also affect which graphics file formats
+are supported</para>
+
+<para>The original <parameter>fop.extensions</parameter>
+should still be used for FOP version 0.20.5 and earlier.
+</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/formal.object.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/formal.object.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/formal.object.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="formal.object.properties">
+<refnamediv>
+<refname>formal.object.properties</refname>
+<refpurpose>Properties associated with a formal object such as a figure, or other component that has a title</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='formal.object.properties.frag'>
+<xsl:attribute-set name="formal.object.properties">
+  <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
+  <xsl:attribute name="keep-together.within-column">always</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for formal objects in docbook. Specify the spacing
+before and after the object.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/formal.procedures.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/formal.procedures.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/formal.procedures.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="formal.procedures">
+<refmeta>
+<refentrytitle>formal.procedures</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>formal.procedures</refname>
+<refpurpose>Selects formal or informal procedures</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='formal.procedures.frag'>
+<xsl:param name="formal.procedures" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Formal procedures are numbered and always have a title.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/formal.title.placement.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/formal.title.placement.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/formal.title.placement.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,38 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="formal.title.placement">
+<refmeta>
+<refentrytitle>formal.title.placement</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>formal.title.placement</refname>
+<refpurpose>Specifies where formal object titles should occur</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='formal.title.placement.frag'>
+<xsl:param name="formal.title.placement">
+figure before
+example before
+equation before
+table before
+procedure before
+task before
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies where formal object titles should occur. For each formal object
+type (<sgmltag>figure</sgmltag>,
+<sgmltag>example</sgmltag>,
+<sgmltag>equation</sgmltag>,
+<sgmltag>table</sgmltag>, and <sgmltag>procedure</sgmltag>)
+you can specify either the keyword
+<quote><literal>before</literal></quote> or
+<quote><literal>after</literal></quote>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/formal.title.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/formal.title.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/formal.title.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="formal.title.properties">
+<refnamediv>
+<refname>formal.title.properties</refname>
+<refpurpose>Style the title element of formal object such as a figure.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='formal.title.properties.frag'>
+<xsl:attribute-set name="formal.title.properties"
+	           use-attribute-sets="normal.para.spacing">
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.2"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">0.6em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">0.8em</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>Specify how the title should be styled. Specify the font size and weight of the title of the formal object.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/funcsynopsis.decoration.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/funcsynopsis.decoration.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/funcsynopsis.decoration.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="funcsynopsis.decoration">
+<refmeta>
+<refentrytitle>funcsynopsis.decoration</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>funcsynopsis.decoration</refname>
+<refpurpose>Decorate elements of a FuncSynopsis?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='funcsynopsis.decoration.frag'><xsl:param name="funcsynopsis.decoration" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), elements of the FuncSynopsis will be decorated (e.g. bold or
+italic).  The decoration is controlled by functions that can be redefined
+in a customization layer.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/funcsynopsis.style.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/funcsynopsis.style.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/funcsynopsis.style.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="funcsynopsis.style">
+<refmeta>
+<refentrytitle>funcsynopsis.style</refentrytitle>
+<refmiscinfo role="type">list</refmiscinfo>
+<refmiscinfo role="value">ansi</refmiscinfo>
+<refmiscinfo role="value">kr</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>funcsynopsis.style</refname>
+<refpurpose>What style of 'FuncSynopsis' should be generated?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='funcsynopsis.style.frag'><xsl:param name="funcsynopsis.style">kr</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <varname>funcsynopsis.style</varname> is <literal>ansi</literal>,
+ANSI-style function synopses are generated for a
+<sgmltag>funcsynopsis</sgmltag>, otherwise K&amp;R-style
+function synopses are generated.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/funcsynopsis.tabular.threshold.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/funcsynopsis.tabular.threshold.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/funcsynopsis.tabular.threshold.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="funcsynopsis.tabular.threshold">
+<refmeta>
+<refentrytitle>funcsynopsis.tabular.threshold</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>funcsynopsis.tabular.threshold</refname>
+<refpurpose>Width beyond which a tabular presentation will be used</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='funcsynopsis.tabular.threshold.frag'>
+<xsl:param name="funcsynopsis.tabular.threshold" select="40"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>funcsynopsis.tabular.threshold</parameter> is greater than
+zero then if a <sgmltag>funcprototype</sgmltag> is wider than the threshold
+value, it will be presented in a table.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/function.parens.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/function.parens.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/function.parens.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="function.parens">
+<refmeta>
+<refentrytitle>function.parens</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>function.parens</refname>
+<refpurpose>Generate parens after a function?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='function.parens.frag'><xsl:param name="function.parens">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If not 0, the formatting of
+a <sgmltag class="starttag">function</sgmltag> element will include
+generated parenthesis.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/generate.id.attributes.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/generate.id.attributes.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/generate.id.attributes.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,56 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="generate.id.attributes">
+<refmeta>
+<refentrytitle>generate.id.attributes</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>generate.id.attributes</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='generate.id.attributes.frag'>
+<xsl:param name="generate.id.attributes" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, the HTML stylesheet will generate ID attributes on
+containers. For example, the markup:</para>
+
+<screen><![CDATA[<section id="foo"><title>Some Title</title>
+<para>Some para.</para>
+</section>]]></screen>
+
+<para>might produce:</para>
+
+<screen><![CDATA[<div class="section" id="foo">
+<h2>Some Title</h2>
+<p>Some para.</p>
+</div>]]></screen>
+
+<para>The alternative is to generate anchors:</para>
+
+<screen><![CDATA[<div class="section">
+<h2><a name="foo"></a>Some Title</h2>
+<p>Some para.</p>
+</div>]]></screen>
+
+<para>Because the <sgmltag class="attribute">name</sgmltag> attribute of
+the <sgmltag>a</sgmltag> element and the <sgmltag class="attribute">id</sgmltag>
+attribute of other tags are both of type <quote>ID</quote>, producing both
+generates invalid documents.</para>
+
+<para>As of version 1.50, you can use this switch to control which type of
+identifier is generated. For backwards-compatibility, generating
+<sgmltag>a</sgmltag> anchors is preferred.</para>
+
+<para>Note: at present, this switch is incompletely implemented.
+Disabling ID attributes will suppress them, but enabling ID attributes
+will not suppress the anchors.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/generate.index.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/generate.index.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/generate.index.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="generate.index">
+<refmeta>
+<refentrytitle>generate.index</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>generate.index</refname>
+<refpurpose>Do you want an index?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='generate.index.frag'><xsl:param name="generate.index" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specify if an index should be generated. </para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/generate.legalnotice.link.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/generate.legalnotice.link.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/generate.legalnotice.link.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,46 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="generate.legalnotice.link">
+<refmeta>
+<refentrytitle>generate.legalnotice.link</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>generate.legalnotice.link</refname>
+<refpurpose>Write legalnotice to separate chunk and generate link?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='generate.legalnotice.link.frag'><xsl:param name="generate.legalnotice.link" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>generate.legalnotice.link</parameter>
+is non-zero, the stylesheet:
+
+<itemizedlist>
+  <listitem>
+    <para>writes the contents of <tag>legalnotice</tag> to a separate
+    HTML file</para>
+  </listitem>
+  <listitem>
+    <para>inserts a hyperlink to the <tag>legalnotice</tag> file</para>
+  </listitem>
+  <listitem>
+    <para>adds (in the HTML <literal>head</literal>) either a single
+    <literal>link</literal> or element or multiple
+    <literal>link</literal> elements (depending on the value of the
+    <parameter>html.head.legalnotice.link.multiple</parameter>
+    parameter), with the value or values derived from the
+    <parameter>html.head.legalnotice.link.types</parameter>
+    parameter</para>
+  </listitem>
+  </itemizedlist>
+
+  Otherwise, if <parameter>generate.legalnotice.link</parameter> is
+  zero, <tag>legalnotice</tag> contents are rendered on the title
+  page.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/generate.manifest.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/generate.manifest.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/generate.manifest.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="generate.manifest">
+  <refmeta>
+    <refentrytitle>generate.manifest</refentrytitle>
+    <refmiscinfo role="type">boolean</refmiscinfo>
+  </refmeta>
+  <refnamediv>
+    <refname>generate.manifest</refname>
+    <refpurpose>Generate a manifest file?</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+    <src:fragment id='generate.manifest.frag'
+      ><xsl:param name="generate.manifest" select="0"/></src:fragment>
+  </refsynopsisdiv>
+
+  <refsect1><title>Description</title>
+
+    <para>If non-zero, a list of HTML files generated by the
+      stylesheet transformation is written to the file named by
+      the <parameter>manifest</parameter> parameter.</para>
+
+  </refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/generate.meta.abstract.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/generate.meta.abstract.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/generate.meta.abstract.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="generate.meta.abstract">
+<refmeta>
+<refentrytitle>generate.meta.abstract</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>generate.meta.abstract</refname>
+<refpurpose>Generate HTML <sgmltag>META</sgmltag> element from <sgmltag>abstract</sgmltag>?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='generate.meta.abstract.frag'>
+<xsl:param name="generate.meta.abstract" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, document abstracts will be reproduced in the HTML
+<sgmltag>HEAD</sgmltag> with <sgmltag class="starttag">meta name="description" content="..."</sgmltag>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/generate.revhistory.link.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/generate.revhistory.link.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/generate.revhistory.link.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="generate.revhistory.link">
+<refmeta>
+<refentrytitle>generate.revhistory.link</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>generate.revhistory.link</refname>
+<refpurpose>Write revhistory to separate chunk and generate link?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='generate.revhistory.link.frag'><xsl:param name="generate.revhistory.link" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, the contents of <tag>revhistory</tag> are written
+to a separate HTML file and a link to the file is
+generated. Otherwise, <tag>revhistory</tag> contents are rendered on
+the title page.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/generate.section.toc.level.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/generate.section.toc.level.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/generate.section.toc.level.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="generate.section.toc.level">
+<refmeta>
+<refentrytitle>generate.section.toc.level</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>generate.section.toc.level</refname>
+<refpurpose>Control depth of TOC generation in sections</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='generate.section.toc.level.frag'>
+<xsl:param name="generate.section.toc.level" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>generate.section.toc.level</parameter> parameter
+controls the depth of section in which TOCs will be generated. Note
+that this is related to, but not the same as
+<parameter>toc.section.depth</parameter>, which controls the depth to
+which TOC entries will be generated in a given TOC.</para>
+<para>If, for example, <parameter>generate.section.toc.level</parameter>
+is <literal>3</literal>, TOCs will be generated in first, second, and third
+level sections, but not in fourth level sections.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/generate.toc.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/generate.toc.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/generate.toc.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,105 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="generate.toc">
+<refmeta>
+<refentrytitle>generate.toc</refentrytitle>
+<refmiscinfo role="type">table</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>generate.toc</refname>
+<refpurpose>Control generation of ToCs and LoTs</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='generate.toc.frag'>
+<xsl:param condition="html" name="generate.toc">
+appendix  toc,title
+article/appendix  nop
+article   toc,title
+book      toc,title,figure,table,example,equation
+chapter   toc,title
+part      toc,title
+preface   toc,title
+qandadiv  toc
+qandaset  toc
+reference toc,title
+sect1     toc
+sect2     toc
+sect3     toc
+sect4     toc
+sect5     toc
+section   toc
+set       toc,title
+</xsl:param>
+<xsl:param condition="fo" name="generate.toc">
+/appendix toc,title
+article/appendix  nop
+/article  toc,title
+book      toc,title,figure,table,example,equation
+/chapter  toc,title
+part      toc,title
+/preface  toc,title
+reference toc,title
+/sect1    toc
+/sect2    toc
+/sect3    toc
+/sect4    toc
+/sect5    toc
+/section  toc
+set       toc,title
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter has a structured value. It is a table of space-delimited
+path/value pairs. Each path identifies some element in the source document
+using a restricted subset of XPath (only the implicit child axis, no wildcards,
+no predicates). Paths can be either relative or absolute.</para>
+
+<para>When processing a particular element, the stylesheets consult this table to
+determine if a ToC (or LoT(s)) should be generated.</para>
+
+<para>For example, consider the entry:</para>
+
+<screen>book toc,figure</screen>
+
+<para>This indicates that whenever a <sgmltag>book</sgmltag> is formatted, a
+Table Of Contents and a List of Figures should be generated. Similarly,</para>
+
+<screen>/chapter toc</screen>
+
+<para>indicates that whenever a document <emphasis>that has a root
+of</emphasis> <sgmltag>chapter</sgmltag> is formatted, a Table of
+Contents should be generated. The entry <literal>chapter</literal> would match
+all chapters, but <literal>/chapter</literal> matches only <sgmltag>chapter</sgmltag>
+document elements.</para>
+
+<para>Generally, the longest match wins. So, for example, if you want to distinguish
+articles in books from articles in parts, you could use these two entries:</para>
+
+<screen>book/article toc,figure
+part/article toc</screen>
+
+<para>Note that an article in a part can never match a <literal>book/article</literal>,
+so if you want nothing to be generated for articles in parts, you can simply leave
+that rule out.</para>
+
+<para>If you want to leave the rule in, to make it explicit that you're turning
+something off, use the value <quote>nop</quote>. For example, the following
+entry disables ToCs and LoTs for articles:</para>
+
+<screen>article nop</screen>
+
+<para>Do not simply leave the word <quote>article</quote> in the file
+without a matching value. That'd be just begging the silly little
+path/value parser to get confused.</para>
+
+<para>Section ToCs are further controlled by the
+<parameter>generate.section.toc.level</parameter> parameter.
+For a given section level to have a ToC, it must have both an entry in 
+<parameter>generate.toc</parameter> and be within the range enabled by
+<parameter>generate.section.toc.level</parameter>.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/glossary.as.blocks.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/glossary.as.blocks.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/glossary.as.blocks.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="glossary.as.blocks">
+<refmeta>
+<refentrytitle>glossary.as.blocks</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>glossary.as.blocks</refname>
+<refpurpose>Present glossarys using blocks instead of lists?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='glossary.as.blocks.frag'>
+<xsl:param name="glossary.as.blocks" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, <sgmltag>glossary</sgmltag>s will be formatted as
+blocks.</para>
+
+<para>If you have long <sgmltag>glossterm</sgmltag>s, proper list
+markup in the FO case may produce unattractive lists. By setting this
+parameter, you can force the stylesheets to produce block markup
+instead of proper lists.</para>
+
+<para>You can override this setting with a processing instruction as the
+child of <sgmltag>glossary</sgmltag>: <sgmltag class="pi">dbfo
+glossary-presentation="blocks"</sgmltag> or <sgmltag class="pi">dbfo
+glossary-presentation="list"</sgmltag></para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/glossary.collection.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/glossary.collection.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/glossary.collection.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,249 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="glossary.collection">
+<refmeta>
+<refentrytitle>glossary.collection</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>glossary.collection</refname>
+<refpurpose>Name of the glossary collection file</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='glossary.collection.frag'>
+<xsl:param name="glossary.collection" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Glossaries maintained independently across a set of documents
+are likely to become inconsistent unless considerable effort is
+expended to keep them in sync. It makes much more sense, usually, to
+store all of the glossary entries in a single place and simply
+<quote>extract</quote> the ones you need in each document.</para>
+
+<para>That's the purpose of the
+<parameter>glossary.collection</parameter> parameter. To setup a global
+glossary <quote>database</quote>, follow these steps:</para>
+
+<refsect2><title>Setting Up the Glossary Database</title>
+
+<para>First, create a stand-alone glossary document that contains all of
+the entries that you wish to reference. Make sure that each glossary
+entry has an ID.</para>
+
+<para>Here's an example glossary:</para>
+
+<informalexample>
+<programlisting><![CDATA[
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE glossary
+  PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
+  "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
+<glossary>
+<glossaryinfo>
+<editor><firstname>Eric</firstname><surname>Raymond</surname></editor>
+<title>Jargon File 4.2.3 (abridged)</title>
+<releaseinfo>Just some test data</releaseinfo>
+</glossaryinfo>
+
+<glossdiv><title>0</title>
+
+<glossentry>
+<glossterm>0</glossterm>
+<glossdef>
+<para>Numeric zero, as opposed to the letter `O' (the 15th letter of
+the English alphabet). In their unmodified forms they look a lot
+alike, and various kluges invented to make them visually distinct have
+compounded the confusion. If your zero is center-dotted and letter-O
+is not, or if letter-O looks almost rectangular but zero looks more
+like an American football stood on end (or the reverse), you're
+probably looking at a modern character display (though the dotted zero
+seems to have originated as an option on IBM 3270 controllers). If
+your zero is slashed but letter-O is not, you're probably looking at
+an old-style ASCII graphic set descended from the default typewheel on
+the venerable ASR-33 Teletype (Scandinavians, for whom /O is a letter,
+curse this arrangement). (Interestingly, the slashed zero long
+predates computers; Florian Cajori's monumental "A History of
+Mathematical Notations" notes that it was used in the twelfth and
+thirteenth centuries.) If letter-O has a slash across it and the zero
+does not, your display is tuned for a very old convention used at IBM
+and a few other early mainframe makers (Scandinavians curse <emphasis>this</emphasis>
+arrangement even more, because it means two of their letters collide).
+Some Burroughs/Unisys equipment displays a zero with a <emphasis>reversed</emphasis>
+slash. Old CDC computers rendered letter O as an unbroken oval and 0
+as an oval broken at upper right and lower left. And yet another
+convention common on early line printers left zero unornamented but
+added a tail or hook to the letter-O so that it resembled an inverted
+Q or cursive capital letter-O (this was endorsed by a draft ANSI
+standard for how to draw ASCII characters, but the final standard
+changed the distinguisher to a tick-mark in the upper-left corner).
+Are we sufficiently confused yet?</para>
+</glossdef>
+</glossentry>
+
+<glossentry>
+<glossterm>1TBS</glossterm>
+<glossdef>
+<para role="accidence">
+<phrase role="pronounce"></phrase>
+<phrase role="partsofspeach">n</phrase>
+</para>
+<para>The "One True Brace Style"</para>
+<glossseealso>indent style</glossseealso>
+</glossdef>
+</glossentry>
+
+<!-- ... -->
+
+</glossdiv>
+
+<!-- ... -->
+
+</glossary>]]></programlisting>
+</informalexample>
+
+</refsect2>
+
+<refsect2><title>Marking Up Glossary Terms</title>
+
+<para>That takes care of the glossary database, now you have to get the entries
+into your document. Unlike bibliography entries, which can be empty, creating
+<quote>placeholder</quote> glossary entries would be very tedious. So instead,
+support for <parameter>glossary.collection</parameter> relies on implicit linking.</para>
+
+<para>In your source document, simply use <sgmltag>firstterm</sgmltag> and
+<sgmltag>glossterm</sgmltag> to identify the terms you wish to have included
+in the glossary. The stylesheets assume that you will either set the
+<sgmltag class="attribute">baseform</sgmltag> attribute correctly, or that the
+content of the element exactly matches a term in your glossary.</para>
+
+<para>If you're using a <parameter>glossary.collection</parameter>, don't
+make explicit links on the terms in your document.</para>
+
+<para>So, in your document, you might write things like this:</para>
+
+<informalexample>
+<programlisting><![CDATA[<para>This is dummy text, without any real meaning.
+The point is simply to reference glossary terms like <glossterm>0</glossterm>
+and the <firstterm baseform="1TBS">One True Brace Style (1TBS)</firstterm>.
+The <glossterm>1TBS</glossterm>, as you can probably imagine, is a nearly
+religious issue.</para>]]></programlisting>
+</informalexample>
+
+<para>If you set the <parameter>firstterm.only.link</parameter> parameter,
+only the terms marked with <sgmltag>firstterm</sgmltag> will be links.
+Otherwise, all the terms will be linked.</para>
+
+</refsect2>
+
+<refsect2><title>Marking Up the Glossary</title>
+
+<para>The glossary itself has to be identified for the stylesheets. For lack
+of a better choice, the <sgmltag class="attribute">role</sgmltag> is used.
+To identify the glossary as the target for automatic processing, set
+the role to <quote><literal>auto</literal></quote>. The title of this
+glossary (and any other information from the <sgmltag>glossaryinfo</sgmltag>
+that's rendered by your stylesheet) will be displayed, but the entries will
+come from the database.
+</para>
+
+<para>Unfortunately, the glossary can't be empty, so you must put in
+at least one <sgmltag>glossentry</sgmltag>. The content of this entry
+is irrelevant, it will not be rendered:</para>
+
+<informalexample>
+<programlisting><![CDATA[<glossary role="auto">
+<glossentry>
+<glossterm>Irrelevant</glossterm>
+<glossdef>
+<para>If you can see this, the document was processed incorrectly. Use
+the <parameter>glossary.collection</parameter> parameter.</para>
+</glossdef>
+</glossentry>
+</glossary>]]></programlisting>
+</informalexample>
+
+<para>What about glossary divisions? If your glossary database has glossary
+divisions <emphasis>and</emphasis> your automatic glossary contains at least
+one <sgmltag>glossdiv</sgmltag>, the automic glossary will have divisions.
+If the <sgmltag>glossdiv</sgmltag> is missing from either location, no divisions
+will be rendered.</para>
+
+<para>Glossary entries (and divisions, if appropriate) in the glossary will
+occur in precisely the order they occur in your database.</para>
+
+</refsect2>
+
+<refsect2><title>Formatting the Document</title>
+
+<para>Finally, when you are ready to format your document, simply set the
+<parameter>glossary.collection</parameter> parameter (in either a
+customization layer or directly through your processor's interface) to
+point to your global glossary.</para>
+
+<para>The stylesheets will format the glossary in your document as if
+all of the entries implicilty referenced appeared there literally.</para>
+</refsect2>
+
+<refsect2><title>Limitations</title>
+
+<para>Glossary cross-references <emphasis>within the glossary</emphasis> are
+not supported. For example, this <emphasis>will not</emphasis> work:</para>
+
+<informalexample>
+<programlisting><![CDATA[<glossentry>
+<glossterm>gloss-1</glossterm>
+<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para>
+<glossseealso>gloss-2</glossseealso>
+</glossdef>
+</glossentry>]]></programlisting>
+</informalexample>
+
+<para>If you put glossary cross-references in your glossary that way,
+you'll get the cryptic error: <computeroutput>Warning:
+glossary.collection specified, but there are 0 automatic
+glossaries</computeroutput>.</para>
+
+<para>Instead, you must do two things:</para>
+
+<orderedlist>
+<listitem>
+<para>Markup your glossary using <sgmltag>glossseealso</sgmltag>:</para>
+
+<informalexample>
+<programlisting><![CDATA[<glossentry>
+<glossterm>gloss-1</glossterm>
+<glossdef><para>A description that references <glossterm>gloss-2</glossterm>.</para>
+<glossseealso>gloss-2</glossseealso>
+</glossdef>
+</glossentry>]]></programlisting>
+</informalexample>
+</listitem>
+
+<listitem>
+<para>Make sure there is at least one <sgmltag>glossterm</sgmltag> reference to
+<glossterm>gloss-2</glossterm> <emphasis>in your document</emphasis>. The
+easiest way to do that is probably within a <sgmltag>remark</sgmltag> in your
+automatic glossary:</para>
+
+<informalexample>
+<programlisting><![CDATA[<glossary role="auto">
+<remark>Make sure there's a reference to <glossterm>gloss-2</glossterm>.</remark>
+<glossentry>
+<glossterm>Irrelevant</glossterm>
+<glossdef>
+<para>If you can see this, the document was processed incorrectly. Use
+the <parameter>glossary.collection</parameter> parameter.</para>
+</glossdef>
+</glossentry>
+</glossary>]]></programlisting>
+</informalexample>
+</listitem>
+</orderedlist>
+</refsect2>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/glossary.sort.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/glossary.sort.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/glossary.sort.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="glossary.sort">
+<refmeta>
+<refentrytitle>glossary.sort</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>glossary.sort</refname>
+<refpurpose>Sort glossentry elements?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='glossary.sort.frag'>
+<xsl:param name="glossary.sort" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, then the glossentry elements within a
+glossary, glossdiv, or glosslist are sorted on the glossterm, using
+the current lang setting.  If zero (the default), then
+glossentry elements are not sorted and are presented
+in document order.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/glossentry.show.acronym.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/glossentry.show.acronym.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/glossentry.show.acronym.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="glossentry.show.acronym">
+<refmeta>
+<refentrytitle>glossentry.show.acronym</refentrytitle>
+<refmiscinfo role="type">list</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>glossentry.show.acronym</refname>
+<refpurpose>Display <sgmltag>glossentry</sgmltag> acronyms?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='glossentry.show.acronym.frag'>
+<xsl:param name="glossentry.show.acronym" select="'no'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>A setting of <quote>yes</quote> means they should be displayed;
+<quote>no</quote> means they shouldn't. If <quote>primary</quote> is used,
+then they are shown as the primary text for the entry.</para>
+
+<note>
+<para>This setting controls both <sgmltag>acronym</sgmltag> and
+<sgmltag>abbrev</sgmltag> elements in the <sgmltag>glossentry</sgmltag>.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/glosslist.as.blocks.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/glosslist.as.blocks.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/glosslist.as.blocks.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="glosslist.as.blocks">
+<refmeta>
+<refentrytitle>glosslist.as.blocks</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>glosslist.as.blocks</refname>
+<refpurpose>Use blocks for glosslists?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='glosslist.as.blocks.frag'>
+<xsl:param name="glosslist.as.blocks" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>See <parameter>glossary.as.blocks</parameter>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/glossterm.auto.link.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/glossterm.auto.link.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/glossterm.auto.link.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="glossterm.auto.link">
+<refmeta>
+<refentrytitle>glossterm.auto.link</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>glossterm.auto.link</refname>
+<refpurpose>Generate links from glossterm to glossentry automaticaly?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='glossterm.auto.link.frag'>
+<xsl:param name="glossterm.auto.link" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true, a link will be automatically created from glossterm 
+to glossentry for that glossary term. This is usefull when your
+glossterm names are consistent and you don't want to add links
+manually.</para>
+<para>If there is <sgmltag class="attribute">linkend</sgmltag> on
+<sgmltag>glossterm</sgmltag> then is used instead of autogeneration of
+link.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/glossterm.separation.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/glossterm.separation.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/glossterm.separation.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="glossterm.separation">
+<refmeta>
+<refentrytitle>glossterm.separation</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>glossterm.separation</refname>
+<refpurpose>Separation between glossary terms and descriptions in list mode</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='glossterm.separation.frag'>
+<xsl:param name="glossterm.separation" select="'0.25in'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the separation between glossary terms and descriptions when
+glossarys are presented using lists.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/glossterm.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/glossterm.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/glossterm.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="glossterm.width">
+<refmeta>
+<refentrytitle>glossterm.width</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>glossterm.width</refname>
+<refpurpose>Width of glossterm in list presentation mode</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='glossterm.width.frag'>
+<xsl:param name="glossterm.width" select="'2in'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies the width reserved for glossary terms when
+a list presentation is used.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/graphic.default.extension.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/graphic.default.extension.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/graphic.default.extension.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="graphic.default.extension">
+<refmeta>
+<refentrytitle>graphic.default.extension</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>graphic.default.extension</refname>
+<refpurpose>Default extension for graphic filenames</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='graphic.default.extension.frag'><xsl:param name="graphic.default.extension"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If a <sgmltag>graphic</sgmltag> or <sgmltag>mediaobject</sgmltag>
+includes a reference to a filename that does not include an extension,
+and the <sgmltag class="attribute">format</sgmltag> attribute is
+<emphasis>unspecified</emphasis>, the default extension will be used.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/graphical.admonition.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/graphical.admonition.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/graphical.admonition.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="graphical.admonition.properties">
+<refnamediv>
+<refname>graphical.admonition.properties</refname>
+<refpurpose>To add properties to the outer block of a graphical admonition.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='graphical.admonition.properties.frag'><xsl:attribute-set name="graphical.admonition.properties">
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>These properties are added to the outer block containing the
+entire graphical admonition, including its title.
+It is used when the parameter
+<parameter>admon.graphics</parameter> is set to nonzero.
+Use this attribute-set to set the space above and below,
+and any indent for the whole admonition.</para>
+
+<para>In addition to these properties, a graphical admonition
+also applies the <parameter>admonition.title.properties</parameter>
+attribute-set to the title, and applies the
+<parameter>admonition.properties</parameter> attribute-set
+to the rest of the content.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/graphicsize.extension.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/graphicsize.extension.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/graphicsize.extension.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="graphicsize.extension">
+<refmeta>
+<refentrytitle>graphicsize.extension</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>graphicsize.extension</refname>
+<refpurpose>Enable the getWidth()/getDepth() extension functions</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='graphicsize.extension.frag'>
+<xsl:param name="graphicsize.extension" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero (and if <parameter>use.extensions</parameter> is non-zero
+and if you're using a processor that supports extension functions), the
+<function>getWidth</function> and <function>getDepth</function> functions
+will be used to extract image sizes from graphics.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/graphicsize.use.img.src.path.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/graphicsize.use.img.src.path.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/graphicsize.use.img.src.path.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="graphicsize.use.img.src.path">
+<refmeta>
+<refentrytitle>graphicsize.use.img.src.path</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>graphicsize.use.img.src.path</refname>
+<refpurpose>Prepend <parameter>img.src.path</parameter> before
+filenames passed to extension functions</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='graphicsize.use.img.src.path.frag'>
+<xsl:param name="graphicsize.use.img.src.path" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero <parameter>img.src.path</parameter> parameter will
+be appended before filenames passed to extension functions for
+measuring image dimensions.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/header.column.widths.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/header.column.widths.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/header.column.widths.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,71 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="header.column.widths">
+<refmeta>
+<refentrytitle>header.column.widths</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>header.column.widths</refname>
+<refpurpose>Specify relative widths of header areas</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv><src:fragment id='header.column.widths.frag'>
+<xsl:param name="header.column.widths" select="'1 1 1'"/>
+</src:fragment></refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Page headers in print output use a three column table
+to position text at the left, center, and right side of
+the header on the page.
+This parameter lets you specify the relative sizes of the
+three columns.  The default value is
+"1 1 1".</para>
+
+<para>The parameter value must be three numbers, separated
+by white space. The first number represents the relative
+width of the left header for
+single-sided output, or the inside header for
+double-sided output.  The second number is the relative
+width of the center header.  The third number is the
+relative width of the right header for
+single-sided output, or the outside header for
+double-sided output.
+</para>
+
+<para>The numbers are used to specify the column widths
+for the table that makes up the header area.
+In the FO output, this looks like:
+</para>
+
+<programlisting>
+&lt;fo:table-column column-number="1" 
+    column-width="proportional-column-width(1)"/&gt;
+</programlisting>
+
+<para>
+The <literal>proportional-column-width()</literal>
+function computes a column width by dividing its
+argument by the total of the arguments for all the columns, and
+then multiplying the result by the width of the whole table
+(assuming all the column specs use the function).
+Its argument can be any positive integer or floating point number.
+Zero is an acceptable value, although some FO processors
+may warn about it, in which case using a very small number might
+be more satisfactory.
+</para>
+
+<para>For example, the value "1 2 1" means the center
+header should have twice the width of the other areas.
+A value of "0 0 1" means the entire header area
+is reserved for the right (or outside) header text.
+Note that to keep the center area centered on
+the page, the left and right values must be
+the same. A specification like "1 2 3" means the
+center area is no longer centered on the page
+since the right area is three times the width of the left area.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/header.content.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/header.content.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/header.content.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="header.content.properties">
+<refmeta>
+<refentrytitle>header.content.properties</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>header.content.properties</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='header.content.properties.frag'>
+<xsl:attribute-set name="header.content.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$body.fontset"/>
+  </xsl:attribute>
+  <xsl:attribute name="margin-left">
+    <xsl:value-of select="$title.margin.left"/>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Properties of page header content.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/header.rule.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/header.rule.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/header.rule.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="header.rule">
+<refmeta>
+<refentrytitle>header.rule</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>header.rule</refname>
+<refpurpose>Rule under headers?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='header.rule.frag'>
+<xsl:param name="header.rule" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, a rule will be drawn below the page headers.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/header.table.height.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/header.table.height.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/header.table.height.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="header.table.height">
+<refmeta>
+<refentrytitle>header.table.height</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>header.table.height</refname>
+<refpurpose>Specify the minimum height of the table containing the running page headers</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv><src:fragment id='header.table.height.frag'>
+<xsl:param name="header.table.height" select="'14pt'"/>
+</src:fragment></refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Page headers in print output use a three column table
+to position text at the left, center, and right side of
+the header on the page.
+This parameter lets you specify the minimum height 
+of the single row in the table.  
+Since this specifies only the minimum height,
+the table should automatically grow to fit taller content.
+The default value is "14pt".</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/headers.on.blank.pages.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/headers.on.blank.pages.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/headers.on.blank.pages.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="headers.on.blank.pages">
+<refmeta>
+<refentrytitle>headers.on.blank.pages</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>headers.on.blank.pages</refname>
+<refpurpose>Put headers on blank pages?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='headers.on.blank.pages.frag'>
+<xsl:param name="headers.on.blank.pages" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, headers will be placed on blank pages.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/highlight.default.language.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/highlight.default.language.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/highlight.default.language.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="highlight.default.language">
+<refmeta>
+<refentrytitle>highlight.default.language</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>highlight.default.language</refname>
+<refpurpose>Default language of programlisting</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='highlight.default.language.frag'>
+<xsl:param name="highlight.default.language" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This language is used when there is no language attribute on programlisting.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/highlight.source.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/highlight.source.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/highlight.source.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,49 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="highlight.source">
+<refmeta>
+<refentrytitle>highlight.source</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>highlight.source</refname>
+<refpurpose>Should be content of <sgmltag>programlisting</sgmltag>
+syntactically highlighted?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='highlight.source.frag'>
+<xsl:param name="highlight.source" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>When this parameter is non-zero, the stylesheets will try to do
+syntax highlighting in content of programlisting element.</para>
+
+<para>In order to use this extension, you must add
+<filename>xslthl.jar</filename> into your Java classpath. You can
+download this software from <ulink
+url="http://sourceforge.net/projects/xslthl"/>.</para>
+
+<para>Configuration of syntax highlighting is stored inside
+<filename>highlighting/xslthl-config.xml</filename> file. Java
+property <literal>xslthl.config</literal> must be pointing to this
+file using URL.</para>
+
+<para>This extension is known to work with Saxon 6.5.x. When using
+syntax highlighting, do not forget to modify your classpath and point
+to the configuration file using property. Modified Saxon command can look
+like:</para>
+
+<programlisting>java -cp c:\batch\;…;c:\path\to\xslthl.jar -Dxslthl.config=file:///c:/docbook-xsl/highlighting/xslthl-config.xml … com.icl.saxon.StyleSheet …</programlisting>
+
+<para>You can specify language for each programlisting using <sgmltag
+class="attribute">language</sgmltag> attribute. Parameter
+<parameter>highlighting.default.language</parameter> can be used for specifying
+language to be used for programlistings without <sgmltag
+class="attribute">language</sgmltag> attribute.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/html.append.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/html.append.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/html.append.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="html.append">
+<refmeta>
+<refentrytitle>html.append</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>html.append</refname>
+<refpurpose>Specifies content to append to HTML output</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='html.append.frag'><xsl:param name="html.append"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies content to append to the end of HTML files output by
+the <filename>html/docbook.xsl</filename> stylesheet, after the
+closing <code>&lt;html></code> tag. You probably don’t want to set any
+value for this parameter; but if you do, the only value it should ever
+be set to is a newline character: <code>&amp;#x0a;</code> or
+<code>&amp;#10;</code></para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/html.base.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/html.base.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/html.base.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="html.base">
+<refmeta>
+<refentrytitle>html.base</refentrytitle>
+<refmiscinfo role="type">uri</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>html.base</refname>
+<refpurpose>An HTML base URI</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='html.base.frag'><xsl:param name="html.base"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If html.base is set, it is used for the <sgmltag>BASE</sgmltag>
+element in the <sgmltag>HEAD</sgmltag> of the HTML documents.
+This is useful for dynamically served HTML where the base URI needs
+to be shifted.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/html.cellpadding.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/html.cellpadding.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/html.cellpadding.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="html.cellpadding">
+<refmeta>
+<refentrytitle>html.cellpadding</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>html.cellpadding</refname>
+<refpurpose>Default value for cellpadding in HTML tables</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='html.cellpadding.frag'>
+<xsl:param name="html.cellpadding" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If specified, this value will be used as the default cellpadding value
+in HTML tables.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/html.cellspacing.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/html.cellspacing.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/html.cellspacing.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="html.cellspacing">
+<refmeta>
+<refentrytitle>html.cellspacing</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>html.cellspacing</refname>
+<refpurpose>Default value for cellspacing in HTML tables</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='html.cellspacing.frag'>
+<xsl:param name="html.cellspacing" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If specified, this value will be used as the default cellspacing value
+in HTML tables.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/html.cleanup.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/html.cleanup.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/html.cleanup.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="html.cleanup">
+<refmeta>
+<refentrytitle>html.cleanup</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>html.cleanup</refname>
+<refpurpose>Attempt to clean up the resulting HTML?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='html.cleanup.frag'>
+<xsl:param name="html.cleanup" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, and if the <ulink url="http://www.exslt.org/">EXSLT</ulink>
+extensions are supported by your processor, the resulting HTML will be
+<quote>cleaned up</quote>. This improves the chances that the
+resulting HTML will be valid. It may also improve the formatting of
+some elements.</para>
+
+<para>This parameter is different from <parameter>make.valid.html</parameter>
+because it uses extension functions to manipulate result-tree-fragments.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/html.ext.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/html.ext.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/html.ext.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="html.ext">
+<refmeta>
+<refentrytitle>html.ext</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>html.ext</refname>
+<refpurpose>Identifies the extension of generated HTML files</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='html.ext.frag'>
+<xsl:param name="html.ext" select="'.html'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The extension identified by <parameter>html.ext</parameter> will
+be used as the filename extension for chunks created by this stylesheet.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/html.extra.head.links.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/html.extra.head.links.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/html.extra.head.links.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="html.extra.head.links">
+<refmeta>
+<refentrytitle>html.extra.head.links</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>html.extra.head.links</refname>
+<refpurpose>Toggle extra HTML head link information</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='html.extra.head.links.frag'>
+<xsl:param name="html.extra.head.links" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, extra <sgmltag>link</sgmltag> elements will be
+generated in the <sgmltag>head</sgmltag> of chunked HTML files. These
+extra links point to chapters, appendixes, sections, etc. as supported
+by the <quote>Site Navigation Bar</quote> in Mozilla 1.0 (as of CR1, at least).
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/html.head.legalnotice.link.multiple.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/html.head.legalnotice.link.multiple.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/html.head.legalnotice.link.multiple.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,39 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="html.head.legalnotice.link.multiple">
+<refmeta>
+<refentrytitle>html.head.legalnotice.link.multiple</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>html.head.legalnotice.link.multiple</refname>
+<refpurpose>Generate multiple link instances in html head for legalnotice?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='html.head.legalnotice.link.multiple.frag'><xsl:param name="html.head.legalnotice.link.multiple" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>html.head.legalnotice.link.multiple</parameter> is
+non-zero and the value of
+<parameter>html.head.legalnotice.link.types</parameter> contains
+multiple link types, then the stylesheet generates (in the
+<literal>head</literal> section of the HTML source) one
+<literal>link</literal> element for each link type specified. For
+example, if the value of
+<parameter>html.head.legalnotice.link.types</parameter> is
+“<literal>copyright license</literal>”:
+
+<screen>  &lt;link rel="copyright" href="ln-id2524073.html" title="Legal Notice">
+  &lt;link rel="license" href="ln-id2524073.html" title="Legal Notice"></screen>
+
+ Otherwise, the stylesheet generates generates a single
+ <literal>link</literal> instance; for example:
+
+<screen>  &lt;link rel="copyright license" href="ln-id2524073.html" title="Legal Notice"></screen>
+ 
+</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/html.head.legalnotice.link.types.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/html.head.legalnotice.link.types.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/html.head.legalnotice.link.types.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,74 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="html.head.legalnotice.link.types">
+<refmeta>
+<refentrytitle>html.head.legalnotice.link.types</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>html.head.legalnotice.link.types</refname>
+<refpurpose>Specifies link types for legalnotice link in html head</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='html.head.legalnotice.link.types.frag'>
+<xsl:param name="html.head.legalnotice.link.types">copyright</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The value of
+<parameter>html.head.legalnotice.link.types</parameter> is a
+space-separated list of link types, as described in <ulink
+url="http://www.w3.org/TR/html401/types.html#type-links" >Section 6.12
+of the HTML 4.01 specification</ulink>. If the value of the
+<parameter>generate.legalnotice.link</parameter> parameter is
+non-zero, then the stylesheet generates (in the
+<literal>head</literal> section of the HTML source) either a single
+HTML <literal>link</literal> element or, if the value of the
+<parameter>html.head.legalnotice.link.multiple</parameter> is
+non-zero, one <literal>link</literal> element for each link type
+specified. Each <literal>link</literal> has the following attributes:
+
+<itemizedlist>
+  <listitem>
+    <para>a <sgmltag class="attribute">rel</sgmltag> attribute whose
+    value is derived from the value of
+    <parameter>html.head.legalnotice.link.types</parameter></para>
+  </listitem>
+  <listitem>
+    <para>an <sgmltag class="attribute">href</sgmltag> attribute whose
+    value is set to the URL of the file containing the
+    <sgmltag>legalnotice</sgmltag></para>
+  </listitem>
+  <listitem>
+    <para>a <sgmltag class="attribute">title</sgmltag> attribute whose
+    value is set to the title of the corresponding
+    <sgmltag>legalnotice</sgmltag> (or a title programatically
+    determined by the stylesheet)</para>
+  </listitem>
+</itemizedlist>
+
+For example:
+
+<screen>  &lt;link rel="license" href="ln-id2524073.html" title="Legal Notice"></screen>
+</para>
+
+<refsect2>
+  <title>About the default value</title>
+  <para>In an ideal world, the default value of
+  <parameter>html.head.legalnotice.link.types</parameter> would
+  probably be “<literal>license</literal>”, since the content of the
+  DocBook <sgmltag>legalnotice</sgmltag> is typically license
+  information, not copyright information. However, the default value
+  is “<literal>copyright</literal>” for pragmatic reasons: because
+  that’s among the set of “recognized link types” listed in <ulink
+  url="http://www.w3.org/TR/html401/types.html#type-links" >Section
+  6.12 of the HTML 4.01 specification</ulink>, and because certain
+  browsers and browser extensions are preconfigured to recognize that
+  value.</para>
+</refsect2>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/html.longdesc.link.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/html.longdesc.link.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/html.longdesc.link.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="html.longdesc.link">
+<refmeta>
+<refentrytitle>html.longdesc.link</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>html.longdesc.link</refname>
+<refpurpose>Should a link to the longdesc be included in the HTML?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='html.longdesc.link.frag'>
+<xsl:param name="html.longdesc.link" select="$html.longdesc"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, links will be created to the
+HTML files created for the
+<sgmltag class="attribute">longdesc</sgmltag> attribute. It makes no
+sense to turn enable this option without also enabling the
+<parameter>$html.longdesc</parameter> parameter.</para>
+
+<para>The <literal>longdesc.link</literal> named template is called
+to construct the link.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/html.longdesc.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/html.longdesc.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/html.longdesc.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="html.longdesc">
+<refmeta>
+<refentrytitle>html.longdesc</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>html.longdesc</refname>
+<refpurpose>Should longdesc URIs be created?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='html.longdesc.frag'>
+<xsl:param name="html.longdesc" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, HTML files will be created for the
+<sgmltag class="attribute">longdesc</sgmltag> attribute. These files
+are created from the <sgmltag>textobject</sgmltag>s in
+<sgmltag>mediaobject</sgmltag>s and
+<sgmltag>inlinemediaobject</sgmltag>.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/html.stylesheet.type.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/html.stylesheet.type.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/html.stylesheet.type.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="html.stylesheet.type">
+<refmeta>
+<refentrytitle>html.stylesheet.type</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>html.stylesheet.type</refname>
+<refpurpose>The type of the stylesheet used in the generated HTML</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='html.stylesheet.type.frag'><xsl:param name="html.stylesheet.type">text/css</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The type of the stylesheet to place in the HTML <sgmltag>link</sgmltag> tag.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/html.stylesheet.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/html.stylesheet.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/html.stylesheet.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="html.stylesheet">
+<refmeta>
+<refentrytitle>html.stylesheet</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>html.stylesheet</refname>
+<refpurpose>Name of the stylesheet(s) to use in the generated HTML</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='html.stylesheet.frag'>
+<xsl:param name="html.stylesheet" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>html.stylesheet</parameter> parameter is either empty,
+indicating that no stylesheet <sgmltag>LINK</sgmltag> tag should be generated
+in the HTML output, or it is a list of one or more stylesheets.</para>
+
+<para>Multiple stylesheets are space-delimited. If you need to
+reference a stylesheet URI that includes a space, encode it with
+<literal>%20</literal>. A seprate HTML <sgmltag>LINK</sgmltag> element will
+be generated for each stylesheet in the order they are listed in the
+parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.alias.file.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.alias.file.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.alias.file.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.alias.file">
+<refmeta>
+<refentrytitle>htmlhelp.alias.file</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.alias.file</refname>
+<refpurpose>Filename of map file.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.alias.file.frag'>
+<xsl:param name="htmlhelp.alias.file" select="'alias.h'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Change this parameter if you want different name of map file
+than <filename>alias.h</filename>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.autolabel.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.autolabel.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.autolabel.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.autolabel">
+<refmeta>
+<refentrytitle>htmlhelp.autolabel</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.autolabel</refname>
+<refpurpose>Should tree-like ToC use autonumbering feature?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.autolabel.frag'>
+<xsl:param name="htmlhelp.autolabel" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want to include chapter and section numbers into ToC in
+the left panel, set this parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.back.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.back.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.back.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.back">
+<refmeta>
+<refentrytitle>htmlhelp.button.back</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.back</refname>
+<refpurpose>Should be Back button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.back.frag'>
+<xsl:param name="htmlhelp.button.back" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Back button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.forward.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.forward.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.forward.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.forward">
+<refmeta>
+<refentrytitle>htmlhelp.button.forward</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.forward</refname>
+<refpurpose>Should be Forward button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.forward.frag'>
+<xsl:param name="htmlhelp.button.forward" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Forward button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.hideshow.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.hideshow.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.hideshow.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.hideshow">
+<refmeta>
+<refentrytitle>htmlhelp.button.hideshow</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.hideshow</refname>
+<refpurpose>Should be Hide/Show button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.hideshow.frag'>
+<xsl:param name="htmlhelp.button.hideshow" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Hide/Show button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.home.url.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.home.url.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.home.url.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.home.url">
+<refmeta>
+<refentrytitle>htmlhelp.button.home.url</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.home.url</refname>
+<refpurpose>URL address of page accessible by Home button</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.home.url.frag'>
+<xsl:param name="htmlhelp.button.home.url"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>URL address of page accessible by Home button.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.home.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.home.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.home.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.home">
+<refmeta>
+<refentrytitle>htmlhelp.button.home</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.home</refname>
+<refpurpose>Should be Home button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.home.frag'>
+<xsl:param name="htmlhelp.button.home" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Home button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump1.title.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump1.title.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump1.title.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.jump1.title">
+<refmeta>
+<refentrytitle>htmlhelp.button.jump1.title</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.jump1.title</refname>
+<refpurpose>Title of Jump1 button</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.jump1.title.frag'>
+<xsl:param name="htmlhelp.button.jump1.title" select="'User1'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Title of Jump1 button.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump1.url.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump1.url.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump1.url.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.jump1.url">
+<refmeta>
+<refentrytitle>htmlhelp.button.jump1.url</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.jump1.url</refname>
+<refpurpose>URL address of page accessible by Jump1 button</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.jump1.url.frag'>
+<xsl:param name="htmlhelp.button.jump1.url"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>URL address of page accessible by Jump1 button.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump1.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump1.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump1.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.jump1">
+<refmeta>
+<refentrytitle>htmlhelp.button.jump1</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.jump1</refname>
+<refpurpose>Should be Jump1 button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.jump1.frag'>
+<xsl:param name="htmlhelp.button.jump1" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Jump1 button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump2.title.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump2.title.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump2.title.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.jump2.title">
+<refmeta>
+<refentrytitle>htmlhelp.button.jump2.title</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.jump2.title</refname>
+<refpurpose>Title of Jump2 button</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.jump2.title.frag'>
+<xsl:param name="htmlhelp.button.jump2.title" select="'User2'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Title of Jump2 button.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump2.url.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump2.url.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump2.url.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.jump2.url">
+<refmeta>
+<refentrytitle>htmlhelp.button.jump2.url</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.jump2.url</refname>
+<refpurpose>URL address of page accessible by Jump2 button</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.jump2.url.frag'>
+<xsl:param name="htmlhelp.button.jump2.url"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>URL address of page accessible by Jump2 button.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump2.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump2.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.jump2.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.jump2">
+<refmeta>
+<refentrytitle>htmlhelp.button.jump2</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.jump2</refname>
+<refpurpose>Should be Jump2 button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.jump2.frag'>
+<xsl:param name="htmlhelp.button.jump2" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Jump2 button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.locate.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.locate.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.locate.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.locate">
+<refmeta>
+<refentrytitle>htmlhelp.button.locate</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.locate</refname>
+<refpurpose>Should be Locate button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.locate.frag'>
+<xsl:param name="htmlhelp.button.locate" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Locate button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.next.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.next.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.next.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.next">
+<refmeta>
+<refentrytitle>htmlhelp.button.next</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.next</refname>
+<refpurpose>Should be Next button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.next.frag'>
+<xsl:param name="htmlhelp.button.next" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Next button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.options.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.options.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.options.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.options">
+<refmeta>
+<refentrytitle>htmlhelp.button.options</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.options</refname>
+<refpurpose>Should be Options button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.options.frag'>
+<xsl:param name="htmlhelp.button.options" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Options button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.prev.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.prev.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.prev.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.prev">
+<refmeta>
+<refentrytitle>htmlhelp.button.prev</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.prev</refname>
+<refpurpose>Should be Prev button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.prev.frag'>
+<xsl:param name="htmlhelp.button.prev" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Prev button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.print.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.print.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.print.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.print">
+<refmeta>
+<refentrytitle>htmlhelp.button.print</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.print</refname>
+<refpurpose>Should be Print button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.print.frag'>
+<xsl:param name="htmlhelp.button.print" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Print button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.refresh.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.refresh.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.refresh.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.refresh">
+<refmeta>
+<refentrytitle>htmlhelp.button.refresh</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.refresh</refname>
+<refpurpose>Should be Refresh button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.refresh.frag'>
+<xsl:param name="htmlhelp.button.refresh" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Refresh button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.stop.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.stop.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.stop.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.stop">
+<refmeta>
+<refentrytitle>htmlhelp.button.stop</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.stop</refname>
+<refpurpose>Should be Stop button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.stop.frag'>
+<xsl:param name="htmlhelp.button.stop" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Stop button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.button.zoom.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.button.zoom.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.button.zoom.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.button.zoom">
+<refmeta>
+<refentrytitle>htmlhelp.button.zoom</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.button.zoom</refname>
+<refpurpose>Should be Zoom button shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.button.zoom.frag'>
+<xsl:param name="htmlhelp.button.zoom" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want Zoom button shown on toolbar, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.chm.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.chm.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.chm.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.chm">
+<refmeta>
+<refentrytitle>htmlhelp.chm</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.chm</refname>
+<refpurpose>Filename of output HTML Help file.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.chm.frag'>
+<xsl:param name="htmlhelp.chm" select="'htmlhelp.chm'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Change this parameter if you want different name of result
+CHM file than htmlhelp.chm.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.default.topic.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.default.topic.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.default.topic.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,33 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.default.topic">
+<refmeta>
+<refentrytitle>htmlhelp.default.topic</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.default.topic</refname>
+<refpurpose>Name of file with default topic</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.default.topic.frag'>
+<xsl:param name="htmlhelp.default.topic" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Normally first chunk of document is displayed when you open HTML
+Help file. If you want to display another topic, simply set its
+filename by this parameter.</para>
+
+<para>This is useful especially if you don't generate ToC in front of
+your document and you also hide root element in ToC. E.g.:</para>
+
+<programlisting><![CDATA[<xsl:param name="generate.book.toc" select="0"/>
+<xsl:param name="htmlhelp.hhc.show.root" select="0"/>
+<xsl:param name="htmlhelp.default.topic" select="'pr01.html'"/>]]></programlisting>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.display.progress.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.display.progress.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.display.progress.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.display.progress">
+<refmeta>
+<refentrytitle>htmlhelp.display.progress</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.display.progress</refname>
+<refpurpose>Display compile progress?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.display.progress.frag'>
+<xsl:param name="htmlhelp.display.progress" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>You can swith off display of compile progress by setting this
+parameter to 0.</para>
+
+</refsect1>
+</refentry>
+

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.encoding.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.encoding.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.encoding.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.encoding">
+<refmeta>
+<refentrytitle>htmlhelp.encoding</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.encoding</refname>
+<refpurpose>Character encoding to use in files for HTML Help compiler.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.encoding.frag'>
+<xsl:param name="htmlhelp.encoding" select="'iso-8859-1'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>HTML Help Compiler is not UTF-8 aware, so you should always use
+apropriate single-byte encoding here.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.enhanced.decompilation.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.enhanced.decompilation.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.enhanced.decompilation.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.enhanced.decompilation">
+<refmeta>
+<refentrytitle>htmlhelp.enhanced.decompilation</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.enhanced.decompilation</refname>
+<refpurpose>Allow enhanced decompilation of CHM?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.enhanced.decompilation.frag'>
+<xsl:param name="htmlhelp.enhanced.decompilation" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>When set to 1 this parameter enables enhanced decompilation of CHM.</para>
+
+</refsect1>
+</refentry>
+

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.enumerate.images.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.enumerate.images.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.enumerate.images.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.enumerate.images">
+<refmeta>
+<refentrytitle>htmlhelp.enumerate.images</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.enumerate.images</refname>
+<refpurpose>Should be paths to all used images added to project file?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.enumerate.images.frag'>
+<xsl:param name="htmlhelp.enumerate.images" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>You should turn on this flag, if you insert images into your documents 
+as external binary entities or if you are using absolute path in image names.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.force.map.and.alias.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.force.map.and.alias.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.force.map.and.alias.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.force.map.and.alias">
+<refmeta>
+<refentrytitle>htmlhelp.force.map.and.alias</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.force.map.and.alias</refname>
+<refpurpose>Should be [MAP] and [ALIAS] section added to project file unconditionaly?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.force.map.and.alias.frag'>
+<xsl:param name="htmlhelp.force.map.and.alias" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>You should turn on this flag, if you have your own
+<filename>alias.h</filename> and <filename>contex.h</filename> files
+and you want include reference to them in project file.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.binary.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.binary.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.binary.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.hhc.binary">
+<refmeta>
+<refentrytitle>htmlhelp.hhc.binary</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhc.binary</refname>
+<refpurpose>Generate binary ToC?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhc.binary.frag'>
+<xsl:param name="htmlhelp.hhc.binary" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parametr controls whether binary TOC will be generated. You
+must create binary TOC if you want to add Prev/Next buttons to toolbar
+(which is default behaviour). Files with binary TOC can't be merged.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.folders.instead.books.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.folders.instead.books.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.folders.instead.books.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.hhc.folders.instead.books">
+<refmeta>
+<refentrytitle>htmlhelp.hhc.folders.instead.books</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhc.folders.instead.books</refname>
+<refpurpose>Use folder icons in ToC (instead of book icons)?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhc.folders.instead.books.frag'>
+<xsl:param name="htmlhelp.hhc.folders.instead.books" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter controls whether there should be folder-like
+icons (1) or book-like icons (0) in ToC. If you want to use
+folder-like icons you must swith off binary ToC using
+<parameter>htmlhelp.hhc.binary</parameter>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.section.depth.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.section.depth.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.section.depth.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.hhc.section.depth">
+<refmeta>
+<refentrytitle>htmlhelp.hhc.section.depth</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhc.section.depth</refname>
+<refpurpose>Depth of TOC for sections in a left pane.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhc.section.depth.frag'>
+<xsl:param name="htmlhelp.hhc.section.depth" select="5"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Change this parameter if you want shallower ToC in a left pane
+of HTML Help viewer.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.show.root.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.show.root.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.show.root.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.hhc.show.root">
+<refmeta>
+<refentrytitle>htmlhelp.hhc.show.root</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhc.show.root</refname>
+<refpurpose>Should be entry for root element shown in ToC?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhc.show.root.frag'>
+<xsl:param name="htmlhelp.hhc.show.root" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If set to 0, there will be no entry for root element in
+ToC. This is useful when you want provide user with expanded ToC as
+a default.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.hhc.width">
+<refmeta>
+<refentrytitle>htmlhelp.hhc.width</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhc.width</refname>
+<refpurpose>Width of navigation (ToC) pane</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhc.width.frag'>
+<xsl:param name="htmlhelp.hhc.width"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies width of ToC pane in pixels.</para>
+
+</refsect1>
+</refentry>
+

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.hhc.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.hhc">
+<refmeta>
+<refentrytitle>htmlhelp.hhc</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhc</refname>
+<refpurpose>Filename of TOC file.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhc.frag'>
+<xsl:param name="htmlhelp.hhc" select="'toc.hhc'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Change this parameter if you want different name of TOC file
+than toc.hhc.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.hhk.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.hhk.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.hhk.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.hhk">
+<refmeta>
+<refentrytitle>htmlhelp.hhk</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhk</refname>
+<refpurpose>Filename of index file.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhk.frag'>
+<xsl:param name="htmlhelp.hhk" select="'index.hhk'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Change this parameter if you want different name of index file
+than index.hhk.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.tail.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.tail.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.tail.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.hhp.tail">
+<refmeta>
+<refentrytitle>htmlhelp.hhp.tail</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhp.tail</refname>
+<refpurpose>Additional content for project file.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhp.tail.frag'>
+<xsl:param name="htmlhelp.hhp.tail"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want to include some additional parameters into project file,
+store appropriate part of project file into this parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.window.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.window.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.window.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.hhp.window">
+<refmeta>
+<refentrytitle>htmlhelp.hhp.window</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhp.window</refname>
+<refpurpose>Name of default window.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhp.window.frag'>
+<xsl:param name="htmlhelp.hhp.window" select="'Main'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Name of default window. If empty no [WINDOWS] section will be
+added to project file.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.windows.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.windows.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.windows.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.hhp.windows">
+<refmeta>
+<refentrytitle>htmlhelp.hhp.windows</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhp.windows</refname>
+<refpurpose>Definition of additional windows</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhp.windows.frag'>
+<xsl:param name="htmlhelp.hhp.windows"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Content of this parameter is placed at the end of [WINDOWS]
+section of project file. You can use it for defining your own
+addtional windows.</para>
+
+</refsect1>
+</refentry>
+

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.hhp.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.hhp">
+<refmeta>
+<refentrytitle>htmlhelp.hhp</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.hhp</refname>
+<refpurpose>Filename of project file.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.hhp.frag'>
+<xsl:param name="htmlhelp.hhp" select="'htmlhelp.hhp'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Change this parameter if you want different name of project
+file than htmlhelp.hhp.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.map.file.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.map.file.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.map.file.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.map.file">
+<refmeta>
+<refentrytitle>htmlhelp.map.file</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.map.file</refname>
+<refpurpose>Filename of map file.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.map.file.frag'>
+<xsl:param name="htmlhelp.map.file" select="'context.h'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Change this parameter if you want different name of map file
+than <filename>context.h</filename>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.only.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.only.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.only.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.only">
+<refmeta>
+<refentrytitle>htmlhelp.only</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.only</refname>
+<refpurpose>Should be only project files generated?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.only.frag'>
+<xsl:param name="htmlhelp.only" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want to play with various HTML Help parameters and you
+don't need to regenerate all HTML files, you can set this parameter to
+1. This setting will not process whole document, only project files
+(hhp, hhc, hhk,...) will be generated.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.remember.window.position.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.remember.window.position.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.remember.window.position.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.remember.window.position">
+<refmeta>
+<refentrytitle>htmlhelp.remember.window.position</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.remember.window.position</refname>
+<refpurpose>Remember help window position?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.remember.window.position.frag'>
+<xsl:param name="htmlhelp.remember.window.position" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>To remember help window position between starts set this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>
+

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.show.advanced.search.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.show.advanced.search.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.show.advanced.search.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.show.advanced.search">
+<refmeta>
+<refentrytitle>htmlhelp.show.advanced.search</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.show.advanced.search</refname>
+<refpurpose>Should be advanced search available?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.show.advanced.search.frag'>
+<xsl:param name="htmlhelp.show.advanced.search" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want advanced search features in your help, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.show.favorities.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.show.favorities.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.show.favorities.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.show.favorities">
+<refmeta>
+<refentrytitle>htmlhelp.show.favorities</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.show.favorities</refname>
+<refpurpose>Should be favorities tab shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.show.favorities.frag'>
+<xsl:param name="htmlhelp.show.favorities" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want favorities tab shown in your help, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.show.menu.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.show.menu.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.show.menu.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.show.menu">
+<refmeta>
+<refentrytitle>htmlhelp.show.menu</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.show.menu</refname>
+<refpurpose>Should be menu shown?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.show.menu.frag'>
+<xsl:param name="htmlhelp.show.menu" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want application menu in your HTML Help file, turn this
+parameter to 1.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.show.toolbar.text.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.show.toolbar.text.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.show.toolbar.text.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.show.toolbar.text">
+<refmeta>
+<refentrytitle>htmlhelp.show.toolbar.text</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.show.toolbar.text</refname>
+<refpurpose>Show text under toolbar buttons?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.show.toolbar.text.frag'>
+<xsl:param name="htmlhelp.show.toolbar.text" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>You can switch off display of texts under toolbar buttons by
+setting this parameter to 0.</para>
+
+</refsect1>
+</refentry>
+

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.title.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.title.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.title.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.title">
+<refmeta>
+<refentrytitle>htmlhelp.title</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.title</refname>
+<refpurpose>Title of HTML Help</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.title.frag'>
+<xsl:param name="htmlhelp.title" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Content of this parameter will be used as a title for generated
+HTML Help. If empty, title will be automatically taken from document.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.use.hhk.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.use.hhk.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.use.hhk.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.use.hhk">
+<refmeta>
+<refentrytitle>htmlhelp.use.hhk</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.use.hhk</refname>
+<refpurpose>Should be index built using HHK file?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.use.hhk.frag'>
+<xsl:param name="htmlhelp.use.hhk" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, index is created using HHK file. This provides some
+new features.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/htmlhelp.window.geometry.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/htmlhelp.window.geometry.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/htmlhelp.window.geometry.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="htmlhelp.window.geometry">
+<refmeta>
+<refentrytitle>htmlhelp.window.geometry</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>htmlhelp.window.geometry</refname>
+<refpurpose>Set initial geometry of help window</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='htmlhelp.window.geometry.frag'>
+<xsl:param name="htmlhelp.window.geometry"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies initial position of help
+window. E.g.</para>
+
+<programlisting><![CDATA[<xsl:param name="htmlhelp.window.geometry">[160,64,992,704]</xsl:param>]]></programlisting>
+
+</refsect1>
+</refentry>
+

Added: trunk/docs/docbook/src/main/resources/params/hyphenate.verbatim.characters.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/hyphenate.verbatim.characters.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/hyphenate.verbatim.characters.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="hyphenate.verbatim.characters">
+<refmeta>
+<refentrytitle>hyphenate.verbatim.characters</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>hyphenate.verbatim.characters</refname>
+<refpurpose>List of characters after which line break can occur in listings</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='hyphenate.verbatim.characters.frag'><xsl:param name="hyphenate.verbatim.characters" select="''"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you enable <parameter>hyphenate.verbatim</parameter> line
+breaks are allowed only on space characters. If this is not enough for
+your document, you can specify list of additional characters after
+which line break is allowed in this parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/hyphenate.verbatim.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/hyphenate.verbatim.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/hyphenate.verbatim.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,44 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="hyphenate.verbatim">
+<refmeta>
+<refentrytitle>hyphenate.verbatim</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>hyphenate.verbatim</refname>
+<refpurpose>Should verbatim environments be hyphenated on space characters?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='hyphenate.verbatim.frag'><xsl:param name="hyphenate.verbatim" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the lines of program listing are too long to fit into one
+line it is quite common to split them at space and indicite by hook
+arrow that code continues on the next line. You can turn on this
+behaviour for <sgmltag>programlisting</sgmltag>,
+<sgmltag>screen</sgmltag> and <sgmltag>synopsis</sgmltag> elements by
+using this parameter.</para>
+
+<para>Note that you must also enable line wrapping for verbatim environments and
+select appropriate hyphenation character (e.g. hook arrow). This can
+be done using <parameter>monospace.verbatim.properties</parameter>
+attribute set:</para>
+
+<programlisting><![CDATA[<xsl:attribute-set name="monospace.verbatim.properties" 
+                   use-attribute-sets="verbatim.properties monospace.properties">
+  <xsl:attribute name="wrap-option">wrap</xsl:attribute>
+  <xsl:attribute name="hyphenation-character">&#x25BA;</xsl:attribute>
+</xsl:attribute-set>]]></programlisting>
+
+<para>For a list of arrows available in Unicode see <ulink
+url="http://www.unicode.org/charts/PDF/U2190.pdf"/> and <ulink
+url="http://www.unicode.org/charts/PDF/U2900.pdf"/> and make sure that
+selected character is available in the font you are using for verbatim
+environments.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/hyphenate.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/hyphenate.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/hyphenate.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="hyphenate">
+<refmeta>
+<refentrytitle>hyphenate</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>hyphenate</refname>
+<refpurpose>Specify hyphenation behavior</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='hyphenate.frag'><xsl:param name="hyphenate">true</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true, words may be hyphenated. Otherwise, they may not.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/id.warnings.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/id.warnings.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/id.warnings.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="id.warnings">
+<refmeta>
+<refentrytitle>id.warnings</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>id.warnings</refname>
+<refpurpose>Should warnings be generated for titled elements without IDs?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='id.warnings.frag'>
+<xsl:param name="id.warnings" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, the stylesheet will issue a warning for
+any element (other than the root element) which
+has a title but does not have an ID.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/ignore.image.scaling.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/ignore.image.scaling.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/ignore.image.scaling.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="ignore.image.scaling">
+<refmeta>
+<refentrytitle>ignore.image.scaling</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ignore.image.scaling</refname>
+<refpurpose>Tell the stylesheets to ignore the author's image scaling attributes</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='ignore.image.scaling.frag'>
+<xsl:param name="ignore.image.scaling" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, the scaling attributes on graphics and media objects are
+ignored.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/img.src.path.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/img.src.path.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/img.src.path.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,33 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="img.src.path">
+<refmeta>
+<refentrytitle>img.src.path</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>img.src.path</refname>
+<refpurpose>Path to HTML image files</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='img.src.path.frag'><xsl:param name="img.src.path"></xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Add a path prefix to each HTML
+<sgmltag class="element">img</sgmltag> or FO 
+<sgmltag class="element">fo:external-graphics</sgmltag> element's
+<sgmltag class="attribute">src</sgmltag> attribute.
+This path could relative to the directory where the HTML/FO
+files are created, or it could be an absolute URI.
+The default value is empty.
+Be sure to include a trailing slash if needed.
+</para>
+<para>This prefix is not applied to any filerefs that start
+with "/" or contain "//:".
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/index.div.title.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/index.div.title.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/index.div.title.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,36 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="index.div.title.properties">
+<refnamediv>
+<refname>index.div.title.properties</refname>
+<refpurpose>Properties associated with the letter headings in an
+index</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='index.div.title.properties.frag'>
+<xsl:attribute-set name="index.div.title.properties">
+  <xsl:attribute name="margin-left">0pt</xsl:attribute>
+  <xsl:attribute name="font-size">14.4pt</xsl:attribute>
+  <xsl:attribute name="font-family"><xsl:value-of
+                select="$title.fontset"/></xsl:attribute>
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="space-before.optimum"><xsl:value-of
+                select="concat($body.font.master,'pt')"/></xsl:attribute>
+  <xsl:attribute name="space-before.minimum"><xsl:value-of
+                select="concat($body.font.master,'pt * 0.8')"/></xsl:attribute>
+  <xsl:attribute name="space-before.optimum"><xsl:value-of
+                select="concat($body.font.master,'pt * 1.2')"/></xsl:attribute>
+  <xsl:attribute name="start-indent">0pt</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This attribute set is used on the letter headings that separate
+the divisions in an index.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/index.entry.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/index.entry.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/index.entry.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="index.entry.properties">
+<refnamediv>
+<refname>index.entry.properties</refname>
+<refpurpose>Properties applied to the formatted entries
+in an index</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='index.entry.properties.frag'>
+<xsl:attribute-set name="index.entry.properties">
+  <xsl:attribute name="start-indent">0pt</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This attribute set is applied to the block containing
+the entries in a letter division in an index.  It can be used to set the
+font-size, font-family, and other inheritable properties that will be
+applied to all index entries.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/index.method.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/index.method.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/index.method.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,156 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="index.method">
+<refmeta>
+<refentrytitle>index.method</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>index.method</refname>
+<refpurpose>Select method used to group index entries in an index</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='index.method.frag'>
+<xsl:param name="index.method" select="'basic'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter lets you select which method should be
+used to sort and group index entries in an index.
+Indexes in latin-based languages that have accented characters typically
+sort together accented words and unaccented words.
+Thus <quote>&#xC1;</quote> (A acute) would sort together
+with <quote>A</quote>, so both would appear in the <quote>A</quote>
+section of the index.
+Languages using other alphabets (such as Russian cyrillic)
+and languages using ideographic chararacters (such as Japanese)
+require grouping specific to the languages and alphabets.
+</para>
+
+<para>The default indexing method is limited.
+It can group accented characters in latin-based languages only.
+It cannot handle non-latin alphabets or ideographic languages.
+The other indexing methods require extensions of one type or
+another, and do not work with
+all XSLT processors, which is why there are not used by default.</para>
+
+<para>The three choices for indexing method are:</para>
+<variablelist>
+<varlistentry>
+<term><literal>basic</literal></term>
+<listitem>
+<para>
+(default)  Sort and groups words based only on the Latin alphabet.
+Words with accented latin letters will group and sort with
+their respective primary letter, but
+words in non-Latin alphabets will be
+put in the <quote>Symbols</quote> section of the index.
+</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term><literal>kosek</literal></term>
+<listitem>
+<para>
+Sort and groups words based on letter groups configured in
+the DocBook locale file for the given language.
+See, for example, the French locale file <filename>common/fr.xml</filename>.
+This method requires that the XSLT processor
+support the EXSLT extensions (most do).
+It also requires support for using 
+user-defined functions in xsl:key (xsltproc does not).
+</para>
+<para>This method is suitable for any language for which you can
+list all the individual characters that should appear
+in each letter group in an index.
+It is probably not practical to use it for ideographic languages
+such as Chinese that have hundreds or thousands of characters.
+</para>
+
+<para>To use the kosek method, you must:</para>
+
+<orderedlist>
+<listitem>
+<para>Use a processor that supports its extensions, such as
+Saxon 6 or Xalan (xsltproc and Saxon 8 do not).
+</para>
+</listitem>
+<listitem>
+<para>Set the index.method parameter's value to <quote>kosek</quote>.
+</para>
+</listitem>
+<listitem>
+<para>Import the appropriate index extensions stylesheet module
+<filename>fo/autoidx-kosek.xsl</filename> or 
+<filename>html/autoidx-kosek.xsl</filename> into your
+customization.
+</para>
+</listitem>
+</orderedlist>
+
+</listitem>
+</varlistentry>
+<varlistentry>
+<term><literal>kimber</literal></term>
+<listitem>
+<para>
+This method uses extensions to the Saxon processor to implement
+sophisticated indexing processes.  It uses its own 
+configuration file, which can include information for any number of
+languages.  Each language's configuration can group
+words using one of two processes.  In the
+enumerated process similar to that used in the kosek method,
+you indicate the groupings character-by-character.
+In the between-key process, you specify the
+break-points in the sort order that should start a new group.
+The latter configuration is useful for ideographic languages
+such as Chinese, Japanese, and Korean.
+You can also define your own collation algorithms and how you
+want mixed Latin-alphabet words sorted.</para>
+<itemizedlist>
+<listitem>
+<para>For a whitepaper describing the extensions, see:
+<ulink url="http://www.innodata-isogen.com/knowledge_center/white_papers/back_of_book_for_xsl_fo.pdf"/>.
+</para>
+</listitem>
+<listitem>
+<para>To download the extension library, see
+<ulink url="http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport"/>.
+</para>
+</listitem>
+</itemizedlist>
+
+<para>To use the kimber method, you must:</para>
+
+<orderedlist>
+<listitem>
+<para>Use Saxon (version 6 or 8) as your XSLT processor.
+</para>
+</listitem>
+<listitem>
+<para>Install and configure the Innodata Isogen library, using
+the documentation that comes with it.
+</para>
+</listitem>
+<listitem>
+<para>Set the index.method parameter's value to <quote>kimber</quote>.
+</para>
+</listitem>
+<listitem>
+<para>Import the appropriate index extensions stylesheet module
+<filename>fo/autoidx-kimber.xsl</filename> or 
+<filename>html/autoidx-kimber.xsl</filename> into your
+customization.
+</para>
+</listitem>
+</orderedlist>
+
+</listitem>
+</varlistentry>
+</variablelist>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/index.number.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/index.number.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/index.number.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,51 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="index.number.separator">
+<refmeta>
+<refentrytitle>index.number.separator</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>index.number.separator</refname>
+<refpurpose>Override for punctuation separating page numbers in index</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='index.number.separator.frag'>
+<xsl:param name="index.number.separator" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter permits you to override the text to insert between
+page references in a formatted index entry.  Typically 
+that would be a comma and a space.
+</para>
+
+<para>Because this text may be locale dependent,
+this parameter's value is normally taken from a gentext
+template named 'number-separator' in the
+context 'index' in the stylesheet
+locale file for the language
+of the current document.
+This parameter can be used to override the gentext string,
+and would typically be used on the command line.
+This parameter would apply to all languages.
+</para>
+
+<para>So this text string can be customized in two ways.
+You can reset the default gentext string using
+the <parameter>local.l10n.xml</parameter> parameter, or you can
+override the gentext with the content of this parameter.
+The content can be a simple string, or it can be
+something more complex such as a call-template.
+</para>
+
+<para>In HTML index output, section title references are used instead of
+page number references.  This punctuation appears between
+such section titles in an HTML index.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/index.on.role.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/index.on.role.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/index.on.role.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,45 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="index.on.role">
+<refmeta>
+<refentrytitle>index.on.role</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>index.on.role</refname>
+<refpurpose>Select indexterms based on role value</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='index.on.role.frag'>
+<xsl:param name="index.on.role" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>
+If non-zero, 
+then an <sgmltag>index</sgmltag> element that has a
+<sgmltag>role</sgmltag> attribute
+value will contain only those <sgmltag>indexterm</sgmltag>
+elements with a matching role value.
+If an <sgmltag>index</sgmltag> has no <sgmltag>role</sgmltag>
+attribute or it is blank, then the index will contain
+all <sgmltag>indexterm</sgmltag>s in the current scope.
+</para>
+<para>
+If <literal>index.on.role</literal> is zero, then the
+<sgmltag>role</sgmltag> attribute has no effect
+on selecting indexterms for an index.
+</para>
+
+<para>If you are using DocBook version 4.3 or later, you should
+use the <sgmltag>type</sgmltag> attribute instead of <sgmltag>role</sgmltag>
+on <sgmltag>indexterm</sgmltag> and <sgmltag>index</sgmltag>,
+and set the <parameter>index.on.type</parameter> to a nonzero
+value.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/index.on.type.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/index.on.type.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/index.on.type.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,49 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="index.on.type">
+<refmeta>
+<refentrytitle>index.on.type</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>index.on.type</refname>
+<refpurpose>Select indexterms based on <sgmltag>type</sgmltag>
+attribute value</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='index.on.type.frag'>
+<xsl:param name="index.on.type" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>
+If non-zero, 
+then an <sgmltag>index</sgmltag> element that has a
+<sgmltag>type</sgmltag> attribute
+value will contain only those <sgmltag>indexterm</sgmltag>
+elements with a matching <sgmltag>type</sgmltag> attribute value.
+If an <sgmltag>index</sgmltag> has no <sgmltag>type</sgmltag>
+attribute or it is blank, then the index will contain
+all <sgmltag>indexterm</sgmltag>s in the current scope.
+</para>
+
+<para>
+If <literal>index.on.type</literal> is zero, then the
+<sgmltag>type</sgmltag> attribute has no effect
+on selecting indexterms for an index.
+</para>
+
+<para>For those using DocBook version 4.2 or earlier,
+the <sgmltag>type</sgmltag> attribute is not available
+for index terms.  However, you can achieve the same
+effect by using the <sgmltag>role</sgmltag> attribute
+in the same manner on <sgmltag>indexterm</sgmltag>
+and <sgmltag>index</sgmltag>, and setting the stylesheet parameter 
+<parameter>index.on.role</parameter> to a nonzero value.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/index.page.number.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/index.page.number.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/index.page.number.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="index.page.number.properties">
+<refnamediv>
+<refname>index.page.number.properties</refname>
+<refpurpose>Properties associated with index page numbers</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='index.page.number.properties.frag'>
+<xsl:attribute-set name="index.page.number.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Properties associated with page numbers in indexes. 
+Changing color to indicate the page number is a link is
+one possibility.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/index.prefer.titleabbrev.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/index.prefer.titleabbrev.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/index.prefer.titleabbrev.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="index.prefer.titleabbrev">
+<refmeta>
+<refentrytitle>index.prefer.titleabbrev</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>index.prefer.titleabbrev</refname>
+<refpurpose>Should be abbreviated titles used as back references</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='index.prefer.titleabbrev.frag'>
+<xsl:param name="index.prefer.titleabbrev" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/index.preferred.page.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/index.preferred.page.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/index.preferred.page.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="index.preferred.page.properties">
+<refnamediv>
+<refname>index.preferred.page.properties</refname>
+<refpurpose>Properties used to emphasize page number references for
+significant index terms</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='index.preferred.page.properties.frag'>
+<xsl:attribute-set name="index.preferred.page.properties">
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Properties used to emphasize page number references for
+significant index terms (<sgmltag
+class="attribute">significance</sgmltag>=<sgmltag
+class="attvalue">preffered</sgmltag>). Currently works only with
+XEP.</para>
+
+</refsect1>
+</refentry>
+

Added: trunk/docs/docbook/src/main/resources/params/index.range.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/index.range.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/index.range.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,54 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="index.range.separator">
+<refmeta>
+<refentrytitle>index.range.separator</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>index.range.separator</refname>
+<refpurpose>Override for punctuation separating the two numbers
+in a page range in index</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='index.range.separator.frag'>
+<xsl:param name="index.range.separator" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter permits you
+to override the text to insert between
+the two numbers of a page range in an index.
+This parameter is only used by those XSL-FO processors
+that support an extension for generating such page ranges
+(such as XEP).</para>
+
+<para>Because this text may be locale dependent,
+this parameter's value is normally taken from a gentext
+template named 'range-separator' in the
+context 'index' in the stylesheet
+locale file for the language
+of the current document.
+This parameter can be used to override the gentext string,
+and would typically be used on the command line.
+This parameter would apply to all languages.
+</para>
+
+<para>So this text string can be customized in two ways.
+You can reset the default gentext string using
+the <parameter>local.l10n.xml</parameter> parameter, or you can
+override the gentext with the content of this parameter.
+The content can be a simple string, or it can be
+something more complex such as a call-template.
+</para>
+
+<para>In HTML index output, section title references are used instead of
+page number references. So there are no page ranges
+and this parameter has no effect.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/index.term.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/index.term.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/index.term.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,51 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="index.term.separator">
+<refmeta>
+<refentrytitle>index.term.separator</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>index.term.separator</refname>
+<refpurpose>Override for punctuation separating an index term 
+from its list of page references in an index</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='index.term.separator.frag'>
+<xsl:param name="index.term.separator" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter permits you to override
+the text to insert between
+the end of an index term and its list of page references.
+Typically that might be a comma and a space.
+</para>
+
+<para>Because this text may be locale dependent,
+this parameter's value is normally taken from a gentext
+template named 'term-separator' in the
+context 'index' in the stylesheet
+locale file for the language
+of the current document.
+This parameter can be used to override the gentext string,
+and would typically be used on the command line.
+This parameter would apply to all languages.
+</para>
+
+<para>So this text string can be customized in two ways.
+You can reset the default gentext string using
+the <parameter>local.l10n.xml</parameter> parameter, or you can
+fill in the content for this normally empty 
+override parameter.
+The content can be a simple string, or it can be
+something more complex such as a call-template.
+For fo output, it could be an <sgmltag>fo:leader</sgmltag>
+element to provide space of a specific length, or a dot leader.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/informal.object.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/informal.object.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/informal.object.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="informal.object.properties">
+<refnamediv>
+<refname>informal.object.properties</refname>
+<refpurpose>Properties associated with a formal object such as a figure, or other component that has a title</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='informal.object.properties.frag'><xsl:attribute-set name="informal.object.properties">
+  <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>The styling for informal objects in docbook. Specify the spacing before and after the object.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/informalequation.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/informalequation.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/informalequation.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,20 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="informalequation.properties">
+<refnamediv>
+<refname>informalequation.properties</refname>
+<refpurpose>Properties associated with a informalequation</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='informalequation.properties.frag'>
+<xsl:attribute-set name="informalequation.properties" use-attribute-sets="informal.object.properties"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for informalequations.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/informalexample.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/informalexample.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/informalexample.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,20 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="informalexample.properties">
+<refnamediv>
+<refname>informalexample.properties</refname>
+<refpurpose>Properties associated with an informalexample</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='informalexample.properties.frag'>
+<xsl:attribute-set name="informalexample.properties" use-attribute-sets="informal.object.properties"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for informalexamples.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/informalfigure.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/informalfigure.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/informalfigure.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,20 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="informalfigure.properties">
+<refnamediv>
+<refname>informalfigure.properties</refname>
+<refpurpose>Properties associated with an informalfigure</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='informalfigure.properties.frag'>
+<xsl:attribute-set name="informalfigure.properties" use-attribute-sets="informal.object.properties"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for informalfigures.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/informaltable.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/informaltable.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/informaltable.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="informaltable.properties">
+<refnamediv>
+<refname>informaltable.properties</refname>
+<refpurpose>Properties associated with the block surrounding an informaltable</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='informaltable.properties.frag'>
+<xsl:attribute-set name="informaltable.properties"
+		   use-attribute-sets="informal.object.properties"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Block styling properties for informaltables. This parameter should really
+have been called <literal>informaltable.block.properties</literal> or something
+like that, but we’re leaving it to avoid backwards-compatibility
+problems.</para>
+
+<para>See also <parameter>table.table.properties</parameter>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/inherit.keywords.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/inherit.keywords.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/inherit.keywords.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="inherit.keywords">
+<refmeta>
+<refentrytitle>inherit.keywords</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>inherit.keywords</refname>
+<refpurpose>Inherit keywords from ancestor elements?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='inherit.keywords.frag'><xsl:param name="inherit.keywords" select="'1'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>inherit.keywords</parameter>
+is non-zero, the keyword <sgmltag>META</sgmltag> for each HTML
+<sgmltag>HEAD</sgmltag> element will include all of the keywords from
+ancestral elements. Otherwise, only the keywords from the current section
+will be used.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/insert.link.page.number.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/insert.link.page.number.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/insert.link.page.number.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,63 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="insert.link.page.number">
+<refmeta>
+<refentrytitle>insert.link.page.number</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>insert.link.page.number</refname>
+<refpurpose>Turns page numbers in link elements on and off</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='insert.link.page.number.frag'>
+<xsl:param name="insert.link.page.number">no</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The value of this parameter determines if
+cross references using the <sgmltag>link</sgmltag> element in
+printed output will
+include standard page number citations.
+It has three possible values.
+</para>
+<variablelist>
+<varlistentry>
+<term>no</term>
+<listitem><para>No page number references will be generated.
+</para></listitem>
+</varlistentry>
+<varlistentry>
+<term>yes</term>
+<listitem><para>Page number references will be generated
+for all <sgmltag>link</sgmltag> elements.
+The style of page reference may be changed
+if an <sgmltag class="attribute">xrefstyle</sgmltag>
+attribute is used.
+</para></listitem>
+</varlistentry>
+<varlistentry>
+<term>maybe</term>
+<listitem><para>Page number references will not be generated
+for a <sgmltag>link</sgmltag> element unless 
+it has an
+<sgmltag class="attribute">xrefstyle</sgmltag>
+attribute whose value specifies a page reference.
+</para></listitem>
+</varlistentry>
+</variablelist>
+
+<para>Although the <sgmltag>xrefstyle</sgmltag> attribute
+can be used to turn the page reference on or off, it cannot be
+used to control the formatting of the page number as it
+can in <sgmltag>xref</sgmltag>.
+In <sgmltag>link</sgmltag> it will always format with
+the style established by the
+gentext template with <literal>name="page.citation"</literal>
+in the <literal>l:context name="xref"</literal>.
+</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/insert.olink.page.number.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/insert.olink.page.number.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/insert.olink.page.number.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,77 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="insert.olink.page.number">
+<refmeta>
+<refentrytitle>insert.olink.page.number</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>insert.olink.page.number</refname>
+<refpurpose>Turns page numbers in olinks on and off</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='insert.olink.page.number.frag'>
+<xsl:param name="insert.olink.page.number">no</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The value of this parameter determines if
+cross references made between documents with
+<sgmltag>olink</sgmltag> will 
+include page number citations.
+In most cases this is only applicable to references in printed output.
+</para>
+<para>The parameter has three possible values.
+</para>
+<variablelist>
+<varlistentry>
+<term>no</term>
+<listitem><para>No page number references will be generated for olinks.
+</para></listitem>
+</varlistentry>
+<varlistentry>
+<term>yes</term>
+<listitem><para>Page number references will be generated
+for all <sgmltag>olink</sgmltag> references.
+The style of page reference may be changed
+if an <sgmltag class="attribute">xrefstyle</sgmltag>
+attribute is used.
+</para></listitem>
+</varlistentry>
+<varlistentry>
+<term>maybe</term>
+<listitem><para>Page number references will not be generated
+for an <sgmltag>olink</sgmltag> element unless 
+it has an
+<sgmltag class="attribute">xrefstyle</sgmltag>
+attribute whose value specifies a page reference.
+</para></listitem>
+</varlistentry>
+</variablelist>
+<para>Olinks that point to targets within the same document
+are treated as <sgmltag>xref</sgmltag>s, and controlled by
+the <parameter>insert.xref.page.number</parameter> parameter.
+</para>
+
+<para>Page number references for olinks to
+external documents can only be inserted if the 
+information exists in the olink database. 
+This means each olink target element 
+(<sgmltag>div</sgmltag> or <sgmltag>obj</sgmltag>)
+must have a <sgmltag class="attribute">page</sgmltag> attribute
+whose value is its page number in the target document.
+The XSL stylesheets are not able to extract that information
+during processing because pages have not yet been created in
+XSLT transformation.  Only the XSL-FO processor knows what
+page each element is placed on.
+Therefore some postprocessing must take place to populate
+page numbers in the olink database.
+</para>
+
+
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/insert.olink.pdf.frag.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/insert.olink.pdf.frag.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/insert.olink.pdf.frag.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,65 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="insert.olink.pdf.frag">
+<refmeta>
+<refentrytitle>insert.olink.pdf.frag</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>insert.olink.pdf.frag</refname>
+<refpurpose>Add fragment identifiers for links into PDF files</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='insert.olink.pdf.frag.frag'>
+<xsl:param name="insert.olink.pdf.frag" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The value of this parameter determines whether
+the cross reference URIs to PDF documents made with
+<sgmltag>olink</sgmltag> will 
+include fragment identifiers.
+</para>
+
+<para>When forming a URI to link to a PDF document,
+a fragment identifier (typically a '#' followed by an
+id value) appended to the PDF filename can be used by
+the PDF viewer to open
+the PDF file to a location within the document instead of
+the first page.
+However, not all PDF files have id
+values embedded in them, and not all PDF viewers can
+handle fragment identifiers. 
+</para>
+
+<para>If <parameter>insert.olink.pdf.frag</parameter> is set
+to a non-zero value, then any olink targeting a
+PDF file will have the fragment identifier appended to the URI.
+The URI is formed by concatenating the value of the
+<parameter>olink.base.uri</parameter> parameter, the
+value of the <sgmltag class="attribute">baseuri</sgmltag>
+attribute from the <sgmltag class="element">document</sgmltag>
+element in the olink database with the matching
+<sgmltag class="attribute">targetdoc</sgmltag> value,
+and the value of the <sgmltag class="attribute">href</sgmltag>
+attribute for the targeted element in the olink database.
+The <sgmltag class="attribute">href</sgmltag> attribute
+contains the fragment identifier.
+</para>
+
+<para>If <parameter>insert.olink.pdf.frag</parameter> is set
+to zero (the default value), then 
+the <sgmltag class="attribute">href</sgmltag> attribute
+from the olink database
+is not appended to PDF olinks, so the fragment identifier is left off.
+A PDF olink is any olink for which the
+<sgmltag class="attribute">baseuri</sgmltag> attribute
+from the matching <sgmltag class="element">document</sgmltag>
+element in the olink database ends with '.pdf'.
+Any other olinks will still have the fragment identifier added.
+</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/insert.xref.page.number.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/insert.xref.page.number.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/insert.xref.page.number.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,54 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="insert.xref.page.number">
+<refmeta>
+<refentrytitle>insert.xref.page.number</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>insert.xref.page.number</refname>
+<refpurpose>Turns page numbers in xrefs on and off</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='insert.xref.page.number.frag'>
+<xsl:param name="insert.xref.page.number">no</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The value of this parameter determines if
+cross references (<sgmltag>xref</sgmltag>s) in
+printed output will
+include page number citations.
+It has three possible values.
+</para>
+<variablelist>
+<varlistentry>
+<term>no</term>
+<listitem><para>No page number references will be generated.
+</para></listitem>
+</varlistentry>
+<varlistentry>
+<term>yes</term>
+<listitem><para>Page number references will be generated
+for all <sgmltag>xref</sgmltag> elements.
+The style of page reference may be changed
+if an <sgmltag class="attribute">xrefstyle</sgmltag>
+attribute is used.
+</para></listitem>
+</varlistentry>
+<varlistentry>
+<term>maybe</term>
+<listitem><para>Page number references will not be generated
+for an <sgmltag>xref</sgmltag> element unless 
+it has an
+<sgmltag class="attribute">xrefstyle</sgmltag>
+attribute whose value specifies a page reference.
+</para></listitem>
+</varlistentry>
+</variablelist>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/itemizedlist.label.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/itemizedlist.label.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/itemizedlist.label.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,19 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="itemizedlist.label.properties">
+<refnamediv>
+<refname>itemizedlist.label.properties</refname>
+<refpurpose>Properties that apply to each label inside itemized list.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='itemizedlist.label.properties.frag'><xsl:attribute-set name="itemizedlist.label.properties">
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>Properties that apply to each label inside itemized list. E.g.:</para>
+<programlisting><![CDATA[<xsl:attribute-set name="itemizedlist.label.properties">
+  <xsl:attribute name="text-align">right</xsl:attribute>
+</xsl:attribute-set>]]></programlisting>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/itemizedlist.label.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/itemizedlist.label.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/itemizedlist.label.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,21 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="itemizedlist.label.width">
+<refnamediv>
+<refname>itemizedlist.label.width</refname>
+<refpurpose>The default width of the label (bullet) in an itemized list.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='itemizedlist.label.width.frag'>
+<xsl:param name="itemizedlist.label.width" select="'1.0em'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>Specifies the default width of the label (usually a bullet or other
+symbol) in an itemized list. You can override the default value on any
+particular list with the “dbfo” processing instruction using the
+“label-width” pseudoattribute.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/itemizedlist.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/itemizedlist.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/itemizedlist.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,16 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="itemizedlist.properties">
+<refnamediv>
+<refname>itemizedlist.properties</refname>
+<refpurpose>Properties that apply to each list-block generated by itemizedlist.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='itemizedlist.properties.frag'><xsl:attribute-set name="itemizedlist.properties" use-attribute-sets="list.block.properties">
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>Properties that apply to each fo:list-block generated by itemizedlist.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/keep.relative.image.uris.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/keep.relative.image.uris.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/keep.relative.image.uris.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="keep.relative.image.uris">
+<refmeta>
+<refentrytitle>keep.relative.image.uris</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>keep.relative.image.uris</refname>
+<refpurpose>Should image URIs be resolved against xml:base?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='keep.relative.image.uris.frag'>
+<xsl:param condition="html" name="keep.relative.image.uris" select="1"/>
+<xsl:param condition="fo" name="keep.relative.image.uris" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zeor, relative URIs (in, for example fileref attributes) will
+be used in the generated output. Otherwise, the URIs will be made absolute
+with respect to the base URI.</para>
+
+<para>Note that the stylesheets calculate (and use) the absolute form
+for some purposes, this only applies to the resulting output.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/l10n.gentext.default.language.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/l10n.gentext.default.language.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/l10n.gentext.default.language.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="l10n.gentext.default.language">
+<refmeta>
+<refentrytitle>l10n.gentext.default.language</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>l10n.gentext.default.language</refname>
+<refpurpose>Sets the default language for generated text</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='l10n.gentext.default.language.frag'>
+<xsl:param name="l10n.gentext.default.language" select="'en'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The value of the <parameter>l10n.gentext.default.language</parameter>
+parameter is used as the language for generated text if no setting is provided
+in the source document.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/l10n.gentext.language.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/l10n.gentext.language.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/l10n.gentext.language.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="l10n.gentext.language">
+<refmeta>
+<refentrytitle>l10n.gentext.language</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>l10n.gentext.language</refname>
+<refpurpose>Sets the gentext language</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='l10n.gentext.language.frag'>
+<xsl:param name="l10n.gentext.language" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If this parameter is set to any value other than the empty string, its
+value will be used as the value for the language when generating text. Setting
+<parameter>l10n.gentext.language</parameter> overrides any settings within the
+document being formatted.</para>
+
+<para>It's much more likely that you might want to set the
+<parameter>l10n.gentext.default.language</parameter> parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/l10n.gentext.use.xref.language.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/l10n.gentext.use.xref.language.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/l10n.gentext.use.xref.language.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,50 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="l10n.gentext.use.xref.language">
+<refmeta>
+<refentrytitle>l10n.gentext.use.xref.language</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>l10n.gentext.use.xref.language</refname>
+<refpurpose>Use the language of target when generating cross-reference text?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='l10n.gentext.use.xref.language.frag'>
+<xsl:param name="l10n.gentext.use.xref.language" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, the language of the target will be used when
+generating cross reference text. Usually, the <quote>current</quote>
+language is used when generating text (that is, the language of the
+element that contains the cross-reference element). But setting this parameter
+allows the language of the element <emphasis>pointed to</emphasis> to control
+the generated text.</para>
+
+<para>Consider the following example:</para>
+
+<informalexample>
+<programlisting><![CDATA[<para lang="en">See also <xref linkend="chap3"/>.</para>]]>
+</programlisting>
+</informalexample>
+
+<para>Suppose that Chapter 3 happens to be written in German.
+If <parameter>l10n.gentext.use.xref.language</parameter> is non-zero, the
+resulting text will be something like this:</para>
+
+<blockquote>
+<para>See also Kapital 3.</para>
+</blockquote>
+
+<para>Where the more traditional rendering would be:</para>
+
+<blockquote>
+<para>See also Chapter 3.</para>
+</blockquote>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/l10n.lang.value.rfc.compliant.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/l10n.lang.value.rfc.compliant.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/l10n.lang.value.rfc.compliant.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,62 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="l10n.lang.value.rfc.compliant">
+<refmeta>
+<refentrytitle>l10n.lang.value.rfc.compliant</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>l10n.lang.value.rfc.compliant</refname>
+<refpurpose>Make value of lang attribute RFC compliant?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='l10n.lang.value.rfc.compliant.frag'>
+<xsl:param name="l10n.lang.value.rfc.compliant" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, ensure that the values for all <sgmltag
+class="attribute">lang</sgmltag> attributes in HTML output are RFC
+compliant<footnote
+
+><para>Section 8.1.1, <ulink
+url="http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1"
+>Language Codes</ulink>, in the HTML 4.0 Recommendation states that:
+
+<blockquote><para>[RFC1766] defines and explains the language codes
+that must be used in HTML documents.</para>
+<para>Briefly, language codes consist of a primary code and a possibly
+empty series of subcodes:
+
+<literallayout class="monospaced">language-code = primary-code ( "-" subcode )*</literallayout>
+</para>
+<para>And in RFC 1766, <ulink
+url="http://www.ietf.org/rfc/rfc1766.txt">Tags for the Identification
+of Languages</ulink>, the EBNF for "language tag" is given as:
+
+<literallayout class="monospaced">Language-Tag = Primary-tag *( "-" Subtag )
+Primary-tag = 1*8ALPHA
+Subtag = 1*8ALPHA</literallayout>
+</para>
+</blockquote>
+</para></footnote>.
+
+by taking any underscore characters in any <sgmltag
+class="attribute">lang</sgmltag> values found in source documents, and
+replacing them with hyphen characters in output HTML files. For
+example, <literal>zh_CN</literal> in a source document becomes
+<literal>zh-CN</literal> in the HTML output form that source.
+
+<note>
+<para>This parameter does not cause any case change in <sgmltag
+class="attribute">lang</sgmltag> values, because RFC 1766
+explicitly states that all "language tags" (as it calls them) "are
+to be treated as case insensitive".</para>
+</note>
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/label.from.part.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/label.from.part.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/label.from.part.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="label.from.part">
+<refmeta>
+<refentrytitle>label.from.part</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>label.from.part</refname>
+<refpurpose>Renumber chapters in each part?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='label.from.part.frag'><xsl:param name="label.from.part" select="'0'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>label.from.part</parameter> is non-zero, components
+(<sgmltag>chapter</sgmltag>s, <sgmltag>appendixe</sgmltag>s, etc.)
+will be numbered from 1 in each <sgmltag>part</sgmltag>. Otherwise,
+they will be numbered monotonically throughout each
+<sgmltag>book</sgmltag>.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/line-height.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/line-height.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/line-height.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="line-height">
+<refmeta>
+<refentrytitle>line-height</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>line-height</refname>
+<refpurpose>Specify the line-height property</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='line-height.frag'>
+<xsl:param name="line-height" select="'normal'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Sets the line-height property.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/linenumbering.everyNth.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/linenumbering.everyNth.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/linenumbering.everyNth.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="linenumbering.everyNth">
+<refmeta>
+<refentrytitle>linenumbering.everyNth</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>linenumbering.everyNth</refname>
+<refpurpose>Indicate which lines should be numbered</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='linenumbering.everyNth.frag'><xsl:param name="linenumbering.everyNth" select="'5'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If line numbering is enabled, everyNth line will be numbered.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/linenumbering.extension.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/linenumbering.extension.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/linenumbering.extension.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="linenumbering.extension">
+<refmeta>
+<refentrytitle>linenumbering.extension</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>linenumbering.extension</refname>
+<refpurpose>Enable the line numbering extension</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='linenumbering.extension.frag'><xsl:param name="linenumbering.extension" select="'1'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true, verbatim environments (elements that have the
+format='linespecific' notation attribute: address, literallayout,
+programlisting, screen, synopsis) that specify line numbering will
+have, surprise, line numbers.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/linenumbering.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/linenumbering.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/linenumbering.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="linenumbering.separator">
+<refmeta>
+<refentrytitle>linenumbering.separator</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>linenumbering.separator</refname>
+<refpurpose>Specify a separator between line numbers and lines</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='linenumbering.separator.frag'><xsl:param name="linenumbering.separator" select="' '"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The separator is inserted between line numbers and lines in
+the verbatim environment.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/linenumbering.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/linenumbering.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/linenumbering.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="linenumbering.width">
+<refmeta>
+<refentrytitle>linenumbering.width</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>linenumbering.width</refname>
+<refpurpose>Indicates the width of line numbers</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='linenumbering.width.frag'><xsl:param name="linenumbering.width" select="'3'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If line numbering is enabled, line numbers will appear right
+justified in a field "width" characters wide.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/link.mailto.url.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/link.mailto.url.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/link.mailto.url.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="link.mailto.url">
+<refmeta>
+<refentrytitle>link.mailto.url</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>link.mailto.url</refname>
+<refpurpose>Mailto URL for the LINK REL=made HTML HEAD element</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='link.mailto.url.frag'><xsl:param name="link.mailto.url"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If not the empty string, this address will be used for the
+REL=made <sgmltag>LINK</sgmltag> element in the HTML <sgmltag>HEAD</sgmltag>.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/list.block.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/list.block.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/list.block.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,18 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="list.block.properties">
+<refnamediv>
+<refname>list.block.properties</refname>
+<refpurpose>Properties that apply to each list-block generated by list.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='list.block.properties.frag'><xsl:attribute-set name="list.block.properties">
+  <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute>
+  <xsl:attribute name="provisional-distance-between-starts">1.5em</xsl:attribute>
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>Properties that apply to each fo:list-block generated by itemizedlist/orderedlist.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/list.block.spacing.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/list.block.spacing.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/list.block.spacing.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="list.block.spacing">
+<refnamediv>
+<refname>list.block.spacing</refname>
+<refpurpose>What spacing do you want before and after lists?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='list.block.spacing.frag'><xsl:attribute-set name="list.block.spacing">
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>Specify the spacing required before and after a list. It is necessary to specify the space after a list block because lists can come inside of paras.  </para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/list.item.spacing.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/list.item.spacing.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/list.item.spacing.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,19 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="list.item.spacing">
+<refnamediv>
+<refname>list.item.spacing</refname>
+<refpurpose>What space do you want between list items?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='list.item.spacing.frag'><xsl:attribute-set name="list.item.spacing">
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>Specify what spacing you want between each list item.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/make.graphic.viewport.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/make.graphic.viewport.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/make.graphic.viewport.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="make.graphic.viewport">
+<refmeta>
+<refentrytitle>make.graphic.viewport</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>make.graphic.viewport</refname>
+<refpurpose>Use tables in HTML to make viewports for graphics</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='make.graphic.viewport.frag'>
+<xsl:param name="make.graphic.viewport" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The HTML <sgmltag>img</sgmltag> element only supports the notion
+of content-area scaling; it doesn't support the distinction between a
+content-area and a viewport-area, so we have to make some compromises.</para>
+
+<para>If <parameter>make.graphic.viewport</parameter> is non-zero, a table
+will be used to frame the image. This creates an effective viewport-area.
+</para>
+
+<para>Tables and alignment don't work together, so this parameter is ignored
+if alignment is specified on an image.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/make.index.markup.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/make.index.markup.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/make.index.markup.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,70 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="make.index.markup">
+<refmeta>
+<refentrytitle>make.index.markup</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>make.index.markup</refname>
+<refpurpose>Generate XML index markup in the index?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='make.index.markup.frag'>
+<xsl:param name="make.index.markup" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter enables a very neat trick for getting properly
+merged, collated back-of-the-book indexes. G. Ken Holman suggested
+this trick at Extreme Markup Languages 2002 and I'm indebted to him
+for it.</para>
+
+<para>Jeni Tennison's excellent code in
+<filename>autoidx.xsl</filename> does a great job of merging and
+sorting <sgmltag>indexterm</sgmltag>s in the document and building a
+back-of-the-book index. However, there's one thing that it cannot
+reasonably be expected to do: merge page numbers into ranges. (I would
+not have thought that it could collate and suppress duplicate page
+numbers, but in fact it appears to manage that task somehow.)</para>
+
+<para>Ken's trick is to produce a document in which the index at the
+back of the book is <quote>displayed</quote> in XML. Because the index
+is generated by the FO processor, all of the page numbers have been resolved.
+It's a bit hard to explain, but what it boils down to is that instead of having
+an index at the back of the book that looks like this:</para>
+
+<blockquote>
+<formalpara><title>A</title>
+<para>ap1, 1, 2, 3</para>
+</formalpara>
+</blockquote>
+
+<para>you get one that looks like this:</para>
+
+<blockquote>
+<programlisting><![CDATA[<indexdiv>A</indexdiv>
+<indexentry>
+<primaryie>ap1</primaryie>,
+<phrase role="pageno">1</phrase>,
+<phrase role="pageno">2</phrase>,
+<phrase role="pageno">3</phrase>
+</indexentry>]]></programlisting>
+</blockquote>
+
+<para>After building a PDF file with this sort of odd-looking index, you can
+extract the text from the PDF file and the result is a proper index expressed in
+XML.</para>
+
+<para>Now you have data that's amenable to processing and a simple Perl script
+(such as <filename>fo/pdf2index</filename>) can
+merge page ranges and generate a proper index.</para>
+
+<para>Finally, reformat your original document using this literal index instead of
+an automatically generated one and <quote>bingo</quote>!</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/make.single.year.ranges.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/make.single.year.ranges.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/make.single.year.ranges.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="make.single.year.ranges">
+<refmeta>
+<refentrytitle>make.single.year.ranges</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>make.single.year.ranges</refname>
+<refpurpose>Print single-year ranges (e.g., 1998-1999)</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='make.single.year.ranges.frag'><xsl:param name="make.single.year.ranges" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, year ranges that span a single year will be printed
+in range notation (1998-1999) instead of discrete notation
+(1998, 1999).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/make.valid.html.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/make.valid.html.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/make.valid.html.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="make.valid.html">
+<refmeta>
+<refentrytitle>make.valid.html</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>make.valid.html</refname>
+<refpurpose>Attempt to make sure the HTML output is valid HTML</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='make.valid.html.frag'>
+<xsl:param name="make.valid.html" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>make.valid.html</parameter> is true, the stylesheets take
+extra effort to ensure that the resulting HTML is valid. This may mean that some
+<sgmltag>para</sgmltag> tags are translated into HTML <sgmltag>div</sgmltag>s or
+that other substitutions occur.</para>
+
+<para>This parameter is different from <parameter>html.cleanup</parameter>
+because it changes the resulting markup; it does not use extension functions
+to manipulate result-tree-fragments and is therefore applicable to any
+XSLT processor.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/make.year.ranges.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/make.year.ranges.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/make.year.ranges.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="make.year.ranges">
+<refmeta>
+<refentrytitle>make.year.ranges</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>make.year.ranges</refname>
+<refpurpose>Collate copyright years into ranges?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='make.year.ranges.frag'><xsl:param name="make.year.ranges" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, copyright years will be collated into ranges.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.break.after.slash.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.break.after.slash.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.break.after.slash.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,43 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.break.after.slash">
+<refmeta>
+<refentrytitle>man.break.after.slash</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.break.after.slash</refname>
+<refpurpose>Enable line-breaking after slashes?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.break.after.slash.frag'>
+<xsl:param name="man.break.after.slash">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, line-breaking after slashes is enabled. This is
+mainly useful for causing long URLs or pathnames/filenames to be
+broken up or "wrapped" across lines (though it also has the side
+effect of sometimes causing relatively short URLs and pathnames to be
+broken up across lines too).</para>
+
+<para>If zero (the default), line-breaking after slashes is
+disabled. In that case, strings containing slashes (for example, URLs
+or filenames) are not broken across lines, even if they exceed the
+maximum column widith.</para>
+
+<warning>
+  <para>If you set a non-zero value for this parameter, check your
+  man-page output carefuly afterwards, in order to make sure that the
+  setting has not introduced an excessive amount of breaking-up of URLs
+  or pathnames. If your content contains mostly short URLs or
+  pathnames, setting a non-zero value for
+  <parameter>man.break.after.slash</parameter> will probably result in
+  in a significant number of relatively short URLs and pathnames being
+  broken across lines, which is probably not what you want.</para>
+</warning>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.charmap.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.charmap.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.charmap.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,53 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.charmap.enabled">
+<refmeta>
+<refentrytitle>man.charmap.enabled</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.charmap.enabled</refname>
+<refpurpose>Apply character map before final output?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.charmap.enabled.frag'>
+<xsl:param name="man.charmap.enabled" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of the <parameter>man.charmap.enabled</parameter>
+parameter is non-zero, a "character map" is used to substitute certain
+Unicode symbols and special characters with appropriate roff/groff
+equivalents, just before writing each man-page file to the
+filesystem. If instead the value of
+<parameter>man.charmap.enabled</parameter> is zero, Unicode characters
+are passed through "as is".</para>
+
+<refsect2>
+<title>Details</title>
+<para>For converting certain Unicode symbols and special characters in
+UTF-8 or UTF-16 encoded XML source to appropriate groff/roff
+equivalents in man-page output, the DocBook XSL Stylesheets
+distribution includes a <ulink
+url="http://docbook.sourceforge.net/snapshot/xsl/manpages/charmap.groff.xsl"
+>roff character map</ulink> that is compliant with the <ulink
+url="http://www.w3.org/TR/xslt20/#character-maps" >XSLT character
+map</ulink> format as detailed in the XSLT 2.0 specification. The map
+contains more than 800 character mappings and can be considered the
+standard roff character map for the distribution.</para>
+
+<para>You can use the <parameter>man.charmap.uri</parameter>
+parameter to specify a URI for the location for an alternate roff
+character map to use in place of the standard roff character map
+provided in the distribution.</para>
+
+<para>You can also use a subset of a character map. For details, see
+the <parameter>man.charmap.use.subset</parameter> and
+<parameter>man.charmap.subset.profile</parameter> parameters.</para>
+
+</refsect2>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.charmap.subset.profile.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.charmap.subset.profile.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.charmap.subset.profile.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,312 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.charmap.subset.profile">
+<refmeta>
+<refentrytitle>man.charmap.subset.profile</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.charmap.subset.profile</refname>
+<refpurpose>Profile of character map subset</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.charmap.subset.profile.frag'>
+<xsl:param name="man.charmap.subset.profile">
+@*[local-name() = 'block'] = 'Miscellaneous Technical' or
+(@*[local-name() = 'block'] = 'C1 Controls And Latin-1 Supplement (Latin-1 Supplement)' and
+ @*[local-name() = 'class'] = 'symbols'
+) or
+(@*[local-name() = 'block'] = 'General Punctuation' and
+ (@*[local-name() = 'class'] = 'spaces' or
+  @*[local-name() = 'class'] = 'dashes' or
+  @*[local-name() = 'class'] = 'quotes' or
+  @*[local-name() = 'class'] = 'bullets'
+ )
+) or
+@*[local-name() = 'name'] = 'HORIZONTAL ELLIPSIS' or
+@*[local-name() = 'name'] = 'WORD JOINER' or
+@*[local-name() = 'name'] = 'SERVICE MARK' or
+@*[local-name() = 'name'] = 'TRADE MARK SIGN' or
+@*[local-name() = 'name'] = 'ZERO WIDTH NO-BREAK SPACE'
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of the
+<parameter>man.charmap.use.subset</parameter> parameter is non-zero,
+The character-map subset specified by the
+<parameter>man.charmap.subset.profile</parameter> parameter is used
+instead of the full roff character map.</para>
+
+<para>The value of <parameter>man.charmap.subset.profile</parameter>
+is a string representating an XPath expression that matches attribute
+names and values for <tag
+namespace="http://docbook.sf.net/xmlns/unichar/1.0"
+>output-character</tag> elements in the character map.</para>
+
+<para>The attributes supported in the <ulink
+url="http://docbook.sourceforge.net/snapshot/xsl/manpages/charmap.groff.xsl"
+>standard roff character map included in the distribution</ulink> are:
+<variablelist>
+  <varlistentry>
+    <term>character</term>
+    <listitem>
+      <simpara>a raw Unicode character or numeric Unicode
+      character-entity value (either in decimal or hex); all
+      characters have this attribute</simpara>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>name</term>
+    <listitem>
+      <simpara>a standard full/long ISO/Unicode character name (e.g.,
+      "OHM SIGN"); all characters have this attribute</simpara>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>block</term>
+    <listitem>
+      <simpara>a standard Unicode "block" name (e.g., "General
+      Punctuation"); all characters have this attribute. For the full
+      list of Unicode block names supported in the standard roff
+      character map, see <xref
+      linkend="BlocksAndClasses"/>.</simpara>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>class</term>
+    <listitem>
+      <simpara>a class of characters (e.g., "spaces"). Not all
+      characters have this attribute; currently, it is used only with
+      certain characters within the "C1 Controls And Latin-1
+      Supplement" and "General Punctuation" blocks. For details, see
+      <xref linkend="BlocksAndClasses"/>.</simpara>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>entity</term>
+    <listitem>
+      <simpara>an ISO entity name (e.g., "ohm"); not all characters
+      have this attribute, because not all characters have ISO entity
+      names; for example, of the 800 or so characters in the standard
+      roff character map included in the distribution, only around 300
+      have ISO entity names.
+      </simpara>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>string</term>
+    <listitem>
+      <simpara>a string representating an roff/groff escape-code (with
+      "@esc@" used in place of the backslash), or a simple ASCII
+      string; all characters in the roff character map have this
+      attribute</simpara>
+    </listitem>
+  </varlistentry>
+</variablelist>
+</para>
+<para>The value of <parameter>man.charmap.subset.profile</parameter>
+is evaluated as an XPath expression at run-time to select a portion of
+the roff character map to use. You can tune the subset used by adding
+or removing parts. For example, if you need to use a wide range of
+mathematical operators in a document, and you want to have them
+converted into roff markup properly, you might add the following:
+
+<literallayout class="monospaced" >  @*[local-name() = 'block'] ='MathematicalOperators' </literallayout>
+
+That will cause a additional set of around 67 additional "math"
+characters to be converted into roff markup. </para>
+
+<note>
+<para>Depending on which XSLT engine you use, either the EXSLT
+<function>dyn:evaluate</function> extension function (for xsltproc or
+Xalan) or <function>saxon:evaluate</function> extensio function (for
+Saxon) are used to dynamically evaluate the value of
+<parameter>man.charmap.subset.profile</parameter> at run-time. If you
+don't use xsltproc, Saxon, Xalan -- or some other XSLT engine that
+supports <function>dyn:evaluate</function> -- you must either set the
+value of the <parameter>man.charmap.use.subset</parameter> parameter
+to zero and process your documents using the full character map
+instead, or set the value of the
+<parameter>man.charmap.enabled</parameter> parameter to zero instead
+(so that character-map processing is disabled completely.</para>
+</note>
+
+<para>An alternative to using
+<parameter>man.charmap.subset.profile</parameter> is to create your
+own custom character map, and set the value of
+<parameter>man.charmap.uri</parameter> to the URI/filename for
+that. If you use a custom character map, you will probably want to
+include in it just the characters you want to use, and so you will
+most likely also want to set the value of
+<parameter>man.charmap.use.subset</parameter> to zero.</para>
+<para>You can create a
+custom character map by making a copy of the <ulink
+url="http://docbook.sourceforge.net/snapshot/xsl/manpages/charmap.groff.xsl"
+>standard roff character map</ulink> provided in the distribution, and
+then adding to, changing, and/or deleting from that.</para>
+
+<caution>
+<para>If you author your DocBook XML source in UTF-8 or UTF-16
+encoding and aren't sure what OSes or environments your man-page
+output might end up being viewed on, and not sure what version of
+nroff/groff those environments might have, you should be careful about
+what Unicode symbols and special characters you use in your source and
+what parts you add to the value of
+<parameter>man.charmap.subset.profile</parameter>.</para>
+<para>Many of the escape codes used are specific to groff and using
+them may not provide the expected output on an OS or environment that
+uses nroff instead of groff.</para>
+<para>On the other hand, if you intend for your man-page output to be
+viewed only on modern systems (for example, GNU/Linux systems, FreeBSD
+systems, or Cygwin environments) that have a good, up-to-date groff,
+then you can safely include a wide range of Unicode symbols and
+special characters in your UTF-8 or UTF-16 encoded DocBook XML source
+and add any of the supported Unicode block names to the value of
+<parameter>man.charmap.subset.profile</parameter>.</para>
+</caution>
+
+
+<para>For other details, see the documentation for the
+<parameter>man.charmap.use.subset</parameter> parameter.</para>
+
+<refsect2 id="BlocksAndClasses">
+  <title>Supported Unicode block names and "class" values</title>
+
+  <para>Below is the full list of Unicode block names and "class"
+  values supported in the standard roff stylesheet provided in the
+  distribution, along with a description of which codepoints from the
+  Unicode range corresponding to that block name or block/class
+  combination are supported.</para>
+
+  <itemizedlist>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=C1%20Controls%20and%20Latin-1%20Supplement%20(Latin-1%20Supplement)"
+                >C1 Controls And Latin-1 Supplement (Latin-1 Supplement)</ulink> (x00a0 to x00ff)
+      <itemizedlist>
+        <title>class values</title>
+        <listitem>
+          <para>symbols</para>
+        </listitem>
+        <listitem>
+          <para>letters</para>
+        </listitem>
+      </itemizedlist></para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Latin%20Extended-A"
+                >Latin Extended-A</ulink> (x0100 to x017f, partial)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Spacing%20Modifier%20Letters"
+                >Spacing Modifier Letters</ulink> (x02b0 to x02ee, partial)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Greek%20and%20Coptic"
+                >Greek and Coptic</ulink> (x0370 to x03ff, partial)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=General%20Punctuation"
+                >General Punctuation</ulink> (x2000 to x206f, partial)
+      <itemizedlist>
+        <title>class values</title>
+        <listitem>
+          <para><ulink
+                    url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;start=8192&amp;end=8203"
+                    >spaces</ulink></para>
+        </listitem>
+        <listitem>
+          <para><ulink
+                    url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;start=8208&amp;end=8213"
+                    >dashes</ulink></para>
+        </listitem>
+        <listitem>
+          <para>quotes</para>
+        </listitem>
+        <listitem>
+          <para>daggers</para>
+        </listitem>
+        <listitem>
+          <para>bullets</para>
+        </listitem>
+        <listitem>
+          <para>leaders</para>
+        </listitem>
+        <listitem>
+          <para>primes</para>
+        </listitem>
+      </itemizedlist>
+      </para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Superscripts%20and%20Subscripts"
+                >Superscripts and Subscripts</ulink> (x2070 to x209f)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Currency%20Symbols"
+                >Currency Symbols</ulink> (x20a0 to x20b1)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Letterlike%20Symbols"
+                >Letterlike Symbols</ulink> (x2100 to x214b)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Number%20Forms"
+                >Number Forms</ulink> (x2150 to x218f)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Arrows"
+                >Arrows</ulink> (x2190 to x21ff, partial)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Mathematical%20Operators"
+                >Mathematical Operators</ulink> (x2200 to x22ff, partial)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Control%20Pictures"
+                >Control Pictures</ulink> (x2400 to x243f)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Enclosed%20Alphanumerics"
+                >Enclosed Alphanumerics</ulink> (x2460 to x24ff)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Geometric%20Shapes"
+                >Geometric Shapes</ulink> (x25a0 to x25f7, partial)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Miscellaneous%20Symbols"
+                >Miscellaneous Symbols</ulink> (x2600 to x26ff, partial)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Dingbats"
+                >Dingbats</ulink> (x2700 to x27be, partial)</para>
+    </listitem>
+    <listitem>
+      <para><ulink
+                url="http://zvon.org/other/charSearch/PHP/search.php?searchType=103&amp;id=Alphabetic%20Presentation%20Forms"
+                >Alphabetic Presentation Forms</ulink> (xfb00 to xfb04 only)</para>
+    </listitem>
+  </itemizedlist>
+</refsect2>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.charmap.uri.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.charmap.uri.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.charmap.uri.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,40 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.charmap.uri">
+<refmeta>
+<refentrytitle>man.charmap.uri</refentrytitle>
+<refmiscinfo role="type">uri</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.charmap.uri</refname>
+<refpurpose>URI for custom roff character map</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.charmap.uri.frag'>
+<xsl:param name="man.charmap.uri" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>For converting certain Unicode symbols and special characters in
+UTF-8 or UTF-16 encoded XML source to appropriate groff/roff
+equivalents in man-page output, the DocBook XSL Stylesheets
+distribution includes an <ulink
+url="http://www.w3.org/TR/xslt20/#character-maps" >XSLT character
+map</ulink>. That character map can be considered the standard roff
+character map for the distribution.</para>
+
+<para>If the value of the <parameter>man.charmap.uri</parameter>
+parameter is non-empty, that value is used as the URI for the location
+for an alternate roff character map to use in place of the standard
+roff character map provided in the distribution.</para>
+
+<warning>
+<para>Do not set a value for <parameter>man.charmap.uri</parameter>
+unless you have a custom roff character map that differs from the
+standard one provided in the distribution.</para>
+</warning>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.charmap.use.subset.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.charmap.use.subset.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.charmap.use.subset.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,75 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.charmap.use.subset">
+<refmeta>
+<refentrytitle>man.charmap.use.subset</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.charmap.use.subset</refname>
+<refpurpose>Use subset of character map instead of full map?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.charmap.use.subset.frag'>
+<xsl:param name="man.charmap.use.subset" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of the
+<parameter>man.charmap.use.subset</parameter> parameter is non-zero,
+a subset of the roff character map is used instead of the full roff
+character map. The profile of the subset used is specified by the
+<parameter>man.charmap.subset.profile</parameter> parameter.</para>
+
+<note>
+  <para>You may want to experiment with setting a non-zero value of
+  <parameter>man.charmap.use.subset</parameter>, so that the full
+  character map is used. Depending on which XSLT engine you run,
+  setting a non-zero value for
+  <parameter>man.charmap.use.subset</parameter> may significantly
+  increase the time needed to process your documents. Or it may
+  not. For example, if you set it and run it with xsltproc, it seems
+  to dramatically increase processing time; on the other hand, if you
+  set it and run it with Saxon, it does not seem to increase
+  processing time nearly as much.</para>
+
+  <para>If processing time is not a important concern and/or you can
+  tolerate the increase in processing time imposed by using the full
+  character map, set <parameter>man.charmap.use.subset</parameter> to
+  zero.</para>
+</note>
+
+<refsect2>
+<title>Details</title>
+<para>For converting certain Unicode symbols and special characters in
+UTF-8 or UTF-16 encoded XML source to appropriate groff/roff
+equivalents in man-page output, the DocBook XSL Stylesheets
+distribution includes a <ulink
+url="http://docbook.sourceforge.net/snapshot/xsl/manpages/charmap.groff.xsl"
+>roff character map</ulink> that is compliant with the <ulink
+url="http://www.w3.org/TR/xslt20/#character-maps" >XSLT character
+map</ulink> format as detailed in the XSLT 2.0 specification. The map
+contains more than 800 character mappings and can be considered the
+standard roff character map for the distribution.</para>
+
+<note>
+<para>You can use the <parameter>man.charmap.uri</parameter>
+parameter to specify a URI for the location for an alternate roff
+character map to use in place of the standard roff character map
+provided in the distribution.</para>
+</note>
+
+<para>Because it is not terrifically efficient to use the standard
+800-character character map in full -- and for most (or all) users,
+never necessary to use it in full -- the DocBook XSL Stylesheets
+support a mechanism for using, within any given character map, a
+subset of character mappings instead of the full set. You can use the
+<parameter>man.charmap.subset.profile</parameter> parameter to tune
+the profile of that subset to use.</para>
+
+</refsect2>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.font.funcprototype.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.font.funcprototype.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.font.funcprototype.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.font.funcprototype">
+<refmeta>
+<refentrytitle>man.font.funcprototype</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>man.font.funcprototype</refname>
+<refpurpose>Specifies font for funcprototype output</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.font.funcprototype.frag'>
+  <xsl:param name="man.font.funcprototype">BI</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>man.font.funcprototype</parameter> parameter
+specifies the font for <sgmltag>funcprototype</sgmltag> output. It
+should be a valid roff font name, such as <literal>BI</literal> or
+<literal>B</literal>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.font.funcsynopsisinfo.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.font.funcsynopsisinfo.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.font.funcsynopsisinfo.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.font.funcsynopsisinfo">
+<refmeta>
+<refentrytitle>man.font.funcsynopsisinfo</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>man.font.funcsynopsisinfo</refname>
+<refpurpose>Specifies font for funcsynopsisinfo output</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.font.funcsynopsisinfo.frag'>
+  <xsl:param name="man.font.funcsynopsisinfo">B</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>man.font.funcsynopsisinfo</parameter> parameter
+specifies the font for <sgmltag>funcsynopsisinfo</sgmltag> output. It
+should be a valid roff font name, such as <literal>B</literal> or
+<literal>I</literal>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.font.table.headings.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.font.table.headings.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.font.table.headings.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.font.table.headings">
+<refmeta>
+<refentrytitle>man.font.table.headings</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>man.font.table.headings</refname>
+<refpurpose>Specifies font for table headings</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.font.table.headings.frag'>
+  <xsl:param name="man.font.table.headings">B</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>man.font.table.headings</parameter> parameter
+specifies the font for <sgmltag>table</sgmltag> headings. It should be
+a valid roff font, such as <literal>B</literal> or
+<literal>I</literal>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.font.table.title.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.font.table.title.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.font.table.title.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.font.table.title">
+<refmeta>
+<refentrytitle>man.font.table.title</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>man.font.table.title</refname>
+<refpurpose>Specifies font for table headings</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.font.table.title.frag'>
+  <xsl:param name="man.font.table.title">B</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>man.font.table.title</parameter> parameter
+specifies the font for <sgmltag>table</sgmltag> titles. It should be
+a valid roff font, such as <literal>B</literal> or
+<literal>I</literal>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.hyphenate.computer.inlines.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.hyphenate.computer.inlines.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.hyphenate.computer.inlines.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,50 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.hyphenate.computer.inlines">
+<refmeta>
+<refentrytitle>man.hyphenate.computer.inlines</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.hyphenate.computer.inlines</refname>
+<refpurpose>Hyphenate computer inlines?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.hyphenate.computer.inlines.frag'>
+<xsl:param name="man.hyphenate.computer.inlines">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If zero (the default), hyphenation is suppressed for
+<quote>computer inlines</quote> such as environment variables,
+constants, etc. This parameter current affects output of the following
+elements:
+<simplelist type="inline">
+  <?dbchoice choice="and" ?>
+  <member><tag>classname</tag></member>
+  <member><tag>constant</tag></member>
+  <member><tag>envar</tag></member>
+  <member><tag>errorcode</tag></member>
+  <member><tag>option</tag></member>
+  <member><tag>replaceable</tag></member>
+  <member><tag>userinput</tag></member>
+  <member><tag>type</tag></member>
+  <member><tag>varname</tag></member>
+</simplelist>
+</para>
+
+<note>
+  <para>If hyphenation is already turned off globally (that is, if
+  <parameter>man.hyphenate</parameter> is zero, setting the
+  <parameter>man.hyphenate.computer.inlines</parameter> is not
+  necessary.</para>
+</note>
+
+<para>If <parameter>man.hyphenate.computer.inlines</parameter> is
+non-zero, computer inlines will not be treated specially and will be
+hyphenated like other words when needed.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.hyphenate.filenames.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.hyphenate.filenames.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.hyphenate.filenames.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,44 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.hyphenate.filenames">
+<refmeta>
+<refentrytitle>man.hyphenate.filenames</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.hyphenate.filenames</refname>
+<refpurpose>Hyphenate filenames?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.hyphenate.filenames.frag'>
+<xsl:param name="man.hyphenate.filenames">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If zero (the default), hyphenation is suppressed for
+<tag>filename</tag> output.</para>
+
+<note>
+  <para>If hyphenation is already turned off globally (that is, if
+  <parameter>man.hyphenate</parameter> is zero, setting
+  <parameter>man.hyphenate.filenames</parameter> is not
+  necessary.</para>
+</note>
+
+<para>If <parameter>man.hyphenate.filenames</parameter> is non-zero,
+filenames will not be treated specially and are subject to hyphenation
+just like other words.</para>
+
+<note>
+  <para>If you are thinking about setting a non-zero value for
+  <parameter>man.hyphenate.filenames</parameter> in order to make long
+  filenames/pathnames break across lines, you'd probably be better off
+  experimenting with setting the
+  <parameter>man.break.after.slash</parameter> parameter first. That
+  will cause long pathnames to be broken after slashes.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.hyphenate.urls.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.hyphenate.urls.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.hyphenate.urls.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,43 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.hyphenate.urls">
+<refmeta>
+<refentrytitle>man.hyphenate.urls</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.hyphenate.urls</refname>
+<refpurpose>Hyphenate URLs?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.hyphenate.urls.frag'>
+<xsl:param name="man.hyphenate.urls">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If zero (the default), hyphenation is suppressed for output of
+the <tag>ulink</tag> <tag class="attribute">url</tag> attribute.</para>
+
+<note>
+  <para>If hyphenation is already turned off globally (that is, if
+  <parameter>man.hyphenate</parameter> is zero, setting
+  <parameter>man.hyphenate.urls</parameter> is not necessary.</para>
+</note>
+
+<para>If <parameter>man.hyphenate.urls</parameter> is non-zero, URLs
+will not be treated specially and are subject to hyphenation just like
+other words.</para>
+
+<note>
+  <para>If you are thinking about setting a non-zero value for
+  <parameter>man.hyphenate.urls</parameter> in order to make long
+  URLs break across lines, you'd probably be better off
+  experimenting with setting the
+  <parameter>man.break.after.slash</parameter> parameter first. That
+  will cause long URLs to be broken after slashes.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.hyphenate.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.hyphenate.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.hyphenate.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,56 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.hyphenate">
+<refmeta>
+<refentrytitle>man.hyphenate</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.hyphenate</refname>
+<refpurpose>Enable hyphenation?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.hyphenate.frag'>
+<xsl:param name="man.hyphenate">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, hyphenation is enabled.</para>
+
+<note>
+<para>The default value for this parameter is zero because groff is
+not particularly smart about how it does hyphenation; it can end up
+hyphenating a lot of things that you don't want hyphenated. To
+mitigate that, the default behavior of the stylesheets is to suppress
+hyphenation of computer inlines, filenames, and URLs. (You can
+override the default behavior by setting non-zero values for the
+<parameter>man.hyphenate.urls</parameter>,
+<parameter>man.hyphenate.filenames</parameter>, and
+<parameter>man.hyphenate.computer.inlines</parameter> parameters.) But
+the best way is still to just globally disable hyphenation, as the
+stylesheets do by default.</para>
+
+<para>The only good reason to enabled hyphenation is if you have also
+enabled justification (which is disabled by default). The reason is
+that justified text can look very bad unless you also hyphenate it; to
+quote the <quote>Hypenation</quote> node from the groff info page:
+
+<blockquote>
+  <para><emphasis>Since the odds are not great for finding a set of
+  words, for every output line, which fit nicely on a line without
+  inserting excessive amounts of space between words, 'gtroff'
+  hyphenates words so that it can justify lines without inserting too
+  much space between words.</emphasis></para>
+</blockquote>
+
+So, if you set a non-zero value for the
+<parameter>man.justify</parameter> parameter (to enable
+justification), then you should probably also set a non-zero value for
+<parameter>man.hyphenate</parameter> (to enable hyphenation).</para>
+</note>
+
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.indent.blurbs.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.indent.blurbs.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.indent.blurbs.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.indent.blurbs">
+<refmeta>
+<refentrytitle>man.indent.blurbs</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.indent.blurbs</refname>
+<refpurpose>Adjust indentation of blurbs?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.indent.blurbs.frag'>
+<xsl:param name="man.indent.blurbs" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>man.indent.blurbs</parameter> is
+non-zero, the width of the left margin for
+<sgmltag>authorblurb</sgmltag>, <sgmltag>personblurb</sgmltag>, and
+<sgmltag>contrib</sgmltag> output is set to the value of the
+<parameter>man.indent.width</parameter> parameter
+(<literal>3n</literal> by default). If instead the value of
+<parameter>man.indent.blurbs</parameter> is zero, the built-in roff
+default width (<literal>7.2n</literal>) is used.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.indent.lists.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.indent.lists.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.indent.lists.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.indent.lists">
+<refmeta>
+<refentrytitle>man.indent.lists</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.indent.lists</refname>
+<refpurpose>Adjust indentation of lists?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.indent.lists.frag'>
+<xsl:param name="man.indent.lists" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>man.indent.lists</parameter> is
+non-zero, the width of the left margin for list items in
+<sgmltag>itemizedlist</sgmltag>,
+<sgmltag>orderedlist</sgmltag>,
+<sgmltag>variablelist</sgmltag> output (and output of some other
+lists) is set to the value of the
+<parameter>man.indent.width</parameter> parameter
+(<literal>4n</literal> by default). If instead the value of
+<parameter>man.indent.lists</parameter> is zero, the built-in roff
+default width (<literal>7.2n</literal>) is used.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.indent.refsect.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.indent.refsect.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.indent.refsect.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,67 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.indent.refsect">
+<refmeta>
+<refentrytitle>man.indent.refsect</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.indent.refsect</refname>
+<refpurpose>Adjust indentation of refsect* and refsection?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.indent.refsect.frag'>
+<xsl:param name="man.indent.refsect" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>man.indent.refsect</parameter> is
+non-zero, the width of the left margin for
+<sgmltag>refsect1</sgmltag>, <sgmltag>refsect2</sgmltag> and
+<sgmltag>refsect3</sgmltag> contents and titles (and first-level,
+second-level, and third-level nested
+<sgmltag>refsection</sgmltag>instances) is adjusted by the value of
+the <parameter>man.indent.width</parameter> parameter. With
+<parameter>man.indent.width</parameter> set to its default value of
+<literal>3n</literal>, the main results are that:
+
+<itemizedlist>
+  <listitem>
+    <para>contents of <sgmltag>refsect1</sgmltag> are output with a
+    left margin of three characters instead the roff default of seven
+    or eight characters</para>
+  </listitem>
+  <listitem>
+    <para>contents of <sgmltag>refsect2</sgmltag> are displayed in
+    console output with a left margin of six characters instead the of
+    the roff default of seven characters</para>
+  </listitem>
+  <listitem>
+    <para> the contents of <sgmltag>refsect3</sgmltag> and nested
+    <sgmltag>refsection</sgmltag> instances are adjusted
+    accordingly.</para>
+  </listitem>
+</itemizedlist>
+
+If instead the value of <parameter>man.indent.refsect</parameter> is
+zero, no margin adjustment is done for <literal>refsect*</literal>
+output.</para>
+
+<tip>
+  <para>If your content is primarly comprised of
+  <sgmltag>refsect1</sgmltag> and <sgmltag>refsect2</sgmltag> content
+  (or the <sgmltag>refsection</sgmltag> equivalent)&#160;– with few or
+  no <sgmltag>refsect3</sgmltag> or lower nested sections , you may be
+  able to “conserve” space in your output by setting
+  <parameter>man.indent.refsect</parameter> to a non-zero value. Doing
+  so will “squeeze” the left margin in such as way as to provide an
+  additional four characters of “room” per line in
+  <sgmltag>refsect1</sgmltag> output. That extra room may be useful
+  if, for example, you have many verbatim sections with long lines in
+  them.</para>
+</tip>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.indent.verbatims.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.indent.verbatims.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.indent.verbatims.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.indent.verbatims">
+<refmeta>
+<refentrytitle>man.indent.verbatims</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.indent.verbatims</refname>
+<refpurpose>Adjust indentation of verbatims?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.indent.verbatims.frag'>
+<xsl:param name="man.indent.verbatims" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>man.indent.verbatims</parameter> is
+non-zero, the width of the left margin for output of verbatim
+environments (<sgmltag>programlisting</sgmltag>,
+<sgmltag>screen</sgmltag>, and so on) is set to the value of the
+<parameter>man.indent.width</parameter> parameter
+(<literal>3n</literal> by default). If instead the value of
+<parameter>man.indent.verbatims</parameter> is zero, the built-in roff
+default width (<literal>7.2n</literal>) is used.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.indent.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.indent.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.indent.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.indent.width">
+<refnamediv>
+<refname>man.indent.width</refname>
+<refpurpose>Specifies width used for adjusted indents</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.indent.width.frag'>
+<xsl:param name="man.indent.width">4</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>The <parameter>man.indent.width</parameter> parameter specifies
+the width used for adjusted indents. The value of
+<parameter>man.indent.width</parameter> is used for indenting of
+lists, verbatims, headings, and elsewhere, depending on whether the
+values of certain <literal>man.indent.*</literal> boolean parameters
+are non-zero.</para>
+
+<para>The value of <parameter>man.indent.width</parameter> should
+include a valid roff measurement unit (for example,
+<literal>n</literal> or <literal>u</literal>). The default value of
+<literal>4n</literal> specifies a 4-en width; when viewed on a
+console, that amounts to the width of four characters. For details
+about roff measurment units, see the <literal>Measurements</literal>
+node in the groff info page.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.justify.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.justify.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.justify.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,49 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.justify">
+<refmeta>
+<refentrytitle>man.justify</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.justify</refname>
+<refpurpose>Justify text to both right and left margins?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.justify.frag'>
+<xsl:param name="man.justify">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, text is justified to both the right and left
+margins (or, in roff terminology, "adjusted and filled" to both the
+right and left margins). If zero (the default), text is adjusted to
+the left margin only -- producing what is traditionally called
+"ragged-right" text.</para>
+
+<note>
+<para>The default value for this parameter is zero because justified
+text looks good only when it is also hyphenated. Without hyphenation,
+excessive amounts of space often end up getting between words, in
+order to "pad" lines out to align on the right margin.</para>
+
+<para>The problem is that groff is not particularly smart about how it
+does hyphenation; it can end up hyphenating a lot of things that you
+don't want hyphenated. So, disabling both justification and
+hyphenation ensures that hyphens won't get inserted where you don't
+want to them, and you don't end up with lines containing excessive
+amounts of space between words.</para>
+
+<para>However, if do you decide to set a non-zero value for the
+<parameter>man.justify</parameter> parameter (to enable
+justification), then you should probably also set a non-zero value for
+<parameter>man.hyphenate</parameter> (to enable hyphenation).</para>
+
+<para>Yes, these default settings run counter to how most existing man
+pages are formatted. But there are some notable exceptions, such as
+the <literal>perl</literal> man pages.</para>
+</note>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.links.are.numbered.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.links.are.numbered.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.links.are.numbered.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,106 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.links.are.numbered">
+<refmeta>
+<refentrytitle>man.links.are.numbered</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.links.are.numbered</refname>
+<refpurpose>Number links?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.links.are.numbered.frag'>
+<xsl:param name="man.links.are.numbered">1</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>man.links.are.numbered</parameter> is
+non-zero (the default), then for each non-empty<footnote>
+<para>A <quote>non-empty</quote> link is one that looks like
+this:<literallayout class="monospaced"
+ >  &lt;ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/">manpages&lt;/ulink></literallayout>
+an <quote>empty link</quote> is on that looks like this:<literallayout class="monospaced"
+ >  &lt;ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/"/></literallayout>
+</para></footnote> link:
+
+<itemizedlist>
+  <listitem>
+    <para>a number (in square brackets) is displayed inline before the
+    rendered contents of the link</para>
+  </listitem>
+  <listitem>
+    <para>the URL for the link is included in a numbered list of links
+    that is generated at the end of each man page; the number for each
+    links corresponds to the inline number for the link with which it is
+    associated</para>
+  </listitem>
+</itemizedlist>
+The default heading for the list of links is
+<literal>REFERENCES</literal>. To output a different heading, set a value
+for the <parameter>man.links.section.heading</parameter>
+parameter.</para>
+
+<note>
+  <para>The link list is also displayed (but without numbers) if the
+  value of <parameter>man.links.list.enabled</parameter> is
+  non-zero.</para>
+</note>
+
+
+<para>If the value of <parameter>man.links.are.numbered</parameter> is
+zero, numbering of links is suppressed; only the link contents are
+displayed inline.
+<important>
+  <para>If you are thinking about disabling link numbering by setting
+  the value of <parameter>man.links.are.numbered</parameter> to zero,
+  before you do so, first take some time to carefully
+  consider the information needs and experiences of your users. The
+  square-bracketed numbers displayed inline before links may seem
+  obstrusive and aesthetically unpleasing<footnote 
+  
+  ><para>You might
+  think that it would be better to just display URLs for non-empty
+  links inline, after their content, rather than displaying
+  square-bracketed numbers all over the place. But it's not better. In
+  fact, it's not even practical, because many (most) URLs for links
+  are too long to be displayed inline. They end up overflowing the
+  right margin. You can set a non-zero value for
+  <parameter>man.break.after.slash</parameter> parameter to deal with
+  that, but it could be argued that what you end up with is at least
+  as ugly, and definitely more obstrusive, then having short
+  square-bracketed numbers displayed inline.</para></footnote>,
+   
+  but in a text-only output format, the numbered-links/link-listing
+  mechanism is the only practical way of associating inline text with
+  URLs.</para>
+
+  <para>Also, users of <quote>text based</quote> browsers such as
+  <command>lynx</command> will already be accustomed to seeing inline
+  numbers for links. And various "man to html" applications, such as
+  the widely used <command><ulink
+  url="http://users.actrix.gen.nz/michael/vhman2html.html"
+  >man2html</ulink></command> (<literal>VH-Man2html</literal>)
+  application, can automatically turn URLs into "real" HTML hyperlinks
+  in output. So leaving <parameter>man.links.are.numbered</parameter>
+  at its default (non-zero) value ensures that no link information is
+  lost in your man-page output. It just gets
+  <quote>rearranged</quote>.</para>
+</important>
+</para>
+<para>The handling of empty links is not affected by this
+parameter. Empty links are handled simply by displaying their URLs
+inline. Empty links are never auto-numbered.</para>
+<note>
+  <para>Currently, this parameter only affects output for
+  <tag>ulink</tag>s.</para>
+</note>
+
+<para>If you disable link numbering, you should probably also set
+<parameter>man.links.are.underlined</parameter> to zero (to disable
+link underlining).</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.links.are.underlined.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.links.are.underlined.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.links.are.underlined.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,56 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.links.are.underlined">
+<refmeta>
+<refentrytitle>man.links.are.underlined</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.links.are.underlined</refname>
+<refpurpose>Underline links?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.links.are.underlined.frag'>
+<xsl:param name="man.links.are.underlined">1</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>man.links.are.underlined</parameter>
+is non-zero (the default), then the contents of links are rendered
+with an underline.</para>
+
+<para>If the value of <parameter>man.links.are.underlined</parameter>
+is zero, links are displayed without any underlining.</para>
+
+<note>
+  <para>Currently, this parameter only affects output for
+  <tag>ulink</tag>s.</para>
+</note>
+
+<para>If you set <parameter>man.links.are.numbered</parameter> and/or
+<parameter>man.links.list.enabled</parameter> to zero (disabled), then
+you should probably also set
+<parameter>man.links.are.underlined</parameter> to zero. But if
+<parameter>man.links.are.numbered</parameter> is non-zero (enabled),
+you should probably set a non-zero value for
+<parameter>man.links.are.underlined</parameter> also<footnote
+><para>If the main purpose of underlining of links in most output
+formats it to indicate that the underlined text is
+<quote>clickable</quote>, given that links rendered in man pages are
+not <quote>real</quote> hyperlinks that users can click on, it might
+seem like there is never a good reason to have link contents
+underlined in man output.</para> <para>In fact, if you suppress the
+display of inline link references (by setting
+<parameter>man.links.are.numbered</parameter> to zero), there is no
+good reason to have links underlined. However, if
+<parameter>man.links.are.numbered</parameter> is non-zero, having
+links underlined may (arguably) serve a purpose: It provides
+<quote>context</quote> information about exactly what part of the text
+is being <quote>annotated</quote> by the link. Depending on how you
+use mark up your content, that context information may or may not have
+value.</para></footnote>.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.links.list.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.links.list.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.links.list.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,95 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.links.list.enabled">
+<refmeta>
+<refentrytitle>man.links.list.enabled</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.links.list.enabled</refname>
+<refpurpose>Display list of links at end of man page?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.links.list.enabled.frag'>
+<xsl:param name="man.links.list.enabled">1</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>man.links.list.enabled</parameter> is
+non-zero (the default), then a list of links is added to the end of
+the output man page.</para>
+
+<para>If the value of <parameter>man.links.list.enabled</parameter> is
+zero, the list is suppressed -- unless link numbering is enabled (that
+is, if <parameter>man.links.are.numbered</parameter> is non-zero), in
+which case, that setting overrides the
+<parameter>man.links.list.enabled</parameter> setting, and the link
+list is still displayed. The reason is that link numbering only makes
+sense if a (numbered) list of links is also generated.</para>
+
+<note>
+  <para>Various <quote>man to html</quote> applications, such as the
+  widely used <command><ulink
+  url="http://users.actrix.gen.nz/michael/vhman2html.html"
+  >man2html</ulink></command> (<literal>VH-Man2html</literal>)
+  application, can automatically turn URLs into <quote>real</quote>
+  HTML hyperlinks in output. So leaving
+  <parameter>man.links.list.enabled</parameter> at its default
+  (non-zero) value ensures that no link URLs are lost in your man-page
+  output. They just get <quote>rearranged</quote>. So if you are
+  thinking about disabling link listing by setting the value of
+  <parameter>man.links.list.enabled</parameter> to zero, before you do
+  so, first take some time to carefully consider the information needs
+  and experiences of your users. The URLs are useful information even
+  if they aren't <quote>real</quote> (clickable) hyperlinks.</para>
+</note>
+
+<para>To <quote>turn off</quote> numbering of links in the list, set
+<parameter>man.links.are.numbered</parameter> to zero. The list will
+still be displayed; it will just be displayed without the
+numbers<footnote ><para>It can still <quote>make sense</quote> to have
+the list of links displayed even if you have link numbering turned
+off. In that case, your list of links basically becomes a <quote>list
+of references</quote> without any association with specific text in
+your document. This is probably the best option if you find the inline
+link numbering obtrusive. Your users will still have access to the
+URLs and link contents, without being annoyed by the presence of
+inline link numbering.</para></footnote>
+</para>
+
+<para>The default heading for the section in which the list appears is
+<literal>REFERENCES</literal>. To change that, set a non-empty value
+for the <parameter>man.links.list.heading</parameter>
+parameter.</para>
+
+<para>Along with the URL for each link, the link list includes the contents
+of the link. The list thus includes only non-empty<footnote
+ >
+
+<para>A <quote>non-empty</quote> link is one that looks like
+this:<literallayout class="monospaced" >  &lt;ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/">manpages&lt;/ulink></literallayout>
+an <quote>empty link</quote> is on that looks like this:<literallayout
+class="monospaced" >  &lt;ulink url="http://docbook.sf.net/snapshot/xsl/doc/manpages/"/></literallayout>
+</para></footnote> links.
+
+Empty links are never included, and never numbered. They are simply
+displayed inline, without any numbering.</para>
+
+<para>In addition, if there are multiple instances of links in a
+<tag>refentry</tag> that have the same URL, the URL is listed only
+once. The contents listed for that link are the contents of the first
+link which has that URL.</para>
+
+<note>
+  <para>Currently, this parameter only affects output for
+  <tag>ulink</tag>s.</para>
+</note>
+
+<para>If you disable link listing, you should probably also set
+<parameter>man.links.are.underlined</parameter> to zero (to disable
+link underlining).</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.links.list.heading.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.links.list.heading.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.links.list.heading.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.links.list.heading">
+<refmeta>
+<refentrytitle>man.links.list.heading</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.links.list.heading</refname>
+<refpurpose>Specifies an alternate name for links list</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.links.list.heading.frag'>
+<xsl:param name="man.links.list.heading" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of the
+<parameter>man.links.are.numbered</parameter> parameter and/or the
+<parameter>man.links.list.enabled</parameter> parameter is non-zero
+(the defaults for both are non-zero), a numbered list of URLs is
+generated near the end of each man page. The default section heading
+for the list of links is the equivalent of the English word
+<literal>REFERENCES</literal> in the current locale. To cause an
+alternate heading to be displayed, set a non-empty value for the
+<parameter>man.links.list.heading</parameter> parameter -- for
+example, <literal>LINKS</literal>.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.output.base.dir.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.output.base.dir.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.output.base.dir.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,38 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.output.base.dir">
+<refmeta>
+<refentrytitle>man.output.base.dir</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>man.output.base.dir</refname>
+<refpurpose>Specifies separate output directory</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment
+    id='man.output.base.dir.frag'
+    ><xsl:param name="man.output.base.dir">man/</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>man.output.base.dir</parameter> parameter
+specifies the base directory into which man-page files are output. The
+<parameter>man.output.subdirs.enabled</parameter> parameter controls
+whether the files are output in subdirectories within the base
+directory.</para>
+
+<note>
+  <para>The values of the <parameter>man.output.base.dir</parameter>
+  and <parameter>man.output.subdirs.enabled</parameter> parameters are
+  used only if the value of
+  <parameter>man.output.in.separate.dir</parameter> parameter is
+  non-zero. If the value of the
+  <parameter>man.output.in.separate.dir</parameter> is zero, man-page
+  files are not output in a separate directory.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.output.encoding.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.output.encoding.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.output.encoding.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,49 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.output.encoding">
+<refmeta>
+<refentrytitle>man.output.encoding</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.output.encoding</refname>
+<refpurpose>Encoding used for man-page output</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.output.encoding.frag'>
+<xsl:param name="man.output.encoding" select="'UTF-8'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies the encoding to use for files generated
+by the manpages stylesheet. Not all processors support specification
+of this parameter.</para>
+
+<important>
+  <para>If the value of the <parameter>man.charmap.enabled</parameter>
+  parameter is non-zero (the default), keeping the
+  <parameter>man.output.encoding</parameter> parameter at its default
+  value (<literal>UTF-8</literal>) or setting it to
+  <literal>UTF-16</literal> <emphasis role="bold" >does not cause your
+  man pages to be output in raw UTF-8 or UTF-16</emphasis> -- because
+  any Unicode characters for which matches are found in the enabled
+  character map will be replaced with roff escape sequences before the
+  final man-page files are generated.</para>
+
+  <para>So if you want to generate "real" UTF-8 man pages, without any
+  character substitution being performed on your content, you need to
+  set <parameter>man.charmap.enabled</parameter> to zero (which will
+  completely disable character-map processing). </para>
+
+  <para>You may also need to set
+  <parameter>man.charmap.enabled</parameter> to zero if you want to
+  output man pages in an encoding other than <literal>UTF-8</literal>
+  or <literal>UTF-16</literal>. Character-map processing is based on
+  Unicode character values and may not work with other output
+  encodings.</para>
+</important>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.output.in.separate.dir.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.output.in.separate.dir.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.output.in.separate.dir.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.output.in.separate.dir">
+<refmeta>
+<refentrytitle>man.output.in.separate.dir</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>man.output.in.separate.dir</refname>
+<refpurpose>Output man-page files in separate output directory?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.output.in.separate.dir.frag'>
+<xsl:param name="man.output.in.separate.dir" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <literal>man.output.in.separate.dir</literal>
+parameter is non-zero, man-page files are output in a separate
+directory, specified by the <parameter>man.output.base.dir</parameter>
+parameter; otherwise, if the value of
+<literal>man.output.in.separate.dir</literal> is zero, man-page files
+are not output in a separate directory.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.output.lang.in.name.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.output.lang.in.name.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.output.lang.in.name.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,47 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.output.lang.in.name.enabled">
+<refmeta>
+<refentrytitle>man.output.lang.in.name.enabled</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>man.output.lang.in.name.enabled</refname>
+<refpurpose>Include $LANG value in man-page filename/pathname?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.output.lang.in.name.enabled.frag'>
+<xsl:param name="man.output.lang.in.name.enabled" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+  <para>The <parameter>man.output.lang.in.name.enabled</parameter>
+  parameter specifies whether a <literal>$lang</literal> value is
+  included in man-page filenames and pathnames.</para>
+
+  <para>If the value of
+  <parameter>man.output.lang.in.name.enabled</parameter> is non-zero,
+  man-page files are output with the <literal>$lang</literal> value
+  included in their filenames or pathnames as follows;
+
+  <itemizedlist>
+    <listitem>
+      <para>if <parameter>man.output.subdirs.enabled</parameter> is
+      non-zero, each file is output to, e.g., a
+      <filename>man/<replaceable>$lang</replaceable>/man8/foo.8</filename>
+      pathname</para>
+    </listitem>
+    <listitem>
+      <para>if <parameter>man.output.subdirs.enabled</parameter> is
+      zero, each file is output with a
+      <literal>foo.<replaceable>$lang</replaceable>.8</literal>
+      filename</para>
+    </listitem>
+  </itemizedlist>
+  </para>
+
+</refsect1>
+</refentry>
\ No newline at end of file

Added: trunk/docs/docbook/src/main/resources/params/man.output.manifest.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.output.manifest.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.output.manifest.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.output.manifest.enabled">
+  <refmeta>
+    <refentrytitle>man.output.manifest.enabled</refentrytitle>
+    <refmiscinfo role="type">boolean</refmiscinfo>
+  </refmeta>
+  <refnamediv>
+    <refname>man.output.manifest.enabled</refname>
+    <refpurpose>Generate a manifest file?</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+    <src:fragment id='man.output.manifest.enabled.frag'
+      ><xsl:param name="man.output.manifest.enabled" select="0"/></src:fragment>
+  </refsynopsisdiv>
+
+  <refsect1><title>Description</title>
+
+    <para>If non-zero, a list of filenames for man pages generated by
+    the stylesheet transformation is written to the file named by the
+    <parameter>man.output.manifest.filename</parameter> parameter.</para>
+
+  </refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.output.manifest.filename.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.output.manifest.filename.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.output.manifest.filename.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.output.manifest.filename">
+  <refmeta>
+    <refentrytitle>man.output.manifest.filename</refentrytitle>
+    <refmiscinfo role="type">string</refmiscinfo>
+  </refmeta>
+  <refnamediv>
+    <refname>man.output.manifest.filename</refname>
+    <refpurpose>Name of manifest file</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+    <src:fragment id='man.output.manifest.filename.frag'
+      ><xsl:param name="man.output.manifest.filename">MAN.MANIFEST</xsl:param></src:fragment>
+  </refsynopsisdiv>
+
+  <refsect1><title>Description</title>
+
+    <para>The <parameter>man.output.manifest.filename</parameter> parameter
+    specifies the name of the file to which the manpages manifest file
+    is written (if the value of the
+    <parameter>man.output.manifest.enabled</parameter> parameter is
+    non-zero).</para>
+
+  </refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.output.quietly.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.output.quietly.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.output.quietly.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,34 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.output.quietly">
+<refmeta>
+<refentrytitle>man.output.quietly</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>man.output.quietly</refname>
+<refpurpose>Suppress filename messages emitted when generating output?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.output.quietly.frag'>
+<xsl:param name="man.output.quietly" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If zero (the default), for each man-page file created, a message
+with the name of the file is emitted. If non-zero, the files are
+output "quietly" -- that is, the filename messages are
+suppressed.</para>
+
+<tip>
+  <para>If you are processing a large amount of <tag>refentry</tag>
+  content, you may be able to speed up processing significantly by
+  setting a non-zero value for
+  <parameter>man.output.quietly</parameter>.</para>
+</tip>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.output.subdirs.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.output.subdirs.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.output.subdirs.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,37 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.output.subdirs.enabled">
+<refmeta>
+<refentrytitle>man.output.subdirs.enabled</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>man.output.subdirs.enabled</refname>
+<refpurpose>Output man-page files in subdirectories within base output directory?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.output.subdirs.enabled.frag'>
+<xsl:param name="man.output.subdirs.enabled" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>man.output.subdirs.enabled</parameter> parameter
+controls whether man-pages files are output in subdirectories within
+the base directory specified by the directory specified by the
+<parameter>man.output.base.dir</parameter> parameter.</para>
+
+<note>
+  <para>The values of the <parameter>man.output.base.dir</parameter>
+  and <parameter>man.output.subdirs.enabled</parameter> parameters are
+  used only if the value of
+  <parameter>man.output.in.separate.dir</parameter> parameter is
+  non-zero. If the value of the
+  <parameter>man.output.in.separate.dir</parameter> is zero, man-page
+  files are not output in a separate directory.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.segtitle.suppress.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.segtitle.suppress.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.segtitle.suppress.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.segtitle.suppress">
+<refmeta>
+<refentrytitle>man.segtitle.suppress</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.segtitle.suppress</refname>
+<refpurpose>Suppress display of segtitle contents?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.segtitle.suppress.frag'>
+<xsl:param name="man.segtitle.suppress" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>man.segtitle.suppress</parameter> is
+non-zero, then display of <sgmltag>segtitle</sgmltag> contents is
+suppressed in output.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.string.subst.map.local.post.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.string.subst.map.local.post.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.string.subst.map.local.post.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.string.subst.map.local.post">
+<refmeta>
+<refentrytitle>man.string.subst.map.local.post</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.string.subst.map.local.post</refname>
+<refpurpose>Specifies “local” string substitutions</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.string.subst.map.local.post.frag'>
+<xsl:param name="man.string.subst.map.local.post"></xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Use the <parameter>man.string.subst.map.local.post</parameter>
+parameter to specify any “local” string substitutions to perform over
+the entire roff source for each man page <emphasis>after</emphasis>
+performing the string substitutions specified by the <parameter
+>man.string.subst.map</parameter> parameter.</para>
+
+<para>For details about the format of this parameter, see the
+documentation for the <parameter>man.string.subst.map</parameter>
+parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.string.subst.map.local.pre.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.string.subst.map.local.pre.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.string.subst.map.local.pre.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.string.subst.map.local.pre">
+<refmeta>
+<refentrytitle>man.string.subst.map.local.pre</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.string.subst.map.local.pre</refname>
+<refpurpose>Specifies “local” string substitutions</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.string.subst.map.local.pre.frag'>
+  <xsl:param name="man.string.subst.map.local.pre"></xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Use the <parameter>man.string.subst.map.local.pre</parameter>
+parameter to specify any “local” string substitutions to perform over
+the entire roff source for each man page <emphasis>before</emphasis>
+performing the string substitutions specified by the <parameter
+>man.string.subst.map</parameter> parameter.</para>
+
+<para>For details about the format of this parameter, see the
+documentation for the <parameter>man.string.subst.map</parameter>
+parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.string.subst.map.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.string.subst.map.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.string.subst.map.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,257 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.string.subst.map">
+<refmeta>
+<refentrytitle>man.string.subst.map</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.string.subst.map</refname>
+<refpurpose>Specifies a set of string substitutions</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.string.subst.map.frag'>
+<xsl:param name="man.string.subst.map">
+
+  <!-- ******************************************************************** -->
+  <!-- *  -->
+  <!-- * The backslash and dot (\, .) characters have special meaning -->
+  <!-- * for roff, so we escape those characters when they appear in -->
+  <!-- * the source content, and we use certain (arbitrarily -->
+  <!-- * selected) Unicode characters as the internal representations -->
+  <!-- * for those characters, then replace them with real -->
+  <!-- * backslashes and dots in output. In addition, for certain -->
+  <!-- * reasons, we do the same thing for dashes. The mappings of -->
+  <!-- * those characters to the Unicode characters we use to -->
+  <!-- * represent them is hard-coded: -->
+  <!-- *  -->
+  <!-- *   - U+2591 = dash -->
+  <!-- *   - U+2593 = backslash -->
+  <!-- *   - U+2302 = dot -->
+  <!-- *  -->
+  <!-- ******************************************************************** -->
+
+  <!-- * escape backslashes in content; we use "\e" instead of "\\" -->
+  <!-- * because the groff docs say that's the correct thing to do; also -->
+  <!-- * because testing shows that "\\" doesn't always work as expected; -->
+  <!-- * for example, "\\" within a table seems to mess things up -->
+  <substitution oldstring="\" newstring="\e"/>
+  <!-- * fix bad font-request capitalization in .SH (stylesheet artifact) -->
+  <substitution oldstring="&#x2593;FB" newstring="\fB"/>
+  <substitution oldstring="&#x2593;FI" newstring="\fI"/>
+  <substitution oldstring="&#x2593;FR" newstring="\fR"/>
+  <!-- * remove no-break marker at beginning of line (stylesheet artifact) --> 
+  <substitution oldstring="&#x2592;&#x2580;" newstring="&#x2592;"/>
+  <!-- * replace U+2580 no-break marker (stylesheet-added) w/ no-break space -->
+  <substitution oldstring="&#x2580;" newstring="\ "/>
+  <!-- * replace U+2593 marker with backslash --> 
+  <substitution oldstring="&#x2593;" newstring="\"/>
+  <!-- * escape dashes in content (only at line beginnings) -->
+  <substitution oldstring="&#10;." newstring="&#10;\&amp;."/>
+  <!-- * replace U+2302 marker with dot -->
+  <substitution oldstring="&#x2302;" newstring="."/>
+  <!-- * escape dashes in content -->
+  <substitution oldstring="-" newstring="\-"/>
+  <!-- * replace U+2591 marker with dash -->
+  <substitution oldstring="&#x2591;" newstring="-"/>
+
+  <!-- ==================================================================== -->
+
+  <!-- * squeeze multiple newlines before a roff request  -->
+  <substitution oldstring="&#10;&#10;." newstring="&#10;."/>
+  <!-- * remove any .sp occurences that directly follow a .PP  -->
+  <substitution oldstring=".PP&#10;.sp" newstring=".PP"/>
+  <!-- * squeeze multiple newlines after start of no-fill (verbatim) env. -->
+  <substitution oldstring=".nf&#10;&#10;" newstring=".nf&#10;"/>
+  <!-- * squeeze multiple newlines after REstoring margin -->
+  <substitution oldstring=".RE&#10;&#10;" newstring=".RE&#10;"/>
+  <!-- * an apostrophe at the beginning of a line gets interpreted as a -->
+  <!-- * roff request (groff(7) says it is "the non-breaking control -->
+  <!-- * character"); so we must add backslash before any apostrophe -->
+  <!-- * found at the start of a line -->
+  <substitution oldstring="&#10;'" newstring="&#10;\'"/>
+  <!-- * -->
+  <!-- * non-breaking space -->
+  <!-- * -->
+  <!-- * A no-break space can be written two ways in roff; the difference, -->
+  <!-- * according to the "Page Motions" node in the groff info page, ixsl: -->
+  <!-- * -->
+  <!-- *   "\ " = -->
+  <!-- *   An unbreakable and unpaddable (i.e. not expanded during filling) -->
+  <!-- *   space. -->
+  <!-- * -->
+  <!-- *   "\~" = -->
+  <!-- *   An unbreakable space that stretches like a normal -->
+  <!-- *   inter-word space when a line is adjusted."  -->
+  <!-- * -->
+  <!-- * Unfortunately, roff seems to do some weird things with long -->
+  <!-- * lines that only have words separated by "\~" spaces, so it's -->
+  <!-- * safer just to stick with the "\ " space -->
+  <substitution oldstring="&#x00a0;" newstring="\ "/>
+  <!-- * x2008 is a "punctuation space"; we must replace it here because, -->
+  <!-- * for certain reasons, the stylesheets add it before and after -->
+  <!-- * every Parameter in Funcprototype output -->
+  <substitution oldstring="&#x2008;" newstring=" "/>
+  <!-- * -->
+  <!-- * Now deal with some other characters that are added by the -->
+  <!-- * stylesheets during processing. -->
+  <!-- * -->
+  <!-- * bullet -->
+  <substitution oldstring="&#x2022;" newstring="\(bu"/>
+  <!-- * left double quote -->
+  <substitution oldstring="&#x201c;" newstring="\(lq"/>
+  <!-- * right double quote -->
+  <substitution oldstring="&#x201d;" newstring="\(rq"/>
+  <!-- * left single quote -->
+  <substitution oldstring="&#x2018;" newstring="\(oq"/>
+  <!-- * right single quote -->
+  <substitution oldstring="&#x2019;" newstring="\(cq"/>
+  <!-- * copyright sign -->
+  <substitution oldstring="&#x00a9;" newstring="\(co"/>
+  <!-- * registered sign -->
+  <substitution oldstring="&#x00ae;" newstring="\(rg"/>
+  <!-- * servicemark... -->
+  <!-- * There is no groff equivalent for it. -->
+  <substitution oldstring="&#x2120;" newstring="(SM)"/>
+  <!-- * trademark... -->
+  <!-- * We don't do "\(tm" because for console output, -->
+  <!-- * groff just renders that as "tm"; that is: -->
+  <!-- * -->
+  <!-- *   Product&#x2122; -> Producttm -->
+  <!-- * -->
+  <!-- * So we just make it to "(TM)" instead; thus: -->
+  <!-- * -->
+  <!-- *   Product&#x2122; -> Product(TM) -->
+  <substitution oldstring="&#x2122;" newstring="(TM)"/>
+
+  <!-- ==================================================================== -->
+
+  <!-- * we use U+2592 as a marker for the newline before output of <sbr>; -->
+  <!-- * so we now need to replace U+2592 marker with a real newline -->
+  <substitution oldstring="&#x2592;" newstring="&#10;"/>
+
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>man.string.subst.map</parameter> parameter
+contains <link linkend="map">a map</link> that specifies a set of
+string substitutions to perform over the entire roff source for each
+man page, either just before generating final man-page output (that
+is, before writing man-page files to disk) or, if the value of the
+<parameter>man.charmap.enabled</parameter> parameter is non-zero,
+before applying the roff character map.</para>
+
+<para>You can use <parameter>man.string.subst.map</parameter> as a
+“lightweight” character map to perform “essential” substitutions --
+that is, substitutions that are <emphasis>always</emphasis> performed,
+even if the value of the <parameter>man.charmap.enabled</parameter>
+parameter is zero. For example, you can use it to replace quotation
+marks or other special characters that are generated by the DocBook
+XSL stylesheets for a particular locale setting (as opposed to those
+characters that are actually in source XML documents), or to replace
+any special characters that may be automatically generated by a
+particular customization of the DocBook XSL stylesheets.</para>
+
+<warning>
+  <para>Do you not change value of the
+  <parameter>man.string.subst.map</parameter> parameter unless you are
+  sure what you are doing. First consider adding your
+  string-substitution mappings to either or both of the following
+  parameters:
+  <variablelist>
+    <varlistentry>
+      <term><parameter>man.string.subst.map.local.pre</parameter></term>
+      <listitem><para>applied before
+      <parameter>man.string.subst.map</parameter></para></listitem>
+    </varlistentry>
+    <varlistentry>
+      <term><parameter>man.string.subst.map.local.post</parameter></term>
+      <listitem><para>applied after
+      <parameter>man.string.subst.map</parameter></para></listitem>
+    </varlistentry>
+  </variablelist>
+  By default, both of those parameters contain no
+  string substitutions. They are intended as a means for you to
+  specify your own local string-substitution mappings.</para>
+
+  <para>If you remove any of default mappings from the value of the
+  <parameter>man.string.subst.map</parameter> parameter, you are
+  likely to end up with broken output. And be very about adding
+  anything to it; it’s used for doing string substitution over the
+  entire roff source of each man page – it causes target strings to be
+  replaced in roff requests and escapes, not just in the visible
+  contents of the page.</para>
+
+</warning>
+
+<refsect2 id="map">
+  <title>Contents of the substitution map</title>
+  <para>The string-substitution map contains one or more <tag
+  namespace="http://docbook.sf.net/xmlns/string.subst/1.0"
+  >substitution</tag> elements, each of which has two attributes:
+  <variablelist>
+    <varlistentry>
+      <term>oldstring</term>
+      <listitem>
+        <simpara>string to replace</simpara>
+      </listitem>
+    </varlistentry>
+    <varlistentry>
+      <term>newstring</term>
+      <listitem>
+        <simpara>string with which to replace <tag class="attribute"
+        >oldstring</tag></simpara>
+      </listitem>
+    </varlistentry>
+  </variablelist>
+  It may also include XML comments (that is, delimited with
+  "<literal>&lt;!--</literal>" and "<literal>--></literal>").
+  </para>
+</refsect2>
+
+<refsect2 id="escape-replace">
+  <title>About escaping and replacing backslash, dot, and dash</title>
+  <para>The backslash and dot (\, .) characters have special meaning
+  for roff, so we:
+
+  <itemizedlist>
+    <listitem>
+      <para>escape backslashes and dots where they appear in the
+      source content</para>
+    </listitem>
+    <listitem>
+      <para>use certain (arbitrarily selected) Unicode characters as
+      “markers” – internal representations within the stylesheet – for
+      backslashes and dots</para>
+    </listitem>
+    <listitem>
+      <para>replace the Unicode characters with real backslashes and
+      dotes before output gets serialized</para>
+    </listitem>
+  </itemizedlist>
+  
+   In addition, for certain reasons, we do the same thing for
+   dashes.</para>
+
+  <para>The mappings of dash, backslash, and dot to the Unicode
+  characters we use to represent them is hard-coded in the stylesheet:
+
+  <itemizedlist>
+    <listitem><para><literal>U+2591</literal> = dash</para></listitem>
+    <listitem><para><literal>U+2593</literal> = backslash</para></listitem>
+    <listitem><para><literal>U+2302</literal> = dot</para></listitem>
+  </itemizedlist>
+
+  Those Unicode characters were chosen on the assumption that they are
+  never used in content intended for output to man pages. It would be
+  possible to provide a way for configuring the mappings (using XSLT
+  parameters), but doing so would make the stylesheet code much more
+  verbose and harder to read.</para>
+</refsect2>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.subheading.divider.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.subheading.divider.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.subheading.divider.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,34 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.subheading.divider.enabled">
+<refmeta>
+<refentrytitle>man.subheading.divider.enabled</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.subheading.divider.enabled</refname>
+<refpurpose>Add divider comment to roff source before/after subheadings?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.subheading.divider.enabled.frag'>
+<xsl:param name="man.subheading.divider.enabled">0</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of the
+<parameter>man.subheading.divider.enabled</parameter> parameter is
+non-zero, the contents of the
+<parameter>man.subheading.divider</parameter> parameter are used to
+add a "divider" before and after subheadings in the roff
+output. <emphasis role="bold">The divider is not visisble in the
+rendered man page</emphasis>; it is added as a comment, in the source,
+simply for the purpose of increasing reability of the source.</para>
+
+<para>If <parameter>man.subheading.divider.enabled</parameter> is zero
+(the default), the subheading divider is suppressed.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.subheading.divider.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.subheading.divider.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.subheading.divider.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.subheading.divider">
+<refmeta>
+<refentrytitle>man.subheading.divider</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.subheading.divider</refname>
+<refpurpose>Specifies string to use as divider comment before/after subheadings</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.subheading.divider.frag'>
+<xsl:param name="man.subheading.divider"
+>========================================================================</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of the
+<parameter>man.subheading.divider.enabled</parameter> parameter is
+non-zero, the contents of the
+<parameter>man.subheading.divider</parameter> parameter are used to
+add a "divider" before and after subheadings in the roff
+output. <emphasis role="bold">The divider is not visisble in the
+rendered man page</emphasis>; it is added as a comment, in the source,
+simply for the purpose of increasing reability of the source.</para>
+
+<para>If <parameter>man.subheading.divider.enabled</parameter> is zero
+(the default), the subheading divider is suppressed.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.table.footnotes.divider.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.table.footnotes.divider.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.table.footnotes.divider.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.table.footnotes.divider">
+<refmeta>
+<refentrytitle>man.table.footnotes.divider</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.table.footnotes.divider</refname>
+<refpurpose>Specifies divider string that appears before table footnotes</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.table.footnotes.divider.frag'>
+<xsl:param name="man.table.footnotes.divider">----</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>In each table that contains footenotes, the string specified by
+the <parameter>man.table.footnotes.divider</parameter> parameter is
+output before the list of footnotes for the table.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.th.extra1.suppress.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.th.extra1.suppress.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.th.extra1.suppress.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.th.extra1.suppress">
+<refmeta>
+<refentrytitle>man.th.extra1.suppress</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.th.extra1.suppress</refname>
+<refpurpose>Suppress extra1 part of header/footer?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.th.extra1.suppress.frag'>
+<xsl:param name="man.th.extra1.suppress">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>man.th.extra1.suppress</parameter> is
+non-zero, then the <literal>extra1</literal> part of the
+<literal>.TH</literal> title line header/footer is suppressed.</para>
+
+<para>The content of the <literal>extra1</literal> field is almost
+always displayed in the center footer of the page and is, universally,
+a date.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.th.extra2.max.length.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.th.extra2.max.length.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.th.extra2.max.length.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,40 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.th.extra2.max.length">
+<refmeta>
+<refentrytitle>man.th.extra2.max.length</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.th.extra2.max.length</refname>
+<refpurpose>Maximum length of extra2 in header/footer</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.th.extra2.max.length.frag'>
+<xsl:param name="man.th.extra2.max.length">30</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the maximum permitted length of the
+<literal>extra2</literal> part of the man-page part of the
+<literal>.TH</literal> title line header/footer. If the
+<literal>extra2</literal> content exceeds the maxiumum specified, it
+is truncated down to the maximum permitted length.</para>
+
+<para>The content of the <literal>extra2</literal> field is usually
+displayed in the left footer of the page and is typically "source"
+data indicating the software system or product that the item
+documented in the man page belongs to, often in the form
+<replaceable>Name</replaceable>&#160;<replaceable>Version</replaceable>;
+for example, "GTK+ 1.2" (from the <literal>gtk-options(7)</literal>
+man page).</para>
+
+<para>The default value for this parameter is reasonable but somewhat
+arbitrary. If you are processing pages with long "source" information,
+you may want to experiment with changing the value in order to achieve
+the correct aesthetic results.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.th.extra2.suppress.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.th.extra2.suppress.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.th.extra2.suppress.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,41 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.th.extra2.suppress">
+<refmeta>
+<refentrytitle>man.th.extra2.suppress</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.th.extra2.suppress</refname>
+<refpurpose>Suppress extra2 part of header/footer?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.th.extra2.suppress.frag'>
+<xsl:param name="man.th.extra2.suppress">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>man.th.extra2.suppress</parameter> is
+non-zero, then the <literal>extra2</literal> part of the
+<literal>.TH</literal> title line header/footer is suppressed.</para>
+
+<para>The content of the <literal>extra2</literal> field is usually
+displayed in the left footer of the page and is typically "source"
+data, often in the form
+<replaceable>Name</replaceable>&#160;<replaceable>Version</replaceable>;
+for example, "GTK+ 1.2" (from the <literal>gtk-options(7)</literal>
+man page).</para>
+
+<note>
+  <para>You can use the
+  <parameter>refentry.source.name.suppress</parameter> and
+  <parameter>refentry.version.suppress</parameter> parameters to
+  independently suppress the <replaceable>Name</replaceable> and
+  <replaceable>Version</replaceable> parts of the
+  <literal>extra2</literal> field.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.th.extra3.max.length.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.th.extra3.max.length.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.th.extra3.max.length.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,39 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.th.extra3.max.length">
+<refmeta>
+<refentrytitle>man.th.extra3.max.length</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.th.extra3.max.length</refname>
+<refpurpose>Maximum length of extra3 in header/footer</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.th.extra3.max.length.frag'>
+<xsl:param name="man.th.extra3.max.length">30</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the maximum permitted length of the
+<literal>extra3</literal> part of the man-page <literal>.TH</literal>
+title line header/footer. If the <literal>extra3</literal> content
+exceeds the maxiumum specified, it is truncated down to the maximum
+permitted length.</para>
+
+<para>The content of the <literal>extra3</literal> field is usually
+displayed in the middle header of the page and is typically a "manual
+name"; for example, "GTK+ User's Manual" (from the
+<literal>gtk-options(7)</literal> man page).</para>
+
+<para>The default value for this parameter is reasonable but somewhat
+arbitrary. If you are processing pages with long "manual names" -- or
+especially if you are processing pages that have both long "title"
+parts (command/function, etc. names) <emphasis>and</emphasis> long
+manual names -- you may want to experiment with changing the value in
+order to achieve the correct aesthetic results.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.th.extra3.suppress.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.th.extra3.suppress.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.th.extra3.suppress.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.th.extra3.suppress">
+<refmeta>
+<refentrytitle>man.th.extra3.suppress</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.th.extra3.suppress</refname>
+<refpurpose>Suppress extra3 part of header/footer?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.th.extra3.suppress.frag'>
+<xsl:param name="man.th.extra3.suppress">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>man.th.extra3.suppress</parameter> is
+non-zero, then the <literal>extra3</literal> part of the
+<literal>.TH</literal> title line header/footer is
+suppressed.</para>
+
+<para>The content of the <literal>extra3</literal> field is usually
+displayed in the middle header of the page and is typically a "manual
+name"; for example, "GTK+ User's Manual" (from the
+<literal>gtk-options(7)</literal> man page).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/man.th.title.max.length.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/man.th.title.max.length.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/man.th.title.max.length.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,60 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="man.th.title.max.length">
+<refmeta>
+<refentrytitle>man.th.title.max.length</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>man.th.title.max.length</refname>
+<refpurpose>Maximum length of title in header/footer</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='man.th.title.max.length.frag'>
+<xsl:param name="man.th.title.max.length">20</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the maximum permitted length of the title part of the
+man-page <literal>.TH</literal> title line header/footer. If the title
+exceeds the maxiumum specified, it is truncated down to the maximum
+permitted length.</para>
+
+<refsect2>
+  <title>Details</title>
+
+<para>Every man page generated using the DocBook stylesheets has a
+title line, specified using the <literal>TH</literal> roff
+macro. Within that title line, there is always, at a minimum, a title,
+followed by a section value (representing a man "section" -- usually
+just a number).</para>
+
+<para>The title and section are displayed, together, in the visible
+header of each page. Where in the header they are displayed depends on
+OS the man page is viewed on, and on what version of nroff/groff/man
+is used for viewing the page. But, at a minimum and across all
+systems, the title and section are displayed on the right-hand column
+of the header. On many systems -- those with a modern groff, including
+Linux systems -- they are displayed twice: both in the left and right
+columns of the header.</para>
+
+<para>So if the length of the title exceeds a certain percentage of
+the column width in which the page is viewed, the left and right
+titles can end up overlapping, making them unreadable, or breaking to
+another line, which doesn't look particularly good.</para>
+
+<para>So the stylesheets provide the
+<parameter>man.th.title.max.length</parameter> parameter as a means
+for truncating titles that exceed the maximum length that can be
+viewing properly in a page header.</para>
+
+<para>The default value is reasonable but somewhat arbitrary. If you
+have pages with long titles, you may want to experiment with changing
+the value in order to achieve the correct aesthetic results.</para>
+</refsect2>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/manifest.in.base.dir.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/manifest.in.base.dir.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/manifest.in.base.dir.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="manifest.in.base.dir">
+<refmeta>
+<refentrytitle>manifest.in.base.dir</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>manifest.in.base.dir</refname>
+<refpurpose>Should be manifest file written in $base.dir?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='manifest.in.base.dir.frag'>
+<xsl:param name="manifest.in.base.dir" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero manifest file and project files for HTML Help and
+Eclipse Help are written into <parameter>base.dir</parameter> instead
+of current directory.</para>
+
+</refsect1>
+</refentry>
+

Added: trunk/docs/docbook/src/main/resources/params/manifest.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/manifest.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/manifest.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="manifest">
+  <refmeta>
+    <refentrytitle>manifest</refentrytitle>
+    <refmiscinfo role="type">string</refmiscinfo>
+  </refmeta>
+  <refnamediv>
+    <refname>manifest</refname>
+    <refpurpose>Name of manifest file</refpurpose>
+  </refnamediv>
+
+  <refsynopsisdiv>
+    <src:fragment id='manifest.frag'
+      ><xsl:param name="manifest" select="'HTML.manifest'"/></src:fragment>
+  </refsynopsisdiv>
+
+  <refsect1><title>Description</title>
+
+    <para>The name of the file to which a manifest is written (if the
+      value of the <parameter>generate.manifest</parameter> parameter
+      is non-zero).</para>
+
+  </refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/manual.toc.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/manual.toc.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/manual.toc.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="manual.toc">
+<refmeta>
+<refentrytitle>manual.toc</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>manual.toc</refname>
+<refpurpose>An explicit TOC to be used for the TOC</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='manual.toc.frag'>
+<xsl:param name="manual.toc" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>manual.toc</parameter> identifies an explicit TOC that
+will be used for building the printed TOC.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/margin.note.float.type.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/margin.note.float.type.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/margin.note.float.type.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,66 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="margin.note.float.type">
+<refmeta>
+<refentrytitle>margin.note.float.type</refentrytitle>
+<refmiscinfo role="type">list</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>margin.note.float.type</refname>
+<refpurpose>Select type of float for margin note customizations</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='margin.note.float.type.frag'>
+<xsl:param name="margin.note.float.type" select="'none'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Selects the type of float for margin notes.
+DocBook does not define a margin note element, so this
+feature must be implemented as a customization of the stylesheet.
+See <parameter>margin.note.properties</parameter> for
+an example.
+</para>
+<itemizedlist>
+<listitem>
+<para>If <parameter>margin.note.float.type</parameter> is
+<quote><literal>none</literal></quote>, then 
+no float is used.
+</para>
+</listitem>
+<listitem>
+<para>If <parameter>margin.note.float.type</parameter> is
+<quote><literal>before</literal></quote>, then 
+the float appears at the top of the page.  On some processors,
+that may be the next page rather than the current page.
+</para>
+</listitem>
+<listitem>
+<para>If <parameter>margin.note.float.type</parameter> is
+<quote><literal>left</literal></quote> or
+<quote><literal>start</literal></quote>, then 
+a left side float is used.
+</para>
+</listitem>
+<listitem>
+<para>If <parameter>margin.note.float.type</parameter> is
+<quote><literal>right</literal></quote> or
+<quote><literal>end</literal></quote>, then 
+a right side float is used.
+</para>
+</listitem>
+<listitem>
+<para>If your XSL-FO processor supports floats positioned on the
+<quote><literal>inside</literal></quote> or
+<quote><literal>outside</literal></quote>
+of double-sided pages, then you have those two 
+options for side floats as well.
+</para>
+</listitem>
+</itemizedlist>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/margin.note.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/margin.note.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/margin.note.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,51 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="margin.note.properties">
+<refmeta>
+<refentrytitle>margin.note.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>margin.note.properties</refname>
+<refpurpose>Attribute set for margin.note properties</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='margin.note.properties.frag'>
+<xsl:attribute-set name="margin.note.properties">
+  <xsl:attribute name="font-size">90%</xsl:attribute>
+  <xsl:attribute name="text-align">start</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for margin notes.
+By default, margin notes are not implemented for any
+element. A stylesheet customization is needed to make
+use of this attribute-set.</para>
+
+<para>You can use a template named <quote>floater</quote>
+to create the customization.
+That template can create side floats by specifying the
+content and characteristics as template parameters.
+</para>
+
+<para>For example:</para>
+<programlisting><![CDATA[<xsl:template match="para[@role='marginnote']">
+  <xsl:call-template name="floater">
+    <xsl:with-param name="position">
+      <xsl:value-of select="$margin.note.float.type"/>
+    </xsl:with-param>
+    <xsl:with-param name="width">
+      <xsl:value-of select="$margin.note.width"/>
+    </xsl:with-param>
+    <xsl:with-param name="content">
+      <xsl:apply-imports/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>]]></programlisting>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/margin.note.title.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/margin.note.title.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/margin.note.title.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="margin.note.title.Properties">
+<refmeta>
+<refentrytitle>margin.note.title.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>margin.note.title.properties</refname>
+<refpurpose>Attribute set for margin note titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='margin.note.title.properties.frag'>
+<xsl:attribute-set name="margin.note.title.properties">
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="text-align">start</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for margin note titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/margin.note.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/margin.note.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/margin.note.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="margin.note.width">
+<refmeta>
+<refentrytitle>margin.note.width</refentrytitle>
+</refmeta>
+<refnamediv>
+<refname>margin.note.width</refname>
+<refpurpose>Set the default width for margin notes</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='margin.note.width.frag'>
+<xsl:param name="margin.note.width" select="'1in'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Sets the default width for margin notes when used as a side float.
+The width determines the degree to which the margin note block intrudes into
+the text area.
+</para>
+<para>If <parameter>margin.note.float.type</parameter> is
+<quote><literal>before</literal></quote> or 
+<quote><literal>none</literal></quote>, then 
+this parameter is ignored.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/marker.section.level.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/marker.section.level.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/marker.section.level.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,47 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="marker.section.level">
+<refmeta>
+<refentrytitle>marker.section.level</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>marker.section.level</refname>
+<refpurpose>Control depth of sections shown in running headers or footers</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='marker.section.level.frag'>
+<xsl:param name="marker.section.level" select="2"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>marker.section.level</parameter> parameter
+controls the depth of section levels that may be displayed
+in running headers and footers.  For example, if the value
+is 2 (the default), then titles from <sgmltag>sect1</sgmltag> and 
+<sgmltag>sect2</sgmltag> or equivalent <sgmltag>section</sgmltag>
+elements are candidates for use in running headers and
+footers.
+</para>
+<para>Each candidate title is marked in the FO output with a
+<sgmltag>&lt;fo:marker marker-class-name="section.head.marker"&gt;</sgmltag>
+element.
+</para>
+<para>In order for such titles to appear in headers
+or footers, the <literal>header.content</literal>
+or <literal>footer.content</literal> template
+must be customized to retrieve the marker using
+an output element such as:
+</para>
+<programlisting>
+&lt;fo:retrieve-marker retrieve-class-name="section.head.marker"
+                       retrieve-position="first-including-carryover"
+                       retrieve-boundary="page-sequence"/&gt;
+</programlisting>
+
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/menuchoice.menu.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/menuchoice.menu.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/menuchoice.menu.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,39 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="menuchoice.menu.separator">
+<refmeta>
+<refentrytitle>menuchoice.menu.separator</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>menuchoice.menu.separator</refname>
+<refpurpose>Separator between items of a <sgmltag>menuchoice</sgmltag>
+with <sgmltag>guimenuitem</sgmltag> or
+<sgmltag>guisubmenu</sgmltag></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='menuchoice.menu.separator.frag'>
+<xsl:param name="menuchoice.menu.separator"> &#x2192; </xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Separator used to connect items of a <sgmltag>menuchoice</sgmltag> with
+<sgmltag>guimenuitem</sgmltag> or <sgmltag>guisubmenu</sgmltag>. Other elements
+are linked with <parameter>menuchoice.separator</parameter>.
+</para>
+<para>The default value is &amp;#x2192;, which is the
+&amp;rarr; (right arrow) character entity.  
+The current FOP (0.20.5) requires setting the font-family
+explicitly.
+</para>
+<para>The default value also includes spaces around the arrow,
+which will allow a line to break.  Replace the spaces with
+&amp;#xA0; (nonbreaking space) if you don't want those
+spaces to break.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/menuchoice.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/menuchoice.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/menuchoice.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="menuchoice.separator">
+<refmeta>
+<refentrytitle>menuchoice.separator</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>menuchoice.separator</refname>
+<refpurpose>Separator between items of a <sgmltag>menuchoice</sgmltag>
+other than <sgmltag>guimenuitem</sgmltag> and
+<sgmltag>guisubmenu</sgmltag></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='menuchoice.separator.frag'>
+<xsl:param name="menuchoice.separator" select="'+'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Separator used to connect items of a <sgmltag>menuchoice</sgmltag> other
+than <sgmltag>guimenuitem</sgmltag> and <sgmltag>guisubmenu</sgmltag>. The latter
+elements are linked with <parameter>menuchoice.menu.separator</parameter>.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/monospace.font.family.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/monospace.font.family.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/monospace.font.family.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="monospace.font.family">
+<refmeta>
+<refentrytitle>monospace.font.family</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>monospace.font.family</refname>
+<refpurpose>The default font family for monospace environments</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='monospace.font.family.frag'>
+<xsl:param name="monospace.font.family" select="'monospace'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The monospace font family is used for verbatim environments
+(program listings, screens, etc.).
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/monospace.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/monospace.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/monospace.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="monospace.properties">
+<refmeta>
+<refentrytitle>monospace.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>monospace.properties</refname>
+<refpurpose>Properties of monospaced content</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='monospace.properties.frag'>
+<xsl:attribute-set name="monospace.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$monospace.font.family"/>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the font name for monospaced output. This property set
+used to set the font-size as well, but that doesn't work very well
+when different fonts are used (as they are in titles and paragraphs,
+for example).</para>
+
+<para>If you want to set the font-size in a customization layer, it's
+probably going to be more appropriate to set font-size-adjust, if your
+formatter supports it.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/monospace.verbatim.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/monospace.verbatim.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/monospace.verbatim.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,20 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="monospace.verbatim.properties">
+<refnamediv>
+<refname>monospace.verbatim.properties</refname>
+<refpurpose>What font and size do you want for monospaced content?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='monospace.verbatim.properties.frag'>
+<xsl:attribute-set name="monospace.verbatim.properties" use-attribute-sets="verbatim.properties monospace.properties">
+  <xsl:attribute name="text-align">start</xsl:attribute>
+  <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>Specify the font name and size you want for monospaced output</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/navig.graphics.extension.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/navig.graphics.extension.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/navig.graphics.extension.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="navig.graphics.extension">
+<refmeta>
+<refentrytitle>navig.graphics.extension</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>navig.graphics.extension</refname>
+<refpurpose>Extension for navigational graphics</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='navig.graphics.extension.frag'><xsl:param name="navig.graphics.extension" select="'.gif'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Sets the filename extension to use on navigational graphics used
+in the headers and footers of chunked HTML.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/navig.graphics.path.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/navig.graphics.path.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/navig.graphics.path.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="navig.graphics.path">
+<refmeta>
+<refentrytitle>navig.graphics.path</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>navig.graphics.path</refname>
+<refpurpose>Path to navigational graphics</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='navig.graphics.path.frag'><xsl:param name="navig.graphics.path">images/</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Sets the path, probably relative to the directory where the HTML
+files are created, to the navigational graphics used in the
+headers and footers of chunked HTML.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/navig.graphics.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/navig.graphics.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/navig.graphics.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="navig.graphics">
+<refmeta>
+<refentrytitle>navig.graphics</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>navig.graphics</refname>
+<refpurpose>Use graphics in navigational headers and footers?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='navig.graphics.frag'><xsl:param name="navig.graphics" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), the navigational headers and footers in chunked
+HTML are presented in an alternate style that uses
+graphical icons for Next, Previous, Up, and Home.
+Default graphics are provided in the distribution.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/navig.showtitles.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/navig.showtitles.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/navig.showtitles.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="navig.showtitles">
+<refmeta>
+<refentrytitle>navig.showtitles</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>navig.showtitles</refname>
+<refpurpose>Display titles in HTML headers and footers?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='navig.showtitles.frag'><xsl:param name="navig.showtitles">1</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero),
+the headers and footers of chunked HTML
+display the titles of the next and previous chunks,
+along with the words 'Next' and 'Previous' (or the
+equivalent graphical icons if navig.graphics is true).
+If false (zero), then only the words 'Next' and 'Previous'
+(or the icons) are displayed.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/nominal.image.depth.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/nominal.image.depth.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/nominal.image.depth.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="nominal.image.depth">
+<refmeta>
+<refentrytitle>nominal.image.depth</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>nominal.image.depth</refname>
+<refpurpose>Nominal image depth</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='nominal.image.depth.frag'>
+<xsl:param name="nominal.image.depth" select="4 * $pixels.per.inch"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>See <parameter>nominal.image.width</parameter>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/nominal.image.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/nominal.image.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/nominal.image.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,40 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="nominal.image.width">
+<refmeta>
+<refentrytitle>nominal.image.width</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>nominal.image.width</refname>
+<refpurpose>The nominal image width</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='nominal.image.width.frag'>
+<xsl:param name="nominal.image.width" select="6 * $pixels.per.inch"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Graphic widths expressed as a percentage are problematic. In the
+following discussion, we speak of width and contentwidth, but
+the same issues apply to depth and contentdepth.</para>
+
+<para>A width of 50% means "half of the available space for the image."
+That's fine. But note that in HTML, this is a dynamic property and
+the image size will vary if the browser window is resized.</para>
+
+<para>A contentwidth of 50% means "half of the actual image width".
+But what does that mean if the stylesheets cannot assess the image's
+actual size? Treating this as a width of 50% is one possibility, but
+it produces behavior (dynamic scaling) that seems entirely out of
+character with the meaning.</para>
+
+<para>Instead, the stylesheets define a
+<parameter>nominal.image.width</parameter> and convert percentages to
+actual values based on that nominal size.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/nominal.table.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/nominal.table.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/nominal.table.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="nominal.table.width">
+<refmeta>
+<refentrytitle>nominal.table.width</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>nominal.table.width</refname>
+<refpurpose>The (absolute) nominal width of tables</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='nominal.table.width.frag'><xsl:param name="nominal.table.width" select="'6in'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>In order to convert CALS column widths into HTML column widths, it
+is sometimes necessary to have an absolute table width to use for conversion
+of mixed absolute and relative widths. This value must be an absolute
+length (not a percentag).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/nongraphical.admonition.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/nongraphical.admonition.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/nongraphical.admonition.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,34 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="nongraphical.admonition.properties">
+<refnamediv>
+<refname>nongraphical.admonition.properties</refname>
+<refpurpose>To add properties to the outer block of a nongraphical admonition.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='nongraphical.admonition.properties.frag'><xsl:attribute-set name="nongraphical.admonition.properties">
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="margin-left">0.25in</xsl:attribute>
+  <xsl:attribute name="margin-right">0.25in</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>These properties are added to the outer block containing the
+entire nongraphical admonition, including its title.
+It is used when the parameter
+<parameter>admon.graphics</parameter> is set to zero.
+Use this attribute-set to set the space above and below,
+and any indent for the whole admonition.</para>
+
+<para>In addition to these properties, a nongraphical admonition
+also applies the <parameter>admonition.title.properties</parameter>
+attribute-set to the title, and the
+<parameter>admonition.properties</parameter> attribute-set
+to the rest of the content.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/normal.para.spacing.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/normal.para.spacing.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/normal.para.spacing.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,19 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="normal.para.spacing">
+<refnamediv>
+<refname>normal.para.spacing</refname>
+<refpurpose>What space do you want between normal paragraphs</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='normal.para.spacing.frag'><xsl:attribute-set name="normal.para.spacing">
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>Specify the spacing required between normal paragraphs</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/olink.base.uri.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/olink.base.uri.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/olink.base.uri.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,19 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="olink.base.uri"> 
+<refmeta> 
+<refentrytitle>olink.base.uri</refentrytitle> 
+<refmiscinfo role="type">uri</refmiscinfo> 
+</refmeta> 
+<refnamediv> 
+<refname>olink.base.uri</refname> 
+<refpurpose>Base URI used in olink hrefs</refpurpose> 
+</refnamediv> 
+<refsynopsisdiv> <src:fragment id="olink.base.uri.frag">
+<xsl:param name="olink.base.uri" select="''"/> </src:fragment> 
+</refsynopsisdiv> 
+<refsect1> 
+<title>Description</title> 
+<para>When cross reference data is collected for resolving olinks, it may be necessary to prepend a base URI to each target's href. This parameter lets you set that base URI when cross reference data is collected. This feature is needed when you want to link to a document that is processed without chunking. The output filename for such a document is not known to the XSL stylesheet; the only target information consists of fragment identifiers such as <literal>#idref</literal>. To enable the resolution of olinks between documents, you should pass the name of the HTML output file as the value of this parameter. Then the hrefs recorded in the cross reference data collection look like <literal>outfile.html#idref</literal>, which can  be reached as links from other documents.</para> 
+</refsect1> 
+</refentry> 

Added: trunk/docs/docbook/src/main/resources/params/olink.debug.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/olink.debug.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/olink.debug.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,33 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="olink.debug">
+<refmeta>
+<refentrytitle>olink.debug</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>olink.debug</refname>
+<refpurpose>Turn on debugging messages for olinks</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='olink.debug.frag'>
+<xsl:param name="olink.debug" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, then each olink will generate several
+messages about how it is being resolved during processing.
+This is useful when an olink does not resolve properly
+and the standard error messages are not sufficient to
+find the problem. 
+</para>
+
+<para>You may need to read through the olink XSL templates
+to understand the context for some of the debug messages.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/olink.doctitle.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/olink.doctitle.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/olink.doctitle.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,139 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="olink.doctitle"> 
+<refmeta> 
+<refentrytitle>olink.doctitle</refentrytitle> 
+<refmiscinfo role="type">string</refmiscinfo> 
+</refmeta> 
+<refnamediv> 
+<refname>olink.doctitle</refname> 
+<refpurpose>show the document title for external olinks?</refpurpose>
+
+</refnamediv> 
+<refsynopsisdiv> <src:fragment id="olink.doctitle.frag">
+<xsl:param name="olink.doctitle" select="'no'"/> </src:fragment> 
+</refsynopsisdiv> 
+<refsect1> 
+<title>Description</title> 
+<para>When olinks between documents are resolved, the generated text
+may not make it clear that the reference is to another document.
+It is possible for the stylesheets to append the other document's
+title to external olinks. For this to happen, two parameters must
+be set.</para>
+<itemizedlist>
+<listitem>
+<para>This <parameter>olink.doctitle</parameter> parameter
+should be set to either <literal>yes</literal> or <literal>maybe</literal>
+to enable this feature.
+</para>
+</listitem>
+<listitem>
+<para>And you should also set the <parameter>current.docid</parameter>
+parameter to the document id for the  document currently
+being processed for output.
+</para>
+</listitem>
+</itemizedlist>
+
+<para>
+Then if an olink's  <literal>targetdoc</literal> id differs from
+the <literal>current.docid</literal> value, the stylesheet knows
+that it is a reference to another document and can
+append the target document's
+title to the generated olink text. </para> 
+
+<para>The text for the target document's title is copied from the
+olink database from the <sgmltag>ttl</sgmltag> element
+of the top-level <sgmltag>div</sgmltag> for that document.
+If that <sgmltag>ttl</sgmltag> element is missing or empty,
+no title is output.
+</para>
+
+<para>The supported values for <parameter>olink.doctitle</parameter> are:
+</para>
+<variablelist>
+<varlistentry>
+<term><literal>yes</literal></term>
+<listitem>
+<para>
+Always insert the title to the target document if it is not
+the current document.
+</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term><literal>no</literal></term>
+<listitem>
+<para>
+Never insert the title to the target document, even if requested
+in an <sgmltag class="attribute">xrefstyle</sgmltag> attribute.
+</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term><literal>maybe</literal></term>
+<listitem>
+<para>
+Only insert the title to the target document, if requested
+in an <sgmltag class="attribute">xrefstyle</sgmltag> attribute.
+</para>
+</listitem>
+</varlistentry>
+</variablelist>
+<para>An <sgmltag class="attribute">xrefstyle</sgmltag> attribute
+may override the global setting for individual olinks.
+The following values are supported in an
+<sgmltag class="attribute">xrefstyle</sgmltag>
+attribute using the <literal>select:</literal> syntax:
+</para>
+
+<variablelist>
+<varlistentry>
+<term><literal>docname</literal></term>
+<listitem>
+<para>
+Insert the target document name for this olink using the
+<literal>docname</literal> gentext template, but only
+if the value of <parameter>olink.doctitle</parameter>
+is not <literal>no</literal>.
+</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term><literal>docnamelong</literal></term>
+<listitem>
+<para>
+Insert the target document name for this olink using the
+<literal>docnamelong</literal> gentext template, but only
+if the value of <parameter>olink.doctitle</parameter>
+is not <literal>no</literal>.
+</para>
+</listitem>
+</varlistentry>
+<varlistentry>
+<term><literal>nodocname</literal></term>
+<listitem>
+<para>
+Omit the target document name even if
+the value of <parameter>olink.doctitle</parameter>
+is <literal>yes</literal>.
+</para>
+</listitem>
+</varlistentry>
+</variablelist>
+<para>Another way of inserting the target document name 
+for a single olink is to employ an
+<sgmltag class="attribute">xrefstyle</sgmltag>
+attribute using the <literal>template:</literal> syntax.
+The <literal>%o</literal> placeholder (the letter o, not zero)
+in such a template
+will be filled in with the target document's title when it is processed.
+This will occur regardless of 
+the value of <parameter>olink.doctitle</parameter>.
+</para>
+<para>Note that prior to version 1.66 of the XSL stylesheets,
+the allowed values for this parameter were 0 and 1.  Those
+values are still supported and mapped to 'no' and 'yes', respectively.
+</para>
+</refsect1> 
+</refentry> 

Added: trunk/docs/docbook/src/main/resources/params/olink.fragid.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/olink.fragid.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/olink.fragid.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="olink.fragid">
+<refmeta>
+<refentrytitle>olink.fragid</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>olink.fragid</refname>
+<refpurpose>Names the fragment identifier portion of an OLink resolver query</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='olink.fragid.frag'><xsl:param name="olink.fragid" select="'fragid='"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/olink.lang.fallback.sequence.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/olink.lang.fallback.sequence.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/olink.lang.fallback.sequence.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,79 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="olink.lang.fallback.sequence"> 
+<refmeta> 
+<refentrytitle>olink.lang.fallback.sequence</refentrytitle> 
+<refmiscinfo role="type">string</refmiscinfo> 
+</refmeta> 
+<refnamediv> 
+<refname>olink.lang.fallback.sequence</refname> 
+<refpurpose>look up translated documents if olink not found?</refpurpose>
+
+</refnamediv> 
+<refsynopsisdiv> <src:fragment id="olink.lang.fallback.sequence.frag">
+<xsl:param name="olink.lang.fallback.sequence" select="''"/> </src:fragment> 
+</refsynopsisdiv> 
+<refsect1> 
+<title>Description</title> 
+
+<para>This parameter defines a list of lang values
+to search among to resolve olinks.
+</para>
+
+<para>Normally an olink tries to resolve to a document in the same
+language as the olink itself.  The language of an olink
+is determined by its nearest ancestor element with a
+<sgmltag class="attribute">lang</sgmltag> attribute, otherwise the
+value of the <parameter>l10n.gentext.default.lang</parameter>
+parameter.
+</para>
+
+<para>An olink database can contain target data for the same
+document in multiple languages.  Each set of data has the
+same value for the <sgmltag>targetdoc</sgmltag> attribute in
+the <sgmltag>document</sgmltag> element in the database, but with a 
+different <sgmltag>lang</sgmltag> attribute value.
+</para>
+
+<para>When an olink is being resolved, the target is first
+sought in the document with the same language as the olink.
+If no match is found there, then this parameter is consulted
+for additional languages to try.</para>
+
+<para>The <parameter>olink.lang.fallback.sequence</parameter>
+must be a whitespace separated list of lang values to
+try.  The first one with a match in the olink database is used.
+The default value is empty.</para>
+
+<para>For example, a document might be written in German
+and contain an olink with
+<literal>targetdoc="adminguide"</literal>.
+When the document is processed, the processor
+first looks for a target dataset in the
+olink database starting with:</para>
+
+<literallayout><literal>&lt;document targetdoc="adminguide" lang="de"&gt;</literal>.
+</literallayout>
+
+<para>If there is no such element, then the
+<parameter>olink.lang.fallback.sequence</parameter> 
+parameter is consulted.
+If its value is, for example, <quote>fr en</quote>, then the processor next
+looks for <literal>targetdoc="adminguide" lang="fr"</literal>, and
+then for <literal>targetdoc="adminguide" lang="en"</literal>.
+If there is still no match, it looks for
+<literal>targetdoc="adminguide"</literal> with no
+lang attribute.
+</para>
+
+<para>This parameter is useful when a set of documents is only
+partially translated, or is in the process of being translated.  
+If a target of an olink has not yet been translated, then this
+parameter permits the processor to look for the document in
+other languages.  This assumes the reader would rather have
+a link to a document in a different language than to have
+a broken link.
+</para>
+
+</refsect1> 
+</refentry> 

Added: trunk/docs/docbook/src/main/resources/params/olink.outline.ext.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/olink.outline.ext.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/olink.outline.ext.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="olink.outline.ext">
+<refmeta>
+<refentrytitle>olink.outline.ext</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>olink.outline.ext</refname>
+<refpurpose>The extension of OLink outline files</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='olink.outline.ext.frag'><xsl:param name="olink.outline.ext" select="'.olink'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/olink.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/olink.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/olink.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="olink.properties">
+<refnamediv>
+<refname>olink.properties</refname>
+<refpurpose>Properties associated with the cross-reference 
+text of an olink.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='olink.properties.frag'>
+<xsl:attribute-set name="olink.properties">
+  <xsl:attribute name="show-destination">replace</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This attribute set is applied to the <sgmltag>fo:basic-link</sgmltag>
+element of an olink. It is not applied to the
+optional page number or 
+optional title of the external document.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/olink.pubid.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/olink.pubid.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/olink.pubid.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="olink.pubid">
+<refmeta>
+<refentrytitle>olink.pubid</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>olink.pubid</refname>
+<refpurpose>Names the public identifier portion of an OLink resolver query</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='olink.pubid.frag'><xsl:param name="olink.pubid" select="'pubid='"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/olink.resolver.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/olink.resolver.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/olink.resolver.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="olink.resolver">
+<refmeta>
+<refentrytitle>olink.resolver</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>olink.resolver</refname>
+<refpurpose>The root name of the OLink resolver (usually a script)</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='olink.resolver.frag'><xsl:param name="olink.resolver" select="'/cgi-bin/olink'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/olink.sysid.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/olink.sysid.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/olink.sysid.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="olink.sysid">
+<refmeta>
+<refentrytitle>olink.sysid</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>olink.sysid</refname>
+<refpurpose>Names the system identifier portion of an OLink resolver query</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='olink.sysid.frag'><xsl:param name="olink.sysid" select="'sysid='"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/orderedlist.label.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/orderedlist.label.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/orderedlist.label.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,19 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="orderedlist.label.properties">
+<refnamediv>
+<refname>orderedlist.label.properties</refname>
+<refpurpose>Properties that apply to each label inside ordered list.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='orderedlist.label.properties.frag'><xsl:attribute-set name="orderedlist.label.properties">
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>Properties that apply to each label inside ordered list. E.g.:</para>
+<programlisting><![CDATA[<xsl:attribute-set name="orderedlist.label.properties">
+  <xsl:attribute name="text-align">right</xsl:attribute>
+</xsl:attribute-set>]]></programlisting>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/orderedlist.label.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/orderedlist.label.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/orderedlist.label.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,21 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="orderedlist.label.width">
+<refnamediv>
+<refname>orderedlist.label.width</refname>
+<refpurpose>The default width of the label (number) in an ordered list.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='orderedlist.label.width.frag'>
+<xsl:param name="orderedlist.label.width" select="'1.2em'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>Specifies the default width of the label (usually a number or
+sequence of numbers) in an ordered list. You can override the default
+value on any particular list with the “dbfo” processing instruction
+using the “label-width” pseudoattribute.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/orderedlist.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/orderedlist.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/orderedlist.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,17 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="orderedlist.properties">
+<refnamediv>
+<refname>orderedlist.properties</refname>
+<refpurpose>Properties that apply to each list-block generated by orderedlist.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='orderedlist.properties.frag'><xsl:attribute-set name="orderedlist.properties" use-attribute-sets="list.block.properties">
+  <xsl:attribute name="provisional-distance-between-starts">2em</xsl:attribute>
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+<refsect1><title>Description</title>
+<para>Properties that apply to each fo:list-block generated by orderedlist.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/othercredit.like.author.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/othercredit.like.author.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/othercredit.like.author.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="othercredit.like.author.enabled">
+<refmeta>
+<refentrytitle>othercredit.like.author.enabled</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>othercredit.like.author.enabled</refname>
+<refpurpose>Display othercredit in same style as author?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='othercredit.like.author.enabled.frag'><xsl:param name="othercredit.like.author.enabled">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, output of the
+<sgmltag>othercredit</sgmltag> element on titlepages is displayed in
+the same style as <sgmltag>author</sgmltag> and
+<sgmltag>editor</sgmltag> output. If zero (the default),
+<sgmltag>othercredit</sgmltag> output is displayed using a style
+different than that of <sgmltag>author</sgmltag> and
+<sgmltag>editor</sgmltag>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/page.height.portrait.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/page.height.portrait.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/page.height.portrait.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,66 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="page.height.portrait">
+<refmeta>
+<refentrytitle>page.height.portrait</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>page.height.portrait</refname>
+<refpurpose>Specify the physical size of the long edge of the page</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='page.height.portrait.frag'><xsl:param name="page.height.portrait">
+  <xsl:choose>
+    <xsl:when test="$paper.type = 'A4landscape'">210mm</xsl:when>
+    <xsl:when test="$paper.type = 'USletter'">11in</xsl:when>
+    <xsl:when test="$paper.type = 'USlandscape'">8.5in</xsl:when>
+    <xsl:when test="$paper.type = '4A0'">2378mm</xsl:when>
+    <xsl:when test="$paper.type = '2A0'">1682mm</xsl:when>
+    <xsl:when test="$paper.type = 'A0'">1189mm</xsl:when>
+    <xsl:when test="$paper.type = 'A1'">841mm</xsl:when>
+    <xsl:when test="$paper.type = 'A2'">594mm</xsl:when>
+    <xsl:when test="$paper.type = 'A3'">420mm</xsl:when>
+    <xsl:when test="$paper.type = 'A4'">297mm</xsl:when>
+    <xsl:when test="$paper.type = 'A5'">210mm</xsl:when>
+    <xsl:when test="$paper.type = 'A6'">148mm</xsl:when>
+    <xsl:when test="$paper.type = 'A7'">105mm</xsl:when>
+    <xsl:when test="$paper.type = 'A8'">74mm</xsl:when>
+    <xsl:when test="$paper.type = 'A9'">52mm</xsl:when>
+    <xsl:when test="$paper.type = 'A10'">37mm</xsl:when>
+    <xsl:when test="$paper.type = 'B0'">1414mm</xsl:when>
+    <xsl:when test="$paper.type = 'B1'">1000mm</xsl:when>
+    <xsl:when test="$paper.type = 'B2'">707mm</xsl:when>
+    <xsl:when test="$paper.type = 'B3'">500mm</xsl:when>
+    <xsl:when test="$paper.type = 'B4'">353mm</xsl:when>
+    <xsl:when test="$paper.type = 'B5'">250mm</xsl:when>
+    <xsl:when test="$paper.type = 'B6'">176mm</xsl:when>
+    <xsl:when test="$paper.type = 'B7'">125mm</xsl:when>
+    <xsl:when test="$paper.type = 'B8'">88mm</xsl:when>
+    <xsl:when test="$paper.type = 'B9'">62mm</xsl:when>
+    <xsl:when test="$paper.type = 'B10'">44mm</xsl:when>
+    <xsl:when test="$paper.type = 'C0'">1297mm</xsl:when>
+    <xsl:when test="$paper.type = 'C1'">917mm</xsl:when>
+    <xsl:when test="$paper.type = 'C2'">648mm</xsl:when>
+    <xsl:when test="$paper.type = 'C3'">458mm</xsl:when>
+    <xsl:when test="$paper.type = 'C4'">324mm</xsl:when>
+    <xsl:when test="$paper.type = 'C5'">229mm</xsl:when>
+    <xsl:when test="$paper.type = 'C6'">162mm</xsl:when>
+    <xsl:when test="$paper.type = 'C7'">114mm</xsl:when>
+    <xsl:when test="$paper.type = 'C8'">81mm</xsl:when>
+    <xsl:when test="$paper.type = 'C9'">57mm</xsl:when>
+    <xsl:when test="$paper.type = 'C10'">40mm</xsl:when>
+    <xsl:otherwise>11in</xsl:otherwise>
+  </xsl:choose>
+</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The portrait page height is the length of the long
+edge of the physical page.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/page.height.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/page.height.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/page.height.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,34 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="page.height">
+<refmeta>
+<refentrytitle>page.height</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>page.height</refname>
+<refpurpose>The height of the physical page</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='page.height.frag'><xsl:param name="page.height">
+  <xsl:choose>
+    <xsl:when test="$page.orientation = 'portrait'">
+      <xsl:value-of select="$page.height.portrait"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$page.width.portrait"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The page height is generally calculated from the
+<literal>paper.type</literal> and
+<literal>page.orientation</literal>.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/page.margin.bottom.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/page.margin.bottom.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/page.margin.bottom.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="page.margin.bottom">
+<refmeta>
+<refentrytitle>page.margin.bottom</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>page.margin.bottom</refname>
+<refpurpose>The bottom margin of the page</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='page.margin.bottom.frag'>
+<xsl:param name="page.margin.bottom" select="'0.5in'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The bottom page margin is the distance from the bottom of the region-after
+to the physical bottom of the page.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/page.margin.inner.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/page.margin.inner.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/page.margin.inner.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="page.margin.inner">
+<refmeta>
+<refentrytitle>page.margin.inner</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>page.margin.inner</refname>
+<refpurpose>The inner page margin</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='page.margin.inner.frag'><xsl:param name="page.margin.inner">
+  <xsl:choose>
+    <xsl:when test="$double.sided != 0">1.25in</xsl:when>
+    <xsl:otherwise>1in</xsl:otherwise>
+  </xsl:choose>
+</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The inner page margin is the distance from binding edge of the
+page to the first column of text. In the left-to-right, top-to-bottom writing
+direction, this is the left margin of recto pages.</para>
+<para>The inner and outer margins are usually the same unless the output
+is double-sided.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/page.margin.outer.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/page.margin.outer.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/page.margin.outer.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="page.margin.outer">
+<refmeta>
+<refentrytitle>page.margin.outer</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>page.margin.outer</refname>
+<refpurpose>The outer page margin</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='page.margin.outer.frag'><xsl:param name="page.margin.outer">
+  <xsl:choose>
+    <xsl:when test="$double.sided != 0">0.75in</xsl:when>
+    <xsl:otherwise>1in</xsl:otherwise>
+  </xsl:choose>
+</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The outer page margin is the distance from non-binding edge of the
+page to the last column of text. In the left-to-right, top-to-bottom writing
+direction, this is the right margin of recto pages.</para>
+<para>The inner and outer margins are usually the same unless the output
+is double-sided.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/page.margin.top.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/page.margin.top.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/page.margin.top.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="page.margin.top">
+<refmeta>
+<refentrytitle>page.margin.top</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>page.margin.top</refname>
+<refpurpose>The top margin of the page</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='page.margin.top.frag'>
+<xsl:param name="page.margin.top" select="'0.5in'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The top page margin is the distance from the physical top of the
+page to the top of the region-before.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/page.orientation.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/page.orientation.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/page.orientation.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="page.orientation">
+<refmeta>
+<refentrytitle>page.orientation</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>page.orientation</refname>
+<refpurpose>Select the page orientation</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='page.orientation.frag'><xsl:param name="page.orientation" select="'portrait'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>In portrait orientation, the short edge is horizontal; in
+landscape orientation, it is vertical.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/page.width.portrait.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/page.width.portrait.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/page.width.portrait.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,64 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="page.width.portrait">
+<refmeta>
+<refentrytitle>page.width.portrait</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>page.width.portrait</refname>
+<refpurpose>Specify the physical size of the short edge of the page</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='page.width.portrait.frag'><xsl:param name="page.width.portrait">
+  <xsl:choose>
+    <xsl:when test="$paper.type = 'USletter'">8.5in</xsl:when>
+    <xsl:when test="$paper.type = '4A0'">1682mm</xsl:when>
+    <xsl:when test="$paper.type = '2A0'">1189mm</xsl:when>
+    <xsl:when test="$paper.type = 'A0'">841mm</xsl:when>
+    <xsl:when test="$paper.type = 'A1'">594mm</xsl:when>
+    <xsl:when test="$paper.type = 'A2'">420mm</xsl:when>
+    <xsl:when test="$paper.type = 'A3'">297mm</xsl:when>
+    <xsl:when test="$paper.type = 'A4'">210mm</xsl:when>
+    <xsl:when test="$paper.type = 'A5'">148mm</xsl:when>
+    <xsl:when test="$paper.type = 'A6'">105mm</xsl:when>
+    <xsl:when test="$paper.type = 'A7'">74mm</xsl:when>
+    <xsl:when test="$paper.type = 'A8'">52mm</xsl:when>
+    <xsl:when test="$paper.type = 'A9'">37mm</xsl:when>
+    <xsl:when test="$paper.type = 'A10'">26mm</xsl:when>
+    <xsl:when test="$paper.type = 'B0'">1000mm</xsl:when>
+    <xsl:when test="$paper.type = 'B1'">707mm</xsl:when>
+    <xsl:when test="$paper.type = 'B2'">500mm</xsl:when>
+    <xsl:when test="$paper.type = 'B3'">353mm</xsl:when>
+    <xsl:when test="$paper.type = 'B4'">250mm</xsl:when>
+    <xsl:when test="$paper.type = 'B5'">176mm</xsl:when>
+    <xsl:when test="$paper.type = 'B6'">125mm</xsl:when>
+    <xsl:when test="$paper.type = 'B7'">88mm</xsl:when>
+    <xsl:when test="$paper.type = 'B8'">62mm</xsl:when>
+    <xsl:when test="$paper.type = 'B9'">44mm</xsl:when>
+    <xsl:when test="$paper.type = 'B10'">31mm</xsl:when>
+    <xsl:when test="$paper.type = 'C0'">917mm</xsl:when>
+    <xsl:when test="$paper.type = 'C1'">648mm</xsl:when>
+    <xsl:when test="$paper.type = 'C2'">458mm</xsl:when>
+    <xsl:when test="$paper.type = 'C3'">324mm</xsl:when>
+    <xsl:when test="$paper.type = 'C4'">229mm</xsl:when>
+    <xsl:when test="$paper.type = 'C5'">162mm</xsl:when>
+    <xsl:when test="$paper.type = 'C6'">114mm</xsl:when>
+    <xsl:when test="$paper.type = 'C7'">81mm</xsl:when>
+    <xsl:when test="$paper.type = 'C8'">57mm</xsl:when>
+    <xsl:when test="$paper.type = 'C9'">40mm</xsl:when>
+    <xsl:when test="$paper.type = 'C10'">28mm</xsl:when>
+    <xsl:otherwise>8.5in</xsl:otherwise>
+  </xsl:choose>
+</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The portrait page width is the length of the short
+edge of the physical page.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/page.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/page.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/page.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,33 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="page.width">
+<refmeta>
+<refentrytitle>page.width</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>page.width</refname>
+<refpurpose>The width of the physical page</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='page.width.frag'><xsl:param name="page.width">
+  <xsl:choose>
+    <xsl:when test="$page.orientation = 'portrait'">
+      <xsl:value-of select="$page.width.portrait"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$page.height.portrait"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The page width is generally calculated from the
+<literal>paper.type</literal> and <literal>page.orientation</literal>.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/pages.template.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/pages.template.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/pages.template.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="pages.template">
+<refmeta>
+<refentrytitle>pages.template</refentrytitle>
+</refmeta>
+<refnamediv>
+<refname>pages.template</refname>
+<refpurpose>Specify the template Pages document</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='pages.template.frag'>
+<xsl:param name="pages.template" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>pages.template</parameter> parameter specifies a Pages (the Apple word processing application) document to use as a template for the generated document.  The template document is used to define the (extensive) headers for the generated document, in particular the paragraph and character styles that are used to format the various elements.  Any content in the template document is ignored.</para>
+
+<para>A template document is used in order to allow maintenance of the paragraph and character styles to be done using Pages itself, rather than these XSL stylesheets.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/paper.type.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/paper.type.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/paper.type.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="paper.type">
+<refmeta>
+<refentrytitle>paper.type</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>paper.type</refname>
+<refpurpose>Select the paper type</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='paper.type.frag'><xsl:param name="paper.type" select="'USletter'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The paper type is a convenient way to specify the paper size.
+The list of known paper sizes includes USletter and most of the A,
+B, and C sizes. See <literal>page.width.portrait</literal>, for example.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/para.propagates.style.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/para.propagates.style.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/para.propagates.style.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="para.propagates.style">
+<refmeta>
+<refentrytitle>para.propagates.style</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>para.propagates.style</refname>
+<refpurpose>Pass para role attribute through to HTML?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='para.propagates.style.frag'>
+<xsl:param name="para.propagates.style" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true, the role attribute of <sgmltag>para</sgmltag> elements
+will be passed through to the HTML as a class attribute on the
+<sgmltag>p</sgmltag> generated for the paragraph.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/part.autolabel.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/part.autolabel.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/part.autolabel.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,63 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="part.autolabel">
+<refmeta>
+<refentrytitle>part.autolabel</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>part.autolabel</refname>
+<refpurpose>Specifies the labeling format for Part titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='part.autolabel.frag'><xsl:param name="part.autolabel" select="'I'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If zero, then parts will not be numbered.
+Otherwise parts will be numbered, using the parameter value
+as the number format if the value matches one of the following:
+</para>
+
+<variablelist>
+  <varlistentry>
+    <term>1 or arabic</term>
+    <listitem>
+      <para>Arabic numeration (1, 2, 3 ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>A or upperalpha</term>
+    <listitem>
+      <para>Uppercase letter numeration (A, B, C ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>a or loweralpha</term>
+    <listitem>
+      <para>Lowercase letter numeration (a, b, c ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>I or upperroman</term>
+    <listitem>
+      <para>Uppercase roman numeration (I, II, III ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>i or lowerroman</term>
+    <listitem>
+      <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
+    </listitem>
+  </varlistentry>
+</variablelist>
+
+<para>Any nonzero value other than the above will generate
+the default number format (upperroman).
+</para>
+
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/passivetex.extensions.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/passivetex.extensions.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/passivetex.extensions.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="passivetex.extensions">
+<refmeta>
+<refentrytitle>passivetex.extensions</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>passivetex.extensions</refname>
+<refpurpose>Enable PassiveTeX extensions?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='passivetex.extensions.frag'><xsl:param name="passivetex.extensions" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero,
+<ulink url="http://users.ox.ac.uk/~rahtz/passivetex/">PassiveTeX</ulink>
+extensions will be used. At present, this consists of PDF bookmarks
+and sorted index terms.
+</para>
+
+<para>This parameter can also affect which graphics file formats
+are supported</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/pgwide.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/pgwide.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/pgwide.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,45 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="pgwide.properties">
+<refnamediv>
+<refname>pgwide.properties</refname>
+<refpurpose>Properties to make a figure or table page wide.
+</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='pgwide.properties.frag'>
+<xsl:attribute-set name="pgwide.properties">
+  <xsl:attribute name="start-indent">0pt</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This attribute set is used to set the properties
+that make a figure or table "page wide" in fo output.
+It comes into effect when an attribute <literal>pgwide="1"</literal>
+is used.
+</para>
+
+<para>
+By default, it sets <parameter>start-indent</parameter>
+to <literal>0pt</literal>.
+In a stylesheet that sets the parameter
+<parameter>body.start.indent</parameter>
+to a non-zero value in order to indent body text,
+this attribute set can be used to outdent pgwide
+figures to the left margin.
+</para>
+
+<para>If a document uses a multi-column page layout,
+then this attribute set could try setting <parameter>span</parameter>
+to a value of <literal>all</literal>.  However, this may
+not work with some processors because a span property must be on an
+fo:block that is a direct child of fo:flow.  It may work in
+some processors anyway.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/phrase.propagates.style.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/phrase.propagates.style.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/phrase.propagates.style.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="phrase.propagates.style">
+<refmeta>
+<refentrytitle>phrase.propagates.style</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>phrase.propagates.style</refname>
+<refpurpose>Pass phrase role attribute through to HTML?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='phrase.propagates.style.frag'><xsl:param name="phrase.propagates.style" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true, the role attribute of <sgmltag>phrase</sgmltag> elements
+will be passed through to the HTML as a class attribute on a
+<sgmltag>span</sgmltag> that surrounds the phrase.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/pixels.per.inch.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/pixels.per.inch.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/pixels.per.inch.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="pixels.per.inch">
+<refmeta>
+<refentrytitle>pixels.per.inch</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>pixels.per.inch</refname>
+<refpurpose>How many pixels are there per inch?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='pixels.per.inch.frag'>
+<xsl:param name="pixels.per.inch" select="90"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>When lengths are converted to pixels, this value is used to
+determine the size of a pixel. The default value is taken from the
+<ulink url="http://www.w3.org/TR/xsl/slice5.html#pixels">XSL
+Recommendation</ulink>.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/points.per.em.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/points.per.em.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/points.per.em.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="points.per.em">
+<refmeta>
+<refentrytitle>points.per.em</refentrytitle>
+<refmiscinfo role="type">number</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>points.per.em</refname>
+<refpurpose>Specify the nominal size of an em-space in points</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='points.per.em.frag'>
+<xsl:param name="points.per.em" select="10"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/preface.autolabel.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/preface.autolabel.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/preface.autolabel.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,63 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="preface.autolabel">
+<refmeta>
+<refentrytitle>preface.autolabel</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>preface.autolabel</refname>
+<refpurpose>Specifices the labeling format for Preface titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='preface.autolabel.frag'><xsl:param name="preface.autolabel" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If zero (default), then prefaces will not be numbered.
+Otherwise prefaces will be numbered, using the parameter value
+as the number format if the value matches one of the following:
+</para>
+
+<variablelist>
+  <varlistentry>
+    <term>1 or arabic</term>
+    <listitem>
+      <para>Arabic numeration (1, 2, 3 ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>A or upperalpha</term>
+    <listitem>
+      <para>Uppercase letter numeration (A, B, C ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>a or loweralpha</term>
+    <listitem>
+      <para>Lowercase letter numeration (a, b, c ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>I or upperroman</term>
+    <listitem>
+      <para>Uppercase roman numeration (I, II, III ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>i or lowerroman</term>
+    <listitem>
+      <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
+    </listitem>
+  </varlistentry>
+</variablelist>
+
+<para>Any nonzero value other than the above will generate
+the default number format (arabic).
+</para>
+
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/prefer.internal.olink.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/prefer.internal.olink.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/prefer.internal.olink.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,75 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="prefer.internal.olink">
+<refmeta>
+<refentrytitle>prefer.internal.olink</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>prefer.internal.olink</refname>
+<refpurpose>Prefer a local olink reference to an external reference</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='prefer.internal.olink.frag'>
+<xsl:param name="prefer.internal.olink" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you are re-using XML content modules in multiple documents,
+you may want to redirect some of your olinks.  This parameter
+permits you to redirect an olink to the current document.
+</para>
+
+<para>For example: you are writing documentation for a  product, 
+which includes 3 manuals: a little installation
+booklet (booklet.xml), a user 
+guide (user.xml), and a reference manual (reference.xml).
+All 3 documents begin with the same introduction section (intro.xml) that 
+contains a reference to the customization section (custom.xml) which is 
+included in both user.xml and reference.xml documents.
+</para>
+
+<para>How do you write the link to custom.xml in intro.xml
+so that it is interpreted correctly in all 3 documents?</para>
+<itemizedlist>
+<listitem><para>If you use xref, it will fail in user.xml.</para>
+</listitem>
+<listitem><para>If you use olink (pointing to reference.xml),
+the reference in user.xml  
+will point to the customization section of the reference manual, while it is 
+actually available in user.xml.</para>
+</listitem>
+</itemizedlist>
+
+<para>If you set the <parameter>prefer.internal.olink</parameter>
+parameter to a non-zero value, then the processor will
+first look in the olink database
+for the olink's <sgmltag>targetptr</sgmltag> attribute value
+in document matching the <parameter>current.docid</parameter>
+parameter value.  If it isn't found there, then
+it tries the document in the database
+with the <sgmltag>targetdoc</sgmltag>
+value that matches the olink's <sgmltag>targetdoc</sgmltag>
+attribute.
+</para>
+
+<para>This feature permits an olink reference to resolve to
+the current document if there is an element
+with an id matching the olink's <sgmltag>targetptr</sgmltag>
+value.  The current document's olink data must be
+included in the target database for this to work.</para>
+
+<caution>
+<para>There is a potential for incorrect links if
+the same <sgmltag>id</sgmltag> attribute value is used for different
+content in different documents.
+Some of your olinks may be redirected to the current document
+when they shouldn't be.  It is not possible to control
+individual olink instances.</para>
+</caution>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/preferred.mediaobject.role.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/preferred.mediaobject.role.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/preferred.mediaobject.role.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="preferred.mediaobject.role">
+<refmeta>
+<refentrytitle>preferred.mediaobject.role</refentrytitle>
+</refmeta>
+<refnamediv>
+<refname>preferred.mediaobject.role</refname>
+<refpurpose>Select which mediaobject to use based on
+this value of an object's <sgmltag class="attribute">role</sgmltag> attribute.
+</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='preferred.mediaobject.role.frag'>
+<xsl:param name="preferred.mediaobject.role"></xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>A mediaobject may contain several objects such as imageobjects.
+If the parameter <parameter>use.role.for.mediaobject</parameter>
+is non-zero, then the <sgmltag class="attribute">role</sgmltag> attribute on
+<sgmltag>imageobject</sgmltag>s and other objects within a <sgmltag>mediaobject</sgmltag> container will be used to select which object will be
+used.  If one of the objects has a role value that matches the
+preferred.mediaobject.role parameter, then it has first
+priority for selection.  If more than one has such a
+role value, the first one is used.
+</para>
+<para>
+See the <parameter>use.role.for.mediaobject</parameter> parameter
+for the sequence of selection.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/procedure.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/procedure.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/procedure.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,20 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="procedure.properties">
+<refnamediv>
+<refname>procedure.properties</refname>
+<refpurpose>Properties associated with a procedure</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='procedure.properties.frag'>
+<xsl:attribute-set name="procedure.properties" use-attribute-sets="formal.object.properties"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for procedures.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/process.empty.source.toc.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/process.empty.source.toc.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/process.empty.source.toc.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="process.empty.source.toc">
+<refmeta>
+<refentrytitle>process.empty.source.toc</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>process.empty.source.toc</refname>
+<refpurpose>Generate automated TOC if <sgmltag>toc</sgmltag> element occurs in a source document?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='process.empty.source.toc.frag'><xsl:param name="process.empty.source.toc" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies that if an empty <sgmltag>toc</sgmltag> element is
+found in a source document, an automated TOC is generated.
+<note>
+  <para>Depending on what the value of the
+  <parameter>generate.toc</parameter> parameter is, setting this
+  parameter to <literal>1</literal> could result in generation of
+  duplicate automated TOCs. So the
+  <parameter>process.empty.source.toc</parameter> is primarily useful
+  as an "override": by placing an empty <sgmltag>toc</sgmltag> in your
+  document and setting this parameter to <literal>1</literal>, you can
+  force a TOC to be generated even if <sgmltag>generate.toc</sgmltag>
+  says not to.</para>
+</note>
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/process.source.toc.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/process.source.toc.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/process.source.toc.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,36 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="process.source.toc">
+<refmeta>
+<refentrytitle>process.source.toc</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>process.source.toc</refname>
+<refpurpose>Process a non-empty <sgmltag>toc</sgmltag> element if it occurs in a source document?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='process.source.toc.frag'><xsl:param name="process.source.toc" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies that the contents of a non-empty "hard-coded"
+<sgmltag>toc</sgmltag> element in a source document are processed to
+generate a TOC in output.
+<note>
+  <para>This parameter has no effect on automated generation of
+  TOCs. An automated TOC may still be generated along with the
+  "hard-coded" TOC. To suppress automated TOC generation, adjust the
+  value of the <parameter>generate.toc</parameter> paramameter.</para>
+
+  <para>The <sgmltag>process.source.toc</sgmltag> parameter also has
+  no effect if the <sgmltag>toc</sgmltag> element is empty; handling
+  for empty <sgmltag>toc</sgmltag> is controlled by the
+  <parameter>process.empty.source.toc</parameter> parameter.</para>
+</note>
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.arch.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.arch.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.arch.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.arch">
+<refmeta>
+<refentrytitle>profile.arch</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.arch</refname>
+<refpurpose>Target profile for <sgmltag class="attribute">arch</sgmltag>
+attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.arch.frag'>
+<xsl:param name="profile.arch" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Value of this parameter specifies profiles which should be
+included in the output. You can specify multiple profiles by
+separating them by semicolon. You can change separator character by
+<parameter>profile.separator</parameter>
+parameter.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.attribute.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.attribute.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.attribute.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.attribute">
+<refmeta>
+<refentrytitle>profile.attribute</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.attribute</refname>
+<refpurpose>Name of user-specified profiling attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.attribute.frag'>
+<xsl:param name="profile.attribute" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter is used in conjuction with
+<parameter>profile.value</parameter>.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.condition.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.condition.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.condition.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.condition">
+<refmeta>
+<refentrytitle>profile.condition</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.condition</refname>
+<refpurpose>Target profile for <sgmltag class="attribute">condition</sgmltag>
+attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.condition.frag'>
+<xsl:param name="profile.condition" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Value of this parameter specifies profiles which should be
+included in the output. You can specify multiple profiles by
+separating them by semicolon. You can change separator character by
+<parameter>profile.separator</parameter>
+parameter.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.conformance.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.conformance.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.conformance.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.conformance">
+<refmeta>
+<refentrytitle>profile.conformance</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.conformance</refname>
+<refpurpose>Target profile for <sgmltag class="attribute">conformance</sgmltag>
+attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.conformance.frag'>
+<xsl:param name="profile.conformance" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Value of this parameter specifies profiles which should be
+included in the output. You can specify multiple profiles by
+separating them by semicolon. You can change separator character by
+<parameter>profile.separator</parameter>
+parameter.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.lang.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.lang.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.lang.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.lang">
+<refmeta>
+<refentrytitle>profile.lang</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.lang</refname>
+<refpurpose>Target profile for <sgmltag class="attribute">lang</sgmltag>
+attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.lang.frag'>
+<xsl:param name="profile.lang" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Value of this parameter specifies profiles which should be
+included in the output. You can specify multiple profiles by
+separating them by semicolon. You can change separator character by
+<parameter>profile.separator</parameter>
+parameter.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.os.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.os.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.os.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.os">
+<refmeta>
+<refentrytitle>profile.os</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.os</refname>
+<refpurpose>Target profile for <sgmltag class="attribute">os</sgmltag>
+attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.os.frag'>
+<xsl:param name="profile.os" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Value of this parameter specifies profiles which should be
+included in the output. You can specify multiple profiles by
+separating them by semicolon. You can change separator character by
+<parameter>profile.separator</parameter>
+parameter.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.revision.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.revision.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.revision.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.revision">
+<refmeta>
+<refentrytitle>profile.revision</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.revision</refname>
+<refpurpose>Target profile for <sgmltag class="attribute">revision</sgmltag>
+attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.revision.frag'>
+<xsl:param name="profile.revision" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Value of this parameter specifies profiles which should be
+included in the output. You can specify multiple profiles by
+separating them by semicolon. You can change separator character by
+<parameter>profile.separator</parameter>
+parameter.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.revisionflag.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.revisionflag.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.revisionflag.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.revisionflag">
+<refmeta>
+<refentrytitle>profile.revisionflag</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.revisionflag</refname>
+<refpurpose>Target profile for <sgmltag class="attribute">revisionflag</sgmltag>
+attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.revisionflag.frag'>
+<xsl:param name="profile.revisionflag" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Value of this parameter specifies profiles which should be
+included in the output. You can specify multiple profiles by
+separating them by semicolon. You can change separator character by
+<parameter>profile.separator</parameter>
+parameter.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.role.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.role.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.role.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,56 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.role">
+<refmeta>
+<refentrytitle>profile.role</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.role</refname>
+<refpurpose>Target profile for <sgmltag class="attribute">role</sgmltag>
+attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.role.frag'>
+<xsl:param name="profile.role" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Value of this parameter specifies profiles which should be
+included in the output. You can specify multiple profiles by
+separating them by semicolon. You can change separator character by
+<parameter>profile.separator</parameter>
+parameter.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+<warning>
+<para>Note that <sgmltag class="attribute">role</sgmltag> is often
+used for other purposes than profiling. For example it is commonly
+used to get emphasize in bold font:</para>
+
+<programlisting><![CDATA[<emphasis role="bold">very important</emphasis>]]></programlisting>
+
+<para>If you are using <sgmltag class="attribute">role</sgmltag> for
+these purposes do not forget to add values like <literal>bold</literal> to
+value of this parameter. If you forgot you will get document with
+small pieces missing which are very hard to track.</para>
+
+<para>For this reason it is not recommended to use <sgmltag
+class="attribute">role</sgmltag> attribute for profiling. You should
+rather use profiling specific attributes like <sgmltag
+class="attribute">userlevel</sgmltag>, <sgmltag
+class="attribute">os</sgmltag>, <sgmltag
+class="attribute">arch</sgmltag>, <sgmltag
+class="attribute">condition</sgmltag>, etc.</para>
+</warning>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.security.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.security.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.security.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.security">
+<refmeta>
+<refentrytitle>profile.security</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.security</refname>
+<refpurpose>Target profile for <sgmltag class="attribute">security</sgmltag>
+attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.security.frag'>
+<xsl:param name="profile.security" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Value of this parameter specifies profiles which should be
+included in the output. You can specify multiple profiles by
+separating them by semicolon. You can change separator character by
+<parameter>profile.separator</parameter>
+parameter.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.separator">
+<refmeta>
+<refentrytitle>profile.separator</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.separator</refname>
+<refpurpose>Separator character for compound profile values</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.separator.frag'>
+<xsl:param name="profile.separator" select="';'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Separator character for compound profile values.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.status.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.status.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.status.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.status">
+<refmeta>
+<refentrytitle>profile.status</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.status</refname>
+<refpurpose>Target profile for <sgmltag class="attribute">status</sgmltag>
+attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.status.frag'>
+<xsl:param name="profile.status" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Value of this parameter specifies profiles which should be
+included in the output. You can specify multiple profiles by
+separating them by semicolon. You can change separator character by
+<parameter>profile.separator</parameter>
+parameter.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.userlevel.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.userlevel.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.userlevel.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.userlevel">
+<refmeta>
+<refentrytitle>profile.userlevel</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.userlevel</refname>
+<refpurpose>Target profile for <sgmltag class="attribute">userlevel</sgmltag>
+attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.userlevel.frag'>
+<xsl:param name="profile.userlevel" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Value of this parameter specifies profiles which should be
+included in the output. You can specify multiple profiles by
+separating them by semicolon. You can change separator character by
+<parameter>profile.separator</parameter>
+parameter.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.value.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.value.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.value.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,38 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.value">
+<refmeta>
+<refentrytitle>profile.value</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.value</refname>
+<refpurpose>Target profile for user-specified attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.value.frag'>
+<xsl:param name="profile.value" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>When you are using this parameter you must also specify name of
+profiling attribute with parameter
+<parameter>profile.attribute</parameter>.</para>
+
+<para>Value of this parameter specifies profiles which should be
+included in the output. You can specify multiple profiles by
+separating them by semicolon. You can change separator character by
+<parameter>profile.separator</parameter>
+parameter.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/profile.vendor.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/profile.vendor.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/profile.vendor.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="profile.vendor">
+<refmeta>
+<refentrytitle>profile.vendor</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>profile.vendor</refname>
+<refpurpose>Target profile for <sgmltag class="attribute">vendor</sgmltag>
+attribute</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='profile.vendor.frag'>
+<xsl:param name="profile.vendor" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Value of this parameter specifies profiles which should be
+included in the output. You can specify multiple profiles by
+separating them by semicolon. You can change separator character by
+<parameter>profile.separator</parameter>
+parameter.</para>
+
+<para>This parameter has effect only when you are using profiling
+stylesheets (<filename>profile-docbook.xsl</filename>,
+<filename>profile-chunk.xsl</filename>, &#x2026;) instead of normal
+ones (<filename>docbook.xsl</filename>,
+<filename>chunk.xsl</filename>, &#x2026;).</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/punct.honorific.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/punct.honorific.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/punct.honorific.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="punct.honorific">
+<refmeta>
+<refentrytitle>punct.honorific</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>punct.honorific</refname>
+<refpurpose>Punctuation after an honorific in a personal name.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='punct.honorific.frag'>
+<xsl:param name="punct.honorific" select="'.'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter specifies the punctuation that should be added after an
+honorific in a personal name.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/qanda.defaultlabel.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/qanda.defaultlabel.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/qanda.defaultlabel.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="qanda.defaultlabel">
+<refmeta>
+<refentrytitle>qanda.defaultlabel</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>qanda.defaultlabel</refname>
+<refpurpose>Sets the default for defaultlabel on QandASet.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='qanda.defaultlabel.frag'><xsl:param name="qanda.defaultlabel">number</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If no defaultlabel attribute is specified on a QandASet, this
+value is used. It must be one of the legal values for the defaultlabel
+attribute.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/qanda.in.toc.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/qanda.in.toc.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/qanda.in.toc.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="qanda.in.toc">
+<refmeta>
+<refentrytitle>qanda.in.toc</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>qanda.in.toc</refname>
+<refpurpose>Should qandaentry questions appear in 
+the document table of contents?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='qanda.in.toc.frag'><xsl:param name="qanda.in.toc" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), then the generated table of contents
+for a document will include <sgmltag>qandaset</sgmltag> titles, 
+<sgmltag>qandadiv</sgmltag> titles,
+and <sgmltag>question</sgmltag> elements.  The default value (zero) excludes
+them from the TOC.
+</para>
+<para>This parameter does not affect any tables of contents
+that may be generated inside a qandaset or qandadiv.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/qanda.inherit.numeration.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/qanda.inherit.numeration.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/qanda.inherit.numeration.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="qanda.inherit.numeration">
+<refmeta>
+<refentrytitle>qanda.inherit.numeration</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>qanda.inherit.numeration</refname>
+<refpurpose>Does enumeration of QandASet components inherit the numeration of parent elements?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='qanda.inherit.numeration.frag'><xsl:param name="qanda.inherit.numeration" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), numbered QandADiv elements and Questions and Answers inherit
+the numeration of the ancestors of the QandASet.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/qanda.nested.in.toc.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/qanda.nested.in.toc.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/qanda.nested.in.toc.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="qanda.nested.in.toc">
+<refmeta>
+<refentrytitle>qanda.nested.in.toc</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>qanda.nested.in.toc</refname>
+<refpurpose>Should nested answer/qandaentry instances appear in TOC?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='qanda.nested.in.toc.frag'><xsl:param name="qanda.nested.in.toc" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), instances of <sgmltag>qandaentry</sgmltag>
+that are children of <sgmltag>answer</sgmltag> elements are shown in
+the TOC.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/qanda.title.level1.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/qanda.title.level1.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/qanda.title.level1.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="qanda.title.level1.properties">
+<refmeta>
+<refentrytitle>qanda.title.level1.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>qanda.title.level1.properties</refname>
+<refpurpose>Properties for level-1 qanda set titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='qanda.title.level1.properties.frag'>
+<xsl:attribute-set name="qanda.title.level1.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 2.0736"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties of level-1 qanda set titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/qanda.title.level2.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/qanda.title.level2.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/qanda.title.level2.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="qanda.title.level2.properties">
+<refmeta>
+<refentrytitle>qanda.title.level2.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>qanda.title.level2.properties</refname>
+<refpurpose>Properties for level-2 qanda set titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='qanda.title.level2.properties.frag'>
+<xsl:attribute-set name="qanda.title.level2.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.728"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties of level-2 qanda set titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/qanda.title.level3.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/qanda.title.level3.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/qanda.title.level3.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="qanda.title.level3.properties">
+<refmeta>
+<refentrytitle>qanda.title.level3.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>qanda.title.level3.properties</refname>
+<refpurpose>Properties for level-3 qanda set titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='qanda.title.level3.properties.frag'>
+<xsl:attribute-set name="qanda.title.level3.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.44"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties of level-3 qanda set titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/qanda.title.level4.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/qanda.title.level4.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/qanda.title.level4.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="qanda.title.level4.properties">
+<refmeta>
+<refentrytitle>qanda.title.level4.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>qanda.title.level4.properties</refname>
+<refpurpose>Properties for level-4 qanda set titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='qanda.title.level4.properties.frag'>
+<xsl:attribute-set name="qanda.title.level4.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.2"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties of level-4 qanda set titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/qanda.title.level5.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/qanda.title.level5.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/qanda.title.level5.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="qanda.title.level5.properties">
+<refmeta>
+<refentrytitle>qanda.title.level5.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>qanda.title.level5.properties</refname>
+<refpurpose>Properties for level-5 qanda set titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='qanda.title.level5.properties.frag'>
+<xsl:attribute-set name="qanda.title.level5.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties of level-5 qanda set titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/qanda.title.level6.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/qanda.title.level6.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/qanda.title.level6.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="qanda.title.level6.properties">
+<refmeta>
+<refentrytitle>qanda.title.level6.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>qanda.title.level6.properties</refname>
+<refpurpose>Properties for level-6 qanda set titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='qanda.title.level6.properties.frag'>
+<xsl:attribute-set name="qanda.title.level6.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties of level-6 qanda set titles.
+This property set is actually
+used for all titles below level 5.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/qanda.title.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/qanda.title.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/qanda.title.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="qanda.title.properties">
+<refmeta>
+<refentrytitle>qanda.title.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>qanda.title.properties</refname>
+<refpurpose>Properties for qanda set titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='qanda.title.properties.frag'>
+<xsl:attribute-set name="qanda.title.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$title.font.family"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <!-- font size is calculated dynamically by qanda.heading template -->
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties common to all qanda set titles.</para>
+
+</refsect1>
+</refentry>
+

Added: trunk/docs/docbook/src/main/resources/params/qandadiv.autolabel.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/qandadiv.autolabel.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/qandadiv.autolabel.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="qandadiv.autolabel">
+<refmeta>
+<refentrytitle>qandadiv.autolabel</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>qandadiv.autolabel</refname>
+<refpurpose>Are divisions in QAndASets enumerated?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='qandadiv.autolabel.frag'><xsl:param name="qandadiv.autolabel" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), unlabeled qandadivs will be enumerated.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refclass.suppress.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refclass.suppress.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refclass.suppress.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refclass.suppress">
+<refmeta>
+<refentrytitle>refclass.suppress</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refclass.suppress</refname>
+<refpurpose>Suppress display of refclass contents?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refclass.suppress.frag'>
+<xsl:param name="refclass.suppress" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>refclass.suppress</parameter> is
+non-zero, then display of <sgmltag>refclass</sgmltag> contents is
+suppressed in output.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.date.profile.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.date.profile.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.date.profile.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,43 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.date.profile.enabled">
+<refmeta>
+<refentrytitle>refentry.date.profile.enabled</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.date.profile.enabled</refname>
+<refpurpose>Enable refentry "date" profiling?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.date.profile.enabled.frag'>
+<xsl:param name="refentry.date.profile.enabled">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of
+<parameter>refentry.date.profile.enabled</parameter> is non-zero, then
+during <tag>refentry</tag> metadata gathering, the info profile
+specified by the customizable
+<parameter>refentry.date.profile</parameter> parameter is used.</para>
+
+<para>If instead the value of
+<parameter>refentry.date.profile.enabled</parameter> is zero (the
+default), then "hard coded" logic within the DocBook XSL stylesheets
+is used for gathering <tag>refentry</tag> "date" data.</para>
+
+<para>If you find that the default <tag>refentry</tag>
+metadata-gathering behavior is causing incorrect "date" data to show
+up in your output, then consider setting a non-zero value for
+<parameter>refentry.date.profile.enabled</parameter> and adjusting the
+value of <parameter>refentry.date.profile</parameter> to cause correct
+data to be gathered. </para>
+
+<para>Note that the terms "source" and "date" have special meanings in
+this context. For details, see the documentation for the
+<parameter>refentry.date.profile</parameter> parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.date.profile.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.date.profile.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.date.profile.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.date.profile">
+<refmeta>
+<refentrytitle>refentry.date.profile</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.date.profile</refname>
+<refpurpose>Specifies profile for refentry "date" data</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.date.profile.frag'>
+<xsl:param name="refentry.date.profile">
+  (($info[//date])[last()]/date)[1]|
+  (($info[//pubdate])[last()]/pubdate)[1]
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The value of <parameter>refentry.date.profile</parameter> is a
+string representing an XPath expression. It is evaluated at run-time
+and used only if <parameter>refentry.date.profile.enabled</parameter>
+is non-zero. Otherwise, the <tag>refentry</tag> metadata-gathering
+logic "hard coded" into the stylesheets is used.</para>
+
+<para> The <literal>man(7)</literal> man page describes this content
+as "the date of the last revision". In man pages, it is the content
+that is usually displayed in the center footer.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.generate.name.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.generate.name.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.generate.name.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.generate.name">
+<refmeta>
+<refentrytitle>refentry.generate.name</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.generate.name</refname>
+<refpurpose>Output NAME header before 'RefName'(s)?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.generate.name.frag'><xsl:param name="refentry.generate.name" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), a "NAME" section title is output before the list
+of 'RefName's. This parameter and
+<parameter>refentry.generate.title</parameter> are mutually
+exclusive. This means that if you change this parameter to zero, you
+should set <parameter>refentry.generate.title</parameter> to 1 unless
+you want get quite strange output.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.generate.title.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.generate.title.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.generate.title.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.generate.title">
+<refmeta>
+<refentrytitle>refentry.generate.title</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.generate.title</refname>
+<refpurpose>Output title before 'RefName'(s)?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.generate.title.frag'>
+<xsl:param name="refentry.generate.title" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), the reference page title or first name is
+output before the list of 'RefName's. This parameter and
+<parameter>refentry.generate.name</parameter> are mutually exclusive.
+This means that if you change this parameter to 1, you
+should set <parameter>refentry.generate.name</parameter> to 0 unless
+you want get quite strange output.</para>
+
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.manual.fallback.profile.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.manual.fallback.profile.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.manual.fallback.profile.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,45 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.manual.fallback.profile">
+<refmeta>
+<refentrytitle>refentry.manual.fallback.profile</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.manual.fallback.profile</refname>
+<refpurpose>Specifies profile of "fallback" for refentry "manual" data</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.manual.fallback.profile.frag'>
+<xsl:param name="refentry.manual.fallback.profile">
+refmeta/refmiscinfo[1]/node()</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The value of
+<parameter>refentry.manual.fallback.profile</parameter> is a string
+representing an XPath expression. It is evaluated at run-time and
+used only if no "manual" data can be found by other means (that is,
+either using the <tag>refentry</tag> metadata-gathering logic "hard
+coded" in the stylesheets, or the value of
+<parameter>refentry.manual.profile</parameter>, if it is
+enabled).</para>
+
+<important>
+<para>Depending on which XSLT engine you run, either the EXSLT
+<function>dyn:evaluate</function> extension function (for xsltproc or
+Xalan) or <function>saxon:evaluate</function> extension function (for
+Saxon) are used to dynamically evaluate the value of
+<parameter>refentry.manual.fallback.profile</parameter> at
+run-time. If you don't use xsltproc, Saxon, Xalan -- or some other
+XSLT engine that supports <function>dyn:evaluate</function> -- you
+must manually disable fallback processing by setting an empty value
+for the <parameter>refentry.manual.fallback.profile</parameter>
+parameter.</para>
+</important>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.manual.profile.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.manual.profile.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.manual.profile.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,44 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.manual.profile.enabled">
+<refmeta>
+<refentrytitle>refentry.manual.profile.enabled</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.manual.profile.enabled</refname>
+<refpurpose>Enable refentry "manual" profiling?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.manual.profile.enabled.frag'>
+<xsl:param name="refentry.manual.profile.enabled">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of
+<parameter>refentry.manual.profile.enabled</parameter> is
+non-zero, then during <tag>refentry</tag> metadata gathering, the info
+profile specified by the customizable
+<parameter>refentry.manual.profile</parameter> parameter is
+used.</para>
+
+<para>If instead the value of
+<parameter>refentry.manual.profile.enabled</parameter> is zero (the
+default), then "hard coded" logic within the DocBook XSL stylesheets
+is used for gathering <tag>refentry</tag> "manual" data.</para>
+
+<para>If you find that the default <tag>refentry</tag>
+metadata-gathering behavior is causing incorrect "manual" data to show
+up in your output, then consider setting a non-zero value for
+<parameter>refentry.manual.profile.enabled</parameter> and adjusting
+the value of <parameter>refentry.manual.profile</parameter> to cause
+correct data to be gathered. </para>
+
+<para>Note that the term "manual" has a special meanings in this
+context. For details, see the documentation for the
+<parameter>refentry.manual.profile</parameter> parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.manual.profile.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.manual.profile.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.manual.profile.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,69 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.manual.profile">
+<refmeta>
+<refentrytitle>refentry.manual.profile</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.manual.profile</refname>
+<refpurpose>Specifies profile for refentry "manual" data</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.manual.profile.frag'>
+<xsl:param name="refentry.manual.profile">
+  (($info[//title])[last()]/title)[1]|
+  ../title/node()
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The value of <parameter>refentry.manual.profile</parameter> is
+a string representing an XPath expression. It is evaluated at
+run-time and used only if
+<parameter>refentry.manual.profile.enabled</parameter> is
+non-zero. Otherwise, the <tag>refentry</tag> metadata-gathering logic
+"hard coded" into the stylesheets is used.</para>
+
+<para>In man pages, this content is usually displayed in the middle of
+the header of the page. The <literal>man(7)</literal> man page
+describes this as "the title of the manual (e.g., <citetitle>Linux
+Programmer's Manual</citetitle>)". Here are some examples from
+existing man pages:
+<itemizedlist>
+  <listitem>
+    <para><citetitle>dpkg utilities</citetitle>
+    (<command>dpkg-name</command>)</para>
+  </listitem>
+  <listitem>
+    <para><citetitle>User Contributed Perl Documentation</citetitle>
+    (<command>GET</command>)</para>
+  </listitem>
+  <listitem>
+    <para><citetitle>GNU Development Tools</citetitle>
+    (<command>ld</command>)</para>
+  </listitem>
+  <listitem>
+    <para><citetitle>Emperor Norton Utilities</citetitle>
+    (<command>ddate</command>)</para>
+  </listitem>
+  <listitem>
+    <para><citetitle>Debian GNU/Linux manual</citetitle>
+    (<command>faked</command>)</para>
+  </listitem>
+  <listitem>
+    <para><citetitle>GIMP Manual Pages</citetitle>
+    (<command>gimp</command>)</para>
+  </listitem>
+  <listitem>
+    <para><citetitle>KDOC Documentation System</citetitle>
+    (<command>qt2kdoc</command>)</para>
+  </listitem>
+</itemizedlist>
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.meta.get.quietly.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.meta.get.quietly.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.meta.get.quietly.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,34 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.meta.get.quietly">
+<refmeta>
+<refentrytitle>refentry.meta.get.quietly</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>refentry.meta.get.quietly</refname>
+<refpurpose>Suppress notes and warnings when gathering refentry metadata?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.meta.get.quietly.frag'>
+<xsl:param name="refentry.meta.get.quietly" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If zero (the default), notes and warnings about “missing” markup
+are generated during gathering of refentry metadata. If non-zero, the
+metadata is gathered “quietly” -- that is, the notes and warnings are
+suppressed.</para>
+
+<tip>
+  <para>If you are processing a large amount of <tag>refentry</tag>
+  content, you may be able to speed up processing significantly by
+  setting a non-zero value for
+  <parameter>refentry.meta.get.quietly</parameter>.</para>
+</tip>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.pagebreak.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.pagebreak.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.pagebreak.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.pagebreak">
+<refmeta>
+<refentrytitle>refentry.pagebreak</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.pagebreak</refname>
+<refpurpose>Start each refentry on a new page</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.pagebreak.frag'><xsl:param name="refentry.pagebreak" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero (the default), each <sgmltag>refentry</sgmltag>
+element will start on a new page.  If zero, a page
+break will not be generated between <sgmltag>refentry</sgmltag> elements.
+The exception is when the <sgmltag>refentry</sgmltag> elements are children of
+a <sgmltag>part</sgmltag> element, in which case the page breaks are always
+retained.  That is because a <sgmltag>part</sgmltag> element does not generate
+a page-sequence for its children, so each <sgmltag>refentry</sgmltag> must
+start its own page-sequence.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.separator">
+<refmeta>
+<refentrytitle>refentry.separator</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.separator</refname>
+<refpurpose>Generate a separator between consecutive RefEntry elements?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.separator.frag'><xsl:param name="refentry.separator" select="'1'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true, a separator will be generated between consecutive
+reference pages.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.source.fallback.profile.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.source.fallback.profile.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.source.fallback.profile.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,46 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.source.fallback.profile">
+<refmeta>
+<refentrytitle>refentry.source.fallback.profile</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.source.fallback.profile</refname>
+<refpurpose>Specifies profile of "fallback" for refentry "source" data</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.source.fallback.profile.frag'>
+<xsl:param name="refentry.source.fallback.profile">
+refmeta/refmiscinfo[1]/node()</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The value of
+<parameter>refentry.source.fallback.profile</parameter> is a string
+representing an XPath expression. It is evaluated at run-time and used
+only if no "source" data can be found by other means (that is, either
+using the <tag>refentry</tag> metadata-gathering logic "hard coded" in
+the stylesheets, or the value of the
+<parameter>refentry.source.name.profile</parameter> and
+<parameter>refentry.version.profile</parameter> parameters, if those
+are enabled).</para>
+
+<important>
+<para>Depending on which XSLT engine you run, either the EXSLT
+<function>dyn:evaluate</function> extension function (for xsltproc or
+Xalan) or <function>saxon:evaluate</function> extension function (for
+Saxon) are used to dynamically evaluate the value of
+<parameter>refentry.source.fallback.profile</parameter> at
+run-time. If you don't use xsltproc, Saxon, Xalan -- or some other
+XSLT engine that supports <function>dyn:evaluate</function> -- you
+must manually disable fallback processing by setting an empty value
+for the <parameter>refentry.source.fallback.profile</parameter>
+parameter.</para>
+</important>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.source.name.profile.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.source.name.profile.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.source.name.profile.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,45 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.source.name.profile.enabled">
+<refmeta>
+<refentrytitle>refentry.source.name.profile.enabled</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.source.name.profile.enabled</refname>
+<refpurpose>Enable refentry "source name" profiling?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.source.name.profile.enabled.frag'>
+<xsl:param name="refentry.source.name.profile.enabled">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of
+<parameter>refentry.source.name.profile.enabled</parameter> is
+non-zero, then during <tag>refentry</tag> metadata gathering, the info
+profile specified by the customizable
+<parameter>refentry.source.name.profile</parameter> parameter is
+used.</para>
+
+<para>If instead the value of
+<parameter>refentry.source.name.profile.enabled</parameter> is zero (the
+default), then "hard coded" logic within the DocBook XSL stylesheets
+is used for gathering <tag>refentry</tag> "source name" data.</para>
+
+<para>If you find that the default <tag>refentry</tag>
+metadata-gathering behavior is causing incorrect "source name" data to
+show up in your output, then consider setting a non-zero value for
+<parameter>refentry.source.name.profile.enabled</parameter> and
+adjusting the value of
+<parameter>refentry.source.name.profile</parameter> to cause correct
+data to be gathered. </para>
+
+<para>Note that the terms "source" and "source name" have special
+meanings in this context. For details, see the documentation for the
+<parameter>refentry.source.name.profile</parameter> parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.source.name.profile.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.source.name.profile.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.source.name.profile.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,86 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.source.name.profile">
+<refmeta>
+<refentrytitle>refentry.source.name.profile</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.source.name.profile</refname>
+<refpurpose>Specifies profile for refentry "source name" data</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.source.name.profile.frag'>
+<xsl:param name="refentry.source.name.profile">
+  (($info[//productname])[last()]/productname)[1]|
+  (($info[//corpname])[last()]/corpname)[1]|
+  (($info[//corpcredit])[last()]/corpcredit)[1]|
+  (($info[//corpauthor])[last()]/corpauthor)[1]|
+  (($info[//orgname])[last()]/orgname)[1]|
+  (($info[//publishername])[last()]/publishername)[1]
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The value of <parameter>refentry.source.name.profile</parameter>
+is a string representing an XPath expression. It is evaluated at
+run-time and used only if
+<parameter>refentry.source.name.profile.enabled</parameter> is
+non-zero. Otherwise, the <tag>refentry</tag> metadata-gathering logic
+"hard coded" into the stylesheets is used.</para>
+
+<para>A "source name" is one part of a (potentially) two-part
+<replaceable>Name</replaceable>&#160;<replaceable>Version</replaceable>
+"source" field. In man pages, it is usually displayed in the left
+footer of the page. It typically indicates the software system or
+product that the item documented in the man page belongs to. The
+<literal>man(7)</literal> man page describes it as "the source of
+the command", and provides the following examples:
+<itemizedlist>
+  <listitem>
+    <para>For binaries, use something like: GNU, NET-2, SLS
+    Distribution, MCC Distribution.</para>
+  </listitem>
+  <listitem>
+    <para>For system calls, use the version of the kernel that you
+    are currently looking at: Linux 0.99.11.</para>
+  </listitem>
+  <listitem>
+    <para>For library calls, use the source of the function: GNU, BSD
+    4.3, Linux DLL 4.4.1.</para>
+  </listitem>
+</itemizedlist>
+</para>
+
+<para>In practice, there are many pages that simply have a Version
+number in the "source" field. So, it looks like what we have is a
+two-part field,
+<replaceable>Name</replaceable>&#160;<replaceable>Version</replaceable>,
+where:
+<variablelist>
+  <varlistentry>
+    <term>Name</term>
+    <listitem>
+      <para>product name (e.g., BSD) or org. name (e.g., GNU)</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>Version</term>
+    <listitem>
+      <para>version number</para>
+    </listitem>
+  </varlistentry>
+</variablelist>
+Each part is optional. If the <replaceable>Name</replaceable> is a
+product name, then the <replaceable>Version</replaceable> is probably
+the version of the product. Or there may be no
+<replaceable>Name</replaceable>, in which case, if there is a
+<replaceable>Version</replaceable>, it is probably the version
+of the item itself, not the product it is part of. Or, if the
+<replaceable>Name</replaceable> is an organization name, then there
+probably will be no <replaceable>Version</replaceable>.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.source.name.suppress.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.source.name.suppress.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.source.name.suppress.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,39 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.source.name.suppress">
+<refmeta>
+<refentrytitle>refentry.source.name.suppress</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.source.name.suppress</refname>
+<refpurpose>Suppress "name" part of refentry "source" contents?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.source.name.suppress.frag'>
+<xsl:param name="refentry.source.name.suppress">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of
+<parameter>refentry.source.name.suppress</parameter> is non-zero, then
+during <tag>refentry</tag> metadata gathering, no "source name" data
+is added to the <tag>refentry</tag> "source" contents. Instead (unless
+<parameter>refentry.version.suppress</parameter> is also non-zero),
+only "version" data is added to the "source" contents.</para>
+
+<para>If you find that the <tag>refentry</tag> metadata gathering
+mechanism is causing unwanted "source name" data to show up in your
+output -- for example, in the footer (or possibly header) of a man
+page -- then you might consider setting a non-zero value for
+<parameter>refentry.source.name.suppress</parameter>.</para>
+
+<para>Note that the terms "source", "source name", and "version" have
+special meanings in this context. For details, see the documentation
+for the <parameter>refentry.source.name.profile</parameter>
+parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.title.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.title.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.title.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,58 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.title.properties">
+<refmeta>
+<refentrytitle>refentry.title.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.title.properties</refname>
+<refpurpose>Title properties for a refentry title</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.title.properties.frag'>
+<xsl:attribute-set name="refentry.title.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$title.font.family"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-size">18pt</xsl:attribute>
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="space-after">1em</xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.4em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">0.6em</xsl:attribute>
+  <xsl:attribute name="start-indent"><xsl:value-of 
+                 select="$title.margin.left"/></xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Formatting properties applied to the title generated for the
+<sgmltag>refnamediv</sgmltag> part of output for
+<sgmltag>refentry</sgmltag> when the value of the
+<parameter>refentry.generate.title</parameter> parameter is
+non-zero. The font size is supplied by the appropriate <parameter
+>section.level<replaceable>X</replaceable>.title.properties</parameter>
+attribute-set, computed from the location of the
+<sgmltag>refentry</sgmltag> in the section hierarchy.</para>
+
+<note>
+  <para>This parameter has no effect on the the title generated for
+  the <sgmltag>refnamediv</sgmltag> part of output for
+  <sgmltag>refentry</sgmltag> when the value of the
+  <parameter>refentry.generate.name</parameter> parameter is
+  non-zero. By default, that title is formatted with the same
+  properties as the titles for all other first-level children of
+  <sgmltag>refentry</sgmltag>.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.version.profile.enabled.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.version.profile.enabled.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.version.profile.enabled.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,44 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.version.profile.enabled">
+<refmeta>
+<refentrytitle>refentry.version.profile.enabled</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.version.profile.enabled</refname>
+<refpurpose>Enable refentry "version" profiling?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.version.profile.enabled.frag'>
+<xsl:param name="refentry.version.profile.enabled">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of
+<parameter>refentry.version.profile.enabled</parameter> is
+non-zero, then during <tag>refentry</tag> metadata gathering, the info
+profile specified by the customizable
+<parameter>refentry.version.profile</parameter> parameter is
+used.</para>
+
+<para>If instead the value of
+<parameter>refentry.version.profile.enabled</parameter> is zero (the
+default), then "hard coded" logic within the DocBook XSL stylesheets
+is used for gathering <tag>refentry</tag> "version" data.</para>
+
+<para>If you find that the default <tag>refentry</tag>
+metadata-gathering behavior is causing incorrect "version" data to show
+up in your output, then consider setting a non-zero value for
+<parameter>refentry.version.profile.enabled</parameter> and adjusting
+the value of <parameter>refentry.version.profile</parameter> to cause
+correct data to be gathered. </para>
+
+<para>Note that the terms "source" and "version" have special
+meanings in this context. For details, see the documentation for the
+<parameter>refentry.version.profile</parameter> parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.version.profile.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.version.profile.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.version.profile.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,38 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.version.profile">
+<refmeta>
+<refentrytitle>refentry.version.profile</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.version.profile</refname>
+<refpurpose>Specifies profile for refentry "version" data</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.version.profile.frag'>
+<xsl:param name="refentry.version.profile">
+  (($info[//productnumber])[last()]/productnumber)[1]|
+  (($info[//edition])[last()]/edition)[1]|
+  (($info[//releaseinfo])[last()]/releaseinfo)[1]
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The value of <parameter>refentry.version.profile</parameter> is
+a string representing an XPath expression. It is evaluated at
+run-time and used only if
+<parameter>refentry.version.profile.enabled</parameter> is
+non-zero. Otherwise, the <tag>refentry</tag> metadata-gathering logic
+"hard coded" into the stylesheets is used.</para>
+
+<para>A "source.name" is one part of a (potentially) two-part
+<replaceable>Name</replaceable>&#160;<replaceable>Version</replaceable>
+"source" field. For more details, see the documentation for the
+<parameter>refentry.source.name.profile</parameter> parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.version.suppress.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.version.suppress.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.version.suppress.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,40 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.version.suppress">
+<refmeta>
+<refentrytitle>refentry.version.suppress</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.version.suppress</refname>
+<refpurpose>Suppress "version" part of refentry "source" contents?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.version.suppress.frag'>
+<xsl:param name="refentry.version.suppress">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the value of <parameter>refentry.version.suppress</parameter>
+is non-zero, then during <tag>refentry</tag> metadata gathering, no
+"version" data is added to the <tag>refentry</tag> "source"
+contents. Instead (unless
+<parameter>refentry.source.name.suppress</parameter> is also
+non-zero), only "source name" data is added to the "source"
+contents.</para>
+
+<para>If you find that the <tag>refentry</tag> metadata gathering
+mechanism is causing unwanted "version" data to show up in your output
+-- for example, in the footer (or possibly header) of a man page --
+then you might consider setting a non-zero value for
+<parameter>refentry.version.suppress</parameter>.</para>
+
+<para>Note that the terms "source", "source name", and "version" have
+special meanings in this context. For details, see the documentation
+for the <parameter>refentry.source.name.profile</parameter>
+parameter.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/refentry.xref.manvolnum.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/refentry.xref.manvolnum.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/refentry.xref.manvolnum.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="refentry.xref.manvolnum">
+<refmeta>
+<refentrytitle>refentry.xref.manvolnum</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>refentry.xref.manvolnum</refname>
+<refpurpose>Output <sgmltag>manvolnum</sgmltag> as part of 
+<sgmltag>refentry</sgmltag> cross-reference?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='refentry.xref.manvolnum.frag'><xsl:param name="refentry.xref.manvolnum" select="1"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>if true (non-zero), the <sgmltag>manvolnum</sgmltag> is used when cross-referencing
+<sgmltag>refentry</sgmltag>s, either with <sgmltag>xref</sgmltag>
+or <sgmltag>citerefentry</sgmltag>.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/reference.autolabel.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/reference.autolabel.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/reference.autolabel.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,63 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="reference.autolabel">
+<refmeta>
+<refentrytitle>reference.autolabel</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>reference.autolabel</refname>
+<refpurpose>Specifies the labeling format for Reference titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='reference.autolabel.frag'><xsl:param name="reference.autolabel" select="'I'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If zero, then references will not be numbered.
+Otherwise references will be numbered, using the parameter value
+as the number format if the value matches one of the following:
+</para>
+
+<variablelist>
+  <varlistentry>
+    <term>1 or arabic</term>
+    <listitem>
+      <para>Arabic numeration (1, 2, 3 ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>A or upperalpha</term>
+    <listitem>
+      <para>Uppercase letter numeration (A, B, C ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>a or loweralpha</term>
+    <listitem>
+      <para>Lowercase letter numeration (a, b, c ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>I or upperroman</term>
+    <listitem>
+      <para>Uppercase roman numeration (I, II, III ...).</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
+    <term>i or lowerroman</term>
+    <listitem>
+      <para>Lowercase roman letter numeration (i, ii, iii ...).</para>
+    </listitem>
+  </varlistentry>
+</variablelist>
+
+<para>Any nonzero value other than the above will generate
+the default number format (upperroman).
+</para>
+
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/region.after.extent.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/region.after.extent.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/region.after.extent.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="region.after.extent">
+<refmeta>
+<refentrytitle>region.after.extent</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>region.after.extent</refname>
+<refpurpose>Specifies the height of the footer.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='region.after.extent.frag'>
+<xsl:param name="region.after.extent" select="'0.4in'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The region after extent is the height of the area where footers
+are printed.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/region.before.extent.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/region.before.extent.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/region.before.extent.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="region.before.extent">
+<refmeta>
+<refentrytitle>region.before.extent</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>region.before.extent</refname>
+<refpurpose>Specifies the height of the header</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='region.before.extent.frag'>
+<xsl:param name="region.before.extent" select="'0.4in'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The region before extent is the height of the area where headers
+are printed.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/revhistory.table.cell.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/revhistory.table.cell.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/revhistory.table.cell.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="revhistory.table.cell.properties">
+<refmeta>
+<refentrytitle>revhistory.table.cell.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>revhistory.table.cell.properties</refname>
+<refpurpose>The properties of table cells used for formatting revhistory</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='revhistory.table.cell.properties.frag'>
+<xsl:attribute-set name="revhistory.table.cell.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This property set defines appearance of individual cells in revhistory table.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/revhistory.table.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/revhistory.table.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/revhistory.table.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="revhistory.table.properties">
+<refmeta>
+<refentrytitle>revhistory.table.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>revhistory.table.properties</refname>
+<refpurpose>The properties of table used for formatting revhistory</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='revhistory.table.properties.frag'>
+<xsl:attribute-set name="revhistory.table.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This property set defines appearance of revhistory table.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/revhistory.title.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/revhistory.title.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/revhistory.title.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="revhistory.title.properties">
+<refmeta>
+<refentrytitle>revhistory.title.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>revhistory.title.properties</refname>
+<refpurpose>The properties of revhistory title</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='revhistory.title.properties.frag'>
+<xsl:attribute-set name="revhistory.title.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This property set defines appearance of revhistory title.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/root.filename.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/root.filename.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/root.filename.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="root.filename">
+<refmeta>
+<refentrytitle>root.filename</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>root.filename</refname>
+<refpurpose>Identifies the name of the root HTML file when chunking</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='root.filename.frag'><xsl:param name="root.filename" select="'index'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>root.filename</parameter> is the base filename for
+the chunk created for the root of each document processed.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/root.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/root.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/root.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,40 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="root.properties">
+<refmeta>
+<refentrytitle>root.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>root.properties</refname>
+<refpurpose>The properties of the fo:root element</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='root.properties.frag'>
+<xsl:attribute-set name="root.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$body.fontset"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.size"/>
+  </xsl:attribute>
+  <xsl:attribute name="text-align">
+    <xsl:value-of select="$alignment"/>
+  </xsl:attribute>
+  <xsl:attribute name="line-height">
+    <xsl:value-of select="$line-height"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute>
+  <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This property set is used on the <sgmltag>fo:root</sgmltag> element of
+an FO file. It defines a set of default, global parameters.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/rootid.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/rootid.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/rootid.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="rootid">
+<refmeta>
+<refentrytitle>rootid</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>rootid</refname>
+<refpurpose>Specify the root element to format</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='rootid.frag'><xsl:param name="rootid" select="''"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>rootid</parameter> is specified, it must be the
+value of an ID that occurs in the document being formatted. The entire
+document will be loaded and parsed, but formatting will begin at the
+element identified, rather than at the root. For example, this allows
+you to process only chapter 4 of a book.</para>
+<para>Because the entire document is available to the processor, automatic
+numbering, cross references, and other dependencies are correctly
+resolved.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/runinhead.default.title.end.punct.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/runinhead.default.title.end.punct.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/runinhead.default.title.end.punct.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="runinhead.default.title.end.punct">
+<refmeta>
+<refentrytitle>runinhead.default.title.end.punct</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>runinhead.default.title.end.punct</refname>
+<refpurpose>Default punctuation character on a run-in-head</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='runinhead.default.title.end.punct.frag'><xsl:param name="runinhead.default.title.end.punct" select="'.'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/runinhead.title.end.punct.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/runinhead.title.end.punct.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/runinhead.title.end.punct.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="runinhead.title.end.punct">
+<refmeta>
+<refentrytitle>runinhead.title.end.punct</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>runinhead.title.end.punct</refname>
+<refpurpose>Characters that count as punctuation on a run-in-head</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='runinhead.title.end.punct.frag'><xsl:param name="runinhead.title.end.punct" select="'.!?:'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/sans.font.family.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/sans.font.family.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/sans.font.family.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="sans.font.family">
+<refmeta>
+<refentrytitle>sans.font.family</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>sans.font.family</refname>
+<refpurpose>The default sans-serif font family</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='sans.font.family.frag'>
+<xsl:param name="sans.font.family" select="'sans-serif'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The default sans-serif font family. At the present, this isn't
+actually used by the stylesheets.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/saxon.callouts.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/saxon.callouts.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/saxon.callouts.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="saxon.callouts">
+<refmeta>
+<refentrytitle>saxon.callouts</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>saxon.callouts</refname>
+<refpurpose>Enable the callout extension</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='saxon.callouts.frag'><xsl:param name="saxon.callouts" select="'1'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The callouts extension processes <sgmltag>areaset</sgmltag>
+elements in <sgmltag>ProgramListingCO</sgmltag> and other text-based
+callout elements.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/saxon.character.representation.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/saxon.character.representation.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/saxon.character.representation.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="saxon.character.representation">
+<refmeta>
+<refentrytitle>saxon.character.representation</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>saxon.character.representation</refname>
+<refpurpose>Saxon character representation used in generated HTML pages</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>&lt;xsl:param name="saxon.character.representation" select="'entity;decimal'"/>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This character representation is used in files generated by chunking stylesheet. If
+you want to suppress entity references for characters with direct representation 
+in default.encoding, set this parameter to value <literal>native</literal>. 
+</para>
+
+<note>
+<para>This parameter is documented here, but the declaration is actually
+in the <filename>chunker.xsl</filename> stylesheet module.</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/saxon.linenumbering.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/saxon.linenumbering.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/saxon.linenumbering.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="saxon.linenumbering">
+<refmeta>
+<refentrytitle>saxon.linenumbering</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>saxon.linenumbering</refname>
+<refpurpose>Enable the line numbering extension</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='saxon.linenumbering.frag'><xsl:param name="saxon.linenumbering" select="'1'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true, verbatim environments (elements that have the
+format='linespecific' notation attribute: address, literallayout,
+programlisting, screen, synopsis) that specify line numbering will
+have, surprise, line numbers.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/saxon.tablecolumns.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/saxon.tablecolumns.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/saxon.tablecolumns.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="saxon.tablecolumns">
+<refmeta>
+<refentrytitle>saxon.tablecolumns</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>saxon.tablecolumns</refname>
+<refpurpose>Enable the table columns extension function</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='saxon.tablecolumns.frag'><xsl:param name="saxon.tablecolumns" select="'1'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The table columns extension function adjusts the widths of table
+columns in the HTML result to more accurately reflect the specifications
+in the CALS table.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.autolabel.max.depth.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.autolabel.max.depth.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.autolabel.max.depth.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.autolabel.max.depth">
+<refmeta>
+<refentrytitle>section.autolabel.max.depth</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.autolabel.max.depth</refname>
+<refpurpose>The deepest level of sections that are numbered.</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.autolabel.max.depth.frag'><xsl:param name="section.autolabel.max.depth" select="8"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>When section numbering is turned on by the
+<literal>section.autolabel</literal> parameter,
+then this parameter controls the depth of section nesting
+that is numbered.
+Sections nested to a level deeper than this value will
+not be numbered.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.autolabel.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.autolabel.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.autolabel.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.autolabel">
+<refmeta>
+<refentrytitle>section.autolabel</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.autolabel</refname>
+<refpurpose>Are sections enumerated?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.autolabel.frag'><xsl:param name="section.autolabel" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), unlabeled sections will be enumerated.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.label.includes.component.label.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.label.includes.component.label.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.label.includes.component.label.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.label.includes.component.label">
+<refmeta>
+<refentrytitle>section.label.includes.component.label</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.label.includes.component.label</refname>
+<refpurpose>Do section labels include the component label?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.label.includes.component.label.frag'><xsl:param name="section.label.includes.component.label" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), section labels are prefixed with the label of the
+component that contains them.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.level1.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.level1.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.level1.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,41 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.level1.properties">
+<refmeta>
+<refentrytitle>section.level1.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.level1.properties</refname>
+<refpurpose>Properties for level-1 sections</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.level1.properties.frag'>
+<xsl:attribute-set name="section.level1.properties" 
+                   use-attribute-sets="section.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties that apply to the containing
+block of a level-1 section, and therefore apply to
+the whole section.  This includes <sgmltag>sect1</sgmltag>
+elements and <sgmltag>section</sgmltag> elements at level 1.
+</para>
+
+<para>For example, you could start each level-1 section on
+a new page by using:</para>
+<programlisting>&lt;xsl:attribute-set name="section.level1.properties"&gt;
+  &lt;xsl:attribute name="break-before"&gt;page&lt;/xsl:attribute&gt;
+&lt;/xsl:attribute-set&gt;
+</programlisting>
+
+<para>This attribute set inherits attributes from the
+general <sgmltag>section.properties</sgmltag> attribute set.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.level2.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.level2.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.level2.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,41 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.level2.properties">
+<refmeta>
+<refentrytitle>section.level2.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.level2.properties</refname>
+<refpurpose>Properties for level-2 sections</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.level2.properties.frag'>
+<xsl:attribute-set name="section.level2.properties"
+                   use-attribute-sets="section.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties that apply to the containing
+block of a level-2 section, and therefore apply to
+the whole section.  This includes <sgmltag>sect2</sgmltag>
+elements and <sgmltag>section</sgmltag> elements at level 2.
+</para>
+
+<para>For example, you could start each level-2 section on
+a new page by using:</para>
+<programlisting>&lt;xsl:attribute-set name="section.level2.properties"&gt;
+  &lt;xsl:attribute name="break-before"&gt;page&lt;/xsl:attribute&gt;
+&lt;/xsl:attribute-set&gt;
+</programlisting>
+
+<para>This attribute set inherits attributes from the
+general <sgmltag>section.properties</sgmltag> attribute set.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.level3.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.level3.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.level3.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,41 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.level3.properties">
+<refmeta>
+<refentrytitle>section.level3.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.level3.properties</refname>
+<refpurpose>Properties for level-3 sections</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.level3.properties.frag'>
+<xsl:attribute-set name="section.level3.properties"
+                   use-attribute-sets="section.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties that apply to the containing
+block of a level-3 section, and therefore apply to
+the whole section.  This includes <sgmltag>sect3</sgmltag>
+elements and <sgmltag>section</sgmltag> elements at level 3.
+</para>
+
+<para>For example, you could start each level-3 section on
+a new page by using:</para>
+<programlisting>&lt;xsl:attribute-set name="section.level3.properties"&gt;
+  &lt;xsl:attribute name="break-before"&gt;page&lt;/xsl:attribute&gt;
+&lt;/xsl:attribute-set&gt;
+</programlisting>
+
+<para>This attribute set inherits attributes from the
+general <sgmltag>section.properties</sgmltag> attribute set.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.level4.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.level4.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.level4.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,41 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.level4.properties">
+<refmeta>
+<refentrytitle>section.level4.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.level4.properties</refname>
+<refpurpose>Properties for level-4 sections</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.level4.properties.frag'>
+<xsl:attribute-set name="section.level4.properties"
+                   use-attribute-sets="section.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties that apply to the containing
+block of a level-4 section, and therefore apply to
+the whole section.  This includes <sgmltag>sect4</sgmltag>
+elements and <sgmltag>section</sgmltag> elements at level 4.
+</para>
+
+<para>For example, you could start each level-4 section on
+a new page by using:</para>
+<programlisting>&lt;xsl:attribute-set name="section.level4.properties"&gt;
+  &lt;xsl:attribute name="break-before"&gt;page&lt;/xsl:attribute&gt;
+&lt;/xsl:attribute-set&gt;
+</programlisting>
+
+<para>This attribute set inherits attributes from the
+general <sgmltag>section.properties</sgmltag> attribute set.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.level5.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.level5.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.level5.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,41 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.level5.properties">
+<refmeta>
+<refentrytitle>section.level5.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.level5.properties</refname>
+<refpurpose>Properties for level-5 sections</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.level5.properties.frag'>
+<xsl:attribute-set name="section.level5.properties"
+                   use-attribute-sets="section.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties that apply to the containing
+block of a level-5 section, and therefore apply to
+the whole section.  This includes <sgmltag>sect5</sgmltag>
+elements and <sgmltag>section</sgmltag> elements at level 5.
+</para>
+
+<para>For example, you could start each level-5 section on
+a new page by using:</para>
+<programlisting>&lt;xsl:attribute-set name="section.level5.properties"&gt;
+  &lt;xsl:attribute name="break-before"&gt;page&lt;/xsl:attribute&gt;
+&lt;/xsl:attribute-set&gt;
+</programlisting>
+
+<para>This attribute set inherits attributes from the
+general <sgmltag>section.properties</sgmltag> attribute set.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.level6.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.level6.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.level6.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,41 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.level6.properties">
+<refmeta>
+<refentrytitle>section.level6.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.level6.properties</refname>
+<refpurpose>Properties for level-6 sections</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.level6.properties.frag'>
+<xsl:attribute-set name="section.level6.properties"
+                   use-attribute-sets="section.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties that apply to the containing
+block of a level 6 or lower section, and therefore apply to
+the whole section.  This includes 
+<sgmltag>section</sgmltag> elements at level 6 and lower.
+</para>
+
+<para>For example, you could start each level-6 section on
+a new page by using:</para>
+<programlisting>&lt;xsl:attribute-set name="section.level6.properties"&gt;
+  &lt;xsl:attribute name="break-before"&gt;page&lt;/xsl:attribute&gt;
+&lt;/xsl:attribute-set&gt;
+</programlisting>
+
+<para>This attribute set inherits attributes from the
+general <sgmltag>section.properties</sgmltag> attribute set.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.properties">
+<refmeta>
+<refentrytitle>section.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.properties</refname>
+<refpurpose>Properties for all section levels</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.properties.frag'>
+<xsl:attribute-set name="section.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties that apply to the containing
+block of all section levels, and therefore apply to
+the whole section.  
+This attribute set is inherited by the
+more specific attribute sets such as
+<sgmltag>section.level1.properties</sgmltag>.
+The default is empty.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.title.level1.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.title.level1.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.title.level1.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.title.level1.properties">
+<refmeta>
+<refentrytitle>section.title.level1.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.title.level1.properties</refname>
+<refpurpose>Properties for level-1 section titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.title.level1.properties.frag'>
+<xsl:attribute-set name="section.title.level1.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 2.0736"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties of level-1 section titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.title.level2.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.title.level2.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.title.level2.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.title.level2.properties">
+<refmeta>
+<refentrytitle>section.title.level2.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.title.level2.properties</refname>
+<refpurpose>Properties for level-1 section titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.title.level2.properties.frag'>
+<xsl:attribute-set name="section.title.level2.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.728"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties of level-2 section titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.title.level3.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.title.level3.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.title.level3.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.title.level3.properties">
+<refmeta>
+<refentrytitle>section.title.level3.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.title.level3.properties</refname>
+<refpurpose>Properties for level-1 section titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.title.level3.properties.frag'>
+<xsl:attribute-set name="section.title.level3.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.44"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties of level-3 section titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.title.level4.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.title.level4.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.title.level4.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.title.level4.properties">
+<refmeta>
+<refentrytitle>section.title.level4.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.title.level4.properties</refname>
+<refpurpose>Properties for level-1 section titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.title.level4.properties.frag'>
+<xsl:attribute-set name="section.title.level4.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.2"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties of level-4 section titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.title.level5.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.title.level5.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.title.level5.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.title.level5.properties">
+<refmeta>
+<refentrytitle>section.title.level5.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.title.level5.properties</refname>
+<refpurpose>Properties for level-1 section titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.title.level5.properties.frag'>
+<xsl:attribute-set name="section.title.level5.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties of level-5 section titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.title.level6.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.title.level6.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.title.level6.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.title.level6.properties">
+<refmeta>
+<refentrytitle>section.title.level6.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.title.level6.properties</refname>
+<refpurpose>Properties for level-1 section titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.title.level6.properties.frag'>
+<xsl:attribute-set name="section.title.level6.properties">
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties of level-6 section titles. This property set is actually
+used for all titles below level 5.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/section.title.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/section.title.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/section.title.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,37 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="section.title.properties">
+<refmeta>
+<refentrytitle>section.title.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>section.title.properties</refname>
+<refpurpose>Properties for section titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='section.title.properties.frag'>
+<xsl:attribute-set name="section.title.properties">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$title.font.family"/>
+  </xsl:attribute>
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <!-- font size is calculated dynamically by section.heading template -->
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1.0em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="text-align">left</xsl:attribute>
+  <xsl:attribute name="start-indent"><xsl:value-of 
+                 select="$title.margin.left"/></xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The properties common to all section titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/segmentedlist.as.table.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/segmentedlist.as.table.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/segmentedlist.as.table.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="segmentedlist.as.table">
+<refmeta>
+<refentrytitle>segmentedlist.as.table</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>segmentedlist.as.table</refname>
+<refpurpose>Format segmented lists as tables?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='segmentedlist.as.table.frag'>
+<xsl:param name="segmentedlist.as.table" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, <sgmltag>segmentedlist</sgmltag>s will be formatted as
+tables.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/shade.verbatim.style.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/shade.verbatim.style.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/shade.verbatim.style.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="shade.verbatim.style">
+<refmeta>
+<refentrytitle>shade.verbatim.style</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>shade.verbatim.style</refname>
+<refpurpose>Properties that specify the style of shaded verbatim listings</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='shade.verbatim.style.frag'>
+<xsl:attribute-set condition="html" name="shade.verbatim.style">
+  <xsl:attribute name="border">0</xsl:attribute>
+  <xsl:attribute name="bgcolor">#E0E0E0</xsl:attribute>
+</xsl:attribute-set>
+<xsl:attribute-set condition="fo" name="shade.verbatim.style">
+  <xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/shade.verbatim.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/shade.verbatim.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/shade.verbatim.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="shade.verbatim">
+<refmeta>
+<refentrytitle>shade.verbatim</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>shade.verbatim</refname>
+<refpurpose>Should verbatim environments be shaded?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='shade.verbatim.frag'><xsl:param name="shade.verbatim" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>In the FO stylesheet, if this parameter is non-zero then the
+<property>shade.verbatim.style</property> properties will be applied
+to verbatim environments.</para>
+
+<para>In the HTML stylesheet, this parameter is now deprecated. Use
+CSS instead.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/show.comments.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/show.comments.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/show.comments.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="show.comments">
+<refmeta>
+<refentrytitle>show.comments</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>show.comments</refname>
+<refpurpose>Display <sgmltag>comment</sgmltag> elements?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='show.comments.frag'><xsl:param name="show.comments">1</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), comments will be displayed, otherwise they are suppressed.
+Comments here refers to the <sgmltag>comment</sgmltag> element,
+which will be renamed <sgmltag>remark</sgmltag> in DocBook V4.0,
+not XML comments (&lt;-- like this --&gt;) which are unavailable.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/show.revisionflag.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/show.revisionflag.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/show.revisionflag.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,37 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="show.revisionflag">
+<refmeta>
+<refentrytitle>show.revisionflag</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>show.revisionflag</refname>
+<refpurpose>Enable decoration of elements that have a revisionflag</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='show.revisionflag.frag'><xsl:param name="show.revisionflag">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>
+If <literal>show.revisionflag</literal> is turned on, then the stylesheets
+may produce additional markup designed to allow a CSS stylesheet to
+highlight elements that have specific revisionflag settings.</para>
+
+<para>The markup inserted will be usually be either a &lt;span&gt; or &lt;div&gt;
+with an appropriate <literal>class</literal> attribute. (The value of
+the class attribute will be the same as the value of the revisionflag
+attribute). In some contexts, for example tables, where extra markup
+would be structurally illegal, the class attribute will be added to the
+appropriate container element.</para>
+
+<para>In general, the stylesheets only test for revisionflag in contexts
+where an importing stylesheet would have to redefine whole templates.
+Most of the revisionflag processing is expected to be done by another
+stylesheet, for example <filename>changebars.xsl</filename>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/side.float.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/side.float.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/side.float.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,47 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="side.float.properties">
+<refmeta>
+<refentrytitle>side.float.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>side.float.properties</refname>
+<refpurpose>Attribute set for side float container properties</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='side.float.properties.frag'>
+<xsl:attribute-set name="side.float.properties">
+  <xsl:attribute name="width">2in</xsl:attribute>
+  <xsl:attribute name="padding-left">4pt</xsl:attribute>
+  <xsl:attribute name="padding-right">4pt</xsl:attribute>
+  <xsl:attribute name="padding-top">2pt</xsl:attribute>
+  <xsl:attribute name="padding-bottom">2pt</xsl:attribute>
+  <xsl:attribute name="margin-left">0pt</xsl:attribute>
+  <xsl:attribute name="margin-right">0pt</xsl:attribute>
+  <xsl:attribute name="text-align">left</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Properties that are applied to the
+<sgmltag class="element">fo:block-container</sgmltag> inside of
+a side float that is generated by the template named
+<literal>floater</literal>.
+That template generates a side float
+when the <parameter>side.float.type</parameter> is set to one
+of the values for a side float.</para>
+
+<para>If you do only <literal>left</literal> or 
+<literal>start</literal> side floats, you may want to set the
+<literal>padding-left</literal> attribute to zero.
+If you do only <literal>right</literal> or 
+<literal>end</literal> side floats, you may want to set the
+<literal>padding-right</literal> attribute to zero.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/sidebar.float.type.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/sidebar.float.type.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/sidebar.float.type.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,62 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="sidebar.float.type">
+<refmeta>
+<refentrytitle>sidebar.float.type</refentrytitle>
+<refmiscinfo role="type">list</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>sidebar.float.type</refname>
+<refpurpose>Select type of float for sidebar elements</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='sidebar.float.type.frag'>
+<xsl:param name="sidebar.float.type" select="'none'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Selects the type of float for sidebar elements.
+</para>
+<itemizedlist>
+<listitem>
+<para>If <parameter>sidebar.float.type</parameter> is
+<quote><literal>none</literal></quote>, then 
+no float is used.
+</para>
+</listitem>
+<listitem>
+<para>If <parameter>sidebar.float.type</parameter> is
+<quote><literal>before</literal></quote>, then 
+the float appears at the top of the page.  On some processors,
+that may be the next page rather than the current page.
+</para>
+</listitem>
+<listitem>
+<para>If <parameter>sidebar.float.type</parameter> is
+<quote><literal>left</literal></quote> or
+<quote><literal>start</literal></quote>, then 
+a left side float is used.
+</para>
+</listitem>
+<listitem>
+<para>If <parameter>sidebar.float.type</parameter> is
+<quote><literal>right</literal></quote> or
+<quote><literal>end</literal></quote>, then 
+a right side float is used.
+</para>
+</listitem>
+<listitem>
+<para>If your XSL-FO processor supports floats positioned on the
+<quote><literal>inside</literal></quote> or
+<quote><literal>outside</literal></quote>
+of double-sided pages, then you have those two 
+options for side floats as well.
+</para>
+</listitem>
+</itemizedlist>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/sidebar.float.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/sidebar.float.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/sidebar.float.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="sidebar.float.width">
+<refmeta>
+<refentrytitle>sidebar.float.width</refentrytitle>
+</refmeta>
+<refnamediv>
+<refname>sidebar.float.width</refname>
+<refpurpose>Set the default width for sidebars</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='sidebar.float.width.frag'>
+<xsl:param name="sidebar.float.width" select="'1in'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Sets the default width for sidebars when used as a side float.
+The width determines the degree to which the sidebar block intrudes into
+the text area.
+</para>
+<para>If <parameter>sidebar.float.type</parameter> is
+<quote><literal>before</literal></quote> or 
+<quote><literal>none</literal></quote>, then 
+this parameter is ignored.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/sidebar.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/sidebar.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/sidebar.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,40 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="sidebar.properties">
+<refmeta>
+<refentrytitle>sidebar.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>sidebar.properties</refname>
+<refpurpose>Attribute set for sidebar properties</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='sidebar.properties.frag'>
+<xsl:attribute-set name="sidebar.properties"
+                   use-attribute-sets="formal.object.properties">
+  <xsl:attribute name="border-style">solid</xsl:attribute>
+  <xsl:attribute name="border-width">1pt</xsl:attribute>
+  <xsl:attribute name="border-color">black</xsl:attribute>
+  <xsl:attribute name="background-color">#DDDDDD</xsl:attribute>
+  <xsl:attribute name="padding-left">12pt</xsl:attribute>
+  <xsl:attribute name="padding-right">12pt</xsl:attribute>
+  <xsl:attribute name="padding-top">6pt</xsl:attribute>
+  <xsl:attribute name="padding-bottom">6pt</xsl:attribute>
+  <xsl:attribute name="margin-left">0pt</xsl:attribute>
+  <xsl:attribute name="margin-right">0pt</xsl:attribute>
+<!--
+  <xsl:attribute name="margin-top">6pt</xsl:attribute>
+  <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
+-->
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for sidebars.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/sidebar.title.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/sidebar.title.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/sidebar.title.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="sidebar.title.Properties">
+<refmeta>
+<refentrytitle>sidebar.title.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>sidebar.title.properties</refname>
+<refpurpose>Attribute set for sidebar titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='sidebar.title.properties.frag'>
+<xsl:attribute-set name="sidebar.title.properties">
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="text-align">start</xsl:attribute>
+  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for sidebars titles.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/simplesect.in.toc.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/simplesect.in.toc.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/simplesect.in.toc.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="simplesect.in.toc">
+<refmeta>
+<refentrytitle>simplesect.in.toc</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>simplesect.in.toc</refname>
+<refpurpose>Should <sgmltag>simplesect</sgmltag> elements appear in the TOC?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='simplesect.in.toc.frag'><xsl:param name="simplesect.in.toc" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, <sgmltag>simplesect</sgmltag>s appear in the TOC.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/spacing.paras.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/spacing.paras.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/spacing.paras.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="spacing.paras">
+<refmeta>
+<refentrytitle>spacing.paras</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>spacing.paras</refname>
+<refpurpose>Insert additional &lt;p&gt; elements for spacing?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='spacing.paras.frag'><xsl:param name="spacing.paras" select="'0'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>When non-zero, additional, empty paragraphs are inserted in
+several contexts (for example, around informal figures), to create a
+more pleasing visual appearance in many browsers.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/subscript.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/subscript.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/subscript.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="subscript.properties">
+<refmeta>
+<refentrytitle>subscript.properties</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>subscript.properties</refname>
+<refpurpose>Properties associated with subscripts</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='subscript.properties.frag'>
+<xsl:attribute-set name="subscript.properties">
+  <xsl:attribute name="font-size">75%</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies styling properties for subscripts.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/superscript.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/superscript.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/superscript.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="superscript.properties">
+<refmeta>
+<refentrytitle>superscript.properties</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>superscript.properties</refname>
+<refpurpose>Properties associated with superscripts</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='superscript.properties.frag'>
+<xsl:attribute-set name="superscript.properties">
+  <xsl:attribute name="font-size">75%</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies styling properties for superscripts.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/suppress.footer.navigation.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/suppress.footer.navigation.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/suppress.footer.navigation.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="suppress.footer.navigation">
+<refmeta>
+<refentrytitle>suppress.footer.navigation</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>suppress.footer.navigation</refname>
+<refpurpose>Disable footer navigation</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='suppress.footer.navigation.frag'><xsl:param name="suppress.footer.navigation">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>
+If <literal>suppress.footer.navigation</literal> is turned on, footer
+navigation will be suppressed.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/suppress.header.navigation.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/suppress.header.navigation.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/suppress.header.navigation.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="suppress.header.navigation">
+<refmeta>
+<refentrytitle>suppress.header.navigation</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>suppress.header.navigation</refname>
+<refpurpose>Disable header navigation</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='suppress.header.navigation.frag'><xsl:param name="suppress.header.navigation">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>
+If <literal>suppress.header.navigation</literal> is turned on, header
+navigation will be suppressed.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/suppress.navigation.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/suppress.navigation.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/suppress.navigation.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="suppress.navigation">
+<refmeta>
+<refentrytitle>suppress.navigation</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>suppress.navigation</refname>
+<refpurpose>Disable header and footer navigation</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='suppress.navigation.frag'><xsl:param name="suppress.navigation">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>
+If <literal>suppress.navigation</literal> is turned on, header and
+footer navigation will be suppressed.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/symbol.font.family.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/symbol.font.family.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/symbol.font.family.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,38 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="symbol.font.family">
+<refmeta>
+<refentrytitle>symbol.font.family</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>symbol.font.family</refname>
+<refpurpose>The font families to be searched for symbols outside
+    of the body font</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='symbol.font.family.frag'>
+<xsl:param name="symbol.font.family" select="'Symbol,ZapfDingbats'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>A typical body or title font does not contain all
+the character glyphs that DocBook supports.  This parameter
+specifies additional fonts that should be searched for
+special characters not in the normal font.
+These symbol font names are automatically appended
+to the body or title font family name when fonts
+are specified in a 
+<sgmltag class="attribute">font-family</sgmltag>
+property in the FO output.
+</para>
+<para>The symbol font names should be entered as a
+comma-separated list.  The default value is
+<literal>Symbol,ZapfDingbats</literal>.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.borders.with.css.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.borders.with.css.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.borders.with.css.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.borders.with.css">
+<refmeta>
+<refentrytitle>table.borders.with.css</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>table.borders.with.css</refname>
+<refpurpose>Use CSS to specify table, row, and cell borders?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.borders.with.css.frag'>
+<xsl:param name="table.borders.with.css" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If true (non-zero), CSS will be used to draw table borders.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.cell.border.color.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.cell.border.color.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.cell.border.color.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.cell.border.color">
+<refmeta>
+<refentrytitle>table.cell.border.color</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>table.cell.border.color</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.cell.border.color.frag'>
+<xsl:param condition="html" name="table.cell.border.color" select="''"/>
+<xsl:param condition="fo" name="table.cell.border.color" select="'black'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.cell.border.style.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.cell.border.style.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.cell.border.style.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.cell.border.style">
+<refmeta>
+<refentrytitle>table.cell.border.style</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>table.cell.border.style</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.cell.border.style.frag'>
+<xsl:param name="table.cell.border.style" select="'solid'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.cell.border.thickness.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.cell.border.thickness.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.cell.border.thickness.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.cell.border.thickness">
+<refmeta>
+<refentrytitle>table.cell.border.thickness</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>table.cell.border.thickness</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.cell.border.thickness.frag'>
+<xsl:param name="table.cell.border.thickness" select="'0.5pt'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.cell.padding.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.cell.padding.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.cell.padding.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.cell.padding">
+<refmeta>
+<refentrytitle>table.cell.padding</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>table.cell.padding</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.cell.padding.frag'>
+<xsl:attribute-set name="table.cell.padding">
+  <xsl:attribute name="padding-left">2pt</xsl:attribute>
+  <xsl:attribute name="padding-right">2pt</xsl:attribute>
+  <xsl:attribute name="padding-top">2pt</xsl:attribute>
+  <xsl:attribute name="padding-bottom">2pt</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.entry.padding.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.entry.padding.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.entry.padding.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.entry.padding">
+<refmeta>
+<refentrytitle>table.entry.padding</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>table.entry.padding</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.entry.padding.frag'>
+<xsl:param name="table.entry.padding" select="'2pt'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.footnote.number.format.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.footnote.number.format.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.footnote.number.format.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.footnote.number.format">
+<refmeta>
+<refentrytitle>table.footnote.number.format</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>table.footnote.number.format</refname>
+<refpurpose>Identifies the format used for footnote numbers in tables</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.footnote.number.format.frag'>
+<xsl:param name="table.footnote.number.format" select="'a'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>table.footnote.number.format</parameter> specifies the format
+to use for footnote numeration (1, i, I, a, or A) in tables.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.footnote.number.symbols.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.footnote.number.symbols.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.footnote.number.symbols.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,36 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.footnote.number.symbols">
+<refmeta>
+<refentrytitle>table.footnote.number.symbols</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>table.footnote.number.symbols</refname>
+<refpurpose>Special characters to use a footnote markers in tables</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.footnote.number.symbols.frag'>
+<xsl:param name="table.footnote.number.symbols" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>table.footnote.number.symbols</parameter> is not the empty string,
+table footnotes will use the characters it contains as footnote symbols. For example,
+<quote>*&amp;#x2020;&amp;#x2021;&amp;#x25CA;&amp;#x2720;</quote> will identify
+footnotes with <quote>*</quote>, <quote>&#x2020;</quote>, <quote>&#x2021;</quote>,
+<quote>&#x25CA;</quote>, and <quote>&#x2720;</quote>. If there are more footnotes
+than symbols, the stylesheets will fall back to numbered footnotes using
+<parameter>table.footnote.number.format</parameter>.</para>
+
+<para>The use of symbols for footnotes depends on the ability of your
+processor (or browser) to render the symbols you select. Not all systems are
+capable of displaying the full range of Unicode characters. If the quoted characters
+in the preceding paragraph are not displayed properly, that's a good indicator
+that you may have trouble using those symbols for footnotes.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.footnote.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.footnote.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.footnote.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.footnote.properties">
+<refnamediv>
+<refname>table.footnote.properties</refname>
+<refpurpose>Properties applied to each table footnote body
+</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.footnote.properties.frag'>
+<xsl:attribute-set name="table.footnote.properties">
+  <xsl:attribute name="font-family"><xsl:value-of 
+                             select="$body.fontset"/></xsl:attribute>
+  <xsl:attribute name="font-size"><xsl:value-of 
+                             select="$footnote.font.size"/></xsl:attribute>
+  <xsl:attribute name="font-weight">normal</xsl:attribute>
+  <xsl:attribute name="font-style">normal</xsl:attribute>
+  <xsl:attribute name="space-before">2pt</xsl:attribute>
+  <xsl:attribute name="text-align"><xsl:value-of
+                             select="$alignment"/></xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This attribute set is applied to the footnote-block 
+for each table footnote.
+It can be used to set the
+font-size, font-family, and other inheritable properties that will be
+applied to all table footnotes.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.frame.border.color.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.frame.border.color.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.frame.border.color.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.frame.border.color">
+<refmeta>
+<refentrytitle>table.frame.border.color</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>table.frame.border.color</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.frame.border.color.frag'>
+<xsl:param condition="html" name="table.frame.border.color" select="''"/>
+<xsl:param condition="fo" name="table.frame.border.color" select="'black'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.frame.border.style.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.frame.border.style.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.frame.border.style.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.frame.border.style">
+<refmeta>
+<refentrytitle>table.frame.border.style</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>table.frame.border.style</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.frame.border.style.frag'>
+<xsl:param name="table.frame.border.style" select="'solid'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.frame.border.thickness.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.frame.border.thickness.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.frame.border.thickness.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.frame.border.thickness">
+<refmeta>
+<refentrytitle>table.frame.border.thickness</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>table.frame.border.thickness</refname>
+<refpurpose>Specifies the thickness of the frame border</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.frame.border.thickness.frag'>
+<xsl:param name="table.frame.border.thickness" select="'0.5pt'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the thickness of the border on the table's frame.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.properties">
+<refnamediv>
+<refname>table.properties</refname>
+<refpurpose>Properties associated with the block surrounding a table</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.properties.frag'>
+<xsl:attribute-set name="table.properties"
+		   use-attribute-sets="formal.object.properties"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Block styling properties for tables. This parameter should really
+have been called <literal>table.block.properties</literal> or something
+like that, but we’re leaving it to avoid backwards-compatibility
+problems.</para>
+
+<para>See also <parameter>table.table.properties</parameter>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/table.table.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/table.table.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/table.table.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="table.table.properties">
+<refnamediv>
+<refname>table.table.properties</refname>
+<refpurpose>Properties associated with a table</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='table.table.properties.frag'>
+<xsl:attribute-set name="table.table.properties">
+  <xsl:attribute name="border-before-width.conditionality">retain</xsl:attribute>
+  <xsl:attribute name="border-collapse">collapse</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The styling for tables. This parameter should really
+have been called <literal>table.properties</literal>, but that parameter
+name was inadvertantly established for the block-level properties
+of the table as a whole.
+</para>
+
+<para>See also <parameter>table.properties</parameter>.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/tablecolumns.extension.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/tablecolumns.extension.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/tablecolumns.extension.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="tablecolumns.extension">
+<refmeta>
+<refentrytitle>tablecolumns.extension</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>tablecolumns.extension</refname>
+<refpurpose>Enable the table columns extension function</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='tablecolumns.extension.frag'><xsl:param name="tablecolumns.extension" select="'1'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The table columns extension function adjusts the widths of table
+columns in the HTML result to more accurately reflect the specifications
+in the CALS table.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/target.database.document.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/target.database.document.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/target.database.document.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="target.database.document"> 
+<refmeta> 
+<refentrytitle>target.database.document</refentrytitle> 
+<refmiscinfo role="type">uri</refmiscinfo> 
+</refmeta> 
+<refnamediv> 
+<refname>target.database.document</refname> 
+<refpurpose>Name of master database file for resolving
+olinks</refpurpose> 
+</refnamediv> 
+<refsynopsisdiv> <src:fragment id="target.database.document.frag">
+<xsl:param name="target.database.document" select="''"/>
+</src:fragment> 
+</refsynopsisdiv> 
+<refsect1>
+<title>Description</title> 
+<para>
+To resolve olinks between documents, the stylesheets use
+a master database document that identifies the  target datafiles for all the documents within the scope
+of the olinks. This parameter value is the URI of 
+the master document to be read during processing to resolve olinks.
+The default value is <filename>olinkdb.xml</filename>.</para>
+<para>The data structure of the file is defined in the <filename>targetdatabase.dtd</filename> DTD.  The database file provides the high level elements to record the identifiers, locations, and relationships of documents. The cross reference data for individual documents is generally pulled into the database using system entity references or XIncludes. See also <parameter>targets.filename</parameter>.
+
+</para> 
+</refsect1> 
+</refentry> 

Added: trunk/docs/docbook/src/main/resources/params/targets.filename.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/targets.filename.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/targets.filename.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="targets.filename"> 
+<refmeta> 
+<refentrytitle>targets.filename</refentrytitle> 
+<refmiscinfo role="type">string</refmiscinfo> 
+</refmeta> 
+<refnamediv> 
+<refname>targets.filename</refname> 
+<refpurpose>Name of cross reference targets data file</refpurpose> 
+</refnamediv> 
+<refsynopsisdiv> <src:fragment id="targets.filename.frag">
+<xsl:param name="targets.filename" select="'target.db'"/>
+</src:fragment> 
+</refsynopsisdiv> 
+<refsect1>
+<title>Description</title> 
+<para>
+In order to resolve olinks efficiently, the stylesheets can
+generate an external data file containing information about
+all potential cross reference endpoints in a document.
+This parameter lets you change the name of the generated
+file from the default name <filename>target.db</filename>.
+The name must agree with that used in the target database
+used to resolve olinks during processing.
+See also <parameter>target.database.document</parameter>.
+</para> 
+</refsect1> 
+</refentry> 

Added: trunk/docs/docbook/src/main/resources/params/template.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/template.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/template.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="[[NAME]]">
+<refmeta>
+<refentrytitle>[[NAME]]</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>[[NAME]]</refname>
+<refpurpose></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='[[NAME]].frag'>
+<xsl:param name="[[NAME]]" select=""/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/tex.math.delims.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/tex.math.delims.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/tex.math.delims.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="tex.math.delims">
+<refmeta>
+<refentrytitle>tex.math.delims</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>tex.math.delims</refname>
+<refpurpose>Should be equations outputed for processing by TeX
+automatically surrounded by math mode delimiters</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='tex.math.delims.frag'>
+<xsl:param name="tex.math.delims" select="'1'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>For compatibility with DSSSL based DBTeXMath from Allin Cottrell
+you should set this parameter to 0.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/tex.math.file.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/tex.math.file.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/tex.math.file.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="tex.math.file">
+<refmeta>
+<refentrytitle>tex.math.file</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>tex.math.file</refname>
+<refpurpose>Name of temporary file for generating images from equations</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='tex.math.file.frag'>
+<xsl:param name="tex.math.file" select="'tex-math-equations.tex'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Name of auxiliary file for TeX equations. This file can be
+processed by dvi2bitmap to get bitmap versions of equations for HTML
+output.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/tex.math.in.alt.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/tex.math.in.alt.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/tex.math.in.alt.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,58 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="tex.math.in.alt">
+<refmeta>
+<refentrytitle>tex.math.in.alt</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>tex.math.in.alt</refname>
+<refpurpose>TeX notation used for equations</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='tex.math.in.alt.frag'>
+<xsl:param name="tex.math.in.alt" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If you want type math directly in TeX notation in equations,
+this parameter specifies notation used. Currently are supported two
+values -- <literal>plain</literal> and <literal>latex</literal>. Empty
+value means that you are not using TeX math at all.</para>
+
+<para>Preferred way for including TeX alternative of math is inside of
+<sgmltag>textobject</sgmltag> element. Eg.:</para>
+
+<programlisting><![CDATA[<inlineequation>
+<inlinemediaobject>
+<imageobject>
+<imagedata fileref="eq1.gif"/>
+</imageobject>
+<textobject><phrase>E=mc squared</phrase></textobject>
+<textobject role="tex"><phrase>E=mc^2</phrase></textobject>
+</inlinemediaobject>
+</inlineequation>]]></programlisting>
+
+<para>If you are using <sgmltag>graphic</sgmltag> element, you can
+store TeX inside <sgmltag>alt</sgmltag> element:</para>
+
+<programlisting><![CDATA[<inlineequation>
+<alt role="tex">a^2+b^2=c^2</alt>
+<graphic fileref="a2b2c2.gif"/>  
+</inlineequation>]]></programlisting>
+
+<para>If you want use this feature, you should process your FO with
+PassiveTeX, which only supports TeX math notation. When calling
+stylsheet, don't forget to specify also
+passivetex.extensions=1.</para>
+
+<para>If you want equations in HTML, just process generated file
+<filename>tex-math-equations.tex</filename> by TeX or LaTeX. Then run
+dvi2bitmap program on result DVI file. You will get images for
+equations in your document.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/textdata.default.encoding.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/textdata.default.encoding.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/textdata.default.encoding.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="textdata.default.encoding">
+<refmeta>
+<refentrytitle>textdata.default.encoding</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>textdata.default.encoding</refname>
+<refpurpose>Default encoding of external text files which are included
+using textdata element</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='textdata.default.encoding.frag'>
+<xsl:param name="textdata.default.encoding" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Default encoding of external text files which are included using
+textdata element. This value is used only when you do not specify
+encoding by appropriate attribute directly on textdata. Default
+encoding (empty string) is interpreted as system default
+encoding.</para>
+
+</refsect1>
+</refentry>
+

Added: trunk/docs/docbook/src/main/resources/params/textinsert.extension.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/textinsert.extension.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/textinsert.extension.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="textinsert.extension">
+<refmeta>
+<refentrytitle>textinsert.extension</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>textinsert.extension</refname>
+<refpurpose>Enable the textinsert extension element</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='textinsert.extension.frag'><xsl:param name="textinsert.extension" select="'1'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The textinsert extension element inserts the contents of a
+a file into the result tree (as text).
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/title.font.family.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/title.font.family.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/title.font.family.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="title.font.family">
+<refmeta>
+<refentrytitle>title.font.family</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>title.font.family</refname>
+<refpurpose>The default font family for titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='title.font.family.frag'>
+<xsl:param name="title.font.family" select="'sans-serif'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The title font family is used for titles (chapter, section, figure,
+etc.)
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/title.margin.left.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/title.margin.left.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/title.margin.left.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,61 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="title.margin.left">
+<refmeta>
+<refentrytitle>title.margin.left</refentrytitle>
+<refmiscinfo role="type"></refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>title.margin.left</refname>
+<refpurpose>Adjust the left margin for titles</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='title.margin.left.frag'>
+<xsl:param name="title.margin.left">
+  <xsl:choose>
+    <xsl:when test="$fop.extensions != 0">-4pc</xsl:when>
+    <xsl:when test="$passivetex.extensions != 0">0pt</xsl:when>
+    <xsl:otherwise>0pt</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This parameter provides
+one means of adjusting the left margin for titles.
+The left margin of the body region
+is calculated to include this space,
+and titles are outdented to the left by this amount,
+effectively leaving titles at the left margin
+and the body text indented.
+Currently this method is only used for FOP because
+it cannot properly use the <parameter>body.start.indent</parameter>
+parameter.
+the relative 
+</para>
+<para>
+The default value for FOP is -4pc, which means the
+body text is indented 4 picas relative to
+the titles.
+The default value for other processors is 0pt, and
+the body indent is provided by the <parameter>body.start.indent</parameter>
+parameter.
+</para>
+<para>
+If you set the value to zero, be sure to still include
+a unit indicator such as <literal>0pt</literal>, or
+the FO processor will report errors.
+</para>
+<para>
+This parameter must be set to 0pt if the
+<parameter>passivetex.extensions</parameter>
+parameter is nonzero because PassiveTeX cannot handle
+the math expression with negative values 
+used to calculate the indents.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/toc.indent.width.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/toc.indent.width.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/toc.indent.width.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="toc.indent.width">
+<refmeta>
+<refentrytitle>toc.indent.width</refentrytitle>
+<refmiscinfo role="type">float</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.indent.width</refname>
+<refpurpose>Amount of indentation for TOC entries</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='toc.indent.width.frag'>
+<xsl:param name="toc.indent.width" select="24"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies, in points, the distance by which each level of the
+TOC is indented from its parent.</para>
+
+<para>This value is expressed in points, without
+a unit (in other words, it is a bare number). Using a bare number allows the stylesheet
+to perform calculations that would otherwise have to be performed by the FO processor
+because not all processors support expressions.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/toc.line.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/toc.line.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/toc.line.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,37 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="toc.line.properties">
+<refmeta>
+<refentrytitle>toc.line.properties</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.line.properties</refname>
+<refpurpose>Properties for lines in ToC and LoTs</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='toc.line.properties.frag'>
+<xsl:attribute-set name="toc.line.properties">
+  <xsl:attribute name="text-align-last">justify</xsl:attribute>
+  <xsl:attribute name="text-align">start</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Properties which are applied to every line in ToC (or LoT). You can
+modify them in order to change appearance of all, or some lines. For
+example in order to make lines for chapters in bold specify the
+following in your customization layer.</para>
+
+<programlisting><![CDATA[<xsl:attribute-set name="toc.line.properties">
+  <xsl:attribute name="font-weight">
+    <xsl:when test="self::chapter | self::preface | self::appendix">bold</xsl:when>
+    <xsl:otherwise>normal</xsl:otherwise>
+  </xsl:attribute>
+</xsl:attribute-set>]]></programlisting>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/toc.list.type.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/toc.list.type.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/toc.list.type.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="toc.list.type">
+<refmeta>
+<refentrytitle>toc.list.type</refentrytitle>
+<refmiscinfo role="type">list</refmiscinfo>
+<refmiscinfo role="value">dl</refmiscinfo>
+<refmiscinfo role="value">ul</refmiscinfo>
+<refmiscinfo role="value">ol</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.list.type</refname>
+<refpurpose>Type of HTML list element to use for Tables of Contents</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='toc.list.type.frag'><xsl:param name="toc.list.type">dl</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>When an automatically generated Table of Contents (or List of Titles)
+is produced, this HTML element will be used to make the list.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/toc.margin.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/toc.margin.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/toc.margin.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="toc.margin.properties">
+<refnamediv>
+<refname>toc.margin.properties</refname>
+<refpurpose>Margin properties used on Tables of Contents</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='toc.margin.properties.frag'>
+<xsl:attribute-set name="toc.margin.properties">
+  <xsl:attribute name="space-before.minimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">2em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.5em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">2em</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>This attribute set is used on Tables of Contents. These attributes are set
+on the wrapper that surrounds the ToC block, not on each individual lines.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/toc.max.depth.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/toc.max.depth.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/toc.max.depth.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="toc.max.depth">
+<refmeta>
+<refentrytitle>toc.max.depth</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.max.depth</refname>
+<refpurpose>How maximaly deep should be each TOC?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='toc.max.depth.frag'><xsl:param name="toc.max.depth">8</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the maximal depth of TOC on all levels.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/toc.section.depth.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/toc.section.depth.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/toc.section.depth.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="toc.section.depth">
+<refmeta>
+<refentrytitle>toc.section.depth</refentrytitle>
+<refmiscinfo role="type">integer</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.section.depth</refname>
+<refpurpose>How deep should recursive <sgmltag>section</sgmltag>s appear
+in the TOC?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='toc.section.depth.frag'><xsl:param name="toc.section.depth">2</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Specifies the depth to which recursive sections should appear in the
+TOC.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/ulink.footnotes.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/ulink.footnotes.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/ulink.footnotes.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="ulink.footnotes">
+<refmeta>
+<refentrytitle>ulink.footnotes</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ulink.footnotes</refname>
+<refpurpose>Generate footnotes for <sgmltag>ULink</sgmltag>s?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='ulink.footnotes.frag'>
+<xsl:param name="ulink.footnotes" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, the URL of each <sgmltag>ULink</sgmltag> will
+appear as a footnote.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/ulink.hyphenate.chars.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/ulink.hyphenate.chars.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/ulink.hyphenate.chars.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,34 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="ulink.hyphenate.chars">
+<refmeta>
+<refentrytitle>ulink.hyphenate.chars</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ulink.hyphenate.chars</refname>
+<refpurpose>List of characters to allow ulink URLs to be automatically hyphenated on</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='ulink.hyphenate.chars.frag'>
+<xsl:param name="ulink.hyphenate.chars" select="'/'"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If the <parameter>ulink.hyphenate</parameter> is not empty, then 
+hyphenation of ulinks is turned on, and any
+character contained in this parameter is treated as an allowable
+hyphenation point.</para>
+
+<para>The default value is <quote>/</quote>, but the parameter
+could be customized
+to contain other URL characters, as for example:</para>
+<programlisting>
+&lt;xsl:param name="ulink.hyphenate.chars"&gt;:/@&amp;?.#&lt;/xsl:param&gt;
+</programlisting>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/ulink.hyphenate.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/ulink.hyphenate.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/ulink.hyphenate.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,32 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="ulink.hyphenate">
+<refmeta>
+<refentrytitle>ulink.hyphenate</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ulink.hyphenate</refname>
+<refpurpose>Allow URLs to be automatically hyphenated</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='ulink.hyphenate.frag'>
+<xsl:param name="ulink.hyphenate" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If not empty, the specified character (or more generally, content) is
+added to URLs after every character included in the string
+in the <parameter>ulink.hyphenate.chars</parameter> parameter (default
+is <quote>/</quote>). If the character in this parameter is a
+Unicode soft hyphen (0x00AD) or Unicode zero-width space (0x200B), some FO
+processors will be able to reasonably hyphenate long URLs.</para>
+
+<para>As of 28 Jan 2002, discretionary hyphens are more widely and correctly
+supported than zero-width spaces for this purpose.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/ulink.show.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/ulink.show.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/ulink.show.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="ulink.show">
+<refmeta>
+<refentrytitle>ulink.show</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ulink.show</refname>
+<refpurpose>Display URLs after <sgmltag>ulink</sgmltag>s?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='ulink.show.frag'>
+<xsl:param name="ulink.show" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, the URL of each <sgmltag>ULink</sgmltag> will
+appear after the text of the link. If the text of the link and the URL
+are identical, the URL is suppressed.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/ulink.target.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/ulink.target.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/ulink.target.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="ulink.target">
+<refmeta>
+<refentrytitle>ulink.target</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>ulink.target</refname>
+<refpurpose>The HTML anchor target for ULinks</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='ulink.target.frag'><xsl:param name="ulink.target" select="'_top'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>ulink.target</parameter> is set, its value will
+be used for the <sgmltag class="attribute">target</sgmltag> attribute
+on anchors generated for <sgmltag>ulink</sgmltag>s.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/use.embed.for.svg.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/use.embed.for.svg.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/use.embed.for.svg.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="use.embed.for.svg">
+<refmeta>
+<refentrytitle>use.embed.for.svg</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>use.embed.for.svg</refname>
+<refpurpose>Use HTML <sgmltag>embed</sgmltag> for SVG?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='use.embed.for.svg.frag'>
+<xsl:param name="use.embed.for.svg" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, an <sgmltag>embed</sgmltag> element will be created for
+SVG figures. An <sgmltag>object</sgmltag> is <emphasis>always</emphasis> created,
+this parameter merely controls whether or not an additional <sgmltag>embed</sgmltag>
+is generated inside the <sgmltag>object</sgmltag>.</para>
+
+<para>On the plus side, this may be more portable among browsers and plug-ins.
+On the minus side, it isn't valid HTML.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/use.extensions.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/use.extensions.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/use.extensions.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="use.extensions">
+<refmeta>
+<refentrytitle>use.extensions</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>use.extensions</refname>
+<refpurpose>Enable extensions</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='use.extensions.frag'><xsl:param name="use.extensions" select="'0'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, extensions may be used. Each extension is
+further controlled by its own parameter. But if
+<parameter>use.extensions</parameter> is zero, no extensions will
+be used.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/use.id.as.filename.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/use.id.as.filename.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/use.id.as.filename.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="use.id.as.filename">
+<refmeta>
+<refentrytitle>use.id.as.filename</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>use.id.as.filename</refname>
+<refpurpose>Use ID value of chunk elements as the filename?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='use.id.as.filename.frag'><xsl:param name="use.id.as.filename" select="'0'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If <parameter>use.id.as.filename</parameter>
+is non-zero, the filename of chunk elements that have IDs will be
+derived from the ID value.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/use.id.function.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/use.id.function.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/use.id.function.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="use.id.function">
+<refmeta>
+<refentrytitle>use.id.function</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>use.id.function</refname>
+<refpurpose>Use the XPath id() function to find link targets?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='use.id.function.frag'><xsl:param name="use.id.function" select="'1'"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If 1, the stylesheets use the <function>id()</function> function
+to find the targets of cross reference elements. This is more
+efficient, but only works if your XSLT processor implements the
+<function>id()</function> function, naturally.</para>
+<para>THIS PARAMETER IS NOT SUPPORTED. IT IS ALWAYS ASSUMED TO BE 1.
+SEE xref.xsl IF YOU NEED TO TURN IT OFF.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/use.local.olink.style.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/use.local.olink.style.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/use.local.olink.style.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="use.local.olink.style"> 
+<refmeta> 
+<refentrytitle>use.local.olink.style</refentrytitle> 
+<refmiscinfo role="type">boolean</refmiscinfo> 
+</refmeta> 
+<refnamediv> 
+<refname>use.local.olink.style</refname> 
+<refpurpose>Process olinks using xref style of current
+document</refpurpose> 
+</refnamediv> 
+<refsynopsisdiv> <src:fragment id="use.local.olink.style.frag">
+<xsl:param name="use.local.olink.style" select="0"/> </src:fragment> 
+</refsynopsisdiv> 
+<refsect1> 
+<title>Description</title> 
+<para>When cross reference data is collected for use by olinks, the data for each potential target includes one field containing a completely assembled cross reference string, as if it were an xref generated in that document. Other fields record the separate title, number, and element name of each target. When an olink is formed to a target from another document, the olink resolves to that preassembled string by default. If the <parameter>use.local.olink.style</parameter> parameter is set to non-zero, then instead the cross
+reference string is formed again from the target title, number, and
+element name, using the stylesheet processing the targeting document.
+Then olinks will match the xref style in the targeting document
+rather than in the target document. If  both documents are processed
+with the same stylesheet, then the results will be the same.</para> 
+</refsect1> 
+</refentry> 

Added: trunk/docs/docbook/src/main/resources/params/use.role.as.xrefstyle.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/use.role.as.xrefstyle.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/use.role.as.xrefstyle.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,93 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="use.role.as.xrefstyle">
+<refmeta>
+<refentrytitle>use.role.as.xrefstyle</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>use.role.as.xrefstyle</refname>
+<refpurpose>Use <sgmltag class="attribute">role</sgmltag> attribute for
+<sgmltag class="attribute">xrefstyle</sgmltag> on <sgmltag>xref</sgmltag>?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='use.role.as.xrefstyle.frag'>
+<xsl:param name="use.role.as.xrefstyle" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, the <sgmltag class="attribute">role</sgmltag> attribute on
+<sgmltag>xref</sgmltag> will be used to select the cross reference style.
+The <ulink url="http://www.oasis-open.org/docbook/">DocBook
+Technical Committee</ulink> recently added an
+<sgmltag class="attribute">xrefstyle</sgmltag> attribute for this purpose.
+If the <sgmltag class="attribute">xrefstyle</sgmltag> attribute
+is present, <sgmltag class="attribute">role</sgmltag> will be ignored, regardless
+of this setting.</para>
+
+<para>Until an official DocBook release that includes the new
+attribute, this flag allows <sgmltag class="attribute">role</sgmltag>
+to serve that purpose.</para>
+
+</refsect1>
+
+<refsect1><title>Example</title>
+
+<para>The following small stylesheet shows how to configure the stylesheets to make
+use of the cross reference style:</para>
+
+<programlisting><![CDATA[<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="../xsl/html/docbook.xsl"/>
+
+<xsl:output method="html"/>
+
+<xsl:param name="local.l10n.xml" select="document('')"/>
+<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
+  <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en">
+   <l:context name="xref">
+      <l:template name="chapter" style="title" text="Chapter %n, %t"/>
+      <l:template name="chapter" text="Chapter %n"/>
+    </l:context>
+  </l:l10n>
+</l:i18n>
+
+</xsl:stylesheet>]]></programlisting>
+
+<para>With this stylesheet, the cross references in the following document:</para>
+
+<programlisting><![CDATA[<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+                  "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<book id="book"><title>Book</title>
+
+<preface>
+<title>Preface</title>
+
+<para>Normal: <xref linkend="ch1"/>.</para>
+<para>Title: <xref xrefstyle="title" linkend="ch1"/>.</para>
+
+</preface>
+
+<chapter id="ch1">
+<title>First Chapter</title>
+
+<para>Irrelevant.</para>
+
+</chapter>
+</book>]]></programlisting>
+
+<para>will appear as:</para>
+
+<informalexample>
+<para>Normal: Chapter 1.</para>
+<para>Title: Chapter 1, <emphasis>First Chapter</emphasis>.</para>
+</informalexample>
+</refsect1>
+
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/use.role.for.mediaobject.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/use.role.for.mediaobject.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/use.role.for.mediaobject.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,53 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="use.role.for.mediaobject">
+<refmeta>
+<refentrytitle>use.role.for.mediaobject</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>use.role.for.mediaobject</refname>
+<refpurpose>Use <sgmltag class="attribute">role</sgmltag> attribute 
+value for selecting which of several objects within a mediaobject to use.
+</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='use.role.for.mediaobject.frag'>
+<xsl:param name="use.role.for.mediaobject" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, the <sgmltag class="attribute">role</sgmltag> attribute on
+<sgmltag>imageobject</sgmltag>s or other objects within a <sgmltag>mediaobject</sgmltag> container will be used to select which object will be
+used.
+</para>
+<para>
+The order of selection when then parameter is non-zero is:
+</para>
+<orderedlist>
+<listitem>
+    <para>If the stylesheet parameter <parameter>preferred.mediaobject.role</parameter> has a value, then the object whose role equals that value is selected.</para>
+</listitem>
+<listitem>
+<para>Else if an object's role attribute has a value of
+<literal>html</literal> for HTML processing or
+<literal>fo</literal> for FO output, then the first
+of such objects is selected.
+</para>
+</listitem>
+<listitem>
+<para>Else the first suitable object is selected.</para>
+</listitem>
+</orderedlist>
+<para>
+If the value of 
+<parameter>use.role.for.mediaobject</parameter>
+is zero, then role attributes are not considered
+and the first suitable object
+with or without a role value is used.
+</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/use.svg.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/use.svg.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/use.svg.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="use.svg">
+<refmeta>
+<refentrytitle>use.svg</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>use.svg</refname>
+<refpurpose>Allow SVG in the result tree?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='use.svg.frag'>
+<xsl:param name="use.svg" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, SVG will be considered an acceptable image format. SVG
+is passed through to the result tree, so correct rendering of the resulting
+diagram depends on the formatter (FO processor or web browser) that is used
+to process the output from the stylesheet.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/variablelist.as.blocks.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/variablelist.as.blocks.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/variablelist.as.blocks.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,59 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="variablelist.as.blocks">
+<refmeta>
+<refentrytitle>variablelist.as.blocks</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>variablelist.as.blocks</refname>
+<refpurpose>Format <sgmltag>variablelist</sgmltag>s lists as blocks?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='variablelist.as.blocks.frag'>
+<xsl:param name="variablelist.as.blocks" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, <sgmltag>variablelist</sgmltag>s will be formatted as
+blocks.</para>
+
+<para>If you have long terms, proper list markup in the FO case may produce
+unattractive lists. By setting this parameter, you can force the stylesheets
+to produce block markup instead of proper lists.</para>
+
+<para>You can override this setting with a processing instruction as the
+child of <sgmltag>variablelist</sgmltag>: <sgmltag class="pi">dbfo
+list-presentation="blocks"</sgmltag> or <sgmltag class="pi">dbfo
+list-presentation="list"</sgmltag>.</para>
+
+<para>When using <literal>list-presentation="list"</literal>,
+you can also control the amount of space used for the <sgmltag>term</sgmltag>s with 
+the <sgmltag class="pi">dbfo term-width=".25in"</sgmltag> processing instruction,
+the <sgmltag class="attribute">termlength</sgmltag> attribute on <sgmltag>variablelist</sgmltag>,
+or allow the stylesheets to attempt to calculate the amount of space to leave based on the 
+number of letters in the longest term.  
+</para>
+
+<programlisting><![CDATA[  <variablelist>
+        <?dbfo list-presentation="list"?>
+        <?dbfo term-width="1.5in"?>
+        <?dbhtml list-presentation="table"?>
+        <?dbhtml term-width="1.5in"?>
+        <varlistentry>
+          <term>list</term>
+          <listitem>
+                <para>
+                  Formatted as a list even if variablelist.as.blocks is set to 1.
+                </para>
+          </listitem>
+        </varlistentry>
+  </variablelist>]]></programlisting>
+
+
+</refsect1>
+
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/variablelist.as.table.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/variablelist.as.table.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/variablelist.as.table.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,51 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="variablelist.as.table">
+<refmeta>
+<refentrytitle>variablelist.as.table</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>variablelist.as.table</refname>
+<refpurpose>Format <sgmltag>variablelist</sgmltag>s as tables?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='variablelist.as.table.frag'>
+<xsl:param name="variablelist.as.table" select="0"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero, <sgmltag>variablelist</sgmltag>s will be formatted as
+tables. A processing instruction exists to specify a particualar width for the 
+column containing the <sgmltag>term</sgmltag>s:   
+<sgmltag class="pi">dbhtml term-width=".25in"</sgmltag></para>
+
+<para>You can override this setting with a processing instruction as the
+child of <sgmltag>variablelist</sgmltag>: <sgmltag class="pi">dbhtml
+list-presentation="table"</sgmltag> or <sgmltag class="pi">dbhtml
+list-presentation="list"</sgmltag>.</para>
+
+<para>This parameter only applys to the HTML transformations. In the
+FO case, proper list markup is robust enough to handle the formatting.
+But see also <parameter>variablelist.as.blocks</parameter>.</para>
+
+<programlisting><![CDATA[  <variablelist>
+        <?dbhtml list-presentation="table"?>
+        <?dbhtml term-width="1.5in"?>
+        <?dbfo list-presentation="list"?>
+        <?dbfo term-width="1in"?>
+        <varlistentry>
+          <term>list</term>
+          <listitem>
+                <para>
+                  Formatted as a table even if variablelist.as.table is set to 0.
+                </para>
+          </listitem>
+        </varlistentry>
+  </variablelist>]]></programlisting>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/variablelist.max.termlength.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/variablelist.max.termlength.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/variablelist.max.termlength.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,43 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="variablelist.max.termlength">
+<refmeta>
+<refentrytitle>variablelist.max.termlength</refentrytitle>
+
+</refmeta>
+<refnamediv>
+<refname>variablelist.max.termlength</refname>
+<refpurpose>Specifies the longest term in variablelists</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='variablelist.max.termlength.frag'>
+<xsl:param name="variablelist.max.termlength">24</xsl:param>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>In variablelists, the <sgmltag>listitem</sgmltag>
+is indented to leave room for the 
+<sgmltag>term</sgmltag> elements. That indent may be computed
+if it is not specified with a <sgmltag class="attribute">termlength</sgmltag>
+attribute on the <sgmltag>variablelist</sgmltag> element.
+</para>
+<para>
+The computation counts characters in the 
+<sgmltag>term</sgmltag> elements in the list
+to find the longest term.  However, some terms are very long
+and would produce extreme indents.  This parameter lets you
+set a maximum character count.  Any terms longer than the maximum
+would line wrap.  The default value is 24.
+</para>
+<para>
+The character counts are converted to physical widths
+by multiplying by 0.50em. There will be some variability
+in how many actual characters fit in the space
+since some characters are wider than others.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/variablelist.term.break.after.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/variablelist.term.break.after.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/variablelist.term.break.after.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,36 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="variablelist.term.break.after">
+<refmeta>
+<refentrytitle>variablelist.term.break.after</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>variablelist.term.break.after</refname>
+<refpurpose>Generate line break after each <tag>term</tag> within a
+multi-term <tag>varlistentry</tag>?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='variablelist.term.break.after.frag'>
+<xsl:param name="variablelist.term.break.after">0</xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Set a non-zero value for the
+<parameter>variablelist.term.break.after</parameter> parameter to
+generate a line break between <tag>term</tag>s in a
+multi-term <tag>varlistentry</tag>.</para>
+
+<note>
+<para>If you set a non-zero value for
+<parameter>variablelist.term.break.after</parameter>, you may also
+want to set the value of the
+<parameter>variablelist.term.separator</parameter> parameter to an
+empty string (to suppress rendering of the default comma and space
+after each <tag>term</tag>).</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/variablelist.term.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/variablelist.term.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/variablelist.term.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,37 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="variablelist.term.separator">
+<refmeta>
+<refentrytitle>variablelist.term.separator</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>variablelist.term.separator</refname>
+<refpurpose>Text to separate <tag>term</tag>s within a multi-term
+<tag>varlistentry</tag></refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='variablelist.term.separator.frag'>
+<xsl:param name="variablelist.term.separator">, </xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>When a <tag>varlistentry</tag> contains multiple <tag>term</tag>
+elements, the string specified in the value of the
+<parameter>variablelist.term.separator</parameter> parameter is placed
+after each <tag>term</tag> except the last.</para>
+
+<note>
+  <para>To generate a line break between multiple <tag>term</tag>s in
+  a <tag>varlistentry</tag>, set a non-zero value for the
+  <parameter>variablelist.term.break.after</parameter> parameter. If
+  you do so, you may also want to set the value of the
+  <parameter>variablelist.term.separator</parameter> parameter to an
+  empty string (to suppress rendering of the default comma and space
+  after each <tag>term</tag>).</para>
+</note>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/verbatim.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/verbatim.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/verbatim.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="verbatim.properties">
+<refnamediv>
+<refname>verbatim.properties</refname>
+<refpurpose>Properties associated with verbatim text</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='verbatim.properties.frag'>
+<xsl:attribute-set name="verbatim.properties">
+  <xsl:attribute name="space-before.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-before.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0.8em</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">1.2em</xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="wrap-option">no-wrap</xsl:attribute>
+  <xsl:attribute name="white-space-collapse">false</xsl:attribute>
+  <xsl:attribute name="white-space-treatment">preserve</xsl:attribute>
+  <xsl:attribute name="linefeed-treatment">preserve</xsl:attribute>
+  <xsl:attribute name="text-align">start</xsl:attribute>
+</xsl:attribute-set></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>This attribute set is used on all verbatim environments.</para>
+</refsect1>
+
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/wordml.template.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/wordml.template.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/wordml.template.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,25 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="wordml.template">
+<refmeta>
+<refentrytitle>wordml.template</refentrytitle>
+</refmeta>
+<refnamediv>
+<refname>wordml.template</refname>
+<refpurpose>Specify the template WordML document</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='wordml.template.frag'>
+<xsl:param name="wordml.template" select="''"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>The <parameter>wordml.template</parameter> parameter specifies a WordML document to use as a template for the generated document.  The template document is used to define the (extensive) headers for the generated document, in particular the paragraph and character styles that are used to format the various elements.  Any content in the template document is ignored.</para>
+
+<para>A template document is used in order to allow maintenance of the paragraph and character styles to be done using Word itself, rather than these XSL stylesheets.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/xep.extensions.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/xep.extensions.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/xep.extensions.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,28 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="xep.extensions">
+<refmeta>
+<refentrytitle>xep.extensions</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>xep.extensions</refname>
+<refpurpose>Enable XEP extensions?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='xep.extensions.frag'><xsl:param name="xep.extensions" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>If non-zero,
+<ulink url="http://www.renderx.com/">XEP</ulink>
+extensions will be used. XEP extensions consists of PDF bookmarks,
+document information and better index processing.
+</para>
+
+<para>This parameter can also affect which graphics file formats
+are supported</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/xep.index.item.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/xep.index.item.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/xep.index.item.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="xep.index.item.properties">
+<refnamediv>
+<refname>xep.index.item.properties</refname>
+<refpurpose>Properties associated with XEP index-items</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='xep.index.item.properties.frag'>
+<xsl:attribute-set name="xep.index.item.properties"
+      use-attribute-sets="index.page.number.properties">
+  <xsl:attribute name="merge-subsequent-page-numbers">true</xsl:attribute>
+  <xsl:attribute name="link-back">true</xsl:attribute>
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>Properties associated with XEP index-items, which generate
+page numbers in an index processed by XEP. For more info see
+the XEP documentation section "Indexes" in
+<ulink
+    url="http://www.renderx.com/reference.html#Indexes" />.</para>
+
+<para>This attribute-set also adds by default any properties from the
+<sgmltag CLASS="attribute">index.page.number.properties</sgmltag>
+attribute-set.</para>
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/xref.label-page.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/xref.label-page.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/xref.label-page.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,35 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="xref.label-page.separator">
+<refmeta>
+<refentrytitle>xref.label-page.separator</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>xref.label-page.separator</refname>
+<refpurpose>Punctuation or space separating label from page number in xref</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='xref.label-page.separator.frag'><xsl:param name="xref.label-page.separator"><xsl:text> </xsl:text></xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>
+This parameter allows you to control the punctuation of certain
+types of generated cross reference text.
+When cross reference text is generated for an 
+<sgmltag class="element">xref</sgmltag> or 
+<sgmltag class="element">olink</sgmltag> element
+using an <sgmltag class="attribute">xrefstyle</sgmltag> attribute
+that makes use of the <literal>select:</literal> feature,
+and the selected components include both label and page
+but no title,
+then the value of this parameter is inserted between
+label and page number in the output.  
+If a title is included, then other separators are used.
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/xref.label-title.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/xref.label-title.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/xref.label-title.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,33 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="xref.label-title.separator">
+<refmeta>
+<refentrytitle>xref.label-title.separator</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>xref.label-title.separator</refname>
+<refpurpose>Punctuation or space separating label from title in xref</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='xref.label-title.separator.frag'><xsl:param name="xref.label-title.separator">: </xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>
+This parameter allows you to control the punctuation of certain
+types of generated cross reference text.
+When cross reference text is generated for an 
+<sgmltag class="element">xref</sgmltag> or 
+<sgmltag class="element">olink</sgmltag> element
+using an <sgmltag class="attribute">xrefstyle</sgmltag> attribute
+that makes use of the <literal>select:</literal> feature,
+and the selected components include both label and title,
+then the value of this parameter is inserted between
+label and title in the output.  
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/xref.properties.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/xref.properties.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/xref.properties.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,22 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="xref.properties">
+<refnamediv>
+<refname>xref.properties</refname>
+<refpurpose>Properties associated with cross-reference text</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='xref.properties.frag'>
+<xsl:attribute-set name="xref.properties">
+</xsl:attribute-set>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>This attribute set is used to set properties
+on cross reference text.</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/xref.title-page.separator.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/xref.title-page.separator.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/xref.title-page.separator.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,33 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="xref.title-page.separator">
+<refmeta>
+<refentrytitle>xref.title-page.separator</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>xref.title-page.separator</refname>
+<refpurpose>Punctuation or space separating title from page number in xref</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='xref.title-page.separator.frag'><xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param></src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>
+This parameter allows you to control the punctuation of certain
+types of generated cross reference text.
+When cross reference text is generated for an 
+<sgmltag class="element">xref</sgmltag> or 
+<sgmltag class="element">olink</sgmltag> element
+using an <sgmltag class="attribute">xrefstyle</sgmltag> attribute
+that makes use of the <literal>select:</literal> feature,
+and the selected components include both title and page number,
+then the value of this parameter is inserted between
+title and page number in the output.  
+</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/params/xref.with.number.and.title.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/params/xref.with.number.and.title.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/params/xref.with.number.and.title.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<refentry xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          id="xref.with.number.and.title">
+<refmeta>
+<refentrytitle>xref.with.number.and.title</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>xref.with.number.and.title</refname>
+<refpurpose>Use number and title in cross references</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment id='xref.with.number.and.title.frag'>
+<xsl:param name="xref.with.number.and.title" select="1"/>
+</src:fragment>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+
+<para>FIXME:</para>
+
+</refsect1>
+</refentry>

Added: trunk/docs/docbook/src/main/resources/profiling/profile-mode.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/profiling/profile-mode.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/profiling/profile-mode.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,202 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:saxon="http://icl.com/saxon"
+                exclude-result-prefixes="saxon"
+                version="1.0">
+
+<!-- Should be base URI for imagedata and so on fixed? -->
+<xsl:param name="profile.baseuri.fixup" select="true()"/>
+
+<!-- Copy all non-element nodes -->
+<xsl:template match="@*|text()|comment()|processing-instruction()" mode="profile">
+  <xsl:copy/>
+</xsl:template>
+
+<!-- Profile elements based on input parameters -->
+<xsl:template match="*" mode="profile">
+
+  <xsl:variable name="arch.content">
+    <xsl:if test="@arch">
+      <xsl:call-template name="cross.compare">
+        <xsl:with-param name="a" select="$profile.arch"/>
+        <xsl:with-param name="b" select="@arch"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="arch.ok" select="not(@arch) or not($profile.arch) or
+                                       $arch.content != '' or @arch = ''"/>
+
+  <xsl:variable name="condition.content">
+    <xsl:if test="@condition">
+      <xsl:call-template name="cross.compare">
+        <xsl:with-param name="a" select="$profile.condition"/>
+        <xsl:with-param name="b" select="@condition"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="condition.ok" select="not(@condition) or not($profile.condition) or
+                                            $condition.content != '' or @condition = ''"/>
+
+  <xsl:variable name="conformance.content">
+    <xsl:if test="@conformance">
+      <xsl:call-template name="cross.compare">
+        <xsl:with-param name="a" select="$profile.conformance"/>
+        <xsl:with-param name="b" select="@conformance"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="conformance.ok" select="not(@conformance) or not($profile.conformance) or
+                                              $conformance.content != '' or @conformance = ''"/>
+
+  <xsl:variable name="lang.content">
+    <xsl:if test="@lang | @xml:lang">
+      <xsl:call-template name="cross.compare">
+        <xsl:with-param name="a" select="$profile.lang"/>
+        <xsl:with-param name="b" select="(@lang | @xml:lang)[1]"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="lang.ok" select="not(@lang | @xml:lang) or not($profile.lang) or
+                                       $lang.content != '' or @lang = '' or @xml:lang = ''"/>
+
+  <xsl:variable name="os.content">
+    <xsl:if test="@os">
+      <xsl:call-template name="cross.compare">
+        <xsl:with-param name="a" select="$profile.os"/>
+        <xsl:with-param name="b" select="@os"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="os.ok" select="not(@os) or not($profile.os) or
+                                     $os.content != '' or @os = ''"/>
+
+  <xsl:variable name="revision.content">
+    <xsl:if test="@revision">
+      <xsl:call-template name="cross.compare">
+        <xsl:with-param name="a" select="$profile.revision"/>
+        <xsl:with-param name="b" select="@revision"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="revision.ok" select="not(@revision) or not($profile.revision) or
+                                           $revision.content != '' or @revision = ''"/>
+
+  <xsl:variable name="revisionflag.content">
+    <xsl:if test="@revisionflag">
+      <xsl:call-template name="cross.compare">
+        <xsl:with-param name="a" select="$profile.revisionflag"/>
+        <xsl:with-param name="b" select="@revisionflag"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="revisionflag.ok" select="not(@revisionflag) or not($profile.revisionflag) or
+                                               $revisionflag.content != '' or @revisionflag = ''"/>
+
+  <xsl:variable name="role.content">
+    <xsl:if test="@role">
+      <xsl:call-template name="cross.compare">
+        <xsl:with-param name="a" select="$profile.role"/>
+        <xsl:with-param name="b" select="@role"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="role.ok" select="not(@role) or not($profile.role) or
+                                       $role.content != '' or @role = ''"/>
+
+  <xsl:variable name="security.content">
+    <xsl:if test="@security">
+      <xsl:call-template name="cross.compare">
+        <xsl:with-param name="a" select="$profile.security"/>
+        <xsl:with-param name="b" select="@security"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="security.ok" select="not(@security) or not($profile.security) or
+                                           $security.content != '' or @security = ''"/>
+
+  <xsl:variable name="status.content">
+    <xsl:if test="@status">
+      <xsl:call-template name="cross.compare">
+        <xsl:with-param name="a" select="$profile.status"/>
+        <xsl:with-param name="b" select="@status"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="status.ok" select="not(@status) or not($profile.status) or
+                                           $status.content != '' or @status = ''"/>
+
+  <xsl:variable name="userlevel.content">
+    <xsl:if test="@userlevel">
+      <xsl:call-template name="cross.compare">
+        <xsl:with-param name="a" select="$profile.userlevel"/>
+        <xsl:with-param name="b" select="@userlevel"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="userlevel.ok" select="not(@userlevel) or not($profile.userlevel) or
+                                            $userlevel.content != '' or @userlevel = ''"/>
+
+  <xsl:variable name="vendor.content">
+    <xsl:if test="@vendor">
+      <xsl:call-template name="cross.compare">
+        <xsl:with-param name="a" select="$profile.vendor"/>
+        <xsl:with-param name="b" select="@vendor"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="vendor.ok" select="not(@vendor) or not($profile.vendor) or
+                                         $vendor.content != '' or @vendor = ''"/>
+
+  <xsl:variable name="attribute.content">
+    <xsl:if test="@*[local-name()=$profile.attribute]">
+      <xsl:call-template name="cross.compare">
+        <xsl:with-param name="a" select="$profile.value"/>
+        <xsl:with-param name="b" select="@*[local-name()=$profile.attribute]"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+  <xsl:variable name="attribute.ok" 
+                select="not(@*[local-name()=$profile.attribute]) or not($profile.value) or
+                        $attribute.content != '' or 
+                        @*[local-name()=$profile.attribute] = '' or not($profile.attribute)"/>
+
+  <xsl:if test="$arch.ok and $condition.ok and $conformance.ok and $lang.ok and $os.ok 
+                and $revision.ok and $revisionflag.ok and $role.ok and $security.ok
+		and $status.ok and $userlevel.ok and $vendor.ok and $attribute.ok">
+    <xsl:copy>
+      <xsl:copy-of select="@*"/>
+
+      <!-- Entity references must be replaced with filereferences for temporary tree -->
+      <xsl:if test="@entityref and $profile.baseuri.fixup">
+	<xsl:attribute name="fileref">
+	  <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
+	</xsl:attribute>
+      </xsl:if>
+
+      <!-- xml:base is eventually added to the root element -->
+      <xsl:if test="not(../..) and $profile.baseuri.fixup">
+	<xsl:call-template name="add-xml-base"/>
+      </xsl:if>
+
+      <xsl:apply-templates select="node()" mode="profile"/>
+    </xsl:copy>
+  </xsl:if>
+</xsl:template>
+
+<!-- Returns non-empty string if list in $b contains one ore more values from list $a -->
+<xsl:template name="cross.compare">
+  <xsl:param name="a"/>
+  <xsl:param name="b"/>
+  <xsl:param name="sep" select="$profile.separator"/>
+  <xsl:variable name="head" select="substring-before(concat($a, $sep), $sep)"/>
+  <xsl:variable name="tail" select="substring-after($a, $sep)"/>
+  <xsl:if test="contains(concat($sep, $b, $sep), concat($sep, $head, $sep))">1</xsl:if>
+  <xsl:if test="$tail">
+    <xsl:call-template name="cross.compare">
+      <xsl:with-param name="a" select="$tail"/>
+      <xsl:with-param name="b" select="$b"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/profiling/profile.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/profiling/profile.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/profiling/profile.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,47 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<!-- Include common profiling stylesheet -->
+<xsl:import href="profile-mode.xsl"/>
+
+<!-- This file must be included, because profile-mode is using templates from it -->
+<xsl:import href="../common/stripns.xsl"/>
+
+<!-- In the two pass processing there is no need for base URI fixup -->
+<xsl:param name="profile.baseuri.fixup" select="false()"/>
+
+<!-- If you need to validate profiled content against DTD, 
+     create customization that will import this stylesheet and
+     will use xsl:output (see example bellow) to output reference 
+     to the desired DTD version. --> 
+<!-- Generate DocBook instance with correct DOCTYPE -->
+<!--
+<xsl:output method="xml" 
+            doctype-public="-//OASIS//DTD DocBook XML V4.5//EN"
+            doctype-system="http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"/>
+-->
+
+<!-- Profiling parameters -->
+<xsl:param name="profile.arch" select="''"/>
+<xsl:param name="profile.condition" select="''"/>
+<xsl:param name="profile.conformance" select="''"/>
+<xsl:param name="profile.lang" select="''"/>
+<xsl:param name="profile.os" select="''"/>
+<xsl:param name="profile.revision" select="''"/>
+<xsl:param name="profile.revisionflag" select="''"/>
+<xsl:param name="profile.role" select="''"/>
+<xsl:param name="profile.security" select="''"/>
+<xsl:param name="profile.status" select="''"/>
+<xsl:param name="profile.userlevel" select="''"/>
+<xsl:param name="profile.vendor" select="''"/>
+<xsl:param name="profile.attribute" select="''"/>
+<xsl:param name="profile.value" select="''"/>
+<xsl:param name="profile.separator" select="';'"/>
+
+<!-- Call common profiling mode -->
+<xsl:template match="/">
+  <xsl:apply-templates select="." mode="profile"/>
+</xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/profiling/strip-attributes.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/profiling/strip-attributes.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/profiling/strip-attributes.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:output method="xml"/>
+
+<xsl:param name="attributes" select="''"/>
+
+<xsl:variable name="strip-attributes"
+              select="concat(' ', normalize-space($attributes), ' ')"/>
+
+<xsl:template match="@*|text()|comment()|processing-instruction()">
+  <xsl:copy/>
+</xsl:template>
+
+<xsl:template match="*">
+  <xsl:copy>
+    <xsl:for-each select="@*">
+      <xsl:if test="not(contains($strip-attributes, concat(' ',name(.),' ')))">
+        <xsl:copy-of select="."/>
+      </xsl:if>
+    </xsl:for-each>
+    <xsl:apply-templates select="node()"/>
+  </xsl:copy>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/profiling/xsl2profile.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/profiling/xsl2profile.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/profiling/xsl2profile.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,163 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:xslo="http://www.w3.org/1999/XSL/TransformAlias"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                exclude-result-prefixes="fo"
+                version="1.0">
+
+<xsl:include href="../lib/lib.xsl"/>
+
+<xsl:output method="xml" encoding="US-ASCII"/>
+
+<xsl:namespace-alias stylesheet-prefix="xslo" result-prefix="xsl"/>
+
+<xsl:preserve-space elements="*"/>
+
+<xsl:template match="/">
+  <xsl:text>&#10;</xsl:text>
+  <xsl:comment>This file was created automatically by xsl2profile</xsl:comment>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:comment>from the DocBook XSL stylesheets. Do not edit this file.</xsl:comment>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<!-- Make sure we override some templates and parameters appropriately for XHTML -->
+<xsl:template match="xsl:stylesheet">
+  <xsl:copy>
+    <xsl:attribute name="exslt:dummy" xmlns:exslt="http://exslt.org/common">dummy</xsl:attribute>
+    <xsl:attribute name="ng:dummy" xmlns:ng="http://docbook.org/docbook-ng">dummy</xsl:attribute>
+    <xsl:attribute name="db:dummy" xmlns:db="http://docbook.org/ns/docbook">dummy</xsl:attribute>
+    <xsl:if test="not(@extension-element-prefixes)">
+      <xsl:attribute name="extension-element-prefixes">exslt</xsl:attribute>
+    </xsl:if>
+    <xsl:if test="not(@exclude-result-prefixes)">
+      <xsl:attribute name="exclude-result-prefixes">exslt</xsl:attribute>
+    </xsl:if>
+    <xsl:for-each select="@*">
+      <xsl:choose>
+        <xsl:when test="local-name(.) = 'extension-element-prefixes' or
+                        local-name(.) = 'exclude-result-prefixes'">
+          <xsl:attribute name="{local-name(.)}"><xsl:value-of select="concat(., ' exslt')"/></xsl:attribute>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:attribute name="{local-name(.)}"><xsl:value-of select="."/></xsl:attribute>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:for-each>
+    <xsl:apply-templates/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="*">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="comment()|processing-instruction()|text()">
+  <xsl:copy/>
+</xsl:template>
+
+<xsl:template match="xsl:template[@match='/']">
+  <xslo:include href="../profiling/profile-mode.xsl"/>
+  <xslo:variable name="profiled-content">
+    <xslo:choose>
+      <xslo:when test="*/self::ng:* or */self::db:*">
+	<xslo:message>Stripping NS from DocBook 5/NG document.</xslo:message>
+	<xslo:variable name="stripped-content">
+	  <xslo:apply-templates select="/" mode="stripNS"/>
+	</xslo:variable>
+	<xslo:message>Processing stripped document.</xslo:message>
+	<xslo:apply-templates select="exslt:node-set($stripped-content)" mode="profile"/>
+      </xslo:when>
+      <xslo:otherwise>
+	<xslo:apply-templates select="/" mode="profile"/>
+      </xslo:otherwise>
+    </xslo:choose>
+  </xslo:variable>
+  <xslo:variable name="profiled-nodes" select="exslt:node-set($profiled-content)"/>
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="correct"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:template[@name='hhc-main' or @name='hhp-main'] | xsl:variable[@name='raw.help.title']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="correct"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="*[starts-with(@select, '/')]" mode="correct">
+  <xsl:copy>
+    <xsl:for-each select="@*">
+      <xsl:choose>
+        <xsl:when test="local-name(.) = 'select' and string(.) =  '/'">
+          <xsl:attribute name="{local-name(.)}">$profiled-nodes</xsl:attribute>
+        </xsl:when>
+        <xsl:when test="local-name(.) = 'select' and starts-with(., '/')">
+          <xsl:attribute name="{local-name(.)}">$profiled-nodes<xsl:value-of select="."/></xsl:attribute>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:attribute name="{local-name(.)}"><xsl:value-of select="."/></xsl:attribute>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:for-each>
+    <xsl:apply-templates mode="correct"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match='*[contains(@*, "key(&apos;id&apos;,$rootid)")]' mode="correct" priority="2">
+  <xsl:copy>
+    <xsl:for-each select="@*">
+      <xsl:choose>
+        <xsl:when test='contains(., "key(&apos;id&apos;,$rootid)")'>
+          <xsl:attribute name="{local-name(.)}">
+            <xsl:call-template name="string.subst">
+              <xsl:with-param name="string" select="."/>
+              <xsl:with-param name="target">key('id',$rootid)</xsl:with-param>
+              <xsl:with-param name="replacement">$profiled-nodes//*[@id=$rootid]</xsl:with-param>
+            </xsl:call-template>
+          </xsl:attribute>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:attribute name="{local-name(.)}"><xsl:value-of select="."/></xsl:attribute>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:for-each>
+    <xsl:apply-templates mode="correct"/>
+  </xsl:copy>
+</xsl:template>
+
+<!-- FO stylesheet has apply-templates without select, we must detect it by context -->
+<xsl:template match="fo:root//xsl:apply-templates" mode="correct">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">$profiled-nodes/node()</xsl:attribute>
+    <xsl:apply-templates mode="correct"/>
+  </xsl:copy>
+</xsl:template>
+
+<!-- DB5 namespace stripping is already done  -->
+<xsl:template match="xsl:when[contains(@test, 'self::db')]" mode="correct">
+  <xsl:copy>
+    <xsl:attribute name="test">false()</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="*" mode="correct">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="correct"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="comment()|processing-instruction()|text()" mode="correct">
+  <xsl:copy/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/roundtrip/blocks-spec.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/blocks-spec.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/blocks-spec.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,11 @@
+<group:root xmlns:group='http://www.explain.com.au/grouping'>
+  <bibliography styles='bibliography bibliography-title'>
+    <bibliodiv styles='bibliodiv bibliodiv-title'/>
+  </bibliography>
+  <glossary styles='glossary glossary-title'>
+    <glossdiv styles='glossdiv glossdiv-title'/>
+  </glossary>
+  <qandaset styles='qandaset qandaset-title'>
+    <qandadiv styles='qandadiv qandadiv-title'/>
+  </qandaset>
+</group:root>

Added: trunk/docs/docbook/src/main/resources/roundtrip/dbk2ooo.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/dbk2ooo.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/dbk2ooo.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,160 @@
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:office="http://openoffice.org/2000/office"
+  xmlns:style="http://openoffice.org/2000/style"
+  xmlns:text="http://openoffice.org/2000/text"
+  xmlns:table="http://openoffice.org/2000/table"
+  xmlns:draw="http://openoffice.org/2000/drawing"
+  xmlns:fo="http://www.w3.org/1999/XSL/Format"
+  xmlns:xlink="http://www.w3.org/1999/xlink"
+  xmlns:number="http://openoffice.org/2000/datastyle"
+  xmlns:svg="http://www.w3.org/2000/svg"
+  xmlns:chart="http://openoffice.org/2000/chart"
+  xmlns:dr3d="http://openoffice.org/2000/dr3d"
+  xmlns:math="http://www.w3.org/1998/Math/MathML"
+  xmlns:form="http://openoffice.org/2000/form"
+  xmlns:script="http://openoffice.org/2000/script"
+  xmlns:doc='http://docbook.org/ns/docbook'
+  exclude-result-prefixes='doc'>
+
+  <xsl:import href='dbk2wp.xsl'/>
+
+  <xsl:output method="xml" indent='yes'/>
+
+  <!-- ********************************************************************
+       $Id: dbk2ooo.xsl 6463 2007-01-05 03:22:54Z balls $
+       ********************************************************************
+
+       This file is part of the XSL DocBook Stylesheet distribution.
+       See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+       and other information.
+
+       ******************************************************************** -->
+
+  <xsl:include href='../VERSION'/>
+
+  <xsl:template match="/" name='ooo.top'>
+    <xsl:param name='doc' select='/'/>
+
+    <office:document
+      office:class='text'
+      office:version='1.0'>
+
+      <office:script/>
+      <office:font-decls>
+        <style:font-decl style:name="Lucida Grande1" fo:font-family="'Lucida Grande'"/>
+        <style:font-decl style:name="Arial1" fo:font-family="Arial" style:font-pitch="variable"/>
+        <style:font-decl style:name="Hiragino Mincho Pro W3" fo:font-family="'Hiragino Mincho Pro W3'" style:font-pitch="variable"/>
+        <style:font-decl style:name="Lucida Grande" fo:font-family="'Lucida Grande'" style:font-pitch="variable"/>
+        <style:font-decl style:name="Times New Roman" fo:font-family="'Times New Roman'" style:font-family-generic="roman" style:font-pitch="variable"/>
+        <style:font-decl style:name="Arial" fo:font-family="Arial" style:font-family-generic="swiss" style:font-pitch="variable"/>
+      </office:font-decls>
+      <office:automatic-styles/>
+
+      <xsl:apply-templates select='$doc/*'
+        mode='doc:toplevel'/>
+    </office:document>
+  </xsl:template>
+
+  <xsl:template name='doc:make-body'>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <office:body>
+      <text:sequence-decls>
+        <text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
+        <text:sequence-decl text:display-outline-level="0" text:name="Table"/>
+        <text:sequence-decl text:display-outline-level="0" text:name="Text"/>
+        <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
+      </text:sequence-decls>
+
+      <xsl:copy-of select='$content'/>
+    </office:body>
+  </xsl:template>
+
+  <xsl:template name='doc:make-subsection'>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <xsl:copy-of select='$content'/>
+  </xsl:template>
+
+  <xsl:template name='doc:make-paragraph'>
+    <xsl:param name='style' select='"unknown"'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+    <xsl:param name='outline.level' select='0'/>
+    <xsl:param name='attributes.node' select='.'/>
+
+    <text:p text:style-name='{$style}'>
+
+      <xsl:call-template name='attributes'>
+        <xsl:with-param name='node' select='$attributes.node'/>
+      </xsl:call-template>
+
+      <xsl:copy-of select='$content'/>
+    </text:p>
+  </xsl:template>
+
+  <xsl:template name='doc:make-phrase'>
+    <xsl:param name='style' select='"unknown"'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <text:span text:style-name='{$style}'>
+      <xsl:copy-of select='$content'/>
+    </text:span>
+  </xsl:template>
+
+  <xsl:template name='doc:make-hyperlink'/>
+  <xsl:template name='doc:make-hyperlink-not-implemented'>
+    <xsl:param name='target'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <text:link href='{$target}'>
+    </text:link>
+  </xsl:template>
+
+  <xsl:template name='doc:make-table'/>
+  <xsl:template name='doc:make-table-not-yet-implemented'>
+    <xsl:param name='columns'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+  </xsl:template>
+
+  <xsl:template name='doc:make-table-row'>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+    <xsl:param name='is-header' select='false()'/>
+
+  </xsl:template>
+
+  <xsl:template name='doc:make-table-cell'>
+    <xsl:param name='width' select='0'/>
+    <xsl:param name='hidden' select='false()'/>
+    <xsl:param name='rowspan' select='1'/>
+    <xsl:param name='colspan' select='1'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+  </xsl:template>
+
+  <xsl:template name='doc:make-soft-break'>
+    <text:br/>
+  </xsl:template>
+
+  <xsl:template name='attributes'>
+    <xsl:param name='node' select='.'/>
+
+  </xsl:template>
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/roundtrip/dbk2pages.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/dbk2pages.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/dbk2pages.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,277 @@
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:sfa="http://developer.apple.com/namespaces/sfa"
+  xmlns:sf="http://developer.apple.com/namespaces/sf"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:sl="http://developer.apple.com/namespaces/sl"
+  xmlns:xi="http://www.w3.org/2001/XInclude"
+  xmlns:w='urn:not-yet-implemented'
+  xmlns:wx='urn:not-yet-implemented'
+  xmlns:aml='urn:not-yet-implemented'
+  xmlns:doc='http://docbook.org/ns/docbook'
+  exclude-result-prefixes='doc xi w wx aml'>
+
+  <xsl:import href='dbk2wp.xsl'/>
+
+  <xsl:output method="xml" indent='yes' encoding='ascii'/>
+
+  <!-- ********************************************************************
+       $Id: dbk2pages.xsl 6463 2007-01-05 03:22:54Z balls $
+       ********************************************************************
+
+       This file is part of the XSL DocBook Stylesheet distribution.
+       See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+       and other information.
+
+       ******************************************************************** -->
+
+  <xsl:include href='../VERSION'/>
+  <xsl:include href='param.xsl'/>
+
+  <xsl:variable name='templatedoc' select='document($pages.template)'/>
+
+  <!-- Lookup style identifiers from their user-visible name -->
+  <xsl:variable name='paragraph-styles'
+		select='$templatedoc//sf:paragraphstyle'/>
+  <xsl:variable name='character-styles'
+		select='$templatedoc//sf:characterstyle'/>
+
+  <xsl:template match="/" name='pages.top'>
+    <xsl:param name='doc' select='/'/>
+
+    <xsl:if test='not($pages.template)'>
+      <xsl:message terminate='yes'>Please specify the template document with the "pages.template" parameter</xsl:message>
+    </xsl:if>
+    <xsl:if test='not($templatedoc)'>
+      <xsl:message terminate='yes'>Unable to open template document "<xsl:value-of select='$pages.template'/>"</xsl:message>
+    </xsl:if>
+
+    <sl:document
+      sfa:ID="SLPublicationModel-0"
+      sl:version="2004093000"
+      sl:generator="slingshot"
+      sl:app_build_date="Mar  4 2005, 11:22:49">
+
+      <xsl:apply-templates select='$templatedoc/sl:document/*[not(self::sf:text-storage)]'
+        mode='doc:copy'/>
+
+      <xsl:apply-templates select='$doc/*'
+        mode='doc:toplevel'/>
+
+      <xsl:apply-templates select='$templatedoc/sl:document/sf:text-storage/following-sibling::*'
+        mode='doc:copy'/>
+    </sl:document>
+  </xsl:template>
+
+  <xsl:template name='doc:make-body'>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <sf:text-storage sf:kind='body' sfa:ID='SFWPStorage-7'>
+      <sf:stylesheet-ref sfa:IDREF='SFSStylesheet-1'/>
+      <sf:text-body>
+        <sf:page-start sf:page-index='0'/>
+        <sf:container-hint sf:page-index="0" sf:cindex="0" sf:sindex="0" sf:lindex="0" sf:frame-x="56.692913055419922" sf:frame-y="56.692913055419922" sf:frame-w="481.61416625976562" sf:frame-h="714" sf:anchor-loc="0"/>
+
+        <sf:section sf:name="Chapter 1" sf:style="section-style-0">
+          <sf:layout sf:style="layout-style-20">
+            <xsl:copy-of select='$content'/>
+          </sf:layout>
+        </sf:section>
+      </sf:text-body>
+    </sf:text-storage>
+  </xsl:template>
+
+  <xsl:template name='doc:make-subsection'>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <xsl:copy-of select='$content'/>
+  </xsl:template>
+
+  <xsl:template name='doc:make-paragraph'>
+    <xsl:param name='style' select='"unknown"'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+    <xsl:param name='outline.level' select='0'/>
+    <xsl:param name='attributes.node' select='.'/>
+
+    <sf:p>
+      <xsl:if test='$style != ""'>
+	<xsl:attribute name='sf:style'>
+          <xsl:call-template name='doc:lookup-paragraph-style'>
+            <xsl:with-param name='style' select='$style'/>
+          </xsl:call-template>
+        </xsl:attribute>
+      </xsl:if>
+
+      <xsl:call-template name='attributes'>
+        <xsl:with-param name='node' select='$attributes.node'/>
+      </xsl:call-template>
+
+      <xsl:copy-of select='$content'/>
+      <sf:br/>
+    </sf:p>
+  </xsl:template>
+
+  <xsl:template name='doc:make-phrase'>
+    <xsl:param name='style' select='"unknown"'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <sf:span>
+      <xsl:if test='$style != ""'>
+	<xsl:attribute name='sf:style'>
+	  <xsl:call-template name='doc:lookup-character-style'>
+            <xsl:with-param name='style' select='$style'/>
+          </xsl:call-template>
+        </xsl:attribute>
+      </xsl:if>
+
+      <xsl:copy-of select='$content'/>
+    </sf:span>
+  </xsl:template>
+
+  <xsl:template name='doc:make-hyperlink'>
+    <xsl:param name='target'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <sf:link href='{$target}'>
+      <sf:span>
+        <xsl:attribute name='sf:style'>
+          <xsl:call-template name='doc:lookup-character-style'>
+            <xsl:with-param name='style'>email</xsl:with-param>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:copy-of select='$content'/>
+      </sf:span>
+    </sf:link>
+  </xsl:template>
+
+  <xsl:template name='doc:make-table'/>
+  <xsl:template name='doc:make-table-not-yet-implemented'>
+    <xsl:param name='columns'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <w:tbl>
+      <w:tblPr>
+        <w:tblW w:w="0" w:type="auto"/>
+        <w:tblInd w:w="108" w:type="dxa"/>
+        <w:tblLayout w:type="Fixed"/>
+      </w:tblPr>
+      <w:tblGrid>
+        <xsl:copy-of select='$columns'/>
+      </w:tblGrid>
+      <xsl:copy-of select='$content'/>
+    </w:tbl>
+  </xsl:template>
+
+  <xsl:template name='doc:make-column'>
+    <xsl:param name='width' select='0'/>
+
+    <w:gridcol w:w='{$width}'/>
+  </xsl:template>
+
+  <xsl:template name='doc:make-table-row'>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+    <xsl:param name='is-header' select='false()'/>
+
+    <w:tr>
+      <w:trPr>
+        <xsl:if test='$is-header'>
+          <w:tblHeader/>
+        </xsl:if>
+      </w:trPr>
+      <xsl:copy-of select='$content'/>
+    </w:tr>
+  </xsl:template>
+
+  <xsl:template name='doc:make-table-cell'>
+    <xsl:param name='width' select='0'/>
+    <xsl:param name='hidden' select='false()'/>
+    <xsl:param name='rowspan' select='1'/>
+    <xsl:param name='colspan' select='1'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <w:tc>
+      <xsl:if test='$colspan != 1 or
+                    $width != 0'>
+        <w:tcPr>
+          <xsl:if test='$colspan != 1 or
+                        $width != 0'>
+            <w:tcW w:w='{$width}' w:type='dxa'/>
+          </xsl:if>
+          <xsl:if test='$hidden'>
+            <w:vmerge w:val='{$hidden}'/>
+          </xsl:if>
+          <xsl:if test='$rowspan != 1'>          
+            <w:vmerge w:val='restart'/>
+          </xsl:if>
+          <xsl:if test='$colspan != 1'>
+            <w:gridspan w:val='{$colspan}'/>
+          </xsl:if>
+        </w:tcPr>
+      </xsl:if>
+
+      <xsl:copy-of select='$content'/>
+    </w:tc>
+  </xsl:template>
+
+  <xsl:template name='doc:make-soft-break'>
+    <sf:br/>
+  </xsl:template>
+
+  <xsl:template name='attributes'>
+    <xsl:param name='node' select='.'/>
+
+    <xsl:for-each select='$node/@*'>
+      <sf:span>
+	<xsl:attribute name='sf:style'>
+	  <xsl:call-template name='doc:lookup-character-style'>
+	    <xsl:with-param name='style'>attribute-name</xsl:with-param>
+	  </xsl:call-template>
+	</xsl:attribute>
+	<xsl:value-of select='name()'/>
+      </sf:span>
+      <sf:span>
+	<xsl:attribute name='sf:style'>
+	  <xsl:call-template name='doc:lookup-character-style'>
+	    <xsl:with-param name='style'>attribute-value</xsl:with-param>
+	  </xsl:call-template>
+	</xsl:attribute>
+	<xsl:value-of select='.'/>
+      </sf:span>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template name='doc:lookup-paragraph-style'>
+    <xsl:param name='style'/>
+
+    <xsl:if test='not($paragraph-styles[@sf:name = $style])'>
+      <xsl:message>unable to find paragraph style "<xsl:value-of select='$style'/>"</xsl:message>
+    </xsl:if>
+
+    <xsl:value-of select='$paragraph-styles[@sf:name = $style]/@sf:ident'/>
+  </xsl:template>
+  <xsl:template name='doc:lookup-character-style'>
+    <xsl:param name='style'/>
+
+    <xsl:if test='not($character-styles[@sf:name = $style])'>
+      <xsl:message>unable to find character style "<xsl:value-of select='$style'/>"</xsl:message>
+    </xsl:if>
+
+    <xsl:value-of select='$character-styles[@sf:name = $style]/@sf:ident'/>
+  </xsl:template>
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/roundtrip/dbk2wordml.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/dbk2wordml.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/dbk2wordml.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,382 @@
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:w='http://schemas.microsoft.com/office/word/2003/wordml'
+  xmlns:v='urn:schemas-microsoft-com:vml'
+  xmlns:w10="urn:schemas-microsoft-com:office:word"
+  xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
+  xmlns:wx='http://schemas.microsoft.com/office/word/2003/auxHint'
+  xmlns:o="urn:schemas-microsoft-com:office:office"
+  xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
+  xmlns:sl='http://schemas.microsoft.com/schemaLibrary/2003/core'
+  xmlns:doc='http://docbook.org/ns/docbook'
+  exclude-result-prefixes='doc'>
+
+  <xsl:import href='dbk2wp.xsl'/>
+
+  <xsl:output method="xml" indent='yes' standalone='yes' encoding='UTF-8'/>
+
+  <!-- ********************************************************************
+       $Id: dbk2wordml.xsl 6463 2007-01-05 03:22:54Z balls $
+       ********************************************************************
+
+       This file is part of the XSL DocBook Stylesheet distribution.
+       See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+       and other information.
+
+       ******************************************************************** -->
+
+  <xsl:include href='../VERSION'/>
+  <xsl:include href='param.xsl'/>
+
+  <xsl:variable name='templatedoc' select='document($wordml.template)'/>
+
+  <xsl:template match="/" name='wordml.top'>
+    <xsl:param name='doc' select='/'/>
+
+    <xsl:if test='not($wordml.template)'>
+      <xsl:message terminate='yes'>Please specify the template document with the "wordml.template" parameter</xsl:message>
+    </xsl:if>
+    <xsl:if test='not($templatedoc)'>
+      <xsl:message terminate='yes'>Unable to open template document "<xsl:value-of select='$wordml.template'/>"</xsl:message>
+    </xsl:if>
+
+    <xsl:processing-instruction name='mso-application'>
+      <xsl:text>progid="Word.Document"</xsl:text>
+    </xsl:processing-instruction>
+    <xsl:text>&#xa;</xsl:text>
+
+    <xsl:variable name='info'
+      select='$doc/book/bookinfo|$doc/article/articleinfo'/>
+    <xsl:variable name='authors' select='$info/author|$info/authorinitials|$info/authorgroup/author|$info/authorgroup/editor'/>
+
+    <w:wordDocument
+      w:macrosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no">
+      <xsl:attribute name='xml:space'>preserve</xsl:attribute>
+
+      <o:DocumentProperties>
+        <o:Author>
+          <xsl:choose>
+            <xsl:when test='$authors'>
+              <xsl:apply-templates select='$authors[1]' mode='doc:docprop.author'/>
+            </xsl:when>
+            <xsl:otherwise>Unknown</xsl:otherwise>
+          </xsl:choose>
+        </o:Author>
+        <o:LastAuthor>
+          <xsl:choose>
+            <xsl:when test='$info/revhistory/revision[1]/*[self::author|self::authorinitials]'>
+              <xsl:apply-templates select='$info/revhistory/revision[1]/*[self::author|self::authorinitials]' mode='doc:docprop.author'/>
+            </xsl:when>
+            <xsl:when test='$authors'>
+              <xsl:apply-templates select='$authors[1]' mode='doc:docprop.author'/>
+            </xsl:when>
+            <xsl:otherwise>Unknown</xsl:otherwise>
+          </xsl:choose>
+        </o:LastAuthor>
+        <o:Revision>1</o:Revision>
+        <o:TotalTime></o:TotalTime>
+
+        <!-- dummy values -->
+        <o:Created>2004-01-01T07:07:00Z</o:Created>
+        <o:LastSaved>2004-01-01T08:08:00Z</o:LastSaved>
+
+        <o:Pages>1</o:Pages>
+        <o:Words>1</o:Words>
+        <o:Characters>1</o:Characters>
+
+        <!-- could derive this from author -->
+        <o:Company>DocBook</o:Company>
+
+        <o:Lines>1</o:Lines>
+        <o:Paragraphs>1</o:Paragraphs>
+        <o:CharactersWithSpaces>1</o:CharactersWithSpaces>
+        <o:Version>11.6113</o:Version>
+      </o:DocumentProperties>
+
+      <xsl:apply-templates select='$templatedoc/w:wordDocument/o:CustomDocumentProperties|$templatedoc/w:wordDocument/w:fonts|$templatedoc/w:wordDocument/w:lists|$templatedoc/w:wordDocument/w:styles' mode='doc:copy'/>
+
+      <w:docPr>
+        <w:view w:val="print"/>
+        <w:zoom w:percent="100"/>
+        <w:doNotEmbedSystemFonts/>
+        <w:attachedTemplate w:val=""/>
+        <w:defaultTabStop w:val="720"/>
+        <w:autoHyphenation/>
+        <w:hyphenationZone w:val="357"/>
+        <w:doNotHyphenateCaps/>
+        <w:evenAndOddHeaders/>
+        <w:characterSpacingControl w:val="DontCompress"/>
+        <w:optimizeForBrowser/>
+        <w:validateAgainstSchema/>
+        <w:saveInvalidXML w:val="off"/>
+        <w:ignoreMixedContent w:val="off"/>
+        <w:alwaysShowPlaceholderText w:val="off"/>
+        <w:footnotePr>
+          <w:footnote w:type="separator">
+            <w:p>
+              <w:r>
+                <w:separator/>
+              </w:r>
+            </w:p>
+          </w:footnote>
+          <w:footnote w:type="continuation-separator">
+            <w:p>
+              <w:r>
+                <w:continuationSeparator/>
+              </w:r>
+            </w:p>
+          </w:footnote>
+        </w:footnotePr>
+        <w:endnotePr>
+          <w:endnote w:type="separator">
+            <w:p>
+              <w:r>
+                <w:separator/>
+              </w:r>
+            </w:p>
+          </w:endnote>
+          <w:endnote w:type="continuation-separator">
+            <w:p>
+              <w:r>
+                <w:continuationSeparator/>
+              </w:r>
+            </w:p>
+          </w:endnote>
+        </w:endnotePr>
+        <w:compat>
+          <w:breakWrappedTables/>
+          <w:snapToGridInCell/>
+          <w:wrapTextWithPunct/>
+          <w:useAsianBreakRules/>
+          <w:useWord2002TableStyleRules/>
+        </w:compat>
+        <w:docVars>
+        </w:docVars>
+      </w:docPr>
+
+      <xsl:apply-templates select='$doc/*' mode='doc:toplevel'/>
+
+    </w:wordDocument>
+  </xsl:template>
+
+  <xsl:template name='doc:make-body'>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <w:body>
+      <wx:sect>
+        <wx:sub-section>
+          <xsl:copy-of select='$content'/>
+        </wx:sub-section>
+      </wx:sect>
+    </w:body>
+  </xsl:template>
+
+  <xsl:template name='doc:make-subsection'>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <wx:sub-section>
+      <xsl:copy-of select='$content'/>
+    </wx:sub-section>
+  </xsl:template>
+
+  <xsl:template name='doc:make-paragraph'>
+    <xsl:param name='style' select='"unknown"'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+    <xsl:param name='outline.level' select='0'/>
+    <xsl:param name='attributes.node' select='.'/>
+
+    <w:p>
+      <xsl:if test='$style != "" or
+		    $outline.level != 0'>
+	<w:pPr>
+	  <xsl:if test='$style != ""'>
+            <w:pStyle w:val='{$style}'/>
+	  </xsl:if>
+
+	  <xsl:if test='$outline.level != 0'>
+            <w:outlineLvl w:val='{$outline.level}'/>
+	  </xsl:if>
+	</w:pPr>
+      </xsl:if>
+
+      <xsl:call-template name='attributes'>
+        <xsl:with-param name='node' select='$attributes.node'/>
+      </xsl:call-template>
+
+      <xsl:copy-of select='$content'/>
+    </w:p>
+  </xsl:template>
+
+  <xsl:template name='doc:make-phrase'>
+    <xsl:param name='style' select='"unknown"'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <w:r>
+      <xsl:if test='$style != ""'>
+	<w:rPr>
+	  <w:rStyle w:val='{$style}'/>
+	</w:rPr>
+      </xsl:if>
+
+      <w:t>
+        <xsl:copy-of select='$content'/>
+      </w:t>
+    </w:r>
+  </xsl:template>
+
+  <xsl:template name='doc:make-hyperlink'>
+    <xsl:param name='target'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <w:hlink w:dest='{$target}'>
+      <xsl:copy-of select='$content'/>
+    </w:hlink>
+  </xsl:template>
+
+  <xsl:template name='doc:make-table'>
+    <xsl:param name='columns'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <w:tbl>
+      <w:tblPr>
+        <w:tblW w:w="0" w:type="auto"/>
+        <w:tblInd w:w="108" w:type="dxa"/>
+        <w:tblLayout w:type="Fixed"/>
+      </w:tblPr>
+      <w:tblGrid>
+        <xsl:copy-of select='$columns'/>
+      </w:tblGrid>
+      <xsl:copy-of select='$content'/>
+    </w:tbl>
+  </xsl:template>
+
+  <xsl:template name='doc:make-column'>
+    <xsl:param name='width' select='0'/>
+
+    <w:gridcol w:w='{$width}'/>
+  </xsl:template>
+
+  <xsl:template name='doc:make-table-row'>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+    <xsl:param name='is-header' select='false()'/>
+
+    <w:tr>
+      <w:trPr>
+        <xsl:if test='$is-header'>
+          <w:tblHeader/>
+        </xsl:if>
+      </w:trPr>
+      <xsl:copy-of select='$content'/>
+    </w:tr>
+  </xsl:template>
+
+  <xsl:template name='doc:make-table-cell'>
+    <xsl:param name='width' select='0'/>
+    <xsl:param name='hidden' select='false()'/>
+    <xsl:param name='rowspan' select='1'/>
+    <xsl:param name='colspan' select='1'/>
+    <xsl:param name='content'>
+      <xsl:apply-templates mode='doc:body'/>
+    </xsl:param>
+
+    <w:tc>
+      <xsl:if test='$colspan != 1 or
+                    $width != 0'>
+        <w:tcPr>
+          <xsl:if test='$colspan != 1 or
+                        $width != 0'>
+            <w:tcW w:w='{$width}' w:type='dxa'/>
+          </xsl:if>
+          <xsl:if test='$hidden'>
+            <w:vmerge w:val='{$hidden}'/>
+          </xsl:if>
+          <xsl:if test='$rowspan != 1'>          
+            <w:vmerge w:val='restart'/>
+          </xsl:if>
+          <xsl:if test='$colspan != 1'>
+            <w:gridspan w:val='{$colspan}'/>
+          </xsl:if>
+        </w:tcPr>
+      </xsl:if>
+
+      <xsl:copy-of select='$content'/>
+    </w:tc>
+  </xsl:template>
+
+  <xsl:template name='doc:make-soft-break'>
+    <w:br/>
+  </xsl:template>
+
+  <xsl:template name='attributes'>
+    <xsl:param name='node' select='.'/>
+
+    <xsl:if test='$node/@*'>
+      <aml:annotation aml:id='{count(preceding::*) + 1}' w:type='Word.Comment.Start'/>
+      <w:r>
+        <w:rPr>
+          <w:rStyle w:val='attributes'/>
+        </w:rPr>
+        <w:t>
+          <xsl:text> </xsl:text>
+        </w:t>
+      </w:r>
+      <aml:annotation aml:id='{count(preceding::*) + 1}' w:type='Word.Comment.End'/>
+      <w:r>
+        <w:rPr>
+          <w:rStyle w:val='CommentReference'/>
+        </w:rPr>
+        <aml:annotation aml:id='{count(preceding::*) + 1}' aml:author="DocBook" aml:createdate='2004-12-23T00:01:00' w:type='Word.Comment' w:initials='DBK'>
+          <aml:content>
+            <w:p>
+              <w:pPr>
+                <w:pStyle w:val='CommentText'/>
+              </w:pPr>
+              <w:r>
+                <w:rPr>
+                  <w:rStyle w:val='CommentReference'/>
+                </w:rPr>
+                <w:annotationRef/>
+              </w:r>
+              <xsl:for-each select='$node/@*'>
+                <w:r>
+                  <w:rPr>
+                    <w:rStyle w:val='attribute-name'/>
+                  </w:rPr>
+                  <w:t>
+                    <xsl:value-of select='name()'/>
+                  </w:t>
+                </w:r>
+                <w:r>
+                  <w:t>=</w:t>
+                </w:r>
+                <w:r>
+                  <w:rPr>
+                    <w:rStyle w:val='attribute-value'/>
+                  </w:rPr>
+                  <w:t>
+                    <xsl:value-of select='.'/>
+                  </w:t>
+                </w:r>
+              </xsl:for-each>
+            </w:p>
+          </aml:content>
+        </aml:annotation>
+      </w:r>
+    </xsl:if>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/roundtrip/dbk2wp.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/dbk2wp.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/dbk2wp.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1044 @@
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:doc='http://docbook.org/ns/docbook'
+  exclude-result-prefixes='doc'>
+
+  <!-- ********************************************************************
+       $Id: dbk2wp.xsl 6463 2007-01-05 03:22:54Z balls $
+       ********************************************************************
+
+       This file is part of the XSL DocBook Stylesheet distribution.
+       See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+       and other information.
+
+       ******************************************************************** -->
+
+  <xsl:include href='../VERSION'/>
+
+  <!-- doc:docprop.author mode is for creating document metadata -->
+
+  <xsl:template match='author|editor' mode='doc:docprop.author'>
+    <xsl:apply-templates select='firstname|personname/firstname' mode='doc:docprop.author'/>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates select='surname|personname/surname' mode='doc:docprop.author'/>
+  </xsl:template>
+  <xsl:template match='authorinitials' mode='doc:docprop.author'>
+    <xsl:value-of select='.'/>
+  </xsl:template>
+
+  <!-- doc:toplevel mode is for processing whole documents -->
+
+  <xsl:template match='*' mode='doc:toplevel'>
+    <xsl:call-template name='doc:make-body'/>
+  </xsl:template>
+
+  <!-- doc:body mode is for processing components of a document -->
+
+  <xsl:template match='book|article|chapter|section|sect1|sect2|sect3|sect4|sect5|simplesect' mode='doc:body'>
+    <xsl:call-template name='doc:make-subsection'/>
+  </xsl:template>
+
+  <xsl:template match='articleinfo |
+		       chapterinfo |
+		       bookinfo' mode='doc:body'>
+    <xsl:apply-templates select='title|subtitle|titleabbrev' mode='doc:body'/>
+    <xsl:apply-templates select='author|releaseinfo' mode='doc:body'/>
+    <!-- current implementation ignores all other metadata -->
+    <xsl:for-each select='*[not(self::title|self::subtitle|self::titleabbrev|self::author|self::releaseinfo)]'>
+      <xsl:call-template name='doc:nomatch'/>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template match='title|subtitle|titleabbrev' mode='doc:body'>
+    <xsl:call-template name='doc:make-paragraph'>
+      <xsl:with-param name='style'>
+	<xsl:choose>
+          <xsl:when test='(parent::section or
+                          parent::sectioninfo/parent::section) and
+                          count(ancestor::section) > 5'>
+            <xsl:call-template name='doc:warning'>
+	      <xsl:with-param name='message'>section nested deeper than 5 levels</xsl:with-param>
+	    </xsl:call-template>
+            <xsl:text>sect5-</xsl:text>
+            <xsl:value-of select='name()'/>
+          </xsl:when>
+          <xsl:when test='parent::section or
+                          parent::sectioninfo/parent::section'>
+            <xsl:text>sect</xsl:text>
+            <xsl:value-of select='count(ancestor::section)'/>
+            <xsl:text>-</xsl:text>
+            <xsl:value-of select='name()'/>
+          </xsl:when>
+          <xsl:when test='contains(name(..), "info")'>
+            <xsl:value-of select='name(../..)'/>
+            <xsl:text>-</xsl:text>
+            <xsl:value-of select='name()'/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select='name(..)'/>
+            <xsl:text>-</xsl:text>
+            <xsl:value-of select='name()'/>
+          </xsl:otherwise>
+	</xsl:choose>
+      </xsl:with-param>
+      <xsl:with-param name='outline.level'
+		      select='count(ancestor::*) - count(parent::*[contains(name(), "info")]) - 1'/>
+      <xsl:with-param name='attributes.node'
+		      select='../parent::*[contains(name(current()), "info")] |
+			      parent::*[not(contains(name(current()), "info"))]'/>
+      <xsl:with-param name='content'>
+	<xsl:apply-templates mode='doc:body'/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
+  <doc:template name='metadata' xmlns=''>
+    <title>Metadata</title>
+
+    <para>TODO: Handle all metadata elements, apart from titles.</para>
+  </doc:template>
+  <xsl:template match='*[contains(name(), "info")]/*[not(self::title|self::subtitle|self::titleabbrev)]'
+		priority='0'
+		mode='doc:body'/>
+
+  <xsl:template match='author|editor|othercredit' mode='doc:body'>
+    <xsl:call-template name='doc:make-paragraph'>
+      <xsl:with-param name='style'
+		      select='name()'/>
+      <xsl:with-param name='content'>
+	<xsl:apply-templates select='personname|surname|firstname|honorific|lineage|othername|contrib'
+			     mode='doc:body'/>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <xsl:apply-templates select='affiliation|address' mode='doc:body'/>
+    <xsl:apply-templates select='authorblurb|personblurb' mode='doc:body'/>
+  </xsl:template>
+  <xsl:template match='affiliation' mode='doc:body'>
+    <xsl:call-template name='doc:make-paragraph'>
+      <xsl:with-param name='style' select='"affiliation"'/>
+      <xsl:with-param name='content'>
+	<xsl:apply-templates mode='doc:body'/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+  <xsl:template match='address[parent::author|parent::editor|parent::othercredit]'
+		mode='doc:body'>
+    <xsl:call-template name='doc:make-paragraph'>
+      <xsl:with-param name='style' select='"para-continue"'/>
+      <xsl:with-param name='content'>
+	<xsl:apply-templates mode='doc:body'/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+  <!-- do not attempt to handle recursive structures -->
+  <xsl:template match='address[not(parent::author|parent::editor|parent::othercredit)]'
+    mode='doc:body'>
+    <xsl:apply-templates select='node()[not(self::affiliation|self::authorblurb)]'/>
+  </xsl:template>
+  <!-- TODO -->
+  <xsl:template match='authorblurb|personblurb'
+    mode='doc:body'/>
+
+  <!-- TODO: handle inline markup (eg. emphasis) -->
+  <xsl:template match='surname|firstname|honorific|lineage|othername|contrib|email|shortaffil|jobtitle|orgname|orgdiv|street|pob|postcode|city|state|country|phone|fax|citetitle'
+    mode='doc:body'>
+    <xsl:if test='preceding-sibling::*'>
+      <xsl:call-template name='doc:make-phrase'>
+	<xsl:with-param name='content'>
+          <xsl:text> </xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:if>
+    <xsl:call-template name='doc:handle-linebreaks'>
+      <xsl:with-param name='style' select='name()'/>
+    </xsl:call-template>
+  </xsl:template>
+  <xsl:template match='email'
+    mode='doc:body'>
+    <xsl:variable name='address'>
+      <xsl:choose>
+        <xsl:when test='starts-with(., "mailto:")'>
+          <xsl:value-of select='.'/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>mailto:</xsl:text>
+          <xsl:value-of select='.'/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:call-template name='doc:make-hyperlink'>
+      <xsl:with-param name='target' select='$address'/>
+      <xsl:with-param name='content'>
+	<xsl:call-template name='doc:handle-linebreaks'>
+	  <xsl:with-param name='style'>Hyperlink</xsl:with-param>
+	</xsl:call-template>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+  <!-- otheraddr often contains ulink -->
+  <xsl:template match='otheraddr'
+    mode='doc:body'>
+    <xsl:choose>
+      <xsl:when test='ulink'>
+        <xsl:for-each select='ulink'>
+          <xsl:variable name='prev' select='preceding-sibling::ulink[1]'/>
+          <xsl:choose>
+            <xsl:when test='$prev'>
+              <xsl:for-each
+                select='preceding-sibling::node()[generate-id(following-sibling::ulink[1]) = generate-id(current())]'>
+		<xsl:call-template name='doc:handle-linebreaks'>
+		  <xsl:with-param name='style'>otheraddr</xsl:with-param>
+		</xsl:call-template>
+              </xsl:for-each>
+            </xsl:when>
+            <xsl:when test='preceding-sibling::node()'>
+	      <xsl:call-template name='doc:handle-linebreaks'>
+		<xsl:with-param name='style'>otheraddr</xsl:with-param>
+	      </xsl:call-template>
+            </xsl:when>
+          </xsl:choose>
+          <xsl:apply-templates select='.'/>
+        </xsl:for-each>
+        <xsl:if test='ulink[last()]/following-sibling::node()'>
+	  <xsl:call-template name='doc:handle-linebreaks'>
+	    <xsl:with-param name='content'
+	      select='ulink[last()]/following-sibling::node()'/>
+	    <xsl:with-param name='style'>otheraddr</xsl:with-param>
+	  </xsl:call-template>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:call-template name='doc:handle-linebreaks'>
+	  <xsl:with-param name='style'>otheraddr</xsl:with-param>
+	</xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match='ulink'
+    mode='doc:body'>
+    <xsl:call-template name='doc:make-hyperlink'>
+      <xsl:with-param name='target' select='@url'/>
+      <xsl:with-param name='content'>
+	<xsl:call-template name='doc:handle-linebreaks'>
+	  <xsl:with-param name='style'>Hyperlink</xsl:with-param>
+	</xsl:call-template>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
+  <!-- Cannot round-trip this element -->
+  <xsl:template match='personname'
+    mode='doc:body'>
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match='releaseinfo'
+    mode='doc:body'>
+    <xsl:call-template name='doc:make-paragraph'>
+      <xsl:with-param name='style' select='releaseinfo'/>
+    </xsl:call-template>
+  </xsl:template>
+
+  <xsl:template match='para'
+    mode='doc:body'>
+    <xsl:param name='class'/>
+
+    <xsl:variable name='block' select='blockquote|calloutlist|classsynopsis|funcsynopsis|figure|glosslist|graphic|informalfigure|informaltable|itemizedlist|literallayout|mediaobject|mediaobjectco|note|caution|warning|important|tip|orderedlist|programlisting|revhistory|segmentedlist|simplelist|table|variablelist'/>
+
+    <xsl:choose>
+      <xsl:when test='$block'>
+	<xsl:call-template name='doc:make-paragraph'>
+	  <xsl:with-param name='style'>
+            <xsl:choose>
+              <xsl:when test='$class != ""'>
+                <xsl:value-of select='$class'/>
+              </xsl:when>
+              <xsl:otherwise>para</xsl:otherwise>
+            </xsl:choose>
+	  </xsl:with-param>
+	  <xsl:with-param name='content'
+			  select='$block[1]/preceding-sibling::node()'/>
+        </xsl:call-template>
+
+        <xsl:for-each select='$block'>
+          <xsl:apply-templates select='.'/>
+
+	  <xsl:call-template name='doc:make-paragraph'>
+	    <xsl:with-param name='style'>
+              <xsl:choose>
+		<xsl:when test='$class != ""'>
+                  <xsl:value-of select='$class'/>
+		</xsl:when>
+		<xsl:otherwise>Normal</xsl:otherwise>
+              </xsl:choose>
+	    </xsl:with-param>
+	    <xsl:with-param name='content'
+			    select='following-sibling::node()[generate-id(preceding-sibling::*[self::blockquote|self::calloutlist|self::figure|self::glosslist|self::graphic|self::informalfigure|self::informaltable|self::itemizedlist|self::literallayout|self::mediaobject|self::mediaobjectco|self::note|self::caution|self::warning|self::important|self::tip|self::orderedlist|self::programlisting|self::revhistory|self::segmentedlist|self::simplelist|self::table|self::variablelist][1]) = generate-id(current())]'/>
+          </xsl:call-template>
+        </xsl:for-each>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:call-template name='doc:make-paragraph'>
+	  <xsl:with-param name='style'>
+            <xsl:choose>
+	      <xsl:when test='$class != ""'>
+                <xsl:value-of select='$class'/>
+	      </xsl:when>
+	      <xsl:otherwise>Normal</xsl:otherwise>
+            </xsl:choose>
+	  </xsl:with-param>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match='simpara'
+    mode='doc:body'>
+    <xsl:param name='class'/>
+
+    <xsl:call-template name='doc:make-paragraph'>
+      <xsl:with-param name='style'>
+        <xsl:choose>
+	  <xsl:when test='$class != ""'>
+            <xsl:value-of select='concat("sim-", $class)'/>
+	  </xsl:when>
+	  <xsl:otherwise>simpara</xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
+  <xsl:template match='emphasis'
+    mode='doc:body'>
+    <xsl:call-template name='doc:make-phrase'>
+      <xsl:with-param name='italic'>
+	<xsl:choose>
+	  <xsl:when test='not(@role)'>1</xsl:when>
+	  <xsl:otherwise>0</xsl:otherwise>
+	</xsl:choose>
+      </xsl:with-param>
+      <xsl:with-param name='bold'>
+	<xsl:choose>
+	  <xsl:when test='@role = "bold" or @role = "strong"'>1</xsl:when>
+	  <xsl:otherwise>0</xsl:otherwise>
+	</xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
+  <xsl:template match='informalfigure'
+    mode='doc:body'>
+    <xsl:if test='mediaobject/imageobject/imagedata'>
+      <xsl:call-template name='doc:make-paragraph'>
+	<xsl:with-param name='style' select='"informalfigure-imagedata"'/>
+	<xsl:with-param name='content'>
+	  <xsl:call-template name='doc:make-phrase'>
+	    <xsl:with-param name='content'>
+	      <xsl:apply-templates select='mediaobject/imageobject/imagedata/@fileref'
+				   mode='textonly'/>
+	    </xsl:with-param>
+	  </xsl:call-template>
+	</xsl:with-param>
+      </xsl:call-template>
+    </xsl:if>
+    <xsl:for-each select='*[not(self::mediaobject)]'>
+      <xsl:call-template name='doc:nomatch'/>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template match='mediaobject|mediaobjectco'
+    mode='doc:body'>
+    <xsl:apply-templates select='objectinfo/title'/>
+    <xsl:apply-templates select='objectinfo/subtitle'/>
+    <!-- TODO: indicate error for other children of objectinfo -->
+
+    <xsl:apply-templates select='*[not(self::objectinfo)]'/>
+  </xsl:template>
+  <xsl:template match='imageobject|imageobjectco|audioobject|videoobject'
+    mode='doc:body'>
+    <xsl:apply-templates select='objectinfo/title'/>
+    <xsl:apply-templates select='objectinfo/subtitle'/>
+    <!-- TODO: indicate error for other children of objectinfo -->
+
+    <xsl:apply-templates select='areaspec'/>
+
+    <xsl:choose>
+      <xsl:when test='imagedata|audiodata|videodata'>
+	<xsl:call-template name='doc:make-paragraph'>
+	  <xsl:with-param name='style'
+			  select='concat(name(), "-", name(imagedata|audiodata|videodata))'/>
+	  <xsl:with-param name='content'>
+	    <xsl:call-template name='doc:make-phrase'>
+	      <xsl:with-param name='content'>
+		<xsl:apply-templates select='*/@fileref'
+				     mode='textonly'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:with-param>
+	</xsl:call-template>
+      </xsl:when>
+      <xsl:when test='self::imageobjectco/imageobject/imagedata'>
+	<xsl:call-template name='doc:make-paragraph'>
+	  <xsl:with-param name='style'
+			  select='concat(name(), "-imagedata")'/>
+	  <xsl:with-param name='content'>
+	    <xsl:call-template name='doc:make-phrase'>
+	      <xsl:with-param name='content'>
+		<xsl:apply-templates select='*/@fileref'
+				     mode='textonly'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:with-param>
+	</xsl:call-template>
+      </xsl:when>
+    </xsl:choose>
+    <xsl:apply-templates select='calloutlist'/>
+
+    <xsl:for-each select='*[not(self::imageobject |
+			        self::imagedata |
+			        self::audiodata |
+				self::videodata |
+				self::areaspec  |
+				self::calloutlist)]'>
+      <xsl:call-template name='doc:nomatch'/>
+    </xsl:for-each>
+  </xsl:template>
+  <xsl:template match='textobject'
+    mode='doc:body'>
+    <xsl:choose>
+      <xsl:when test='objectinfo/title|objectinfo|subtitle'>
+	<xsl:apply-templates select='objectinfo/title'/>
+	<xsl:apply-templates select='objectinfo/subtitle'/>
+	<!-- TODO: indicate error for other children of objectinfo -->
+      </xsl:when>
+      <xsl:otherwise>
+	<!-- synthesize a title so that the parent textobject
+	     can be recreated.
+	  -->
+	<xsl:call-template name='doc:make-paragraph'>
+	  <xsl:with-param name='style' select='"textobject-title"'/>
+	  <xsl:with-param name='content'>
+	    <xsl:call-template name='doc:make-phrase'>
+	      <xsl:with-param name='content'>
+		<xsl:text>Text Object </xsl:text>
+		<xsl:number level='any'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:with-param>
+	</xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:apply-templates select='*[not(self::objectinfo)]'/>
+  </xsl:template>
+
+  <xsl:template match='caption'
+    mode='doc:body'>
+    <xsl:call-template name='doc:make-paragraph'>
+      <xsl:with-param name='style' select='"caption"'/>
+      <xsl:with-param name='content'>
+	<xsl:choose>
+	  <xsl:when test='not(*)'>
+	    <xsl:apply-templates/>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates select='para[1]/node()'/>
+	    <xsl:for-each select='text()|*[not(self::para)]|para[position() != 1]'>
+	      <xsl:call-template name='doc:nomatch'/>
+	    </xsl:for-each>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
+  <xsl:template match='area|areaspec'
+    mode='doc:body'>
+    <xsl:call-template name='doc:make-paragraph'>
+      <xsl:with-param name='style' select='name()'/>
+      <xsl:with-param name='content'/>
+    </xsl:call-template>
+  </xsl:template>
+
+  <xsl:template match='calloutlist'
+    mode='doc:body'>
+    <xsl:apply-templates select='callout'/>
+  </xsl:template>
+
+  <xsl:template match='callout'
+    mode='doc:body'>
+    <xsl:call-template name='doc:make-paragraph'>
+      <xsl:with-param name='style' select='"callout"'/>
+      <xsl:with-param name='content'>
+	<!-- Normally a para would be the first child of a callout -->
+	<xsl:apply-templates select='*[1][self::para]/node()' mode='list'/>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <!-- This is to catch the case where a listitem's first child is not a paragraph.
+       - We may not be able to represent this properly.
+      -->
+    <xsl:apply-templates select='*[1][not(self::para)]' mode='list'/>
+
+    <xsl:apply-templates select='*[position() != 1]' mode='list'/>
+  </xsl:template>
+
+  <xsl:template match='table|informaltable' mode='doc:body'>
+    <xsl:call-template name='doc:make-table'>
+      <xsl:with-param name='columns'>
+        <xsl:apply-templates select='tgroup/colspec' mode='doc:column'/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
+  <xsl:template match='colspec' mode='doc:column'>
+    <xsl:call-template name='doc:make-column'>
+      <xsl:with-param name='width' select='@colwidth'/>
+    </xsl:call-template>
+  </xsl:template>
+
+  <xsl:template match='colspec' mode='doc:body'/>
+
+  <xsl:template name='doc:repeat'>
+    <xsl:param name='repeats' select='0'/>
+    <xsl:param name='content'/>
+
+    <xsl:if test='$repeats > 0'>
+      <xsl:copy-of select='$content'/>
+      <xsl:call-template name='doc:repeat'>
+        <xsl:with-param name='repeats' select='$repeats - 1'/>
+        <xsl:with-param name='content' select='$content'/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:template>
+  <xsl:template match='tgroup|tbody|thead' mode='doc:body'>
+    <xsl:apply-templates/>
+  </xsl:template>
+  <xsl:template match='row' mode='doc:body'>
+    <xsl:call-template name='doc:make-table-row'>
+      <xsl:with-param name='is-header' select='boolean(parent::thead)'/>
+    </xsl:call-template>
+  </xsl:template>
+
+  <xsl:template match='entry' mode='doc:body'>
+
+    <!-- 
+         Position = Sum(i,preceding-sibling[@colspan = ""]) + entry[i]. at colspan)
+      -->
+
+    <xsl:variable name='position'>
+      <xsl:call-template name='doc:sum-sibling'>
+        <xsl:with-param name='sum' select='"1"'/>
+        <xsl:with-param name='node' select='.'/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name='limit' select='$position + @colspan'/>
+
+    <xsl:call-template name='doc:make-table-cell'>
+      <xsl:with-param name='width'>
+        <xsl:choose>
+          <xsl:when test='@colspan != ""'>
+
+            <!-- Select all the colspec nodes which correspond to the
+                 column. That is all the nodes between the current 
+                 column number and the column number plus the span.
+              -->
+
+            <xsl:variable name='combinedWidth'>
+              <xsl:call-template name='sum'>
+                <xsl:with-param name='nodes' select='ancestor::*[self::table|self::informaltable][1]/tgroup/colspec[not(position() &lt; $position) and position() &lt; $limit]'/>
+                <xsl:with-param name='sum' select='"0"'/>
+              </xsl:call-template>
+            </xsl:variable>
+            <xsl:value-of select='$combinedWidth'/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select='ancestor::*[self::table|self::informaltable][1]/tgroup/colspec[position() = $position]/@colwidth'/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+
+      <xsl:with-param name='hidden' select='@hidden'/>
+      <xsl:with-param name='rowspan' select='@rowspan'/>
+      <xsl:with-param name='colspan' select='@colspan'/>
+
+      <xsl:with-param name='content'>
+	<xsl:choose>
+          <xsl:when test='not(para)'>
+            <!-- TODO: check for any block elements -->
+	    <xsl:call-template name='doc:make-paragraph'/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates/>
+          </xsl:otherwise>
+	</xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
+  <!-- Calculates the position by adding the 
+       count of the preceding siblings where they aren't colspans
+       and adding the colspans of those entries which do.
+    -->
+
+  <xsl:template name='doc:sum-sibling'>    
+    <xsl:param name='sum'/>
+    <xsl:param name='node'/>
+
+    <xsl:variable name='add'>
+      <xsl:choose>
+        <xsl:when test='$node/preceding-sibling::entry/@colspan != ""'>
+          <xsl:value-of select='$node/preceding-sibling::entry/@colspan'/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select='"1"'/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:choose>
+      <xsl:when test='count($node/preceding-sibling::entry) &gt; 0'>
+        <xsl:call-template name='doc:sum-sibling'>
+          <xsl:with-param name='sum' select='$sum + $add'/>
+          <xsl:with-param name='node' select='$node/preceding-sibling::entry[1]'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select='$sum'/>
+      </xsl:otherwise>
+    </xsl:choose>
+    
+  </xsl:template>
+
+  <xsl:template name='doc:sum'>
+    <xsl:param name='sum' select='"0"'/>
+    <xsl:param name='nodes'/>
+
+    <xsl:variable name='tmpSum' select='$sum + $nodes[1]/@colwidth'/>
+
+    <xsl:choose>
+      <xsl:when test='count($nodes) &gt; 1'>
+        <xsl:call-template name='doc:sum'>
+          <xsl:with-param name='nodes' select='$nodes[position() != 1]'/>
+          <xsl:with-param name='sum' select='$tmpSum'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select='$tmpSum'/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <xsl:template match='*[self::para|self::simpara]/text()[string-length(normalize-space(.)) != 0]'
+    mode='doc:body'>
+    <xsl:call-template name='doc:handle-linebreaks'/>
+  </xsl:template>
+
+  <xsl:template match='text()[not(parent::para|parent::simpara|parent::literallayout|parent::programlisting)][string-length(normalize-space(.)) != 0]'
+    mode='doc:body'>
+    <xsl:call-template name='doc:handle-linebreaks'/>
+  </xsl:template>
+  <xsl:template match='text()[string-length(normalize-space(.)) = 0]'
+    mode='doc:body'/>
+  <xsl:template match='literallayout/text()|programlisting/text()'
+    mode='doc:body'>
+    <xsl:call-template name='doc:handle-linebreaks'/>
+  </xsl:template>
+  <xsl:template name='doc:handle-linebreaks'>
+    <xsl:param name='content' select='.'/>
+    <xsl:param name='style'/>
+
+    <xsl:choose>
+      <xsl:when test='not($content)'/>
+      <xsl:when test='contains($content, "&#xa;")'>
+	<xsl:call-template name='doc:make-phrase'>
+	  <xsl:with-param name='style' select='$style'/>
+	  <xsl:with-param name='content'
+			  select='substring-before($content, "&#xa;")'/>
+        </xsl:call-template>
+
+        <xsl:call-template name='doc:handle-linebreaks-aux'>
+          <xsl:with-param name='content'
+            select='substring-after($content, "&#xa;")'/>
+	  <xsl:with-param name='style' select='$style'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:call-template name='doc:make-phrase'>
+          <xsl:with-param name='style' select='$style'/>
+	  <xsl:with-param name='content' select='$content'/>
+	</xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <!-- pre-condition: leading linefeed has been stripped -->
+  <xsl:template name='doc:handle-linebreaks-aux'>
+    <xsl:param name='content'/>
+    <xsl:param name='style'/>
+
+    <xsl:choose>
+      <xsl:when test='contains($content, "&#xa;")'>
+        <xsl:call-template name='doc:make-phrase'>
+	  <xsl:with-param name='style' select='$style'/>
+	  <xsl:with-param name='content'>
+	    <xsl:call-template name='doc:make-soft-break'/>
+            <xsl:value-of select='substring-before($text, "&#xa;")'/>
+          </xsl:with-param>
+        </xsl:call-template>
+        <xsl:call-template name='doc:handle-linebreaks-aux'>
+          <xsl:with-param name='content'
+			  select='substring-after($content, "&#xa;")'/>
+	  <xsl:with-param name='style' select='$style'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name='doc:make-phrase'>
+	  <xsl:with-param name='style' select='$style'/>
+	  <xsl:with-param name='content'>
+	    <xsl:call-template name='doc:make-soft-break'/>
+            <xsl:value-of select='$text'/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='authorblurb|formalpara|legalnotice|note|caution|warning|important|tip'
+    mode='doc:body'>
+    <xsl:apply-templates select='*'>
+      <xsl:with-param name='class'>
+        <xsl:value-of select='name()'/>
+      </xsl:with-param>
+    </xsl:apply-templates>
+  </xsl:template>
+
+  <xsl:template match='blockquote'
+    mode='doc:body'>
+    <xsl:apply-templates select='blockinfo|title'>
+      <xsl:with-param name='class'>
+        <xsl:value-of select='name()'/>
+      </xsl:with-param>
+    </xsl:apply-templates>
+    <xsl:apply-templates select='*[not(self::blockinfo|self::title|self::attribution)]'>
+      <xsl:with-param name='class' select='"blockquote"'/>
+    </xsl:apply-templates>
+    <xsl:if test='attribution'>
+      <xsl:call-template name='doc:make-paragraph'>
+	<xsl:with-param name='style' select='"blockquote-attribution"'/>
+	<xsl:with-param name='content'>
+          <xsl:apply-templates select='attribution/node()'/>
+	</xsl:with-param>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match='literallayout|programlisting'
+    mode='doc:body'>
+    <xsl:param name='class'/>
+
+    <xsl:call-template name='doc:make-paragraph'>
+      <xsl:with-param name='style' select='name()'/>
+    </xsl:call-template>
+  </xsl:template>
+
+  <xsl:template match='bridgehead'
+    mode='doc:body'>
+    <xsl:call-template name='doc:make-paragraph'>
+      <xsl:with-param name='style' select='"bridgehead"'/>
+    </xsl:call-template>
+  </xsl:template>
+
+  <xsl:template match='itemizedlist|orderedlist'
+    mode='doc:body'>
+    <xsl:apply-templates select='listitem'
+      mode='doc:body'/>
+  </xsl:template>
+
+  <xsl:template match='listitem'
+    mode='doc:body'>
+    <xsl:call-template name='doc:make-paragraph'>
+      <xsl:with-param name='style'
+		      select='concat(name(..), 
+			      count(ancestor::itemizedlist|ancestor::orderedlist))'/>
+      <xsl:with-param name='is-listitem' select='true()'/>
+
+      <xsl:with-param name='content'>
+	<!-- Normally a para would be the first child of a listitem -->
+	<xsl:apply-templates select='*[1][self::para]/node()' mode='list'/>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <!-- This is to catch the case where a listitem's first child is not a paragraph.
+       - We may not be able to represent this properly.
+      -->
+    <xsl:apply-templates select='*[1][not(self::para)]' mode='doc:list'/>
+
+    <xsl:apply-templates select='*[position() != 1]' mode='doc:list'/>
+  </xsl:template>  
+
+  <xsl:template match='*' mode='doc:list'>
+    <xsl:apply-templates select='.'>
+      <xsl:with-param name='class' select='"para-continue"'/>
+    </xsl:apply-templates>
+  </xsl:template>
+
+  <xsl:template match='variablelist'
+    mode='doc:body'>
+    <xsl:apply-templates select='*[not(self::varlistentry)]'/>
+
+    <xsl:call-template name='doc:make-table'>
+      <xsl:with-param name='columns'>
+	<xsl:call-template name='doc:make-column'>
+	  <xsl:with-param name='width' select='"1"'/>
+	  <xsl:with-param name='width' select='"3"'/>
+	</xsl:call-template>
+      </xsl:with-param>
+      <xsl:with-param name='rows'>
+	<xsl:apply-templates select='varlistentry'/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+  <xsl:template match='varlistentry'
+    mode='doc:body'>
+    <xsl:call-template name='doc:make-table-row'>
+      <xsl:with-param name='content'>
+	<xsl:call-template name='doc:make-table-cell'>
+	  <xsl:with-param name='content'>
+	    <xsl:call-template name='doc:make-paragraph'>
+	      <xsl:with-param name='style' select='"variablelist-term"'/>
+	      <xsl:with-param name='content'>
+		<xsl:apply-templates select='term[1]/node()'/>
+		<xsl:for-each select='term[position() != 1]'>
+		  <xsl:call-template name='doc:make-phrase'>
+		    <xsl:with-param name='content'>
+		      <xsl:call-template name='doc:make-soft-break'/>
+		    </xsl:with-param>
+		  </xsl:call-template>
+		  <xsl:apply-templates/>
+		</xsl:for-each>
+              </xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:with-param>
+	</xsl:call-template>
+	<xsl:call-template name='doc:make-table-cell'>
+	  <xsl:with-param name='content'>
+            <xsl:apply-templates select='listitem/node()'/>
+	  </xsl:with-param>
+	</xsl:call-template>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
+  <!-- These elements are not displayed.
+     - However, they may need to be added (perhaps as hidden text)
+     - for round-tripping.
+    -->
+  <xsl:template match='anchor|areaset|audiodata|audioobject|
+                       beginpage|
+                       constraint|
+                       indexterm|itermset|
+                       keywordset|
+                       msg'
+    mode='doc:body'/>
+
+  <xsl:template match='*' name='doc:nomatch'>
+    <xsl:message>
+      <xsl:value-of select='name()'/>
+      <xsl:text> encountered</xsl:text>
+      <xsl:if test='parent::*'>
+        <xsl:text> in </xsl:text>
+        <xsl:value-of select='name(parent::*)'/>
+      </xsl:if>
+      <xsl:text>, but no template matches.</xsl:text>
+    </xsl:message>
+
+    <xsl:choose>
+      <xsl:when test='self::abstract |
+                      self::ackno |
+                      self::address |
+                      self::answer |
+                      self::appendix |
+                      self::artheader |
+                      self::authorgroup |
+                      self::bibliodiv |
+                      self::biblioentry |
+                      self::bibliography |
+                      self::bibliomixed |
+                      self::bibliomset |
+                      self::biblioset |
+                      self::bridgehead |
+                      self::calloutlist |
+                      self::caption |
+                      self::classsynopsis |
+                      self::colophon |
+                      self::constraintdef |
+                      self::copyright |
+                      self::dedication |
+                      self::epigraph |
+                      self::equation |
+                      self::example |
+                      self::figure |
+                      self::funcsynopsis |
+                      self::glossary |
+                      self::glossdef |
+                      self::glossdiv |
+                      self::glossentry |
+                      self::glosslist |
+                      self::graphic |
+                      self::highlights |
+                      self::imageobject |
+                      self::imageobjectco |
+                      self::index |
+                      self::indexdiv |
+                      self::indexentry |
+                      self::informalequation |
+                      self::informalexample |
+                      self::informalfigure |
+                      self::lot |
+                      self::lotentry |
+                      self::mediaobject |
+                      self::mediaobjectco |
+                      self::member |
+                      self::msgentry |
+                      self::msgset |
+                      self::part |
+                      self::partintro |
+                      self::personblurb |
+                      self::preface |
+                      self::printhistory |
+                      self::procedure |
+                      self::programlisting |
+                      self::programlistingco |
+                      self::publisher |
+                      self::qandadiv |
+                      self::qandaentry |
+                      self::qandaset |
+                      self::question |
+                      self::refdescriptor |
+                      self::refentry |
+                      self::refentrytitle |
+                      self::reference |
+                      self::refmeta |
+                      self::refname |
+                      self::refnamediv |
+                      self::refpurpose |
+                      self::refsect1 |
+                      self::refsect2 |
+                      self::refsect3 |
+                      self::refsection |
+                      self::refsynopsisdiv |
+                      self::screen |
+                      self::screenco |
+                      self::screenshot |
+                      self::seg |
+                      self::seglistitem |
+                      self::segmentedlist |
+                      self::segtitle |
+                      self::set |
+                      self::setindex |
+                      self::sidebar |
+                      self::simplelist |
+                      self::simplemsgentry |
+                      self::step |
+                      self::stepalternatives |
+                      self::subjectset |
+                      self::substeps |
+                      self::task |
+                      self::textobject |
+                      self::toc |
+                      self::videodata |
+                      self::videoobject |
+                      self::*[not(starts-with(name(), "informal")) and contains(name(), "info")]'>
+	<xsl:call-template name='doc:make-paragraph'>
+	  <xsl:with-param name='style' select='"blockerror"'/>
+	  <xsl:with-param name='content'>
+	    <xsl:call-template name='doc:make-phrase'>
+	      <xsl:with-param name='content'>
+		<xsl:value-of select='name()'/>
+		<xsl:text> encountered</xsl:text>
+		<xsl:if test='parent::*'>
+                  <xsl:text> in </xsl:text>
+                  <xsl:value-of select='name(parent::*)'/>
+		</xsl:if>
+		<xsl:text>, but no template matches.</xsl:text>
+              </xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+	</xsl:call-template>
+      </xsl:when>
+      <!-- Some elements are sometimes blocks, sometimes inline
+      <xsl:when test='self::affiliation |
+                      self::alt |
+                      self::attribution |
+                      self::collab |
+                      self::collabname |
+                      self::confdates |
+                      self::confgroup |
+                      self::confnum |
+                      self::confsponsor |
+                      self::conftitle |
+                      self::contractnum |
+                      self::contractsponsor |
+                      self::contrib |
+                      self::corpauthor |
+                      self::corpcredit |
+                      self::corpname |
+                      self::edition |
+                      self::editor |
+                      self::jobtitle |
+                      self::personname |
+                      self::publishername |
+                      self::remark'>
+
+      </xsl:when>
+      -->
+      <xsl:otherwise>
+        <xsl:call-template name='doc:make-phrase'>
+          <xsl:with-param name='style' select='"inlineerror"'/>
+	  <xsl:with-param name='content'>
+            <xsl:value-of select='name()'/>
+            <xsl:text> encountered</xsl:text>
+            <xsl:if test='parent::*'>
+              <xsl:text> in </xsl:text>
+              <xsl:value-of select='name(parent::*)'/>
+            </xsl:if>
+            <xsl:text>, but no template matches.</xsl:text>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='*' mode='doc:copy'>
+    <xsl:copy>
+      <xsl:apply-templates select='@*' mode='doc:copy'/>
+      <xsl:apply-templates mode='doc:copy'/>
+    </xsl:copy>
+  </xsl:template>
+  <xsl:template match='@*' mode='doc:copy'>
+    <xsl:copy/>
+  </xsl:template>
+
+  <!-- Stubs: the importing stylesheet must override these -->
+
+  <!-- stub template for creating a paragraph -->
+  <xsl:template name='doc:make-paragraph'>
+  </xsl:template>
+  <!-- stub template for creating a phrase -->
+  <xsl:template name='doc:make-phrase'>
+  </xsl:template>
+
+  <!-- stub template for inserting attributes -->
+  <xsl:template name='doc:attributes'/>
+
+  <!-- emit a message -->
+  <xsl:template name='doc:warning'>
+    <xsl:param name='message'/>
+
+    <xsl:message>WARNING: <xsl:value-of select='$message'/></xsl:message>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/roundtrip/docbook-pages.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/docbook-pages.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/docbook-pages.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1478 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:sfa="http://developer.apple.com/namespaces/sfa"
+  xmlns:sf="http://developer.apple.com/namespaces/sf"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:sl="http://developer.apple.com/namespaces/sl"
+  xmlns:xi="http://www.w3.org/2001/XInclude"
+  xmlns:w='urn:not-yet-implemented'
+  xmlns:wx='urn:not-yet-implemented'
+  xmlns:aml='urn:not-yet-implemented'
+  xmlns:doc='http://www.oasis-open.org/docbook/xml/4.0'
+  exclude-result-prefixes='doc xi w wx aml'>
+
+  <xsl:output method="xml" indent='yes' encoding='ascii'/>
+
+  <!-- ********************************************************************
+       $Id: docbook-pages.xsl 6463 2007-01-05 03:22:54Z balls $
+       ********************************************************************
+
+       This file is part of the XSL DocBook Stylesheet distribution.
+       See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+       and other information.
+
+       ******************************************************************** -->
+
+  <xsl:include href='../VERSION'/>
+  <xsl:include href='param.xsl'/>
+
+  <xsl:variable name='templatedoc' select='document($pages.template)'/>
+
+  <!-- Lookup style identifiers from their user-visible name -->
+  <xsl:variable name='paragraph-styles'
+		select='$templatedoc//sf:paragraphstyle'/>
+  <xsl:variable name='character-styles'
+		select='$templatedoc//sf:characterstyle'/>
+
+  <xsl:template match="/" name='pages.top'>
+    <xsl:param name='doc' select='/'/>
+
+    <xsl:if test='not($pages.template)'>
+      <xsl:message terminate='yes'>Please specify the template document with the "pages.template" parameter</xsl:message>
+    </xsl:if>
+    <xsl:if test='not($templatedoc)'>
+      <xsl:message terminate='yes'>Unable to open template document "<xsl:value-of select='$pages.template'/>"</xsl:message>
+    </xsl:if>
+
+    <sl:document
+      sfa:ID="SLPublicationModel-0"
+      sl:version="2004093000"
+      sl:generator="slingshot"
+      sl:app_build_date="Mar  4 2005, 11:22:49">
+
+      <xsl:apply-templates select='$templatedoc/sl:document/*[not(self::sf:text-storage)]' mode='copy'/>
+
+      <xsl:apply-templates select='$doc/*' mode='toplevel'/>
+
+      <xsl:apply-templates select='$templatedoc/sl:document/sf:text-storage/following-sibling::*' mode='copy'/>
+    </sl:document>
+  </xsl:template>
+
+  <xsl:template match='book|article|chapter|preface|appendix' mode='toplevel'>
+    <sf:text-storage sf:kind='body' sfa:ID='SFWPStorage-7'>
+      <sf:stylesheet-ref sfa:IDREF='SFSStylesheet-1'/>
+      <sf:text-body>
+        <sf:page-start sf:page-index='0'/>
+        <sf:container-hint sf:page-index="0" sf:cindex="0" sf:sindex="0" sf:lindex="0" sf:frame-x="56.692913055419922" sf:frame-y="56.692913055419922" sf:frame-w="481.61416625976562" sf:frame-h="714" sf:anchor-loc="0"/>
+
+        <sf:section sf:name="Chapter 1" sf:style="section-style-0">
+          <sf:layout sf:style="layout-style-20">
+            <xsl:apply-templates select='*'/>
+          </sf:layout>
+        </sf:section>
+      </sf:text-body>
+    </sf:text-storage>
+  </xsl:template>
+
+  <xsl:template match='book|article|part|section|sect1|sect2|sect3|sect4|sect5|simplesect|bibliodiv'>
+    <xsl:apply-templates select='*'/>
+  </xsl:template>
+
+  <xsl:template match='articleinfo|bookinfo|chapterinfo|prefaceinfo|appendixinfo'>
+    <xsl:apply-templates select='title|subtitle|titleabbrev'/>
+    <xsl:apply-templates select='author|releaseinfo|revhistory|abstract'/>
+    <!-- current implementation ignores all other metadata -->
+    <xsl:for-each select='*[not(self::title|self::subtitle|self::titleabbrev|self::author|self::releaseinfo|self::revhistory|self::abstract)]'>
+      <xsl:call-template name='nomatch'/>
+    </xsl:for-each>
+  </xsl:template>
+
+  <!-- It is easier for authors to have metadata for a component 
+       appearing after the corresponding title, rather than before it.
+       The reverse transformation will put things back the right way.
+    -->
+
+  <xsl:template match='sectioninfo|sect1info|sect2info|sect3info|sect4info|sect5info |
+		       appendix|bibliography|chapter'>
+    <xsl:apply-templates select='title|subtitle|titleabbrev'/>
+    <xsl:apply-templates select='*[local-name() = concat(local-name(current()), "info")]'/>
+    <xsl:apply-templates select='*[not(self::title|self::subtitle|self::titleabbrev) and
+				 local-name() != concat(local-name(current()), "info")]'/>
+  </xsl:template>
+
+  <xsl:template match='title|subtitle|titleabbrev'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+        <xsl:choose>
+          <xsl:when test='(parent::section or
+                          parent::sectioninfo/parent::section) and
+                          count(ancestor::section) > 5'>
+            <xsl:message>section nested deeper than 5 levels</xsl:message>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>
+		<xsl:text>sect5-</xsl:text>
+		<xsl:value-of select='name()'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+          </xsl:when>
+	  <xsl:when test='parent::sectioninfo'>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>
+		<xsl:text>sect</xsl:text>
+		<xsl:value-of select='count(ancestor::section)'/>
+		<xsl:text>-</xsl:text>
+		<xsl:value-of select='name()'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:when>
+          <xsl:when test='parent::sect1info |
+			  parent::sect2info |
+			  parent::sect3info |
+			  parent::sect4info |
+			  parent::sect5info |
+			  parent::appendixinfo |
+			  parent::bibliographyinfo |
+			  parent::chapterinfo'>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>
+		<xsl:value-of select='substring-before(name(..), "info")'/>
+		<xsl:text>-</xsl:text>
+		<xsl:value-of select='name()'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:when>
+	  <xsl:when test='parent::section'>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>
+		<xsl:text>sect</xsl:text>
+		<xsl:value-of select='count(ancestor::section)'/>
+		<xsl:text>-</xsl:text>
+		<xsl:value-of select='name()'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:when>
+          <xsl:when test='parent::sect1 |
+			  parent::sect2 |
+			  parent::sect3 |
+			  parent::sect4 |
+			  parent::sect5 |
+			  parent::appendix |
+			  parent::bibliography |
+			  parent::bibliodiv |
+			  parent::biblioentry |
+			  parent::chapter |
+			  parent::qandaset |
+			  parent::qandadiv'>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>
+		<xsl:value-of select='name(..)'/>
+		<xsl:text>-</xsl:text>
+		<xsl:value-of select='name()'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+          </xsl:when>
+          <xsl:when test='parent::book|../parent::book |
+			  parent::article|../parent::article |
+			  parent::part|../parent::part|
+			  parent::formalpara'>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>
+		<xsl:value-of select='name(ancestor::*[self::book|self::article|self::part|self::formalpara][1])'/>
+		<xsl:text>-</xsl:text>
+		<xsl:value-of select='name()'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+          </xsl:when>
+	  <xsl:when test='parent::objectinfo|parent::blockinfo'>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>
+		<xsl:value-of select='name(../..)'/>
+		<xsl:text>-</xsl:text>
+		<xsl:value-of select='name()'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:when>
+          <xsl:otherwise>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>Title</xsl:with-param>
+	    </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+       </xsl:attribute>
+
+       <xsl:apply-templates/>
+       <sf:br/>
+    </sf:p>
+  </xsl:template>
+
+  <doc:template name='metadata' xmlns=''>
+    <title>Metadata</title>
+
+    <para>TODO: Handle all metadata elements, apart from titles.</para>
+  </doc:template>
+  <xsl:template match='*[contains(name(), "info")]/*[not(self::title|self::subtitle|self::titleabbrev)]' priority='0'/>
+
+  <xsl:template match='author|editor|othercredit'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name'>
+	    <xsl:value-of select='name()'/>
+	  </xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates select='personname|surname|firstname|honorific|lineage|othername|contrib'/>
+      <sf:br/>
+    </sf:p>
+    <xsl:apply-templates select='affiliation|address'/>
+    <xsl:apply-templates select='authorblurb|personblurb'/>
+  </xsl:template>
+  <xsl:template match='affiliation'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name'>affiliation</xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates/>
+      <sf:br/>
+    </sf:p>
+  </xsl:template>
+  <xsl:template match='address[parent::author|parent::editor|parent::othercredit|parent::publisher]'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name'>para-continue</xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates/>
+      <sf:br/>
+    </sf:p>
+  </xsl:template>
+  <!-- do not attempt to handle recursive structures -->
+  <xsl:template match='address[not(parent::author|parent::editor|parent::othercredit|parent::publisher)]'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name'>address</xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+      <xsl:apply-templates select='node()[not(self::affiliation|self::authorblurb)]'/>
+      <sf:br/>
+    </sf:p>
+  </xsl:template>
+  <!-- TODO -->
+  <xsl:template match='authorblurb|personblurb'/>
+
+  <xsl:template match='surname|firstname|honorific|lineage|othername|contrib|email|shortaffil|jobtitle|orgname|orgdiv|street|pob|postcode|city|state|country|phone|fax|citetitle'>
+    <xsl:if test='preceding-sibling::*'>
+      <xsl:text> </xsl:text>
+    </xsl:if>
+    <sf:span>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-character-style'>
+	  <xsl:with-param name='name'>
+	    <xsl:value-of select='name()'/>
+	  </xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates mode='text-run'/>
+    </sf:span>
+  </xsl:template>
+  <xsl:template match='email'>
+    <xsl:variable name='address'>
+      <xsl:choose>
+        <xsl:when test='starts-with(., "mailto:")'>
+          <xsl:value-of select='.'/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>mailto:</xsl:text>
+          <xsl:value-of select='.'/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <sf:link href='{$address}'>
+      <sf:span>
+	<xsl:attribute name='sf:style'>
+	  <xsl:call-template name='lookup-character-style'>
+	    <xsl:with-param name='name'>email</xsl:with-param>
+	  </xsl:call-template>
+	</xsl:attribute>
+        <xsl:apply-templates mode='text-run'/>
+      </sf:span>
+    </sf:link>
+  </xsl:template>
+  <!-- otheraddr often contains ulink -->
+  <xsl:template match='otheraddr'>
+    <xsl:choose>
+      <xsl:when test='ulink'>
+        <xsl:for-each select='ulink'>
+          <xsl:variable name='prev' select='preceding-sibling::ulink[1]'/>
+          <xsl:choose>
+            <xsl:when test='$prev'>
+              <xsl:for-each
+                select='preceding-sibling::node()[generate-id(following-sibling::ulink[1]) = generate-id(current())]'>
+                <sf:span>
+		  <xsl:attribute name='sf:style'>
+		    <xsl:call-template name='lookup-character-style'>
+		      <xsl:with-param name='name'>otheraddr</xsl:with-param>
+		    </xsl:call-template>
+		  </xsl:attribute>
+                  <xsl:apply-templates select='.' mode='text-run'/>
+                </sf:span>
+              </xsl:for-each>
+            </xsl:when>
+            <xsl:when test='preceding-sibling::node()'>
+              <sf:span>
+		<xsl:attribute name='sf:style'>
+		  <xsl:call-template name='lookup-character-style'>
+		    <xsl:with-param name='name'>otheraddr</xsl:with-param>
+		  </xsl:call-template>
+		</xsl:attribute>
+                <xsl:apply-templates mode='text-run'/>
+              </sf:span>
+            </xsl:when>
+          </xsl:choose>
+          <xsl:apply-templates select='.'/>
+        </xsl:for-each>
+        <xsl:if test='ulink[last()]/following-sibling::node()'>
+          <sf:span>
+	    <xsl:attribute name='sf:style'>
+	      <xsl:call-template name='lookup-character-style'>
+		<xsl:with-param name='name'>otheraddr</xsl:with-param>
+	      </xsl:call-template>
+	    </xsl:attribute>
+            <xsl:apply-templates select='ulink[last()]/following-sibling::node()' mode='text-run'/>
+          </sf:span>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+        <sf:span>
+	  <xsl:attribute name='sf:style'>
+	    <xsl:call-template name='lookup-character-style'>
+	      <xsl:with-param name='name'>otheraddr</xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:attribute>
+          <xsl:apply-templates mode='text-run'/>
+        </sf:span>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match='ulink'>
+    <sf:link href='{@url}'>
+      <sf:span>
+	<xsl:attribute name='sf:style'>
+	  <xsl:call-template name='lookup-character-style'>
+	    <xsl:with-param name='name'>ulink</xsl:with-param>
+	  </xsl:call-template>
+	</xsl:attribute>
+      </sf:span>
+      <xsl:apply-templates mode='text-run'/>
+    </sf:link>
+  </xsl:template>
+
+  <xsl:template match='inlinegraphic'>
+    <sf:span>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-character-style'>
+	  <xsl:with-param name='name' select='name()'/>
+	</xsl:call-template>
+      </xsl:attribute>
+      <xsl:value-of select='@fileref'/>
+    </sf:span>
+  </xsl:template>
+
+  <!-- Cannot round-trip this element -->
+  <xsl:template match='personname'>
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match='releaseinfo|bibliomisc|bibliorelation|publishername|isbn'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name' select='name()'/>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates/>
+      <sf:br/>
+    </sf:p>
+  </xsl:template>
+
+  <xsl:template match='revhistory|biblioentry'>
+    <xsl:apply-templates/>
+  </xsl:template>
+  <xsl:template match='revision'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name'>revision</xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:call-template name='attributes'/>
+
+      <!-- not currently supporting author -->
+      <xsl:apply-templates select='revnumber|date|authorinitials'/>
+      <sf:br/>
+    </sf:p>
+    <!-- not currently supporting revdescription -->
+    <xsl:apply-templates select='revremark'/>
+  </xsl:template>
+  <xsl:template match='revnumber|date|authorinitials'>
+    <xsl:if test='preceding-sibling::*'>
+      <xsl:text> </xsl:text>
+    </xsl:if>
+    <sf:span>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-character-style'>
+	  <xsl:with-param name='name'>
+	    <xsl:value-of select='name()'/>
+	  </xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates/>
+    </sf:span>
+  </xsl:template>
+  <xsl:template match='revremark'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name'>revremark</xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates/>
+      <sf:br/>
+    </sf:p>
+  </xsl:template>
+
+  <xsl:template match='abstract'>
+    <xsl:apply-templates>
+      <xsl:with-param name='class'>abstract</xsl:with-param>
+    </xsl:apply-templates>
+  </xsl:template>
+
+  <xsl:template match='para'>
+    <xsl:param name='class'/>
+
+    <xsl:variable name='block' select='blockquote|calloutlist|classsynopsis|funcsynopsis|figure|glosslist|graphic|informalfigure|informaltable|itemizedlist|literallayout|mediaobject|mediaobjectco|note|caution|warning|important|tip|orderedlist|programlisting|programlistingco|revhistory|segmentedlist|simplelist|table|variablelist'/>
+
+    <xsl:choose>
+      <xsl:when test='$block'>
+        <sf:p>
+	  <xsl:call-template name='para-style'>
+	    <xsl:with-param name='class' select='$class'/>
+	  </xsl:call-template>
+
+          <xsl:call-template name='attributes'/>
+
+          <xsl:apply-templates select='$block[1]/preceding-sibling::node()'/>
+          <sf:br/>
+        </sf:p>
+        <xsl:for-each select='$block'>
+          <xsl:apply-templates select='.'/>
+          <sf:p>
+	    <xsl:call-template name='para-style'>
+	      <xsl:with-param name='class' select='$class'/>
+	    </xsl:call-template>
+            <xsl:apply-templates select='following-sibling::node()[generate-id(preceding-sibling::*[self::blockquote|self::calloutlist|self::figure|self::glosslist|self::graphic|self::informalfigure|self::informaltable|self::itemizedlist|self::literallayout|self::mediaobject|self::mediaobjectco|self::note|self::caution|self::warning|self::important|self::tip|self::orderedlist|self::programlisting|self::programlistingco|self::revhistory|self::segmentedlist|self::simplelist|self::table|self::variablelist][1]) = generate-id(current())]'/>
+            <sf:br/>
+          </sf:p>
+        </xsl:for-each>
+      </xsl:when>
+      <xsl:otherwise>
+        <sf:p>
+	  <xsl:call-template name='para-style'>
+	    <xsl:with-param name='class' select='$class'/>
+	  </xsl:call-template>
+
+          <xsl:call-template name='attributes'/>
+
+          <xsl:apply-templates/>
+          <sf:br/>
+        </sf:p>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match='simpara'>
+    <xsl:param name='class'/>
+
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name'>simpara</xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates/>
+      <sf:br/>
+    </sf:p>
+  </xsl:template>
+  <xsl:template name='para-style'>
+    <xsl:param name='class'/>
+
+    <xsl:variable name='style' select='$paragraph-styles[@sf:name = $class]'/>
+
+    <xsl:attribute name='sf:style'>
+      <xsl:choose>
+	<xsl:when test='$style'>
+	  <xsl:value-of select='$style/@sf:ident'/>
+	</xsl:when>
+	<xsl:otherwise>
+	  <xsl:call-template name='lookup-paragraph-style'>
+	    <xsl:with-param name='name'>para</xsl:with-param>
+	  </xsl:call-template>
+	</xsl:otherwise>
+      </xsl:choose>
+    </xsl:attribute>
+  </xsl:template>
+
+  <xsl:template match='emphasis'>
+    <sf:span>
+      <xsl:attribute name='sf:style'>
+	<xsl:choose>
+          <xsl:when test='@role = "underline"'>
+            <xsl:call-template name='lookup-character-style'>
+	      <xsl:with-param name='name'>emphasis-underline</xsl:with-param>
+	    </xsl:call-template>
+          </xsl:when>
+          <xsl:when test='@role = "bold" or @role = "strong"'>
+            <xsl:call-template name='lookup-character-style'>
+	      <xsl:with-param name='name'>emphasis-bold</xsl:with-param>
+	    </xsl:call-template>
+          </xsl:when>
+          <xsl:when test='not(@role) or @role="italic"'>
+            <xsl:call-template name='lookup-character-style'>
+	      <xsl:with-param name='name'>emphasis</xsl:with-param>
+	    </xsl:call-template>
+          </xsl:when>
+	</xsl:choose>
+      </xsl:attribute>
+
+      <xsl:apply-templates/>
+    </sf:span>
+  </xsl:template>
+
+  <xsl:template match='filename|sgmltag|application|literal'>
+    <sf:span>
+      <xsl:attribute name='sf:style'>
+        <xsl:call-template name='lookup-character-style'>
+	  <xsl:with-param name='name'>
+	    <xsl:value-of select='name()'/>
+	  </xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates/>
+    </sf:span>
+  </xsl:template>
+
+  <xsl:template match='example|figure'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name'>
+	    <xsl:value-of select='name()'/>
+	    <xsl:text>-title</xsl:text>
+	  </xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates select='title' mode='textonly'/>
+      <sf:br/>
+    </sf:p>
+    <xsl:apply-templates select='*[not(self::title)][1]'/>
+    <xsl:apply-templates select='*[not(self::title)][position() != 1]'
+			 mode='error'/>
+  </xsl:template>
+
+  <xsl:template match='informalfigure'>
+    <xsl:if test='mediaobject/imageobject/imagedata'>
+      <sf:p>
+	<xsl:attribute name='sf:style'>
+	  <xsl:call-template name='lookup-paragraph-style'>
+	    <xsl:with-param name='name'>informalfigure-imagedata</xsl:with-param>
+	  </xsl:call-template>
+	</xsl:attribute>
+
+	<xsl:apply-templates select='mediaobject/imageobject/imagedata/@fileref'
+			     mode='textonly'/>
+	<sf:br/>
+      </sf:p>
+    </xsl:if>
+    <xsl:for-each select='*[not(self::mediaobject)]'>
+      <xsl:call-template name='nomatch'/>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template match='mediaobject|mediaobjectco'>
+    <xsl:apply-templates select='objectinfo/title'/>
+    <xsl:apply-templates select='objectinfo/subtitle'/>
+    <!-- TODO: indicate error for other children of objectinfo -->
+
+    <xsl:apply-templates select='*[not(self::objectinfo)]'/>
+  </xsl:template>
+  <xsl:template match='imageobject|imageobjectco|audioobject|videoobject'>
+
+    <xsl:apply-templates select='objectinfo/title'/>
+    <xsl:apply-templates select='objectinfo/subtitle'/>
+    <!-- TODO: indicate error for other children of objectinfo -->
+
+    <xsl:apply-templates select='areaspec'/>
+
+    <xsl:choose>
+      <xsl:when test='imagedata|audiodata|videodata'>
+	<sf:p>
+	  <xsl:attribute name='sf:style'>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>
+		<xsl:value-of select='name()'/>
+		<xsl:text>-</xsl:text>
+		<xsl:value-of select='name(imagedata|audiodata|videodata)'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:attribute>
+
+	  <xsl:apply-templates select='*/@fileref'
+			       mode='textonly'/>
+	  <sf:br/>
+	</sf:p>
+      </xsl:when>
+      <xsl:when test='self::imageobjectco/imageobject/imagedata'>
+	<sf:p>
+	  <xsl:attribute name='sf:style'>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>
+		<xsl:value-of select='name()'/>
+		<xsl:text>-imagedata</xsl:text>
+	      </xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:attribute>
+
+	  <xsl:apply-templates select='imageobject/imagedata/@fileref'
+			       mode='textonly'/>
+	  <sf:br/>
+	</sf:p>
+      </xsl:when>
+    </xsl:choose>
+    <xsl:apply-templates select='calloutlist'/>
+
+    <xsl:for-each select='*[not(self::imageobject |
+			        self::imagedata |
+			        self::audiodata |
+				self::videodata |
+				self::areaspec  |
+				self::calloutlist)]'>
+      <xsl:call-template name='nomatch'/>
+    </xsl:for-each>
+  </xsl:template>
+  <xsl:template match='textobject'>
+    <xsl:choose>
+      <xsl:when test='objectinfo/title|objectinfo|subtitle'>
+	<xsl:apply-templates select='objectinfo/title'/>
+	<xsl:apply-templates select='objectinfo/subtitle'/>
+	<!-- TODO: indicate error for other children of objectinfo -->
+      </xsl:when>
+      <xsl:otherwise>
+	<!-- synthesize a title so that the parent textobject
+	     can be recreated.
+	  -->
+	<sf:p>
+	  <xsl:attribute name='sf:style'>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>textobject-title</xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:attribute>
+
+	  <xsl:text>Text Object </xsl:text>
+	  <xsl:number level='any'/>
+	  <sf:br/>
+	</sf:p>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:apply-templates select='*[not(self::objectinfo)]'/>
+  </xsl:template>
+
+  <xsl:template match='caption'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name'>caption</xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:choose>
+	<xsl:when test='not(*)'>
+	  <xsl:apply-templates/>
+	</xsl:when>
+	<xsl:otherwise>
+	  <xsl:apply-templates select='para[1]/node()'/>
+	  <xsl:for-each select='text()|*[not(self::para)]|para[position() != 1]'>
+	    <xsl:call-template name='nomatch'/>
+	  </xsl:for-each>
+	</xsl:otherwise>
+      </xsl:choose>
+      <sf:br/>
+    </sf:p>
+  </xsl:template>
+
+  <xsl:template match='qandaset|qandadiv'>
+    <xsl:apply-templates/>
+  </xsl:template>
+  <xsl:template match='qandaentry'>
+    <xsl:for-each select='revhistory'>
+      <xsl:call-template name='nomatch'/>
+    </xsl:for-each>
+    <xsl:apply-templates select='*[not(self::revhistory)]'/>
+  </xsl:template>
+  <xsl:template match='question|answer'>
+    <xsl:choose>
+      <xsl:when test='*[1][self::para]'>
+	<sf:p>
+	  <xsl:attribute name='sf:style'>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>
+		<xsl:value-of select='name()'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:attribute>
+
+	  <xsl:apply-templates select='*[1]/node()'/>
+	  <sf:br/>
+	</sf:p>
+
+	<xsl:apply-templates select='*[position() != 1]' mode='question'/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:message>first element in a question must be a paragraph</xsl:message>
+	<xsl:apply-templates mode='error'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match='para' mode='question'>
+    <xsl:apply-templates select='.'>
+      <xsl:with-param name='class' select='"para-continue"'/>
+    </xsl:apply-templates>
+  </xsl:template>
+  <xsl:template match='*' mode='question'>
+    <xsl:apply-templates select='.'/>
+  </xsl:template>
+
+  <xsl:template match='table|informaltable' mode='not-yet-implemented'>
+
+    <w:tbl>
+      <w:tblPr>
+        <w:tblW w:w="0" w:type="auto"/>
+        <w:tblInd w:w="108" w:type="dxa"/>
+        <w:tblLayout w:type="Fixed"/>
+      </w:tblPr>
+      <w:tblGrid>
+        <xsl:apply-templates select='tgroup/colspec' mode='column'/>
+      </w:tblGrid>
+      <xsl:apply-templates/>
+    </w:tbl>
+  </xsl:template>
+
+  <xsl:template match='colspec' mode='column'>
+    <w:gridcol w:w='{@colwidth}'/>
+  </xsl:template>
+
+  <xsl:template match='colspec'/>
+
+  <xsl:template name='repeat'>
+    <xsl:param name='repeats' select='0'/>
+    <xsl:param name='content'/>
+
+    <xsl:if test='$repeats > 0'>
+      <xsl:copy-of select='$content'/>
+      <xsl:call-template name='repeat'>
+        <xsl:with-param name='repeats' select='$repeats - 1'/>
+        <xsl:with-param name='content' select='$content'/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:template>
+  <xsl:template match='tgroup|tbody|thead'>
+    <xsl:apply-templates/>
+  </xsl:template>
+  <xsl:template match='row'>
+    <w:tr>
+      <w:trPr>
+        <xsl:if test='parent::thead'>
+          <w:tblHeader/>
+        </xsl:if>
+      </w:trPr>
+      <xsl:apply-templates/>
+    </w:tr>
+  </xsl:template>
+
+  <xsl:template match='entry'>
+
+    <!-- 
+         Position = Sum(i,preceding-sibling[@colspan = ""]) + entry[i]. at colspan)
+      -->
+
+    <xsl:variable name='position'>
+      <xsl:call-template name='sumSibling'>
+        <xsl:with-param name='sum' select='"1"'/>
+        <xsl:with-param name='node' select='.'/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name='limit' select='$position + @colspan'/>
+    <w:tc>
+      <w:tcPr>
+        <xsl:choose>
+          <xsl:when test='@colspan != ""'>
+
+            <!-- Select all the colspec nodes which correspond to the
+                 column. That is all the nodes between the current 
+                 column number and the column number plus the span.
+              -->
+
+            <xsl:variable name='combinedWidth'>
+              <xsl:call-template name='sum'>
+                <xsl:with-param name='nodes' select='ancestor::*[self::table|self::informaltable][1]/tgroup/colspec[not(position() &lt; $position) and position() &lt; $limit]'/>
+                <xsl:with-param name='sum' select='"0"'/>
+              </xsl:call-template>
+            </xsl:variable>
+            <w:tcW w:w='{$combinedWidth}' w:type='dxa'/>
+          </xsl:when>
+          <xsl:otherwise>
+            <w:tcW w:w='{ancestor::*[self::table|self::informaltable][1]/tgroup/colspec[position() = $position]/@colwidth}' w:type='dxa'/>
+          </xsl:otherwise>
+        </xsl:choose>
+
+      </w:tcPr>
+      <xsl:if test='@hidden != ""'>
+          <w:vmerge w:val=''/>
+      </xsl:if>
+      <xsl:if test='@rowspan != ""'>          
+        <w:vmerge w:val='restart'/>
+      </xsl:if>        
+      <xsl:if test='@colspan != ""'>
+        <w:gridspan w:val='{@colspan}'/>
+      </xsl:if>
+      <xsl:choose>
+        <xsl:when test='not(para)'>
+          <!-- TODO: check for any block elements -->
+          <w:p>
+            <xsl:apply-templates/>
+          </w:p>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </w:tc>
+  </xsl:template>
+
+  <!-- Calculates the position by adding the 
+       count of the preceding siblings where they aren't colspans
+       and adding the colspans of those entries which do.
+    -->
+
+  <xsl:template name='sumSibling'>    
+    <xsl:param name='sum'/>
+    <xsl:param name='node'/>
+
+    <xsl:variable name='add'>
+      <xsl:choose>
+        <xsl:when test='$node/preceding-sibling::entry/@colspan != ""'>
+          <xsl:value-of select='$node/preceding-sibling::entry/@colspan'/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select='"1"'/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:choose>
+      <xsl:when test='count($node/preceding-sibling::entry) &gt; 0'>
+        <xsl:call-template name='sumSibling'>
+          <xsl:with-param name='sum' select='$sum + $add'/>
+          <xsl:with-param name='node' select='$node/preceding-sibling::entry[1]'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select='$sum'/>
+      </xsl:otherwise>
+    </xsl:choose>
+    
+  </xsl:template>
+
+  <xsl:template name='sum'>
+    <xsl:param name='sum' select='"0"'/>
+    <xsl:param name='nodes'/>
+
+    <xsl:variable name='tmpSum' select='$sum + $nodes[1]/@colwidth'/>
+
+    <xsl:choose>
+      <xsl:when test='count($nodes) &gt; 1'>
+        <xsl:call-template name='sum'>
+          <xsl:with-param name='nodes' select='$nodes[position() != 1]'/>
+          <xsl:with-param name='sum' select='$tmpSum'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select='$tmpSum'/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <xsl:template match='text()[string-length(normalize-space(.)) = 0]'/>
+  <xsl:template match='text()' mode='text-run'>
+    <xsl:value-of select='.'/>
+  </xsl:template>
+  <xsl:template match='literallayout/text()|programlisting/text()'>
+    <xsl:call-template name='handle-linebreaks'/>
+  </xsl:template>
+  <xsl:template name='handle-linebreaks'>
+    <xsl:param name='text' select='.'/>
+
+    <xsl:choose>
+      <xsl:when test='not($text)'/>
+      <xsl:when test='contains($text, "&#xa;")'>
+        <xsl:value-of select='substring-before($text, "&#xa;")'/>
+        <xsl:call-template name='handle-linebreaks-aux'>
+          <xsl:with-param name='text'
+            select='substring-after($text, "&#xa;")'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select='$text'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <!-- pre-condition: leading linefeed has been stripped -->
+  <xsl:template name='handle-linebreaks-aux'>
+    <xsl:param name='text'/>
+
+    <xsl:choose>
+      <xsl:when test='contains($text, "&#xa;")'>
+        <sf:lnbr/>
+        <xsl:value-of select='substring-before($text, "&#xa;")'/>
+        <xsl:call-template name='handle-linebreaks-aux'>
+          <xsl:with-param name='text' select='substring-after($text, "&#xa;")'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <sf:lnbr/>
+        <xsl:value-of select='$text'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='authorblurb|formalpara|highlights|legalnotice|note|caution|warning|important|tip'>
+    <xsl:apply-templates select='*'>
+      <xsl:with-param name='class'>
+        <xsl:if test='parent::highlights'>
+	  <xsl:value-of select='name(..)'/>
+	  <xsl:text>-</xsl:text>
+	</xsl:if>
+	<xsl:value-of select='name()'/>
+      </xsl:with-param>
+    </xsl:apply-templates>
+  </xsl:template>
+
+  <xsl:template match='blockquote'>
+    <xsl:apply-templates select='blockinfo|title'>
+      <xsl:with-param name='class'>
+        <xsl:value-of select='name()'/>
+      </xsl:with-param>
+    </xsl:apply-templates>
+    <xsl:apply-templates select='*[not(self::blockinfo|self::title|self::attribution)]'>
+      <xsl:with-param name='class' select='"blockquote"'/>
+    </xsl:apply-templates>
+    <xsl:if test='attribution'>
+      <w:p>
+        <w:pPr>
+          <w:pStyle w:val='blockquote-attribution'/>
+        </w:pPr>
+
+        <xsl:call-template name='attributes'/>
+
+        <xsl:apply-templates select='attribution/node()'/>
+      </w:p>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match='programlistingco'>
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match='literallayout|programlisting'>
+    <xsl:param name='class'/>
+
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name'>
+	    <xsl:if test='$class != ""'>
+	      <xsl:value-of select='$class'/>
+	      <xsl:text>-</xsl:text>
+	    </xsl:if>
+	    <xsl:choose>
+	      <xsl:when test='self::programlisting/parent::programlistingco'>
+		<xsl:value-of select='name(..)'/>
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:value-of select='name()'/>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:apply-templates/>
+      <sf:br/>
+    </sf:p>
+  </xsl:template>
+
+  <xsl:template match='areaspec'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name' select='name()'/>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:call-template name='attributes'/>
+
+      <sf:br/>
+    </sf:p>
+    <xsl:apply-templates/>
+  </xsl:template>
+  <xsl:template match='area'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name' select='name()'/>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates/>
+      <sf:br/>
+    </sf:p>
+  </xsl:template>
+
+  <xsl:template match='calloutlist'>
+    <xsl:apply-templates select='callout'/>
+  </xsl:template>
+
+  <xsl:template match='callout'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name'>
+	    <xsl:value-of select='name()'/>
+	  </xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:call-template name='attributes'/>
+
+      <!-- Normally a para would be the first child of a callout -->
+      <xsl:apply-templates select='*[1][self::para]/node()' mode='list'/>
+      <sf:br/>
+    </sf:p>
+    <!-- This is to catch the case where a listitem's first child is not a paragraph.
+       - We may not be able to represent this properly.
+      -->
+    <xsl:apply-templates select='*[1][not(self::para)]' mode='list'/>
+
+    <xsl:apply-templates select='*[position() != 1]' mode='list'/>
+  </xsl:template>
+
+  <xsl:template match='itemizedlist|orderedlist'>
+    <xsl:apply-templates select='listitem'/>
+  </xsl:template>
+
+  <xsl:template match='listitem'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:choose>
+	  <xsl:when test='../parent::highlights'>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>
+		<xsl:text>highlights-</xsl:text>
+		<xsl:value-of select='name(..)'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>
+		<xsl:value-of select='name(..)'/>
+		<xsl:value-of select='count(ancestor::itemizedlist|ancestor::orderedlist|ancestor::calloutlist)'/>
+	      </xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </xsl:attribute>
+
+      <!-- Normally a para would be the first child of a listitem -->
+      <xsl:apply-templates select='*[1][self::para]/node()' mode='list'/>
+      <sf:br/>
+    </sf:p>
+    <!-- This is to catch the case where a listitem's first child is not a paragraph.
+       - We may not be able to represent this properly.
+      -->
+    <xsl:apply-templates select='*[1][not(self::para)]' mode='list'/>
+
+    <xsl:apply-templates select='*[position() != 1]' mode='list'/>
+  </xsl:template>  
+
+  <xsl:template match='*' mode='list'>
+    <xsl:apply-templates select='.'>
+      <xsl:with-param name='class' select='"para-continue"'/>
+    </xsl:apply-templates>
+  </xsl:template>
+
+  <xsl:template match='variablelist'>
+    <xsl:apply-templates select='*[not(self::varlistentry)]'/>
+
+    <w:tbl>
+      <w:tblPr>
+        <w:tblW w:w='0' w:type='auto'/>
+        <w:tblInd w:w='108' w:type='dxa'/>
+        <w:tblLayout w:type='Fixed'/>
+      </w:tblPr>
+      <w:tblGrid>
+        <w:gridcol w:w='2160'/>
+        <w:gridcol w:w='6480'/>
+      </w:tblGrid>
+      <xsl:apply-templates select='varlistentry'/>
+    </w:tbl>
+  </xsl:template>
+  <xsl:template match='varlistentry'>
+    <w:tr>
+      <w:trPr>
+      </w:trPr>
+
+      <w:tc>
+        <w:tcPr>
+          <w:tcW w:w='2160' w:type='dxa'/>
+        </w:tcPr>
+        <w:p>
+          <w:pPr>
+            <w:pStyle w:val='variablelist-term'/>
+          </w:pPr>
+          <xsl:apply-templates select='term[1]/node()'/>
+          <xsl:for-each select='term[position() != 1]'>
+            <w:r>
+              <w:br/>
+            </w:r>
+            <xsl:apply-templates/>
+          </xsl:for-each>
+        </w:p>
+      </w:tc>
+      <w:tc>
+        <w:tcPr>
+          <w:tcW w:w='6480' w:type='dxa'/>
+        </w:tcPr>
+        <xsl:apply-templates select='listitem/node()'/>
+      </w:tc>
+    </w:tr>
+  </xsl:template>
+
+  <xsl:template match='bridgehead'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name' select='name()'/>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates/>
+      <sf:br/>
+    </sf:p>
+  </xsl:template>
+
+  <xsl:template match='xi:include'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name'>xinclude</xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:value-of select='@href'/>
+      <sf:br/>
+    </sf:p>
+  </xsl:template>
+
+  <!-- These elements are not displayed.
+     - However, they may need to be added (perhaps as hidden text)
+     - for round-tripping.
+    -->
+  <xsl:template match='anchor|areaset|audiodata|audioobject|
+                       beginpage|
+                       constraint|
+                       indexterm|itermset|
+                       keywordset|
+                       msg'/>
+
+  <xsl:template match='*' mode='error'>
+    <sf:p>
+      <xsl:attribute name='sf:style'>
+	<xsl:call-template name='lookup-paragraph-style'>
+	  <xsl:with-param name='name'>blockerror</xsl:with-param>
+	</xsl:call-template>
+      </xsl:attribute>
+
+      <xsl:value-of select='name()'/>
+      <xsl:text> encountered</xsl:text>
+      <xsl:if test='parent::*'>
+        <xsl:text> in </xsl:text>
+        <xsl:value-of select='name(parent::*)'/>
+      </xsl:if>
+      <xsl:text> cannot be supported.</xsl:text>
+      <sf:br/>
+    </sf:p>
+  </xsl:template>
+  <xsl:template match='*' name='nomatch'>
+    <xsl:message>
+      <xsl:value-of select='name()'/>
+      <xsl:text> encountered</xsl:text>
+      <xsl:if test='parent::*'>
+        <xsl:text> in </xsl:text>
+        <xsl:value-of select='name(parent::*)'/>
+      </xsl:if>
+      <xsl:text>, but no template matches.</xsl:text>
+    </xsl:message>
+
+    <xsl:choose>
+      <xsl:when test='self::abstract |
+                      self::ackno |
+                      self::address |
+                      self::answer |
+                      self::appendix |
+                      self::artheader |
+                      self::authorgroup |
+                      self::bibliodiv |
+                      self::biblioentry |
+                      self::bibliography |
+                      self::bibliomixed |
+                      self::bibliomset |
+                      self::biblioset |
+                      self::bridgehead |
+                      self::calloutlist |
+                      self::caption |
+                      self::chapter |
+                      self::classsynopsis |
+                      self::colophon |
+                      self::constraintdef |
+                      self::copyright |
+                      self::dedication |
+                      self::epigraph |
+                      self::equation |
+                      self::funcsynopsis |
+                      self::glossary |
+                      self::glossdef |
+                      self::glossdiv |
+                      self::glossentry |
+                      self::glosslist |
+                      self::graphic |
+                      self::imageobject |
+                      self::imageobjectco |
+                      self::index |
+                      self::indexdiv |
+                      self::indexentry |
+                      self::informalequation |
+                      self::informalexample |
+                      self::informalfigure |
+                      self::lot |
+                      self::lotentry |
+                      self::mediaobjectco |
+                      self::member |
+                      self::msgentry |
+                      self::msgset |
+                      self::part |
+                      self::partintro |
+                      self::personblurb |
+                      self::preface |
+                      self::printhistory |
+                      self::procedure |
+                      self::programlistingco |
+                      self::publisher |
+                      self::qandadiv |
+                      self::qandaentry |
+                      self::qandaset |
+                      self::question |
+                      self::refdescriptor |
+                      self::refentry |
+                      self::refentrytitle |
+                      self::reference |
+                      self::refmeta |
+                      self::refname |
+                      self::refnamediv |
+                      self::refpurpose |
+                      self::refsect1 |
+                      self::refsect2 |
+                      self::refsect3 |
+                      self::refsection |
+                      self::refsynopsisdiv |
+                      self::screen |
+                      self::screenco |
+                      self::screenshot |
+                      self::seg |
+                      self::seglistitem |
+                      self::segmentedlist |
+                      self::segtitle |
+                      self::set |
+                      self::setindex |
+                      self::sidebar |
+                      self::simplelist |
+                      self::simplemsgentry |
+                      self::step |
+                      self::stepalternatives |
+                      self::subjectset |
+                      self::substeps |
+                      self::task |
+                      self::textobject |
+                      self::toc |
+                      self::videodata |
+                      self::videoobject |
+                      self::*[not(starts-with(name(), "informal")) and contains(name(), "info")]'>
+        <sf:p>
+	  <xsl:attribute name='sf:style'>
+	    <xsl:call-template name='lookup-paragraph-style'>
+	      <xsl:with-param name='name'>blockerror</xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:attribute>
+
+          <xsl:value-of select='name()'/>
+          <xsl:text> encountered</xsl:text>
+          <xsl:if test='parent::*'>
+            <xsl:text> in </xsl:text>
+            <xsl:value-of select='name(parent::*)'/>
+          </xsl:if>
+          <xsl:text>, but no template matches.</xsl:text>
+	  <sf:br/>
+        </sf:p>
+      </xsl:when>
+      <!-- Some elements are sometimes blocks, sometimes inline
+      <xsl:when test='self::affiliation |
+                      self::alt |
+                      self::attribution |
+                      self::collab |
+                      self::collabname |
+                      self::confdates |
+                      self::confgroup |
+                      self::confnum |
+                      self::confsponsor |
+                      self::conftitle |
+                      self::contractnum |
+                      self::contractsponsor |
+                      self::contrib |
+                      self::corpauthor |
+                      self::corpcredit |
+                      self::corpname |
+                      self::edition |
+                      self::editor |
+                      self::jobtitle |
+                      self::personname |
+                      self::publishername |
+                      self::remark'>
+
+      </xsl:when>
+      -->
+      <xsl:otherwise>
+        <sf:span>
+	  <xsl:attribute name='sf:style'>
+	    <xsl:call-template name='lookup-character-style'>
+	      <xsl:with-param name='name'>inlineerror</xsl:with-param>
+	    </xsl:call-template>
+	  </xsl:attribute>
+
+          <xsl:value-of select='name()'/>
+          <xsl:text> encountered</xsl:text>
+          <xsl:if test='parent::*'>
+            <xsl:text> in </xsl:text>
+            <xsl:value-of select='name(parent::*)'/>
+          </xsl:if>
+          <xsl:text>, but no template matches.</xsl:text>
+        </sf:span>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template name='attributes'>
+    <xsl:param name='node' select='.'/>
+
+    <xsl:for-each select='$node/@*'>
+      <sf:span>
+	<xsl:attribute name='sf:style'>
+	  <xsl:call-template name='lookup-character-style'>
+	    <xsl:with-param name='name'>attribute-name</xsl:with-param>
+	  </xsl:call-template>
+	</xsl:attribute>
+	<xsl:value-of select='name()'/>
+      </sf:span>
+      <sf:span>
+	<xsl:attribute name='sf:style'>
+	  <xsl:call-template name='lookup-character-style'>
+	    <xsl:with-param name='name'>attribute-value</xsl:with-param>
+	  </xsl:call-template>
+	</xsl:attribute>
+	<xsl:value-of select='.'/>
+      </sf:span>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template name='lookup-paragraph-style'>
+    <xsl:param name='name'/>
+
+    <xsl:if test='not($paragraph-styles[@sf:name = $name])'>
+      <xsl:message>unable to find character style "<xsl:value-of select='$name'/>"</xsl:message>
+    </xsl:if>
+
+    <xsl:value-of select='$paragraph-styles[@sf:name = $name]/@sf:ident'/>
+  </xsl:template>
+  <xsl:template name='lookup-character-style'>
+    <xsl:param name='name'/>
+
+    <xsl:if test='not($character-styles[@sf:name = $name])'>
+      <xsl:message>unable to find character style "<xsl:value-of select='$name'/>"</xsl:message>
+    </xsl:if>
+
+    <xsl:value-of select='$character-styles[@sf:name = $name]/@sf:ident'/>
+  </xsl:template>
+
+  <xsl:template match='*' mode='copy'>
+    <xsl:copy>
+      <xsl:for-each select='@*'>
+        <xsl:copy/>
+      </xsl:for-each>
+      <xsl:apply-templates mode='copy'/>
+    </xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/roundtrip/docbook.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/docbook.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/docbook.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1315 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:w='http://schemas.microsoft.com/office/word/2003/wordml'
+  xmlns:v='urn:schemas-microsoft-com:vml'
+  xmlns:w10="urn:schemas-microsoft-com:office:word"
+  xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
+  xmlns:wx='http://schemas.microsoft.com/office/word/2003/auxHint'
+  xmlns:o="urn:schemas-microsoft-com:office:office"
+  xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
+  xmlns:sl='http://schemas.microsoft.com/schemaLibrary/2003/core'
+  xmlns:doc='http://www.oasis-open.org/docbook/xml/4.0'
+  exclude-result-prefixes='doc'>
+
+  <xsl:output method="xml" indent='yes' standalone='yes' encoding='UTF-8'/>
+
+  <!-- ********************************************************************
+       $Id: docbook.xsl 6463 2007-01-05 03:22:54Z balls $
+       ********************************************************************
+
+       This file is part of the XSL DocBook Stylesheet distribution.
+       See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+       and other information.
+
+       ******************************************************************** -->
+
+  <xsl:include href='../VERSION'/>
+  <xsl:include href='param.xsl'/>
+
+  <xsl:variable name='templatedoc' select='document($wordml.template)'/>
+
+  <xsl:template match="/" name='wordml.top'>
+    <xsl:param name='doc' select='/'/>
+
+    <xsl:if test='not($wordml.template)'>
+      <xsl:message terminate='yes'>Please specify the template document with the "wordml.template" parameter</xsl:message>
+    </xsl:if>
+    <xsl:if test='not($templatedoc)'>
+      <xsl:message terminate='yes'>Unable to open template document "<xsl:value-of select='$wordml.template'/>"</xsl:message>
+    </xsl:if>
+
+    <xsl:processing-instruction name='mso-application'>
+      <xsl:text>progid="Word.Document"</xsl:text>
+    </xsl:processing-instruction>
+    <xsl:text>
+</xsl:text>
+
+    <xsl:variable name='info'
+      select='$doc/book/bookinfo|$doc/article/articleinfo'/>
+    <xsl:variable name='authors' select='$info/author|$info/authorinitials|$info/authorgroup/author|$info/authorgroup/editor'/>
+
+    <w:wordDocument
+      w:macrosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no">
+      <xsl:attribute name='xml:space'>preserve</xsl:attribute>
+
+      <o:DocumentProperties>
+        <o:Author>
+          <xsl:choose>
+            <xsl:when test='$authors'>
+              <xsl:apply-templates select='$authors[1]' mode='docprop.author'/>
+            </xsl:when>
+            <xsl:otherwise>Unknown</xsl:otherwise>
+          </xsl:choose>
+        </o:Author>
+        <o:LastAuthor>
+          <xsl:choose>
+            <xsl:when test='$info/revhistory/revision[1]/*[self::author|self::authorinitials]'>
+              <xsl:apply-templates select='$info/revhistory/revision[1]/*[self::author|self::authorinitials]' mode='docprop.author'/>
+            </xsl:when>
+            <xsl:when test='$authors'>
+              <xsl:apply-templates select='$authors[1]' mode='docprop.author'/>
+            </xsl:when>
+            <xsl:otherwise>Unknown</xsl:otherwise>
+          </xsl:choose>
+        </o:LastAuthor>
+        <o:Revision>1</o:Revision>
+        <o:TotalTime></o:TotalTime>
+
+        <!-- dummy values -->
+        <o:Created>2004-01-01T07:07:00Z</o:Created>
+        <o:LastSaved>2004-01-01T08:08:00Z</o:LastSaved>
+
+        <o:Pages>1</o:Pages>
+        <o:Words>1</o:Words>
+        <o:Characters>1</o:Characters>
+
+        <!-- could derive this from author -->
+        <o:Company>DocBook</o:Company>
+
+        <o:Lines>1</o:Lines>
+        <o:Paragraphs>1</o:Paragraphs>
+        <o:CharactersWithSpaces>1</o:CharactersWithSpaces>
+        <o:Version>11.6113</o:Version>
+      </o:DocumentProperties>
+
+      <xsl:apply-templates select='$templatedoc/w:wordDocument/o:CustomDocumentProperties|$templatedoc/w:wordDocument/w:fonts|$templatedoc/w:wordDocument/w:lists|$templatedoc/w:wordDocument/w:styles' mode='copy'/>
+
+      <w:docPr>
+        <w:view w:val="print"/>
+        <w:zoom w:percent="100"/>
+        <w:doNotEmbedSystemFonts/>
+        <w:attachedTemplate w:val=""/>
+        <w:defaultTabStop w:val="720"/>
+        <w:autoHyphenation/>
+        <w:hyphenationZone w:val="357"/>
+        <w:doNotHyphenateCaps/>
+        <w:evenAndOddHeaders/>
+        <w:characterSpacingControl w:val="DontCompress"/>
+        <w:optimizeForBrowser/>
+        <w:validateAgainstSchema/>
+        <w:saveInvalidXML w:val="off"/>
+        <w:ignoreMixedContent w:val="off"/>
+        <w:alwaysShowPlaceholderText w:val="off"/>
+        <w:footnotePr>
+          <w:footnote w:type="separator">
+            <w:p>
+              <w:r>
+                <w:separator/>
+              </w:r>
+            </w:p>
+          </w:footnote>
+          <w:footnote w:type="continuation-separator">
+            <w:p>
+              <w:r>
+                <w:continuationSeparator/>
+              </w:r>
+            </w:p>
+          </w:footnote>
+        </w:footnotePr>
+        <w:endnotePr>
+          <w:endnote w:type="separator">
+            <w:p>
+              <w:r>
+                <w:separator/>
+              </w:r>
+            </w:p>
+          </w:endnote>
+          <w:endnote w:type="continuation-separator">
+            <w:p>
+              <w:r>
+                <w:continuationSeparator/>
+              </w:r>
+            </w:p>
+          </w:endnote>
+        </w:endnotePr>
+        <w:compat>
+          <w:breakWrappedTables/>
+          <w:snapToGridInCell/>
+          <w:wrapTextWithPunct/>
+          <w:useAsianBreakRules/>
+          <w:useWord2002TableStyleRules/>
+        </w:compat>
+        <w:docVars>
+        </w:docVars>
+      </w:docPr>
+
+      <xsl:apply-templates select='$doc/*' mode='toplevel'/>
+
+    </w:wordDocument>
+  </xsl:template>
+
+  <xsl:template match='author|editor' mode='docprop.author'>
+    <xsl:apply-templates select='firstname|personname/firstname' mode='docprop.author'/>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates select='surname|personname/surname' mode='docprop.author'/>
+  </xsl:template>
+  <xsl:template match='authorinitials' mode='docprop.author'>
+    <xsl:value-of select='.'/>
+  </xsl:template>
+
+  <xsl:template match='book|article' mode='toplevel'>
+    <w:body>
+      <wx:sect>
+        <wx:sub-section>
+          <xsl:apply-templates select='*'/>
+        </wx:sub-section>
+      </wx:sect>
+    </w:body>
+  </xsl:template>
+  <xsl:template match='*' mode='toplevel'>
+    <w:body>
+      <wx:sect>
+        <wx:sub-section>
+          <xsl:apply-templates select='*'/>
+        </wx:sub-section>
+      </wx:sect>
+    </w:body>
+  </xsl:template>
+
+  <xsl:template match='book|article|chapter|section|sect1|sect2|sect3|sect4|sect5|simplesect'>
+    <wx:sub-section>
+      <xsl:apply-templates select='*'/>
+    </wx:sub-section>
+  </xsl:template>
+
+  <xsl:template match='articleinfo |
+		       chapterinfo |
+		       bookinfo'>
+    <xsl:apply-templates select='title|subtitle|titleabbrev'/>
+    <xsl:apply-templates select='author|releaseinfo'/>
+    <!-- current implementation ignores all other metadata -->
+    <xsl:for-each select='*[not(self::title|self::subtitle|self::titleabbrev|self::author|self::releaseinfo)]'>
+      <xsl:call-template name='nomatch'/>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template match='title|subtitle|titleabbrev'>
+    <w:p>
+      <w:pPr>
+        <w:pStyle>
+          <xsl:attribute name='w:val'>
+            <xsl:choose>
+              <xsl:when test='(parent::section or
+                              parent::sectioninfo/parent::section) and
+                              count(ancestor::section) > 5'>
+                <xsl:message>section nested deeper than 5 levels</xsl:message>
+                <xsl:text>sect5-</xsl:text>
+                <xsl:value-of select='name()'/>
+              </xsl:when>
+              <xsl:when test='parent::section or
+                              parent::sectioninfo/parent::section'>
+                <xsl:text>sect</xsl:text>
+                <xsl:value-of select='count(ancestor::section)'/>
+                <xsl:text>-</xsl:text>
+                <xsl:value-of select='name()'/>
+              </xsl:when>
+              <xsl:when test='contains(name(..), "info")'>
+                <xsl:value-of select='name(../..)'/>
+                <xsl:text>-</xsl:text>
+                <xsl:value-of select='name()'/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select='name(..)'/>
+                <xsl:text>-</xsl:text>
+                <xsl:value-of select='name()'/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+        </w:pStyle>
+        <w:outlineLvl w:val='{count(ancestor::*) - count(parent::*[contains(name(), "info")]) - 1}'/>
+      </w:pPr>
+
+      <xsl:choose>
+        <xsl:when test='contains(name(..), "info")'>
+          <xsl:call-template name='attributes'>
+            <xsl:with-param name='node' select='../..'/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name='attributes'>
+            <xsl:with-param name='node' select='..'/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:apply-templates/>
+    </w:p>
+  </xsl:template>
+
+  <doc:template name='metadata' xmlns=''>
+    <title>Metadata</title>
+
+    <para>TODO: Handle all metadata elements, apart from titles.</para>
+  </doc:template>
+  <xsl:template match='*[contains(name(), "info")]/*[not(self::title|self::subtitle|self::titleabbrev)]' priority='0'/>
+
+  <xsl:template match='author|editor|othercredit'>
+    <w:p>
+      <w:pPr>
+        <w:pStyle w:val='{name()}'/>
+      </w:pPr>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates select='personname|surname|firstname|honorific|lineage|othername|contrib'/>
+    </w:p>
+    <xsl:apply-templates select='affiliation|address'/>
+    <xsl:apply-templates select='authorblurb|personblurb'/>
+  </xsl:template>
+  <xsl:template match='affiliation'>
+    <w:p>
+      <w:pPr>
+        <w:pStyle w:val='affiliation'/>
+      </w:pPr>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates/>
+    </w:p>
+  </xsl:template>
+  <xsl:template match='address[parent::author|parent::editor|parent::othercredit]'>
+    <w:p>
+      <w:pPr>
+        <w:pStyle w:val='para-continue'/>
+      </w:pPr>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates/>
+    </w:p>
+  </xsl:template>
+  <!-- do not attempt to handle recursive structures -->
+  <xsl:template match='address[not(parent::author|parent::editor|parent::othercredit)]'>
+    <xsl:apply-templates select='node()[not(self::affiliation|self::authorblurb)]'/>
+  </xsl:template>
+  <!-- TODO -->
+  <xsl:template match='authorblurb|personblurb'/>
+
+  <!-- TODO: handle inline markup (eg. emphasis) -->
+  <xsl:template match='surname|firstname|honorific|lineage|othername|contrib|email|shortaffil|jobtitle|orgname|orgdiv|street|pob|postcode|city|state|country|phone|fax|citetitle'>
+    <xsl:if test='preceding-sibling::*'>
+      <w:r>
+        <w:t>
+          <xsl:text> </xsl:text>
+        </w:t>
+      </w:r>
+    </xsl:if>
+    <xsl:call-template name='handle-linebreaks'>
+      <xsl:with-param name='style' select='name()'/>
+    </xsl:call-template>
+  </xsl:template>
+  <xsl:template match='email'>
+    <xsl:variable name='address'>
+      <xsl:choose>
+        <xsl:when test='starts-with(., "mailto:")'>
+          <xsl:value-of select='.'/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>mailto:</xsl:text>
+          <xsl:value-of select='.'/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <w:hlink w:dest='{$address}'>
+      <xsl:call-template name='handle-linebreaks'>
+	<xsl:with-param name='style'>Hyperlink</xsl:with-param>
+      </xsl:call-template>
+    </w:hlink>
+  </xsl:template>
+  <!-- otheraddr often contains ulink -->
+  <xsl:template match='otheraddr'>
+    <xsl:choose>
+      <xsl:when test='ulink'>
+        <xsl:for-each select='ulink'>
+          <xsl:variable name='prev' select='preceding-sibling::ulink[1]'/>
+          <xsl:choose>
+            <xsl:when test='$prev'>
+              <xsl:for-each
+                select='preceding-sibling::node()[generate-id(following-sibling::ulink[1]) = generate-id(current())]'>
+		<xsl:call-template name='handle-linebreaks'>
+		  <xsl:with-param name='style'>otheraddr</xsl:with-param>
+		</xsl:call-template>
+              </xsl:for-each>
+            </xsl:when>
+            <xsl:when test='preceding-sibling::node()'>
+	      <xsl:call-template name='handle-linebreaks'>
+		<xsl:with-param name='style'>otheraddr</xsl:with-param>
+	      </xsl:call-template>
+            </xsl:when>
+          </xsl:choose>
+          <xsl:apply-templates select='.'/>
+        </xsl:for-each>
+        <xsl:if test='ulink[last()]/following-sibling::node()'>
+	  <xsl:call-template name='handle-linebreaks'>
+	    <xsl:with-param name='text'
+	      select='ulink[last()]/following-sibling::node()'/>
+	    <xsl:with-param name='style'>otheraddr</xsl:with-param>
+	  </xsl:call-template>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:call-template name='handle-linebreaks'>
+	  <xsl:with-param name='style'>otheraddr</xsl:with-param>
+	</xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match='ulink'>
+    <w:hlink w:dest='{@url}'>
+      <xsl:call-template name='handle-linebreaks'>
+	<xsl:with-param name='style'>Hyperlink</xsl:with-param>
+      </xsl:call-template>
+    </w:hlink>
+  </xsl:template>
+
+  <!-- Cannot round-trip this element -->
+  <xsl:template match='personname'>
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match='releaseinfo'>
+    <w:p>
+      <w:pPr>
+        <w:pStyle w:val='releaseinfo'/>
+      </w:pPr>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates/>
+    </w:p>
+  </xsl:template>
+
+  <xsl:template match='para'>
+    <xsl:param name='class'/>
+
+    <xsl:variable name='block' select='blockquote|calloutlist|classsynopsis|funcsynopsis|figure|glosslist|graphic|informalfigure|informaltable|itemizedlist|literallayout|mediaobject|mediaobjectco|note|caution|warning|important|tip|orderedlist|programlisting|revhistory|segmentedlist|simplelist|table|variablelist'/>
+
+    <xsl:choose>
+      <xsl:when test='$block'>
+        <w:p>
+          <w:pPr>
+            <w:pStyle>
+              <xsl:attribute name='w:val'>
+                <xsl:choose>
+                  <xsl:when test='$class != ""'>
+                    <xsl:value-of select='$class'/>
+                  </xsl:when>
+                  <xsl:otherwise>Normal</xsl:otherwise>
+                </xsl:choose>
+              </xsl:attribute>
+            </w:pStyle>
+          </w:pPr>
+
+          <xsl:call-template name='attributes'/>
+
+          <xsl:apply-templates select='$block[1]/preceding-sibling::node()'/>
+        </w:p>
+        <xsl:for-each select='$block'>
+          <xsl:apply-templates select='.'/>
+          <w:p>
+            <w:pPr>
+              <w:pStyle>
+                <xsl:attribute name='w:val'>
+                  <xsl:choose>
+                    <xsl:when test='$class != ""'>
+                      <xsl:value-of select='$class'/>
+                    </xsl:when>
+                    <xsl:otherwise>Normal</xsl:otherwise>
+                  </xsl:choose>
+                </xsl:attribute>
+              </w:pStyle>
+            </w:pPr>
+            <xsl:apply-templates select='following-sibling::node()[generate-id(preceding-sibling::*[self::blockquote|self::calloutlist|self::figure|self::glosslist|self::graphic|self::informalfigure|self::informaltable|self::itemizedlist|self::literallayout|self::mediaobject|self::mediaobjectco|self::note|self::caution|self::warning|self::important|self::tip|self::orderedlist|self::programlisting|self::revhistory|self::segmentedlist|self::simplelist|self::table|self::variablelist][1]) = generate-id(current())]'/>
+          </w:p>
+        </xsl:for-each>
+      </xsl:when>
+      <xsl:otherwise>
+        <w:p>
+          <w:pPr>
+            <w:pStyle>
+              <xsl:attribute name='w:val'>
+                <xsl:choose>
+                  <xsl:when test='$class != ""'>
+                    <xsl:value-of select='$class'/>
+                  </xsl:when>
+                  <xsl:otherwise>Normal</xsl:otherwise>
+                </xsl:choose>
+              </xsl:attribute>
+            </w:pStyle>
+          </w:pPr>
+
+          <xsl:call-template name='attributes'/>
+
+          <xsl:apply-templates/>
+        </w:p>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match='simpara'>
+    <xsl:param name='class'/>
+
+    <w:p>
+      <w:pPr>
+        <w:pStyle>
+          <xsl:attribute name='w:val'>
+            <xsl:choose>
+              <xsl:when test='$class != ""'>
+                <xsl:value-of select='concat("sim-", $class)'/>
+              </xsl:when>
+              <xsl:otherwise>simpara</xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+        </w:pStyle>
+      </w:pPr>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates/>
+    </w:p>
+  </xsl:template>
+
+  <xsl:template match='emphasis'>
+    <w:r>
+      <w:rPr>
+        <xsl:if test='@role = "bold" or @role = "strong"'>
+          <w:b/>
+        </xsl:if>
+        <xsl:if test='not(@role)'>
+          <w:i/>
+        </xsl:if>
+      </w:rPr>
+      <w:t>
+	<!-- TODO: use handle-linebreaks -->
+        <xsl:value-of select='.'/>
+      </w:t>
+    </w:r>
+  </xsl:template>
+
+  <xsl:template match='informalfigure'>
+    <xsl:if test='mediaobject/imageobject/imagedata'>
+      <w:p>
+	<w:pPr>
+	  <w:pStyle w:val='informalfigure-imagedata'/>
+	</w:pPr>
+	<xsl:call-template name='attributes'/>
+
+	<w:r>
+	  <w:t>
+	    <xsl:apply-templates select='mediaobject/imageobject/imagedata/@fileref'
+				 mode='textonly'/>
+	  </w:t>
+	</w:r>
+      </w:p>
+    </xsl:if>
+    <xsl:for-each select='*[not(self::mediaobject)]'>
+      <xsl:call-template name='nomatch'/>
+    </xsl:for-each>
+  </xsl:template>
+
+  <xsl:template match='mediaobject|mediaobjectco'>
+    <xsl:apply-templates select='objectinfo/title'/>
+    <xsl:apply-templates select='objectinfo/subtitle'/>
+    <!-- TODO: indicate error for other children of objectinfo -->
+
+    <xsl:apply-templates select='*[not(self::objectinfo)]'/>
+  </xsl:template>
+  <xsl:template match='imageobject|imageobjectco|audioobject|videoobject'>
+    <xsl:apply-templates select='objectinfo/title'/>
+    <xsl:apply-templates select='objectinfo/subtitle'/>
+    <!-- TODO: indicate error for other children of objectinfo -->
+
+    <xsl:apply-templates select='areaspec'/>
+
+    <xsl:choose>
+      <xsl:when test='imagedata|audiodata|videodata'>
+	<w:p>
+	  <w:pPr>
+	    <w:pStyle w:val='{name()}-{name(imagedata|audiodata|videodata)}'/>
+	  </w:pPr>
+	  <xsl:call-template name='attributes'/>
+
+	  <w:r>
+	    <w:t>
+	      <xsl:apply-templates select='*/@fileref'
+				   mode='textonly'/>
+	    </w:t>
+	  </w:r>
+	</w:p>
+      </xsl:when>
+      <xsl:when test='self::imageobjectco/imageobject/imagedata'>
+	<w:p>
+	  <w:pPr>
+	    <w:pStyle w:val='{name()}-imagedata'/>
+	  </w:pPr>
+	  <xsl:call-template name='attributes'/>
+
+	  <w:r>
+	    <w:t>
+	      <xsl:apply-templates select='*/@fileref'
+				   mode='textonly'/>
+	    </w:t>
+	  </w:r>
+	</w:p>
+      </xsl:when>
+    </xsl:choose>
+    <xsl:apply-templates select='calloutlist'/>
+
+    <xsl:for-each select='*[not(self::imageobject |
+			        self::imagedata |
+			        self::audiodata |
+				self::videodata |
+				self::areaspec  |
+				self::calloutlist)]'>
+      <xsl:call-template name='nomatch'/>
+    </xsl:for-each>
+  </xsl:template>
+  <xsl:template match='textobject'>
+    <xsl:choose>
+      <xsl:when test='objectinfo/title|objectinfo|subtitle'>
+	<xsl:apply-templates select='objectinfo/title'/>
+	<xsl:apply-templates select='objectinfo/subtitle'/>
+	<!-- TODO: indicate error for other children of objectinfo -->
+      </xsl:when>
+      <xsl:otherwise>
+	<!-- synthesize a title so that the parent textobject
+	     can be recreated.
+	  -->
+	<w:p>
+	  <w:pPr>
+	    <w:pStyle w:val='textobject-title'/>
+	  </w:pPr>
+
+	  <w:r>
+	    <w:t>
+	      <xsl:text>Text Object </xsl:text>
+	      <xsl:number level='any'/>
+	    </w:t>
+	  </w:r>
+	</w:p>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:apply-templates select='*[not(self::objectinfo)]'/>
+  </xsl:template>
+
+  <xsl:template match='caption'>
+    <w:p>
+      <w:pPr>
+	<w:pStyle w:val='caption'/>
+      </w:pPr>
+
+      <xsl:choose>
+	<xsl:when test='not(*)'>
+	  <xsl:apply-templates/>
+	</xsl:when>
+	<xsl:otherwise>
+	  <xsl:apply-templates select='para[1]/node()'/>
+	  <xsl:for-each select='text()|*[not(self::para)]|para[position() != 1]'>
+	    <xsl:call-template name='nomatch'/>
+	  </xsl:for-each>
+	</xsl:otherwise>
+      </xsl:choose>
+    </w:p>
+  </xsl:template>
+
+  <xsl:template match='areaspec'>
+    <w:p>
+      <w:pPr>
+	<w:pStyle w:val='{name()}'/>
+      </w:pPr>
+      <xsl:call-template name='attributes'/>
+
+      <w:r>
+	<w:t></w:t>
+      </w:r>
+    </w:p>
+  </xsl:template>
+  <xsl:template match='area'>
+    <w:p>
+      <w:pPr>
+	<w:pStyle w:val='{name()}'/>
+      </w:pPr>
+      <xsl:call-template name='attributes'/>
+
+      <w:r>
+	<w:t></w:t>
+      </w:r>
+    </w:p>
+  </xsl:template>
+
+  <xsl:template match='calloutlist'>
+    <xsl:apply-templates select='callout'/>
+  </xsl:template>
+
+  <xsl:template match='callout'>
+    <w:p>
+      <w:pPr>
+	<w:pStyle w:val='callout'/>
+      </w:pPr>
+      <xsl:call-template name='attributes'/>
+
+      <!-- Normally a para would be the first child of a callout -->
+      <xsl:apply-templates select='*[1][self::para]/node()' mode='list'/>
+    </w:p>
+    <!-- This is to catch the case where a listitem's first child is not a paragraph.
+       - We may not be able to represent this properly.
+      -->
+    <xsl:apply-templates select='*[1][not(self::para)]' mode='list'/>
+
+    <xsl:apply-templates select='*[position() != 1]' mode='list'/>
+  </xsl:template>
+
+  <xsl:template match='table|informaltable'>
+
+    <w:tbl>
+      <w:tblPr>
+        <w:tblW w:w="0" w:type="auto"/>
+        <w:tblInd w:w="108" w:type="dxa"/>
+        <w:tblLayout w:type="Fixed"/>
+      </w:tblPr>
+      <w:tblGrid>
+        <xsl:apply-templates select='tgroup/colspec' mode='column'/>
+      </w:tblGrid>
+      <xsl:apply-templates/>
+    </w:tbl>
+  </xsl:template>
+
+  <xsl:template match='colspec' mode='column'>
+    <w:gridcol w:w='{@colwidth}'/>
+  </xsl:template>
+
+  <xsl:template match='colspec'/>
+
+  <xsl:template name='repeat'>
+    <xsl:param name='repeats' select='0'/>
+    <xsl:param name='content'/>
+
+    <xsl:if test='$repeats > 0'>
+      <xsl:copy-of select='$content'/>
+      <xsl:call-template name='repeat'>
+        <xsl:with-param name='repeats' select='$repeats - 1'/>
+        <xsl:with-param name='content' select='$content'/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:template>
+  <xsl:template match='tgroup|tbody|thead'>
+    <xsl:apply-templates/>
+  </xsl:template>
+  <xsl:template match='row'>
+    <w:tr>
+      <w:trPr>
+        <xsl:if test='parent::thead'>
+          <w:tblHeader/>
+        </xsl:if>
+      </w:trPr>
+      <xsl:apply-templates/>
+    </w:tr>
+  </xsl:template>
+
+  <xsl:template match='entry'>
+
+    <!-- 
+         Position = Sum(i,preceding-sibling[@colspan = ""]) + entry[i]. at colspan)
+      -->
+
+    <xsl:variable name='position'>
+      <xsl:call-template name='sumSibling'>
+        <xsl:with-param name='sum' select='"1"'/>
+        <xsl:with-param name='node' select='.'/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name='limit' select='$position + @colspan'/>
+    <w:tc>
+      <w:tcPr>
+        <xsl:choose>
+          <xsl:when test='@colspan != ""'>
+
+            <!-- Select all the colspec nodes which correspond to the
+                 column. That is all the nodes between the current 
+                 column number and the column number plus the span.
+              -->
+
+            <xsl:variable name='combinedWidth'>
+              <xsl:call-template name='sum'>
+                <xsl:with-param name='nodes' select='ancestor::*[self::table|self::informaltable][1]/tgroup/colspec[not(position() &lt; $position) and position() &lt; $limit]'/>
+                <xsl:with-param name='sum' select='"0"'/>
+              </xsl:call-template>
+            </xsl:variable>
+            <w:tcW w:w='{$combinedWidth}' w:type='dxa'/>
+          </xsl:when>
+          <xsl:otherwise>
+            <w:tcW w:w='{ancestor::*[self::table|self::informaltable][1]/tgroup/colspec[position() = $position]/@colwidth}' w:type='dxa'/>
+          </xsl:otherwise>
+        </xsl:choose>
+
+      </w:tcPr>
+      <xsl:if test='@hidden != ""'>
+          <w:vmerge w:val=''/>
+      </xsl:if>
+      <xsl:if test='@rowspan != ""'>          
+        <w:vmerge w:val='restart'/>
+      </xsl:if>        
+      <xsl:if test='@colspan != ""'>
+        <w:gridspan w:val='{@colspan}'/>
+      </xsl:if>
+      <xsl:choose>
+        <xsl:when test='not(para)'>
+          <!-- TODO: check for any block elements -->
+          <w:p>
+            <xsl:apply-templates/>
+          </w:p>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </w:tc>
+  </xsl:template>
+
+  <!-- Calculates the position by adding the 
+       count of the preceding siblings where they aren't colspans
+       and adding the colspans of those entries which do.
+    -->
+
+  <xsl:template name='sumSibling'>    
+    <xsl:param name='sum'/>
+    <xsl:param name='node'/>
+
+    <xsl:variable name='add'>
+      <xsl:choose>
+        <xsl:when test='$node/preceding-sibling::entry/@colspan != ""'>
+          <xsl:value-of select='$node/preceding-sibling::entry/@colspan'/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select='"1"'/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:choose>
+      <xsl:when test='count($node/preceding-sibling::entry) &gt; 0'>
+        <xsl:call-template name='sumSibling'>
+          <xsl:with-param name='sum' select='$sum + $add'/>
+          <xsl:with-param name='node' select='$node/preceding-sibling::entry[1]'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select='$sum'/>
+      </xsl:otherwise>
+    </xsl:choose>
+    
+  </xsl:template>
+
+  <xsl:template name='sum'>
+    <xsl:param name='sum' select='"0"'/>
+    <xsl:param name='nodes'/>
+
+    <xsl:variable name='tmpSum' select='$sum + $nodes[1]/@colwidth'/>
+
+    <xsl:choose>
+      <xsl:when test='count($nodes) &gt; 1'>
+        <xsl:call-template name='sum'>
+          <xsl:with-param name='nodes' select='$nodes[position() != 1]'/>
+          <xsl:with-param name='sum' select='$tmpSum'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select='$tmpSum'/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <xsl:template match='*[self::para|self::simpara]/text()[string-length(normalize-space(.)) != 0]'>
+    <xsl:call-template name='handle-linebreaks'/>
+  </xsl:template>
+
+  <xsl:template match='text()[not(parent::para|parent::simpara|parent::literallayout|parent::programlisting)][string-length(normalize-space(.)) != 0]'>
+    <xsl:call-template name='handle-linebreaks'/>
+  </xsl:template>
+  <xsl:template match='text()[string-length(normalize-space(.)) = 0]'/>
+  <xsl:template match='literallayout/text()|programlisting/text()'>
+    <xsl:call-template name='handle-linebreaks'/>
+  </xsl:template>
+  <xsl:template name='handle-linebreaks'>
+    <xsl:param name='text' select='.'/>
+    <xsl:param name='style'/>
+
+    <xsl:choose>
+      <xsl:when test='not($text)'/>
+      <xsl:when test='contains($text, "&#xa;")'>
+        <w:r>
+	  <xsl:if test='$style != ""'>
+	    <w:rPr>
+	      <w:rStyle w:val='{$style}'/>
+	    </w:rPr>
+	  </xsl:if>
+          <w:t>
+            <xsl:value-of select='substring-before($text, "&#xa;")'/>
+          </w:t>
+        </w:r>
+        <xsl:call-template name='handle-linebreaks-aux'>
+          <xsl:with-param name='text'
+            select='substring-after($text, "&#xa;")'/>
+	  <xsl:with-param name='style' select='$style'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <w:r>
+	  <xsl:if test='$style != ""'>
+	    <w:rPr>
+	      <w:rStyle w:val='{$style}'/>
+	    </w:rPr>
+	  </xsl:if>
+          <w:t>
+            <xsl:value-of select='$text'/>
+          </w:t>
+        </w:r>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <!-- pre-condition: leading linefeed has been stripped -->
+  <xsl:template name='handle-linebreaks-aux'>
+    <xsl:param name='text'/>
+    <xsl:param name='style'/>
+
+    <xsl:choose>
+      <xsl:when test='contains($text, "&#xa;")'>
+        <w:r>
+	  <xsl:if test='$style != ""'>
+	    <w:rPr>
+	      <w:rStyle w:val='{$style}'/>
+	    </w:rPr>
+	  </xsl:if>
+          <w:br/>
+          <w:t>
+            <xsl:value-of select='substring-before($text, "&#xa;")'/>
+          </w:t>
+        </w:r>
+        <xsl:call-template name='handle-linebreaks-aux'>
+          <xsl:with-param name='text' select='substring-after($text, "&#xa;")'/>
+	  <xsl:with-param name='style' select='$style'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <w:r>
+	  <xsl:if test='$style != ""'>
+	    <w:rPr>
+	      <w:rStyle w:val='{$style}'/>
+	    </w:rPr>
+	  </xsl:if>
+          <w:br/>
+          <w:t>
+            <xsl:value-of select='$text'/>
+          </w:t>
+        </w:r>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='authorblurb|formalpara|legalnotice|note|caution|warning|important|tip'>
+    <xsl:apply-templates select='*'>
+      <xsl:with-param name='class'>
+        <xsl:value-of select='name()'/>
+      </xsl:with-param>
+    </xsl:apply-templates>
+  </xsl:template>
+
+  <xsl:template match='blockquote'>
+    <xsl:apply-templates select='blockinfo|title'>
+      <xsl:with-param name='class'>
+        <xsl:value-of select='name()'/>
+      </xsl:with-param>
+    </xsl:apply-templates>
+    <xsl:apply-templates select='*[not(self::blockinfo|self::title|self::attribution)]'>
+      <xsl:with-param name='class' select='"blockquote"'/>
+    </xsl:apply-templates>
+    <xsl:if test='attribution'>
+      <w:p>
+        <w:pPr>
+          <w:pStyle w:val='blockquote-attribution'/>
+        </w:pPr>
+
+        <xsl:call-template name='attributes'/>
+
+        <xsl:apply-templates select='attribution/node()'/>
+      </w:p>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match='literallayout|programlisting'>
+    <xsl:param name='class'/>
+
+    <w:p>
+      <w:pPr>
+        <w:pStyle w:val='{name()}'/>
+      </w:pPr>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates/>
+    </w:p>
+  </xsl:template>
+
+  <xsl:template match='bridgehead'>
+    <w:p>
+      <w:pPr>
+        <w:pStyle w:val='bridgehead'/>
+      </w:pPr>
+
+      <xsl:call-template name='attributes'/>
+
+      <xsl:apply-templates/>
+    </w:p>
+  </xsl:template>
+
+  <xsl:template match='itemizedlist|orderedlist'>
+    <xsl:apply-templates select='listitem'/>
+  </xsl:template>
+
+  <xsl:template match='listitem'>
+    <w:p>
+      <w:pPr>
+        <!-- variablelist listitems are not handled here -->
+        <w:pStyle w:val='{name(..)}{count(ancestor::itemizedlist|ancestor::orderedlist)}'/>
+        <w:listPr>
+          <wx:t wx:val='&#xB7;'/>
+          <wx:font wx:val='Symbol'/>
+        </w:listPr>
+      </w:pPr>
+      <!-- Normally a para would be the first child of a listitem -->
+      <xsl:apply-templates select='*[1][self::para]/node()' mode='list'/>
+    </w:p>
+    <!-- This is to catch the case where a listitem's first child is not a paragraph.
+       - We may not be able to represent this properly.
+      -->
+    <xsl:apply-templates select='*[1][not(self::para)]' mode='list'/>
+
+    <xsl:apply-templates select='*[position() != 1]' mode='list'/>
+  </xsl:template>  
+
+  <xsl:template match='*' mode='list'>
+    <xsl:apply-templates select='.'>
+      <xsl:with-param name='class' select='"para-continue"'/>
+    </xsl:apply-templates>
+  </xsl:template>
+
+  <xsl:template match='variablelist'>
+    <xsl:apply-templates select='*[not(self::varlistentry)]'/>
+
+    <w:tbl>
+      <w:tblPr>
+        <w:tblW w:w='0' w:type='auto'/>
+        <w:tblInd w:w='108' w:type='dxa'/>
+        <w:tblLayout w:type='Fixed'/>
+      </w:tblPr>
+      <w:tblGrid>
+        <w:gridcol w:w='2160'/>
+        <w:gridcol w:w='6480'/>
+      </w:tblGrid>
+      <xsl:apply-templates select='varlistentry'/>
+    </w:tbl>
+  </xsl:template>
+  <xsl:template match='varlistentry'>
+    <w:tr>
+      <w:trPr>
+      </w:trPr>
+
+      <w:tc>
+        <w:tcPr>
+          <w:tcW w:w='2160' w:type='dxa'/>
+        </w:tcPr>
+        <w:p>
+          <w:pPr>
+            <w:pStyle w:val='variablelist-term'/>
+          </w:pPr>
+          <xsl:apply-templates select='term[1]/node()'/>
+          <xsl:for-each select='term[position() != 1]'>
+            <w:r>
+              <w:br/>
+            </w:r>
+            <xsl:apply-templates/>
+          </xsl:for-each>
+        </w:p>
+      </w:tc>
+      <w:tc>
+        <w:tcPr>
+          <w:tcW w:w='6480' w:type='dxa'/>
+        </w:tcPr>
+        <xsl:apply-templates select='listitem/node()'/>
+      </w:tc>
+    </w:tr>
+  </xsl:template>
+
+  <!-- These elements are not displayed.
+     - However, they may need to be added (perhaps as hidden text)
+     - for round-tripping.
+    -->
+  <xsl:template match='anchor|areaset|audiodata|audioobject|
+                       beginpage|
+                       constraint|
+                       indexterm|itermset|
+                       keywordset|
+                       msg'/>
+
+  <xsl:template match='*' name='nomatch'>
+    <xsl:message>
+      <xsl:value-of select='name()'/>
+      <xsl:text> encountered</xsl:text>
+      <xsl:if test='parent::*'>
+        <xsl:text> in </xsl:text>
+        <xsl:value-of select='name(parent::*)'/>
+      </xsl:if>
+      <xsl:text>, but no template matches.</xsl:text>
+    </xsl:message>
+
+    <xsl:choose>
+      <xsl:when test='self::abstract |
+                      self::ackno |
+                      self::address |
+                      self::answer |
+                      self::appendix |
+                      self::artheader |
+                      self::authorgroup |
+                      self::bibliodiv |
+                      self::biblioentry |
+                      self::bibliography |
+                      self::bibliomixed |
+                      self::bibliomset |
+                      self::biblioset |
+                      self::bridgehead |
+                      self::calloutlist |
+                      self::caption |
+                      self::classsynopsis |
+                      self::colophon |
+                      self::constraintdef |
+                      self::copyright |
+                      self::dedication |
+                      self::epigraph |
+                      self::equation |
+                      self::example |
+                      self::figure |
+                      self::funcsynopsis |
+                      self::glossary |
+                      self::glossdef |
+                      self::glossdiv |
+                      self::glossentry |
+                      self::glosslist |
+                      self::graphic |
+                      self::highlights |
+                      self::imageobject |
+                      self::imageobjectco |
+                      self::index |
+                      self::indexdiv |
+                      self::indexentry |
+                      self::informalequation |
+                      self::informalexample |
+                      self::informalfigure |
+                      self::lot |
+                      self::lotentry |
+                      self::mediaobject |
+                      self::mediaobjectco |
+                      self::member |
+                      self::msgentry |
+                      self::msgset |
+                      self::part |
+                      self::partintro |
+                      self::personblurb |
+                      self::preface |
+                      self::printhistory |
+                      self::procedure |
+                      self::programlisting |
+                      self::programlistingco |
+                      self::publisher |
+                      self::qandadiv |
+                      self::qandaentry |
+                      self::qandaset |
+                      self::question |
+                      self::refdescriptor |
+                      self::refentry |
+                      self::refentrytitle |
+                      self::reference |
+                      self::refmeta |
+                      self::refname |
+                      self::refnamediv |
+                      self::refpurpose |
+                      self::refsect1 |
+                      self::refsect2 |
+                      self::refsect3 |
+                      self::refsection |
+                      self::refsynopsisdiv |
+                      self::screen |
+                      self::screenco |
+                      self::screenshot |
+                      self::seg |
+                      self::seglistitem |
+                      self::segmentedlist |
+                      self::segtitle |
+                      self::set |
+                      self::setindex |
+                      self::sidebar |
+                      self::simplelist |
+                      self::simplemsgentry |
+                      self::step |
+                      self::stepalternatives |
+                      self::subjectset |
+                      self::substeps |
+                      self::task |
+                      self::textobject |
+                      self::toc |
+                      self::videodata |
+                      self::videoobject |
+                      self::*[not(starts-with(name(), "informal")) and contains(name(), "info")]'>
+        <w:p>
+          <w:pPr>
+            <w:pStyle w:val='blockerror'/>
+          </w:pPr>
+          <w:r>
+            <w:t>
+              <xsl:value-of select='name()'/>
+              <xsl:text> encountered</xsl:text>
+              <xsl:if test='parent::*'>
+                <xsl:text> in </xsl:text>
+                <xsl:value-of select='name(parent::*)'/>
+              </xsl:if>
+              <xsl:text>, but no template matches.</xsl:text>
+            </w:t>
+          </w:r>
+        </w:p>
+      </xsl:when>
+      <!-- Some elements are sometimes blocks, sometimes inline
+      <xsl:when test='self::affiliation |
+                      self::alt |
+                      self::attribution |
+                      self::collab |
+                      self::collabname |
+                      self::confdates |
+                      self::confgroup |
+                      self::confnum |
+                      self::confsponsor |
+                      self::conftitle |
+                      self::contractnum |
+                      self::contractsponsor |
+                      self::contrib |
+                      self::corpauthor |
+                      self::corpcredit |
+                      self::corpname |
+                      self::edition |
+                      self::editor |
+                      self::jobtitle |
+                      self::personname |
+                      self::publishername |
+                      self::remark'>
+
+      </xsl:when>
+      -->
+      <xsl:otherwise>
+        <w:r>
+          <w:rPr>
+            <w:rStyle w:val='inlineerror'/>
+          </w:rPr>
+          <w:t>
+            <xsl:value-of select='name()'/>
+            <xsl:text> encountered</xsl:text>
+            <xsl:if test='parent::*'>
+              <xsl:text> in </xsl:text>
+              <xsl:value-of select='name(parent::*)'/>
+            </xsl:if>
+            <xsl:text>, but no template matches.</xsl:text>
+          </w:t>
+        </w:r>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template name='attributes'>
+    <xsl:param name='node' select='.'/>
+
+    <xsl:if test='$node/@*'>
+      <aml:annotation aml:id='{count(preceding::*) + 1}' w:type='Word.Comment.Start'/>
+      <w:r>
+        <w:rPr>
+          <w:rStyle w:val='attributes'/>
+        </w:rPr>
+        <w:t>
+          <xsl:text> </xsl:text>
+        </w:t>
+      </w:r>
+      <aml:annotation aml:id='{count(preceding::*) + 1}' w:type='Word.Comment.End'/>
+      <w:r>
+        <w:rPr>
+          <w:rStyle w:val='CommentReference'/>
+        </w:rPr>
+        <aml:annotation aml:id='{count(preceding::*) + 1}' aml:author="DocBook" aml:createdate='2004-12-23T00:01:00' w:type='Word.Comment' w:initials='DBK'>
+          <aml:content>
+            <w:p>
+              <w:pPr>
+                <w:pStyle w:val='CommentText'/>
+              </w:pPr>
+              <w:r>
+                <w:rPr>
+                  <w:rStyle w:val='CommentReference'/>
+                </w:rPr>
+                <w:annotationRef/>
+              </w:r>
+              <xsl:for-each select='$node/@*'>
+                <w:r>
+                  <w:rPr>
+                    <w:rStyle w:val='attribute-name'/>
+                  </w:rPr>
+                  <w:t>
+                    <xsl:value-of select='name()'/>
+                  </w:t>
+                </w:r>
+                <w:r>
+                  <w:t>=</w:t>
+                </w:r>
+                <w:r>
+                  <w:rPr>
+                    <w:rStyle w:val='attribute-value'/>
+                  </w:rPr>
+                  <w:t>
+                    <xsl:value-of select='.'/>
+                  </w:t>
+                </w:r>
+              </xsl:for-each>
+            </w:p>
+          </aml:content>
+        </aml:annotation>
+      </w:r>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match='*' mode='copy'>
+    <xsl:copy>
+      <xsl:for-each select='@*'>
+        <xsl:copy/>
+      </xsl:for-each>
+      <xsl:apply-templates mode='copy'/>
+    </xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/roundtrip/pages-normalise.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/pages-normalise.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/pages-normalise.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,258 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+
+  xmlns:sfa="http://developer.apple.com/namespaces/sfa"
+  xmlns:sf="http://developer.apple.com/namespaces/sf"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xmlns:appsl="http://developer.apple.com/namespaces/sl"
+
+  xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"
+  xmlns:v="urn:schemas-microsoft-com:vml"
+  xmlns:w10="urn:schemas-microsoft-com:office:word"
+  xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core"
+  xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
+  xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint"
+  xmlns:o="urn:schemas-microsoft-com:office:office"
+  xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"
+
+  xmlns:node='http://xsltsl.org/node'
+  xmlns:doc='http://www.oasis-open.org/docbook/xml/4.0'
+  extension-element-prefixes='node'
+  exclude-result-prefixes='doc sfa sf xsi appsl'>
+
+  <xsl:import href='xsltsl/stdlib.xsl'/>
+
+  <xsl:output method="xml" indent='yes'/>
+
+  <!-- ********************************************************************
+       $Id: pages-normalise.xsl 5487 2005-12-13 23:05:24Z balls $
+       ********************************************************************
+
+       This file is part of the XSL DocBook Stylesheet distribution.
+       See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+       and other information.
+
+       ******************************************************************** -->
+
+  <xsl:strip-space elements='*'/>
+  <xsl:preserve-space elements='sf:span'/>
+
+  <xsl:key name='styles'
+	   match='sf:paragraphstyle[not(ancestor::appsl:section-prototypes)] |
+		  sf:characterstyle[not(ancestor::appsl:section-prototypes)]'
+	   use='@sf:ident|@sfa:ID'/>
+
+  <xsl:template match='appsl:document'>
+    <w:wordDocument>
+      <!-- TODO: headers and footers -->
+      <xsl:apply-templates select='sf:text-storage'/>
+    </w:wordDocument>
+  </xsl:template>
+
+  <xsl:template match='sf:text-body'>
+    <w:body>
+      <xsl:apply-templates/>
+    </w:body>
+  </xsl:template>
+
+  <xsl:template match='sf:text-storage'>
+    <wx:sect>
+      <wx:sub-section>
+	<xsl:apply-templates/>
+      </wx:sub-section>
+    </wx:sect>
+  </xsl:template>
+
+  <xsl:template match='sf:p'>
+    <w:p>
+      <xsl:call-template name='find-style'/>
+
+      <xsl:apply-templates/>
+    </w:p>
+  </xsl:template>
+
+  <xsl:template match='sf:span'>
+    <xsl:variable name='style-name'
+		  select='key("styles", @sf:style)/self::sf:characterstyle/@sf:name'/>
+
+    <xsl:choose>
+      <xsl:when test='$style-name = "attribute-name"'>
+	<xsl:if test='not(preceding-sibling::node()[not(self::text()) or (self::text() and normalize-space() != "")])'>
+	  <aml:annotation aml:id='25' w:type='Word.Comment.Start'/>
+	  <w:r>
+	    <w:rPr>
+	      <w:rStyle w:val='attributes'/>
+	    </w:rPr>
+	    <w:t>
+	      <xsl:text> </xsl:text>
+	    </w:t>
+	  </w:r>
+	  <aml:annotation aml:id='25' w:type='Word.Comment.End'/>
+	  <w:r>
+	    <w:rPr>
+	      <w:rStyle w:val='CommentReference'/>
+	    </w:rPr>
+	    <aml:annotation aml:id='25' aml:author='DocBook' aml:createdate='2004-12-23T00:01:00' w:type='Word.Comment' w:initials='DBK'>
+	      <aml:content>
+		<w:p>
+		  <w:pPr>
+		    <w:pStyle w:val='CommentText'/>
+		  </w:pPr>
+                  <w:r>
+                    <w:rPr>
+                      <w:rStyle w:val="CommentReference"/>
+                    </w:rPr>
+                    <w:annotationRef/>
+                  </w:r>
+		  <xsl:call-template name='make-attributes'/>
+		</w:p>
+	      </aml:content>
+	    </aml:annotation>
+	  </w:r>
+	</xsl:if>
+      </xsl:when>
+      <xsl:when test='$style-name = "attribute-value"'/>
+      <xsl:otherwise>
+	<w:r>
+	  <xsl:call-template name='find-style'>
+	    <xsl:with-param name='char-style-name' select='$style-name'/>
+	  </xsl:call-template>
+
+	  <xsl:apply-templates/>
+	</w:r>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <!-- Precondition: $node is a sf:span with style "attribute-name" -->
+  <xsl:template name='make-attributes'>
+    <xsl:param name='node' select='.'/>
+
+    <xsl:choose>
+      <xsl:when test='not($node)'/>
+      <xsl:when test='$node/following-sibling::node()[1][self::sf:span]'>
+	<xsl:if test='key("styles", $node/following-sibling::*[1]/@sf:style)/self::sf:characterstyle/@sf:name = "attribute-value"'>
+	  <w:r>
+	    <w:rPr>
+	      <w:rStyle w:val='attribute-name'/>
+	    </w:rPr>
+	    <w:t>
+	      <xsl:apply-templates select='$node' mode='textonly'/>
+	    </w:t>
+	  </w:r>
+	  <w:r><w:t>=</w:t></w:r>
+	  <w:r>
+	    <w:rPr>
+	      <w:rStyle w:val='attribute-value'/>
+	    </w:rPr>
+	    <w:t>
+	      <xsl:apply-templates select='$node/following-sibling::*[1]'
+				   mode='textonly'/>
+	    </w:t>
+	  </w:r>
+	  <xsl:if test='$node/following-sibling::node()[2][self::sf:span] and
+			key("styles", $node/following-sibling::*[2]/@sf:style)/self::sf:characterstyle/@sf:name = "attribute-name"'>
+	    <xsl:call-template name='make-attributes'>
+	      <xsl:with-param name='node' select='$node/following-sibling::*[2]'/>
+	    </xsl:call-template>
+	  </xsl:if>
+	</xsl:if>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='sf:br'/>
+  <xsl:template match='sf:lnbr|sf:crbr'>
+    <w:r>
+      <w:br/>
+    </w:r>
+  </xsl:template>
+  <xsl:template match='sf:tab'>
+    <xsl:text>        </xsl:text>
+  </xsl:template>
+  <xsl:template match='sf:link'>
+    <w:hlink w:dest='{@href}'>
+      <xsl:apply-templates/>
+    </w:hlink>
+  </xsl:template>
+
+  <xsl:template match='text()'>
+    <xsl:choose>
+      <xsl:when test='ancestor::sf:span'>
+	<w:t>
+	  <xsl:value-of select='.'/>
+	</w:t>
+      </xsl:when>
+      <xsl:otherwise>
+	<w:r>
+	  <xsl:if test='ancestor::sf:link'>
+	    <w:rPr>
+	      <w:rStyle w:val='Hyperlink'/>
+	    </w:rPr>
+	  </xsl:if>
+	  <w:t>
+	    <xsl:value-of select='.'/>
+	  </w:t>
+	</w:r>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='sf:section|sf:layout'>
+    <xsl:apply-templates/>
+  </xsl:template>
+  <xsl:template match='sf:stylesheet|sf:stylesheet-ref |
+		       sf:container-hint |
+		       sf:page-start|sf:br |
+		       sf:selection-start|sf:selection-end |
+		       sf:insertion-point |
+		       sf:ghost-text'/>
+
+  <xsl:template match='*'>
+    <xsl:message>element "<xsl:value-of select='name()'/>" not handled</xsl:message>
+  </xsl:template>
+
+  <xsl:template name='find-style'>
+    <xsl:param name='ident' select='@sf:style'/>
+    <xsl:param name='para-style-name'
+	       select='key("styles", $ident)/self::sf:paragraphstyle/@sf:name'/>
+    <xsl:param name='char-style-name'
+	       select='key("styles", $ident)/self::sf:characterstyle/@sf:name'/>
+
+    <xsl:choose>
+      <xsl:when test='$ident = "paragraph-style-default"'>
+	<w:pPr>
+	  <w:pStyle w:val='Normal'/>
+	</w:pPr>
+      </xsl:when>
+      <xsl:when test='$para-style-name != ""'>
+	<w:pPr>
+	  <xsl:if test='$para-style-name != ""'>
+	    <w:pStyle w:val='{$para-style-name}'/>
+	  </xsl:if>
+	</w:pPr>
+      </xsl:when>
+      <xsl:when test='$char-style-name != "" or
+		      key("styles", $ident)/self::sf:characterstyle/sf:property-map/*'>
+	<w:rPr>
+	  <xsl:if test='$char-style-name != ""'>
+	    <w:rStyle w:val='{$char-style-name}'/>
+	  </xsl:if>
+	  <xsl:apply-templates select='key("styles", $ident)/self::sf:characterstyle/sf:property-map/*'
+			       mode='styles'/>
+	</w:rPr>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='sf:bold' mode='styles'>
+    <w:b/>
+  </xsl:template>
+  <xsl:template match='sf:italic' mode='styles'>
+    <w:i/>
+  </xsl:template>
+  <xsl:template match='sf:underline' mode='styles'>
+    <w:u/>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/roundtrip/param.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/param.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/param.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" exclude-result-prefixes="src" version="1.0">
+
+<!-- This file is generated from param.xweb; do not edit this file! -->
+
+<!-- ********************************************************************
+     $Id: param.xweb 6510 2007-01-18 02:54:56Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:param name="wordml.template" select="''"/>
+<xsl:param name="pages.template" select="''"/>
+</xsl:stylesheet>
+    
\ No newline at end of file

Added: trunk/docs/docbook/src/main/resources/roundtrip/sections-spec.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/sections-spec.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/sections-spec.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,37 @@
+<group:root xmlns:group='http://www.explain.com.au/grouping'>
+  <book styles='book book-title'>
+    <group:level>
+      <group:element name='part' styles='part part-title'/>
+      <group:element name='article' styles='article article-title'/>
+      <group:element name='appendix' styles='appendix appendix-title'/>
+      <group:element name='chapter' styles='chapter chapter-title'/>
+      <group:element name='preface' styles='preface preface-title'/>
+
+      <sect1 styles='sect1 sect1-title'>
+	<sect2 styles='sect2 sect2-title'>
+	  <sect3 styles='sect3 sect3-title'>
+            <sect4 styles='sect4 sect4-title'>
+	      <sect5 styles='sect5 sect5-title'/>
+	    </sect4>
+	  </sect3>
+	</sect2>
+      </sect1>
+    </group:level>
+  </book>
+  <group:level>
+    <group:element name='article' styles='article article-title'/>
+    <group:element name='appendix' styles='appendix appendix-title'/>
+    <group:element name='chapter' styles='chapter chapter-title'/>
+    <group:element name='preface' styles='preface preface-title'/>
+
+    <sect1 styles='sect1 sect1-title'>
+      <sect2 styles='sect2 sect2-title'>
+	<sect3 styles='sect3 sect3-title'>
+          <sect4 styles='sect4 sect4-title'>
+	    <sect5 styles='sect5 sect5-title'/>
+	  </sect4>
+	</sect3>
+      </sect2>
+    </sect1>
+  </group:level>
+</group:root>

Added: trunk/docs/docbook/src/main/resources/roundtrip/specifications.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/specifications.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/specifications.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,706 @@
+<?xml version="1.0" encoding="ascii"?>
+<article>
+  <articleinfo>
+    <title>Round-Tripping Specifications</title>
+    <author>
+      <firstname>Bob</firstname>
+      <surname>Stayton</surname>
+      <affiliation>
+        <orgname>Sagehill Enterprises</orgname>
+      </affiliation>
+    </author>
+    <author>
+      <firstname>Steve</firstname>
+      <surname>Ball</surname>
+      <affiliation>
+        <orgname>Explain</orgname>
+      </affiliation>
+    </author>
+    <revhistory>
+      <revision>
+	<revnumber>1.5</revnumber>
+	<date>2007-01-05</date>
+	<authorinitials>SRB</authorinitials>
+	<revremark>Reduce emphasis on WordML, add support for OpenOffice.</revremark>
+      </revision>
+      <revision>
+	<revnumber>1.4</revnumber>
+	<date>2005-11-11</date>
+	<authorinitials>SRB</authorinitials>
+	<revremark>Added bibliography.</revremark>
+      </revision>
+      <revision>
+	<revnumber>1.3</revnumber>
+	<date>2005-10-31</date>
+	<authorinitials>SRB</authorinitials>
+	<revremark>Added mediaobjectco, imageobjectco, programlistingco, areaspec, area, calloutlist.</revremark>
+      </revision>
+      <revision>
+	<revnumber>1.2</revnumber>
+	<date>2005-10-13</date>
+	<authorinitials>SRB</authorinitials>
+	<revremark>Version prior to using revhistory.</revremark>
+      </revision>
+    </revhistory>
+  </articleinfo>
+  <abstract>
+    <para>This document specifies how DocBook elements can be mapped to paragraph and character styles in a word processor.  The specifications will be used to write conversions between DocBook XML and word processor XML formats, such as Microsoft's WordProcessingML (WordML), OpenOffice's OpenDocument and Apple's Pages.</para>
+  </abstract>
+  <section>
+    <title>Introduction</title>
+    <para>Microsoft Word 2003 introduced WordProcessingML (WordML), an XML vocabulary for Word documents.  Since then, other popular word processors have become available that use XML as their data representation, namely Apple's Pages and OpenOffice.  By converting Word (or OpenOffice or Pages) to XML, it becomes possible to convert a word processing document to DocBook and vice versa using XSL transformations. Such conversions would then enable the following.</para>
+    <itemizedlist>
+      <listitem>
+        <para>DocBook content creators could write in their familiar wordprocessing application, rather than learning a new XML editing application.</para>
+      </listitem>
+      <listitem>
+        <para>DocBook XML documents could be styled for output using the typesetting features of the word processor.</para>
+      </listitem>
+    </itemizedlist>
+    <para>Word processors have a simple, flat data model; documents consist of paragraphs (and tables) and paragraphs contain text and character spans.  All word processors allow styles to be associated with paragraphs and spans.</para>
+    <para>This specification describes how DocBook elements could map to a set of paragraph and character styles. It defines a specific set of style names for which a Word style template can be created. The style names would also be used in XSLT template match patterns for conversion.  Although originally targetted to MS Word, the system has subsequently been extended to use other word processors, notably Apple's Pages.</para>
+  </section>
+  <section>
+    <title>Project goals</title>
+    <para>The goal of this project is to enable a word processor, such as Microsoft Word, to be used with DocBook files.  The specific goals include:</para>
+    <itemizedlist>
+      <listitem>
+        <para>Enable authoring of basic DocBook documents in the word processor.</para>
+      </listitem>
+      <listitem>
+        <para>Enable importing of basic DocBook XML documents into the word processor.</para>
+      </listitem>
+    </itemizedlist>
+    <para>To meet these goals, the project will produce a toolkit that can be immediately put to use.  The kit will include:</para>
+    <itemizedlist>
+      <listitem>
+        <para>Templates for Microsoft Word, Apple Pages and OpenOffice with formatting styles attached to the style names.</para>
+      </listitem>
+      <listitem>
+        <para>XSLT stylesheets that convert a word processing document that is authored with the corresponding template into a DocBook XML file.</para>
+      </listitem>
+      <listitem>
+        <para>XSLT stylesheets that convert a DocBook document into a word processing document that can be opened in a word processor.</para>
+      </listitem>
+    </itemizedlist>
+    <section>
+      <title>Why basic DocBook?</title>
+      <para>It isn't clear that this project will ever be able to support all DocBook elements and structure. The project will initially focus on a basic set of commonly used DocBook elements to demonstrate the feasibility and usefulness of using a word processor with DocBook. </para>
+      <para>One problem facing this conversion project is the sheer number of DocBook elements, over 400 in DocBook 4.3. To support DocBook structural models, several of the elements will require more than one paragraph or character style. This could lead to a very long and unwieldy list of styles in the word processor interface. That would make authoring less efficient and discourage users.</para>
+      <para>So this project assumes that authors who need the full set of DocBook elements will use an XML authoring tool that better supports them. This project will enable authors to write basic DocBook documents using a word processor. Because Microsoft Word is so widespread, this project will help a lot of new DocBook users get started with familiar tools.  They can then graduate to more advanced tools as their needs develop.</para>
+    </section>
+  </section>
+  <section>
+    <title>Project Non-Goals</title>
+    <para>The following goals <emphasis>are not</emphasis> in the scope of this project:</para>
+    <itemizedlist>
+      <listitem>
+        <para>Support of versions of Word that do not feature reading/writing WordML (XML).  That is, all versions prior to Word 11 (Office 2003).</para>
+      </listitem>
+      <listitem>
+        <para>Supporting user-defined style names.  However, this system should not prevent, or make difficult, adding such support via a customisation layer.</para>
+      </listitem>
+      <listitem>
+        <para>Support of arbitrarily defined styles.  This system may expect certain styles to be defined in a particular fashion (in particular, those defining the title of components and divisions).</para>
+      </listitem>
+    </itemizedlist>
+  </section>
+  <section>
+    <title>Mapping elements to styles</title>
+    <para>Although WordML, OpenDocument and DocBook are all XML, there several challenges when trying to convert between them.</para>
+    <para>The basic problem in mapping paragraph/character styles to DocBook elements is that word processor documents support far less structure than DocBook.  DocBook permits nesting of elements within other elements, providing multiple levels of context for each element.  </para>
+    <para>Word's only structural feature is the outlining mode. In Word outlining, certain paragraph styles are assigned outline levels.  When a user applies those styles, they effectively create logical structure in the Word document.  Unfortunately, Word itself attempts to automatically determine which paragraphs are headings, and so this method is unreliable.</para>
+    <para>Instead of relying on Word's built-in outlining mode, this system uses only the names of paragraph styles to determine document structure.  Certain heuristics are applied to build the DocBook element structure from the (relatively flat) word processing structure.  Titles and other features are used to mark the beginning of a structure, and all paragraphs following that are included in that structure until the beginning of the next structure is found.  Problems may arise when a structure should end, but there is no word processor feature that marks the endpoint.</para>
+    <para>Nesting of block elements is another commonly used feature of DocBook.  It is not possible to use Word's outline mode for blocks if it is being used for components and sections.  So in this specification, nesting of block elements is indicated by adding a number suffix to a style. So a paragraph with style <literal>orderedlist2</literal> is considered to be contained within a preceding paragraph with style <literal>listitem</literal>. In the word processor, paragraph indent levels will be used to visually indicate nesting of blocks. </para>
+    <para>Nesting of inline DocBook elements is particularly difficult to support because word processors do not nest character styles. That means a nested inline would require a separate character style to indicate the parent-child relationship. Given the large number of combinations possible, a prohibitively large number of character styles would have to be created. In this project, nesting of character styles will not be supported in the first release. Nested inlines being imported from DocBook will be converted to a sequence of single-name character styles.</para>
+    <para>In many cases, DocBook structure can be derived from the flat sequence of paragraphs based on sibling relationships. For example, when a paragraph styled as <literal>para</literal> is followed by a paragraph styled as  <literal>itemizedlist</literal>, the conversion to DocBook will output a <sgmltag class="element">para</sgmltag> element and then start an <sgmltag class="element">itemizedlist</sgmltag> element, with the second paragraph as its first <sgmltag class="element">listitem</sgmltag>. All <literal>itemizedlist</literal> paragraphs that follow without interruption are put in the same <sgmltag class="element">itemizedlist</sgmltag> element.</para>
+    <para>Some combinations of elements cannot be supported (at least not with the techniques as described in this document).  An example is <sgmltag class="element">informalexample</sgmltag> and its permitted content; there is no title to mark the beginning of the element and no marker for the end of the element, also there are too many parent-child combinations to reasonably define style names.</para>
+    <para>Here are the design principles used in this project for selecting paragraph/character style names:</para>
+    <itemizedlist>
+      <listitem>
+        <para>Where Word (or OpenOffice or Pages), by default, has a style or feature that corresponds directly to a DocBook element then that style or feature will be used (and documented in this document).  For example, the <literal>Normal</literal> paragraph style maps to a DocBook <sgmltag>para</sgmltag> element, and a Word table (<sgmltag>w:tbl</sgmltag>) maps to a DocBook <sgmltag>table</sgmltag><footnote><para>In some cases Word may posess a feature, but it doesn't function in an acceptable manner.  For example, lists.  In these cases the feature is to be avoided, and a workaround provided.</para></footnote>.</para>
+      </listitem>
+      <listitem>
+        <para>Paragraph and character style names will match DocBook element names as much as possible. This will enable authors to learn DocBook element names, and help debug problems with conversion.</para>
+      </listitem>
+      <listitem>
+        <para>A style may indicate a parent-child relationship, but the paragraph for such an element may only occur after a paragraph that denotes the beginning of the parent structure.  In this case the element name is used as the style name.  For example, a <sgmltag>personblurb</sgmltag> paragraph may only occur after an <sgmltag>author</sgmltag>, <sgmltag>editor</sgmltag> or <sgmltag>othercontrib</sgmltag> paragraph.  If a paragraph occurs without the appropriate preceding paragraph, then an error is signalled.</para>
+      </listitem>
+      <listitem>
+        <para>Some styles may also indicate a parent-child relationship, but either the parent structure is ambiguous or the paragraph starts the parent structure.  For example, <literal>chapter-title</literal> indicates that the paragraph is a <sgmltag>title</sgmltag> whose DocBook parent is a <sgmltag>chapter</sgmltag>.</para>
+      </listitem>
+      <listitem>
+        <para>Some style names are simplified to make them easier to use in the word processor. For example, a paragraph in an orderedlist requires three elements in DocBook: <sgmltag class="element">orderedlist</sgmltag>, <sgmltag class="element">listitem</sgmltag>, and <sgmltag class="element">para</sgmltag>. The paragraph style name in Word is shortened from <literal>orderedlist-listitem-para</literal> to just <literal>orderedlist</literal>.   In the case of lists (see below), the list level is appended so this example becomes <literal>orderedlist1</literal></para>
+      </listitem>
+      <listitem>
+        <para>Style names with a number suffix indicate a nesting level, as described above.</para>
+      </listitem>
+      <listitem>
+        <para>Style names with <literal>continue</literal> indicate that the paragraph is part of the preceding element. For example, a <literal>para</literal> paragraph is used for a single paragraph <sgmltag class="element">para</sgmltag> element. This would cause any preceding list to be closed. If a list item in the preceding list is to contain more than one paragraph, then the subsequent paragraphs in the word processor document would get a <literal>para-continue</literal> style.</para>
+      </listitem>
+      <listitem>
+        <para>Character styles map to elements that are children of the element for the paragraph, hence there is no need to encode parent-child relationships.  For example, a <sgmltag>surname</sgmltag> character style in an <sgmltag>author</sgmltag> paragraph becomes a <sgmltag>surname</sgmltag> child element of the <sgmltag>author</sgmltag> element.</para>
+      </listitem>
+      <listitem>
+        <para>Empty paragraph and character styles are ignored.</para>
+      </listitem>
+      <listitem>
+        <para>The first paragraph style in the word processor document is used to define the root element of the DocBook document. For example, if the document starts with <literal>book-title</literal>, then the DocBook document will have <literal>book</literal> as its root element.  All the rest of the document content will be contained in that root element.</para>
+      </listitem>
+    </itemizedlist>
+    <para>Sequential structures are coalesced into a single parent element.  For example, a sequence of <sgmltag>itemizedlist</sgmltag> paragraphs becomes a single <sgmltag>itemizedlist</sgmltag> element with several <sgmltag>listitem</sgmltag> children.</para>
+    <table>
+      <title>DocBook to Paragraph/Character Styles</title>
+      <tgroup cols="3">
+        <colspec colnum="1" colname="col1" colwidth="1.00*"/>
+        <colspec colnum="2" colname="col2" colwidth="1.89*"/>
+        <colspec colnum="3" colname="col3" colwidth="1.97*"/>
+        <thead>
+          <row>
+            <entry colname="col1">DocBook element</entry>
+            <entry colname="col2">Style(s)</entry>
+            <entry colname="col3">Comments</entry>
+          </row>
+        </thead>
+        <tbody>
+          <row>
+            <entry namest="col1" nameend="col3">
+              <emphasis role="bold">Components and sections</emphasis>
+            </entry>
+          </row>
+          <row>
+            <entry colname="col1">book/bookinfo/title</entry>
+            <entry colname="col2">book-title</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">book/bookinfo/subtitle</entry>
+            <entry colname="col2">book-subtitle</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">book/bookinfo/titleabbrev</entry>
+            <entry colname="col2">book-titleabbrev</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">chapter/chapterinfo/title</entry>
+            <entry colname="col2">chapter-title</entry>
+            <entry colname="col3">Assigned Word outline level 1.</entry>
+          </row>
+          <row>
+            <entry colname="col1">chapter/chapterinfo/subtitle</entry>
+            <entry colname="col2">chapter-subtitle</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">chapter/chapterinfo/titleabbrev</entry>
+            <entry colname="col2">chapter-titleabbrev</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">appendix/appendixinfo/title</entry>
+            <entry colname="col2">appendix-title</entry>
+            <entry colname="col3">Assigned Word outline level 1.</entry>
+          </row>
+          <row>
+            <entry colname="col1">preface/prefaceinfo/title</entry>
+            <entry colname="col2">preface-title</entry>
+            <entry colname="col3">Assigned Word outline level 1.</entry>
+          </row>
+          <row>
+            <entry colname="col1">article/articleinfo/title</entry>
+            <entry colname="col2">article-title</entry>
+            <entry colname="col3">Assigned Word outline level 1.</entry>
+          </row>
+          <row>
+            <entry colname="col1">article/articleinfo/subtitle</entry>
+            <entry colname="col2">article-subtitle</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">article/articleinfo/titleabbrev</entry>
+            <entry colname="col2">article-titleabbrev</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">bibliography/bibliographyinfo/title</entry>
+            <entry colname="col2">bibliography-title</entry>
+            <entry colname="col3">Assigned Word outline level 1.</entry>
+          </row>
+          <row>
+            <entry colname="col1">bibliography/bibliodiv</entry>
+            <entry colname="col2">bibliodiv-title</entry>
+            <entry colname="col3"></entry>
+          </row>
+          <row>
+            <entry colname="col1">biblioentry</entry>
+            <entry colname="col2">biblioentry-title</entry>
+            <entry colname="col3">Metadata elements after the biblioentry-title paragraph become part of the <sgmltag>biblioentry</sgmltag>.</entry>
+          </row>
+          <row>
+            <entry colname="col1">glossary/glossaryinfo/title</entry>
+            <entry colname="col2">glossary-title</entry>
+            <entry colname="col3">Assigned Word outline level 1.</entry>
+          </row>
+          <row>
+            <entry colname="col1">index/indexinfo/title</entry>
+            <entry colname="col2">index-title</entry>
+            <entry colname="col3">Assigned Word outline level 1.</entry>
+          </row>
+          <row>
+            <entry colname="col1">sect1/sect1info/title</entry>
+            <entry colname="col2">sect1-title</entry>
+            <entry colname="col3">Assigned Word outline level 2.</entry>
+          </row>
+          <row>
+            <entry colname="col1">sect1/sect1info/subtitle</entry>
+            <entry colname="col2">sect1-subtitle</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">sect1/sect1info/titleabbrev</entry>
+            <entry colname="col2">sect1-titleabbrev</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">sect2/sect2info/title</entry>
+            <entry colname="col2">sect2-title</entry>
+            <entry colname="col3">Assigned Word outline level 3.</entry>
+          </row>
+          <row>
+            <entry colname="col1">sect2/sect2info/subtitle</entry>
+            <entry colname="col2">sect2-subtitle</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">sect2/sect2info/titleabbrev</entry>
+            <entry colname="col2">sect2-titleabbrev</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">sect3/sect3info/title</entry>
+            <entry colname="col2">sect3-title</entry>
+            <entry colname="col3">Assigned Word outline level 4.</entry>
+          </row>
+          <row>
+            <entry colname="col1">sect3/sect3info/subtitle</entry>
+            <entry colname="col2">sect3-subtitle</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">sect3/sect3info/titleabbrev</entry>
+            <entry colname="col2">sect3-titleabbrev</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">sect4/sect4info/title</entry>
+            <entry colname="col2">sect4-title</entry>
+            <entry colname="col3">Assigned Word outline level 5.</entry>
+          </row>
+          <row>
+            <entry colname="col1">sect4/sect4info/subtitle</entry>
+            <entry colname="col2">sect4-subtitle</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">sect4/sect4info/titleabbrev</entry>
+            <entry colname="col2">sect4-titleabbrev</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">sect5/sect5info/title</entry>
+            <entry colname="col2">sect5-title</entry>
+            <entry colname="col3">Assigned Word outline level 6.</entry>
+          </row>
+          <row>
+            <entry colname="col1">sect5/sect5info/subtitle</entry>
+            <entry colname="col2">sect5-subtitle</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">sect5/sect5info/titleabbrev</entry>
+            <entry colname="col2">sect5-titleabbrev</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">section</entry>
+            <entry colname="col2">sectN-title</entry>
+            <entry colname="col3">Unnumbered sections are mapped to their numbered equivalent.  A parameter (named?) may be set to map numbered sections (<literal>sect1</literal>, etc) back to unnumbered sections.</entry>
+          </row>
+          <row>
+            <entry namest="col1" nameend="col3">
+              <emphasis role="bold">Block-level elements</emphasis>
+            </entry>
+          </row>
+          <row>
+            <entry colname="col1">para</entry>
+            <entry colname="col2">para, Normal</entry>
+            <entry colname="col3">Any Word paragraph with style <literal>Normal</literal> will also be converted to a <sgmltag class="element">para</sgmltag> element.</entry>
+          </row>
+          <row>
+            <entry colname="col1">abstract</entry>
+            <entry colname="col2">abstract,abstract-title</entry>
+            <entry colname="col3"><sgmltag>abstract</sgmltag>/<sgmltag>para</sgmltag>.</entry>
+          </row>
+          <row>
+            <entry colname="col1">note/para</entry>
+            <entry colname="col2">note</entry>
+            <entry colname="col3">Consecutive paragraphs with style "note" after the first note are to be treated as part of the same <sgmltag class="element">note</sgmltag> element.  That is, consecutive notes are coalesced.</entry>
+          </row>
+          <row>
+            <entry colname="col1">note/title</entry>
+            <entry colname="col2">note-title</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">caution/para</entry>
+            <entry colname="col2">caution</entry>
+            <entry colname="col3">Consecutive cautions are coalesced.</entry>
+          </row>
+          <row>
+            <entry colname="col1">warning/para</entry>
+            <entry colname="col2">warning</entry>
+            <entry colname="col3">Consecutive warnings are coalesced.</entry>
+          </row>
+          <row>
+            <entry colname="col1">important/para</entry>
+            <entry colname="col2">important</entry>
+            <entry colname="col3">Consecutive importants are coalesced.</entry>
+          </row>
+          <row>
+            <entry colname="col1">tip/para</entry>
+            <entry colname="col2">tip</entry>
+            <entry colname="col3">Consecutive tips are coalesced.</entry>
+          </row>
+          <row>
+            <entry colname="col1">itemizedlist/listitem/para</entry>
+            <entry colname="col2">
+              <literallayout class="monospaced">itemizedlist1
+itemizedlist1
+itemizedlist2
+itemizedlist3
+itemizedlist4</literallayout>
+            </entry>
+            <entry colname="col3">A number suffix indicates a nesting level within other lists.</entry>
+          </row>
+          <row>
+            <entry colname="col1">orderedlist/listitem/para</entry>
+            <entry colname="col2">
+              <literallayout class="monospaced">orderedlist1
+orderedlist1
+orderedlist2
+orderedlist3
+orderedlist4</literallayout>
+            </entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">variablelist/varlistentry/term</entry>
+            <entry colname="col2">
+              <literallayout class="monospaced">variablelist1-term
+variablelist2-term
+variablelist3-term
+variablelist4-term
+variablelist5-term</literallayout>
+            </entry>
+            <entry colname="col3">A <sgmltag class="element">variablelist</sgmltag> in Word should be a sequence of alternating paragraphs styled as <literal>variablelist-term</literal> and <literal>variablelist</literal>.</entry>
+          </row>
+          <row>
+            <entry colname="col1">variablelist/varlistentry/listitem/para</entry>
+            <entry colname="col2">
+              <literallayout class="monospaced">variablelist1
+variablelist1
+variablelist2
+variablelist3
+variablelist4</literallayout>
+            </entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">listitem/para[position() != 1]</entry>
+            <entry colname="col2">para-continue</entry>
+            <entry colname="col3">This paragraph is included in the immediately preceding listitem.</entry>
+          </row>
+          <row>
+            <entry colname="col1">example with title and programlisting children</entry>
+            <entry colname="col2">example-title followed by programlisting</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">example with title and literallayout children</entry>
+            <entry colname="col2">example-title followed by literallayout</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">example with title and mediaobject children</entry>
+            <entry colname="col2">example-title followed by image styled with example style</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">figure with title and programlisting children</entry>
+            <entry colname="col2">figure-title followed by programlisting</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">figure with title and literallayout children</entry>
+            <entry colname="col2">figure-title followed by literallayout</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">figure with title and mediaobject children</entry>
+            <entry colname="col2">figure-title followed by image styled with figure style</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">informalfigure</entry>
+            <entry colname="col2">image tagged as figure style</entry>
+            <entry colname="col3">with no figure-title above or below</entry>
+          </row>
+          <row>
+            <entry colname="col1">informalfigure/mediaobject/imageobject/imagedata/@fileref</entry>
+            <entry colname="col2">informalfigure-imagedata</entry>
+            <entry colname="col3">The content of the paragraph is taken as the URI for the image.  For use in cases where the image is not embedded in the Word document.</entry>
+          </row>
+	  <row>
+	    <entry colname='col1'>mediaobject|imageobject</entry>
+	    <entry colname='col2'>imageobject-imagedata, caption</entry>
+	    <entry colname='col3'>The content of the imageobject-imagedata paragraph is taken as the URI for the image.  May be followed by a <sgmltag>caption</sgmltag> style paragraph.</entry>
+	  </row>
+          <row>
+            <entry colname="col1">mediaobjectco/imageobjectco/*[self::imagedata/@fileref|areaspec|calloutlist]</entry>
+            <entry colname="col2">mediaobjectco-title, imageobjectco-imagedata, areaspec, area, callout</entry>
+            <entry colname="col3">The content of the imageobjectco-imagedata paragraph is taken as the URI for the image.  May be preceded by areaspec and area paragraphs, and followed by callout paragraphs (these are ignored if not associated with an imageobjectco or programlistingco).  areaspec and area are normally empty paragraphs, but may have attributes encoded in the usual fashion.  callout paragraphs are collected together into a calloutlist, and may have nested lists.</entry>
+          </row>
+          <row>
+            <entry colname="col1">programlistingco/*[self::programlisting|areaspec|calloutlist]</entry>
+            <entry colname="col2">programlistingco, areaspec, area, callout</entry>
+            <entry colname="col3">programlistingco may be preceded by areaspec and area paragraphs, and followed by callout paragraphs (these are ignored if not associated with an imageobjectco or programlistingco).  areaspec and area are normally empty paragraphs, but may have attributes encoded in the usual fashion.  callout paragraphs are collected together into a calloutlist, and may have nested lists.</entry>
+          </row>
+          <row>
+            <entry colname="col1">table</entry>
+            <entry colname="col2">Word table</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">table/title</entry>
+            <entry colname="col2">table-title</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">informaltable</entry>
+            <entry colname="col2">Word table</entry>
+            <entry colname="col3">with no table-title above or below</entry>
+          </row>
+          <row>
+            <entry colname="col1">literallayout</entry>
+            <entry colname="col2">literallayout</entry>
+            <entry colname="col3">Inside a <literal>literallayout</literal> paragraph in Word, lines should be separated by  line break (Shift-Enter) rather than paragraph break (Enter).</entry>
+          </row>
+          <row>
+            <entry colname="col1">programlisting</entry>
+            <entry colname="col2">programlisting</entry>
+            <entry colname="col3">Inside a <literal>programlisting</literal> paragraph in Word, lines should be separated by  line break (Shift-Enter) rather than paragraph break (Enter). Tabs are not supported.</entry>
+          </row>
+          <row>
+            <entry colname="col1">blockquote/para</entry>
+            <entry colname="col2">blockquote</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">blockquote/title</entry>
+            <entry colname="col2">blockquote-title</entry>
+            <entry colname="col3">Should immediately precede a <literal>blockquote</literal> paragraph in Word.</entry>
+          </row>
+          <row>
+            <entry colname="col1">blockquote/attribution</entry>
+            <entry colname="col2">blockquote-attribution</entry>
+            <entry colname="col3">Should immediately follow a <literal>blockquote</literal> paragraph in Word.</entry>
+          </row>
+          <row>
+            <entry colname="col1">highlights/para</entry>
+            <entry colname="col2">highlights</entry>
+            <entry colname="col3">Consecutive highlights paragraphs are coalesced into a single highlights parent.</entry>
+          </row>
+          <row>
+            <entry colname="col1">highlights/itemizedlist/listitem/para</entry>
+            <entry colname="col2">highlights-itemizedlist</entry>
+            <entry colname="col3">Nested lists are not currently supported.</entry>
+          </row>
+          <row>
+            <entry colname="col1">highlights/orderedlist/listitem/para</entry>
+            <entry colname="col2">highlights-orderedlist</entry>
+            <entry colname="col3">Nested lists are not currently supported.</entry>
+          </row>
+          <row>
+            <entry colname="col1">highlights/caution</entry>
+            <entry colname="col2">highlights-caution</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">highlights/important</entry>
+            <entry colname="col2">highlights-important</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">highlights/note</entry>
+            <entry colname="col2">highlights-note</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">highlights/tip</entry>
+            <entry colname="col2">highlights-tip</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">highlights/warning</entry>
+            <entry colname="col2">highlights-warning</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry namest="col1" nameend="col3">
+              <emphasis role="bold">Inline elements</emphasis>
+            </entry>
+          </row>
+          <row>
+            <entry colname="col1">emphasis</entry>
+            <entry colname="col2">emphasis</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">emphasis with @role="bold"</entry>
+            <entry colname="col2">emphasis-bold</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">footnote</entry>
+            <entry colname="col2">Word footnote</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">link</entry>
+            <entry colname="col2">link</entry>
+            <entry colname="col3">In Word, hyperlink properties identify the DocBook linkend.</entry>
+          </row>
+          <row>
+            <entry colname="col1">xref</entry>
+            <entry colname="col2">xref</entry>
+            <entry colname="col3">In Word, hyperlink properties identify the DocBook linkend. Some placeholder text can be used in Word, but it will be discarded when exported to DocBook where xref is an empty element.</entry>
+          </row>
+          <row>
+            <entry colname="col1">olink</entry>
+            <entry colname="col2">olink</entry>
+            <entry colname="col3">In Word, hyperlink properties identify the DocBook targetdoc and targetptr.</entry>
+          </row>
+          <row>
+            <entry colname="col1">ulink</entry>
+            <entry colname="col2">ulink</entry>
+            <entry colname="col3">In Word, hyperlink properties identify the url.</entry>
+          </row>
+          <row>
+            <entry colname="col1">glossterm</entry>
+            <entry colname="col2">glossterm</entry>
+            <entry colname="col3">In Word, hyperlink properties identify the DocBook linkend.</entry>
+          </row>
+          <row>
+            <entry colname="col1">firstterm</entry>
+            <entry colname="col2">firstterm</entry>
+            <entry colname="col3">In Word, hyperlink properties identify the DocBook linkend.</entry>
+          </row>
+          <row>
+            <entry colname="col1">computeroutput</entry>
+            <entry colname="col2">computeroutput</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">literal</entry>
+            <entry colname="col2">literal</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">replaceable</entry>
+            <entry colname="col2">replaceable</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">userinput</entry>
+            <entry colname="col2">userinput</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">command</entry>
+            <entry colname="col2">command</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">filename</entry>
+            <entry colname="col2">filename</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">option</entry>
+            <entry colname="col2">option</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">parameter</entry>
+            <entry colname="col2">parameter</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">systemitem</entry>
+            <entry colname="col2">systemitem</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">releaseinfo</entry>
+            <entry colname="col2">releaseinfo</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">author</entry>
+            <entry colname="col2">author</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">bibliomisc</entry>
+            <entry colname="col2">bibliomisc</entry>
+            <entry colname="col3"/>
+          </row>
+          <row>
+            <entry colname="col1">surname</entry>
+            <entry colname="col2">surname</entry>
+            <entry colname="col3">Character style.  Must occur in an appropriate parent paragraph, such as <sgmltag>author</sgmltag>.</entry>
+          </row>
+          <row>
+            <entry colname="col1">firstname</entry>
+            <entry colname="col2">firstname</entry>
+            <entry colname="col3">Character style.  Must occur in an appropriate parent paragraph, such as <sgmltag>author</sgmltag>.</entry>
+          </row>
+          <row>
+            <entry colname="col1">orgname</entry>
+            <entry colname="col2">orgname</entry>
+            <entry colname="col3"/>
+          </row>
+        </tbody>
+      </tgroup>
+    </table>
+    <section>
+      <title>Attributes</title>
+      <para>Attributes are a feature of DocBook XML that have no direct counterpart in Word.  Several approaches are possible:</para>
+      <itemizedlist>
+        <listitem>
+          <para>Use Word comments (annotations); the currently implemented approach.  Some dummy text (just a space, using a character style that includes the hidden property) anchors the comment.  Within the comment text, character types are used to indicate attribute names and values (these must be paired).  This approach keeps the attributes separate to the main body and allows multiple attributes to be encoded.</para>
+          <para>A disadvantage to this approach (which also applies to the other approaches below) is that a paragraph may be related to more than one element, but the attributes are associated with only one element (by default the parent).  For example, a section may have an attribute as well as the title child element, but only a single paragraph (with paragraph style <literal>section-title</literal>) represents both elements.  Any attribute defined in a comment would be associated with the <sgmltag>section</sgmltag> element.</para>
+	  <para>Pages does not have annotations, so the character styles attribute-name and attribute-value are used.</para>
+        </listitem>
+        <listitem>
+          <para>Use Word Bookmarks for attributes. For example, a Word Bookmark named <literal>att_role_foobar</literal> could be inserted into a paragraph. When converted to DocBook XML, this would become a <sgmltag class="attribute">role="foobar"</sgmltag> attribute on the element derived from the paragraph containing the Bookmark.</para>
+        </listitem>
+        <listitem>
+          <para>Use hidden text.  Define character styles that have their text hidden, and place these at the beginning of a paragraph.</para>
+        </listitem>
+      </itemizedlist>
+    </section>
+  </section>
+</article>

Added: trunk/docs/docbook/src/main/resources/roundtrip/supported.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/supported.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/supported.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,7137 @@
+<article>
+  <articleinfo>
+    <title>Supported Elements</title>
+
+    <author>
+      <surname>Ball</surname>
+      <firstname>Steve</firstname>
+      <affiliation>
+	<orgname>Explain</orgname>
+	<address>
+	  <otheraddr><ulink url='http://www.explain.com.au/'>www.explain.com.au</ulink></otheraddr>
+	</address>
+      </affiliation>
+    </author>
+
+    <releaseinfo>$Id: supported.xml 5487 2005-12-13 23:05:24Z balls $</releaseinfo>
+
+    <revhistory>
+      <revision>
+	<revnumber>1.1</revnumber>
+	<authorinitials>SRB</authorinitials>
+	<date>2005-12-14</date>
+	<revremark>Added contrib.</revremark>
+      </revision>
+      <revision>
+	<revnumber>1.0</revnumber>
+	<authorinitials>SRB</authorinitials>
+	<date>2005-12-06</date>
+	<revremark>Moved material from specs document.</revremark>
+      </revision>
+    </revhistory>
+  </articleinfo>
+
+  <para>The DocBook roundtripping system supports only a subset of DocBook elements.  The status of support for the various elements is shown below.</para>
+  <para>Further, DocBook elements may only be combined in certain ways.  Restrictions to how elements may be used together is also noted below.</para>
+
+  <para>Legend: dbk:yes fully supported; dbk:no not supported; dbk:partial limited support.</para>
+
+  <table>
+    <title>Support Elements</title>
+
+    <tgroup cols='3'>
+      <colspec colnum='1' colname='c1' colwidth='1.00*'/>
+      <colspec colnum='2' colname='c2' colwidth='1.00*'/>
+      <colspec colnum='3' colname='c3' colwidth='1.00*'/>
+      <colspec colnum='4' colname='c4' colwidth='1.00*'/>
+      <colspec colnum='5' colname='c5' colwidth='2.00*'/>
+
+      <thead>
+	<row>
+	  <entry>
+	    <para>Element name</para>
+	  </entry>
+	  <entry>
+	    <para>Style name</para>
+	  </entry>
+	  <entry>
+	    <para>Support status</para>
+	  </entry>
+	  <entry>
+	    <para>Type</para>
+	  </entry>
+	  <entry>
+	    <para>Comments</para>
+	  </entry>
+	</row>
+      </thead>
+
+      <tbody>
+	<row>
+	  <entry>
+	    <para><sgmltag>abbrev</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>abbrev</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>abstract</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>abstract</literal></para>
+	    <para><literal>abstract-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Will be included in component metadata. May be preceded by a title.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>accel</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>accel</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>ackno</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>ackno</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>acronym</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>acronym</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>action</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>action</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>address</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>address</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Address elements will be created where necessary in metadata, but mayalso be explicit.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>affiliation</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>affiliation</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>May be included in metadata.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>alt</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>alt</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>anchor</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>anchor</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>answer</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>answer</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Must be preceded by a <sgmltag>question</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>appendix</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>appendix-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>appendixinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created when required for metadata.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>application</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>application</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>area</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>area</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Must be preceded by an <sgmltag>areaspec</sgmltag> element.  No content is permitted.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>areaspec</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>areaspec</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Only effective when used with a callout element.  No content is permitted.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>arg</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>arg</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>article</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>article-title</literal></para>
+	    <para><literal>article-subtitle</literal></para>
+	    <para><literal>article-titleabbrev</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><sgmltag>articleinfo</sgmltag> is created if required for metadata.  <sgmltag>title</sgmltag>, <sgmltag>subtitle</sgmltag> and <sgmltag>titleabbrev</sgmltag> created as required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>articleinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>See <sgmltag>article</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>artpagenums</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>artpagenums</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>attribution</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>blockquote-attribution</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:partial</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Only supported for use with <sgmltag>blockquote</sgmltag>.  Must be preceded by <literal>blockquote</literal> or <literal>blockquote-title</literal>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>audiodata</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>audiodata</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>audioobject</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>audioobject</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>author</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>author</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Child elements are defined using character styles.  Any other text content is ignored.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>authorblurb</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>authorblurb</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>authorgroup</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>authorgroup</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>authorinitials</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>authorinitials</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>beginpage</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>beginpage</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>bibliocoverage</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>bibliocoverage</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>bibliodiv</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>bibliodiv-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Must be preceded by <literal>bibliography-title</literal>.  <sgmltag>title</sgmltag> element created as required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>biblioentry</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>biblioentry-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Must be preceded by <literal>bibliography-title</literal>.  <sgmltag>title</sgmltag> element created as required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>biblioentry</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>biblioentry-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Must be preceded by <literal>bibliography-title</literal>.  <sgmltag>title</sgmltag> element created as required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>bibliography</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>bibliography-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><sgmltag>title</sgmltag> element created as required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>bibliographyinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>biblioid</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>biblioid</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>bibliolist</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>bibliolist</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>bibliomisc</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>bibliomisc</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>bibliomixed</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>bibliomixed</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>bibliomset</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>bibliomset</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>biblioref</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>biblioref</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>bibliorelation</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>bibliorelation</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>biblioset</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>biblioset</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>bibliosource</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>bibliosource</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>blockinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:partial</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created when necessary for metadata.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>blockquote</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>blockquote</literal></para>
+	    <para><literal>blockquote-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Consecutive blockquote elements are coalesced into a single <sgmltag>blockquote</sgmltag> element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>book</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>book-title</literal></para>
+	    <para><literal>book-subtitle</literal></para>
+	    <para><literal>book-titleabbrev</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><sgmltag>bookinfo</sgmltag> is created if required for metadata.  <sgmltag>title</sgmltag>, <sgmltag>subtitle</sgmltag> and <sgmltag>titleabbrev</sgmltag> created as required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>bookinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created when required, see <sgmltag>book</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>bridgehead</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>bridgehead</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>callout</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>callout</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><sgmltag>calloutlist</sgmltag> element created automatically.  Consecutive <sgmltag>callout</sgmltag> elements are coalesced into a single <sgmltag>calloutlist</sgmltag> element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>calloutlist</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><sgmltag>calloutlist</sgmltag> element created automatically, see <sgmltag>callout</sgmltag> element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>caption</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>caption</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Must be preceded by mediaobject, table or figure.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>caution</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>caution</literal></para>
+	    <para><literal>caution-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Consecutive cautions are colesced into a single <sgmltag>caution</sgmltag> element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>chapter</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>chapter-title</literal></para>
+	    <para><literal>chapter-subtitle</literal></para>
+	    <para><literal>chapter-titleabbrev</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><sgmltag>chapterinfo</sgmltag> is created if required for metadata.  <sgmltag>title</sgmltag>, <sgmltag>subtitle</sgmltag> and <sgmltag>titleabbrev</sgmltag> created as required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>chapterinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created when required, see <sgmltag>chapter</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>citation</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>citation</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>citebiblioid</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>citebiblioid</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>citerefentry</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>citerefentry</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>citetitle</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>citetitle</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>city</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>city</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>classname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>classname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>classsynopsis</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>classsynopsis</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>classsynopsisinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>classsynopsisinfo</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>cmdsynopsis</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>cmdsynopsis</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>co</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>co</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>code</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>code</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>col</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>col</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>colgroup</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>colgroup</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>collab</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>collab</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>collabname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>collabname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>colophon</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>colophon</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>colspec</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>colspec</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created when required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>command</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>command</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>computeroutput</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>computeroutput</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>confdates</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>confdates</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>confgroup</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>confgroup</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>confnum</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>confnum</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>confsponsor</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>confsponsor</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>conftitle</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>conftitle</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>constant</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>constant</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>constraint</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>constraint</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>constraintdef</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>constraintdef</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>constructorsynopsis</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>constructorsynopsis</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>contractnum</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>contractnum</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>contractsponsor</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>contractsponsor</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>contrib</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Default element to use for metadata.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>copyright</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>copyright</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>coref</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>coref</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>corpauthor</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>corpauthor</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>corpcredit</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>corpcredit</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>corpname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>corpname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>country</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>country</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>database</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>database</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>date</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>date</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>dedication</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>dedication</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>destructorsynopsis</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>destructorsynopsis</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>edition</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>edition</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>editor</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>editor</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>email</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>email</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created when a hyperlink refers to an email address.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>emphasis</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>emphasis</literal></para>
+	    <para><literal>emphasis-bold</literal></para>
+	    <para><literal>emphasis-underline</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para>Also created when text is marked-up as bold, italic or underlined.  The <sgmltag>role</sgmltag> attribute encodes the weight or style used.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>entry</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>entry</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created for table cells.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>entrytbl</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>entrytbl</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>envvar</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>envvar</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>epigraph</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>epigraph</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>equation</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>equation</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>errorcode</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>errorcode</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>errorname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>errorname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>errortext</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>errortext</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>errortype</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>errortype</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>example</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>example-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><sgmltag>title</sgmltag> element created as required.  The immediately following block element is included in the example.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>exceptionname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>exceptionname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>fax</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>fax</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>fieldsynopsis</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>fieldsynopsis</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>figure</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>figure-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Created for images in the document.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>filename</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>filename</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>firstname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>firstname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>firstterm</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>firstterm</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>footnote</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created for footnotes.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>footnoteref</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>footnoteref</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>foreignphrase</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>foreignphrase</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>formalpara</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>formalpara</literal></para>
+	    <para><literal>formalpara-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Consecutive formal paragraphs are coalesced into a single <sgmltag>formalpara</sgmltag> element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>funcdef</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>funcdef</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>funcparams</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>funcparams</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>funcprototype</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>funcprototype</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>funcsynposis</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>funcsynopsis</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>funcsynopsisinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>funcsynopsisinfo</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>function</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>function</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>glossary</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>glossary-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>glossaryinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>glossdef</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>glossdef</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>glossdiv</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>glossdiv-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>glossentry</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>glossentry</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>glosslist</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>glosslist</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>glosssee</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>glosssee</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>glossseealso</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>glossseealso</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>glossterm</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>glossterm</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>graphic</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>graphic</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>graphicco</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>graphicco</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>group</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>group</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>guibutton</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>guibutton</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>guiicon</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>guiicon</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>guilabel</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>guilabel</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>guimenu</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>guimenu</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>guimenuitem</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>guimenuitem</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>guisubmenu</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>guisubmenu</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>hardware</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>hardware</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>highlights</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>highlights</literal></para>
+	    <para><literal>highlights-caution</literal></para>
+	    <para><literal>highlights-important</literal></para>
+	    <para><literal>highlights-itemizedlist</literal></para>
+	    <para><literal>highlights-note</literal></para>
+	    <para><literal>highlights-orderedlist</literal></para>
+	    <para><literal>highlights-tip</literal></para>
+	    <para><literal>highlights-warning</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Consecutive elements are coalesced into a single <sgmltag>highlights</sgmltag> element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>holder</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>holder</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>honorific</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>honorific</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>html:form</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>html:form</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>imagedata</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para>See <sgmltag>informalfigure</sgmltag>, <sgmltag>imageobject</sgmltag> or <sgmltag>mediaobject</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>imageobject</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>imageobject-imagedata</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Also creates <sgmltag>imagedata</sgmltag> element.  The content of the paragraph becomes the value of the <sgmltag>imagedata</sgmltag> element's <sgmltag>fileref</sgmltag> attribute.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>imageobjectco</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>imageobjectco-imagedata</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Also creates <sgmltag>imagedata</sgmltag> element.  The content of the paragraph becomes the value of the <sgmltag>imagedata</sgmltag> element's <sgmltag>fileref</sgmltag> attribute.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>important</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>important</literal></para>
+	    <para><literal>important-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Consecutive important paragraphs are coalesced into a single <sgmltag>important</sgmltag> element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>index</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>index-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>indexdiv</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>indexdiv-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>indexentry</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>indexentry-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>indexinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>indexterm</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para>Created by index terms in the document.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>informalequation</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>informalequation</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>informalexample</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>informalexample</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>informalfigure</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>informalfigure-imagedata</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><sgmltag>imageobject</sgmltag> and <sgmltag>imagedata</sgmltag> elements created as required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>informaltable</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created for a table in the document.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>initializer</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>initializer</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>inlineequation</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>inlinequation</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>inlinegraphic</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>inlinegraphic</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>inlinemediaobject</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>inlinemediaobject</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>interface</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>interface</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>interfacename</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>interfacename</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>invpartnumber</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>invpartnumber</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>isbn</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>isbn</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>issn</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>issn</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>issuenum</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>issuenum</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>itemizedlist</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>itemizedlist</literal></para>
+	    <para><literal>itemizedlist1</literal></para>
+	    <para><literal>itemizedlist2</literal></para>
+	    <para><literal>itemizedlist3</literal></para>
+	    <para><literal>itemizedlist4</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Itemizedlist (bullet) list with nesting.  Trailing digit refers to nesting level.  Consecutive elements are coalesced into a single list element.</para>
+	    <para><literal>para-continue</literal> style paragraphs become separate paragraphs within a list item.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>itermset</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>itermset</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>jobtitle</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>jobtitle</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>keycap</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>keycap</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>keycode</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>keycode</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>keycombo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>keycombo</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>keysym</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>keysym</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>keyword</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>keyword</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>keywordset</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>keywordset</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>label</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>label</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>legalnotice</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>legalnotice</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>lhs</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>lhs</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>lineage</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>lineage</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>lineannotation</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>lineannotation</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>link</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>link</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para>Created for hyperlinks.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>listitem</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created automatically in lists.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>literal</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>literal</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>literallayout</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>literallayout</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Line breaks are preserved in content.  Consecutive literal layout paragraphs are coalesced into a single <sgmltag>literallayout</sgmltag>element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>lot</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>lot</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>lotentry</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>lotentry</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>manvolnum</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>manvolnum</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>markup</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>markup</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>medialabel</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>medialabel</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>mediaobject</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>mediaobject-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Following image and/or text objects are included in the <sgmltag>mediaobject</sgmltag> element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>mediaobjectco</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>mediaobjectco</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Following image object callout is included in the <sgmltag>mediaobjectco</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>member</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>member</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>menuchoice</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>menuchoice</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>methodname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>methodname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>methodparam</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>methodparam</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>methodsynopsis</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>methodsynopsis</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>mml:math</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>mml:math</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>modespec</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>modespec</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>modifier</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>modifier</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>mousebutton</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>mousebutton</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>msg</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>msg</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>msgaud</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>msgaud</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>msgentry</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>msgentry</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>msgexplan</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>msgexplan</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>msginfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>msginfo</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>msglevel</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>msglevel</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>msgmain</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>msgmain</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>msgorig</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>msgorig</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>msgrel</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>msgrel</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>msgset</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>msgset</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>msgsub</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>msgsub</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>msgtext</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>msgtext</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>nonterminal</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>nonterminal</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>note</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>note</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Consecutive note paragraphs are coalesced into a single <sgmltag>note</sgmltag> element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>objectinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>objectinfo</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created when required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>olink</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>olink</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para>Created from hyperlinks.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>ooclass</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>ooclass</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>ooexception</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>ooexception</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>oointerface</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>oointerface</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>option</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>option</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>optional</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>optional</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>orderedlist</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>orderedlist</literal></para>
+	    <para><literal>orderedlist1</literal></para>
+	    <para><literal>orderedlist2</literal></para>
+	    <para><literal>orderedlist3</literal></para>
+	    <para><literal>orderedlist4</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Orderedlist (number) list with nesting.  Trailing digit refers to nesting level.  Consecutive elements are coalesced into a single list element.</para>
+	    <para><literal>para-continue</literal> style paragraphs become separate paragraphs within a list item.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>orgdiv</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>orgdiv</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>orgname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>orgname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>otheraddr</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>otheraddr</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para>May be automatically created when required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>othercredit</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>othercredit</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>othername</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>othername</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>package</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>package</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>pagenums</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>pagenums</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>para</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>para</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>May be created automatically when required.  Paragraphs without a style use this element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>paramdef</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>paramdef</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>parameter</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>parameter</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>part</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>part-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><sgmltag>partinfo</sgmltag> element is created when required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>partinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>See <sgmltag>part</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>partintro</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>partintro</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>personblurb</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>personblurb</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>personname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>personname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>phone</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>phone</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>phrase</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>phrase</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>pob</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>pob</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>postcode</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>postcode</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>preface</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>preface-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>prefaceinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>prefaceinfo</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>See <sgmltag>preface</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>primary</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:partial</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>See <sgmltag>indexterm</sgmltag></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>primaryie</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>primaryie</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>printhistory</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>printhistory</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>procedure</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>procedure</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>production</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>production</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>productionrecap</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>productionrecap</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>productionset</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>productionset</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>productionname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>productionname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>productnumber</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>productnumber</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>programlisting</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>programlisting</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Line breaks within the content are preserved.  Consecutive paragraphs are coalesced into a single <sgmltag>programlisting</sgmltag> element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>programlistingco</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>programlistingco</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Line breaks within the content are preserved.  Consecutive paragraphs are coalesced into a single <sgmltag>programlistingco</sgmltag> element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>prompt</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>prompt</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>property</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>property</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>pubdate</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>pubdate</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>publisher</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>publisher</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>publishername</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>publishername</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>pubsnumber</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>pubsnumber</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>qandadiv</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>qandadiv-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Must be preceded by a <literal>qandaset-title</literal>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>qandaentry</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>qandaentry-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Must be preceded by a <literal>qandaset-title</literal>.  This element is created for a <sgmltag>question</sgmltag> element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>qandaset</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>qandaset-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>question</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>question</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Must be preceded by <literal>qandaset-title</literal>.  <sgmltag>qandaentry</sgmltag> element is created as required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>quote</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>quote</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refclass</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refclass</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refdescriptor</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refdescriptor</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refentry</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refentry</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refentryinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refentrytitle</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refentrytitle</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>reference</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>reference-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>referenceinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refmeta</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refmeta</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refmiscinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refmiscinfo</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refnamediv</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refnamediv</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refpurpose</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refpurpose</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refsect1</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refsect1-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refsect1info</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refsect2</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refsect2-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refsect2info</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refsect3</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refsect3-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refsect3info</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refsection</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refsection-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refsectioninfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refsynopsisdiv</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>refsynopsisdiv-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>refsynopsisdivinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>releaseinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>releaseinfo</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>remark</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>remark</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>replaceable</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>replaceable</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>returnvalue</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>returnvalue</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>revdescription</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>revdescription</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>revhistory</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created as required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>revision</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>revision</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Revision data is specified by character styles.  Any other content is discarded.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>revnumber</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>revnumber</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>revremark</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>revremark</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Must be preceded by <literal>revision</literal> paragraph.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>rhs</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>rhs</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>row</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created as required in tables.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sbr</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>sbr</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>screen</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>screen</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>screenco</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>screenco</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>screeninfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>screeninfo</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>screenshot</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>screenshot</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>secondary</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>secondary</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:partial</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para>See <sgmltag>indexterm</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>secondaryie</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>secondaryie</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sect1</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>sect1-title</literal></para>
+	    <para><literal>sect1-subtitle</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sect1info</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Created as required for metadata.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sect2</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>sect2-title</literal></para>
+	    <para><literal>sect2-subtitle</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sect2info</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Created as required for metadata.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sect3</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>sect3-title</literal></para>
+	    <para><literal>sect3-subtitle</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sect3info</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Created as required for metadata.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sect4</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>sect4-title</literal></para>
+	    <para><literal>sect4-subtitle</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sect4info</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Created as required for metadata.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sect5</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>sect5-title</literal></para>
+	    <para><literal>sect5-subtitle</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sect5info</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Created as required for metadata.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>section</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>section-title</literal></para>
+	    <para><literal>section-subtitle</literal></para>
+	    <para><literal>section-titleabbrev</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sectioninfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Created as required for metadata.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>see</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>see</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>seealso</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>seealso</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>seealsoie</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>seealsoie</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>seeie</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>seeie</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>seg</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>seg</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>seglistitem</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>seglistitem</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>segmentedlist</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>segtitle</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>segtitle</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>seriesvolnums</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>seriesvolnums</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>set</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>set-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>setindex</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>setindex-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>setindexinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sgmltag</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>sgmltag</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>shortaffil</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>shortaffil</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>shortcut</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>shortcut</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sidebar</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>sidebar-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>sidebarinfo</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>simpara</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>simpara</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>simplelist</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>simplelist</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>simplemsgentry</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>simplemsgentry</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>simplesect</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>simplesect-title</literal></para>
+	    <para><literal>simplesect-subtitle</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>spanspec</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>state</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>state</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>step</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>step</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>stepalternatives</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>stepalternatives</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>street</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>street</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>structfield</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>structfield</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>structname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>structname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>subject</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>subject</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>subjectset</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>subjectset</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>subjectterm</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>subjectterm</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>subscript</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>subscript</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>substeps</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>substeps</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>subtitle</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>See component element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>superscript</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>superscript</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>surname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>surname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>svg:svg</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>svg:svg</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>symbol</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>symbol</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>synopfragment</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>synopfragment</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>synopfragmentref</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>synopfragmentref</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>synopsis</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>synopsis</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>systemitem</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>systemitem</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>table</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Tables in the document are encoded using this element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>task</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>task</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>taskprerequisites</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>taskprerequisites</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>taskrelated</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>taskrelated</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>tasksummary</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>tasksummary</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>tbody</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created as required for tables.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>td</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>See <sgmltag>entry</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>term</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>variablelist-term</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>See <sgmltag>variablelist</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>tertiary</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:partial</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para>See <sgmltag>indexterm</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>tertiaryie</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>tertiaryie</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>textdata</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>See <sgmltag>textobject</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>textobject</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>textobject-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Creates a <sgmltag>mediaobject</sgmltag> and <sgmltag>textdata</sgmltag> elements as required.  Immediately following paragraph becomes part of the text data.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>tfoot</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>tfoot</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>tgroup</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para>Created as required for tables.  See <sgmltag>table</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>th</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>th</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>tip</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>tip</literal></para>
+	    <para><literal>tip-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Consecutive tip paragraphs are coalesced into a single <sgmltag>tip</sgmltag> element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>title</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>See component and division elements.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>titleabbrev</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>See component and division elements.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>toc</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>toc-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>tocback</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>tocback</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>tocchap</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>tocchap</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>tocentry</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>tocentry</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>tocfront</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>tocfront</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>toclevel1</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>toclevel1</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>toclevel2</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>toclevel2</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>toclevel3</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>toclevel3</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>toclevel4</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>toclevel4</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>toclevel5</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>toclevel5</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>tocpart</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>tocpart</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>token</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>token</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>tr</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>None</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>trademark</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>trademark</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>type</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>type</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>ulink</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>ulink</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para>Created from hyperlinks, or explicitly.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>uri</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>uri</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>userinput</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>userinput</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>varargs</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>varargs</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>variablelist</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>variablelist-term</literal></para>
+	    <para><literal>variablelist-title</literal></para>
+	    <para><literal>variablelist-titleabbrev</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Consecutive terms are coalesced into a single <sgmltag>variablelist</sgmltag>.  <sgmltag>varlistentry</sgmltag> elements are created as required.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>varlistentry</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>See <sgmltag>variablelist</sgmltag>.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>varname</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>varname</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>videodata</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>videodata</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>videoobject</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>videoobject</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>void</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>void</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>volumenum</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>volumenum</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>warning</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>warning</literal></para>
+	    <para><literal>warning-title</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:yes</para>
+	  </entry>
+	  <entry>
+	    <para>Paragraph</para>
+	  </entry>
+	  <entry>
+	    <para>Consecutive paragraphs are coalesced into a single <sgmltag>warning</sgmltag>element.</para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>wordasword</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>wordasword</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>xref</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>xref</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+	<row>
+	  <entry>
+	    <para><sgmltag>year</sgmltag></para>
+	  </entry>
+	  <entry>
+	    <para><literal>year</literal></para>
+	  </entry>
+	  <entry>
+	    <para>dbk:no</para>
+	  </entry>
+	  <entry>
+	    <para>Character</para>
+	  </entry>
+	  <entry>
+	    <para><!-- Comments --></para>
+	  </entry>
+	</row>
+      </tbody>
+
+    </tgroup>
+  </table>
+</article>

Added: trunk/docs/docbook/src/main/resources/roundtrip/template-pages.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/template-pages.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/template-pages.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,2 @@
+<?xml version="1.0"?>
+<sl:document xmlns:sfa="http://developer.apple.com/namespaces/sfa" xmlns:sf="http://developer.apple.com/namespaces/sf" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:sl="http://developer.apple.com/namespaces/sl" sfa:ID="SLPublicationModel-0" sl:version="2004093000" sl:generator="slingshot" sl:app_build_date="May 10 2005, 12:20:01"><sl:version-history><sl:number sfa:number="2004042200" sfa:type="i"/><sl:number sfa:number="2004060800" sfa:type="i"/><sl:number sfa:number="2004061600" sfa:type="i"/><sl:number sfa:number="2004062200" sfa:type="i"/><sl:number sfa:number="2004062900" sfa:type="i"/><sl:number sfa:number="2004072200" sfa:type="i"/><sl:number sfa:number="2004091600" sfa:type="i"/><sl:number sfa:number="2004093000" sfa:type="i"/></sl:version-history><sl:publication-info><sl:kSFWPAutoHyphenationProperty><sl:number sfa:number="1" sfa:type="c"/></sl:kSFWPAutoHyphenationProperty><sl:decimalTab><sl:string sfa:string="."/></sl:decimalTab><sl:kSFWPHyphenationZon!
 eProperty><sl:number sfa:number="18" sfa:type="i"/></sl:kSFWPHyphenationZoneProperty><sl:SLSectionAuthoringProperty><sl:number sfa:number="0" sfa:type="c"/></sl:SLSectionAuthoringProperty><sl:SFWPShowInvisiblesProperty><sl:number sfa:number="0" sfa:type="c"/></sl:SFWPShowInvisiblesProperty><sl:SLCreationLocaleProperty><sl:string sfa:string="en_AU"/></sl:SLCreationLocaleProperty><sl:kSFWPUseLigaturesProperty><sl:number sfa:number="1" sfa:type="c"/></sl:kSFWPUseLigaturesProperty><sl:kSFWPFootnoteFormatProperty><sl:number sfa:number="0" sfa:type="i"/></sl:kSFWPFootnoteFormatProperty><sl:kSFWPHyperlinksEnabledProperty><sl:number sfa:number="1" sfa:type="c"/></sl:kSFWPHyperlinksEnabledProperty><sl:SLCopyTemplateAssetsProperty><sl:number sfa:number="0" sfa:type="c"/></sl:SLCopyTemplateAssetsProperty><sl:ShowPageGuides><sl:number sfa:number="0" sfa:type="c"/></sl:ShowPageGuides><sl:SLLastModifiedDateProperty><sl:date sfa:ID="NSDate-0" sl:val="2005-12-05T06:30:05 +0000"/></sl:SLLas!
 tModifiedDateProperty><sl:kSFWPGhostTextAuthoringEnabledProperty><sl:n
umber sfa:number="0" sfa:type="c"/></sl:kSFWPGhostTextAuthoringEnabledProperty><sl:kSFWPFootnoteNumberingProperty><sl:number sfa:number="0" sfa:type="i"/></sl:kSFWPFootnoteNumberingProperty><sl:language><sl:string sfa:string="en"/></sl:language><sl:SLCopyMoviesProperty><sl:number sfa:number="1" sfa:type="c"/></sl:SLCopyMoviesProperty><sl:SLLastModifiedLocaleProperty><sl:string sfa:string="en_AU"/></sl:SLLastModifiedLocaleProperty><sl:SLCreationDateProperty><sl:date sfa:ID="NSCalendarDate-0" sl:val="2005-04-08T07:18:47 +0000"/></sl:SLCreationDateProperty><sl:SLNumberOfTimesSavedProperty><sl:number sfa:number="38" sfa:type="i"/></sl:SLNumberOfTimesSavedProperty></sl:publication-info><sf:metadata><sf:comment><sf:string sfa:string=""/></sf:comment><sf:projects><sf:array sfa:ID="NSArray-0"><sf:string sfa:string=""/></sf:array></sf:projects><sf:copyright><sf:string sfa:string="(c)"/></sf:copyright><sf:keywords><sf:array sfa:ID="NSArray-1"><sf:string sfa:string=""/></sf:array></sf:!
 keywords><sf:authors><sf:array sfa:ID="NSArray-2"><sf:string sfa:string=""/></sf:array></sf:authors><sf:title><sf:string sfa:string=""/></sf:title></sf:metadata><sl:slprint-info sfa:ID="SLPrintInfo-0" sl:page-width="595" sl:page-height="842" sl:page-scale="1"><sf:page-margins sfa:ID="SFWPMargins-0" sf:top="56.692913055419922" sf:left="56.692913055419922" sf:bottom="70.866142272949219" sf:right="56.692913055419922" sf:header="35.433071136474609" sf:footer="42.519683837890625"/><sl:print-info><sl:NSJobDisposition><sl:string sfa:string="NSPrintSpoolJob"/></sl:NSJobDisposition><sl:NSPaperSize><sl:value><sfa:size sfa:w="595" sfa:h="842"/></sl:value></sl:NSPaperSize><sl:NSMustCollate><sl:number sfa:number="1" sfa:type="c"/></sl:NSMustCollate><sl:NSVerticalPagination><sl:number sfa:number="0" sfa:type="i"/></sl:NSVerticalPagination><sl:NSVerticallyCentered><sl:number sfa:number="1" sfa:type="c"/></sl:NSVerticallyCentered><sl:NSPrintAllPages><sl:number sfa:number="1" sfa:type="c"/>!
 </sl:NSPrintAllPages><sl:NSCopies><sl:number sfa:number="1" sfa:type="
i"/></sl:NSCopies><sl:NSScalingFactor><sl:number sfa:number="1" sfa:type="f"/></sl:NSScalingFactor><sl:NSPrintProtected><sl:number sfa:number="0" sfa:type="c"/></sl:NSPrintProtected><sl:NSPrinter><sl:printer sfa:ID="NSPrinter-0" sl:name="i865-local" sl:type="Canon i865"/></sl:NSPrinter><sl:NSPaperName><sl:string sfa:string="A4"/></sl:NSPaperName><sl:NSRightMargin><sl:number sfa:number="72" sfa:type="f"/></sl:NSRightMargin><sl:NSHorizontallyCentered><sl:number sfa:number="1" sfa:type="c"/></sl:NSHorizontallyCentered><sl:NSHorizonalPagination><sl:number sfa:number="2" sfa:type="i"/></sl:NSHorizonalPagination><sl:NSBottomMargin><sl:number sfa:number="90" sfa:type="f"/></sl:NSBottomMargin><sl:NSTopMargin><sl:number sfa:number="90" sfa:type="f"/></sl:NSTopMargin><sl:NSFirstPage><sl:number sfa:number="1" sfa:type="i"/></sl:NSFirstPage><sl:NSLastPage><sl:number sfa:number="2147483647" sfa:type="i"/></sl:NSLastPage><sl:NSLeftMargin><sl:number sfa:number="72" sfa:type="f"/></sl:NSLef!
 tMargin><sl:NSSavePath><sl:string sfa:string=""/></sl:NSSavePath><sl:NSOrientation><sl:number sfa:number="0" sfa:type="i"/></sl:NSOrientation></sl:print-info></sl:slprint-info><sl:section-prototypes><sl:prototype sl:name="Text Page"><sf:stylesheet sfa:ID="SFSStylesheet-0"><sf:styles><sf:liststyle sfa:ID="SFWPListStyle-0" sf:name="None" sf:ident="list-style-default"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-3"><sf:list-level sfa:ID="SFWPListLevel-0" sf:type="none" sf:align="left" sf:text-pos="0" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-1" sf:type="none" sf:align="left" sf:text-pos="36" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-2" sf:type="none" sf:align="left" sf:text-pos="72" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-3" sf:type="none" sf:align="left" sf:text-pos=!
 "108" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="
true"/><sf:list-level sfa:ID="SFWPListLevel-4" sf:type="none" sf:align="left" sf:text-pos="144" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-5" sf:type="none" sf:align="left" sf:text-pos="180" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-6" sf:type="none" sf:align="left" sf:text-pos="216" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-7" sf:type="none" sf:align="left" sf:text-pos="252" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-8" sf:type="none" sf:align="left" sf:text-pos="288" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/></sf:array></sf:listLevels></sf:property-map></sf:liststyle><sf:layoutstyle sfa:ID="SFWPLayoutStyle-0" sf:name="Normal" sf:ident="layout-style-default"><sf:property-map><sf:padding/>!
 <sf:followingLayoutStyle><sf:null/></sf:followingLayoutStyle><sf:layoutMargins/><sf:verticalAlignment/><sf:columns/><sf:layoutParagraphStyle><sf:null/></sf:layoutParagraphStyle><sf:layoutContinuous/></sf:property-map></sf:layoutstyle><sf:sectionstyle sfa:ID="SFWPSectionStyle-0" sf:name="Normal" sf:ident="section-style-default"><sf:property-map><sf:pageMasterFirstPageDifferent><sf:number sfa:number="0" sfa:type="c"/></sf:pageMasterFirstPageDifferent><sf:oddPageMaster><sf:pagemaster sfa:ID="SFWPPageMaster-0" sl:header="SFWPDefaultOddHeaderIdentifier" sl:footer="SFWPDefaultOddFooterIdentifier"/></sf:oddPageMaster><sf:sectionPageNumberStart><sf:number sfa:number="1" sfa:type="i"/></sf:sectionPageNumberStart><sf:pageMasterLeftRightPagesDifferent><sf:number sfa:number="0" sfa:type="c"/></sf:pageMasterLeftRightPagesDifferent><sf:inheritPreviousHF><sf:number sfa:number="1" sfa:type="c"/></sf:inheritPreviousHF><sf:firstPageMaster><sf:pagemaster sfa:ID="SFWPPageMaster-1" sl:header="S!
 FWPDefaultFirstHeaderIdentifier" sl:footer="SFWPDefaultFirstFooterIden
tifier"/></sf:firstPageMaster><sf:evenPageMaster><sf:pagemaster sfa:ID="SFWPPageMaster-2" sl:header="SFWPDefaultEvenHeaderIdentifier" sl:footer="SFWPDefaultEvenFooterIdentifier"/></sf:evenPageMaster><sf:startKind><sf:number sfa:number="0" sfa:type="i"/></sf:startKind><sf:sectionLayoutStyle><sf:null/></sf:sectionLayoutStyle><sf:sectionPageNumberKind><sf:number sfa:number="0" sfa:type="i"/></sf:sectionPageNumberKind></sf:property-map></sf:sectionstyle><sf:tocstyle sfa:ID="SLTOCParagraphStyle-0" sfa:sfclass="paragraphstyle" sf:name="TOC Heading 2" sf:ident="toc-paragraph-style-2"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs><sf:tabs sfa:ID="SFWPTabs-0"><sf:tabstop sf:pos="481.61416625976562" sf:align="right"/></sf:tabs></sf:tabs><sf:leftIndent><sf:number sfa:number="14.17323" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:i!
 talic/><sf:baselineShift/><sf:SLTOCPageNumberStyle><sf:null/></sf:SLTOCPageNumberStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:null/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:SLTOCDisabledStyles><sf:null/></sf:SLTOCDisabledStyles><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:SLTOCShowPageNumber/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent><sf:number sfa:number="14.17323" sfa:type="f"/></sf:firstLineIndent><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:SLTOCEnabledStyles><sf:null/></sf:SLTOCEnabled!
 Styles><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:font
Size><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="3" sfa:type="f"/></sf:spaceAfter><sf:SLTOCEntryStyle><sf:null/></sf:SLTOCEntryStyle><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:tocstyle><sf:tocstyle sfa:ID="SLTOCParagraphStyle-1" sfa:sfclass="paragraphstyle" sf:name="TOC Heading 3" sf:ident="toc-paragraph-style-3"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs><sf:tabs sfa:ID="SFWPTabs-1"><sf:tabstop sf:pos="481.61416625976562" sf:align="right"/></sf:tabs></sf:tabs><sf:leftIndent><sf:n!
 umber sfa:number="28.34646" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic><sf:number sfa:number="1" sfa:type="c"/></sf:italic><sf:baselineShift/><sf:SLTOCPageNumberStyle><sf:null/></sf:SLTOCPageNumberStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:null/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:SLTOCDisabledStyles><sf:null/></sf:SLTOCDisabledStyles><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:SLTOCShowPageNumber/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefo!
 re><sf:firstLineIndent><sf:number sfa:number="28.34646" sfa:type="f"/>
</sf:firstLineIndent><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:SLTOCEnabledStyles><sf:null/></sf:SLTOCEnabledStyles><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:SLTOCEntryStyle><sf:null/></sf:SLTOCEntryStyle><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:tocstyle><sf:sectionstyle sfa:ID="SFWPSectionStyle-1" sf:name="[Null]" sf:ident="section-style-null"><sf:property-map/></sf:sectionstyle><sf:sectionstyle sfa:ID="SFWPSectionStyle-2" sf:name="Normal 4" sf:ident="section-style-8"><sf:property-map><sf:pageMasterFirstPageDifferent><sf:number sfa:number="0" !
 sfa:type="c"/></sf:pageMasterFirstPageDifferent><sf:oddPageMaster><sf:pagemaster sfa:ID="SFWPPageMaster-3" sl:header="" sl:footer=""/></sf:oddPageMaster><sf:sectionPageNumberStart><sf:number sfa:number="1" sfa:type="i"/></sf:sectionPageNumberStart><sf:pageMasterLeftRightPagesDifferent><sf:number sfa:number="0" sfa:type="c"/></sf:pageMasterLeftRightPagesDifferent><sf:inheritPreviousHF><sf:number sfa:number="1" sfa:type="c"/></sf:inheritPreviousHF><sf:firstPageMaster><sf:pagemaster sfa:ID="SFWPPageMaster-4" sl:header="" sl:footer=""/></sf:firstPageMaster><sf:evenPageMaster><sf:pagemaster sfa:ID="SFWPPageMaster-5" sl:header="" sl:footer=""/></sf:evenPageMaster><sf:startKind><sf:number sfa:number="0" sfa:type="i"/></sf:startKind><sf:sectionLayoutStyle><sf:null/></sf:sectionLayoutStyle><sf:sectionPageNumberKind><sf:number sfa:number="0" sfa:type="i"/></sf:sectionPageNumberKind></sf:property-map></sf:sectionstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-0" sf:name="Heading" !
 sf:ident="paragraph-style-35"><sf:property-map><sf:defaultTabStops><sf
:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-0"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-0"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-1" sf:name="Body" sf:ident="paragraph-style-32"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTa!
 bStops><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-0"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strike!
 thruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pag
eBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underl!
 ineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle><sf:layoutstyle sfa:ID="SFWPLayoutStyle-1" sf:name="Normal 22" sf:ident="layout-style-20"><sf:property-map><sf:padding/><sf:followingLayoutStyle><sf:null/></sf:followingLayoutStyle><sf:layoutMargins/><sf:verticalAlignment/><sf:columns/><sf:layoutParagraphStyle><sf:null/></sf:layoutParagraphStyle><sf:layoutContinuous/></sf:property-map></sf:layoutstyle><sf:layoutstyle sfa:ID="SFWPLayoutStyle-2" sf:ident="graphic-shape-layout-style-default"><sf:property-map><sf:padding><sf:padding sfa:ID="SFWPPadding-0" sf:top="4" sf:left="4" sf:bottom="4" sf:right="4"/></sf:padding><sf:followingLayoutStyle><sf:null/></sf:followingLayoutStyle><sf:layoutMargins/><sf:verticalAlignment/><sf:columns/><sf:layoutParagraphStyle><sf:null/></sf:layoutParagraphStyle><sf:layoutContinuous/></sf:property-map></sf:layoutstyle><sf:graphic-style sfa:ID="SFDGraphicStyle-0" sf:name="graphic-textbox-style-default" sf:ident="graphi!
 c-textbox-style-default"><sf:property-map><sf:stroke><sf:stroke sfa:ID
="SFRStroke-0" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-0" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke><sf:shadow><sf:shadow sfa:ID="SFRShadow-0" sf:is-null="true"/></sf:shadow><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:externalTextWrap><sf:external-text-wrap sfa:ID="SFWPExternalTextWrap-0" sf:wrap-style="tight" sf:floating-wrap-enabled="true" sf:direction="both" sf:attachment-wrap-type="aligned" sf:floating-wrap-type="directional" sf:margin="12" sf:alpha-threshold="0.5"/></sf:externalTextWrap><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity><sf:fill><sf:null/></sf:fill></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-1" sf:name="graphic-shape-style-default" sf:ident="graphic-shape-style-default"><sf:property-map><sf:stroke><sf:stroke sfa:ID="SFRStroke-1" sf:mit!
 er-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-1" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:externalTextWrap><sf:external-text-wrap sfa:ID="SFWPExternalTextWrap-1" sf:wrap-style="tight" sf:floating-wrap-enabled="true" sf:direction="both" sf:attachment-wrap-type="aligned" sf:floating-wrap-type="directional" sf:margin="12" sf:alpha-threshold="0.5"/></sf:externalTextWrap><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity><sf:fill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.41568627953529358" sfa:g="0.66274511814117432" sfa:b="0.39215686917304993" sfa:a="1"/></sf:fill></sf:property-map></sf:graphic-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-2" sf:name="Free Form" sf:ident="para!
 graph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTo
picNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:null/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf!
 :atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle><sf:layoutstyle sfa:ID="SFWPLayoutStyle-3" sf:ident="graphic-textbox-layout-style-default"><sf:property-map><sf:padding><sf:padding sfa:ID="SFWPPadding-1" sf:top="4" sf:left="4" sf:bottom="4" sf:right="4"/></sf:padding><sf:followingLayoutStyle><sf:null/></sf:followingLayoutStyle><sf:layoutMargins/><sf:verticalAlignment/><sf:columns/><sf:layoutParagraphStyle><sf:null/></sf:layoutParagraphStyle><sf:layoutContinuous/></sf:property-map></sf:layoutstyle><sf:tocstyle sfa:ID="SLTOCParagraphStyle-2" sfa:sfclass="paragraphstyle" sf:name="TOC" sf:ident="toc-paragraph-style-default"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs><sf:tabs sfa:ID="SFWPTabs-2"><sf:tabstop sf:pos="481.6!
 1416625976562" sf:align="right"/></sf:tabs></sf:tabs><sf:leftIndent/><
sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:SLTOCPageNumberStyle><sf:null/></sf:SLTOCPageNumberStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:null/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:SLTOCDisabledStyles><sf:null/></sf:SLTOCDisabledStyles><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:SLTOCShowPageNumber/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:SLTOCEnabledStyles><sf:null/></sf:SLTOCEnabledStyles><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><!
 sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:SLTOCEntryStyle><sf:null/></sf:SLTOCEntryStyle><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:tocstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-3" sf:name="Title" sf:ident="paragraph-style-38"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-2"/></sf:tocStyle><sf:fontName><!
 sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><s
f:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-0"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-1"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="24" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="28" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:!
 spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle><sf:graphic-style sfa:ID="SFDGraphicStyle-2" sf:name="graphic-image-style-default" sf:ident="graphic-image-style-default"><sf:property-map><sf:stroke><sf:stroke sfa:ID="SFRStroke-2" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-2" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:externalTextWrap><sf:external-text-wrap sfa:ID="SFWPExternalTextWrap-2" sf:wrap-style="tight" sf:f!
 loating-wrap-enabled="true" sf:direction="both" sf:attachment-wrap-typ
e="aligned" sf:floating-wrap-type="directional" sf:margin="12" sf:alpha-threshold="0.5"/></sf:externalTextWrap><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity><sf:fill><sf:null/></sf:fill></sf:property-map></sf:graphic-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-4" sf:name="Sub-heading" sf:ident="paragraph-style-33"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-1"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-0"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWit!
 hNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-1"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="6" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineCol!
 or><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraph
style><sf:characterstyle sfa:ID="SFWPCharacterStyle-0" sf:name="None" sf:ident="character-style-null"><sf:property-map/></sf:characterstyle><sf:graphic-style sfa:ID="SFDGraphicStyle-3" sf:name="graphic-line-style-default" sf:ident="graphic-line-style-default"><sf:property-map><sf:stroke><sf:stroke sfa:ID="SFRStroke-3" sf:miter-limit="4" sf:width="2" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-3" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:externalTextWrap><sf:external-text-wrap sfa:ID="SFWPExternalTextWrap-3" sf:wrap-style="tight" sf:floating-wrap-enabled="true" sf:direction="both" sf:attachment-wrap-type="aligned" sf:floating-wrap-type="directional" sf:margin="12" sf:alpha-threshold="0.5"/></sf:externalTextWrap><sf:opacity><sf:number sf!
 a:number="1" sfa:type="f"/></sf:opacity><sf:fill><sf:null/></sf:fill></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-4" sf:name="graphic-movie-style-default" sf:ident="graphic-movie-style-default"><sf:property-map><sf:stroke><sf:stroke sfa:ID="SFRStroke-4" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-4" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:externalTextWrap><sf:external-text-wrap sfa:ID="SFWPExternalTextWrap-4" sf:wrap-style="tight" sf:floating-wrap-enabled="true" sf:direction="both" sf:attachment-wrap-type="aligned" sf:floating-wrap-type="directional" sf:margin="12" sf:alpha-threshold="0.5"/></sf:externalTextWrap><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf!
 :opacity><sf:fill><sf:null/></sf:fill></sf:property-map></sf:graphic-s
tyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-1"/></sf:styles><sf:anon-styles/></sf:stylesheet><sf:headers/><sf:footers/><sf:text-storage sf:kind="body" sfa:ID="SFWPStorage-0"><sf:stylesheet-ref sfa:IDREF="SFSStylesheet-0"/><sf:text-body><sf:section sf:name="Chapter 3" sf:style="section-style-8"><sf:layout sf:style="layout-style-20"><sf:p sf:style="paragraph-style-38"><sf:ghost-text>Lorem ipsum dolor sit amet</sf:ghost-text><sf:br/></sf:p><sf:p sf:style="paragraph-style-35"><sf:ghost-text>Consectetur adipiscing elit</sf:ghost-text><sf:br/></sf:p><sf:p sf:style="paragraph-style-32"><sf:ghost-text>Eset eiusmod tempor incidunt et labore et dolore magna aliquam. Ut enim ad minim veniam, quis nostrud exerc. Irure dolor in reprehend incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse molestaie cillum. Tia no!
 n ob ea soluad incommod quae egen ium improb fugiend. Officia deserunt mollit anim id est laborum Et harumd dereud facilis est er expedit distinct. Nam liber te conscient to factor tum poen legum odioque civiuda et tam. Neque pecun modut est neque nonor et imper ned libidig met, consectetur adipiscing elit, sed ut labore et dolore magna aliquam is nostrud exercitation ullam mmodo consequet.</sf:ghost-text><sf:br/></sf:p><sf:p sf:style="paragraph-style-33"><sf:ghost-text>Duis aute in voluptate velit esse</sf:ghost-text><sf:br/></sf:p><sf:p sf:style="paragraph-style-32"><sf:ghost-text>Cillum dolore eu fugiat nulla pariatur. At vver eos et accusam dignissum qui blandit est praesent. Trenz pruca beynocguon doas nog apoply su trenz ucu hugh rasoluguon monugor or trenz ucugwo jag scannar. Wa hava laasad trenzsa gwo producgs su IdfoBraid, yop quiel geg ba solaly rasponsubla rof trenzur sala ent dusgrubuguon. Offoctivo immoriatoly, hawrgasi pwicos asi sirucor. Thas sirutciun applio!
 s tyu thuso itoms ghuso pwicos gosi sirucor in mixent gosi sirucor ic 
mixent ples cak ontisi sowios uf Zerm hawr rwivos. Unte af phen neige pheings atoot Prexs eis phat eit sakem eit vory gast te Plok peish ba useing phen roxas. Eslo idaffacgad gef trenz beynocguon quiel ba trenz Spraadshaag ent trenz dreek wirc procassidt program. Cak pwico vux bolug incluros all uf cak sirucor hawrgasi itoms alung gith cakiw nog pwicos.</sf:ghost-text><sf:br/></sf:p><sf:p sf:style="paragraph-style-33"><sf:ghost-text>Plloaso mako nuto uf cakso dodtos</sf:ghost-text><sf:br/></sf:p><sf:p sf:style="paragraph-style-32"><sf:ghost-text>Koop a cupy uf cak vux noaw yerw phuno. Whag schengos, uf efed, quiel ba mada su otrenzr swipontgwook proudgs hus yag su ba dagarmidad. Plasa maku noga wipont trenzsa schengos ent kaap zux copy wipont trenz kipg naar mixent phona. Cak pwico siructiun ruos nust apoply tyu cak UCU sisulutiun munityuw uw cak UCU-TGU jot scannow. Trens roxas eis ti Plokeing quert loppe eis yop prexs. Piy opher hawers, eit yaggles orn ti sumbloat alohe pl!
 ok. Su havo loasor cakso tgu pwuructs tyu InfuBwain, ghu gill nug bo suloly sispunsiblo fuw cakiw salo anr ristwibutiun. Hei muk neme eis loppe. Treas em wankeing ont sime ploked peish rof phen sumbloat syug si phat phey gavet peish ta paat ein pheeir sumbloats. Aslu unaffoctor gef cak siructiun gill bo cak spiarshoot anet cak GurGanglo gur pwucossing pwutwam. Ghat dodtos, ig pany, gill bo maro tyu ucakw suftgasi pwuructs hod yot tyubo rotowminor. Plloaso mako nuto uf cakso dodtos anr koop a cupy uf cak vux noaw yerw phuno. Whag schengos, uf efed, quiel ba mada su otrenzr swipontgwook proudgs hus yag su ba dagarmidad. Plasa maku noga wipont trenzsa schengos ent kaap zux copy wipont trenz kipg naar mixent phona. Cak pwico siructiun ruos nust apoply tyu cak UCU sisulutiun munityuw uw cak UCU-TGU jot scannow. Trens roxas eis ti Plokeing quert loppe eis yop prexs. Piy opher hawers, eit yaggles orn ti sumbloat alohe plok. Su havo loasor cakso tgu pwuructs tyu.</sf:ghost-text></s!
 f:p></sf:layout></sf:section></sf:text-body></sf:text-storage><sl:thum
bnails sfa:ID="SFRImageBinary-0"><sf:size sfa:w="44" sfa:h="53"/><sf:data sfa:ID="SFEData-0" sf:path="English.lproj/Templates/ISO/Blank/Blank.template/thumbs/PageCapThumb-1.tiff" sf:displayname="thumbs/PageCapThumb-1.tiff" sf:size="5426" sf:sharable="false" sf:resource-type="1" sf:hfs-type="1414088262" sf:checksum="f9a74a3e" sfa:version="1"/></sl:thumbnails></sl:prototype></sl:section-prototypes><sf:stylesheet sfa:ID="SFSStylesheet-1"><sf:styles><sf:table-vector-style sfa:ID="SFTableVectorStyle-0" sf:name="table-header-vector-style-default" sf:ident="table-header-vector-style-default"><sf:property-map><sf:TableVectorStyleTypeProperty><sf:number sfa:number="2" sfa:type="i"/></sf:TableVectorStyleTypeProperty><sf:TableVectorStyleStrokeProperty><sf:stroke sfa:ID="SFRStroke-5" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-5" sf:phase="0" sf:type="solid"><!
 sf:pattern/></sf:pattern></sf:stroke></sf:TableVectorStyleStrokeProperty><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity></sf:property-map></sf:table-vector-style><sf:table-vector-style sfa:ID="SFTableVectorStyle-1" sf:name="table-header-border-vector-style-default" sf:ident="table-header-border-vector-style-default"><sf:property-map><sf:TableVectorStyleTypeProperty><sf:number sfa:number="3" sfa:type="i"/></sf:TableVectorStyleTypeProperty><sf:TableVectorStyleStrokeProperty><sf:stroke sfa:ID="SFRStroke-6" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-6" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:TableVectorStyleStrokeProperty><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity></sf:property-map></sf:table-vector-style><sf:table-vector-style sfa:ID="SFTableVectorStyle-2" sf:name="table-header-!
 sep-vector-style-default" sf:ident="table-header-sep-vector-style-defa
ult"><sf:property-map><sf:TableVectorStyleTypeProperty><sf:number sfa:number="4" sfa:type="i"/></sf:TableVectorStyleTypeProperty><sf:TableVectorStyleStrokeProperty><sf:stroke sfa:ID="SFRStroke-7" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-7" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:TableVectorStyleStrokeProperty><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity></sf:property-map></sf:table-vector-style><sf:table-vector-style sfa:ID="SFTableVectorStyle-3" sf:name="table-vector-style-default" sf:ident="table-vector-style-default"><sf:property-map><sf:TableVectorStyleTypeProperty><sf:number sfa:number="0" sfa:type="i"/></sf:TableVectorStyleTypeProperty><sf:TableVectorStyleStrokeProperty><sf:stroke sfa:ID="SFRStroke-8" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:ca!
 librated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-8" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:TableVectorStyleStrokeProperty><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity></sf:property-map></sf:table-vector-style><sf:table-vector-style sfa:ID="SFTableVectorStyle-4" sf:name="table-border-vector-style-default" sf:ident="table-border-vector-style-default"><sf:property-map><sf:TableVectorStyleTypeProperty><sf:number sfa:number="1" sfa:type="i"/></sf:TableVectorStyleTypeProperty><sf:TableVectorStyleStrokeProperty><sf:stroke-ref sfa:IDREF="SFRStroke-8"/></sf:TableVectorStyleStrokeProperty><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity></sf:property-map></sf:table-vector-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-5" sf:name="area" sf:ident="paragraph-style-92"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:ali!
 gnment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:par
agraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-1" sf:name="None" sf:ident="list-style-default"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-4"><sf:list-level sfa:ID="SFWPListLevel-9" sf:type="none" sf:align="left" sf:text-pos="0" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-10" sf:type="none" sf:align="left" sf:text-pos="36" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-11" sf:type="none" sf:align="left" sf:text-pos="72" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-12" sf:type="none" sf:align="left" sf:text-pos="108" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:!
 list-level sfa:ID="SFWPListLevel-13" sf:type="none" sf:align="left" sf:text-pos="144" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-14" sf:type="none" sf:align="left" sf:text-pos="180" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-15" sf:type="none" sf:align="left" sf:text-pos="216" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-16" sf:type="none" sf:align="left" sf:text-pos="252" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-17" sf:type="none" sf:align="left" sf:text-pos="288" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/></sf:array></sf:listLevels></sf:property-map></sf:liststyle></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf!
 :strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingP
aragraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-6" sf:name="chapter-title" sf:ident="paragraph-style-35"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragra!
 phFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle sfa:ID="SLTOCParagraphStyle-3" sfa:sfclass="paragraphstyle" sf:name="TOC Heading 2" sf:ident="toc-paragraph-style-2"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:firstTopicNumber/><sf:tabs><sf:tabs sfa:ID="SFWPTabs-3"><sf:tabstop sf:pos="481.61416625976562" sf:align="right"/></sf:tabs></sf:tabs><sf:leftIndent><sf:number sfa:number="14.17323" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:SLTOCPageNumberStyle><sf:null/></sf:SLTOCPageNumberStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:null/></sf!
 :listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keep
WithNext/><sf:SLTOCDisabledStyles><sf:null/></sf:SLTOCDisabledStyles><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:SLTOCShowPageNumber/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent><sf:number sfa:number="14.17323" sfa:type="f"/></sf:firstLineIndent><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:SLTOCEnabledStyles><sf:null/></sf:SLTOCEnabledStyles><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="3" sfa:type="f"/></sf:spaceAfter><sf:SLTOCEntryStyle><sf:null/></sf:SLTOCEntryStyle><sf:language><sf:null/></sf:language><sf:tracking/><sf:st!
 rikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:tocstyle></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-7" sf:name="para" sf:ident="paragraph-style-32"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:!
 tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><
sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:par!
 agraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidt!
 h/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:cha
racterstyle sfa:ID="SFWPCharacterStyle-1" sf:name="revnumber" sf:ident="character-style-18"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:underline><sf:number sfa:number="1" sfa:type="i"/></sf:underline><sf:tracking/><sf:fontName/><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:baselineShift/><sf:ligatures/></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-8" sf:name="appendix-title" sf:ident="paragraph-style-4"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/!
 ><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="18" sfa:type="f!
 "/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:
effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-9" sf:name="xinclude" sf:ident="paragraph-style-85"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.20000000298023224" sfa:g="0.20000000298023224" sfa:b="0.20000000298023224" sfa:a="1"/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:!
 type="sfa:calibrated-rgb-color-type" sfa:r="0.80000001192092896" sfa:g="0.20000000298023224" sfa:b="0.20000000298023224" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontF!
 eatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:nul
l/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-10" sf:name="orderedlist4" sf:ident="paragraph-style-102"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-2" sf:parent-ident="list-style-2"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-5"><sf:list-level sfa:ID="SFWPListLevel-18" sf:type="text" sf:align="left" sf:text-pos="56.692909240722656" sf:label-pos="42.519683837890625" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTex!
 tLabel-0" sf:type="lower-roman" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-19" sf:type="text" sf:align="left" sf:text-pos="27" sf:label-pos="18" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-1" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-20" sf:type="text" sf:align="left" sf:text-pos="45" sf:label-pos="36" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-2" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-21" sf:type="text" sf:align="left" sf:text-pos="63" sf:label-pos="54" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-3" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-22" sf:type="text" sf:align="left" sf:text-pos="81" sf:label-pos="!
 72" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-lab
el sfa:ID="SFWPTextLabel-4" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-23" sf:type="text" sf:align="left" sf:text-pos="99" sf:label-pos="90" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-5" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-24" sf:type="text" sf:align="left" sf:text-pos="117" sf:label-pos="108" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-6" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-25" sf:type="text" sf:align="left" sf:text-pos="135" sf:label-pos="126" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-7" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-26" sf:type="text" sf:align="left" sf:text-po!
 s="153" sf:label-pos="144" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-8" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level></sf:array></sf:listLevels></sf:property-map></sf:liststyle></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStrok!
 e><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/
><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-11" sf:name="informalfigure-imagedata" sf:ident="paragraph-style-28"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName><sf:string sfa:string="Courier-Bold"/></sf:fontName><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0.20000000298023224" sfa:b="0.60000002384185791" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:!
 strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:firstLineIndent><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline><sf:number sfa:number="1" sfa:type="i"/></sf:underline><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:tocstyle sfa:ID="SLTOCParagraphStyle-4" sfa:sfclass="paragraphsty!
 le" sf:name="TOC Heading 3" sf:ident="toc-paragraph-style-3"><sf:prope
rty-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:firstTopicNumber/><sf:tabs><sf:tabs sfa:ID="SFWPTabs-4"><sf:tabstop sf:pos="481.61416625976562" sf:align="right"/></sf:tabs></sf:tabs><sf:leftIndent><sf:number sfa:number="28.34646" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic><sf:number sfa:number="1" sfa:type="c"/></sf:italic><sf:baselineShift/><sf:SLTOCPageNumberStyle><sf:null/></sf:SLTOCPageNumberStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:null/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:SLTOCDisabledStyles><sf:null/></sf:SLTOCDisabledStyles><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:wido!
 wControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:SLTOCShowPageNumber/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent><sf:number sfa:number="28.34646" sfa:type="f"/></sf:firstLineIndent><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:SLTOCEnabledStyles><sf:null/></sf:SLTOCEnabledStyles><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:SLTOCEntryStyle><sf:null/></sf:SLTOCEntryStyle><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:prope!
 rty-map></sf:tocstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-2"
 sf:name="attributes" sf:ident="character-style-3"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:baselineShift/><sf:tracking/><sf:fontName><sf:string sfa:string="Courier"/></sf:fontName><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold/><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:underline/></sf:property-map></sf:characterstyle><sf:liststyle sfa:ID="SFWPListStyle-3" sf:name="Numbered List" sf:ident="list-style-1"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-6"><sf:list-level sfa:ID="SFWPListLevel-27" sf:type="text" sf:align="left" sf:text-pos="18" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-9" sf:type="decimal" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-28" sf:type="te!
 xt" sf:align="left" sf:text-pos="36" sf:label-pos="18" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-10" sf:type="decimal" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-29" sf:type="text" sf:align="left" sf:text-pos="54" sf:label-pos="36" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-11" sf:type="decimal" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-30" sf:type="text" sf:align="left" sf:text-pos="72" sf:label-pos="54" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-12" sf:type="decimal" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-31" sf:type="text" sf:align="left" sf:text-pos="90" sf:label-pos="72" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-13" sf:type="decimal" sf:format="%L." sf:first="!
 1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-32" sf:type="
text" sf:align="left" sf:text-pos="108" sf:label-pos="90" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-14" sf:type="decimal" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-33" sf:type="text" sf:align="left" sf:text-pos="126" sf:label-pos="108" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-15" sf:type="decimal" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-34" sf:type="text" sf:align="left" sf:text-pos="144" sf:label-pos="126" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-16" sf:type="decimal" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-35" sf:type="text" sf:align="left" sf:text-pos="162" sf:label-pos="144" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-17" sf:type="decimal" sf:format="%L." sf!
 :first="1"/></sf:list-level></sf:array></sf:listLevels></sf:property-map></sf:liststyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-12" sf:name="textobject-title" sf:ident="paragraph-style-78"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:eff!
 ectColor><sf:spaceBefore/><sf:firstLineIndent><sf:number sfa:number="2
8.35709" sfa:type="f"/></sf:firstLineIndent><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:fontSize><sf:number sfa:number="13" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-13" sf:name="sect5-subtitle" sf:ident="paragraph-style-51"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraph!
 Fill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold/><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInT!
 OC><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize
><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-14" sf:name="Free Form" sf:ident="paragraph-style-default"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></!
 sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTop!
 icNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa
:ID="SFWPCharacterStyle-3" sf:name="inlineerror" sf:ident="character-style-12"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:baselineShift/><sf:tracking/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="1" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold/><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:underline/></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-15" sf:name="sect4-subtitle" sf:ident="paragraph-style-49"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:toc!
 Style><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold/><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><s!
 f:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outline
Color><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-16" sf:name="formalpara" sf:ident="paragraph-style-22"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:!
 keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-17" sf:name="orderedlist1" sf:ident="paragraph-style-99"><sf:property-map><sf:defaultT!
 abStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTab
Stops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-4" sf:parent-ident="list-style-2"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-7"><sf:list-level sfa:ID="SFWPListLevel-36" sf:type="text" sf:align="left" sf:text-pos="14.17322826385498" sf:label-pos="0" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-18" sf:type="decimal" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-37" sf:type="text" sf:align="left" sf:text-pos="27" sf:label-pos="18" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-19" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:!
 ID="SFWPListLevel-38" sf:type="text" sf:align="left" sf:text-pos="45" sf:label-pos="36" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-20" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-39" sf:type="text" sf:align="left" sf:text-pos="63" sf:label-pos="54" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-21" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-40" sf:type="text" sf:align="left" sf:text-pos="81" sf:label-pos="72" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-22" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-41" sf:type="text" sf:align="left" sf:text-pos="99" sf:label-pos="90" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel!
 -23" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-lev
el><sf:list-level sfa:ID="SFWPListLevel-42" sf:type="text" sf:align="left" sf:text-pos="117" sf:label-pos="108" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-24" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-43" sf:type="text" sf:align="left" sf:text-pos="135" sf:label-pos="126" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-25" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-44" sf:type="text" sf:align="left" sf:text-pos="153" sf:label-pos="144" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-26" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level></sf:array></sf:listLevels></sf:property-map></sf:liststyle></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf!
 :textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-18" sf:name="book-titleabbrev" sf:ident="paragraph-style-15"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:ta!
 bs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf
:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/><!
 /sf:showInTOC><sf:fontSize><sf:number sfa:number="16" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-19" sf:name="highlights-warning" sf:ident="paragraph-style-72"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf!
 :color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="1" sfa:g="1" sf
a:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-5" sf:parent-ident="list-style-default"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-8"><sf:list-level sfa:ID="SFWPListLevel-45" sf:type="text" sf:align="left" sf:text-pos="28.346456527709961" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-27" sf:type="bullet" sf:format="!" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-46" sf:type="none" sf:align="left" sf:text-pos="36" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-47" sf:type="none" sf:align="left" sf:text-pos="72" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-48" sf:type="none" sf:align="left" sf:text-pos="108" sf:label-pos="0" sf:scale="1" sf:offset=!
 "0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-49" sf:type="none" sf:align="left" sf:text-pos="144" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-50" sf:type="none" sf:align="left" sf:text-pos="180" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-51" sf:type="none" sf:align="left" sf:text-pos="216" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-52" sf:type="none" sf:align="left" sf:text-pos="252" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-53" sf:type="none" sf:align="left" sf:text-pos="288" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/></sf:array></sf:listLevels><sf:labelCharacterStyle1><sf:characterstyle sfa:ID="SFWPCharacterStyle-4" sf:parent-ident="character-style-null"><sf:property!
 -map><sf:fontName/></sf:property-map></sf:characterstyle></sf:labelCha
racterStyle1></sf:property-map></sf:liststyle></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:p!
 roperty-map></sf:paragraphstyle><sf:sectionstyle sfa:ID="SFWPSectionStyle-3" sf:name="Normal" sf:ident="section-style-default"><sf:property-map><sf:pageMasterFirstPageDifferent><sf:number sfa:number="0" sfa:type="c"/></sf:pageMasterFirstPageDifferent><sf:oddPageMaster><sf:pagemaster sfa:ID="SFWPPageMaster-6" sl:header="SFWPDefaultOddHeaderIdentifier" sl:footer="SFWPDefaultOddFooterIdentifier"/></sf:oddPageMaster><sf:sectionPageNumberStart><sf:number sfa:number="1" sfa:type="i"/></sf:sectionPageNumberStart><sf:pageMasterLeftRightPagesDifferent><sf:number sfa:number="0" sfa:type="c"/></sf:pageMasterLeftRightPagesDifferent><sf:inheritPreviousHF><sf:number sfa:number="1" sfa:type="c"/></sf:inheritPreviousHF><sf:firstPageMaster><sf:pagemaster sfa:ID="SFWPPageMaster-7" sl:header="SFWPDefaultFirstHeaderIdentifier" sl:footer="SFWPDefaultFirstFooterIdentifier"/></sf:firstPageMaster><sf:evenPageMaster><sf:pagemaster sfa:ID="SFWPPageMaster-8" sl:header="SFWPDefaultEvenHeaderIdentifier!
 " sl:footer="SFWPDefaultEvenFooterIdentifier"/></sf:evenPageMaster><sf
:startKind><sf:number sfa:number="0" sfa:type="i"/></sf:startKind><sf:sectionLayoutStyle><sf:null/></sf:sectionLayoutStyle><sf:sectionPageNumberKind><sf:number sfa:number="0" sfa:type="i"/></sf:sectionPageNumberKind></sf:property-map></sf:sectionstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-20" sf:name="highlights-orderedlist" sf:ident="paragraph-style-65"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-6" sf:parent-ident="list-style-default"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-9"><sf:list-level sfa:ID="SFWPListLevel-54" sf:type="text" sf:align="left" sf:text-pos="28.34645652770!
 9961" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-28" sf:type="decimal" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-55" sf:type="none" sf:align="left" sf:text-pos="36" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-56" sf:type="none" sf:align="left" sf:text-pos="72" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-57" sf:type="none" sf:align="left" sf:text-pos="108" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-58" sf:type="none" sf:align="left" sf:text-pos="144" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-59" sf:type="none" sf:align="left" sf:text-pos="180" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:!
 list-level sfa:ID="SFWPListLevel-60" sf:type="none" sf:align="left" sf
:text-pos="216" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-61" sf:type="none" sf:align="left" sf:text-pos="252" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-62" sf:type="none" sf:align="left" sf:text-pos="288" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/></sf:array></sf:listLevels></sf:property-map></sf:liststyle></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:!
 spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:graphic-style sfa:ID="SFDGraphicStyle-5" sf:name="graphic-line-style-default" sf:ident="graphic-line-style-default"><sf:property-map><sf:headLineEnd><sf:null/></sf:headLineEnd><sf:stroke><sf:stroke sfa:ID="SFRStroke-9" sf:miter-limit="4" sf:width="2" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-9" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke><sf:fill><sf:null/></sf:fill><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:externalTextWrap><sf:external-tex!
 t-wrap sfa:ID="SFWPExternalTextWrap-5" sf:wrap-style="tight" sf:floati
ng-wrap-enabled="true" sf:direction="both" sf:attachment-wrap-type="aligned" sf:floating-wrap-type="directional" sf:margin="12" sf:alpha-threshold="0.5"/></sf:externalTextWrap><sf:tailLineEnd><sf:null/></sf:tailLineEnd><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-6" sf:name="graphic-line-style-default 2" sf:ident="graphic-line-style-default-1" sf:parent-ident="graphic-line-style-default"><sf:property-map><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow></sf:property-map></sf:graphic-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-21" sf:name="sect1-subtitle" sf:ident="paragraph-style-43"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:!
 paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf!
 :fontSize><sf:number sfa:number="16" sfa:type="f"/></sf:fontSize><sf:h
idden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:table-cell-style sfa:ID="SFTableCellStyle-0" sf:ident="table-cell-style-default"><sf:property-map><sf:SFTableCellStylePropertyType><sf:number sfa:number="0" sfa:type="i"/></sf:SFTableCellStylePropertyType><sf:SFTableCellStylePropertyFill><sf:null/></sf:SFTableCellStylePropertyFill><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity></sf:property-map></sf:table-cell-style><sf:characterstyle sfa:ID="SFWPCharacterStyle-5" sf:name="orgname" sf:ident="character-style-26"><sf:prop!
 erty-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:baselineShift/><sf:tracking/><sf:fontName/><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:underline/></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-22" sf:name="tip" sf:ident="paragraph-style-58"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outli!
 neLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:l
iststyle-ref sfa:IDREF="SFWPListStyle-5"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sf!
 a:ID="SFWPParagraphStyle-23" sf:name="bibliodiv-title" sf:ident="paragraph-style-93"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent><sf:number sfa:number="14.17323" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:pa!
 ragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParag
raphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent><sf:number sfa:number="14.17323" sfa:type="f"/></sf:firstLineIndent><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-24" sf:name="caption" !
 sf:ident="paragraph-style-36"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic><sf:number sfa:number="1" sfa:type="c"/></sf:italic><sf:baselineShift/><sf:fontName><sf:string sfa:string="Helvetica-Oblique"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize><sf!
 :number sfa:number="11" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:un
derline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-6" sf:name="date" sf:ident="character-style-19"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:underline><sf:number sfa:number="1" sfa:type="i"/></sf:underline><sf:tracking/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0.40000000596046448" sfa:b="0.80000001192092896" sfa:a="1"/></sf:fontColor><sf:strikethru/><sf:cap!
 italization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold/><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:baselineShift/><sf:ligatures/></sf:property-map></sf:characterstyle><sf:chart-series-style sfa:ID="SFCSeriesStyle-0" sf:name="Series_5" sf:ident="Series_5" sf:seriesIndex="5"><sf:property-map><sf:SFCAreaShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCAreaShowValueLabelProperty><sf:SFC2DAreaUseStrokeColorForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DAreaUseStrokeColorForDataPointFillProperty><sf:SFC2DOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFC2DOpacityProperty><sf:SFCPieWedgeExplosionProperty><sf:number sfa:number="0" sfa:type="f"/></sf:SFCPieWedgeExplosionProperty><sf:SFC2DAreaUseSeriesFillForDataPointFillProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFC2DAreaUseSeriesFillForDataPointFillProperty><sf!
 :SFC2DAreaStrokeProperty><sf:stroke sfa:ID="SFRStroke-10" sf:miter-lim
it="4" sf:width="2" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-10" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DAreaStrokeProperty><sf:SFC2DAreaShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DAreaShadowProperty><sf:SFCPieShowSeriesNameLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCPieShowSeriesNameLabelProperty><sf:SFC2DLineUseSeriesFillForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DLineUseSeriesFillForDataPointFillProperty><sf:SFCBarSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-25" sf:ident="Series_5_SFCBarSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorder!
 s/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="i"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeature!
 s/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></s
f:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCBarSeriesValueParagraphStyleProperty><sf:SFC2DLineDataPointSymbolProperty><sf:number sfa:number="1" sfa:type="i"/></sf:SFC2DLineDataPointSymbolProperty><sf:SFC2DBarStrokeProperty><sf:stroke sfa:ID="SFRStroke-11" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-11" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DBarStrokeProperty><sf:SFCPieSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-26" sf:ident="Series_5_SFCPieSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:p!
 aragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="16" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:a!
 tsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke
><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment><sf:number sfa:number="2" sfa:type="i"/></sf:alignment></sf:property-map></sf:paragraphstyle></sf:SFCPieSeriesValueParagraphStyleProperty><sf:SFC2DColumnFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.92941176891326904" sfa:g="0.78823530673980713" sfa:b="0.14901961386203766" sfa:a="1"/></sf:SFC2DColumnFillProperty><sf:SFCAreaValueLabelPositionProperty><sf:number sfa:number="10" sfa:type="i"/></sf:SFCAreaValueLabelPositionProperty><sf:SFCBarValueLabelPositionProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCBarValueLabelPositionProperty><sf:SFCStackedAreaValueLabelPositionProperty><sf:number sfa:number="10" sfa:type="i"/></sf:SFCStackedAreaValueLabelPositionProperty><sf:SFC2DAreaFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.92941176891326904" sfa:g="0.78823530673980713" sfa:b="0.14901961386203766" sfa:a="!
 1"/></sf:SFC2DAreaFillProperty><sf:SFCStackedBarValueLabelPositionProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCStackedBarValueLabelPositionProperty><sf:SFC2DLineShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DLineShadowProperty><sf:SFC2DLineUseStrokeColorForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DLineUseStrokeColorForDataPointFillProperty><sf:SFCBarShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCBarShowValueLabelProperty><sf:SFC2DBarShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DBarShadowProperty><sf:SFC2DAreaDataPointFillProperty><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:SFC2DAreaDataPointFillProperty><sf:SFCAreaSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-27" sf:ident="Series_5_SFCAreaSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStop!
 s/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><
sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="i"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:str!
 ikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCAreaSeriesValueParagraphStyleProperty><sf:SFCPieShowValueLabelProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFCPieShowValueLabelProperty><sf:SFC2DPieShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DPieShadowProperty><sf:SFCLineSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-28" sf:ident="Series_5_SFCLineSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontC!
 olor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/>
<sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCLineSeriesValueParagraphStyleProper!
 ty><sf:SFCLabelShadowProperty><sf:shadow sfa:ID="SFRShadow-1" sf:angle="45" sf:offset="2" sf:radius="2" sf:opacity="0.75"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/></sf:shadow></sf:SFCLabelShadowProperty><sf:SFC2DPieStrokeProperty><sf:stroke sfa:ID="SFRStroke-12" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-12" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DPieStrokeProperty><sf:SFCLineShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCLineShowValueLabelProperty><sf:SFC2DAreaDataPointSymbolProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFC2DAreaDataPointSymbolProperty><sf:SFC2DLineDataPointFillProperty><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:SFC2DLineDataPointFillProperty><sf:SFCPieValueLabelPositionProperty><sf:number sfa!
 :number="13" sfa:type="i"/></sf:SFCPieValueLabelPositionProperty><sf:S
FC2DLineStrokeProperty><sf:stroke sfa:ID="SFRStroke-13" sf:miter-limit="4" sf:width="4" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.92941176891326904" sfa:g="0.78823530673980713" sfa:b="0.14901961386203766" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-13" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DLineStrokeProperty><sf:SFCLineValueLabelPositionProperty><sf:number sfa:number="4" sfa:type="i"/></sf:SFCLineValueLabelPositionProperty><sf:SFC2DPieFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.92941176891326904" sfa:g="0.78823530673980713" sfa:b="0.14901961386203766" sfa:a="1"/></sf:SFC2DPieFillProperty><sf:SFC2DBarFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.92941176891326904" sfa:g="0.78823530673980713" sfa:b="0.14901961386203766" sfa:a="1"/></sf:SFC2DBarFillProperty><sf:SFCLabelOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFCL!
 abelOpacityProperty></sf:property-map></sf:chart-series-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-29" sf:name="article-subtitle" sf:ident="paragraph-style-6"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParag!
 raphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></s
f:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:table-cell-style sfa:ID="SFTableCellStyle-1" sf:ident="table-header-row-cell-style-default"><sf:property-map><!
 sf:SFTableCellStylePropertyType><sf:number sfa:number="1" sfa:type="i"/></sf:SFTableCellStylePropertyType><sf:SFTableCellStylePropertyFill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.69019609689712524" sfa:g="0.70196080207824707" sfa:b="0.69803923368453979" sfa:a="1"/></sf:SFTableCellStylePropertyFill><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity></sf:property-map></sf:table-cell-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-30" sf:name="part-title" sf:ident="paragraph-style-86"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle sfa:ID="SLTOCParagraphStyle-5" sfa:sfclass="paragraphstyle" sf:name="TOC" sf:ident="toc-paragraph-style-default"><sf:property-map><sf:defaultTabStops><sf:number sfa:numb!
 er="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:firstTopicNumber/
><sf:tabs><sf:tabs sfa:ID="SFWPTabs-5"><sf:tabstop sf:pos="481.61416625976562" sf:align="right"/></sf:tabs></sf:tabs><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:SLTOCPageNumberStyle><sf:null/></sf:SLTOCPageNumberStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:null/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:SLTOCDisabledStyles><sf:null/></sf:SLTOCDisabledStyles><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:SLTOCShowPageNumber/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:!
 SLTOCEnabledStyles><sf:null/></sf:SLTOCEnabledStyles><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:SLTOCEntryStyle><sf:null/></sf:SLTOCEntryStyle><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:tocstyle></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa!
 :number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf
:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="24" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="28" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumb!
 er/></sf:property-map></sf:paragraphstyle><sf:chart-series-style sfa:ID="SFCSeriesStyle-1" sf:name="Series_3" sf:ident="Series_3" sf:seriesIndex="3"><sf:property-map><sf:SFCAreaShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCAreaShowValueLabelProperty><sf:SFC2DAreaUseStrokeColorForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DAreaUseStrokeColorForDataPointFillProperty><sf:SFC2DOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFC2DOpacityProperty><sf:SFCPieWedgeExplosionProperty><sf:number sfa:number="0" sfa:type="f"/></sf:SFCPieWedgeExplosionProperty><sf:SFC2DAreaUseSeriesFillForDataPointFillProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFC2DAreaUseSeriesFillForDataPointFillProperty><sf:SFC2DAreaStrokeProperty><sf:stroke sfa:ID="SFRStroke-14" sf:miter-limit="4" sf:width="2" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern-ref sfa:IDREF="SFR!
 StrokePattern-10"/></sf:stroke></sf:SFC2DAreaStrokeProperty><sf:SFC2DA
reaShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DAreaShadowProperty><sf:SFCPieShowSeriesNameLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCPieShowSeriesNameLabelProperty><sf:SFC2DLineUseSeriesFillForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DLineUseSeriesFillForDataPointFillProperty><sf:SFCBarSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-31" sf:ident="Series_3_SFCBarSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:te!
 xtShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="i"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCBarSeriesValueParagraphStyleProperty><sf:SFC2DLineDat!
 aPointSymbolProperty><sf:number sfa:number="1" sfa:type="i"/></sf:SFC2
DLineDataPointSymbolProperty><sf:SFC2DBarStrokeProperty><sf:stroke sfa:ID="SFRStroke-15" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-14" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DBarStrokeProperty><sf:SFCPieSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-32" sf:ident="Series_3_SFCPieSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:d!
 ropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="16" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment><sf:number sfa:number="2" sfa:type="i"/></sf:alignment></sf:property-map></sf:paragrap!
 hstyle></sf:SFCPieSeriesValueParagraphStyleProperty><sf:SFC2DColumnFil
lProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.75686275959014893" sfa:g="0.047058824449777603" sfa:b="0.12941177189350128" sfa:a="1"/></sf:SFC2DColumnFillProperty><sf:SFCAreaValueLabelPositionProperty><sf:number sfa:number="10" sfa:type="i"/></sf:SFCAreaValueLabelPositionProperty><sf:SFCBarValueLabelPositionProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCBarValueLabelPositionProperty><sf:SFCStackedAreaValueLabelPositionProperty><sf:number sfa:number="10" sfa:type="i"/></sf:SFCStackedAreaValueLabelPositionProperty><sf:SFC2DAreaFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.75686275959014893" sfa:g="0.047058824449777603" sfa:b="0.12941177189350128" sfa:a="1"/></sf:SFC2DAreaFillProperty><sf:SFCStackedBarValueLabelPositionProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCStackedBarValueLabelPositionProperty><sf:SFC2DLineShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DLineShadowProperty><sf:SFC2DLin!
 eUseStrokeColorForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DLineUseStrokeColorForDataPointFillProperty><sf:SFCBarShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCBarShowValueLabelProperty><sf:SFC2DBarShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DBarShadowProperty><sf:SFC2DAreaDataPointFillProperty><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:SFC2DAreaDataPointFillProperty><sf:SFCAreaSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-33" sf:ident="Series_3_SFCAreaSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-w!
 hite-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/>
<sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="i"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphst!
 yle></sf:SFCAreaSeriesValueParagraphStyleProperty><sf:SFCPieShowValueLabelProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFCPieShowValueLabelProperty><sf:SFC2DPieShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DPieShadowProperty><sf:SFCLineSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-34" sf:ident="Series_3_SFCLineSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParag!
 raphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:
effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCLineSeriesValueParagraphStyleProperty><sf:SFCLabelShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-1"/></sf:SFCLabelShadowProperty><sf:SFC2DPieStrokeProperty><sf:stroke sfa:ID="SFRStroke-16" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-ty!
 pe" sfa:w="1" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-15" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DPieStrokeProperty><sf:SFCLineShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCLineShowValueLabelProperty><sf:SFC2DAreaDataPointSymbolProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFC2DAreaDataPointSymbolProperty><sf:SFC2DLineDataPointFillProperty><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:SFC2DLineDataPointFillProperty><sf:SFCPieValueLabelPositionProperty><sf:number sfa:number="13" sfa:type="i"/></sf:SFCPieValueLabelPositionProperty><sf:SFC2DLineStrokeProperty><sf:stroke sfa:ID="SFRStroke-17" sf:miter-limit="4" sf:width="4" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.75686275959014893" sfa:g="0.047058824449777603" sfa:b="0.12941177189350128" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-16" sf:phase="0" sf:type="solid"><s!
 f:pattern/></sf:pattern></sf:stroke></sf:SFC2DLineStrokeProperty><sf:S
FCLineValueLabelPositionProperty><sf:number sfa:number="4" sfa:type="i"/></sf:SFCLineValueLabelPositionProperty><sf:SFC2DPieFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.75686275959014893" sfa:g="0.047058824449777603" sfa:b="0.12941177189350128" sfa:a="1"/></sf:SFC2DPieFillProperty><sf:SFC2DBarFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.75686275959014893" sfa:g="0.047058824449777603" sfa:b="0.12941177189350128" sfa:a="1"/></sf:SFC2DBarFillProperty><sf:SFCLabelOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFCLabelOpacityProperty></sf:property-map></sf:chart-series-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-35" sf:name="itemizedlist1" sf:ident="paragraph-style-29"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:it!
 alic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-7" sf:name="Bullet" sf:ident="list-style-2"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-10"><sf:list-level sfa:ID="SFWPListLevel-63" sf:type="text" sf:align="left" sf:text-pos="9" sf:label-pos="0" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-29" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-64" sf:type="text" sf:align="left" sf:text-pos="27" sf:label-pos="18" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-30" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-65" sf:type="text" sf:align="left" sf:text-pos="45" sf:label-pos="36" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><s!
 f:text-label sfa:ID="SFWPTextLabel-31" sf:type="bullet" sf:format="&#x
2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-66" sf:type="text" sf:align="left" sf:text-pos="63" sf:label-pos="54" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-32" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-67" sf:type="text" sf:align="left" sf:text-pos="81" sf:label-pos="72" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-33" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-68" sf:type="text" sf:align="left" sf:text-pos="99" sf:label-pos="90" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-34" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-69" sf:type="text" sf:align="left" sf:text-pos="117" sf:label-pos="108" sf:scale="1" sf:offset="-1" sf:sc!
 ale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-35" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-70" sf:type="text" sf:align="left" sf:text-pos="135" sf:label-pos="126" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-36" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-71" sf:type="text" sf:align="left" sf:text-pos="153" sf:label-pos="144" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-37" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level></sf:array></sf:listLevels></sf:property-map></sf:liststyle></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:!
 superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefor
e/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-7" sf:name="city" sf:ident="character-style-5"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:baselineShift/><sf:tracking/><sf:fontName/><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:underlineColor!
 ><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:underline/></sf:property-map></sf:characterstyle><sf:chart-series-style sfa:ID="SFCSeriesStyle-2" sf:name="Series_1" sf:ident="Series_1" sf:seriesIndex="1"><sf:property-map><sf:SFCAreaShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCAreaShowValueLabelProperty><sf:SFC2DAreaUseStrokeColorForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DAreaUseStrokeColorForDataPointFillProperty><sf:SFC2DOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFC2DOpacityProperty><sf:SFCPieWedgeExplosionProperty><sf:number sfa:number="0" sfa:type="f"/></sf:SFCPieWedgeExplosionProperty><sf:SFC2DAreaUseSeriesFillForDataPointFillProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFC2DAreaUseSeriesFillForDataPointFillProperty><sf:SFC2DAreaStrokeProperty><sf:stroke sfa:ID="SFRStroke-18" sf:miter-limit="4" sf:width="2" sf:cap="butt" sf:join="miter"><sf:color xsi:type!
 ="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern-re
f sfa:IDREF="SFRStrokePattern-10"/></sf:stroke></sf:SFC2DAreaStrokeProperty><sf:SFC2DAreaShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DAreaShadowProperty><sf:SFCPieShowSeriesNameLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCPieShowSeriesNameLabelProperty><sf:SFC2DLineUseSeriesFillForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DLineUseSeriesFillForDataPointFillProperty><sf:SFCBarSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-36" sf:ident="Series_1_SFCBarSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontCol!
 or><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="i"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property!
 -map></sf:paragraphstyle></sf:SFCBarSeriesValueParagraphStyleProperty>
<sf:SFC2DLineDataPointSymbolProperty><sf:number sfa:number="1" sfa:type="i"/></sf:SFC2DLineDataPointSymbolProperty><sf:SFC2DBarStrokeProperty><sf:stroke sfa:ID="SFRStroke-19" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-17" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DBarStrokeProperty><sf:SFCPieSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-37" sf:ident="Series_1_SFCPieSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"!
 /></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="16" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment>!
 <sf:number sfa:number="2" sfa:type="i"/></sf:alignment></sf:property-m
ap></sf:paragraphstyle></sf:SFCPieSeriesValueParagraphStyleProperty><sf:SFC2DColumnFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.16862745583057404" sfa:g="0.4117647111415863" sfa:b="0.56862747669219971" sfa:a="1"/></sf:SFC2DColumnFillProperty><sf:SFCAreaValueLabelPositionProperty><sf:number sfa:number="10" sfa:type="i"/></sf:SFCAreaValueLabelPositionProperty><sf:SFCBarValueLabelPositionProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCBarValueLabelPositionProperty><sf:SFCStackedAreaValueLabelPositionProperty><sf:number sfa:number="10" sfa:type="i"/></sf:SFCStackedAreaValueLabelPositionProperty><sf:SFC2DAreaFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.16862745583057404" sfa:g="0.4117647111415863" sfa:b="0.56862747669219971" sfa:a="1"/></sf:SFC2DAreaFillProperty><sf:SFCStackedBarValueLabelPositionProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCStackedBarValueLabelPositionProperty><sf:SFC2DLineShadowProperty!
 ><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DLineShadowProperty><sf:SFC2DLineUseStrokeColorForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DLineUseStrokeColorForDataPointFillProperty><sf:SFCBarShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCBarShowValueLabelProperty><sf:SFC2DBarShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DBarShadowProperty><sf:SFC2DAreaDataPointFillProperty><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:SFC2DAreaDataPointFillProperty><sf:SFCAreaSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-38" sf:ident="Series_1_SFCAreaSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:nu!
 ll/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:
calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="i"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:un!
 derlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCAreaSeriesValueParagraphStyleProperty><sf:SFCPieShowValueLabelProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFCPieShowValueLabelProperty><sf:SFC2DPieShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DPieShadowProperty><sf:SFCLineSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-39" sf:ident="Series_1_SFCLineSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBord!
 ers/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:fo
llowingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCLineSeriesValueParagraphStyleProperty><sf:SFCLabelShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-1"/></sf:SFCLabelShadowProperty><sf:SFC2DPieStrokeProperty><sf:stroke sfa:ID="SFRStroke-20" sf:miter-limit="4" sf:width="!
 1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-18" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DPieStrokeProperty><sf:SFCLineShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCLineShowValueLabelProperty><sf:SFC2DAreaDataPointSymbolProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFC2DAreaDataPointSymbolProperty><sf:SFC2DLineDataPointFillProperty><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:SFC2DLineDataPointFillProperty><sf:SFCPieValueLabelPositionProperty><sf:number sfa:number="13" sfa:type="i"/></sf:SFCPieValueLabelPositionProperty><sf:SFC2DLineStrokeProperty><sf:stroke sfa:ID="SFRStroke-21" sf:miter-limit="4" sf:width="4" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.16862745583057404" sfa:g="0.4117647111415863" sfa:b="0.56862747669219971" sfa!
 :a="1"/><sf:pattern sfa:ID="SFRStrokePattern-19" sf:phase="0" sf:type=
"solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DLineStrokeProperty><sf:SFCLineValueLabelPositionProperty><sf:number sfa:number="4" sfa:type="i"/></sf:SFCLineValueLabelPositionProperty><sf:SFC2DPieFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.16862745583057404" sfa:g="0.4117647111415863" sfa:b="0.56862747669219971" sfa:a="1"/></sf:SFC2DPieFillProperty><sf:SFC2DBarFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.16862745583057404" sfa:g="0.4117647111415863" sfa:b="0.56862747669219971" sfa:a="1"/></sf:SFC2DBarFillProperty><sf:SFCLabelOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFCLabelOpacityProperty></sf:property-map></sf:chart-series-style><sf:characterstyle sfa:ID="SFWPCharacterStyle-8" sf:name="authorinitials" sf:ident="character-style-20"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:underline><sf:number sfa:number="1" sfa:type="i"/></sf:underline><sf:trackin!
 g/><sf:fontName/><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:baselineShift/><sf:ligatures/></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-40" sf:name="imageobject-imagedata" sf:ident="paragraph-style-79"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName><sf:string sfa:string="Courier-Bold"/></sf:fontName><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0.20000000298023224" sfa:b="0!
 .60000002384185791" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:out
lineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:firstLineIndent><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline><sf:number sfa:number="1" sfa:type="i"/></sf:underline><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:para!
 graphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-41" sf:name="section-title" sf:ident="paragraph-style-52"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesT!
 ogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:w
ord_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragra!
 phstyle sfa:ID="SFWPParagraphStyle-42" sf:name="bibliorelation" sf:ident="paragraph-style-109"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.60000002384185791" sfa:g="0.80000001192092896" sfa:b="0.80000001192092896" sfa:a="1"/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/>!
 <sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline
/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-43" sf:name="legalnotice" sf:ident="paragraph-style-30"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.60000002384185791" sfa:g="0.40000000596046448" sfa:b="0.20000000298023224" sfa:a="0.5"/></sf:paragraphFill><sf:lineSpacing/><sf:paragr!
 aphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline><sf:number sfa:number="1" sfa:type="i"/></sf:underline><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBrea!
 kBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStro
ke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:liststyle sfa:ID="SFWPListStyle-8" sf:name="Harvard" sf:ident="list-style-7"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-11"><sf:list-level sfa:ID="SFWPListLevel-72" sf:type="text" sf:align="left" sf:text-pos="23.399999618530273" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-38" sf:type="upper-roman" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-73" sf:type="text" sf:align="left" sf:text-pos="36" sf:label-pos="18" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-39" sf:type="upper-alpha" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-74" sf:type="text" sf:align="left" sf:text-pos="54" sf:label-pos="36" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><!
 sf:text-label sfa:ID="SFWPTextLabel-40" sf:type="decimal" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-75" sf:type="text" sf:align="left" sf:text-pos="72" sf:label-pos="54" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-41" sf:type="lower-alpha" sf:format="%L)" sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-76" sf:type="text" sf:align="left" sf:text-pos="95.400001525878906" sf:label-pos="72" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-42" sf:type="decimal" sf:format="(%L)" sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-77" sf:type="text" sf:align="left" sf:text-pos="118.80000305175781" sf:label-pos="95.400001525878906" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-43" sf:type="lower-alpha" sf:format="(%L)" sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPList!
 Level-78" sf:type="text" sf:align="left" sf:text-pos="136.799987792968
75" sf:label-pos="118.79999542236328" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-44" sf:type="lower-roman" sf:format="%L)" sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-79" sf:type="text" sf:align="left" sf:text-pos="160.19999694824219" sf:label-pos="136.80000305175781" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-45" sf:type="decimal" sf:format="(%L)" sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-80" sf:type="text" sf:align="left" sf:text-pos="183.59999084472656" sf:label-pos="160.19999694824219" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-46" sf:type="lower-alpha" sf:format="(%L)" sf:first="1"/></sf:list-level></sf:array></sf:listLevels></sf:property-map></sf:liststyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-9" sf:name="jobtitle" sf:ident="character-style-13"><sf:property-map><sf:fontSize/>!
 <sf:strikethruColor><sf:null/></sf:strikethruColor><sf:baselineShift/><sf:tracking/><sf:fontName/><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:underline/></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-44" sf:name="qandaset-title" sf:ident="paragraph-style-80"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rig!
 htIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/>
<sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:striketh!
 ruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-45" sf:name="formalpara-title" sf:ident="paragraph-style-23"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBord!
 ers/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:fo
llowingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent><sf:number sfa:number="28.36418" sfa:type="f"/></sf:firstLineIndent><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:graphic-style sfa:ID="SFDGraphicStyle-7" sf:name="graphic-line-style-default 3" sf:ident="graphic-line-style-default-2" sf:parent-ident="graphic-line-style-default"><sf:property-map!
 ><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow></sf:property-map></sf:graphic-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-46" sf:name="programlisting" sf:ident="paragraph-style-73"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName><sf:string sfa:string="CourierNewPSMT"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/><!
 /sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fo
ntSize><sf:number sfa:number="10" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-47" sf:name="caution" sf:ident="paragraph-style-16"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf!
 :fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="1" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-5"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/!
 ><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:u
nderlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-48" sf:name="publishername" sf:ident="paragraph-style-106"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName><sf:string sfa:string="TimesNewRomanPSMT"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><s!
 f:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize><sf:number sfa:number="10" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:tocstyle sfa:ID="SLTOCParagraphStyle-6" sfa:sfclass="paragraphstyle" sf:name="TOC Heading 4" sf:ident="toc-paragraph-style-4"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:firstTopicNumber/><sf:tabs><sf:tabs sfa:ID=!
 "SFWPTabs-6"><sf:tabstop sf:pos="481.61416625976562" sf:align="right"/
></sf:tabs></sf:tabs><sf:leftIndent><sf:number sfa:number="42.51968" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:SLTOCPageNumberStyle><sf:null/></sf:SLTOCPageNumberStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:null/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:SLTOCDisabledStyles><sf:null/></sf:SLTOCDisabledStyles><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:SLTOCShowPageNumber/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firs!
 tLineIndent><sf:number sfa:number="42.51968" sfa:type="f"/></sf:firstLineIndent><sf:bold/><sf:SLTOCEnabledStyles><sf:null/></sf:SLTOCEnabledStyles><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:SLTOCEntryStyle><sf:null/></sf:SLTOCEntryStyle><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:tocstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-49" sf:name="example-title" sf:ident="paragraph-style-66"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent><sf:number sfa:number="28.35709" sfa:!
 type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFi
ll><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent><sf:number sfa:number="28.34646" sfa:type="f"/></sf:rightIndent><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:firstLineIndent><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:fontSize><sf:number sfa:number="13" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor>!
 <sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-50" sf:name="sect2-title" sf:ident="paragraph-style-44"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:ou!
 tline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPLis
tStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="16" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFon!
 tFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:sectionstyle sfa:ID="SFWPSectionStyle-4" sf:name="Normal 2" sf:ident="section-style-0"><sf:property-map><sf:pageMasterFirstPageDifferent><sf:number sfa:number="0" sfa:type="c"/></sf:pageMasterFirstPageDifferent><sf:oddPageMaster><sf:pagemaster sfa:ID="SFWPPageMaster-9" sl:header="" sl:footer=""/></sf:oddPageMaster><sf:sectionPageNumberStart><sf:number sfa:number="1" sfa:type="i"/></sf:sectionPageNumberStart><sf:pageMasterLeftRightPagesDifferent><sf:number sfa:number="0" sfa:type="c"/></sf:pageMasterLeftRightPagesDifferent><sf:inheritPreviousHF><sf:number sfa:number="1" sfa:type="c"/></sf:inheritPreviousHF><sf:firstPageMaster><sf:pagemaster sfa:ID="SFWPPageMaster-10" sl:header="" sl:footer=""/></sf:firstPageMaster><sf:evenPageMaster><sf:pagemaster sf!
 a:ID="SFWPPageMaster-11" sl:header="" sl:footer=""/></sf:evenPageMaste
r><sf:startKind><sf:number sfa:number="0" sfa:type="i"/></sf:startKind><sf:sectionLayoutStyle><sf:null/></sf:sectionLayoutStyle><sf:sectionPageNumberKind><sf:number sfa:number="0" sfa:type="i"/></sf:sectionPageNumberKind></sf:property-map></sf:sectionstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-10" sf:name="emphasis" sf:ident="character-style-0"><sf:property-map><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:italic><sf:number sfa:number="1" sfa:type="i"/></sf:italic></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-51" sf:name="tip-title" sf:ident="paragraph-style-59"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g!
 ="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-5"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeat!
 ures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/>
</sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-52" sf:name="imageobjectco-imagedata" sf:ident="paragraph-style-94"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName><sf:string sfa:string="Courier-Bold"/></sf:fontName><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0.20000000298023224" sfa:b="0.60000002384185791" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capit!
 alization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:firstLineIndent><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline><sf:number sfa:number="1" sfa:type="i"/></sf:underline><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map><!
 /sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-53" s
f:name="Header &amp; Footer" sf:ident="paragraph-style-37"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs><sf:tabs sfa:ID="SFWPTabs-7"><sf:tabstop sf:pos="468" sf:align="right"/></sf:tabs></sf:tabs><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effec!
 tColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize><sf:number sfa:number="10" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-54" sf:name="blockerror" sf:ident="paragraph-style-10"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent><sf:number sfa:number="14.18209" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:color xsi:type="sfa:calibrated-rgb-c!
 olor-type" sfa:r="1" sfa:g="0.40000000596046448" sfa:b="0.400000005960
46448" sfa:a="0.20000000298023224"/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="1" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent><sf:number sfa:number="14.18209" sfa:type="f"/></sf:firstLineIndent><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spac!
 eAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-55" sf:name="author" sf:ident="paragraph-style-8"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligat!
 ures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:st
rikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-56" sf:name="abstract" sf:ident="paragraph-style-87"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defau!
 ltTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic><sf:number sfa:number="1" sfa:type="i"/></sf:italic><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:lang!
 uage><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:nul
l/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-57" sf:name="warning" sf:ident="paragraph-style-60"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="1" sfa:g="1" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-5"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTog!
 ether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-58" sf:name="programlistingco" sf:ident="paragraph-style-103">!
 <sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" 
sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName><sf:string sfa:string="CourierNewPSMT"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize><sf:number sfa:number="10" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:sp!
 aceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-59" sf:name="Footnote Text" sf:ident="kSFWPFootnoteTextStyleIdentifier"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:!
 dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/>
</sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize><sf:number sfa:number="10" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="10" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:chara!
 cterstyle sfa:ID="SFWPCharacterStyle-11" sf:name="country" sf:ident="character-style-7"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:baselineShift/><sf:tracking/><sf:fontName/><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:underline/></sf:property-map></sf:characterstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-12" sf:name="filename" sf:ident="character-style-21"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:ligatures/><sf:tracking/><sf:fontName><sf:string sfa:string="Courier"/></sf:fontName><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold!
 /><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><s
f:italic/><sf:baselineShift/><sf:underline/></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-60" sf:name="section-subtitle" sf:ident="paragraph-style-53"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline!
 /><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="16" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:!
 ID="SFWPParagraphStyle-61" sf:name="note" sf:ident="paragraph-style-31
"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-5"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:!
 word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-13" sf:name="lineage" sf:ident="character-style-14"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:underline><sf:number sfa:number="1" sfa:type="i"/></sf:underline><sf:tracking/><sf:fontName/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:fontColor/><sf:textShadow/><sf:strikethru/><sf:atsuFontFeatures/><sf:bold/><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:!
 ligatures/><sf:baselineShift/></sf:property-map></sf:characterstyle><s
f:table-cell-style sfa:ID="SFTableCellStyle-2" sf:ident="table-header-column-cell-style-default"><sf:property-map><sf:SFTableCellStylePropertyType><sf:number sfa:number="2" sfa:type="i"/></sf:SFTableCellStylePropertyType><sf:SFTableCellStylePropertyFill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.86274510622024536" sfa:g="0.87058824300765991" sfa:b="0.86666667461395264" sfa:a="1"/></sf:SFTableCellStylePropertyFill><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity></sf:property-map></sf:table-cell-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-62" sf:name="glossary-title" sf:ident="paragraph-style-24"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf!
 :fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hy!
 phenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outli
neColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-63" sf:name="qandadiv-title" sf:ident="paragraph-style-81"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><s!
 f:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="15" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:nul!
 l/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf
:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-64" sf:name="orderedlist2" sf:ident="paragraph-style-100"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-9" sf:parent-ident="list-style-2"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-12"><sf:list-level sfa:ID="SFWPListLevel-81" sf:type="text" sf:align="left" sf:text-pos="28.346456527709961" sf:label-pos="14.17322826385498" sf:scale="1" sf:offset="-1" sf:scale-with-text=!
 "true"><sf:text-label sfa:ID="SFWPTextLabel-47" sf:type="lower-alpha" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-82" sf:type="text" sf:align="left" sf:text-pos="27" sf:label-pos="18" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-48" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-83" sf:type="text" sf:align="left" sf:text-pos="45" sf:label-pos="36" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-49" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-84" sf:type="text" sf:align="left" sf:text-pos="63" sf:label-pos="54" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-50" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-85" sf:type="text" sf:ali!
 gn="left" sf:text-pos="81" sf:label-pos="72" sf:scale="1" sf:offset="-
1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-51" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-86" sf:type="text" sf:align="left" sf:text-pos="99" sf:label-pos="90" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-52" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-87" sf:type="text" sf:align="left" sf:text-pos="117" sf:label-pos="108" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-53" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-88" sf:type="text" sf:align="left" sf:text-pos="135" sf:label-pos="126" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-54" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-!
 89" sf:type="text" sf:align="left" sf:text-pos="153" sf:label-pos="144" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-55" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level></sf:array></sf:listLevels></sf:property-map></sf:liststyle></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf!
 :paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf
:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-65" sf:name="literallayout" sf:ident="paragraph-style-74"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName><sf:string sfa:string="Courier"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effe!
 ctColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-66" sf:name="caution-title" sf:ident="paragraph-style-17"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShif!
 t/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-
color-type" sfa:r="1" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-10" sf:parent-ident="list-style-default"><sf:property-map><sf:labelCharacterStyle1><sf:characterstyle-ref sfa:IDREF="SFWPCharacterStyle-4"/></sf:labelCharacterStyle1><sf:listLevels><sf:array sfa:ID="NSArray-13"><sf:list-level sfa:ID="SFWPListLevel-90" sf:type="text" sf:align="left" sf:text-pos="56.692913055419922" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-56" sf:type="bullet" sf:format="!" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-91" sf:type="none" sf:align="left" sf:text-pos="36" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-92" sf:type="none" sf:align="left" sf:text-pos="72" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with!
 -text="true"/><sf:list-level sfa:ID="SFWPListLevel-93" sf:type="none" sf:align="left" sf:text-pos="108" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-94" sf:type="none" sf:align="left" sf:text-pos="144" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-95" sf:type="none" sf:align="left" sf:text-pos="180" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-96" sf:type="none" sf:align="left" sf:text-pos="216" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-97" sf:type="none" sf:align="left" sf:text-pos="252" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-98" sf:type="none" sf:align="left" sf:text-pos="288" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/></sf:arr!
 ay></sf:listLevels></sf:property-map></sf:liststyle></sf:listStyle><sf
:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-ma!
 p></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-67" sf:name="book-title" sf:ident="paragraph-style-3"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-5"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SF!
 WPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf
:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="24" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="28" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-68" sf:name="figure-title" sf:ident="paragraph-style-67"><sf:property-map><sf:defaultTabStops><sf:number sfa:numbe!
 r="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent><sf:number sfa:number="28.34646" sfa:type="f"/></sf:rightIndent><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:firstLineIndent><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:fontSize><sf!
 :number sfa:number="13" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:un
derline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-69" sf:name="sect2-subtitle" sf:ident="paragraph-style-45"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fo!
 ntName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="15" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphe!
 nate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineC
olor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-14" sf:name="attribute-name" sf:ident="character-style-2"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:underline/><sf:tracking/><sf:fontName><sf:string sfa:string="Courier-Bold"/></sf:fontName><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:textShadow/><sf:strikethru/><sf:atsuFontFeatures/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:underlineColor><sf:null/></sf:underli!
 neColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:baselineShift/></sf:property-map></sf:characterstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-15" sf:name="citetitle" sf:ident="character-style-28"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:ligatures/><sf:tracking/><sf:fontName/><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold/><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic><sf:number sfa:number="1" sfa:type="i"/></sf:italic><sf:baselineShift/><sf:underline/></sf:property-map></sf:characterstyle><sf:graphic-style sfa:ID="SFDGraphicStyle-8" sf:name="graphic-image-style-default" sf:ident="graphic-image-style-default"><sf:property-map><sf:stroke><sf:stroke sfa:ID="SFRStroke-22" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" s!
 fa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-20" sf:phase=
"0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:externalTextWrap><sf:external-text-wrap sfa:ID="SFWPExternalTextWrap-6" sf:wrap-style="tight" sf:floating-wrap-enabled="true" sf:direction="both" sf:attachment-wrap-type="aligned" sf:floating-wrap-type="directional" sf:margin="12" sf:alpha-threshold="0.5"/></sf:externalTextWrap><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity><sf:fill><sf:null/></sf:fill></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-9" sf:name="graphic-image-style-default 2" sf:ident="graphic-image-style-default-1" sf:parent-ident="graphic-image-style-default"><sf:property-map><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow></sf:property-map></sf:graphic-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-70" sf:name="article-title" sf:ident="paragraph-style-38"><sf:pr!
 operty-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-5"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><s!
 f:number sfa:number="24" sfa:type="f"/></sf:spaceBefore><sf:firstLineI
ndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="28" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-71" sf:name="blockquote" sf:ident="paragraph-style-11"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragrap!
 hFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic><sf:number sfa:number="1" sfa:type="c"/></sf:italic><sf:baselineShift/><sf:fontName><sf:string sfa:string="Helvetica-Oblique"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize><sf:number sfa:number="11" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:nu!
 mber sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:nu
ll/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-72" sf:name="itemizedlist2" sf:ident="paragraph-style-95"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-11" sf:parent-ident="list-style-2"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-14"><sf:list-level sfa:ID="SFWPListLevel-99" sf:t!
 ype="text" sf:align="left" sf:text-pos="23.173229217529297" sf:label-pos="14.17322826385498" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-57" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-100" sf:type="text" sf:align="left" sf:text-pos="27" sf:label-pos="18" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-58" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-101" sf:type="text" sf:align="left" sf:text-pos="45" sf:label-pos="36" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-59" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-102" sf:type="text" sf:align="left" sf:text-pos="63" sf:label-pos="54" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPT!
 extLabel-60" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:
list-level><sf:list-level sfa:ID="SFWPListLevel-103" sf:type="text" sf:align="left" sf:text-pos="81" sf:label-pos="72" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-61" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-104" sf:type="text" sf:align="left" sf:text-pos="99" sf:label-pos="90" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-62" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-105" sf:type="text" sf:align="left" sf:text-pos="117" sf:label-pos="108" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-63" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-106" sf:type="text" sf:align="left" sf:text-pos="135" sf:label-pos="126" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"!
 ><sf:text-label sfa:ID="SFWPTextLabel-64" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-107" sf:type="text" sf:align="left" sf:text-pos="153" sf:label-pos="144" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-65" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level></sf:array></sf:listLevels></sf:property-map></sf:liststyle></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language>!
 <sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></
sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-73" sf:name="warning-title" sf:ident="paragraph-style-61"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="1" sfa:g="1" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-5"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTo!
 gether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-74" sf:name=!
 "abstract-title" sf:ident="paragraph-style-88"><sf:property-map><sf:de
faultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:!
 number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="15" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-16" sf:name="email" sf:ident="character-style-9"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:baselineShift/><sf:tracking/><sf:fontName/><sf:fontCol!
 or><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g=
"0" sfa:b="1" sfa:a="1"/></sf:fontColor><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold/><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:underline><sf:number sfa:number="1" sfa:type="i"/></sf:underline></sf:property-map></sf:characterstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-17" sf:name="sgmltag" sf:ident="character-style-22"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:ligatures/><sf:tracking/><sf:fontName><sf:string sfa:string="Courier-Bold"/></sf:fontName><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:baselineShift/><sf:underline/></sf:property-map></s!
 f:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-75" sf:name="section-titleabbrev" sf:ident="paragraph-style-54"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDRE!
 F="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript
/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold/><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="15" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/><sf:characterstyle sfa:ID="SFWPCharacterStyle-18" sf:name="emphasis-bold" sf:ident="character-style-15"><sf:property-map><sf:fontSize/><sf:striketh!
 ruColor><sf:null/></sf:strikethruColor><sf:underline/><sf:tracking/><sf:fontName/><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:baselineShift/></sf:property-map></sf:characterstyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-5"/><sf:tocstyle sfa:ID="SLTOCParagraphStyle-7" sfa:sfclass="paragraphstyle" sf:name="TOC Heading 1" sf:ident="toc-paragraph-style-1"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:firstTopicNumber/><sf:tabs><sf:tabs sfa:ID="SFWPTabs-8"><sf:tabstop sf:pos="481.61416625976562" sf:align="right"/></sf:tabs></sf:tabs><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineSh!
 ift/><sf:SLTOCPageNumberStyle><sf:null/></sf:SLTOCPageNumberStyle><sf:
fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:null/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:SLTOCDisabledStyles><sf:null/></sf:SLTOCDisabledStyles><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:SLTOCShowPageNumber/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:SLTOCEnabledStyles><sf:null/></sf:SLTOCEnabledStyles><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_!
 strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="3" sfa:type="f"/></sf:spaceAfter><sf:SLTOCEntryStyle><sf:null/></sf:SLTOCEntryStyle><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:tocstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-76" sf:name="qandaentry-title" sf:ident="paragraph-style-82"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa!
 :string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent
/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><!
 sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-77" sf:name="important" sf:ident="paragraph-style-25"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-5"/></sf:listStyle><sf:t!
 extShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:ke
epLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-78" sf:name="revision" sf:ident="paragraph-style-75"><sf:property-map><sf:defaultTabStops><sf:number sfa:nu!
 mber="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="1" sfa:g="1" sfa:b="0.80000001192092896" sfa:a="1"/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_st!
 rikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAft
er><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-79" sf:name="chapter-subtitle" sf:ident="paragraph-style-18"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><!
 sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/!
 ><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatur
es/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:graphic-style sfa:ID="SFDGraphicStyle-10" sf:name="graphic-image-style-default 3" sf:ident="graphic-image-style-default-2" sf:parent-ident="graphic-image-style-default"><sf:property-map><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow></sf:property-map></sf:graphic-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-80" sf:name="isbn" sf:ident="paragraph-style-107"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName><sf:string sfa:string="CourierNewPSMT"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:s!
 trikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize><sf:number sfa:number="10" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:under!
 lineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map>
</sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-81" sf:name="affiliation" sf:ident="paragraph-style-5"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hy!
 phenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-82" sf:name="highlights-note" sf:ident="paragraph-style-68"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:f!
 ontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outlin
e/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-5"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragr!
 aphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-83" sf:name="sect3-title" sf:ident="paragraph-style-46"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraph!
 Style-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColo
r><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="15" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-19" sf:name="attribute-value" sf:ident="character-style-4"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:!
 strikethruColor><sf:baselineShift/><sf:tracking/><sf:fontName><sf:string sfa:string="Courier"/></sf:fontName><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold/><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:underline><sf:number sfa:number="1" sfa:type="i"/></sf:underline></sf:property-map></sf:characterstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-20" sf:name="surname" sf:ident="character-style-29"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:underline/><sf:tracking/><sf:fontName/><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:baselineShift/><s!
 f:ligatures/></sf:property-map></sf:characterstyle><sf:liststyle sfa:I
D="SFWPListStyle-12" sf:name="Legal" sf:ident="list-style-4"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-15"><sf:list-level sfa:ID="SFWPListLevel-108" sf:type="text" sf:align="left" sf:text-pos="18" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-66" sf:type="decimal" sf:format="%P%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-109" sf:type="text" sf:align="left" sf:text-pos="50.399997711181641" sf:label-pos="18" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-67" sf:type="decimal" sf:format="%P%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-110" sf:type="text" sf:align="left" sf:text-pos="79.199996948242188" sf:label-pos="36" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-68" sf:type="decimal" sf:format="%P%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPList!
 Level-111" sf:type="text" sf:align="left" sf:text-pos="106.55999755859375" sf:label-pos="54" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-69" sf:type="decimal" sf:format="%P%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-112" sf:type="text" sf:align="left" sf:text-pos="134.63999938964844" sf:label-pos="72" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-70" sf:type="decimal" sf:format="%P%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-113" sf:type="text" sf:align="left" sf:text-pos="162" sf:label-pos="90" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-71" sf:type="decimal" sf:format="%P%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-114" sf:type="text" sf:align="left" sf:text-pos="190.79998779296875" sf:label-pos="108" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:!
 text-label sfa:ID="SFWPTextLabel-72" sf:type="decimal" sf:format="%P%L
." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-115" sf:type="text" sf:align="left" sf:text-pos="218.16000366210938" sf:label-pos="126" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-73" sf:type="decimal" sf:format="%P%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-116" sf:type="text" sf:align="left" sf:text-pos="246.95999145507812" sf:label-pos="144" sf:scale="1" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-74" sf:type="decimal" sf:format="%P%L." sf:first="1"/></sf:list-level></sf:array></sf:listLevels></sf:property-map></sf:liststyle><sf:graphic-style sfa:ID="SFDGraphicStyle-11" sf:name="graphic-textbox-style-default" sf:ident="graphic-textbox-style-default"><sf:property-map><sf:stroke><sf:stroke sfa:ID="SFRStroke-23" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><s!
 f:pattern sfa:ID="SFRStrokePattern-21" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:externalTextWrap><sf:external-text-wrap sfa:ID="SFWPExternalTextWrap-7" sf:wrap-style="regular" sf:floating-wrap-enabled="true" sf:direction="both" sf:attachment-wrap-type="aligned" sf:floating-wrap-type="directional" sf:margin="12" sf:alpha-threshold="0.5"/></sf:externalTextWrap><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity><sf:fill><sf:null/></sf:fill></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-12" sf:name="graphic-textbox-style-default 2" sf:ident="graphic-textbox-style-default-1" sf:parent-ident="graphic-textbox-style-default"><sf:property-map><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:fill><sf:null/></sf:fill><sf:stroke><sf:stroke sfa:ID="SFRStroke-24" sf:miter-limit="4" sf:width="1" sf:c!
 ap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-col
or-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-22" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-13" sf:name="graphic-textbox-style-default 4" sf:ident="graphic-textbox-style-default-3" sf:parent-ident="graphic-textbox-style-default"><sf:property-map><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:fill><sf:null/></sf:fill><sf:stroke><sf:stroke sfa:ID="SFRStroke-25" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-23" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-14" sf:name="graphic-textbox-style-default 6" sf:ident="graphic-textbox-style-default-5" sf:parent-ident="graphic-textbox-style-default"><sf:property-map><!
 sf:layoutStyle><sf:null/></sf:layoutStyle><sf:fill><sf:null/></sf:fill><sf:stroke><sf:stroke sfa:ID="SFRStroke-26" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-24" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-15" sf:name="graphic-textbox-style-default 8" sf:ident="graphic-textbox-style-default-7" sf:parent-ident="graphic-textbox-style-default"><sf:property-map><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow><sf:layoutStyle><sf:null/></sf:layoutStyle></sf:property-map></sf:graphic-style><sf:chart-style sfa:ID="SFCChartStyle-0" sf:ident="chart-style-default"><sf:property-map><sf:SFC2DLeftBorderStrokeProperty><sf:stroke sfa:ID="SFRStroke-27" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa!
 :calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/><
sf:pattern sfa:ID="SFRStrokePattern-25" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DLeftBorderStrokeProperty><sf:SFC2DCategoryDirectionGridLineShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DCategoryDirectionGridLineShadowProperty><sf:SFCDefaultLegendBoundsProperty><sf:value><sfa:rect sfa:x="72" sfa:y="84" sfa:w="468" sfa:h="15"/></sf:value></sf:SFCDefaultLegendBoundsProperty><sf:SFCCategoryAxisMajorTickStrokeProperty><sf:stroke sfa:ID="SFRStroke-28" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-26" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFCCategoryAxisMajorTickStrokeProperty><sf:SFCCategoryAxisMinorTickStrokeProperty><sf:stroke sfa:ID="SFRStroke-29" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-rgb-c!
 olor-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-27" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFCCategoryAxisMinorTickStrokeProperty><sf:SFC2DShowLeftTicksProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFC2DShowLeftTicksProperty><sf:SFCValueAxisShowMajorTickMarksProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCValueAxisShowMajorTickMarksProperty><sf:SFC2DBottomBorderShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DBottomBorderShadowProperty><sf:Series_3><sf:chart-series-style-ref sfa:IDREF="SFCSeriesStyle-1"/></sf:Series_3><sf:SFCNumberOfDefinedSeriesStylesProperty><sf:number sfa:number="6" sfa:type="i"/></sf:SFCNumberOfDefinedSeriesStylesProperty><sf:SFCValueNumberFormatDecimalPlacesProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCValueNumberFormatDecimalPlacesProperty><sf:SFC2DShowCategoryDirectionGridLinesProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2!
 DShowCategoryDirectionGridLinesProperty><sf:SFCValueNumberFormatPrefix
Property><sf:string sfa:string="None"/></sf:SFCValueNumberFormatPrefixProperty><sf:SFC2DTopBorderShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DTopBorderShadowProperty><sf:SFCValueAxisMinimumValueProperty><sf:null/></sf:SFCValueAxisMinimumValueProperty><sf:SFCValueAxisMaximumValueProperty><sf:null/></sf:SFCValueAxisMaximumValueProperty><sf:SFCShowCategoryAxisLabelsProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFCShowCategoryAxisLabelsProperty><sf:SFCCategoryAxisLabelsPositionProperty><sf:number sfa:number="1" sfa:type="i"/></sf:SFCCategoryAxisLabelsPositionProperty><sf:SFCValueAxisNumberOfStepsProperty><sf:number sfa:number="4" sfa:type="i"/></sf:SFCValueAxisNumberOfStepsProperty><sf:SFCDefaultChartTypeProperty><sf:number sfa:number="2" sfa:type="i"/></sf:SFCDefaultChartTypeProperty><sf:Series_0><sf:chart-series-style sfa:ID="SFCSeriesStyle-3" sf:name="Series_0" sf:ident="Series_0" sf:seriesIndex="0"><sf:property-map><sf:SFCAreaShowValueLabelPropert!
 y><sf:number sfa:number="0" sfa:type="c"/></sf:SFCAreaShowValueLabelProperty><sf:SFC2DAreaUseStrokeColorForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DAreaUseStrokeColorForDataPointFillProperty><sf:SFC2DOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFC2DOpacityProperty><sf:SFCPieWedgeExplosionProperty><sf:number sfa:number="0" sfa:type="f"/></sf:SFCPieWedgeExplosionProperty><sf:SFC2DAreaUseSeriesFillForDataPointFillProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFC2DAreaUseSeriesFillForDataPointFillProperty><sf:SFC2DAreaStrokeProperty><sf:stroke sfa:ID="SFRStroke-30" sf:miter-limit="4" sf:width="2" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern-ref sfa:IDREF="SFRStrokePattern-10"/></sf:stroke></sf:SFC2DAreaStrokeProperty><sf:SFC2DAreaShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DAreaShadowProperty><sf:SFCPieShowSeriesNameLabelProperty><sf!
 :number sfa:number="0" sfa:type="c"/></sf:SFCPieShowSeriesNameLabelPro
perty><sf:SFC2DLineUseSeriesFillForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DLineUseSeriesFillForDataPointFillProperty><sf:SFCBarSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-84" sf:ident="Series_0_SFCBarSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null!
 /></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="i"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCBarSeriesValueParagraphStyleProperty><sf:SFC2DLineDataPointSymbolProperty><sf:number sfa:number="1" sfa:type="i"/></sf:SFC2DLineDataPointSymbolProperty><sf:SFC2DBarStrokeProperty><sf:stroke sfa:ID="SFRStroke-31" sf:miter-limit="4" sf:width="1" sf:cap=!
 "butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-
type" sfa:w="1" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-28" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DBarStrokeProperty><sf:SFCPieSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-85" sf:ident="Series_0_SFCPieSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraph!
 Style><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="16" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment><sf:number sfa:number="2" sfa:type="i"/></sf:alignment></sf:property-map></sf:paragraphstyle></sf:SFCPieSeriesValueParagraphStyleProperty><sf:SFC2DColumnFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.17647059261798859" sfa:g="0" sfa:b="0.22352941334247589" s!
 fa:a="1"/></sf:SFC2DColumnFillProperty><sf:SFCAreaValueLabelPositionPr
operty><sf:number sfa:number="10" sfa:type="i"/></sf:SFCAreaValueLabelPositionProperty><sf:SFCBarValueLabelPositionProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCBarValueLabelPositionProperty><sf:SFCStackedAreaValueLabelPositionProperty><sf:number sfa:number="10" sfa:type="i"/></sf:SFCStackedAreaValueLabelPositionProperty><sf:SFC2DAreaFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.17647059261798859" sfa:g="0" sfa:b="0.22352941334247589" sfa:a="1"/></sf:SFC2DAreaFillProperty><sf:SFCStackedBarValueLabelPositionProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCStackedBarValueLabelPositionProperty><sf:SFC2DLineShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DLineShadowProperty><sf:SFC2DLineUseStrokeColorForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DLineUseStrokeColorForDataPointFillProperty><sf:SFCBarShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCBarShowValueLabelPrope!
 rty><sf:SFC2DBarShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DBarShadowProperty><sf:SFC2DAreaDataPointFillProperty><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:SFC2DAreaDataPointFillProperty><sf:SFCAreaSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-86" sf:ident="Series_0_SFCAreaSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorder!
 s/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:foll
owingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="i"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCAreaSeriesValueParagraphStyleProperty><sf:SFCPieShowValueLabelProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFCPieShowValueLabelProperty><sf:SFC2DPieShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DPi!
 eShadowProperty><sf:SFCLineSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-87" sf:ident="Series_0_SFCLineSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontS!
 ize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hy
phenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCLineSeriesValueParagraphStyleProperty><sf:SFCLabelShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-1"/></sf:SFCLabelShadowProperty><sf:SFC2DPieStrokeProperty><sf:stroke sfa:ID="SFRStroke-32" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-29" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DPieStrokeProperty><sf:SFCLineShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/><!
 /sf:SFCLineShowValueLabelProperty><sf:SFC2DAreaDataPointSymbolProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFC2DAreaDataPointSymbolProperty><sf:SFC2DLineDataPointFillProperty><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:SFC2DLineDataPointFillProperty><sf:SFCPieValueLabelPositionProperty><sf:number sfa:number="13" sfa:type="i"/></sf:SFCPieValueLabelPositionProperty><sf:SFC2DLineStrokeProperty><sf:stroke sfa:ID="SFRStroke-33" sf:miter-limit="4" sf:width="4" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.17647059261798859" sfa:g="0" sfa:b="0.22352941334247589" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-30" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DLineStrokeProperty><sf:SFCLineValueLabelPositionProperty><sf:number sfa:number="4" sfa:type="i"/></sf:SFCLineValueLabelPositionProperty><sf:SFC2DPieFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-typ!
 e" sfa:r="0.17647059261798859" sfa:g="0" sfa:b="0.22352941334247589" s
fa:a="1"/></sf:SFC2DPieFillProperty><sf:SFC2DBarFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.17647059261798859" sfa:g="0" sfa:b="0.22352941334247589" sfa:a="1"/></sf:SFC2DBarFillProperty><sf:SFCLabelOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFCLabelOpacityProperty></sf:property-map></sf:chart-series-style></sf:Series_0><sf:SFC2DShowRightBorderProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DShowRightBorderProperty><sf:SFCLegendOpacityProperty><sf:number sfa:number="1" sfa:type="i"/></sf:SFCLegendOpacityProperty><sf:SFC2DCombineLayersProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DCombineLayersProperty><sf:SFC2DRightBorderOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFC2DRightBorderOpacityProperty><sf:SFCValueNumberFormatSeparatorProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFCValueNumberFormatSeparatorProperty><sf:SFC2DValueDirectionGridLineShadowProperty><sf:shadow-ref sfa:IDREF="SF!
 RShadow-0"/></sf:SFC2DValueDirectionGridLineShadowProperty><sf:SFCValueAxisMajorTickStrokeProperty><sf:stroke sfa:ID="SFRStroke-34" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-31" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFCValueAxisMajorTickStrokeProperty><sf:SFCValueAxisMinorTickStrokeProperty><sf:stroke sfa:ID="SFRStroke-35" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-32" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFCValueAxisMinorTickStrokeProperty><sf:SFC2DShowTopTicksProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DShowTopTicksProperty><sf:SFCDefaultChartBoundsProperty><sf:value><sfa:rect sfa:x="72" sfa:y="99" !
 sfa:w="467" sfa:h="255"/></sf:value></sf:SFCDefaultChartBoundsProperty
><sf:SFC2DShowTopBorderProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DShowTopBorderProperty><sf:SFCCategoryAxisMajorTickLengthProperty><sf:number sfa:number="6" sfa:type="i"/></sf:SFCCategoryAxisMajorTickLengthProperty><sf:SFC2DAntialiasingModeProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFC2DAntialiasingModeProperty><sf:SFCCategoryAxisMinorTickLengthProperty><sf:number sfa:number="4" sfa:type="i"/></sf:SFCCategoryAxisMinorTickLengthProperty><sf:Series_4><sf:chart-series-style sfa:ID="SFCSeriesStyle-4" sf:name="Series_4" sf:ident="Series_4" sf:seriesIndex="4"><sf:property-map><sf:SFCAreaShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCAreaShowValueLabelProperty><sf:SFC2DAreaUseStrokeColorForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DAreaUseStrokeColorForDataPointFillProperty><sf:SFC2DOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFC2DOpacityProperty><sf:SFCPieWedgeExplosionProperty><sf:num!
 ber sfa:number="0" sfa:type="f"/></sf:SFCPieWedgeExplosionProperty><sf:SFC2DAreaUseSeriesFillForDataPointFillProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFC2DAreaUseSeriesFillForDataPointFillProperty><sf:SFC2DAreaStrokeProperty><sf:stroke sfa:ID="SFRStroke-36" sf:miter-limit="4" sf:width="2" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern-ref sfa:IDREF="SFRStrokePattern-10"/></sf:stroke></sf:SFC2DAreaStrokeProperty><sf:SFC2DAreaShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DAreaShadowProperty><sf:SFCPieShowSeriesNameLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCPieShowSeriesNameLabelProperty><sf:SFC2DLineUseSeriesFillForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DLineUseSeriesFillForDataPointFillProperty><sf:SFCBarSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-88" sf:ident="Series_4_SFCBarSeriesValuePara!
 graphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><s
f:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="i"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:!
 outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCBarSeriesValueParagraphStyleProperty><sf:SFC2DLineDataPointSymbolProperty><sf:number sfa:number="1" sfa:type="i"/></sf:SFC2DLineDataPointSymbolProperty><sf:SFC2DBarStrokeProperty><sf:stroke sfa:ID="SFRStroke-37" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-33" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DBarStrokeProperty><sf:SFCPieSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-89" sf:ident="Series_4_SFCPieS!
 eriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-sty
le-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="16" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><!
 sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment><sf:number sfa:number="2" sfa:type="i"/></sf:alignment></sf:property-map></sf:paragraphstyle></sf:SFCPieSeriesValueParagraphStyleProperty><sf:SFC2DColumnFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.90196079015731812" sfa:g="0.55686277151107788" sfa:b="0.14117647707462311" sfa:a="1"/></sf:SFC2DColumnFillProperty><sf:SFCAreaValueLabelPositionProperty><sf:number sfa:number="10" sfa:type="i"/></sf:SFCAreaValueLabelPositionProperty><sf:SFCBarValueLabelPositionProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCBarValueLabelPositionProperty><sf:SFCStackedAreaValueLabelPositionProperty><sf:number sfa:num!
 ber="10" sfa:type="i"/></sf:SFCStackedAreaValueLabelPositionProperty><
sf:SFC2DAreaFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.90196079015731812" sfa:g="0.55686277151107788" sfa:b="0.14117647707462311" sfa:a="1"/></sf:SFC2DAreaFillProperty><sf:SFCStackedBarValueLabelPositionProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCStackedBarValueLabelPositionProperty><sf:SFC2DLineShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DLineShadowProperty><sf:SFC2DLineUseStrokeColorForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DLineUseStrokeColorForDataPointFillProperty><sf:SFCBarShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCBarShowValueLabelProperty><sf:SFC2DBarShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DBarShadowProperty><sf:SFC2DAreaDataPointFillProperty><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:SFC2DAreaDataPointFillProperty><sf:SFCAreaSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="S!
 FWPParagraphStyle-90" sf:ident="Series_4_SFCAreaSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="i"/></sf:fontSi!
 ze><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyp
henate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCAreaSeriesValueParagraphStyleProperty><sf:SFCPieShowValueLabelProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFCPieShowValueLabelProperty><sf:SFC2DPieShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DPieShadowProperty><sf:SFCLineSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-91" sf:ident="Series_4_SFCLineSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragra!
 phFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreak!
 Before/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStrok
e><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCLineSeriesValueParagraphStyleProperty><sf:SFCLabelShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-1"/></sf:SFCLabelShadowProperty><sf:SFC2DPieStrokeProperty><sf:stroke sfa:ID="SFRStroke-38" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-34" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DPieStrokeProperty><sf:SFCLineShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCLineShowValueLabelProperty><sf:SFC2DAreaDataPointSymbolProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFC2DAreaDataPointSymbolProperty><sf:SFC2DLineDataPointFillProperty><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:SFC2DLineDataPointFillProperty><sf:SFCPieValueLabelPos!
 itionProperty><sf:number sfa:number="13" sfa:type="i"/></sf:SFCPieValueLabelPositionProperty><sf:SFC2DLineStrokeProperty><sf:stroke sfa:ID="SFRStroke-39" sf:miter-limit="4" sf:width="4" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.90196079015731812" sfa:g="0.55686277151107788" sfa:b="0.14117647707462311" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-35" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DLineStrokeProperty><sf:SFCLineValueLabelPositionProperty><sf:number sfa:number="4" sfa:type="i"/></sf:SFCLineValueLabelPositionProperty><sf:SFC2DPieFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.90196079015731812" sfa:g="0.55686277151107788" sfa:b="0.14117647707462311" sfa:a="1"/></sf:SFC2DPieFillProperty><sf:SFC2DBarFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.90196079015731812" sfa:g="0.55686277151107788" sfa:b="0.14117647707462311" sfa:a="1"/></sf!
 :SFC2DBarFillProperty><sf:SFCLabelOpacityProperty><sf:number sfa:numbe
r="1" sfa:type="f"/></sf:SFCLabelOpacityProperty></sf:property-map></sf:chart-series-style></sf:Series_4><sf:SFC2DTopBorderOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFC2DTopBorderOpacityProperty><sf:SFCInterBarGapProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCInterBarGapProperty><sf:SFC2DCategoryDirectionGridLineStrokeProperty><sf:stroke sfa:ID="SFRStroke-40" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0.66666668653488159" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-36" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DCategoryDirectionGridLineStrokeProperty><sf:SFCValueNumberFormatSuffixProperty><sf:string sfa:string="None"/></sf:SFCValueNumberFormatSuffixProperty><sf:SFC2DChartBackgroundOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFC2DChartBackgroundOpacityProperty><sf:SFCValueAxisLabelsPositionProperty><sf:number sfa:nu!
 mber="3" sfa:type="i"/></sf:SFCValueAxisLabelsPositionProperty><sf:SFC2DShowBottomBorderProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFC2DShowBottomBorderProperty><sf:SFCPieSeriesStartAngleProperty><sf:number sfa:number="0" sfa:type="f"/></sf:SFCPieSeriesStartAngleProperty><sf:SFC2DLeftBorderOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFC2DLeftBorderOpacityProperty><sf:SFCShowCategoryAxisSeriesLabelsProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCShowCategoryAxisSeriesLabelsProperty><sf:Series_1><sf:chart-series-style-ref sfa:IDREF="SFCSeriesStyle-2"/></sf:Series_1><sf:SFCCategoryAxisTickMarkLocationProperty><sf:number sfa:number="1" sfa:type="i"/></sf:SFCCategoryAxisTickMarkLocationProperty><sf:SFC2DCategoryDirectionGridLineOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFC2DCategoryDirectionGridLineOpacityProperty><sf:SFC2DShowBottomTicksProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFC2DShowBottomTicksProperty><sf:!
 SFC2DRightBorderStrokeProperty><sf:stroke sfa:ID="SFRStroke-41" sf:mit
er-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-37" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DRightBorderStrokeProperty><sf:Series_5><sf:chart-series-style-ref sfa:IDREF="SFCSeriesStyle-0"/></sf:Series_5><sf:SFCCategoryAxisLabelsDepthProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFCCategoryAxisLabelsDepthProperty><sf:SFCCategoryAxisParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-92" sf:ident="SFCCategoryAxisParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><!
 sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCCategoryAxisParagraphStyleProperty><sf:SFCValueAxisShowMinim!
 umValueProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFCValueA
xisShowMinimumValueProperty><sf:SFC2DTopBorderStrokeProperty><sf:stroke sfa:ID="SFRStroke-42" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-38" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DTopBorderStrokeProperty><sf:SFCValueAxisMajorTickLengthProperty><sf:number sfa:number="6" sfa:type="i"/></sf:SFCValueAxisMajorTickLengthProperty><sf:SFCValueAxisMinorTickLengthProperty><sf:number sfa:number="4" sfa:type="i"/></sf:SFCValueAxisMinorTickLengthProperty><sf:shadow><sf:shadow sfa:ID="SFRShadow-2" sf:angle="45" sf:offset="2" sf:radius="4" sf:opacity="0.5"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/></sf:shadow></sf:shadow><sf:SFCAxisLabelsOrientationProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCAxisLabelsOrientationProperty><sf:SFCValueAxisParagraphStyleProperty><sf!
 :paragraphstyle sfa:ID="SFWPParagraphStyle-93" sf:ident="SFCValueAxisParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></s!
 f:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><s
f:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCValueAxisParagraphStyleProperty><sf:SFCCategoryAxisShowMajorTickMarksProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCCategoryAxisShowMajorTickMarksProperty><sf:SFCCategoryAxisShowMinorTickMarksProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCCategoryAxisShowMinorTickMarksProperty><sf:Series_2><sf:chart-series-style sfa:ID="SFCSeriesStyle-5" sf:name="Series_2" sf:ident="Series_2" sf:seriesIndex="2"><sf:property-map><sf:SFCAreaShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCAreaShowValueLabelProperty><sf:SFC2DAreaUseStrokeColorForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DAreaUseStrokeColorForDataPo!
 intFillProperty><sf:SFC2DOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFC2DOpacityProperty><sf:SFCPieWedgeExplosionProperty><sf:number sfa:number="0" sfa:type="f"/></sf:SFCPieWedgeExplosionProperty><sf:SFC2DAreaUseSeriesFillForDataPointFillProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFC2DAreaUseSeriesFillForDataPointFillProperty><sf:SFC2DAreaStrokeProperty><sf:stroke sfa:ID="SFRStroke-43" sf:miter-limit="4" sf:width="2" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern-ref sfa:IDREF="SFRStrokePattern-10"/></sf:stroke></sf:SFC2DAreaStrokeProperty><sf:SFC2DAreaShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DAreaShadowProperty><sf:SFCPieShowSeriesNameLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCPieShowSeriesNameLabelProperty><sf:SFC2DLineUseSeriesFillForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DLineUseSeriesFillForDataPoint!
 FillProperty><sf:SFCBarSeriesValueParagraphStyleProperty><sf:paragraph
style sfa:ID="SFWPParagraphStyle-94" sf:ident="Series_2_SFCBarSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="i"!
 /></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCBarSeriesValueParagraphStyleProperty><sf:SFC2DLineDataPointSymbolProperty><sf:number sfa:number="1" sfa:type="i"/></sf:SFC2DLineDataPointSymbolProperty><sf:SFC2DBarStrokeProperty><sf:stroke sfa:ID="SFRStroke-44" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-39" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke><!
 /sf:SFC2DBarStrokeProperty><sf:SFCPieSeriesValueParagraphStyleProperty
><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-95" sf:ident="Series_2_SFCPieSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="16!
 " sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment><sf:number sfa:number="2" sfa:type="i"/></sf:alignment></sf:property-map></sf:paragraphstyle></sf:SFCPieSeriesValueParagraphStyleProperty><sf:SFC2DColumnFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.40784314274787903" sfa:g="0.63529413938522339" sfa:b="0.18431372940540314" sfa:a="1"/></sf:SFC2DColumnFillProperty><sf:SFCAreaValueLabelPositionProperty><sf:number sfa:number="10" sfa:type="i"/></sf:SFCAreaValueLabelPositionProperty><sf:SFCBarValueLabelPositionPro!
 perty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCBarValueLabelPos
itionProperty><sf:SFCStackedAreaValueLabelPositionProperty><sf:number sfa:number="10" sfa:type="i"/></sf:SFCStackedAreaValueLabelPositionProperty><sf:SFC2DAreaFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.40784314274787903" sfa:g="0.63529413938522339" sfa:b="0.18431372940540314" sfa:a="1"/></sf:SFC2DAreaFillProperty><sf:SFCStackedBarValueLabelPositionProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFCStackedBarValueLabelPositionProperty><sf:SFC2DLineShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DLineShadowProperty><sf:SFC2DLineUseStrokeColorForDataPointFillProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DLineUseStrokeColorForDataPointFillProperty><sf:SFCBarShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCBarShowValueLabelProperty><sf:SFC2DBarShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DBarShadowProperty><sf:SFC2DAreaDataPointFillProperty><sf:color xsi:type="sfa:calibrated-w!
 hite-color-type" sfa:w="1" sfa:a="1"/></sf:SFC2DAreaDataPointFillProperty><sf:SFCAreaSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-96" sf:ident="Series_2_SFCAreaSeriesValueParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null!
 /></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf
:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="i"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCAreaSeriesValueParagraphStyleProperty><sf:SFCPieShowValueLabelProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFCPieShowValueLabelProperty><sf:SFC2DPieShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DPieShadowProperty><sf:SFCLineSeriesValueParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-97" sf:ident="Series_2_SFCLineSeriesValueParagraphStyleProperty!
 " sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:la!
 nguage><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strik
ethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCLineSeriesValueParagraphStyleProperty><sf:SFCLabelShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-1"/></sf:SFCLabelShadowProperty><sf:SFC2DPieStrokeProperty><sf:stroke sfa:ID="SFRStroke-45" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-40" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DPieStrokeProperty><sf:SFCLineShowValueLabelProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCLineShowValueLabelProperty><sf:SFC2DAreaDataPointSymbolProperty><sf:number sfa:number="0" sfa:type="i"/></sf:SFC2DAreaDataPointSymbolProperty><sf:SFC2DLineDataPoin!
 tFillProperty><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="1" sfa:a="1"/></sf:SFC2DLineDataPointFillProperty><sf:SFCPieValueLabelPositionProperty><sf:number sfa:number="13" sfa:type="i"/></sf:SFCPieValueLabelPositionProperty><sf:SFC2DLineStrokeProperty><sf:stroke sfa:ID="SFRStroke-46" sf:miter-limit="4" sf:width="4" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.40784314274787903" sfa:g="0.63529413938522339" sfa:b="0.18431372940540314" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-41" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DLineStrokeProperty><sf:SFCLineValueLabelPositionProperty><sf:number sfa:number="4" sfa:type="i"/></sf:SFCLineValueLabelPositionProperty><sf:SFC2DPieFillProperty><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.40784314274787903" sfa:g="0.63529413938522339" sfa:b="0.18431372940540314" sfa:a="1"/></sf:SFC2DPieFillProperty><sf:SFC2DBarFillProperty><sf!
 :color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.4078431427478
7903" sfa:g="0.63529413938522339" sfa:b="0.18431372940540314" sfa:a="1"/></sf:SFC2DBarFillProperty><sf:SFCLabelOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFCLabelOpacityProperty></sf:property-map></sf:chart-series-style></sf:Series_2><sf:SFC2DChartBackgroundFillProperty><sf:null/></sf:SFC2DChartBackgroundFillProperty><sf:SFCLegendStrokeProperty><sf:stroke sfa:ID="SFRStroke-47" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-42" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:SFCLegendStrokeProperty><sf:externalTextWrap><sf:external-text-wrap sfa:ID="SFWPExternalTextWrap-8" sf:wrap-style="tight" sf:floating-wrap-enabled="true" sf:inline-wrap-enabled="true" sf:direction="both" sf:attachment-wrap-type="unaligned" sf:floating-wrap-type="directional" sf:margin="12" sf:alpha-threshold="0.5"/></sf:externalTextWrap><sf!
 :SFCLegendPositionProperty><sf:number sfa:number="1" sfa:type="i"/></sf:SFCLegendPositionProperty><sf:SFCLegendParagraphStyleProperty><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-98" sf:ident="SFCLegendParagraphStyleProperty" sf:parent-ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:firstTopicNumber/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontS!
 ize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:h
yphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/></sf:property-map></sf:paragraphstyle></sf:SFCLegendParagraphStyleProperty><sf:SFC2DShowRightTicksProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DShowRightTicksProperty><sf:SFC2DShowValueDirectionGridLinesProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFC2DShowValueDirectionGridLinesProperty><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity><sf:SFC2DValueDirectionGridLineStrokeProperty><sf:stroke sfa:ID="SFRStroke-48" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0.666666!
 68653488159" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-43" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DValueDirectionGridLineStrokeProperty><sf:SFC2DBottomBorderStrokeProperty><sf:stroke sfa:ID="SFRStroke-49" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-44" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:SFC2DBottomBorderStrokeProperty><sf:SFCInterSetGapProperty><sf:number sfa:number="100" sfa:type="i"/></sf:SFCInterSetGapProperty><sf:SFC2DLeftBorderShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DLeftBorderShadowProperty><sf:SFCValueAxisLabelsOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFCValueAxisLabelsOpacityProperty><sf:SFC2DBottomBorderOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFC2DBottomBorderOpacityProperty><sf!
 :SFCInitialNumberOfSeriesProperty><sf:number sfa:number="3" sfa:type="
i"/></sf:SFCInitialNumberOfSeriesProperty><sf:SFCValueAxisLabelsDepthProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFCValueAxisLabelsDepthProperty><sf:SFCCategoryAxisLabelsOpacityProperty><sf:number sfa:number="1" sfa:type="f"/></sf:SFCCategoryAxisLabelsOpacityProperty><sf:SFCLegendFillProperty><sf:null/></sf:SFCLegendFillProperty><sf:SFC2DShowLeftBorderProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFC2DShowLeftBorderProperty><sf:SFCValueAxisTickMarkLocationProperty><sf:number sfa:number="1" sfa:type="i"/></sf:SFCValueAxisTickMarkLocationProperty><sf:SFC2DRightBorderShadowProperty><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:SFC2DRightBorderShadowProperty><sf:SFCValueAxisShowMinorTickMarksProperty><sf:number sfa:number="0" sfa:type="c"/></sf:SFCValueAxisShowMinorTickMarksProperty><sf:SFCShowPieLabelAsPercentageProperty><sf:number sfa:number="1" sfa:type="c"/></sf:SFCShowPieLabelAsPercentageProperty><sf:SFC2DValueDirectionGridLineOpacityProperty><sf:number sfa!
 :number="1" sfa:type="f"/></sf:SFC2DValueDirectionGridLineOpacityProperty></sf:property-map></sf:chart-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-99" sf:name="para-continue" sf:ident="paragraph-style-39"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineInden!
 t/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:n
ull/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-100" sf:name="blockquote-attribution" sf:ident="paragraph-style-12"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightI!
 ndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:firstLineIndent><sf:bold/><sf:fontSize><sf:number sfa:number="10" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline><sf:number sfa:number="1" sfa:type="i"/></sf:underline><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruC!
 olor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:parag
raphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-101" sf:name="itemizedlist3" sf:ident="paragraph-style-96"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-13" sf:parent-ident="list-style-2"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-16"><sf:list-level sfa:ID="SFWPListLevel-117" sf:type="text" sf:align="left" sf:text-pos="37.346458435058594" sf:label-pos="28.346456527709961" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf!
 :text-label sfa:ID="SFWPTextLabel-75" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-118" sf:type="text" sf:align="left" sf:text-pos="27" sf:label-pos="18" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-76" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-119" sf:type="text" sf:align="left" sf:text-pos="45" sf:label-pos="36" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-77" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-120" sf:type="text" sf:align="left" sf:text-pos="63" sf:label-pos="54" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-78" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-121" sf:type="text" sf:align="le!
 ft" sf:text-pos="81" sf:label-pos="72" sf:scale="1" sf:offset="-1" sf:
scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-79" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-122" sf:type="text" sf:align="left" sf:text-pos="99" sf:label-pos="90" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-80" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-123" sf:type="text" sf:align="left" sf:text-pos="117" sf:label-pos="108" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-81" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-124" sf:type="text" sf:align="left" sf:text-pos="135" sf:label-pos="126" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-82" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-125!
 " sf:type="text" sf:align="left" sf:text-pos="153" sf:label-pos="144" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-83" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level></sf:array></sf:listLevels></sf:property-map></sf:liststyle></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:p!
 aragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:n
ull/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-21" sf:name="otheraddr" sf:ident="character-style-30"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:underline/><sf:tracking/><sf:fontName><sf:string sfa:string="CourierNewPS-BoldMT"/></sf:fontName><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:baselineShift/><sf:ligatures/></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-102" sf:name="biblioentry-title" sf:ident="paragraph-style-104"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:left!
 Indent><sf:number sfa:number="14.17323" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic><sf:number sfa:number="1" sfa:type="i"/></sf:italic><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number!
 ="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent><sf:number sf
a:number="28.34646" sfa:type="f"/></sf:firstLineIndent><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:table-style sfa:ID="SFTableStyle-0" sf:name="Table" sf:ident="table-style-default"><sf:property-map><sf:SFTableStylePropertyBackgroundFill><sf:null/></sf:SFTableStylePropertyBackgroundFill><sf:SFTableStylePropertyHeaderRowCellLayoutStyle><sf:layoutstyle sfa:ID="SFWPLayoutStyle-4" sf:parent!
 -ident="layout-style-default"><sf:property-map><sf:layoutParagraphStyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-103" sf:parent-ident="paragraph-style-33"><sf:property-map><sf:alignment><sf:number sfa:number="2" sfa:type="i"/></sf:alignment><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle></sf:property-map></sf:paragraphstyle></sf:layoutParagraphStyle><sf:padding><sf:padding sfa:ID="SFWPPadding-2" sf:top="5" sf:left="5" sf:bottom="5" sf:right="5"/></sf:padding><sf:followingLayoutStyle><sf:null/></sf:followingLayoutStyle></sf:property-map></sf:layoutstyle></sf:SFTableStylePropertyHeaderRowCellLayoutStyle><sf:SFTableStylePropertyHeaderBorderVectorStyle><sf:table-vector-style-ref sfa:IDREF="SFTableVectorStyle-1"/></sf:SFTableStylePropertyHeaderBorderVectorStyle><sf:SFTableStylePropertyVectorStyle><sf:table-vector-style-ref sfa:IDREF="SFTableVectorStyle-3"/></sf:SFTableStylePropertyVectorStyle><sf:SFTableStylePropertyHeaderColumnCellParagraphStyle><sf:par!
 agraphstyle-ref sfa:IDREF="SFWPParagraphStyle-103"/></sf:SFTableStyleP
ropertyHeaderColumnCellParagraphStyle><sf:SFTableStylePropertyHeaderColumnCellLayoutStyle><sf:layoutstyle sfa:ID="SFWPLayoutStyle-5" sf:parent-ident="layout-style-default"><sf:property-map><sf:layoutParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-103"/></sf:layoutParagraphStyle><sf:padding><sf:padding-ref sfa:IDREF="SFWPPadding-2"/></sf:padding><sf:followingLayoutStyle><sf:null/></sf:followingLayoutStyle></sf:property-map></sf:layoutstyle></sf:SFTableStylePropertyHeaderColumnCellLayoutStyle><sf:SFTableStylePropertyHeaderVectorStyle><sf:table-vector-style-ref sfa:IDREF="SFTableVectorStyle-0"/></sf:SFTableStylePropertyHeaderVectorStyle><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity><sf:SFTableStylePropertyHeaderRowCellStyle><sf:table-cell-style-ref sfa:IDREF="SFTableCellStyle-1"/></sf:SFTableStylePropertyHeaderRowCellStyle><sf:SFTableStylePropertyHeaderSeperatorVectorStyle><sf:table-vector-style-ref sfa:IDREF="SFTableVectorStyle-2"/></sf:S!
 FTableStylePropertyHeaderSeperatorVectorStyle><sf:SFTableStylePropertyBorderVectorStyle><sf:table-vector-style-ref sfa:IDREF="SFTableVectorStyle-4"/></sf:SFTableStylePropertyBorderVectorStyle><sf:SFTableStylePropertyPrototypeRowCount><sf:number sfa:number="4" sfa:type="i"/></sf:SFTableStylePropertyPrototypeRowCount><sf:SFTableStylePropertyCellStyle><sf:table-cell-style-ref sfa:IDREF="SFTableCellStyle-0"/></sf:SFTableStylePropertyCellStyle><sf:SFTableStylePropertyPrototypeInlineGeometry><sf:geometry sfa:ID="SFDAffineGeometry-0" sf:sizesLocked="true"><sf:naturalSize sfa:w="467" sfa:h="75"/><sf:size sfa:w="467" sfa:h="75"/><sf:position sfa:x="0" sfa:y="0"/></sf:geometry></sf:SFTableStylePropertyPrototypeInlineGeometry><sf:SFTableStylePropertyPrototypeIsHeaderColumn><sf:number sfa:number="0" sfa:type="c"/></sf:SFTableStylePropertyPrototypeIsHeaderColumn><sf:SFTableStylePropertyCellLayoutStyle><sf:layoutstyle sfa:ID="SFWPLayoutStyle-6" sf:parent-ident="layout-style-default"><sf:!
 property-map><sf:layoutParagraphStyle><sf:paragraphstyle-ref sfa:IDREF
="SFWPParagraphStyle-7"/></sf:layoutParagraphStyle><sf:padding><sf:padding sfa:ID="SFWPPadding-3" sf:top="5" sf:left="5" sf:bottom="5" sf:right="5"/></sf:padding><sf:followingLayoutStyle><sf:null/></sf:followingLayoutStyle></sf:property-map></sf:layoutstyle></sf:SFTableStylePropertyCellLayoutStyle><sf:SFTableStylePropertyHeaderRowCellParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-103"/></sf:SFTableStylePropertyHeaderRowCellParagraphStyle><sf:SFTableStylePropertyPrototypeIsHeaderRow><sf:number sfa:number="1" sfa:type="c"/></sf:SFTableStylePropertyPrototypeIsHeaderRow><sf:externalTextWrap><sf:external-text-wrap sfa:ID="SFWPExternalTextWrap-9" sf:wrap-style="regular" sf:floating-wrap-enabled="true" sf:direction="both" sf:attachment-wrap-type="aligned" sf:floating-wrap-type="directional" sf:margin="12" sf:alpha-threshold="0.5"/></sf:externalTextWrap><sf:SFTableStylePropertyHeaderColumnCellStyle><sf:table-cell-style-ref sfa:IDREF="SFTableCellStyle-2"/></sf:SF!
 TableStylePropertyHeaderColumnCellStyle><sf:SFTableStylePropertyPrototypeColumnCount><sf:number sfa:number="3" sfa:type="i"/></sf:SFTableStylePropertyPrototypeColumnCount><sf:SFTableStylePropertyPrototypeIsResize><sf:number sfa:number="1" sfa:type="c"/></sf:SFTableStylePropertyPrototypeIsResize><sf:shadow><sf:null/></sf:shadow><sf:SFTableStylePropertyCellParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:SFTableStylePropertyCellParagraphStyle><sf:SFTableStylePropertyPrototypeGeometry><sf:geometry sfa:ID="SFDAffineGeometry-1" sf:sizesLocked="true"><sf:naturalSize sfa:w="350" sfa:h="100"/><sf:size sfa:w="350" sfa:h="100"/><sf:position sfa:x="79" sfa:y="171"/></sf:geometry></sf:SFTableStylePropertyPrototypeGeometry></sf:property-map></sf:table-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-104" sf:name="mediaobjectco-title" sf:ident="paragraph-style-89"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defau!
 ltTabStops><sf:alignment/><sf:tabs/><sf:leftIndent><sf:number sfa:numb
er="28.35709" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:firstLineIndent><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:fontSize><sf:number sfa:number="13" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf!
 :null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-105" sf:name="variablelist-term" sf:ident="paragraph-style-62"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName><sf:string sfa:string="Courier"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-r!
 ef sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:cap
italization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-106" sf:name="preface-title" sf:ident="paragraph-style-!
 40"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spac!
 eBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:
firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:chart-series-style-ref sfa:IDREF="SFCSeriesStyle-4"/><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-107" sf:name="simpara" sf:ident="paragraph-style-55"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><s!
 f:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strike!
 thruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:
paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-22" sf:name="application" sf:ident="character-style-23"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:underline/><sf:tracking/><sf:fontName/><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic><sf:number sfa:number="1" sfa:type="i"/></sf:italic><sf:baselineShift/><sf:ligatures/></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-108" sf:ident="chart-paragraph-style-default"><sf:property-map><sf:defaultTabStops/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null!
 /></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:null/></sf:tocStyle><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:showInTOC/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:decimalTab/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineCo!
 lor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:alignment/><
/sf:property-map></sf:paragraphstyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-93"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-92"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-84"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-85"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-98"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-37"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-36"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-87"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-86"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-95"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-94"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-89"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-88"/><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-109" sf:name="callout" sf:ident="paragraph-style-90"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTab!
 Stops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-14" sf:parent-ident="list-style-2"><sf:property-map><sf:labelCharacterStyle1><sf:characterstyle sfa:ID="SFWPCharacterStyle-23" sf:parent-ident="character-style-null"><sf:property-map><sf:fontName><sf:string sfa:string="LucidaGrande"/></sf:fontName></sf:property-map></sf:characterstyle></sf:labelCharacterStyle1><sf:listLevels><sf:array sfa:ID="NSArray-17"><sf:list-level sfa:ID="SFWPListLevel-126" sf:type="text" sf:align="left" sf:text-pos="14.17322826385498" sf:label-pos="0" sf:scale="1" sf:offset="1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-84" sf:type="bullet" sf:format="&#xE4F;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="!
 SFWPListLevel-127" sf:type="text" sf:align="left" sf:text-pos="27" sf:
label-pos="18" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-85" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-128" sf:type="text" sf:align="left" sf:text-pos="45" sf:label-pos="36" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-86" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-129" sf:type="text" sf:align="left" sf:text-pos="63" sf:label-pos="54" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-87" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-130" sf:type="text" sf:align="left" sf:text-pos="81" sf:label-pos="72" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-88" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-leve!
 l><sf:list-level sfa:ID="SFWPListLevel-131" sf:type="text" sf:align="left" sf:text-pos="99" sf:label-pos="90" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-89" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-132" sf:type="text" sf:align="left" sf:text-pos="117" sf:label-pos="108" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-90" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-133" sf:type="text" sf:align="left" sf:text-pos="135" sf:label-pos="126" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-91" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-134" sf:type="text" sf:align="left" sf:text-pos="153" sf:label-pos="144" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:t!
 ext-label sfa:ID="SFWPTextLabel-92" sf:type="bullet" sf:format="&#x202
2;" sf:first="0"/></sf:list-level></sf:array></sf:listLevels></sf:property-map></sf:liststyle></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle-ref sfa:IDR!
 EF="SFWPParagraphStyle-34"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-33"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-39"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-38"/><sf:chart-series-style-ref sfa:IDREF="SFCSeriesStyle-5"/><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-110" sf:name="Sub-heading" sf:ident="paragraph-style-33"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-4"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><s!
 f:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:
number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="6" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:unde!
 rlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-24" sf:name="emphasis-underline" sf:ident="character-style-16"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:underline><sf:number sfa:number="1" sfa:type="i"/></sf:underline><sf:tracking/><sf:fontName/><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold/><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:baselineShift/></sf:property-map></sf:characterstyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-32"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-31"/><sf:chart-series-style-ref sfa:IDREF="SFCSeriesStyle-3"/><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-111" sf:name="question" sf:ident="paragraph-style-83"><sf:property-map><sf:defaultTabStops><sf:number sfa!
 :number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWid
th/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic><sf:number sfa:number="1" sfa:type="i"/></sf:italic><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language!
 ><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-112" sf:name="important-title" sf:ident="paragraph-style-26"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-10"/></sf:listStyle><sf:textShadow/><sf:capitalizati!
 on/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBo
rders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-113" sf:name="orderedlist3" sf:!
 ident="paragraph-style-101"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-15" sf:parent-ident="list-style-2"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-18"><sf:list-level sfa:ID="SFWPListLevel-135" sf:type="text" sf:align="left" sf:text-pos="42.519683837890625" sf:label-pos="28.346456527709961" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-93" sf:type="upper-roman" sf:format="%L." sf:first="1"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-136" sf:type="text" sf:align="left" sf:text-pos="27" sf:label-pos="18" sf:scale="1" sf:offset="-1" !
 sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-94" sf:
type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-137" sf:type="text" sf:align="left" sf:text-pos="45" sf:label-pos="36" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-95" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-138" sf:type="text" sf:align="left" sf:text-pos="63" sf:label-pos="54" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-96" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-139" sf:type="text" sf:align="left" sf:text-pos="81" sf:label-pos="72" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-97" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-140" sf:type="text" sf:align="left" sf:text-pos="99" sf:label-pos="90" sf:!
 scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-98" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-141" sf:type="text" sf:align="left" sf:text-pos="117" sf:label-pos="108" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-99" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-142" sf:type="text" sf:align="left" sf:text-pos="135" sf:label-pos="126" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-100" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-143" sf:type="text" sf:align="left" sf:text-pos="153" sf:label-pos="144" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-101" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level></sf:ar!
 ray></sf:listLevels></sf:property-map></sf:liststyle></sf:listStyle><s
f:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-26"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-25"/><sf:paragraphstyle sfa:ID!
 ="SFWPParagraphStyle-114" sf:name="revremark" sf:ident="paragraph-style-76"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="1" sfa:g="0.80000001192092896" sfa:b="0.60000002384185791" sfa:a="1"/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><!
 sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effe
ct><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-115" sf:name="chapter-titleabbrev" sf:ident="paragraph-style-19"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetic!
 a-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="16" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outl!
 ineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:
null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-25" sf:name="firstname" sf:ident="character-style-10"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:baselineShift/><sf:tracking/><sf:fontName/><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold/><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic><sf:number sfa:number="1" sfa:type="i"/></sf:italic><sf:ligatures/><sf:underline/></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-116" sf:name="highlights-caution" sf:ident!
 ="paragraph-style-69"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="1" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-5"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:!
 effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:nul
l/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-117" sf:name="article-titleabbrev" sf:ident="paragraph-style-7"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineL!
 evel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="16" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><!
 sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></s
f:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:graphic-style sfa:ID="SFDGraphicStyle-16" sf:name="graphic-shape-style-default" sf:ident="graphic-shape-style-default"><sf:property-map><sf:stroke><sf:stroke sfa:ID="SFRStroke-50" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-45" sf:phase="0" sf:type="solid"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:externalTextWrap><sf:external-text-wrap sfa:ID="SFWPExternalTextWrap-10" sf:wrap-style="tight" sf:floating-wrap-enabled="true" sf:direction="both" sf:attachment-wrap-type="aligned" sf:f!
 loating-wrap-type="directional" sf:margin="12" sf:alpha-threshold="0.5"/></sf:externalTextWrap><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity><sf:fill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.40784314274787903" sfa:g="0.63529413938522339" sfa:b="0.18431372940540314" sfa:a="1"/></sf:fill></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-17" sf:name="graphic-shape-style-default 2" sf:ident="graphic-shape-style-default-1" sf:parent-ident="graphic-shape-style-default"><sf:property-map><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:fill><sf:color xsi:type="sfa:device-cmyk-color-type" sfa:c="0" sfa:m="0" sfa:y="0" sfa:k="0.34999999403953552" sfa:a="1"/></sf:fill></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-18" sf:name="graphic-shape-style-default 10" sf:ident="graphic-shape-style-default-9" sf:parent-ident="graphic-shape-style-default"><sf:property-map><sf:shadow><sf:shadow-ref sfa!
 :IDREF="SFRShadow-0"/></sf:shadow><sf:layoutStyle><sf:null/></sf:layou
tStyle><sf:fill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.41568627953529358" sfa:g="0.66274511814117432" sfa:b="0.39215686917304993" sfa:a="1"/></sf:fill></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-19" sf:name="graphic-shape-style-default 8" sf:ident="graphic-shape-style-default-7" sf:parent-ident="graphic-shape-style-default"><sf:property-map><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:fill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.41568627953529358" sfa:g="0.66274511814117432" sfa:b="0.39215686917304993" sfa:a="1"/></sf:fill></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-20" sf:name="graphic-shape-style-default 5" sf:ident="graphic-shape-style-default-4" sf:parent-ident="graphic-shape-style-default"><sf:property-map><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:fill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.41568627953529358" sfa:g="0.662745118141174!
 32" sfa:b="0.39215686917304993" sfa:a="1"/></sf:fill></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-21" sf:name="graphic-shape-style-default 3" sf:ident="graphic-shape-style-default-2" sf:parent-ident="graphic-shape-style-default"><sf:property-map><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:fill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.41568627953529358" sfa:g="0.66274511814117432" sfa:b="0.39215686917304993" sfa:a="1"/></sf:fill></sf:property-map></sf:graphic-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-118" sf:name="sect3-subtitle" sf:ident="paragraph-style-47"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><s!
 f:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf
:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:s!
 paceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-119" sf:name="highlights" sf:ident="paragraph-style-20"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesToget!
 her/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_
underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-26" sf:name="contrib" sf:ident="character-style-6"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:baselineShift/><sf:tracking/><sf:fontName/><sf:fontColor/!
 ><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold/><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic><sf:number sfa:number="1" sfa:type="i"/></sf:italic><sf:ligatures/><sf:underline/></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-120" sf:name="itemizedlist4" sf:ident="paragraph-style-97"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-16" sf:parent-ident="list-style-2"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-19"><sf:list-level sfa:ID="SF!
 WPListLevel-144" sf:type="text" sf:align="left" sf:text-pos="51.519683
837890625" sf:label-pos="42.519683837890625" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-102" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-145" sf:type="text" sf:align="left" sf:text-pos="27" sf:label-pos="18" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-103" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-146" sf:type="text" sf:align="left" sf:text-pos="45" sf:label-pos="36" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-104" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-147" sf:type="text" sf:align="left" sf:text-pos="63" sf:label-pos="54" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-105" sf:type="bullet" sf:format="&#x2!
 022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-148" sf:type="text" sf:align="left" sf:text-pos="81" sf:label-pos="72" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-106" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-149" sf:type="text" sf:align="left" sf:text-pos="99" sf:label-pos="90" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-107" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-150" sf:type="text" sf:align="left" sf:text-pos="117" sf:label-pos="108" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-108" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-151" sf:type="text" sf:align="left" sf:text-pos="135" sf:label-pos="126" sf:scale="1" sf:offset="!
 -1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-109
" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level><sf:list-level sfa:ID="SFWPListLevel-152" sf:type="text" sf:align="left" sf:text-pos="153" sf:label-pos="144" sf:scale="1" sf:offset="-1" sf:scale-with-text="true"><sf:text-label sfa:ID="SFWPTextLabel-110" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/></sf:list-level></sf:array></sf:listLevels></sf:property-map></sf:liststyle></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><s!
 f:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-121" sf:name="blockquote-title" sf:ident="paragraph-style-13"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:wor!
 d_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParag
raphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/><sf:graphic-style sfa:ID="SFDGraphicStyle-22" sf:name="graphic-shape-style-default 9" sf:ident="graphic-shape-style-default-8" sf:parent-ident="graphic-shape-style-default"><sf:property-map><sf:layoutSt!
 yle><sf:null/></sf:layoutStyle><sf:fill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.41568627953529358" sfa:g="0.66274511814117432" sfa:b="0.39215686917304993" sfa:a="1"/></sf:fill></sf:property-map></sf:graphic-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-122" sf:name="highlights-important" sf:ident="paragraph-style-70"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="1" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-5"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesToget!
 her/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_
underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:graphic-style sfa:ID="SFDGraphicStyle-23" sf:name="graphic-shape-style-default 6" sf:ident="graphic-shape-style-default-5" sf:parent-ident="graphic-shape-style-default"><sf:property-map><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:fil!
 l><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.41568627953529358" sfa:g="0.66274511814117432" sfa:b="0.39215686917304993" sfa:a="1"/></sf:fill></sf:property-map></sf:graphic-style><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-97"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-96"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-90"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-91"/><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-123" sf:name="bridgehead" sf:ident="paragraph-style-110"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bol!
 d"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><s
f:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:firstLineIndent><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="16" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor>!
 <sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-124" sf:name="variablelist-title" sf:ident="paragraph-style-63"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:k!
 eepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWid
th/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent><sf:number sfa:number="14.18209" sfa:type="f"/></sf:firstLineIndent><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:graphic-style sfa:ID="SFDGraph!
 icStyle-24" sf:name="graphic-textbox-style-default 3" sf:ident="graphic-textbox-style-default-2" sf:parent-ident="graphic-textbox-style-default"><sf:property-map><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:fill><sf:null/></sf:fill><sf:stroke><sf:stroke sfa:ID="SFRStroke-51" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-46" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-25" sf:name="graphic-textbox-style-default 5" sf:ident="graphic-textbox-style-default-4" sf:parent-ident="graphic-textbox-style-default"><sf:property-map><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:fill><sf:null/></sf:fill><sf:stroke><sf:stroke sfa:ID="SFRStroke-52" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-co!
 lor-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-47
" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-26" sf:name="graphic-textbox-style-default 7" sf:ident="graphic-textbox-style-default-6" sf:parent-ident="graphic-textbox-style-default"><sf:property-map><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:fill><sf:null/></sf:fill><sf:stroke><sf:stroke sfa:ID="SFRStroke-53" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-48" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke></sf:property-map></sf:graphic-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-125" sf:name="releaseinfo" sf:ident="paragraph-style-41"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill!
 ><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="1" sfa:g="0.5" sfa:b="0" sfa:a="0.25"/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:track!
 ing/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFe
atures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:graphic-style sfa:ID="SFDGraphicStyle-27" sf:name="graphic-textbox-style-default 9" sf:ident="graphic-textbox-style-default-8" sf:parent-ident="graphic-textbox-style-default"><sf:property-map><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow><sf:layoutStyle><sf:null/></sf:layoutStyle></sf:property-map></sf:graphic-style><sf:characterstyle sfa:ID="SFWPCharacterStyle-27" sf:name="literal" sf:ident="character-style-24"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:baselineShift/><sf:tracking/><sf:fontName><sf:string sfa:string="Courier"/></sf:fontName><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold/><!
 sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:underline/></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-126" sf:name="simplesect-title" sf:ident="paragraph-style-56"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textB!
 orders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf
:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="16" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SF!
 WPParagraphStyle-127" sf:name="areaspec" sf:ident="paragraph-style-91"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outline!
 Color><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number
="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-128" sf:name="note-title" sf:ident="paragraph-style-34"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="!
 SFWPListStyle-5"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><!
 sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragra
phstyle sfa:ID="SFWPParagraphStyle-129" sf:name="itemizedlist" sf:ident="paragraph-style-2"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-7"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrou!
 gh/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-28" sf:name="ulink" sf:ident="character-style-17"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:ligatures/><sf:tracking/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="1" sfa:a="1"/></sf:fontColor><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold/><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:baselineShift/><sf:und!
 erline><sf:number sfa:number="1" sfa:type="i"/></sf:underline></sf:pro
perty-map></sf:characterstyle><sf:layoutstyle sfa:ID="SFWPLayoutStyle-7" sf:name="Normal 22" sf:ident="layout-style-20"><sf:property-map><sf:padding/><sf:followingLayoutStyle><sf:null/></sf:followingLayoutStyle><sf:layoutMargins/><sf:verticalAlignment/><sf:columns/><sf:layoutParagraphStyle><sf:null/></sf:layoutParagraphStyle><sf:layoutContinuous/></sf:property-map></sf:layoutstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-130" sf:name="answer" sf:ident="paragraph-style-84"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName><sf:string sfa:string="Times-Roman"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShad!
 ow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize><sf:number sfa:number="11" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPPara!
 graphStyle-131" sf:name="index-title" sf:ident="paragraph-style-27"><s
f:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore!
 ><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:sectionstyle sfa:ID="SFWPSectionStyle-5" sf:name="[Null]" sf:ident="section-style-null"><sf:property-map/></sf:sectionstyle><sf:layoutstyle sfa:ID="SFWPLayoutStyle-8" sf:name="Normal" sf:ident="layout-style-def!
 ault"><sf:property-map><sf:padding/><sf:followingLayoutStyle><sf:null/
></sf:followingLayoutStyle><sf:layoutMargins/><sf:verticalAlignment/><sf:columns/><sf:layoutParagraphStyle><sf:null/></sf:layoutParagraphStyle><sf:layoutContinuous/></sf:property-map></sf:layoutstyle><sf:layoutstyle sfa:ID="SFWPLayoutStyle-9" sf:ident="graphic-textbox-layout-style-default" sf:parent-ident="layout-style-default"><sf:property-map><sf:padding/><sf:followingLayoutStyle><sf:null/></sf:followingLayoutStyle><sf:layoutMargins/><sf:verticalAlignment/><sf:columns/><sf:layoutParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-14"/></sf:layoutParagraphStyle><sf:layoutContinuous/></sf:property-map></sf:layoutstyle><sf:layoutstyle sfa:ID="SFWPLayoutStyle-10" sf:ident="graphic-shape-layout-style-default" sf:parent-ident="layout-style-default"><sf:property-map><sf:padding><sf:padding sfa:ID="SFWPPadding-4" sf:top="8" sf:left="8" sf:bottom="8" sf:right="8"/></sf:padding><sf:followingLayoutStyle><sf:null/></sf:followingLayoutStyle><sf:layoutMargins/><sf:vertic!
 alAlignment/><sf:columns/><sf:layoutParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-14"/></sf:layoutParagraphStyle><sf:layoutContinuous/></sf:property-map></sf:layoutstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-132" sf:name="mediaobject-title" sf:ident="paragraph-style-77"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:leftIndent><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:fol!
 lowingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:supers
cript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent><sf:number sfa:number="28.35709" sfa:type="f"/></sf:firstLineIndent><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:fontSize><sf:number sfa:number="13" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-133" sf:name="sect5-title" sf:ident="paragraph-style-50"><sf:property-map><sf:defaultTabStops><sf:number sfa:num!
 ber="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:space!
 Before><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:typ
e="i"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-7"/><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-134" sf:name="address" sf:ident="paragraph-style-108"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragr!
 aphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName><sf:string sfa:string="CourierNewPSMT"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize><sf:number sfa:number="11" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:trackin!
 g/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeat
ures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-29" sf:name="None" sf:ident="character-style-null"><sf:property-map/></sf:characterstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-30" sf:ident="kSLImportStylesHeadingStyleIdentifier" sf:parent-ident="character-style-null"><sf:property-map><sf:fontName><sf:string sfa:string="LucidaGrande"/></sf:fontName><sf:fontSize><sf:number sfa:number="13" sfa:type="f"/></sf:fontSize><sf:fontColor><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0.5" sfa:a="1"/></sf:fontColor></sf:property-map></sf:characterstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-31" sf:name="honorific" sf:ident="character-style-11"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:baselineShift/><sf:tra!
 cking/><sf:fontName/><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold><sf:number sfa:number="1" sfa:type="i"/></sf:bold><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:underline/></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-135" sf:name="bibliography-title" sf:ident="paragraph-style-9"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:list!
 Style><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><s
f:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefo!
 re/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-27"/><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-28"/><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-136" sf:name="sect4-title" sf:ident="paragraph-style-48"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listS!
 tyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNe
xt><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphSt!
 roke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-137" sf:name="highlights-itemizedlist" sf:ident="paragraph-style-21"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle sfa:ID="SFWPListStyle-17" sf:parent-ident="list-style-default"><sf:property-map><sf:listLevels><sf:array sfa:ID="NSArray-20"><sf:list-level sfa:ID="SFWPListLevel-153" sf:type="text" sf:align="left" sf:text-pos="14.17322826385498" sf:label-pos="0" sf:scale="1.4999996423721313" sf:offset="0" sf:scale-with-text="true"><sf:text-label sfa:ID="SF!
 WPTextLabel-111" sf:type="bullet" sf:format="&#x2022;" sf:first="0"/><
/sf:list-level><sf:list-level sfa:ID="SFWPListLevel-154" sf:type="none" sf:align="left" sf:text-pos="36" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-155" sf:type="none" sf:align="left" sf:text-pos="72" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-156" sf:type="none" sf:align="left" sf:text-pos="108" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-157" sf:type="none" sf:align="left" sf:text-pos="144" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-158" sf:type="none" sf:align="left" sf:text-pos="180" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-159" sf:type="none" sf:align="left" sf:text-pos="216" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:!
 list-level sfa:ID="SFWPListLevel-160" sf:type="none" sf:align="left" sf:text-pos="252" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/><sf:list-level sfa:ID="SFWPListLevel-161" sf:type="none" sf:align="left" sf:text-pos="288" sf:label-pos="0" sf:scale="1" sf:offset="0" sf:scale-with-text="true"/></sf:array></sf:listLevels></sf:property-map></sf:liststyle></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:nul!
 l/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:stri
kethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-32" sf:name="fax" sf:ident="character-style-8"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:baselineShift/><sf:tracking/><sf:fontName><sf:string sfa:string="Courier"/></sf:fontName><sf:fontColor/><sf:strikethru/><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:textShadow/><sf:atsuFontFeatures/><sf:bold/><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:underline/></sf:property-map></sf:characterstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-138" sf:name="highlights-tip" sf:ident="paragraph-style-71"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.3464!
 6" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0" sfa:b="0" sfa:a="1"/></sf:fontColor><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-5"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColo!
 r><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAf
ter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-139" sf:name="book-subtitle" sf:ident="paragraph-style-14"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFW!
 PListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:at!
 suFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke>
<sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-140" sf:name="orderedlist" sf:ident="paragraph-style-98"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-4"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></s!
 f:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-141" sf:name="bibliomisc" sf:ident="paragraph-style-105"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:underlineWidth/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.80000001192092896" sfa:g="1" sfa:b="1" sfa:a="1"/></sf:paragraphFill><sf:lineSpaci!
 ng/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:fontName/
><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore/><sf:firstLineIndent/><sf:bold/><sf:fontSize/><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:unde!
 rlineColor><sf:alignment/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-142" sf:name="variablelist-titleabbrev" sf:ident="paragraph-style-64"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic><sf:number sfa:number="1" sfa:type="i"/></sf:italic><sf:baselineShift/><sf:fontName/><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext/><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:null/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectC!
 olor><sf:spaceBefore/><sf:firstLineIndent><sf:number sfa:number="14.18
209" sfa:type="f"/></sf:firstLineIndent><sf:bold/><sf:fontSize><sf:number sfa:number="14" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter><sf:number sfa:number="12" sfa:type="f"/></sf:spaceAfter><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-143" sf:name="sect1-title" sf:ident="paragraph-style-42"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:!
 paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><sf:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listStyle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf!
 :fontSize><sf:number sfa:number="18" sfa:type="f"/></sf:fontSize><sf:h
idden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBreakBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:graphic-style sfa:ID="SFDGraphicStyle-28" sf:name="graphic-shape-style-default 7" sf:ident="graphic-shape-style-default-6" sf:parent-ident="graphic-shape-style-default"><sf:property-map><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:fill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.41568627953529358" sfa:g="0.66274511814117432" sfa:b="0.39215686917304993" sfa:a="1"/></sf:fill></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-29" sf:name="graphi!
 c-shape-style-default 4" sf:ident="graphic-shape-style-default-3" sf:parent-ident="graphic-shape-style-default"><sf:property-map><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:fill><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0.41568627953529358" sfa:g="0.66274511814117432" sfa:b="0.39215686917304993" sfa:a="1"/></sf:fill></sf:property-map></sf:graphic-style><sf:paragraphstyle sfa:ID="SFWPParagraphStyle-144" sf:name="simplesect-subtitle" sf:ident="paragraph-style-57"><sf:property-map><sf:defaultTabStops><sf:number sfa:number="28.34646" sfa:type="f"/></sf:defaultTabStops><sf:alignment/><sf:tabs/><sf:leftIndent/><sf:paragraphFill><sf:null/></sf:paragraphFill><sf:lineSpacing/><sf:paragraphBorders/><sf:italic/><sf:baselineShift/><sf:tocStyle><sf:tocstyle-ref sfa:IDREF="SLTOCParagraphStyle-3"/></sf:tocStyle><sf:fontName><sf:string sfa:string="Helvetica-Bold"/></sf:fontName><sf:fontColor/><sf:rightIndent/><sf:outlineLevel/><sf:strikethru/><sf:outline/><sf:dropCap/><s!
 f:listStyle><sf:liststyle-ref sfa:IDREF="SFWPListStyle-1"/></sf:listSt
yle><sf:textShadow/><sf:capitalization/><sf:ligatures/><sf:keepWithNext><sf:number sfa:number="1" sfa:type="c"/></sf:keepWithNext><sf:keepLinesTogether/><sf:textBorders/><sf:strikethruWidth/><sf:widowControl/><sf:word_underline/><sf:followingParagraphStyle><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-7"/></sf:followingParagraphStyle><sf:superscript/><sf:effectColor><sf:null/></sf:effectColor><sf:spaceBefore><sf:number sfa:number="12" sfa:type="f"/></sf:spaceBefore><sf:firstLineIndent/><sf:bold><sf:number sfa:number="1" sfa:type="c"/></sf:bold><sf:showInTOC><sf:number sfa:number="1" sfa:type="c"/></sf:showInTOC><sf:fontSize><sf:number sfa:number="15" sfa:type="f"/></sf:fontSize><sf:hidden/><sf:underline/><sf:effect><sf:null/></sf:effect><sf:hyphenate/><sf:word_strikethrough/><sf:outlineColor><sf:null/></sf:outlineColor><sf:spaceAfter/><sf:language><sf:null/></sf:language><sf:tracking/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:atsuFontFeatures/><sf:pageBre!
 akBefore/><sf:kerning/><sf:paragraphStroke><sf:null/></sf:paragraphStroke><sf:underlineColor><sf:null/></sf:underlineColor><sf:underlineWidth/><sf:firstTopicNumber/></sf:property-map></sf:paragraphstyle><sf:characterstyle sfa:ID="SFWPCharacterStyle-33" sf:name="inlinegraphic" sf:ident="character-style-25"><sf:property-map><sf:fontSize/><sf:strikethruColor><sf:null/></sf:strikethruColor><sf:underline><sf:number sfa:number="1" sfa:type="i"/></sf:underline><sf:tracking/><sf:fontName><sf:string sfa:string="Monaco"/></sf:fontName><sf:capitalization/><sf:language><sf:string sfa:string="en"/></sf:language><sf:fontColor><sf:color xsi:type="sfa:calibrated-rgb-color-type" sfa:r="0" sfa:g="0.20000000298023224" sfa:b="0.60000002384185791" sfa:a="1"/></sf:fontColor><sf:textShadow/><sf:strikethru/><sf:atsuFontFeatures/><sf:bold/><sf:underlineColor><sf:null/></sf:underlineColor><sf:superscript/><sf:italic/><sf:ligatures/><sf:baselineShift/></sf:property-map></sf:characterstyle><sf:graphic!
 -style sfa:ID="SFDGraphicStyle-30" sf:name="graphic-movie-style-defaul
t" sf:ident="graphic-movie-style-default"><sf:property-map><sf:stroke><sf:stroke sfa:ID="SFRStroke-54" sf:miter-limit="4" sf:width="1" sf:cap="butt" sf:join="miter"><sf:color xsi:type="sfa:calibrated-white-color-type" sfa:w="0" sfa:a="1"/><sf:pattern sfa:ID="SFRStrokePattern-49" sf:phase="0" sf:type="empty"><sf:pattern/></sf:pattern></sf:stroke></sf:stroke><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow><sf:layoutStyle><sf:null/></sf:layoutStyle><sf:externalTextWrap><sf:external-text-wrap sfa:ID="SFWPExternalTextWrap-11" sf:wrap-style="tight" sf:floating-wrap-enabled="true" sf:direction="both" sf:attachment-wrap-type="aligned" sf:floating-wrap-type="directional" sf:margin="12" sf:alpha-threshold="0.5"/></sf:externalTextWrap><sf:opacity><sf:number sfa:number="1" sfa:type="f"/></sf:opacity><sf:fill><sf:null/></sf:fill></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-31" sf:name="graphic-movie-style-default 2" sf:ident="graphic-movie!
 -style-default-1" sf:parent-ident="graphic-movie-style-default"><sf:property-map><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow></sf:property-map></sf:graphic-style><sf:graphic-style sfa:ID="SFDGraphicStyle-32" sf:name="graphic-movie-style-default 3" sf:ident="graphic-movie-style-default-2" sf:parent-ident="graphic-movie-style-default"><sf:property-map><sf:shadow><sf:shadow-ref sfa:IDREF="SFRShadow-0"/></sf:shadow></sf:property-map></sf:graphic-style></sf:styles><sf:anon-styles><sf:paragraphstyle-ref sfa:IDREF="SFWPParagraphStyle-103"/><sf:liststyle-ref sfa:IDREF="SFWPListStyle-13"/><sf:characterstyle-ref sfa:IDREF="SFWPCharacterStyle-4"/><sf:liststyle-ref sfa:IDREF="SFWPListStyle-9"/><sf:characterstyle-ref sfa:IDREF="SFWPCharacterStyle-23"/><sf:liststyle-ref sfa:IDREF="SFWPListStyle-11"/><sf:liststyle-ref sfa:IDREF="SFWPListStyle-17"/><sf:liststyle-ref sfa:IDREF="SFWPListStyle-6"/><sf:layoutstyle-ref sfa:IDREF="SFWPLayoutStyle-6"/><sf:liststyle-ref sfa:IDRE!
 F="SFWPListStyle-16"/><sf:liststyle-ref sfa:IDREF="SFWPListStyle-14"/>
<sf:layoutstyle-ref sfa:IDREF="SFWPLayoutStyle-5"/><sf:liststyle-ref sfa:IDREF="SFWPListStyle-15"/><sf:liststyle-ref sfa:IDREF="SFWPListStyle-5"/><sf:liststyle-ref sfa:IDREF="SFWPListStyle-4"/><sf:liststyle-ref sfa:IDREF="SFWPListStyle-2"/><sf:layoutstyle-ref sfa:IDREF="SFWPLayoutStyle-4"/><sf:liststyle-ref sfa:IDREF="SFWPListStyle-10"/></sf:anon-styles></sf:stylesheet><sf:headers><sf:header sf:name="SFWPDefaultFirstHeaderIdentifier"><sf:text-storage sfa:ID="SFWPStorage-1" sf:kind="header"><sf:stylesheet-ref sfa:IDREF="SFSStylesheet-1"/><sf:text-body><sf:p sf:style="paragraph-style-37"/></sf:text-body></sf:text-storage></sf:header><sf:header sf:name="SFWPDefaultOddHeaderIdentifier"><sf:text-storage sfa:ID="SFWPStorage-2" sf:kind="header"><sf:stylesheet-ref sfa:IDREF="SFSStylesheet-1"/><sf:text-body><sf:p sf:style="paragraph-style-37"/></sf:text-body></sf:text-storage></sf:header><sf:header sf:name="SFWPDefaultEvenHeaderIdentifier"><sf:text-storage sfa:ID="SFWPStorage-3" sf:k!
 ind="header"><sf:stylesheet-ref sfa:IDREF="SFSStylesheet-1"/><sf:text-body><sf:p sf:style="paragraph-style-37"/></sf:text-body></sf:text-storage></sf:header></sf:headers><sf:footers><sf:footer sf:name="SFWPDefaultFirstFooterIdentifier"><sf:text-storage sfa:ID="SFWPStorage-4" sf:kind="header"><sf:stylesheet-ref sfa:IDREF="SFSStylesheet-1"/><sf:text-body><sf:p sf:style="paragraph-style-37"/></sf:text-body></sf:text-storage></sf:footer><sf:footer sf:name="SFWPDefaultOddFooterIdentifier"><sf:text-storage sfa:ID="SFWPStorage-5" sf:kind="header"><sf:stylesheet-ref sfa:IDREF="SFSStylesheet-1"/><sf:text-body><sf:p sf:style="paragraph-style-37"/></sf:text-body></sf:text-storage></sf:footer><sf:footer sf:name="SFWPDefaultEvenFooterIdentifier"><sf:text-storage sfa:ID="SFWPStorage-6" sf:kind="header"><sf:stylesheet-ref sfa:IDREF="SFSStylesheet-1"/><sf:text-body><sf:p sf:style="paragraph-style-37"/></sf:text-body></sf:text-storage></sf:footer></sf:footers><sf:text-storage sf:kind="body"!
  sfa:ID="SFWPStorage-7"><sf:stylesheet-ref sfa:IDREF="SFSStylesheet-1"
/><sf:text-body><sf:page-start sf:page-index="0"/><sf:container-hint sf:page-index="0" sf:cindex="0" sf:sindex="0" sf:lindex="0" sf:frame-x="56.692913055419922" sf:frame-y="56.692913055419922" sf:frame-w="481.61416625976562" sf:frame-h="714" sf:anchor-loc="0"/><sf:section sf:name="Chapter 1" sf:style="section-style-0"><sf:layout sf:style="layout-style-20"><sf:p sf:style="paragraph-style-38">Document Template<sf:br/></sf:p><sf:p sf:style="paragraph-style-32"><sf:br/></sf:p><sf:p sf:style="paragraph-style-32" sf:restart-list="true">Insert content here</sf:p></sf:layout></sf:section><sf:insertion-point/></sf:text-body></sf:text-storage><sl:thumbnails sfa:ID="SFRImageBinary-1"><sf:size sfa:w="90" sfa:h="128"/><sf:data sfa:ID="SFEData-1" sf:path="thumbs/page_thumb_1.tiff" sf:displayname="thumbs/page_thumb_1.tiff" sf:size="4860" sf:sharable="false" sf:hfs-type="1414088262" sf:checksum="388bb1ab" sfa:version="1"/></sl:thumbnails><sl:window-configs sl:layout-version="4"><sl:window-c!
 onfig sl:frame="104 60 781 772 0 0 1280 832 " sl:show-ruler="true" sl:show-sidebar="true" sl:page-scale="1.25" sl:sidebar-paragraph-pct="0.5" sl:sidebar-character-pct="0.5" sl:sidebar-list-pct="0"><sl:selection><sf:wp-selection sfa:ID="SLSelectionObjectWP-0"><sf:text-storage-ref sfa:IDREF="SFWPStorage-7"/></sf:wp-selection></sl:selection></sl:window-config></sl:window-configs></sl:document>

Added: trunk/docs/docbook/src/main/resources/roundtrip/template.dot
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/roundtrip/template.dot
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/roundtrip/template.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/template.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/template.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,3 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<?mso-application progid="Word.Document"?>
+<w:wordDocument xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core" xmlns:aml="http://schemas.microsoft.com/aml/2001/core" xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" w:macrosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no" xml:space="preserve"><o:DocumentProperties><o:Title>This document left intentionally blank</o:Title><o:Author>Steve Ball</o:Author><o:LastAuthor>Steve Ball</o:LastAuthor><o:Revision>8</o:Revision><o:TotalTime>18</o:TotalTime><o:Created>2005-11-03T21:43:00Z</o:Created><o:LastSaved>2007-01-02T02:29:00Z</o:LastSaved><o:Pages>1</o:Pages><o:Words>5</o:Words><o:Characters>35</o:Characters><o:Lines>1</o:Lines><o:Paragraphs>1</o:Paragraphs><o:CharactersWithSpaces>39</o:C!
 haractersWithSpaces><o:Version>11.6113</o:Version></o:DocumentProperties><w:fonts><w:defaultFonts w:ascii="Times New Roman" w:fareast="Times New Roman" w:h-ansi="Times New Roman" w:cs="Times New Roman"/><w:font w:name="Wingdings"><w:panose-1 w:val="05000000000000000000"/><w:charset w:val="02"/><w:family w:val="Auto"/><w:pitch w:val="variable"/><w:sig w:usb-0="00000000" w:usb-1="10000000" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="80000000" w:csb-1="00000000"/></w:font><w:font w:name="Lucida Sans Unicode"><w:panose-1 w:val="020B0602030504020204"/><w:charset w:val="00"/><w:family w:val="Swiss"/><w:pitch w:val="variable"/><w:sig w:usb-0="80001AFF" w:usb-1="0000396B" w:usb-2="00000000" w:usb-3="00000000" w:csb-0="0000003F" w:csb-1="00000000"/></w:font><w:font w:name="Arial Narrow"><w:panose-1 w:val="020B0506020202030204"/><w:charset w:val="00"/><w:family w:val="Swiss"/><w:pitch w:val="variable"/><w:sig w:usb-0="00000287" w:usb-1="00000000" w:usb-2="00000000" w:usb-3="000000!
 00" w:csb-0="0000009F" w:csb-1="00000000"/></w:font></w:fonts><w:lists
><w:listDef w:listDefId="0"><w:lsid w:val="08CF1663"/><w:plt w:val="Multilevel"/><w:tmpl w:val="0409001D"/><w:lvl w:ilvl="0"><w:start w:val="1"/><w:lvlText w:val="%1)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="360"/></w:tabs><w:ind w:left="360" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="1"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%2)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="720"/></w:tabs><w:ind w:left="720" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1080"/></w:tabs><w:ind w:left="1080" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="3"><w:start w:val="1"/><w:lvlText w:val="(%4)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4"><w:start w:val="1"/><w:nfc w:val="4"/><w:lv!
 lText w:val="(%5)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1800"/></w:tabs><w:ind w:left="1800" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="(%6)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="6"><w:start w:val="1"/><w:lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2520"/></w:tabs><w:ind w:left="2520" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3240"/></w:tabs><w:ind w:left="3240" w:hanging="360"/></w:pP!
 r></w:lvl></w:listDef><w:listDef w:listDefId="1"><w:lsid w:val="0A7B3C
71"/><w:plt w:val="Multilevel"/><w:tmpl w:val="0409001D"/><w:styleLink w:val="highlights-itemizedlist"/><w:lvl w:ilvl="0"><w:start w:val="1"/><w:nfc w:val="23"/><w:lvlText w:val="ï‚·"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="360"/></w:tabs><w:ind w:left="360" w:hanging="360"/></w:pPr><w:rPr><w:rFonts w:ascii="Symbol" w:h-ansi="Symbol" w:hint="default"/><w:color w:val="auto"/></w:rPr></w:lvl><w:lvl w:ilvl="1"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%2)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="720"/></w:tabs><w:ind w:left="720" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1080"/></w:tabs><w:ind w:left="1080" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="3"><w:start w:val="1"/><w:lvlText w:val="(%4)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></w:tab!
 s><w:ind w:left="1440" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="(%5)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1800"/></w:tabs><w:ind w:left="1800" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="(%6)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="6"><w:start w:val="1"/><w:lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2520"/></w:tabs><w:ind w:left="2520" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/><w:lvlJc!
  w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3240"/></w:ta
bs><w:ind w:left="3240" w:hanging="360"/></w:pPr></w:lvl></w:listDef><w:listDef w:listDefId="2"><w:lsid w:val="121A2880"/><w:plt w:val="Multilevel"/><w:tmpl w:val="0409001D"/><w:lvl w:ilvl="0"><w:start w:val="1"/><w:lvlText w:val="%1)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="360"/></w:tabs><w:ind w:left="360" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="1"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%2)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="720"/></w:tabs><w:ind w:left="720" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1080"/></w:tabs><w:ind w:left="1080" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="3"><w:start w:val="1"/><w:lvlText w:val="(%4)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr><!
 /w:lvl><w:lvl w:ilvl="4"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="(%5)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1800"/></w:tabs><w:ind w:left="1800" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="(%6)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="6"><w:start w:val="1"/><w:lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2520"/></w:tabs><w:ind w:left="2520" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list"!
  w:pos="3240"/></w:tabs><w:ind w:left="3240" w:hanging="360"/></w:pPr>
</w:lvl></w:listDef><w:listDef w:listDefId="3"><w:lsid w:val="1341553B"/><w:plt w:val="Multilevel"/><w:tmpl w:val="0409001D"/><w:lvl w:ilvl="0"><w:start w:val="1"/><w:lvlText w:val="%1)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="360"/></w:tabs><w:ind w:left="360" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="1"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%2)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="720"/></w:tabs><w:ind w:left="720" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1080"/></w:tabs><w:ind w:left="1080" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="3"><w:start w:val="1"/><w:lvlText w:val="(%4)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4"><w:start w:val="1"/><w:n!
 fc w:val="4"/><w:lvlText w:val="(%5)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1800"/></w:tabs><w:ind w:left="1800" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="(%6)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="6"><w:start w:val="1"/><w:lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2520"/></w:tabs><w:ind w:left="2520" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3240"/></w:tabs><w:ind w:left="3240" w:ha!
 nging="360"/></w:pPr></w:lvl></w:listDef><w:listDef w:listDefId="4"><w
:lsid w:val="1FB77228"/><w:plt w:val="Multilevel"/><w:tmpl w:val="0409001D"/><w:styleLink w:val="itemizedlist1"/><w:lvl w:ilvl="0"><w:start w:val="1"/><w:nfc w:val="23"/><w:lvlText w:val="ï‚·"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="360"/></w:tabs><w:ind w:left="360" w:hanging="360"/></w:pPr><w:rPr><w:rFonts w:ascii="Symbol" w:h-ansi="Symbol" w:hint="default"/><w:color w:val="auto"/></w:rPr></w:lvl><w:lvl w:ilvl="1"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%2)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="720"/></w:tabs><w:ind w:left="720" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1080"/></w:tabs><w:ind w:left="1080" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="3"><w:start w:val="1"/><w:lvlText w:val="(%4)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"!
 /></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="(%5)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1800"/></w:tabs><w:ind w:left="1800" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="(%6)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="6"><w:start w:val="1"/><w:lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2520"/></w:tabs><w:ind w:left="2520" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/!
 ><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3240
"/></w:tabs><w:ind w:left="3240" w:hanging="360"/></w:pPr></w:lvl></w:listDef><w:listDef w:listDefId="5"><w:lsid w:val="2B870EBE"/><w:plt w:val="Multilevel"/><w:tmpl w:val="0409001D"/><w:styleLink w:val="highlights-orderedlist"/><w:lvl w:ilvl="0"><w:start w:val="1"/><w:lvlText w:val="%1)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="360"/></w:tabs><w:ind w:left="360" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="1"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%2)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="720"/></w:tabs><w:ind w:left="720" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1080"/></w:tabs><w:ind w:left="1080" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="3"><w:start w:val="1"/><w:lvlText w:val="(%4)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></!
 w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="(%5)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1800"/></w:tabs><w:ind w:left="1800" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="(%6)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="6"><w:start w:val="1"/><w:lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2520"/></w:tabs><w:ind w:left="2520" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/><w:!
 lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3240"/><
/w:tabs><w:ind w:left="3240" w:hanging="360"/></w:pPr></w:lvl></w:listDef><w:listDef w:listDefId="6"><w:lsid w:val="38E8493E"/><w:plt w:val="HybridMultilevel"/><w:tmpl w:val="17E4C930"/><w:lvl w:ilvl="0" w:tplc="2F90EBE6"><w:start w:val="1"/><w:nfc w:val="23"/><w:pStyle w:val="note"/><w:lvlText w:val=""/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr><w:rPr><w:rFonts w:ascii="Symbol" w:h-ansi="Symbol" w:hint="default"/></w:rPr></w:lvl><w:lvl w:ilvl="1" w:tplc="04090003" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="23"/><w:lvlText w:val="o"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr><w:rPr><w:rFonts w:ascii="Courier New" w:h-ansi="Courier New" w:cs="Courier New" w:hint="default"/></w:rPr></w:lvl><w:lvl w:ilvl="2" w:tplc="04090005" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="23"/><w:lvlText w:val="ï!
 ‚§"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="360"/></w:pPr><w:rPr><w:rFonts w:ascii="Wingdings" w:h-ansi="Wingdings" w:hint="default"/></w:rPr></w:lvl><w:lvl w:ilvl="3" w:tplc="04090001" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="23"/><w:lvlText w:val="ï‚·"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr><w:rPr><w:rFonts w:ascii="Symbol" w:h-ansi="Symbol" w:hint="default"/></w:rPr></w:lvl><w:lvl w:ilvl="4" w:tplc="04090003" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="23"/><w:lvlText w:val="o"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3600"/></w:tabs><w:ind w:left="3600" w:hanging="360"/></w:pPr><w:rPr><w:rFonts w:ascii="Courier New" w:h-ansi="Courier New" w:cs="Courier New" w:hint="default"/></w:rPr></w:lvl><w:lvl w:ilvl="5" w:tplc="04090005" w:tentative="on"><w:start w:val="1"/><w:nfc!
  w:val="23"/><w:lvlText w:val=""/><w:lvlJc w:val="left"/><w:pPr><w:
tabs><w:tab w:val="list" w:pos="4320"/></w:tabs><w:ind w:left="4320" w:hanging="360"/></w:pPr><w:rPr><w:rFonts w:ascii="Wingdings" w:h-ansi="Wingdings" w:hint="default"/></w:rPr></w:lvl><w:lvl w:ilvl="6" w:tplc="04090001" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="23"/><w:lvlText w:val=""/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="5040"/></w:tabs><w:ind w:left="5040" w:hanging="360"/></w:pPr><w:rPr><w:rFonts w:ascii="Symbol" w:h-ansi="Symbol" w:hint="default"/></w:rPr></w:lvl><w:lvl w:ilvl="7" w:tplc="04090003" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="23"/><w:lvlText w:val="o"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="5760"/></w:tabs><w:ind w:left="5760" w:hanging="360"/></w:pPr><w:rPr><w:rFonts w:ascii="Courier New" w:h-ansi="Courier New" w:cs="Courier New" w:hint="default"/></w:rPr></w:lvl><w:lvl w:ilvl="8" w:tplc="04090005" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="23"/><w:lvlText w:val=""/><w!
 :lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="6480"/></w:tabs><w:ind w:left="6480" w:hanging="360"/></w:pPr><w:rPr><w:rFonts w:ascii="Wingdings" w:h-ansi="Wingdings" w:hint="default"/></w:rPr></w:lvl></w:listDef><w:listDef w:listDefId="7"><w:lsid w:val="3FD63D4B"/><w:plt w:val="HybridMultilevel"/><w:tmpl w:val="49AE2440"/><w:lvl w:ilvl="0" w:tplc="0C405940"><w:start w:val="1"/><w:pStyle w:val="orderedlist4"/><w:lvlText w:val="%1)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="720"/></w:tabs><w:ind w:left="720" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="1" w:tplc="04090019" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%2."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2" w:tplc="0409001B" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3."/><w:lvlJc w:val="right"/><w:pPr><w:tab!
 s><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:ha
nging="180"/></w:pPr></w:lvl><w:lvl w:ilvl="3" w:tplc="0409000F" w:tentative="on"><w:start w:val="1"/><w:lvlText w:val="%4."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4" w:tplc="04090019" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%5."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3600"/></w:tabs><w:ind w:left="3600" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5" w:tplc="0409001B" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%6."/><w:lvlJc w:val="right"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="4320"/></w:tabs><w:ind w:left="4320" w:hanging="180"/></w:pPr></w:lvl><w:lvl w:ilvl="6" w:tplc="0409000F" w:tentative="on"><w:start w:val="1"/><w:lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="5040"/></w:tabs><w:ind w:left="5040" w:hanging="360"/></w:pPr></w!
 :lvl><w:lvl w:ilvl="7" w:tplc="04090019" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="5760"/></w:tabs><w:ind w:left="5760" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8" w:tplc="0409001B" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/><w:lvlJc w:val="right"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="6480"/></w:tabs><w:ind w:left="6480" w:hanging="180"/></w:pPr></w:lvl></w:listDef><w:listDef w:listDefId="8"><w:lsid w:val="3FEC0422"/><w:plt w:val="Multilevel"/><w:tmpl w:val="0409001D"/><w:styleLink w:val="itemizedlist"/><w:lvl w:ilvl="0"><w:start w:val="1"/><w:nfc w:val="23"/><w:lvlText w:val="ï‚·"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="360"/></w:tabs><w:ind w:left="360" w:hanging="360"/></w:pPr><w:rPr><w:rFonts w:ascii="Symbol" w:h-ansi="Symbol" w:hint="default"/><w:color w:val="auto"/></w:rPr></w:lvl><w:lvl w:ilvl=!
 "1"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%2)"/><w:l
vlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="720"/></w:tabs><w:ind w:left="720" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1080"/></w:tabs><w:ind w:left="1080" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="3"><w:start w:val="1"/><w:lvlText w:val="(%4)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="(%5)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1800"/></w:tabs><w:ind w:left="1800" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="(%6)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="!
 6"><w:start w:val="1"/><w:lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2520"/></w:tabs><w:ind w:left="2520" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3240"/></w:tabs><w:ind w:left="3240" w:hanging="360"/></w:pPr></w:lvl></w:listDef><w:listDef w:listDefId="9"><w:lsid w:val="5570737B"/><w:plt w:val="Multilevel"/><w:tmpl w:val="0409001D"/><w:lvl w:ilvl="0"><w:start w:val="1"/><w:lvlText w:val="%1)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="360"/></w:tabs><w:ind w:left="360" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="1"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlT!
 ext w:val="%2)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="l
ist" w:pos="720"/></w:tabs><w:ind w:left="720" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1080"/></w:tabs><w:ind w:left="1080" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="3"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="(%4)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="(%5)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1800"/></w:tabs><w:ind w:left="1800" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="(%6)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="6"><w:start w:val="1"/><w:lvlTe!
 xt w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2520"/></w:tabs><w:ind w:left="2520" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3240"/></w:tabs><w:ind w:left="3240" w:hanging="360"/></w:pPr></w:lvl></w:listDef><w:listDef w:listDefId="10"><w:lsid w:val="59A72500"/><w:plt w:val="Multilevel"/><w:tmpl w:val="0409001D"/><w:lvl w:ilvl="0"><w:start w:val="1"/><w:lvlText w:val="%1)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="360"/></w:tabs><w:ind w:left="360" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="1"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%2)"/><w:lvlJc w:va!
 l="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="720"/></w:tabs><w:
ind w:left="720" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1080"/></w:tabs><w:ind w:left="1080" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="3"><w:start w:val="1"/><w:lvlText w:val="(%4)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="(%5)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1800"/></w:tabs><w:ind w:left="1800" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="(%6)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="6"><w:start w:val="1"/><w:lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w!
 :tabs><w:tab w:val="list" w:pos="2520"/></w:tabs><w:ind w:left="2520" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3240"/></w:tabs><w:ind w:left="3240" w:hanging="360"/></w:pPr></w:lvl></w:listDef><w:listDef w:listDefId="11"><w:lsid w:val="5F8E0F88"/><w:plt w:val="Multilevel"/><w:tmpl w:val="0409001D"/><w:lvl w:ilvl="0"><w:start w:val="1"/><w:lvlText w:val="%1)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="360"/></w:tabs><w:ind w:left="360" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="1"><w:start w:val="1"/><w:nfc w:val="23"/><w:lvlText w:val="ï‚·"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:!
 pos="720"/></w:tabs><w:ind w:left="720" w:hanging="360"/></w:pPr><w:rP
r><w:rFonts w:ascii="Symbol" w:h-ansi="Symbol" w:hint="default"/><w:color w:val="auto"/></w:rPr></w:lvl><w:lvl w:ilvl="2"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1080"/></w:tabs><w:ind w:left="1080" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="3"><w:start w:val="1"/><w:lvlText w:val="(%4)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="(%5)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1800"/></w:tabs><w:ind w:left="1800" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="(%6)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="6"><w:start w:val="1"/><w!
 :lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2520"/></w:tabs><w:ind w:left="2520" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3240"/></w:tabs><w:ind w:left="3240" w:hanging="360"/></w:pPr></w:lvl></w:listDef><w:listDef w:listDefId="12"><w:lsid w:val="63A74F9B"/><w:plt w:val="HybridMultilevel"/><w:tmpl w:val="4BA09C26"/><w:lvl w:ilvl="0" w:tplc="069ABFBE"><w:start w:val="1"/><w:pStyle w:val="orderedlist"/><w:lvlText w:val="%1."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="720"/></w:tabs><w:ind w:left="720" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="1" w:tplc="040900!
 19" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText 
w:val="%2."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2" w:tplc="0409001B" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3."/><w:lvlJc w:val="right"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="180"/></w:pPr></w:lvl><w:lvl w:ilvl="3" w:tplc="0409000F" w:tentative="on"><w:start w:val="1"/><w:lvlText w:val="%4."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4" w:tplc="04090019" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%5."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3600"/></w:tabs><w:ind w:left="3600" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5" w:tplc="0409001B" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val=!
 "%6."/><w:lvlJc w:val="right"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="4320"/></w:tabs><w:ind w:left="4320" w:hanging="180"/></w:pPr></w:lvl><w:lvl w:ilvl="6" w:tplc="0409000F" w:tentative="on"><w:start w:val="1"/><w:lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="5040"/></w:tabs><w:ind w:left="5040" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7" w:tplc="04090019" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="5760"/></w:tabs><w:ind w:left="5760" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8" w:tplc="0409001B" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/><w:lvlJc w:val="right"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="6480"/></w:tabs><w:ind w:left="6480" w:hanging="180"/></w:pPr></w:lvl></w:listDef><w:listDef w:listDefId="13"><w:lsid w:val="64590623"/><w:plt w:val="HybridMultilevel"/><w:tmpl w:val!
 ="FF22825E"/><w:lvl w:ilvl="0" w:tplc="D1DEF1CE"><w:start w:val="1"/><
w:nfc w:val="1"/><w:pStyle w:val="orderedlist3"/><w:lvlText w:val="%1."/><w:lvlJc w:val="right"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1800"/></w:tabs><w:ind w:left="1800" w:hanging="180"/></w:pPr></w:lvl><w:lvl w:ilvl="1" w:tplc="04090019" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%2."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2520"/></w:tabs><w:ind w:left="2520" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2" w:tplc="0409001B" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3."/><w:lvlJc w:val="right"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3240"/></w:tabs><w:ind w:left="3240" w:hanging="180"/></w:pPr></w:lvl><w:lvl w:ilvl="3" w:tplc="0409000F" w:tentative="on"><w:start w:val="1"/><w:lvlText w:val="%4."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3960"/></w:tabs><w:ind w:left="3960" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4" w:tplc="04090019" w:tentative!
 ="on"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%5."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="4680"/></w:tabs><w:ind w:left="4680" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5" w:tplc="0409001B" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%6."/><w:lvlJc w:val="right"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="5400"/></w:tabs><w:ind w:left="5400" w:hanging="180"/></w:pPr></w:lvl><w:lvl w:ilvl="6" w:tplc="0409000F" w:tentative="on"><w:start w:val="1"/><w:lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="6120"/></w:tabs><w:ind w:left="6120" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7" w:tplc="04090019" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="6840"/></w:tabs><w:ind w:left="6840" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8" w:tplc="0409001B" w:tentative="on"!
 ><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/><w:lvlJ
c w:val="right"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="7560"/></w:tabs><w:ind w:left="7560" w:hanging="180"/></w:pPr></w:lvl></w:listDef><w:listDef w:listDefId="14"><w:lsid w:val="69727D75"/><w:plt w:val="Multilevel"/><w:tmpl w:val="0409001D"/><w:lvl w:ilvl="0"><w:start w:val="1"/><w:lvlText w:val="%1)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="360"/></w:tabs><w:ind w:left="360" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="1"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%2)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="720"/></w:tabs><w:ind w:left="720" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1080"/></w:tabs><w:ind w:left="1080" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="3"><w:start w:val="1"/><w:lvlText w:val="(%4)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="lis!
 t" w:pos="1440"/></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="(%5)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1800"/></w:tabs><w:ind w:left="1800" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="(%6)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="6"><w:start w:val="1"/><w:lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2520"/></w:tabs><w:ind w:left="2520" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlTe!
 xt w:val="%9."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="li
st" w:pos="3240"/></w:tabs><w:ind w:left="3240" w:hanging="360"/></w:pPr></w:lvl></w:listDef><w:listDef w:listDefId="15"><w:lsid w:val="78DC6A50"/><w:plt w:val="HybridMultilevel"/><w:tmpl w:val="AC00310A"/><w:lvl w:ilvl="0" w:tplc="203E5E88"><w:start w:val="1"/><w:nfc w:val="4"/><w:pStyle w:val="orderedlist2"/><w:lvlText w:val="%1)"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="720"/></w:tabs><w:ind w:left="720" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="1" w:tplc="04090019" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%2."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="1440"/></w:tabs><w:ind w:left="1440" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="2" w:tplc="0409001B" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%3."/><w:lvlJc w:val="right"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2160"/></w:tabs><w:ind w:left="2160" w:hanging="180"/></w:pPr></w:lvl><w:lvl w:ilvl="3" w!
 :tplc="0409000F" w:tentative="on"><w:start w:val="1"/><w:lvlText w:val="%4."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="2880"/></w:tabs><w:ind w:left="2880" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="4" w:tplc="04090019" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%5."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="3600"/></w:tabs><w:ind w:left="3600" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="5" w:tplc="0409001B" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%6."/><w:lvlJc w:val="right"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="4320"/></w:tabs><w:ind w:left="4320" w:hanging="180"/></w:pPr></w:lvl><w:lvl w:ilvl="6" w:tplc="0409000F" w:tentative="on"><w:start w:val="1"/><w:lvlText w:val="%7."/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="5040"/></w:tabs><w:ind w:left="5040" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="7" w:tplc="04090019" w:tent!
 ative="on"><w:start w:val="1"/><w:nfc w:val="4"/><w:lvlText w:val="%8.
"/><w:lvlJc w:val="left"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="5760"/></w:tabs><w:ind w:left="5760" w:hanging="360"/></w:pPr></w:lvl><w:lvl w:ilvl="8" w:tplc="0409001B" w:tentative="on"><w:start w:val="1"/><w:nfc w:val="2"/><w:lvlText w:val="%9."/><w:lvlJc w:val="right"/><w:pPr><w:tabs><w:tab w:val="list" w:pos="6480"/></w:tabs><w:ind w:left="6480" w:hanging="180"/></w:pPr></w:lvl></w:listDef><w:list w:ilfo="1"><w:ilst w:val="6"/></w:list><w:list w:ilfo="2"><w:ilst w:val="8"/></w:list><w:list w:ilfo="3"><w:ilst w:val="4"/></w:list><w:list w:ilfo="4"><w:ilst w:val="11"/></w:list><w:list w:ilfo="5"><w:ilst w:val="1"/></w:list><w:list w:ilfo="6"><w:ilst w:val="5"/></w:list><w:list w:ilfo="7"><w:ilst w:val="3"/></w:list><w:list w:ilfo="8"><w:ilst w:val="0"/></w:list><w:list w:ilfo="9"><w:ilst w:val="2"/></w:list><w:list w:ilfo="10"><w:ilst w:val="14"/></w:list><w:list w:ilfo="11"><w:ilst w:val="9"/></w:list><w:list w:ilfo="12"><w:ilst w:val="12"/></w:list><w:list w:ilfo="13!
 "><w:ilst w:val="15"/></w:list><w:list w:ilfo="14"><w:ilst w:val="13"/></w:list><w:list w:ilfo="15"><w:ilst w:val="10"/></w:list><w:list w:ilfo="16"><w:ilst w:val="7"/></w:list></w:lists><w:styles><w:versionOfBuiltInStylenames w:val="4"/><w:latentStyles w:defLockedState="off" w:latentStyleCount="156"/><w:style w:type="paragraph" w:default="on" w:styleId="Normal"><w:name w:val="Normal"/><w:aliases w:val="para"/><w:rsid w:val="000D6E3E"/><w:rPr><wx:font wx:val="Times New Roman"/><w:sz w:val="24"/><w:sz-cs w:val="24"/><w:lang w:val="EN-US" w:fareast="EN-US" w:bidi="AR-SA"/></w:rPr></w:style><w:style w:type="character" w:default="on" w:styleId="DefaultParagraphFont"><w:name w:val="Default Paragraph Font"/><w:semiHidden/></w:style><w:style w:type="table" w:default="on" w:styleId="TableNormal"><w:name w:val="Normal Table"/><wx:uiName wx:val="Table Normal"/><w:semiHidden/><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr><w:tblPr><w:tblInd w:w="0" w:type="dxa"/><w:tblCellMar><w:to!
 p w:w="0" w:type="dxa"/><w:left w:w="108" w:type="dxa"/><w:bottom w:w=
"0" w:type="dxa"/><w:right w:w="108" w:type="dxa"/></w:tblCellMar></w:tblPr></w:style><w:style w:type="list" w:default="on" w:styleId="NoList"><w:name w:val="No List"/><w:semiHidden/></w:style><w:style w:type="paragraph" w:styleId="section-title"><w:name w:val="section-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="section-title"/><w:spacing w:before="120" w:after="120"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="section-subtitle"><w:name w:val="section-subtitle"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="section-subtitle"/><w:spacing w:before="120" w:after="120"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="section-titleabbrev"><w:name w:val="section-titleabbrev"/><w:basedOn w:val="Normal"/><w:rsid w:val="!
 000D6E3E"/><w:pPr><w:pStyle w:val="section-titleabbrev"/><w:spacing w:before="120" w:after="120"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="book-title"><w:name w:val="book-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="book-title"/><w:spacing w:before="240" w:after="240"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="36"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="book-subtitle"><w:name w:val="book-subtitle"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="book-subtitle"/><w:spacing w:before="120" w:after="120"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="book-titleabbrev"><w:name w:val="book-titleabbrev"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/!
 ><w:pPr><w:pStyle w:val="book-titleabbrev"/><w:spacing w:before="120" 
w:after="120"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="article-title"><w:name w:val="article-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="article-title"/><w:spacing w:before="240" w:after="240"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="36"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="article-subtitle"><w:name w:val="article-subtitle"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="article-subtitle"/><w:spacing w:before="120" w:after="120"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="article-titleabbrev"><w:name w:val="article-titleabbrev"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="article-titleabbrev"/><w:spacing w:!
 before="120" w:after="120"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="blockquote"><w:name w:val="blockquote"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="blockquote"/><w:ind w:left="720" w:right="720"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:i/><w:sz w:val="20"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="blockerror"><w:name w:val="blockerror"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="blockerror"/><w:ind w:left="720"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:color w:val="FF0000"/><w:effect w:val="ants-red"/></w:rPr></w:style><w:style w:type="character" w:styleId="inlineerror"><w:name w:val="inlineerror"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:color w:val="FF0000"/><w:effect w:val="ants-red"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId!
 ="legalnotice"><w:name w:val="legalnotice"/><w:basedOn w:val="Normal"/
><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="legalnotice"/><w:pBdr><w:top w:val="single" w:sz="4" wx:bdrwidth="10" w:space="1" w:color="auto"/><w:left w:val="single" w:sz="4" wx:bdrwidth="10" w:space="4" w:color="auto"/><w:bottom w:val="single" w:sz="4" wx:bdrwidth="10" w:space="1" w:color="auto"/><w:right w:val="single" w:sz="4" wx:bdrwidth="10" w:space="4" w:color="auto"/></w:pBdr></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:u w:val="single"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="note"><w:name w:val="note"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="note"/><w:listPr><w:ilfo w:val="1"/></w:listPr></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="sect1-title"><w:name w:val="sect1-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="sect1-title"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/!
 ><w:sz w:val="36"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="sect1-subtitle"><w:name w:val="sect1-subtitle"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="sect1-subtitle"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="sect2-title"><w:name w:val="sect2-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="sect2-title"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="sect2-subtitle"><w:name w:val="sect2-subtitle"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="sect2-subtitle"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="sect3-title"><w:name w:val="sect3-title"/><w:basedOn w!
 :val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="sect3
-title"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="sect3-subtitle"><w:name w:val="sect3-subtitle"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="sect3-subtitle"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="sect4-title"><w:name w:val="sect4-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="sect4-title"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="sect4-subtitle"><w:name w:val="sect4-subtitle"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="sect4-subtitle"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="sect5-title"><w:name w:val="sect5-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:p!
 Pr><w:pStyle w:val="sect5-title"/></w:pPr><w:rPr><w:rFonts w:ascii="Arial" w:h-ansi="Arial"/><wx:font wx:val="Arial"/><w:b/><w:sz w:val="22"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="sect5-subtitle"><w:name w:val="sect5-subtitle"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="sect5-subtitle"/></w:pPr><w:rPr><w:rFonts w:ascii="Arial" w:h-ansi="Arial"/><wx:font wx:val="Arial"/><w:sz w:val="20"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="simpara"><w:name w:val="simpara"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="simpara"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="formalpara"><w:name w:val="formalpara"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="formalpara"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="formalpara-title"><w:na!
 me w:val="formalpara-title"/><w:basedOn w:val="Normal"/><w:rsid w:val=
"000D6E3E"/><w:pPr><w:pStyle w:val="formalpara-title"/><w:ind w:left="720"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="simplesect-title"><w:name w:val="simplesect-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="simplesect-title"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="simplesect-subtitle"><w:name w:val="simplesect-subtitle"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="simplesect-subtitle"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="blockquote-attribution"><w:name w:val="blockquote-attribution"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="blockquote-attribution"/><w:ind w:left="1440"/></w:pPr><w:rPr><w:rFonts !
 w:ascii="Arial Narrow" w:h-ansi="Arial Narrow"/><wx:font wx:val="Arial Narrow"/><w:sz w:val="16"/><w:u w:val="single"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="blockquote-title"><w:name w:val="blockquote-title"/><w:basedOn w:val="Normal"/><w:next w:val="blockquote"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="blockquote-title"/><w:ind w:left="720"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/></w:rPr></w:style><w:style w:type="list" w:styleId="itemizedlist"><w:name w:val="itemizedlist"/><w:basedOn w:val="NoList"/><w:rsid w:val="000D6E3E"/><w:pPr><w:listPr><w:ilfo w:val="2"/></w:listPr></w:pPr></w:style><w:style w:type="paragraph" w:styleId="note-title"><w:name w:val="note-title"/><w:basedOn w:val="note"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="note-title"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="caution"><w:name w:val="caution"/><w:basedOn w:!
 val="note"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="caution"
/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:color w:val="FF0000"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="caution-title"><w:name w:val="caution-title"/><w:basedOn w:val="caution"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="caution-title"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="warning"><w:name w:val="warning"/><w:basedOn w:val="note"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="warning"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:color w:val="FFCC00"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="warning-title"><w:name w:val="warning-title"/><w:basedOn w:val="warning"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="warning-title"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="important"><w:name w:val="important"/><w:basedOn w:val="note"/!
 ><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="important"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:color w:val="000080"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="important-title"><w:name w:val="important-title"/><w:basedOn w:val="important"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="important-title"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="chapter-title"><w:name w:val="chapter-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="chapter-title"/><w:spacing w:before="240" w:after="240"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="36"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="chapter-subtitle"><w:name w:val="chapter-subtitle"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="chapter-subtitle"/><w:spacing w:before="120" w:after!
 ="120"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times Ne
w Roman"/><w:b/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="chapter-titleabbrev"><w:name w:val="chapter-titleabbrev"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="chapter-titleabbrev"/><w:spacing w:before="120" w:after="120"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="appendix-title"><w:name w:val="appendix-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="appendix-title"/><w:spacing w:before="240" w:after="240"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="36"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="preface-title"><w:name w:val="preface-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="preface-title"/><w:spacing w:before="240" w:after="240"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="T!
 imes New Roman"/><w:b/><w:sz w:val="36"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="bibliography-title"><w:name w:val="bibliography-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="bibliography-title"/><w:spacing w:before="240" w:after="240"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="36"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="glossary-title"><w:name w:val="glossary-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="glossary-title"/><w:spacing w:before="240" w:after="240"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="36"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="index-title"><w:name w:val="index-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="index-title"/><w:spacing w:before="240" w:after="240"/><w:jc w:val="center"/></w:pPr><w!
 :rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="36"/></w:rP
r></w:style><w:style w:type="list" w:styleId="itemizedlist1"><w:name w:val="itemizedlist1"/><w:basedOn w:val="NoList"/><w:rsid w:val="000D6E3E"/><w:pPr><w:listPr><w:ilfo w:val="3"/></w:listPr></w:pPr></w:style><w:style w:type="paragraph" w:styleId="variablelist-term"><w:name w:val="variablelist-term"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="variablelist-term"/></w:pPr><w:rPr><w:rFonts w:ascii="Arial" w:h-ansi="Arial"/><wx:font wx:val="Arial"/><w:sz w:val="20"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="variablelist-title"><w:name w:val="variablelist-title"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="variablelist-title"/><w:spacing w:before="120" w:after="120"/><w:ind w:left="720"/></w:pPr><w:rPr><w:rFonts w:ascii="Arial" w:h-ansi="Arial"/><wx:font wx:val="Arial"/><w:b/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="variablelist-titleabbrev"><w:name w:val="variablelist-titleabbrev"/!
 ><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="variablelist-titleabbrev"/><w:ind w:left="720"/></w:pPr><w:rPr><w:rFonts w:ascii="Arial" w:h-ansi="Arial"/><wx:font wx:val="Arial"/><w:i/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="tip"><w:name w:val="tip"/><w:basedOn w:val="note"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="tip"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:color w:val="003300"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="tip-title"><w:name w:val="tip-title"/><w:basedOn w:val="tip"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="tip-title"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="para-continue"><w:name w:val="para-continue"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="para-continue"/><w:ind w:left="720"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style!
 ><w:style w:type="paragraph" w:styleId="releaseinfo"><w:name w:val="re
leaseinfo"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="releaseinfo"/><w:shd w:val="clear" w:color="auto" w:fill="FFFF99"/></w:pPr><w:rPr><w:rFonts w:ascii="Lucida Sans Unicode" w:h-ansi="Lucida Sans Unicode"/><wx:font wx:val="Lucida Sans Unicode"/><w:sz w:val="18"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="author"><w:name w:val="author"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="author"/><w:ind w:left="720"/></w:pPr><w:rPr><w:rFonts w:ascii="Arial" w:h-ansi="Arial"/><wx:font wx:val="Arial"/><w:sz w:val="20"/></w:rPr></w:style><w:style w:type="character" w:styleId="surname"><w:name w:val="surname"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:b/></w:rPr></w:style><w:style w:type="character" w:styleId="firstname"><w:name w:val="firstname"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:i/></w:rPr></w:style><w:style w:type="character"!
  w:styleId="honorific"><w:name w:val="honorific"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:b/></w:rPr></w:style><w:style w:type="character" w:styleId="lineage"><w:name w:val="lineage"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:u w:val="single"/></w:rPr></w:style><w:style w:type="character" w:styleId="othername"><w:name w:val="othername"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:i/></w:rPr></w:style><w:style w:type="character" w:styleId="shortaffil"><w:name w:val="shortaffil"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:u w:val="single"/></w:rPr></w:style><w:style w:type="character" w:styleId="jobtitle"><w:name w:val="jobtitle"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:b/></w:rPr></w:style><w:style w:type="character" w:styleId="orgname"><w:name w:val="orgname"/><w:basedOn w:val="DefaultParagraphFont"/>!
 <w:rsid w:val="000D6E3E"/><w:rPr><w:rFonts w:ascii="Arial" w:h-ansi="A
rial"/><w:b/></w:rPr></w:style><w:style w:type="character" w:styleId="orgdiv"><w:name w:val="orgdiv"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:rFonts w:ascii="Arial" w:h-ansi="Arial"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="affiliation"><w:name w:val="affiliation"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="affiliation"/><w:ind w:left="1440"/></w:pPr><w:rPr><w:rFonts w:ascii="Arial" w:h-ansi="Arial"/><wx:font wx:val="Arial"/><w:sz w:val="20"/></w:rPr></w:style><w:style w:type="character" w:styleId="contrib"><w:name w:val="contrib"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:i/></w:rPr></w:style><w:style w:type="character" w:styleId="street"><w:name w:val="street"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:rFonts w:ascii="Lucida Sans Unicode" w:h-ansi="Lucida Sans Unicode"/></w:rPr></w:style><w:style w:type="character" w:s!
 tyleId="pob"><w:name w:val="pob"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:rFonts w:ascii="Lucida Sans Unicode" w:h-ansi="Lucida Sans Unicode"/></w:rPr></w:style><w:style w:type="character" w:styleId="postcode"><w:name w:val="postcode"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:rFonts w:ascii="Lucida Sans Unicode" w:h-ansi="Lucida Sans Unicode"/><w:b/></w:rPr></w:style><w:style w:type="character" w:styleId="city"><w:name w:val="city"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:rFonts w:ascii="Lucida Sans Unicode" w:h-ansi="Lucida Sans Unicode"/><w:b/></w:rPr></w:style><w:style w:type="character" w:styleId="state"><w:name w:val="state"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:rFonts w:ascii="Lucida Sans Unicode" w:h-ansi="Lucida Sans Unicode"/><w:b/></w:rPr></w:style><w:style w:type="character" w:styleId="country"><w:name w:val="countr!
 y"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/
><w:rPr><w:rFonts w:ascii="Lucida Sans Unicode" w:h-ansi="Lucida Sans Unicode"/><w:b/></w:rPr></w:style><w:style w:type="character" w:styleId="phone"><w:name w:val="phone"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:rFonts w:ascii="Courier New" w:h-ansi="Courier New"/></w:rPr></w:style><w:style w:type="character" w:styleId="fax"><w:name w:val="fax"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:rFonts w:ascii="Courier New" w:h-ansi="Courier New"/></w:rPr></w:style><w:style w:type="character" w:styleId="email"><w:name w:val="email"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:rFonts w:ascii="Arial" w:h-ansi="Arial"/><w:color w:val="0000FF"/><w:u w:val="single"/></w:rPr></w:style><w:style w:type="character" w:styleId="otheraddr"><w:name w:val="otheraddr"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:rFonts w:ascii="Lucida Sans Unicode" w:h-ansi="Luc!
 ida Sans Unicode"/><w:u w:val="single"/></w:rPr></w:style><w:style w:type="character" w:styleId="ulink"><w:name w:val="ulink"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:color w:val="0000FF"/><w:u w:val="single"/></w:rPr></w:style><w:style w:type="character" w:styleId="attribute-name"><w:name w:val="attribute-name"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:b/></w:rPr></w:style><w:style w:type="character" w:styleId="attribute-value"><w:name w:val="attribute-value"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:u w:val="single"/></w:rPr></w:style><w:style w:type="character" w:styleId="attributes"><w:name w:val="attributes"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:vanish/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="informalfigure-imagedata"><w:name w:val="informalfigure-imagedata"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6!
 E3E"/><w:pPr><w:pStyle w:val="informalfigure-imagedata"/><w:spacing w:
before="120" w:after="120"/><w:ind w:left="720"/></w:pPr><w:rPr><w:rFonts w:ascii="Courier New" w:h-ansi="Courier New"/><wx:font wx:val="Courier New"/><w:b/><w:sz w:val="20"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="highlights"><w:name w:val="highlights"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="highlights"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="list" w:styleId="highlights-itemizedlist"><w:name w:val="highlights-itemizedlist"/><w:basedOn w:val="NoList"/><w:rsid w:val="000D6E3E"/><w:pPr><w:listPr><w:ilfo w:val="5"/></w:listPr></w:pPr></w:style><w:style w:type="list" w:styleId="highlights-orderedlist"><w:name w:val="highlights-orderedlist"/><w:basedOn w:val="NoList"/><w:rsid w:val="000D6E3E"/><w:pPr><w:listPr><w:ilfo w:val="6"/></w:listPr></w:pPr></w:style><w:style w:type="paragraph" w:styleId="highlights-note"><w:name w:val="highlights-note"/><w:basedOn w:val="note"/><w:rsid w:v!
 al="000D6E3E"/><w:pPr><w:pStyle w:val="highlights-note"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="highlights-caution"><w:name w:val="highlights-caution"/><w:basedOn w:val="caution"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="highlights-caution"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="highlights-important"><w:name w:val="highlights-important"/><w:basedOn w:val="important"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="highlights-important"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="highlights-tip"><w:name w:val="highlights-tip"/><w:basedOn w:val="tip"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="highlights-tip"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="highlights-warning"><w:name w:val="highlights-!
 warning"/><w:basedOn w:val="warning"/><w:rsid w:val="000D6E3E"/><w:pPr
><w:pStyle w:val="highlights-warning"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="xinclude"><w:name w:val="xinclude"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="xinclude"/><w:shd w:val="solid" w:color="auto" w:fill="0C0C0C" wx:bgcolor="000000"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:color w:val="FF0000"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="Style1"><w:name w:val="Style1"/><w:basedOn w:val="Normal"/><w:next w:val="xinclude"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="Style1"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="part-title"><w:name w:val="part-title"/><w:basedOn w:val="book-title"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="part-title"/><w:shd w:val="clear" w:color="auto" w:fill="CCFFFF"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style!
  w:type="paragraph" w:styleId="abstract"><w:name w:val="abstract"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="abstract"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:i/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="abstract-title"><w:name w:val="abstract-title"/><w:basedOn w:val="sect3-title"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="abstract-title"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="Caption"><w:name w:val="caption"/><wx:uiName wx:val="Caption"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="Caption"/><w:jc w:val="center"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:i/><w:sz w:val="18"/></w:rPr></w:style><w:style w:type="character" w:styleId="citetitle"><w:name w:val="citetitle"/><w:basedOn w:val="DefaultParagraphFont"/><w:rsid w:val="000D6E3E"/><w:rPr><w:i/></w:rPr></w:style><w:style w:type="paragraph"!
  w:styleId="bridgehead"><w:name w:val="bridgehead"/><w:basedOn w:val="
Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="bridgehead"/><w:spacing w:before="120" w:after="120"/><w:ind w:left="720"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/><w:b/><w:sz w:val="28"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="orderedlist"><w:name w:val="orderedlist"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="orderedlist"/><w:listPr><w:ilfo w:val="12"/></w:listPr></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="orderedlist1"><w:name w:val="orderedlist1"/><w:basedOn w:val="orderedlist"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="orderedlist1"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="orderedlist2"><w:name w:val="orderedlist2"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="orderedlist2"/><w:listPr><w:ilfo w:val="13"/></w:listPr><w:ind w:left="108!
 0"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="orderedlist3"><w:name w:val="orderedlist3"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="orderedlist3"/><w:listPr><w:ilfo w:val="14"/></w:listPr><w:tabs><w:tab w:val="clear" w:pos="1800"/><w:tab w:val="list" w:pos="1620"/></w:tabs><w:ind w:left="1627" w:hanging="360"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="orderedlist4"><w:name w:val="orderedlist4"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="orderedlist4"/><w:listPr><w:ilfo w:val="16"/></w:listPr><w:ind w:left="1800"/></w:pPr><w:rPr><wx:font wx:val="Times New Roman"/></w:rPr></w:style><w:style w:type="paragraph" w:styleId="programlisting"><w:name w:val="programlisting"/><w:basedOn w:val="Normal"/><w:rsid w:val="000D6E3E"/><w:pPr><w:pStyle w:val="programlisting"/></w:pPr><w:rPr><w:rFo!
 nts w:ascii="Courier New" w:h-ansi="Courier New"/><wx:font wx:val="Cou
rier New"/><w:sz w:val="20"/></w:rPr></w:style></w:styles><w:docPr><w:view w:val="print"/><w:zoom w:percent="100"/><w:doNotEmbedSystemFonts/><w:proofState w:spelling="clean" w:grammar="clean"/><w:attachedTemplate w:val=""/><w:defaultTabStop w:val="720"/><w:punctuationKerning/><w:characterSpacingControl w:val="DontCompress"/><w:optimizeForBrowser/><w:validateAgainstSchema/><w:saveInvalidXML w:val="off"/><w:ignoreMixedContent w:val="off"/><w:alwaysShowPlaceholderText w:val="off"/><w:compat><w:breakWrappedTables/><w:snapToGridInCell/><w:wrapTextWithPunct/><w:useAsianBreakRules/><w:dontGrowAutofit/></w:compat></w:docPr><w:body><wx:sect><w:p><w:r><w:t>This document intentionally left blank.</w:t></w:r></w:p><w:sectPr><w:pgSz w:w="12240" w:h="15840"/><w:pgMar w:top="1440" w:right="1800" w:bottom="1440" w:left="1800" w:header="720" w:footer="720" w:gutter="0"/><w:cols w:space="720"/><w:docGrid w:line-pitch="360"/></w:sectPr></wx:sect></w:body></w:wordDocument>
\ No newline at end of file

Added: trunk/docs/docbook/src/main/resources/roundtrip/wordml-blocks.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/wordml-blocks.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/wordml-blocks.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,261 @@
+<?xml version="1.0" encoding="utf-8"?>
+<axsl:stylesheet xmlns:axsl="http://www.w3.org/1999/XSL/Transform" xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core" xmlns:aml="http://schemas.microsoft.com/aml/2001/core" xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" version="1.0">
+<!--====================================-->
+<!--=                                  =-->
+<!--=   DO NOT EDIT THIS STYLESHEET    =-->
+<!--=                                  =-->
+<!--= This stylesheet is generated     =-->
+<!--= by makeSections.xsl and a        =-->
+<!--= mapping specification.           =-->
+<!--=                                  =-->
+<!--= Revision history:                =-->
+<!--=  1.0 2005-11-08 SRB              =-->
+<!--=   Initial version.               =-->
+<!--=                                  =-->
+<!--= $Id: wordml-blocks.xsl 5448 2005-11-11 05:18:16Z balls $ =-->
+<!--=                                  =-->
+<!--====================================-->
+  <axsl:output indent="yes" encoding="utf-8"/>
+  <axsl:strip-space elements="*"/>
+  <axsl:preserve-space elements="w:t"/>
+  <axsl:template match="wx:sub-section">
+    <axsl:variable name="subsections" select="w:p[w:pPr/w:pStyle/@w:val = &quot;bibliography&quot; or w:pPr/w:pStyle/@w:val = &quot;bibliography-title&quot; or w:pPr/w:pStyle/@w:val = &quot;glossary&quot; or w:pPr/w:pStyle/@w:val = &quot;glossary-title&quot; or w:pPr/w:pStyle/@w:val = &quot;qandaset&quot; or w:pPr/w:pStyle/@w:val = &quot;qandaset-title&quot;]"/>
+    <axsl:copy>
+      <axsl:apply-templates select="@*"/>
+      <axsl:choose>
+        <axsl:when test="$subsections">
+          <axsl:apply-templates select="$subsections[1]/preceding-sibling::node()"/>
+          <axsl:apply-templates select="$subsections[1]" mode="subsections">
+            <axsl:with-param name="subsections" select="$subsections[position() != 1]"/>
+          </axsl:apply-templates>
+        </axsl:when>
+        <axsl:when test="wx:sub-section">
+          <axsl:apply-templates select="wx:sub-section[1]/preceding-sibling::node()"/>
+          <axsl:apply-templates select="wx:sub-section"/>
+        </axsl:when>
+        <axsl:otherwise>
+          <axsl:apply-templates/>
+        </axsl:otherwise>
+      </axsl:choose>
+    </axsl:copy>
+    <axsl:choose>
+      <axsl:when test="following-sibling::wx:sub-section | following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;bibliography&quot; or w:pPr/w:pStyle/@w:val = &quot;bibliography-title&quot; or w:pPr/w:pStyle/@w:val = &quot;glossary&quot; or w:pPr/w:pStyle/@w:val = &quot;glossary-title&quot; or w:pPr/w:pStyle/@w:val = &quot;qandaset&quot; or w:pPr/w:pStyle/@w:val = &quot;qandaset-title&quot;]">
+        <axsl:variable name="nextComponent" select="following-sibling::*[self::wx:sub-section|self::w:p[w:pPr/w:pStyle/@w:val = &quot;bibliography&quot; or w:pPr/w:pStyle/@w:val = &quot;bibliography-title&quot; or w:pPr/w:pStyle/@w:val = &quot;glossary&quot; or w:pPr/w:pStyle/@w:val = &quot;glossary-title&quot; or w:pPr/w:pStyle/@w:val = &quot;qandaset&quot; or w:pPr/w:pStyle/@w:val = &quot;qandaset-title&quot;]][1]"/>
+        <axsl:apply-templates select="following-sibling::*[generate-id(following-sibling::*[self::wx:sub-section|self::w:p[w:pPr/w:pStyle/@w:val = &quot;bibliography&quot; or w:pPr/w:pStyle/@w:val = &quot;bibliography-title&quot; or w:pPr/w:pStyle/@w:val = &quot;glossary&quot; or w:pPr/w:pStyle/@w:val = &quot;glossary-title&quot; or w:pPr/w:pStyle/@w:val = &quot;qandaset&quot; or w:pPr/w:pStyle/@w:val = &quot;qandaset-title&quot;]][1]) = generate-id($nextComponent)]"/>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:apply-templates select="following-sibling::*"/>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="subsections">
+    <axsl:param name="subsections" select="/.."/>
+    <axsl:choose>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;bibliography&quot; or w:pPr/w:pStyle/@w:val = &quot;bibliography-title&quot;">
+        <wx:sub-section class="bibliography">
+          <axsl:call-template name="copy"/>
+          <axsl:variable name="bibliodivs" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;bibliodiv&quot; or w:pPr/w:pStyle/@w:val = &quot;bibliodiv-title&quot;]"/>
+          <axsl:choose>
+            <axsl:when test="$bibliodivs">
+              <axsl:apply-templates select="following-sibling::*[1]" mode="bibliodivs">
+                <axsl:with-param name="nextSubsection" select="$subsections[1]"/>
+                <axsl:with-param name="bibliodivs" select="$bibliodivs[position() != 1]"/>
+              </axsl:apply-templates>
+            </axsl:when>
+            <axsl:otherwise>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="terminal">
+                <axsl:with-param name="nextSubsection" select="$subsections[1]"/>
+              </axsl:apply-templates>
+            </axsl:otherwise>
+          </axsl:choose>
+        </wx:sub-section>
+      </axsl:when>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;glossary&quot; or w:pPr/w:pStyle/@w:val = &quot;glossary-title&quot;">
+        <wx:sub-section class="glossary">
+          <axsl:call-template name="copy"/>
+          <axsl:variable name="glossdivs" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;glossdiv&quot; or w:pPr/w:pStyle/@w:val = &quot;glossdiv-title&quot;]"/>
+          <axsl:choose>
+            <axsl:when test="$glossdivs">
+              <axsl:apply-templates select="following-sibling::*[1]" mode="glossdivs">
+                <axsl:with-param name="nextSubsection" select="$subsections[1]"/>
+                <axsl:with-param name="glossdivs" select="$glossdivs[position() != 1]"/>
+              </axsl:apply-templates>
+            </axsl:when>
+            <axsl:otherwise>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="terminal">
+                <axsl:with-param name="nextSubsection" select="$subsections[1]"/>
+              </axsl:apply-templates>
+            </axsl:otherwise>
+          </axsl:choose>
+        </wx:sub-section>
+      </axsl:when>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;qandaset&quot; or w:pPr/w:pStyle/@w:val = &quot;qandaset-title&quot;">
+        <wx:sub-section class="qandaset">
+          <axsl:call-template name="copy"/>
+          <axsl:variable name="qandadivs" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;qandadiv&quot; or w:pPr/w:pStyle/@w:val = &quot;qandadiv-title&quot;]"/>
+          <axsl:choose>
+            <axsl:when test="$qandadivs">
+              <axsl:apply-templates select="following-sibling::*[1]" mode="qandadivs">
+                <axsl:with-param name="nextSubsection" select="$subsections[1]"/>
+                <axsl:with-param name="qandadivs" select="$qandadivs[position() != 1]"/>
+              </axsl:apply-templates>
+            </axsl:when>
+            <axsl:otherwise>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="terminal">
+                <axsl:with-param name="nextSubsection" select="$subsections[1]"/>
+              </axsl:apply-templates>
+            </axsl:otherwise>
+          </axsl:choose>
+        </wx:sub-section>
+      </axsl:when>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="*" mode="subsections">
+    <axsl:param name="subsections" select="/.."/>
+    <axsl:copy>
+      <axsl:apply-templates select="@*"/>
+      <axsl:apply-templates mode="subsections"/>
+    </axsl:copy>
+  </axsl:template>
+  <axsl:template match="w:p" mode="bibliodivs">
+    <axsl:param name="nextSubsection" select="/.."/>
+    <axsl:param name="bibliodivs" select="/.."/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextSubsection)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;bibliodiv&quot; or w:pPr/w:pStyle/@w:val = &quot;bibliodiv-title&quot;">
+        <wx:sub-section class="bibliodiv">
+          <axsl:call-template name="copy"/>
+          <axsl:apply-templates select="following-sibling::*[1]" mode="terminal">
+            <axsl:with-param name="nextSubsection" select="$nextSubsection"/>
+            <axsl:with-param name="nextbibliodiv" select="$bibliodivs[1]"/>
+          </axsl:apply-templates>
+        </wx:sub-section>
+        <axsl:choose>
+          <axsl:when test="$nextSubsection and         $bibliodivs and         count($nextSubsection/preceding-sibling::* | $bibliodivs[1]) = count($nextSubsection/preceding-sibling::*)">
+            <axsl:apply-templates select="$bibliodivs[1]" mode="bibliodivs">
+              <axsl:with-param name="nextSubsection" select="$nextSubsection"/>
+              <axsl:with-param name="bibliodivs" select="$bibliodivs[position() != 1]"/>
+            </axsl:apply-templates>
+          </axsl:when>
+          <axsl:when test="$bibliodivs">
+            <axsl:apply-templates select="$bibliodivs[1]" mode="bibliodivs">
+              <axsl:with-param name="bibliodivs" select="$bibliodivs[position() != 1]"/>
+            </axsl:apply-templates>
+          </axsl:when>
+        </axsl:choose>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="bibliodivs">
+          <axsl:with-param name="nextSubsection" select="$nextSubsection"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="glossdivs">
+    <axsl:param name="nextSubsection" select="/.."/>
+    <axsl:param name="glossdivs" select="/.."/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextSubsection)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;glossdiv&quot; or w:pPr/w:pStyle/@w:val = &quot;glossdiv-title&quot;">
+        <wx:sub-section class="glossdiv">
+          <axsl:call-template name="copy"/>
+          <axsl:apply-templates select="following-sibling::*[1]" mode="terminal">
+            <axsl:with-param name="nextSubsection" select="$nextSubsection"/>
+            <axsl:with-param name="nextglossdiv" select="$glossdivs[1]"/>
+          </axsl:apply-templates>
+        </wx:sub-section>
+        <axsl:choose>
+          <axsl:when test="$nextSubsection and         $glossdivs and         count($nextSubsection/preceding-sibling::* | $glossdivs[1]) = count($nextSubsection/preceding-sibling::*)">
+            <axsl:apply-templates select="$glossdivs[1]" mode="glossdivs">
+              <axsl:with-param name="nextSubsection" select="$nextSubsection"/>
+              <axsl:with-param name="glossdivs" select="$glossdivs[position() != 1]"/>
+            </axsl:apply-templates>
+          </axsl:when>
+          <axsl:when test="$glossdivs">
+            <axsl:apply-templates select="$glossdivs[1]" mode="glossdivs">
+              <axsl:with-param name="glossdivs" select="$glossdivs[position() != 1]"/>
+            </axsl:apply-templates>
+          </axsl:when>
+        </axsl:choose>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="glossdivs">
+          <axsl:with-param name="nextSubsection" select="$nextSubsection"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="qandadivs">
+    <axsl:param name="nextSubsection" select="/.."/>
+    <axsl:param name="qandadivs" select="/.."/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextSubsection)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;qandadiv&quot; or w:pPr/w:pStyle/@w:val = &quot;qandadiv-title&quot;">
+        <wx:sub-section class="qandadiv">
+          <axsl:call-template name="copy"/>
+          <axsl:apply-templates select="following-sibling::*[1]" mode="terminal">
+            <axsl:with-param name="nextSubsection" select="$nextSubsection"/>
+            <axsl:with-param name="nextqandadiv" select="$qandadivs[1]"/>
+          </axsl:apply-templates>
+        </wx:sub-section>
+        <axsl:choose>
+          <axsl:when test="$nextSubsection and         $qandadivs and         count($nextSubsection/preceding-sibling::* | $qandadivs[1]) = count($nextSubsection/preceding-sibling::*)">
+            <axsl:apply-templates select="$qandadivs[1]" mode="qandadivs">
+              <axsl:with-param name="nextSubsection" select="$nextSubsection"/>
+              <axsl:with-param name="qandadivs" select="$qandadivs[position() != 1]"/>
+            </axsl:apply-templates>
+          </axsl:when>
+          <axsl:when test="$qandadivs">
+            <axsl:apply-templates select="$qandadivs[1]" mode="qandadivs">
+              <axsl:with-param name="qandadivs" select="$qandadivs[position() != 1]"/>
+            </axsl:apply-templates>
+          </axsl:when>
+        </axsl:choose>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="qandadivs">
+          <axsl:with-param name="nextSubsection" select="$nextSubsection"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="*" mode="terminal">
+    <axsl:param name="nextSubsection" select="/.."/>
+    <axsl:param name="nextbibliodiv" select="/.."/>
+    <axsl:param name="nextglossdiv" select="/.."/>
+    <axsl:param name="nextqandadiv" select="/.."/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextSubsection)"/>
+      <axsl:when test="generate-id() = generate-id($nextbibliodiv)"/>
+      <axsl:when test="generate-id() = generate-id($nextglossdiv)"/>
+      <axsl:when test="generate-id() = generate-id($nextqandadiv)"/>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="terminal">
+          <axsl:with-param name="nextSubsection" select="$nextSubsection"/>
+          <axsl:with-param name="nextbibliodiv" select="$nextbibliodiv"/>
+          <axsl:with-param name="nextglossdiv" select="$nextglossdiv"/>
+          <axsl:with-param name="nextqandadiv" select="$nextqandadiv"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="*">
+    <axsl:copy>
+      <axsl:apply-templates select="@*"/>
+      <axsl:apply-templates/>
+    </axsl:copy>
+  </axsl:template>
+  <axsl:template name="copy">
+    <axsl:copy>
+      <axsl:apply-templates select="@*"/>
+      <axsl:apply-templates/>
+    </axsl:copy>
+  </axsl:template>
+  <axsl:template match="@*">
+    <axsl:copy/>
+  </axsl:template>
+</axsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/roundtrip/wordml-final.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/wordml-final.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/wordml-final.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1923 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE xsl:stylesheet [
+
+<!ENTITY para "w:p[w:pPr/w:pStyle[@w:val='para' or @w:val='Normal']]">
+<!ENTITY continue "w:p[w:pPr/w:pStyle/@w:val='para-continue']">
+
+<!ENTITY wordlist 'w:p[w:pPr/w:listPr/w:ilvl/@w:val = "0" and
+		   w:pPr/w:listPr/wx:t/@wx:val = "&#183;" and
+		   w:pPr/w:listPr/wx:font/@wx:val = "Symbol"]'>
+
+<!ENTITY itemizedlist 'w:p[starts-with(w:pPr/w:pStyle/@w:val,"itemizedlist") or
+		       (w:pPr/w:listPr/w:ilvl/@w:val = "0" and
+		       w:pPr/w:listPr/wx:t/@wx:val = "&#183;" and
+		       w:pPr/w:listPr/wx:font/@wx:val = "Symbol")]'>
+<!ENTITY itemizedlist1 'w:p[w:pPr/w:pStyle/@w:val = "itemizedlist1" or
+			(w:pPr/w:listPr/w:ilvl/@w:val = "0" and
+			w:pPr/w:listPr/wx:t/@wx:val = "&#183;" and
+			w:pPr/w:listPr/wx:font/@wx:val = "Symbol")]'>
+<!ENTITY orderedlist "w:p[w:pPr/w:pStyle[starts-with(@w:val,'orderedlist')]]">
+<!ENTITY orderedlist1 "w:p[w:pPr/w:pStyle[@w:val = 'orderedlist' or
+		       @w:val = 'orderedlist1']]">
+
+<!ENTITY variablelist "w:tbl[w:tblPr/w:tblStyle[starts-with(@w:val,'variablelist')]]">
+
+<!ENTITY calloutlist "w:p[w:pPr/w:pStyle[@w:val = 'calloutlist']]">
+<!ENTITY callout "w:p[w:pPr/w:pStyle[@w:val = 'callout']]">
+<!ENTITY areaspec "w:p[w:pPr/w:pStyle[@w:val = 'areaspec']]">
+<!ENTITY area "w:p[w:pPr/w:pStyle[@w:val = 'area']]">
+
+<!ENTITY highlights "w:p[w:pPr/w:pStyle[starts-with(@w:val,'highlights')]]">
+
+<!ENTITY verbatim "w:p[w:pPr/w:pStyle[@w:val='programlisting' or @w:val='screen' or @w:val='literallayout']]">
+<!ENTITY programlisting "w:p[w:pPr/w:pStyle[@w:val='programlisting']]">
+<!ENTITY programlistingco "w:p[w:pPr/w:pStyle[@w:val='programlistingco']]">
+<!ENTITY admontitle "w:p[w:pPr/w:pStyle[@w:val='note-title' or @w:val='caution-title' or @w:val='important-title' or @w:val='tip-title' or @w:val='warning-title']]">
+<!ENTITY admon "w:p[w:pPr/w:pStyle[@w:val='note' or @w:val='caution' or @w:val='important' or @w:val='tip' or @w:val='warning']]">
+<!ENTITY figure "w:p[w:pPr/w:pStyle[@w:val='figure']]">
+<!ENTITY figuretitle "w:p[w:pPr/w:pStyle[@w:val='figure-title']]">
+<!ENTITY figurecaption "w:p[w:pPr/w:pStyle[@w:val='figure-title']]">
+<!ENTITY tabletitle "w:p[w:pPr/w:pStyle[@w:val='table-title']]">
+<!ENTITY exampletitle "w:p[w:pPr/w:pStyle[@w:val='example-title']]">
+<!ENTITY mediaobjecttitle "w:p[w:pPr/w:pStyle[@w:val='mediaobject-title']]">
+<!ENTITY mediaobjectcotitle "w:p[w:pPr/w:pStyle[@w:val='mediaobjectco-title']]">
+<!ENTITY imageobject "w:p[w:pPr/w:pStyle[@w:val='imageobject-imagedata']]">
+<!ENTITY imageobjectco "w:p[w:pPr/w:pStyle[@w:val='imageobjectco-imagedata']]">
+<!ENTITY audioobject "w:p[w:pPr/w:pStyle[@w:val='audioobject-audiodata']]">
+<!ENTITY videoobject "w:p[w:pPr/w:pStyle[@w:val='videoobject-videodata']]">
+<!ENTITY textobjecttitle "w:p[w:pPr/w:pStyle[@w:val='textobject-title']]">
+<!ENTITY caption "w:p[w:pPr/w:pStyle[@w:val='caption']]">
+<!ENTITY listlevel "substring-after(w:pPr/w:pStyle/@w:val, 'edlist')">
+<!ENTITY listlabel "w:pPr/w:listPr/wx:t/@wx:val">
+<!ENTITY footnote "w:p[w:pPr/w:pStyle[@w:val='FootnoteText']]">
+<!ENTITY bridgehead "w:p[w:pPr/w:pStyle[@w:val='bridgehead']]">
+
+<!ENTITY biblioentrytitle "w:p[w:pPr/w:pStyle[@w:val='biblioentry-title']]">
+<!ENTITY bibliomisc.style "w:pPr/w:pStyle[@w:val='bibliomisc']">
+<!ENTITY bibliomisc "w:p[&bibliomisc.style;]">
+<!ENTITY bibliorelation.style "w:pPr/w:pStyle[@w:val='bibliorelation']">
+<!ENTITY bibliorelation "w:p[&bibliorelation.style;]">
+
+<!ENTITY glossterm "w:p[w:pPr/w:pStyle[@w:val='glossterm']]">
+
+<!ENTITY qandasettitle "w:p[w:pPr/w:pStyle[@w:val='qandaset-title']]">
+<!ENTITY qandadivtitle "w:p[w:pPr/w:pStyle[@w:val='qandadiv-title']]">
+<!ENTITY question "w:p[w:pPr/w:pStyle[@w:val='question']]">
+<!ENTITY answer "w:p[w:pPr/w:pStyle[@w:val='answer']]">
+
+<!ENTITY releaseinfo.style "w:pPr/w:pStyle/@w:val='releaseinfo'">
+<!ENTITY releaseinfo "w:p[&releaseinfo.style;]">
+<!ENTITY revhistory.style "w:pPr/w:pStyle/@w:val='revhistory'">
+<!ENTITY revhistory "w:p[&revhistory.style;]">
+<!ENTITY revision.style "w:pPr/w:pStyle/@w:val='revision'">
+<!ENTITY revision "w:p[&revision.style;]">
+<!ENTITY revremark.style "w:pPr/w:pStyle/@w:val='revremark'">
+<!ENTITY revremark "w:p[&revremark.style;]">
+<!ENTITY affiliation.style "w:pPr/w:pStyle/@w:val='affiliation'">
+<!ENTITY affiliation "w:p[&affiliation.style;]">
+<!ENTITY author.style "w:pPr/w:pStyle/@w:val='author'">
+<!ENTITY author "w:p[&author.style;]">
+<!ENTITY editor.style "w:pPr/w:pStyle/@w:val='editor'">
+<!ENTITY editor "w:p[&editor.style;]">
+<!ENTITY othercredit.style "w:pPr/w:pStyle/@w:val='othercredit'">
+<!ENTITY othercredit "w:p[&othercredit.style;]">
+<!ENTITY authorblurb.style "w:pPr/w:pStyle/@w:val='authorblurb'">
+<!ENTITY authorblurb "w:p[&authorblurb.style;]">
+<!ENTITY address.style "w:pPr/w:pStyle/@w:val='address'">
+<!ENTITY address "w:p[&address.style;]">
+<!ENTITY publishername.style "w:pPr/w:pStyle/@w:val='publishername'">
+<!ENTITY publishername "w:p[&publishername.style;]">
+<!ENTITY isbn.style "w:pPr/w:pStyle/@w:val='isbn'">
+<!ENTITY isbn "w:p[&isbn.style;]">
+
+<!ENTITY abstracttitle.style "w:pPr/w:pStyle/@w:val='abstract-title'">
+<!ENTITY abstracttitle "w:p[&abstracttitle.style;]">
+<!ENTITY abstract.style "w:pPr/w:pStyle/@w:val='abstract'">
+<!ENTITY abstract "w:p[&abstract.style;]">
+
+<!ENTITY metadata.element.style "&releaseinfo.style; or
+			   &affiliation.style; or
+			   &authorblurb.style; or
+			   &author.style; or
+			   &editor.style; or
+			   &othercredit.style; or
+			   &revhistory.style; or
+			   &revision.style; or
+			   &abstracttitle.style; or
+			   &abstract.style; or
+			   &bibliomisc.style; or
+			   &bibliorelation.style; or
+			   &address.style; or
+			   &publishername.style; or
+			   &isbn.style;">
+<!ENTITY metadata.elements "w:p[&metadata.element.style;]">
+
+<!ENTITY xinclude "w:p[w:pPr/w:pStyle/@w:val='xinclude']">
+
+<!ENTITY surname "w:r[w:rPr/w:rStyle/@w:val='surname']">
+<!ENTITY firstname "w:r[w:rPr/w:rStyle/@w:val='firstname']">
+<!ENTITY honorific "w:r[w:rPr/w:rStyle/@w:val='honorific']">
+<!ENTITY lineage "w:r[w:rPr/w:rStyle/@w:val='lineage']">
+<!ENTITY othername "w:r[w:rPr/w:rStyle/@w:val='othername']">
+<!ENTITY contrib "w:r[w:rPr/w:rStyle/@w:val='contrib']">
+<!ENTITY street "w:r[w:rPr/w:rStyle/@w:val='street']">
+<!ENTITY pob "w:r[w:rPr/w:rStyle/@w:val='pob']">
+<!ENTITY postcode "w:r[w:rPr/w:rStyle/@w:val='postcode']">
+<!ENTITY city "w:r[w:rPr/w:rStyle/@w:val='city']">
+<!ENTITY state "w:r[w:rPr/w:rStyle/@w:val='state']">
+<!ENTITY country "w:r[w:rPr/w:rStyle/@w:val='country']">
+<!ENTITY phone "w:r[w:rPr/w:rStyle/@w:val='phone']">
+<!ENTITY fax "w:r[w:rPr/w:rStyle/@w:val='fax']">
+<!ENTITY otheraddr "w:r[w:rPr/w:rStyle/@w:val='otheraddr']">
+<!ENTITY shortaffil "w:r[w:rPr/w:rStyle/@w:val='shortaffil']">
+<!ENTITY jobtitle "w:r[w:rPr/w:rStyle/@w:val='jobtitle']">
+<!ENTITY orgname "w:r[w:rPr/w:rStyle/@w:val='orgname']">
+<!ENTITY orgdiv "w:r[w:rPr/w:rStyle/@w:val='orgdiv']">
+<!ENTITY revnumber "w:r[w:rPr/w:rStyle/@w:val='revnumber']">
+<!ENTITY date "w:r[w:rPr/w:rStyle/@w:val='date']">
+<!ENTITY authorinitials "w:r[w:rPr/w:rStyle/@w:val='authorinitials']">
+<!ENTITY filename "w:r[w:rPr/w:rStyle/@w:val='filename']">
+<!ENTITY sgmltag "w:r[w:rPr/w:rStyle/@w:val='sgmltag']">
+<!ENTITY application "w:r[w:rPr/w:rStyle/@w:val='application']">
+<!ENTITY literal "w:r[w:rPr/w:rStyle/@w:val='literal']">
+<!ENTITY inlinegraphic "w:r[w:rPr/w:rStyle/@w:val='inlinegraphic']">
+]>
+
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"
+  xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
+  xmlns:v="urn:schemas-microsoft-com:vml" 
+  xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint"
+  xmlns:o="urn:schemas-microsoft-com:office:office" 
+  exclude-result-prefixes="aml w wx o v">
+
+  <!-- $Id: wordml-final.xsl 6463 2007-01-05 03:22:54Z balls $ -->
+  <!-- Stylesheet to convert WordProcessingML to DocBook -->
+  <!-- This stylesheet processes the output of wordml-sects.xsl -->
+
+  <xsl:output indent="yes" method="xml" 
+    cdata-section-elements='programlisting literallayout'/>
+
+  <!-- ================================================== -->
+  <!--    Parameters                                      -->
+  <!-- ================================================== -->
+
+  <xsl:param name="nest.sections">1</xsl:param>
+
+  <!-- ================================================== -->
+  <!--    Templates                                       -->
+  <!-- ================================================== -->
+  <!-- Look up a w:listDef element by its StyleLink -->
+  <xsl:key name="listdef-stylelink"
+    match="w:listDef"
+    use="w:listStyleLink/@w:val"/>
+
+  <xsl:key name="list-ilst"
+    match="w:list"
+    use="w:ilst/@w:val"/>
+
+  <xsl:strip-space elements='*'/>
+  <xsl:preserve-space elements='w:t'/>
+
+  <xsl:template match="/">
+    <xsl:apply-templates select="//w:body"/>
+  </xsl:template>
+
+  <xsl:template match="w:body">
+    <xsl:apply-templates mode="group"/>
+  </xsl:template>
+
+  <xsl:template match="wx:sect" mode="group">
+    <xsl:apply-templates  mode="group"/>
+  </xsl:template>
+
+  <xsl:template match="wx:sub-section" mode="group">
+    <xsl:variable name="first.node" select="w:p[1]"/>
+
+    <xsl:variable name="element.name">
+      <xsl:call-template name='component-name'>
+        <xsl:with-param name='node' select='$first.node'/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:choose>
+      <xsl:when test='$element.name = "bogus"'>
+        <xsl:apply-templates mode='group'/>
+      </xsl:when>
+      <xsl:when test='$element.name = "bibliography" or
+		      $element.name = "bibliodiv" or
+		      $element.name = "glossary" or
+		      $element.name = "glossdiv" or
+		      $element.name = "qandaset" or
+		      $element.name = "qandadiv"'>
+	<xsl:element name='{$element.name}'>
+          <xsl:call-template name="object.id"/>
+          <xsl:call-template name='attributes'>
+            <xsl:with-param name='node' select='$first.node'/>
+          </xsl:call-template>
+
+	  <xsl:variable name='entries'
+			select='*[1]/following-sibling::w:p[(starts-with($element.name, "biblio") and self::&biblioentrytitle;) or
+				(starts-with($element.name, "gloss") and self::&glossterm;) or
+				(starts-with($element.name, "qanda") and self::&question;)]'/>
+
+	  <xsl:variable name='components' select='wx:sub-section | $entries'/>
+
+	  <xsl:choose>
+	    <xsl:when test='not($components)'>
+	      <xsl:message> <xsl:value-of select='$element.name'/> found with no divisions or entries </xsl:message>
+	      <xsl:comment> <xsl:value-of select='$element.name'/> found with no divisions or entries </xsl:comment>
+	    </xsl:when>
+	    <xsl:otherwise>
+	      <xsl:apply-templates select='$components[1]/preceding-sibling::*'
+				   mode='group'/>
+	      <xsl:apply-templates select='wx:sub-section | $entries'
+				   mode='component-entries'/>
+	    </xsl:otherwise>
+	  </xsl:choose>
+	</xsl:element>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:element name="{$element.name}">
+          <xsl:call-template name="object.id"/>
+          <xsl:call-template name='attributes'>
+            <xsl:with-param name='node' select='$first.node'/>
+          </xsl:call-template>
+          <xsl:apply-templates mode="group"/>
+        </xsl:element>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <!-- TODO: generate this template from sections-spec.xml and
+       blocks-spec.xml
+    -->
+  <xsl:template name='component-name'>
+    <xsl:param name='node' select='.'/>
+    <xsl:variable name="style" select="$node/w:pPr/w:pStyle/@w:val"/>
+
+    <xsl:choose>
+      <xsl:when test="$style = 'article' or
+                      $style = 'article-title'">article</xsl:when>
+      <xsl:when test="$style = 'appendix' or
+                      $style = 'appendix-title'">appendix</xsl:when>
+      <xsl:when test="$style = 'bibliography' or
+                      $style = 'bibliography-title'">bibliography</xsl:when>
+      <xsl:when test="$style = 'bibliodiv' or
+                      $style = 'bibliodiv-title'">bibliodiv</xsl:when>
+      <xsl:when test="$style = 'book' or
+                      $style = 'book-title'">book</xsl:when>
+      <xsl:when test="$style = 'chapter' or
+                      $style = 'chapter-title'">chapter</xsl:when>
+      <xsl:when test="$style = 'glossary' or
+                      $style = 'glossary-title'">glossary</xsl:when>
+      <xsl:when test="$style = 'glossdiv' or
+                      $style = 'glossdiv-title'">glossdiv</xsl:when>
+      <xsl:when test="$style = 'part' or
+                      $style = 'part-title'">part</xsl:when>
+      <xsl:when test="$style = 'preface' or
+                      $style = 'preface-title'">preface</xsl:when>
+      <xsl:when test="$style = 'qandaset' or
+                      $style = 'qandaset-title'">qandaset</xsl:when>
+      <xsl:when test="$style = 'qandadiv' or
+                      $style = 'qandadiv-title'">qandadiv</xsl:when>
+      <xsl:when test="($style = 'sect1' or
+                      $style = 'sect1-title') and 
+                      $nest.sections != 0">section</xsl:when>
+      <xsl:when test="$style = 'sect1' or
+                      $style = 'sect1-title'">sect1</xsl:when>
+      <xsl:when test="($style = 'sect2' or
+                      $style = 'sect2-title') and 
+                      $nest.sections != 0">section</xsl:when>
+      <xsl:when test="$style = 'sect2' or
+                      $style = 'sect2-title'">sect2</xsl:when>
+      <xsl:when test="($style = 'sect3' or
+                      $style = 'sect3-title') and 
+                      $nest.sections != 0">section</xsl:when>
+      <xsl:when test="$style = 'sect3' or
+                      $style = 'sect3-title'">sect3</xsl:when>
+      <xsl:when test="($style = 'sect4' or
+                      $style = 'sect4-title') and 
+                      $nest.sections != 0">section</xsl:when>
+      <xsl:when test="$style = 'sect4' or
+                      $style = 'sect4-title'">sect4</xsl:when>
+      <xsl:when test="($style = 'sect5' or
+                      $style = 'sect5-title') and 
+                      $nest.sections != 0">section</xsl:when>
+      <xsl:when test="$style = 'sect5' or
+                      $style = 'sect5-title'">sect5</xsl:when>
+      <xsl:otherwise>bogus</xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <!-- sub-section title paragraph -->
+  <xsl:template match="wx:sub-section/w:p[1]" mode="group">
+    <xsl:variable name='parent'>
+      <xsl:call-template name='component-name'/>
+    </xsl:variable>
+
+    <xsl:choose>
+      <xsl:when test='$parent != "qandaset" and
+		      (../&releaseinfo; |
+		      ../&author; |
+		      ../&editor; |
+		      ../&othercredit; |
+		      ../&revhistory; |
+		      ../&revision; |
+		      ../&abstract;)'>
+        <xsl:element name='{$parent}info'>
+          <title>
+            <xsl:apply-templates select="w:r|w:hlink"/>
+          </title>
+	  <xsl:apply-templates select='following-sibling::*[1][self::w:p][w:pPr/w:pStyle/@w:val = concat($parent, "-subtitle")]' mode='subtitle'/>
+
+	  <xsl:variable name='stop.node'
+			select='following-sibling::*[not(self::w:p and (
+				w:pPr/w:pStyle/@w:val = concat($parent, "-subtitle") or
+				&metadata.element.style;))][1]'/>
+	  <xsl:choose>
+	    <xsl:when test='$stop.node'>
+              <xsl:apply-templates select='../&metadata.elements;[count(following-sibling::*|$stop.node) = count(following-sibling::*)]'
+				   mode='metadata'/>
+	    </xsl:when>
+	    <xsl:otherwise>
+	      <xsl:apply-templates select='../&metadata.elements;'
+				   mode='metadata'/>
+	    </xsl:otherwise>
+	  </xsl:choose>
+        </xsl:element>
+      </xsl:when>
+      <xsl:otherwise>
+        <title>
+          <xsl:apply-templates select="w:r|w:hlink"/>
+        </title>
+	<xsl:apply-templates select='following-sibling::*[1][self::w:p][w:pPr/w:pStyle/@w:val = concat($parent, "-subtitle")]' mode='subtitle'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='w:p[w:pPr/w:pStyle/@w:val = "book-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "article-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "section-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "sect1-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "sect2-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "sect3-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "sect4-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "sect5-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "appendix-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "bibliography-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "bibliodiv-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "biblioentry-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "chapter-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "glossary-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "part-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "preface-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "reference-subtitle" or
+		       w:pPr/w:pStyle/@w:val = "set-subtitle"]' mode='group'>
+
+    <xsl:variable name='parent' select='substring-before(w:pPr/w:pStyle/@w:val, "-")'/>
+
+    <xsl:if test='preceding-sibling::*[1][not(self::w:p) or
+		  (self::w:p and w:pPr/w:pStyle/@w:val != concat($parent, "-title"))]'>
+      <xsl:call-template name='report-error'>
+	<xsl:with-param name='message'>
+	  <xsl:text>paragraph style "</xsl:text>
+	  <xsl:value-of select='w:pPr/w:pStyle/@w:val'/>
+	  <xsl:text>" found without a preceding title</xsl:text>
+	</xsl:with-param>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match='w:p' mode='subtitle'>
+    <subtitle>
+      <xsl:call-template name='attributes'/>
+      <xsl:apply-templates select='w:r|w:hlink'/>
+    </subtitle>
+  </xsl:template>
+  <xsl:template match='*' mode='subtitle'>
+    <xsl:call-template name='report-error'>
+      <xsl:with-param name='message'>
+	<xsl:text>paragraph style "</xsl:text>
+	<xsl:value-of select='w:pPr/w:pStyle/@w:val'/>
+	<xsl:text>" found in subtitle context</xsl:text>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:template>
+
+  <xsl:template match='wx:sub-section' mode='component-entries'>
+    <xsl:apply-templates select='.' mode='group'/>
+  </xsl:template>
+
+  <xsl:template match='&biblioentrytitle;' mode='component-entries'>
+    <xsl:variable name='components'
+		  select='following-sibling::wx:sub-section |
+			  following-sibling::&biblioentrytitle;'/>
+
+    <biblioentry>
+      <title>
+	<xsl:apply-templates select='w:r|w:hlink'/>
+      </title>
+
+      <xsl:apply-templates select='following-sibling::*[generate-id(following-sibling::*[self::wx:sub-section | self::&biblioentrytitle;][1]) = generate-id($components[1])]'
+			   mode='metadata'/>
+    </biblioentry>
+  </xsl:template>
+
+  <xsl:template match='&glossterm;' mode='component-entries'>
+    <!-- TODO -->
+  </xsl:template>
+
+  <xsl:template match='&question;' mode='component-entries'>
+    <xsl:variable name='components'
+		  select='following-sibling::wx:sub-section |
+			  following-sibling::&question; |
+			  following-sibling::&answer;'/>
+
+    <qandaentry>
+      <question>
+	<para>
+	  <xsl:apply-templates select='w:r|w:hlink'/>
+	</para>
+	<xsl:choose>
+	  <xsl:when test='$components'>
+	    <xsl:apply-templates select='following-sibling::*[generate-id(following-sibling::*[self::wx:sub-section | self::&question; | self::&answer;][1]) = generate-id($components[1])]'
+				 mode='group'/>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates select='following-sibling::*'
+				 mode='group'/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </question>
+      <xsl:if test='$components[1]/self::&answer;'>
+	<answer>
+	  <para>
+	    <xsl:apply-templates select='$components[1]/*[self::w:r|self::w:hlink]'/>
+	  </para>
+	  <xsl:choose>
+	    <xsl:when test='$components[2]'>
+	      <xsl:apply-templates select='$components[1]/following-sibling::*[generate-id(following-sibling::*[self::wx:sub-section | self::&question; | self::&answer;][1]) = generate-id($components[2])]'
+				   mode='group'/>
+	    </xsl:when>
+	    <xsl:otherwise>
+	      <xsl:apply-templates select='$components[1]/following-sibling::*'
+				   mode='group'/>
+	    </xsl:otherwise>
+	  </xsl:choose>
+	</answer>
+      </xsl:if>
+    </qandaentry>
+  </xsl:template>
+
+  <!-- metadata -->
+  <xsl:template match="&metadata.elements;|&revremark;" mode='group'/>
+  <xsl:template match='&abstracttitle;' mode='metadata'/>
+  <xsl:template match='&abstract;' mode='metadata'>
+    <xsl:choose>
+      <xsl:when test='preceding-sibling::*[1][self::&abstracttitle;]'>
+	<abstract>
+	  <title>
+	    <xsl:apply-templates
+	       select='preceding-sibling::*[1]/*[self::w:r|self::w:hlink]'/>
+	  </title>
+	  <xsl:apply-templates select='.' mode='abstract'/>
+	</abstract>
+      </xsl:when>
+      <xsl:when test='preceding-sibling::*[1][not(self::&abstract;)]'>
+	<abstract>
+	  <xsl:apply-templates select='.' mode='abstract'/>
+	</abstract>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match='*' mode='abstract'/>
+  <xsl:template match='&abstract;' mode='abstract'>
+    <para>
+      <xsl:call-template name='object.id'/>
+      <xsl:apply-templates select="w:r|w:hlink"/>
+    </para>
+    <xsl:apply-templates select='following-sibling::*[1]' mode='abstract'/>
+  </xsl:template>
+  <xsl:template match='&bibliomisc;' mode='metadata'>
+    <bibliomisc>
+      <xsl:apply-templates select='w:r|w:hlink'/>
+    </bibliomisc>
+  </xsl:template>
+  <xsl:template match='&bibliorelation;' mode='metadata'>
+    <bibliorelation>
+      <xsl:apply-templates select='w:r|w:hlink'/>
+    </bibliorelation>
+  </xsl:template>
+  <xsl:template match='&publishername;' mode='metadata'>
+    <publishername>
+      <xsl:apply-templates select='w:r|w:hlink'/>
+    </publishername>
+  </xsl:template>
+  <xsl:template match='&isbn;' mode='metadata'>
+    <isbn>
+      <xsl:apply-templates select='w:r|w:hlink'/>
+    </isbn>
+  </xsl:template>
+  <xsl:template match="&releaseinfo;" mode='metadata'>
+    <releaseinfo>
+      <xsl:call-template name='attributes'/>
+      <xsl:apply-templates select='w:r|w:hlink'/>
+    </releaseinfo>
+  </xsl:template>
+  <xsl:template match="&author;|&editor;|&othercredit;" mode='metadata'>
+    <xsl:element name='{w:pPr/w:pStyle/@w:val}'>
+      <xsl:apply-templates select='w:r|w:hlink' mode='metadata'/>
+      <xsl:apply-templates select='following-sibling::w:p' mode='author'/>
+    </xsl:element>
+  </xsl:template>
+  <xsl:template match='*' mode='author'/>
+  <xsl:template match='&authorblurb;' mode='author'>
+    <authorblurb>
+      <para>
+        <xsl:call-template name='object.id'/>
+        <xsl:apply-templates select="w:r|w:hlink"/>
+      </para>
+      <!-- TODO: continuations -->
+    </authorblurb>
+  </xsl:template>
+  <xsl:template match='&affiliation;' mode='author'>
+    <affiliation>
+      <xsl:call-template name='object.id'/>
+      <xsl:apply-templates select="&shortaffil;|&jobtitle;|&orgname;|&orgdiv;" mode='metadata'/>
+      <xsl:if test='&honorific;|&firstname;|&surname;|&lineage;|&othername;|&contrib;|&street;|&pob;|&postcode;|&city;|&state;|&country;|&phone;|&fax;|&otheraddr;|w:hlink'>
+        <address>
+          <xsl:apply-templates select="&honorific;|&firstname;|&surname;|&lineage;|&othername;|&contrib;|&street;|&pob;|&postcode;|&city;|&state;|&country;|&phone;|&fax;|&otheraddr;|w:hlink" mode='metadata'/>
+        </address>
+      </xsl:if>
+    </affiliation>
+  </xsl:template>
+  <xsl:template match='&continue;' mode='author'>
+    <address>
+      <xsl:apply-templates select='w:r|w:hlink' mode='metadata'/>
+    </address>
+  </xsl:template>
+  <xsl:template match='&revhistory;|&revremark;' mode='metadata'/>
+  <xsl:template match='&revision;' mode='metadata'>
+    <xsl:if test='not(preceding-sibling::&revision;)'>
+      <revhistory>
+	<xsl:apply-templates select='.|following-sibling::&revision;'
+			     mode='revhistory'/>
+      </revhistory>
+    </xsl:if>
+  </xsl:template>
+  <xsl:template match='&revision;' mode='revhistory'>
+    <revision>
+      <xsl:if test='&revnumber;'>
+	<revnumber>
+	  <xsl:apply-templates select='&revnumber;' mode='textonly'/>
+	</revnumber>
+      </xsl:if>
+      <xsl:if test='&date;'>
+	<date>
+	  <xsl:apply-templates select='&date;' mode='textonly'/>
+	</date>
+      </xsl:if>
+      <xsl:if test='&authorinitials;'>
+	<authorinitials>
+	  <xsl:apply-templates select='&authorinitials;' mode='textonly'/>
+	</authorinitials>
+      </xsl:if>
+      <xsl:apply-templates select='following-sibling::*[1][self::&revremark;]'
+			   mode='revhistory'/>
+    </revision>
+  </xsl:template>
+  <xsl:template match='&revremark;' mode='revhistory'>
+    <revremark>
+      <xsl:apply-templates/>
+    </revremark>
+  </xsl:template>
+  <xsl:template match='w:r|w:hlink' mode='metadata' priority='0'>
+    <contrib>
+      <xsl:apply-templates select='w:t'/>
+    </contrib>
+  </xsl:template>
+  <xsl:template match='&surname;|&firstname;|&honorific;|&lineage;|&othername; |
+		       &orgname; |
+                       &contrib; |
+                       &street;|&pob;|&postcode;|&city;|&state;|&country;|&phone;|&fax;' mode='metadata'>
+    <xsl:element name='{w:rPr/w:rStyle/@w:val}'>
+      <xsl:apply-templates select='w:t'/>
+    </xsl:element>
+  </xsl:template>
+  <xsl:template match='&otheraddr;' mode='metadata'>
+    <otheraddr>
+      <xsl:apply-templates select='w:t'/>
+    </otheraddr>
+  </xsl:template>
+  <xsl:template match='w:hlink' mode='metadata'>
+    <xsl:choose>
+      <xsl:when test='starts-with(@w:dest, "mailto:")'>
+        <email>
+          <xsl:apply-templates select='.'/>
+        </email>
+      </xsl:when>
+      <xsl:otherwise>
+        <otheraddr>
+          <xsl:apply-templates select='.'/>
+        </otheraddr>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match='&address;' mode='metadata'>
+    <address>
+      <xsl:apply-templates select='w:r|w:hlink' mode='metadata'/>
+    </address>
+  </xsl:template>
+
+  <xsl:template match='wordlist'
+		priority='2'
+		mode='group'>
+    <xsl:choose>
+      <xsl:when test='preceding-sibling::*[1][self::&wordlist;]'>
+	<xsl:comment> wordlist subsequent item </xsl:comment>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:comment> wordlist first item </xsl:comment>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <!-- Ordinary para -->
+  <xsl:template match="&para;|w:p[not(w:pPr/w:pStyle)]" mode="group">
+    <para>
+      <xsl:call-template name="object.id"/>
+      <xsl:apply-templates select="w:r|w:hlink"/>
+    </para>
+  </xsl:template>
+
+  <!-- Unmatched para style -->
+  <xsl:template match="w:p" mode="group">
+    <xsl:message>No match found for <xsl:value-of select='w:pPr/w:pStyle/@w:val'/></xsl:message>
+    <nomatch>
+      <xsl:apply-templates select="w:r|w:hlink"/>
+    </nomatch>
+  </xsl:template>
+
+  <!-- unused elements are bypassed -->
+  <xsl:template match="*" mode="group"/>
+
+  <!-- continued paragraphs are included by their (preceding) parent -->
+  <xsl:template match="&continue;" mode='group'/>
+
+  <!-- highlights are grouped together, match on the first occurrence -->
+  <xsl:template match='&highlights;[not(preceding-sibling::*[1]
+		       [self::&highlights; or self::&continue;])]'
+		priority='2'
+		mode='group'>
+    <xsl:variable name='stop.node'
+		  select='following-sibling::*[not(self::&highlights; or self::&continue;)][1]'/>
+
+    <highlights>
+      <xsl:choose>
+	<xsl:when test='$stop.node'>
+	  <xsl:apply-templates mode='highlights'
+			       select='. |
+				   following-sibling::&highlights;[following-sibling::*[generate-id() = generate-id($stop.node)]] |
+				   following-sibling::&continue;[following-sibling::*[generate-id() = generate-id($stop.node)]]'/>
+	</xsl:when>
+	<xsl:otherwise>
+	  <xsl:apply-templates mode='highlights'
+			       select='. | following-sibling::*'/>
+	</xsl:otherwise>
+      </xsl:choose>
+    </highlights>
+  </xsl:template>
+  <xsl:template match='w:p[w:pPr/w:pStyle/@w:val = "highlights"]' mode='highlights'>
+    <para>
+      <xsl:call-template name='object.id'/>
+      <xsl:apply-templates select='w:r|w:hlink'/>
+    </para>
+  </xsl:template>
+  <xsl:template match='&continue;' mode='highlights'>
+    <xsl:if test='preceding-sibling::*[1][self::&highlights;]'>
+      <para>
+	<xsl:call-template name='object.id'/>
+	<xsl:apply-templates select='w:r|w:hlink'/>
+      </para>
+    </xsl:if>
+  </xsl:template>
+  <xsl:template match='w:p[w:pPr/w:pStyle/@w:val = "highlights-itemizedlist" or
+		       w:pPr/w:pStyle/@w:val = "highlights-orderedlist"]' mode='highlights'>
+    <xsl:if test='not(preceding-sibling::*) or
+		  preceding-sibling::*[1][not(self::&highlights;)] or
+		  preceding-sibling::*[1][self::w:p and w:pPr/w:pStyle/@w:val = "highlights"]'>
+      <xsl:variable name='stop.node'
+		    select='following-sibling::*[not(self::w:p) or 
+			    not((self::w:p and w:pPr/w:pStyle/@w:val = current()/w:pPr/w:pStyle/@w:val) or 
+			    self::&continue;)][1]'/>
+
+      <itemizedlist>
+	<xsl:choose>
+	  <xsl:when test='$stop.node'>
+	    <xsl:apply-templates mode='highlights-listitem'
+				 select='. |
+					 following-sibling::w:p[w:pPr/w:pStyle/@w:val = current()/w:pPr/w:pStyle/@w:val][following-sibling::*[generate-id() = generate-id($stop.node)]]'/>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates mode='highlights-listitem'
+	      select='. |
+		      following-sibling::w:p[w:pPr/w:pStyle/@w:val = current()/w:pPr/w:pStyle/@w:val]'/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </itemizedlist>
+    </xsl:if>
+  </xsl:template>
+  <xsl:template match='&highlights;' mode='highlights-listitem'>
+    <listitem>
+      <para>
+	<xsl:call-template name='object.id'/>
+	<xsl:apply-templates select='w:r|w:hlink'/>
+	<xsl:apply-templates mode='item'
+			     select='following-sibling::*[1][self::&continue;]'/>
+      </para>
+    </listitem>
+  </xsl:template>
+  <xsl:template match='&highlights;[preceding-sibling::*[1]
+		       [self::&highlights; or self::&continue;]]'
+		mode='group'>
+    <!-- handled in mode = group -->
+  </xsl:template>
+
+  <!-- Match on the first one of an itemizedlist -->
+  <!-- Special case: questions may include a list.
+       This will be better handled by the addition of another stylesheet
+       stage that marks block-level elements.
+    -->
+  <xsl:template match="&itemizedlist1;[not(preceding-sibling::*[1]
+                       [self::&itemizedlist; or
+		       self::&continue; or
+		       self::&question;])]" 
+    priority="2"
+    mode="group">
+
+    <!-- Identify the node that follows all the listitems -->
+    <xsl:variable name="stop.node"
+      select="following-sibling::*[not(self::&itemizedlist;
+              or self::&continue;
+              or self::&orderedlist;)][1]"/>
+    <xsl:variable name='stop.node.id' select='generate-id($stop.node)'/>
+
+    <!-- Start the list and process all the level 1 listitems -->
+    <itemizedlist>
+      <xsl:choose>
+	<xsl:when test='$stop.node'>
+	  <xsl:apply-templates
+	     mode="item" 
+	     select=".|following-sibling::&itemizedlist;[&listlevel; = '' or &listlevel; = '1']
+		     [following-sibling::*[generate-id() = $stop.node.id]]">
+            <xsl:with-param name="depth" select="1"/>
+	  </xsl:apply-templates>
+	</xsl:when>
+	<xsl:otherwise>
+	  <xsl:apply-templates
+	     mode='item'
+	     select='.|following-sibling::&itemizedlist;[&listlevel; = "" or &listlevel; = "1"]'/>
+	</xsl:otherwise>
+      </xsl:choose>
+    </itemizedlist>
+
+  </xsl:template>
+
+  <xsl:template match="&itemizedlist;|&itemizedlist1;" mode="item">
+    <xsl:param name="depth" select="1"/>
+
+    <listitem>
+      <para>
+        <xsl:apply-templates/>
+      </para>
+      <xsl:apply-templates mode="item" 
+        select="following-sibling::*[1][self::&continue;]"/>
+      <!-- Now any nested list is inside this list item -->
+      <xsl:apply-templates mode="subgroup"
+        select="following-sibling::*[1]
+                [self::&itemizedlist; or self::&orderedlist;]
+                [&listlevel; &gt; $depth]">
+
+        <xsl:with-param name="depth" select="$depth + 1"/>
+      </xsl:apply-templates>
+    </listitem>
+  </xsl:template>
+
+  <xsl:template match="&itemizedlist;" mode="subgroup">
+    <xsl:param name="depth" select="0"/>
+
+    <xsl:variable name="stop.node"
+      select="generate-id(following-sibling::*[
+                        self::&itemizedlist1; or
+                        self::&orderedlist1; or
+                        self::&itemizedlist;[&listlevel; &lt; $depth] or
+                        self::&orderedlist;[&listlevel; &lt; $depth] or
+                        not(self::&itemizedlist; or 
+                            self::&orderedlist; or
+                            self::&continue;)]
+                        [1])"/>
+
+    <itemizedlist>
+      <xsl:apply-templates mode="item"
+             select=".|following-sibling::&itemizedlist;
+                       [&listlevel; = $depth]
+                       [following-sibling::*[generate-id() = $stop.node]]">
+	<xsl:with-param name="depth" select="$depth"/>
+      </xsl:apply-templates>
+    </itemizedlist>
+  </xsl:template>
+
+  <xsl:template match="&itemizedlist;[preceding-sibling::*[1]
+                     [self::&itemizedlist; or 
+                      self::&orderedlist; or
+                      self::&continue; or
+		      self::&question;]]" 
+                     mode="group">
+    <!-- Handle with mode = group -->
+  </xsl:template>
+
+  <!-- Match on the first one of an orderedlist -->
+  <xsl:template match="&orderedlist1;[not(preceding-sibling::*[1]
+                     [self::&orderedlist; or self::&continue;])]" 
+                     priority="2"
+                     mode="group">
+
+    <!-- Identify the node that follows all the listitems -->
+    <xsl:variable name="stop.node"
+              select="generate-id(following-sibling::*[not(self::&itemizedlist;
+                      or self::&continue;
+                      or self::&orderedlist;)][1])"/>
+                       
+    <!-- Start the list and process all the level 1 listitems -->
+    <orderedlist>
+      <xsl:apply-templates mode="item" 
+          select=".|following-sibling::&orderedlist;[&listlevel; = '']
+                  [following-sibling::*[generate-id() = $stop.node]]">
+	<xsl:with-param name="depth" select="1"/>
+      </xsl:apply-templates>
+    </orderedlist>
+  
+  </xsl:template>
+
+  <xsl:template match="&orderedlist;" mode="item">
+    <xsl:param name="depth" select="1"/>
+
+    <listitem>
+      <para>
+	<xsl:apply-templates/>
+      </para>
+      <xsl:apply-templates mode="item" 
+                select="following-sibling::*[1][self::&continue;]"/>
+      <!-- Now any nested list is inside this list item -->
+      <xsl:apply-templates mode="subgroup"
+			   select="following-sibling::*[1]
+                    [self::&itemizedlist; or self::&orderedlist;]
+                    [&listlevel; &gt; $depth]">
+
+	<xsl:with-param name="depth" select="$depth + 1"/>
+      </xsl:apply-templates>
+    </listitem>
+
+  </xsl:template>
+
+  <xsl:template match="&orderedlist;" mode="subgroup">
+    <xsl:param name="depth" select="0"/>
+
+    <xsl:variable name="stop.node"
+      select="generate-id(following-sibling::*[
+                        self::&itemizedlist1; or
+                        self::&orderedlist1; or
+                        self::&itemizedlist;[&listlevel; &lt; $depth] or
+                        self::&orderedlist;[&listlevel; &lt; $depth] or
+                        not(self::&itemizedlist; or 
+                            self::&orderedlist; or
+                            self::&continue;)]
+                        [1])"/>
+
+    <orderedlist>
+      <xsl:apply-templates mode="item"
+             select=".|following-sibling::&orderedlist;
+                       [&listlevel; = $depth]
+                       [following-sibling::*[generate-id() = $stop.node]]">
+	<xsl:with-param name="depth" select="$depth"/>
+      </xsl:apply-templates>
+    </orderedlist>
+  </xsl:template>
+
+  <xsl:template match="&orderedlist;[preceding-sibling::*[1]
+                     [self::&itemizedlist; or 
+                      self::&orderedlist; or
+                      self::&continue;]]" 
+                     mode="group">
+    <!-- Handle with mode = group -->
+  </xsl:template>
+
+  <xsl:template match="&continue;" mode="item">
+    <para>
+      <xsl:call-template name="object.id"/>
+      <xsl:apply-templates select="w:r|w:hlink"/>
+    </para>
+    <!-- Continue to process any immediate following -->
+    <xsl:apply-templates mode="item" 
+                select="following-sibling::*[1][self::&continue;]"/>
+  </xsl:template>
+
+  <xsl:template match="&continue;" mode="group">
+    <!-- Handled in item mode -->
+  </xsl:template>
+
+  <xsl:template match="*" mode="item">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="&bridgehead;" mode="group">
+    <bridgehead>
+      <xsl:call-template name="object.id"/>
+      <xsl:call-template name='attributes'/>
+      <xsl:apply-templates select="w:r|w:hlink"/>
+    </bridgehead>
+  </xsl:template>
+
+  <!-- =========================================================== -->
+  <!--   Inline elements                                           -->
+  <!-- =========================================================== -->
+  <xsl:template match="w:hlink[w:r/w:rPr/w:rStyle[@w:val='link']]">
+    <link>
+      <xsl:attribute name="linkend"><xsl:value-of
+				       select="@w:bookmark"/></xsl:attribute>
+      <xsl:apply-templates select="w:r"/>
+    </link>
+  </xsl:template>
+
+  <xsl:template match="w:hlink[w:r/w:rPr/w:u |
+		       w:r/w:rPr/w:rStyle[@w:val='ulink' or @w:val='Hyperlink']]">
+    <ulink url='{@w:dest}'>
+      <xsl:apply-templates select="w:r"/>
+    </ulink>
+  </xsl:template>
+
+  <xsl:template match="w:hlink[w:r/w:rPr/w:rStyle[@w:val='olink']]">
+    <olink>
+      <xsl:attribute name="targetdoc"><xsl:value-of
+					 select="@w:dest"/></xsl:attribute>
+      <xsl:attribute name="targetptr"><xsl:value-of
+					 select="@w:bookmark"/></xsl:attribute>
+      <xsl:apply-templates select="w:r"/>
+    </olink>
+  </xsl:template>
+
+  <xsl:template match="w:hlink[w:r/w:rPr/w:rStyle[@w:val='xref']]">
+    <xref>
+      <xsl:attribute name="linkend"><xsl:value-of
+				       select="@w:bookmark"/></xsl:attribute>
+    </xref>
+  </xsl:template>
+
+  <xsl:template match='w:r[starts-with(w:rPr/w:rStyle/@w:val, "emphasis")]'
+		priority='2'>
+    <xsl:choose>
+      <xsl:when test='ancestor::w:hlink'>
+	<xsl:apply-templates select='w:t'/>
+      </xsl:when>
+      <xsl:when test='w:rPr/w:rStyle/@w:val = "emphasis-bold"'>
+	<emphasis role='bold'>
+	  <xsl:apply-templates select="w:t"/>
+	</emphasis>
+      </xsl:when>
+      <xsl:when test='w:rPr/w:rStyle/@w:val = "emphasis-underline"'>
+	<emphasis role='underline'>
+	  <xsl:apply-templates select="w:t"/>
+	</emphasis>
+      </xsl:when>
+      <xsl:otherwise>
+	<emphasis>
+	  <xsl:apply-templates select="w:t"/>
+	</emphasis>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match="w:r[w:rPr/w:i|w:rPr/w:b|w:rPr/w:u]">
+    <xsl:call-template name='emphasis-nested'>
+      <xsl:with-param name='nodes'
+		      select='w:rPr/w:i|w:rPr/w:b|w:rPr/w:u'/>
+    </xsl:call-template>
+  </xsl:template>
+  <xsl:template name='emphasis-nested'>
+    <xsl:param name='nodes' select='/..'/>
+
+    <xsl:choose>
+      <xsl:when test='$nodes[1]/self::w:i'>
+	<emphasis>
+	  <xsl:call-template name='emphasis-nested'>
+	    <xsl:with-param name='nodes' select='$nodes[position() != 1]'/>
+	  </xsl:call-template>
+	</emphasis>
+      </xsl:when>
+      <xsl:when test='$nodes[1]/self::w:b'>
+	<emphasis role='bold'>
+	  <xsl:call-template name='emphasis-nested'>
+	    <xsl:with-param name='nodes' select='$nodes[position() != 1]'/>
+	  </xsl:call-template>
+	</emphasis>
+      </xsl:when>
+      <xsl:when test='$nodes[1]/self::w:u'>
+	<emphasis role='underline'>
+	  <xsl:call-template name='emphasis-nested'>
+	    <xsl:with-param name='nodes' select='$nodes[position() != 1]'/>
+	  </xsl:call-template>
+	</emphasis>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:apply-templates select="w:t"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='&filename;|&sgmltag;|&application;|&literal;'>
+    <xsl:element name='{w:rPr/w:rStyle/@w:val}'>
+      <xsl:apply-templates select='w:t'/>
+    </xsl:element>
+  </xsl:template>
+
+  <xsl:template match='&inlinegraphic;'>
+    <inlinegraphic>
+      <xsl:attribute name='fileref'>
+	<xsl:apply-templates select='w:t'
+			     mode='textonly'/>
+      </xsl:attribute>
+    </inlinegraphic>
+  </xsl:template>
+
+<xsl:template match="w:r[w:rPr/w:rStyle[@w:val = 'FootnoteReference']]">
+  <footnote>
+    <xsl:apply-templates/>
+  </footnote>
+</xsl:template>
+
+<!-- Ignore the footnote number with the footnote text -->
+<xsl:template match="w:r[w:rPr/w:rStyle[@w:val = 'FootnoteReference']]
+                        [child::w:footnoteRef]">
+</xsl:template>
+
+<xsl:template match="w:footnote">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- The footnote text -->
+<xsl:template match="&footnote;">
+  <para>
+    <xsl:apply-templates/>
+  </para>
+</xsl:template>
+
+<xsl:template match="w:r">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="w:t">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template name="object.id">
+  <xsl:variable name="id">
+    <xsl:apply-templates select="." mode="object.id"/>
+  </xsl:variable>
+  <xsl:if test="$id != ''">
+    <xsl:attribute name="id"><xsl:value-of select="$id"/></xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="w:p" mode="object.id">
+
+  <xsl:variable name="bookmark.inside">
+    <xsl:value-of select="aml:annotation
+                 [@w:type = 'Word.Bookmark.Start'][1]/@w:name"/>
+  </xsl:variable>
+
+  <xsl:variable name="bookmark.preceding">
+    <xsl:value-of select="preceding-sibling::*[2]
+                          [self::aml:annotation
+                          [@w:type = 'Word.Bookmark.Start']
+                          [following-sibling::aml:annotation
+                          [@w:type = 'Word.Bookmark.End']]]
+                          /@w:name"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$bookmark.inside != ''">
+      <xsl:value-of select="$bookmark.inside"/>
+    </xsl:when>
+    <xsl:when test="$bookmark.preceding != ''">
+      <xsl:value-of select="$bookmark.preceding"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template match="wx:sub-section" mode="object.id">
+  <!-- First para has the bookmark -->
+  <xsl:value-of select="w:p[1]/aml:annotation
+                 [@w:type = 'Word.Bookmark.Start'][1]/@w:name"/>
+</xsl:template>
+
+<!-- Index entry -->
+<xsl:template match="w:r/w:instrText">
+  <xsl:variable name="text" select="normalize-space(.)"/>
+
+  <xsl:choose>
+    <xsl:when test="starts-with($text, 'XE')">
+
+      <xsl:variable name="primary">
+        <xsl:choose>
+          <xsl:when test="contains($text, ':')">
+            <xsl:value-of select="substring-before(
+                                  substring-after($text, 'XE &quot;'), ':')"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="substring-before(
+                                  substring-after($text, 'XE &quot;'), '&quot;')"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+    
+      <xsl:variable name="secondary">
+        <xsl:choose>
+          <xsl:when test="contains($text, ':')">
+            <xsl:value-of select="substring-before(
+                                  substring-after($text, ':'), '&quot;')"/>
+          </xsl:when>
+          <xsl:otherwise></xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+    
+      <indexterm>
+        <primary><xsl:value-of select="$primary"/></primary>
+        <xsl:if test="$secondary != ''">
+          <secondary><xsl:value-of select="$secondary"/></secondary>
+        </xsl:if>
+      </indexterm>
+    </xsl:when>
+  </xsl:choose>
+        
+</xsl:template>
+
+  <xsl:template match='w:p[w:pPr/w:pStyle/@w:val = "informalfigure-imagedata"]' mode='group'>
+    <!-- Simple form of figure with no captions, titles, etc -->
+    <!-- TODO: allow setting of width and height -->
+    <informalfigure>
+      <xsl:call-template name="object.id"/>
+      <mediaobject>
+        <imageobject>
+          <imagedata>
+            <xsl:attribute name='fileref'>
+              <xsl:apply-templates select='w:r|w:hlink' mode='textonly'/>
+            </xsl:attribute>
+          </imagedata>
+        </imageobject>
+      </mediaobject>
+    </informalfigure>
+  </xsl:template>
+
+  <xsl:template match='&mediaobjecttitle; |
+		       &mediaobjectcotitle;'
+		mode='group'>
+    <xsl:element name='{substring-before(w:pPr/w:pStyle/@w:val, "-title")}'>
+      <xsl:call-template name="object.id"/>
+      <objectinfo>
+	<title>
+	  <xsl:apply-templates select='w:r|w:hlink'/>
+	</title>
+      </objectinfo>
+
+      <xsl:apply-templates select='following-sibling::*[1]'
+			   mode='mediaobject'/>
+    </xsl:element>
+  </xsl:template>
+
+  <!-- consecutive image(co)object, audioobject, videoobject and 
+       textobject elements are placed in a mediaobject(co) container.
+    -->
+  <xsl:template match='&imageobject; |
+		       &imageobjectco; |
+		       &audioobject; |
+		       &videoobject; |
+		       &textobjecttitle;'
+		mode='group'>
+    <xsl:choose>
+      <xsl:when test='self::&imageobjectco; and
+		      preceding-sibling::*[1][self::&areaspec; | self::&area;]'>
+	<mediaobjectco>
+	  <xsl:apply-templates select='.' mode='mediaobject'/>
+	</mediaobjectco>
+      </xsl:when>
+      <xsl:when test='preceding-sibling::*[1]
+		      [self::&mediaobjecttitle; |
+		       self::&mediaobjectcotitle; |
+		       self::&imageobject; |
+		       self::&imageobjectco; |
+		       self::&audioobject; |
+		       self::&videoobject; |
+		       self::&textobjecttitle;]'/>
+      <xsl:when test='self::&imageobjectco;'>
+	<mediaobjectco>
+	  <xsl:apply-templates select='.' mode='mediaobject'/>
+	  <xsl:call-template name='make-calloutlist'/>
+	</mediaobjectco>
+      </xsl:when>
+      <xsl:otherwise>
+	<mediaobject>
+	  <xsl:apply-templates select='.' mode='mediaobject'/>
+	</mediaobject>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match='&imageobject;' mode='mediaobject'>
+    <xsl:element name='{substring-before(w:pPr/w:pStyle/@w:val, "-imagedata")}'>
+      <imagedata>
+	<xsl:attribute name='fileref'>
+	  <xsl:apply-templates select='w:r|w:hlink' mode='textonly'/>
+	</xsl:attribute>
+      </imagedata>
+    </xsl:element>
+    <xsl:apply-templates select='following-sibling::*[1]'
+			 mode='mediaobject'/>
+  </xsl:template>
+  <xsl:template match='&imageobjectco;' mode='mediaobject'>
+    <xsl:element name='{substring-before(w:pPr/w:pStyle/@w:val, "-imagedata")}'>
+      <xsl:call-template name='make-areaspec'/>
+      <imageobject>
+	<imagedata>
+	  <xsl:attribute name='fileref'>
+	    <xsl:apply-templates select='w:r|w:hlink' mode='textonly'/>
+	  </xsl:attribute>
+	</imagedata>
+      </imageobject>
+      <xsl:call-template name='make-calloutlist'/>
+    </xsl:element>
+    <xsl:apply-templates select='following-sibling::*[1]'
+			 mode='mediaobject'/>
+  </xsl:template>
+  <xsl:template match='&audioobject;' mode='mediaobject'>
+    <audioobject>
+      <audiodata>
+	<xsl:attribute name='fileref'>
+	  <xsl:apply-templates select='w:r|w:hlink' mode='textonly'/>
+	</xsl:attribute>
+      </audiodata>
+    </audioobject>
+    <xsl:apply-templates select='following-sibling::*[1]'
+			 mode='mediaobject'/>
+  </xsl:template>
+  <xsl:template match='&videoobject;' mode='mediaobject'>
+    <videoobject>
+      <videodata>
+	<xsl:attribute name='fileref'>
+	  <xsl:apply-templates select='w:r|w:hlink' mode='textonly'/>
+	</xsl:attribute>
+      </videodata>
+    </videoobject>
+    <xsl:apply-templates select='following-sibling::*[1]'
+			 mode='mediaobject'/>
+  </xsl:template>
+  <xsl:template match='&textobjecttitle;' mode='mediaobject'>
+    <textobject>
+      <objectinfo>
+	<title>
+	  <xsl:apply-templates select='w:r|w:hlink'/>
+	</title>
+      </objectinfo>
+
+      <xsl:apply-templates select='following-sibling::*[1]'
+			   mode='mediaobject'/>
+    </textobject>
+  </xsl:template>
+  <xsl:template match='&caption;' mode='mediaobject'>
+    <caption>
+      <para>
+	<xsl:apply-templates select='w:r|w:hlink'/>
+      </para>
+    </caption>
+  </xsl:template>
+  <xsl:template match='*' mode='mediaobject'/>
+
+  <!-- caption is handled in mediaobject mode -->
+  <xsl:template match='&caption;' mode='group'/>
+
+  <!-- areaspec and area are handled by the imageobjectco -->
+  <xsl:template match='&areaspec;|&area;' mode='group'/>
+
+  <xsl:template name='make-areaspec'>
+    <xsl:variable name='areaspec' select='preceding-sibling::&areaspec;[1]'/>
+
+    <xsl:if test='$areaspec'>
+      <xsl:variable name='nodes' select='preceding-sibling::*[generate-id(preceding-sibling::&areaspec;[1]) = generate-id($areaspec)]'/>
+
+      <xsl:variable name='not.area'
+		    select='$nodes[not(self::w:p) or self::w:p/w:pPr/w:pStyle/@w:val != "area"]'/>
+
+      <xsl:choose>
+	<xsl:when test='$not.area'>
+	  <xsl:message>bad content (<xsl:value-of select='$not.area[1]/w:pPr/w:pStyle/@w:val'/>) in an areaspec</xsl:message>
+	  <xsl:comment> bad content (<xsl:value-of select='$not.area[1]/w:pPr/w:pStyle/@w:val'/>) in an areaspec </xsl:comment>
+	</xsl:when>
+	<xsl:otherwise>
+	  <areaspec>
+	    <xsl:call-template name='attributes'>
+	      <xsl:with-param name='node' select='$areaspec'/>
+	    </xsl:call-template>
+	    <xsl:apply-templates select='$nodes' mode='area'/>
+	  </areaspec>
+	</xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:template>
+  <xsl:template match='&area;' mode='area'>
+    <area>
+      <xsl:call-template name='attributes'/>
+    </area>
+  </xsl:template>
+
+  <!-- calloutlists are handled by the imageobjectco -->
+  <xsl:template match='&callout;|&calloutlist;' mode='group'/>
+  <xsl:template name='make-calloutlist'>
+    <xsl:if test='following-sibling::*[1][self::&callout;]'>
+      <xsl:variable
+	 name='stop.node'
+	 select='following-sibling::*[not(self::w:p) or 
+		 (self::w:p and not(self::&callout; or
+		 self::&continue; or
+		 self::&itemizedlist; or
+		 self::&orderedlist;))][1]'/>
+
+      <calloutlist>
+	<xsl:choose>
+	  <xsl:when test='$stop.node'>
+	    <xsl:apply-templates select='following-sibling::&callout;[generate-id(following-sibling::*[not(self::w:p) or 
+		 (self::w:p and not(self::&callout; or
+		 self::&continue; or
+		 self::&itemizedlist; or
+		 self::&orderedlist;))][1]) = generate-id($stop.node)]'
+				 mode='calloutlist'/>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates select='following-sibling::&callout;'
+				 mode='calloutlist'/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </calloutlist>
+    </xsl:if>
+  </xsl:template>
+  <xsl:template match='&callout;' mode='calloutlist'>
+    <callout>
+      <xsl:call-template name='attributes'/>
+
+      <para>
+	<xsl:apply-templates/>
+      </para>
+
+      <xsl:apply-templates mode='item'
+			   select='following-sibling::*[1][self::&continue;]'/>
+      <!-- Now any nested list inside this callout -->
+      <xsl:apply-templates mode='find-subgroup'
+			   select='following-sibling::*[1][self::&continue;]'>
+	<xsl:with-param name='depth' select='2'/>
+      </xsl:apply-templates>
+    </callout>
+  </xsl:template>
+
+  <xsl:template match='&continue;' mode='find-subgroup'>
+    <xsl:param name='depth' select='0'/>
+
+    <xsl:apply-templates mode='find-subgroup'
+			 select='following-sibling::*[1][self::&continue;]'>
+      <xsl:with-param name='depth' select='$depth'/>
+    </xsl:apply-templates>
+    <xsl:apply-templates mode='subgroup'
+			 select='following-sibling::*[1]
+				 [self::&itemizedlist; or self::&orderedlist;]
+				 [&listlevel; &gt;= $depth]'>
+      <xsl:with-param name='depth' select='$depth'/>
+    </xsl:apply-templates>
+  </xsl:template>
+  <xsl:template match='*' mode='find-subgroup'/>
+
+  <xsl:template match="&figure;" mode="group">
+
+    <!-- Get title and caption from siblings -->
+    <xsl:variable name="title">
+      <xsl:choose>
+	<xsl:when test="following-sibling::*[1][self::&figuretitle;]">
+          <xsl:apply-templates 
+                 mode="figuretitle"
+                 select="following-sibling::*[1][self::&figuretitle;]"/>
+	</xsl:when>
+	<xsl:when test="preceding-sibling::*[1][self::&figuretitle;]">
+          <xsl:apply-templates 
+                 mode="figuretitle"
+                 select="preceding-sibling::*[1][self::&figuretitle;]"/>
+	</xsl:when>
+      </xsl:choose>
+    </xsl:variable>
+
+    <!-- FIXME -->
+    <xsl:variable name="caption"/>
+
+    <xsl:variable name="shape" select="w:r/w:pict/v:shape"/>
+    <xsl:variable name="style" select="$shape/@style"/>
+
+    <xsl:variable name="src" select="$shape/v:imagedata/@src"/>
+    <xsl:variable name="width"
+                select="substring-before(
+                        substring-after($style, 'width:'), ';')"/>
+    <xsl:variable name="height">
+      <xsl:variable name="candidate" 
+                  select="substring-before(
+                          substring-after($style, 'height:'), ';') != ''"/>
+      <xsl:choose>
+	<xsl:when test="$candidate != ''">
+          <xsl:value-of select="$candidate"/>
+	</xsl:when>
+	<xsl:otherwise>
+          <xsl:value-of select="substring-after($style, 'height:')"/>
+	</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:variable name="element">
+      <xsl:choose>
+	<xsl:when test="$title != ''">figure</xsl:when>
+	<xsl:otherwise>informalfigure</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:element name="{$element}">
+      <xsl:call-template name="object.id"/>
+      <xsl:if test="$title != ''">
+	<title>
+          <xsl:copy-of select="$title"/>
+	</title>
+      </xsl:if>
+      <mediaobject>
+	<imageobject>
+          <imagedata>
+            <xsl:attribute name="fileref">
+              <xsl:value-of select="$src"/>
+            </xsl:attribute>
+            <xsl:if test="$width != ''">
+              <xsl:attribute name="contentwidth">
+		<xsl:value-of select="$width"/>
+              </xsl:attribute>
+            </xsl:if>
+            <xsl:if test="$height != ''">
+              <xsl:attribute name="contentdepth">
+		<xsl:value-of select="$height"/>
+              </xsl:attribute>
+            </xsl:if>
+          </imagedata>
+	</imageobject>
+      </mediaobject>
+    </xsl:element>
+
+  </xsl:template>
+
+<xsl:template match="&figuretitle;" mode="group"/>
+
+<xsl:template match="&figuretitle;" mode="figuretitle">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="&exampletitle;" mode="group">
+  <example>
+    <title>
+      <xsl:apply-templates/>
+    </title>
+    <xsl:apply-templates mode="example"
+             select="following-sibling::*[1][self::w:p or self::w:tbl]" />
+  </example>
+</xsl:template>
+
+
+<!-- Process tables -->
+<xsl:template match="w:tbl" mode="group">
+
+  <!-- Get title and caption from siblings -->
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="following-sibling::*[1][self::&tabletitle;]">
+        <xsl:apply-templates 
+                 mode="tabletitle"
+                 select="following-sibling::*[1][self::&tabletitle;]"/>
+      </xsl:when>
+      <xsl:when test="preceding-sibling::*[1][self::&tabletitle;]">
+        <xsl:apply-templates 
+                 mode="tabletitle"
+                 select="preceding-sibling::*[1][self::&tabletitle;]"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- FIXME -->
+  <xsl:variable name="caption"/>
+
+  <xsl:variable name="element">
+    <xsl:choose>
+      <xsl:when test="$title != ''">table</xsl:when>
+      <xsl:otherwise>informaltable</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:element name="{$element}">
+    <xsl:call-template name="object.id"/>
+    <xsl:if test="$title != ''">
+      <title>
+        <xsl:copy-of select="$title"/>
+      </title>
+    </xsl:if>
+
+    <tgroup>
+      <xsl:attribute name="cols">
+        <xsl:value-of select="count(w:tblGrid/w:gridCol)"/>
+      </xsl:attribute>
+      <xsl:apply-templates select="w:tblGrid" mode="colspec"/>
+      <xsl:if test="w:tr[descendant::w:pStyle[@w:val = 'tableheader']]">
+        <thead>
+          <xsl:apply-templates mode="tableheader"
+                  select="w:tr[descendant::w:pStyle[@w:val = 'tableheader']]"/>
+        </thead>
+      </xsl:if>
+      <tbody>
+        <xsl:apply-templates/>
+      </tbody>
+    </tgroup>
+
+  </xsl:element>
+
+</xsl:template>
+
+<xsl:template match="&tabletitle;" mode="group"/>
+
+<xsl:template match="&tabletitle;" mode="tabletitle">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="w:tblGrid" mode="colspec">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="w:tblGrid">
+</xsl:template>
+
+<xsl:template match="w:tblGrid/w:gridCol">
+  <colspec>
+    <xsl:attribute name="colnum">
+      <xsl:value-of select="position()"/>
+    </xsl:attribute>
+    <xsl:attribute name="colname">
+      <xsl:value-of select="concat('col', position())"/>
+    </xsl:attribute>
+    <xsl:if test="@w:w != ''">
+      <xsl:variable name="calcwidth">
+        <xsl:value-of select="@w:w div 20"/>
+      </xsl:variable>
+      <xsl:attribute name="colwidth">
+        <xsl:value-of select="concat($calcwidth, 'pt')"/>
+      </xsl:attribute>
+    </xsl:if>
+  </colspec>
+</xsl:template>
+  
+<!-- Table header row -->
+<xsl:template mode="tableheader"
+              match="w:tr[descendant::w:pStyle[@w:val = 'tableheader']]">
+  <row>
+    <xsl:apply-templates/>
+  </row>
+</xsl:template>
+
+<xsl:template match="w:tr[descendant::w:pStyle[@w:val = 'tableheader']]">
+  <!-- Already handled in tableheader mode -->
+</xsl:template>
+
+<xsl:template match="w:tr">
+  <row>
+    <xsl:apply-templates/>
+  </row>
+</xsl:template>
+
+<xsl:template match="w:tc">
+  <entry>
+    <!-- Process any spans -->
+    <xsl:call-template name="cell.span"/>
+    <!-- Process as paras if more than one w:p in the cell -->
+    <xsl:choose>
+      <xsl:when test="count(w:p) = 1">
+            <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates mode="group"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </entry>
+</xsl:template>
+
+<xsl:template name="cell.span">
+  <xsl:variable name="span" select="0 + w:tcPr/w:gridSpan/@w:val"/>
+  <xsl:if test="$span &gt; 0">
+    <!-- Get the current cell number -->
+    <xsl:variable name="colstart">
+      <xsl:call-template name="colcount">
+        <xsl:with-param name="count" select="1"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:attribute name="namest"><xsl:value-of 
+                 select="concat('col', $colstart)"/></xsl:attribute>
+    <xsl:attribute name="nameend"><xsl:value-of
+                 select="concat('col', $colstart + $span - 1)"/></xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<!-- recursively count preceding columns, including spans -->
+<xsl:template name="colcount">
+  <xsl:param name="count" select="0"/>
+  <xsl:param name="cell" select="."/>
+  <xsl:choose>
+    <xsl:when test="$cell/preceding-sibling::w:tc">
+      <xsl:variable name="span" 
+          select="0 + $cell/preceding-sibling::w:tc/w:tcPr/w:gridSpan/@w:val"/>
+      <xsl:choose>
+        <xsl:when test="$span &gt; 0">
+          <xsl:call-template name="colcount">
+            <xsl:with-param name="count" select="$count + $span"/>
+            <xsl:with-param name="cell" select="$cell/preceding-sibling::w:tc"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="colcount">
+            <xsl:with-param name="count" select="$count + 1"/>
+            <xsl:with-param name="cell" select="$cell/preceding-sibling::w:tc"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$count"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- variablelist is a two-column table with table style='variablelist' -->
+<xsl:template match="&variablelist;" mode="group">
+  <variablelist>
+    <xsl:call-template name="object.id"/>
+    <xsl:apply-templates select="w:tr" mode="variablelist"/>
+  </variablelist>
+</xsl:template>
+
+<xsl:template match="w:tr" mode="variablelist">
+  <varlistentry>
+    <term>
+      <xsl:apply-templates select="w:tc[1]/*" mode="variablelist.term"/>
+    </term>
+    <listitem>
+      <xsl:apply-templates select="w:tc[2]/*" mode="group"/> 
+    </listitem>
+  </varlistentry>
+</xsl:template>
+
+<!-- No para tags inside variablelist term -->
+<xsl:template match="w:p" mode="variablelist.term">
+  <xsl:apply-templates select="w:r|w:hlink"/>
+</xsl:template>
+
+  <xsl:template match='&admontitle;' mode='group'>
+    <xsl:variable name='element.name'
+		  select='substring-before(w:pPr/w:pStyle/@w:val, "-title")'/>
+
+    <xsl:element name='{$element.name}'>
+      <xsl:call-template name='object.id'/>
+      <title>
+	<xsl:apply-templates select='w:r|w:hlink'/>
+      </title>
+
+      <!-- Identify the node that follows all admonitions of the same type -->
+      <xsl:variable name='stop.node'
+		    select='generate-id(following-sibling::w:p[w:p/w:pStyle/@w:val != $element.name][1])'/>
+
+      <xsl:choose>
+	<xsl:when test='$stop.node'>
+          <xsl:apply-templates
+             select='following-sibling::w:p[w:p/w:pStyle/@w:val = $element.name]
+                  [generate-id(following-sibling::w:p[w:p/w:pStyle/@w:val != $element.name][1]) = $stop.node]' mode='continue'/>
+	</xsl:when>
+	<xsl:otherwise>
+          <xsl:apply-templates select='following-sibling::*' mode='continue'>
+            <xsl:with-param name='styles' select='concat(" ", $element.name, " para-continue ")'/>
+          </xsl:apply-templates>
+	</xsl:otherwise>
+      </xsl:choose>
+    </xsl:element>
+  </xsl:template>
+
+  <!-- Handle admonitions without a title -->
+  <xsl:template match="&admon;" mode="group">
+    <xsl:variable name="element.name" select="w:pPr/w:pStyle/@w:val"/>
+
+    <xsl:variable name='title.node'
+		  select='preceding-sibling::w:p[w:pPr/w:pStyle/@w:val = concat($element.name, "-title")][1]'/>
+    <xsl:variable name='stop.node'
+		  select='preceding-sibling::w:p[w:pPr/w:pStyle/@w:val != concat($element.name, "-title")][1]'/>
+
+    <xsl:choose>
+      <xsl:when test='preceding-sibling::*[1]/self::w:p[w:pPr/w:pStyle/@w:val = $element.name or w:pPr/w:pStyle/@w:val = "para-continue"]'/>
+      <xsl:when test='$title.node and $stop.node and
+                    count($title.node|$stop.node/preceding-sibling::*) = count($stop.node/preceding-sibling::*)'>
+	<!-- The previous title is not related to this node -->
+	<xsl:call-template name='make-admonition'>
+          <xsl:with-param name='element.name' select='$element.name'/>
+	</xsl:call-template>
+      </xsl:when>
+
+      <!-- The title node has included this node -->
+      <xsl:when test='$title.node'/>
+
+      <xsl:otherwise>
+	<xsl:call-template name='make-admonition'>
+          <xsl:with-param name='element.name' select='$element.name'/>
+	</xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template name='make-admonition'>
+    <xsl:param name='element.name'/>
+
+    <xsl:element name="{$element.name}">
+      <xsl:call-template name="object.id"/>
+      <para>
+	<xsl:apply-templates select="w:r|w:hlink"/>
+      </para>
+      <xsl:apply-templates mode="continue" 
+			   select="following-sibling::*[1]">
+	<xsl:with-param name='styles'
+			select='concat(" ", $element.name, " para-continue ")'/>
+      </xsl:apply-templates>
+    </xsl:element>
+  </xsl:template>
+
+  <xsl:template match="w:p" mode="continue">
+    <xsl:param name='styles' select='" para-continue "'/>
+
+    <xsl:if test='contains($styles, concat(" ", w:pPr/w:pStyle/@w:val, " "))'>
+      <para>
+	<xsl:call-template name="object.id"/>
+	<xsl:apply-templates select="w:r|w:hlink"/>
+      </para>
+      <!-- Continue to process any immediate following -->
+      <xsl:apply-templates mode="continue"
+			   select="following-sibling::*[1]">
+	<xsl:with-param name='styles' select='$styles'/>
+      </xsl:apply-templates>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match="&verbatim;[not(preceding-sibling::*[1]
+                       [self::&verbatim;])]" 
+                mode="group">
+
+    <!-- Exception: textobjects include the following verbatim element -->
+    <xsl:if test='preceding-sibling::*[1][not(self::&textobjecttitle;)]'>
+      <xsl:variable name="element.name" select="w:pPr/w:pStyle/@w:val"/>
+      <!-- Start the listing and process all subsequent ones too -->
+      <xsl:element name="{$element.name}">
+	<xsl:call-template name="object.id"/>
+	<xsl:apply-templates select="." mode="item"/>
+      </xsl:element>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match="&verbatim;[not(preceding-sibling::*[1]
+                       [self::&verbatim;])]" 
+                mode="example">
+
+    <xsl:variable name="element.name" select="w:pPr/w:pStyle/@w:val"/>
+    <!-- Start the listing and process all subsequent ones too -->
+    <xsl:element name="{$element.name}">
+      <xsl:call-template name="object.id"/>
+      <xsl:apply-templates select="." mode="item"/>
+    </xsl:element>
+  </xsl:template>
+
+  <xsl:template match="&verbatim;[preceding-sibling::*[1]
+                       [self::&verbatim;]]" 
+                mode="group">
+    <!-- Non-first verbatims are handled in item mode -->
+  </xsl:template>
+
+  <xsl:template match="&verbatim;" mode="item">
+
+    <xsl:apply-templates select="w:r|w:hlink" />
+    <xsl:text>&#x0A;</xsl:text>
+    <xsl:apply-templates select="following-sibling::*[1][self::&verbatim;]"
+			 mode="item"/>
+  </xsl:template>
+
+  <xsl:template match="w:br[ancestor::&verbatim;|ancestor::&programlistingco;]">
+    <xsl:text>&#x0A;</xsl:text>
+  </xsl:template>
+  
+  <xsl:template match="&verbatim;[preceding-sibling::*[1]
+                       [self::&exampletitle;]]" 
+		priority="2"
+		mode="group"/>
+
+  <xsl:template match="w:tbl[preceding-sibling::*[1][self::&exampletitle;]]" 
+		priority="2"
+		mode="group"/>
+
+  <xsl:template match='&programlistingco;
+		       [not(preceding-sibling::*[1][self::&programlistingco;])]'
+		mode='group'>
+    <xsl:variable name='stop.node'
+		  select='following-sibling::*[not(self::&programlistingco;)][1]'/>
+
+    <programlistingco>
+      <xsl:call-template name='make-areaspec'/>
+      <programlisting>
+	<xsl:choose>
+	  <xsl:when test='$stop.node'>
+	    <xsl:apply-templates
+	       select='.|following-sibling::&programlistingco;
+		       [generate-id(following-sibling::*[not(self::&programlistingco;)][1]) = generate-id($stop.node)]'
+	       mode='programlistingco'/>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates select='.|following-sibling::&programlistingco;'
+				 mode='programlistingco'/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </programlisting>
+      <xsl:call-template name='make-calloutlist'/>
+    </programlistingco>
+  </xsl:template>
+  <!-- Handled by first programlistingco -->
+  <xsl:template match='&programlistingco;
+		       [preceding-sibling::*[1][self::&programlistingco;]]'
+		mode='group'/>
+  <xsl:template match='&programlistingco;' mode='programlistingco'>
+    <xsl:apply-templates select='w:r|w:hlink'/>
+    <xsl:text>&#x0A;</xsl:text>
+  </xsl:template>
+
+  <xsl:template match="&xinclude;"
+		xmlns:xi='http://www.w3.org/2001/XInclude'>
+    <xi:include>
+      <xsl:attribute name='href'>
+	<xsl:apply-templates select='w:r|w:hlink' mode='textonly'/>
+      </xsl:attribute>
+    </xi:include>
+  </xsl:template>
+
+  <xsl:template name='attributes'>
+    <xsl:param name='node' select='.'/>
+
+    <xsl:variable name='attr'
+      select='$node/w:r[w:rPr/w:rStyle/@w:val = "attributes"]'/>
+    <xsl:variable name='annotation' select='$attr/preceding-sibling::aml:annotation[1]'/>
+
+    <xsl:if test='$attr and $annotation'>
+      <xsl:variable name='comment' select='$node/w:r[w:rPr/w:rStyle/@w:val = "CommentReference"]/aml:annotation[@w:type = "Word.Comment" and @aml:id = $annotation/@aml:id]/aml:content'/>
+      <xsl:for-each select='$comment/w:p/w:r[w:rPr/w:rStyle/@w:val = "attribute-name"]'>
+        <xsl:attribute name='{w:t}'>
+          <xsl:value-of select='following-sibling::w:r[w:rPr/w:rStyle/@w:val = "attribute-value"][1]/w:t'/>
+        </xsl:attribute>
+      </xsl:for-each>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template match='aml:annotation' mode='group'>
+    <xsl:choose>
+      <xsl:when test='@w:type = "Word.Deletion"'>
+	<emphasis role='deletion'>
+	  <xsl:comment> encode author and mod date here </xsl:comment>
+	  <xsl:apply-templates mode='revision'/>
+	</emphasis>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match='aml:annotation'/>
+  <xsl:template match='w:r[w:rPr/w:rStyle/@w:val = "attributes"]'/>
+  <xsl:template match='w:r[w:rPr/w:rStyle/@w:val = "CommentReference"]'/>
+
+  <!-- utilities -->
+
+  <!-- This template is invoked whenever an error condition is detected in the conversion of a WordML document.
+    -->
+  <xsl:template name='report-error'>
+    <xsl:param name='node' select='.'/>
+    <xsl:param name='message'/>
+
+    <xsl:message><xsl:value-of select='$message'/></xsl:message>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/roundtrip/wordml-normalise.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/wordml-normalise.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/wordml-normalise.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,57 @@
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"
+  xmlns:v="urn:schemas-microsoft-com:vml"
+  xmlns:w10="urn:schemas-microsoft-com:office:word"
+  xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core"
+  xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
+  xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint"
+  xmlns:o="urn:schemas-microsoft-com:office:office"
+  xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
+
+  <xsl:output method='xml' indent="yes" encoding='UTF-8'/>
+
+  <!-- ********************************************************************
+       $Id: wordml-normalise.xsl 4125 2004-12-24 04:28:48Z balls $
+       ********************************************************************
+
+       This file is part of the XSL DocBook Stylesheet distribution.
+       See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+       and other information.
+
+       ******************************************************************** -->
+
+  <xsl:strip-space elements='*'/>
+  <xsl:preserve-space elements='w:t'/>
+
+  <xsl:template match="w:wordDocument">
+    <xsl:copy>
+      <xsl:apply-templates select='w:body'/>
+    </xsl:copy>
+  </xsl:template>
+
+  <xsl:template match='wx:sect|wx:sub-section|wx:pBdrGroup'>
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match='wx:borders |
+                       wx:margin-left'/>
+
+  <xsl:template match='w:pStyle|w:rStyle'>
+    <xsl:copy>
+      <xsl:for-each select='@*'>
+        <xsl:copy/>
+      </xsl:for-each>
+    </xsl:copy>
+  </xsl:template>
+
+  <xsl:template match='*'>
+    <xsl:copy>
+      <xsl:for-each select='@*'>
+        <xsl:copy/>
+      </xsl:for-each>
+      <xsl:apply-templates/>
+    </xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/roundtrip/wordml-sections.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/wordml-sections.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/wordml-sections.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1256 @@
+<?xml version="1.0" encoding="utf-8"?>
+<axsl:stylesheet xmlns:axsl="http://www.w3.org/1999/XSL/Transform" xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core" xmlns:aml="http://schemas.microsoft.com/aml/2001/core" xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" version="1.0">
+<!--====================================-->
+<!--=                                  =-->
+<!--=   DO NOT EDIT THIS STYLESHEET    =-->
+<!--=                                  =-->
+<!--= This stylesheet is generated     =-->
+<!--= by makeSections.xsl and a        =-->
+<!--= mapping specification.           =-->
+<!--=                                  =-->
+<!--= Revision history:                =-->
+<!--=  1.2 2005-10-03 SRB              =-->
+<!--=   Change XML Namespace URI.      =-->
+<!--=  1.1 2004-12-08 SRB              =-->
+<!--=   Implement multiple elements... =-->
+<!--=  1.0.1 2004-12-01 SRB            =-->
+<!--=   Fixed missing sections.        =-->
+<!--=                                  =-->
+<!--= $Id: wordml-sections.xsl 5448 2005-11-11 05:18:16Z balls $ =-->
+<!--=                                  =-->
+<!--====================================-->
+  <axsl:output indent="yes" encoding="utf-8"/>
+  <axsl:strip-space elements="*"/>
+  <axsl:preserve-space elements="w:t"/>
+  <axsl:template match="w:body">
+    <axsl:copy>
+      <axsl:for-each select="@*">
+        <axsl:copy/>
+      </axsl:for-each>
+      <axsl:variable name="books" select="w:p[w:pPr/w:pStyle/@w:val = &quot;book&quot; or w:pPr/w:pStyle/@w:val = &quot;book-title&quot;]"/>
+      <axsl:variable name="toplevel-components" select="w:p[w:pPr/w:pStyle/@w:val = &quot;article&quot; or w:pPr/w:pStyle/@w:val = &quot;article-title&quot; or w:pPr/w:pStyle/@w:val = &quot;appendix&quot; or w:pPr/w:pStyle/@w:val = &quot;appendix-title&quot; or w:pPr/w:pStyle/@w:val = &quot;chapter&quot; or w:pPr/w:pStyle/@w:val = &quot;chapter-title&quot; or w:pPr/w:pStyle/@w:val = &quot;preface&quot; or w:pPr/w:pStyle/@w:val = &quot;preface-title&quot;]"/>
+      <axsl:choose>
+        <axsl:when test="$books">
+          <axsl:apply-templates select="$books[1]/preceding-sibling::*"/>
+          <axsl:apply-templates select="$books[1]" mode="book">
+            <axsl:with-param name="books" select="$books[position() != 1]"/>
+          </axsl:apply-templates>
+        </axsl:when>
+        <axsl:when test="$toplevel-components">
+          <axsl:apply-templates select="$toplevel-components[1]/preceding-sibling::*"/>
+          <axsl:apply-templates select="$toplevel-components[1]" mode="toplevel-component">
+            <axsl:with-param name="toplevel-components" select="$toplevel-components[position() != 1]"/>
+          </axsl:apply-templates>
+        </axsl:when>
+        <axsl:otherwise>
+          <axsl:apply-templates/>
+        </axsl:otherwise>
+      </axsl:choose>
+    </axsl:copy>
+  </axsl:template>
+  <axsl:template match="w:p" mode="book">
+    <axsl:param name="books" select="/.."/>
+    <axsl:choose>
+      <axsl:when test="$books and (w:pPr/w:pStyle/@w:val = &quot;book&quot; or w:pPr/w:pStyle/@w:val = &quot;book-title&quot;)">
+        <axsl:call-template name="make-book">
+          <axsl:with-param name="books" select="$books"/>
+          <axsl:with-param name="book-components" select="$books[1]/preceding-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;part&quot; or w:pPr/w:pStyle/@w:val = &quot;part-title&quot; or w:pPr/w:pStyle/@w:val = &quot;article&quot; or w:pPr/w:pStyle/@w:val = &quot;article-title&quot; or w:pPr/w:pStyle/@w:val = &quot;appendix&quot; or w:pPr/w:pStyle/@w:val = &quot;appendix-title&quot; or w:pPr/w:pStyle/@w:val = &quot;chapter&quot; or w:pPr/w:pStyle/@w:val = &quot;chapter-title&quot; or w:pPr/w:pStyle/@w:val = &quot;preface&quot; or w:pPr/w:pStyle/@w:val = &quot;preface-title&quot;]"/>
+        </axsl:call-template>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="make-book">
+          <axsl:with-param name="books" select="$books"/>
+          <axsl:with-param name="book-components" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;part&quot; or w:pPr/w:pStyle/@w:val = &quot;part-title&quot; or w:pPr/w:pStyle/@w:val = &quot;article&quot; or w:pPr/w:pStyle/@w:val = &quot;article-title&quot; or w:pPr/w:pStyle/@w:val = &quot;appendix&quot; or w:pPr/w:pStyle/@w:val = &quot;appendix-title&quot; or w:pPr/w:pStyle/@w:val = &quot;chapter&quot; or w:pPr/w:pStyle/@w:val = &quot;chapter-title&quot; or w:pPr/w:pStyle/@w:val = &quot;preface&quot; or w:pPr/w:pStyle/@w:val = &quot;preface-title&quot;]"/>
+        </axsl:call-template>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template name="make-book">
+    <axsl:param name="books" select="/.."/>
+    <axsl:param name="book-components" select="/.."/>
+    <wx:sub-section class="book">
+      <axsl:call-template name="copy"/>
+      <axsl:apply-templates select="following-sibling::*[1]" mode="book-component">
+        <axsl:with-param name="nextbook" select="$books[1]"/>
+        <axsl:with-param name="book-components" select="$book-components"/>
+      </axsl:apply-templates>
+    </wx:sub-section>
+    <axsl:apply-templates select="$books[1]" mode="book">
+      <axsl:with-param name="books" select="$books[position() != 1]"/>
+    </axsl:apply-templates>
+  </axsl:template>
+  <axsl:template match="w:p" mode="toplevel-component">
+    <axsl:param name="toplevel-components" select="/.."/>
+    <axsl:choose>
+      <axsl:when test="$toplevel-components and (w:pPr/w:pStyle/@w:val = &quot;article&quot; or w:pPr/w:pStyle/@w:val = &quot;article-title&quot; or w:pPr/w:pStyle/@w:val = &quot;appendix&quot; or w:pPr/w:pStyle/@w:val = &quot;appendix-title&quot; or w:pPr/w:pStyle/@w:val = &quot;chapter&quot; or w:pPr/w:pStyle/@w:val = &quot;chapter-title&quot; or w:pPr/w:pStyle/@w:val = &quot;preface&quot; or w:pPr/w:pStyle/@w:val = &quot;preface-title&quot;)">
+        <axsl:call-template name="make-toplevel-component">
+          <axsl:with-param name="toplevel-components" select="$toplevel-components"/>
+          <axsl:with-param name="sect1s" select="$toplevel-components[1]/preceding-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect1&quot; or w:pPr/w:pStyle/@w:val = &quot;sect1-title&quot;]"/>
+        </axsl:call-template>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="make-toplevel-component">
+          <axsl:with-param name="toplevel-components" select="$toplevel-components"/>
+          <axsl:with-param name="sect1s" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect1&quot; or w:pPr/w:pStyle/@w:val = &quot;sect1-title&quot;]"/>
+        </axsl:call-template>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template name="make-toplevel-component">
+    <axsl:param name="toplevel-components" select="/.."/>
+    <axsl:param name="sect1s" select="/.."/>
+    <wx:sub-section class="toplevel-component">
+      <axsl:call-template name="copy"/>
+      <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect1">
+        <axsl:with-param name="nexttoplevel-component" select="$toplevel-components[1]"/>
+        <axsl:with-param name="sect1s" select="$sect1s"/>
+      </axsl:apply-templates>
+    </wx:sub-section>
+    <axsl:apply-templates select="$toplevel-components[1]" mode="toplevel-component">
+      <axsl:with-param name="toplevel-components" select="$toplevel-components[position() != 1]"/>
+    </axsl:apply-templates>
+  </axsl:template>
+  <axsl:template match="w:p" mode="book-component">
+    <axsl:param name="nextbook" select="/.."/>
+    <axsl:param select="/.." name="book-components"/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextbook)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;part&quot; or w:pPr/w:pStyle/@w:val = &quot;part-title&quot; or w:pPr/w:pStyle/@w:val = &quot;article&quot; or w:pPr/w:pStyle/@w:val = &quot;article-title&quot; or w:pPr/w:pStyle/@w:val = &quot;appendix&quot; or w:pPr/w:pStyle/@w:val = &quot;appendix-title&quot; or w:pPr/w:pStyle/@w:val = &quot;chapter&quot; or w:pPr/w:pStyle/@w:val = &quot;chapter-title&quot; or w:pPr/w:pStyle/@w:val = &quot;preface&quot; or w:pPr/w:pStyle/@w:val = &quot;preface-title&quot;">
+        <axsl:variable name="nextbook-component" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;part&quot; or w:pPr/w:pStyle/@w:val = &quot;part-title&quot; or w:pPr/w:pStyle/@w:val = &quot;article&quot; or w:pPr/w:pStyle/@w:val = &quot;article-title&quot; or w:pPr/w:pStyle/@w:val = &quot;appendix&quot; or w:pPr/w:pStyle/@w:val = &quot;appendix-title&quot; or w:pPr/w:pStyle/@w:val = &quot;chapter&quot; or w:pPr/w:pStyle/@w:val = &quot;chapter-title&quot; or w:pPr/w:pStyle/@w:val = &quot;preface&quot; or w:pPr/w:pStyle/@w:val = &quot;preface-title&quot;][1]"/>
+        <axsl:choose>
+          <axsl:when test="$nextbook-component">
+            <axsl:variable name="sect1s" select="$nextbook-component/preceding-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect1&quot; or w:pPr/w:pStyle/@w:val = &quot;sect1-title&quot;]"/>
+            <wx:sub-section class="book-component">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect1">
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="count($book-components|$nextbook-component) = count($book-components)">
+              <axsl:apply-templates select="$nextbook-component" mode="book-component">
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:when>
+          <axsl:otherwise>
+            <axsl:variable name="sect1s" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect1&quot; or w:pPr/w:pStyle/@w:val = &quot;sect1-title&quot;]"/>
+            <wx:sub-section class="book-component">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect1">
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="count($book-components|$nextbook-component) = count($book-components)">
+              <axsl:apply-templates select="$nextbook-component" mode="book-component">
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:otherwise>
+        </axsl:choose>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="book-component">
+          <axsl:with-param name="nextbook" select="$nextbook"/>
+          <axsl:with-param name="book-components" select="$book-components"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="book-sect1">
+    <axsl:param name="nextbook-component" select="/.."/>
+    <axsl:param name="nextbook" select="/.."/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:param select="/.." name="book-components"/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextbook-component)"/>
+      <axsl:when test="generate-id() = generate-id($nextbook)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;sect1&quot; or w:pPr/w:pStyle/@w:val = &quot;sect1-title&quot;">
+        <axsl:variable name="nextsect1" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect1&quot; or w:pPr/w:pStyle/@w:val = &quot;sect1-title&quot;][1]"/>
+        <axsl:choose>
+          <axsl:when test="$nextsect1">
+            <axsl:variable name="sect2s" select="$nextsect1/preceding-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect2&quot; or w:pPr/w:pStyle/@w:val = &quot;sect2-title&quot;]"/>
+            <wx:sub-section class="sect1">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect2">
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect1 and (not($book-components) or count($sect1s|$nextsect1) = count($sect1s))">
+              <axsl:apply-templates select="$nextsect1" mode="book-sect1">
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:when>
+          <axsl:otherwise>
+            <axsl:variable name="sect2s" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect2&quot; or w:pPr/w:pStyle/@w:val = &quot;sect2-title&quot;]"/>
+            <wx:sub-section class="sect1">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect2">
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect1 and (not($book-components) or count($sect1s|$nextsect1) = count($sect1s))">
+              <axsl:apply-templates select="$nextsect1" mode="book-sect1">
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:otherwise>
+        </axsl:choose>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect1">
+          <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+          <axsl:with-param name="nextbook" select="$nextbook"/>
+          <axsl:with-param name="sect1s" select="$sect1s"/>
+          <axsl:with-param name="book-components" select="$book-components"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="book-sect2">
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nextbook-component" select="/.."/>
+    <axsl:param name="nextbook" select="/.."/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:param select="/.." name="book-components"/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextsect1)"/>
+      <axsl:when test="generate-id() = generate-id($nextbook-component)"/>
+      <axsl:when test="generate-id() = generate-id($nextbook)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;sect2&quot; or w:pPr/w:pStyle/@w:val = &quot;sect2-title&quot;">
+        <axsl:variable name="nextsect2" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect2&quot; or w:pPr/w:pStyle/@w:val = &quot;sect2-title&quot;][1]"/>
+        <axsl:choose>
+          <axsl:when test="$nextsect2">
+            <axsl:variable name="sect3s" select="$nextsect2/preceding-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect3&quot; or w:pPr/w:pStyle/@w:val = &quot;sect3-title&quot;]"/>
+            <wx:sub-section class="sect2">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect3">
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect2 and (not($sect1s) or count($sect2s|$nextsect2) = count($sect2s))">
+              <axsl:apply-templates select="$nextsect2" mode="book-sect2">
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:when>
+          <axsl:otherwise>
+            <axsl:variable name="sect3s" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect3&quot; or w:pPr/w:pStyle/@w:val = &quot;sect3-title&quot;]"/>
+            <wx:sub-section class="sect2">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect3">
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect2 and (not($sect1s) or count($sect2s|$nextsect2) = count($sect2s))">
+              <axsl:apply-templates select="$nextsect2" mode="book-sect2">
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:otherwise>
+        </axsl:choose>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect2">
+          <axsl:with-param name="nextsect1" select="$nextsect1"/>
+          <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+          <axsl:with-param name="nextbook" select="$nextbook"/>
+          <axsl:with-param name="sect2s" select="$sect2s"/>
+          <axsl:with-param name="sect1s" select="$sect1s"/>
+          <axsl:with-param name="book-components" select="$book-components"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="book-sect3">
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nextbook-component" select="/.."/>
+    <axsl:param name="nextbook" select="/.."/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:param select="/.." name="book-components"/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextsect2)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect1)"/>
+      <axsl:when test="generate-id() = generate-id($nextbook-component)"/>
+      <axsl:when test="generate-id() = generate-id($nextbook)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;sect3&quot; or w:pPr/w:pStyle/@w:val = &quot;sect3-title&quot;">
+        <axsl:variable name="nextsect3" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect3&quot; or w:pPr/w:pStyle/@w:val = &quot;sect3-title&quot;][1]"/>
+        <axsl:choose>
+          <axsl:when test="$nextsect3">
+            <axsl:variable name="sect4s" select="$nextsect3/preceding-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect4&quot; or w:pPr/w:pStyle/@w:val = &quot;sect4-title&quot;]"/>
+            <wx:sub-section class="sect3">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect4">
+                <axsl:with-param name="nextsect3" select="$nextsect3"/>
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect4s" select="$sect4s"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect3 and (not($sect2s) or count($sect3s|$nextsect3) = count($sect3s))">
+              <axsl:apply-templates select="$nextsect3" mode="book-sect3">
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:when>
+          <axsl:otherwise>
+            <axsl:variable name="sect4s" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect4&quot; or w:pPr/w:pStyle/@w:val = &quot;sect4-title&quot;]"/>
+            <wx:sub-section class="sect3">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect4">
+                <axsl:with-param name="nextsect3" select="$nextsect3"/>
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect4s" select="$sect4s"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect3 and (not($sect2s) or count($sect3s|$nextsect3) = count($sect3s))">
+              <axsl:apply-templates select="$nextsect3" mode="book-sect3">
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:otherwise>
+        </axsl:choose>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect3">
+          <axsl:with-param name="nextsect2" select="$nextsect2"/>
+          <axsl:with-param name="nextsect1" select="$nextsect1"/>
+          <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+          <axsl:with-param name="nextbook" select="$nextbook"/>
+          <axsl:with-param name="sect3s" select="$sect3s"/>
+          <axsl:with-param name="sect2s" select="$sect2s"/>
+          <axsl:with-param name="sect1s" select="$sect1s"/>
+          <axsl:with-param name="book-components" select="$book-components"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="book-sect4">
+    <axsl:param name="nextsect3" select="/.."/>
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nextbook-component" select="/.."/>
+    <axsl:param name="nextbook" select="/.."/>
+    <axsl:param select="/.." name="sect4s"/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:param select="/.." name="book-components"/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextsect3)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect2)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect1)"/>
+      <axsl:when test="generate-id() = generate-id($nextbook-component)"/>
+      <axsl:when test="generate-id() = generate-id($nextbook)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;sect4&quot; or w:pPr/w:pStyle/@w:val = &quot;sect4-title&quot;">
+        <axsl:variable name="nextsect4" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect4&quot; or w:pPr/w:pStyle/@w:val = &quot;sect4-title&quot;][1]"/>
+        <axsl:choose>
+          <axsl:when test="$nextsect4">
+            <axsl:variable name="sect5s" select="$nextsect4/preceding-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect5&quot; or w:pPr/w:pStyle/@w:val = &quot;sect5-title&quot;]"/>
+            <wx:sub-section class="sect4">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect5">
+                <axsl:with-param name="nextsect4" select="$nextsect4"/>
+                <axsl:with-param name="nextsect3" select="$nextsect3"/>
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect5s" select="$sect5s"/>
+                <axsl:with-param name="sect4s" select="$sect4s"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect4 and (not($sect3s) or count($sect4s|$nextsect4) = count($sect4s))">
+              <axsl:apply-templates select="$nextsect4" mode="book-sect4">
+                <axsl:with-param name="nextsect3" select="$nextsect3"/>
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect4s" select="$sect4s"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:when>
+          <axsl:otherwise>
+            <axsl:variable name="sect5s" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect5&quot; or w:pPr/w:pStyle/@w:val = &quot;sect5-title&quot;]"/>
+            <wx:sub-section class="sect4">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect5">
+                <axsl:with-param name="nextsect4" select="$nextsect4"/>
+                <axsl:with-param name="nextsect3" select="$nextsect3"/>
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect5s" select="$sect5s"/>
+                <axsl:with-param name="sect4s" select="$sect4s"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect4 and (not($sect3s) or count($sect4s|$nextsect4) = count($sect4s))">
+              <axsl:apply-templates select="$nextsect4" mode="book-sect4">
+                <axsl:with-param name="nextsect3" select="$nextsect3"/>
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+                <axsl:with-param name="nextbook" select="$nextbook"/>
+                <axsl:with-param name="sect4s" select="$sect4s"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+                <axsl:with-param name="book-components" select="$book-components"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:otherwise>
+        </axsl:choose>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect4">
+          <axsl:with-param name="nextsect3" select="$nextsect3"/>
+          <axsl:with-param name="nextsect2" select="$nextsect2"/>
+          <axsl:with-param name="nextsect1" select="$nextsect1"/>
+          <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+          <axsl:with-param name="nextbook" select="$nextbook"/>
+          <axsl:with-param name="sect4s" select="$sect4s"/>
+          <axsl:with-param name="sect3s" select="$sect3s"/>
+          <axsl:with-param name="sect2s" select="$sect2s"/>
+          <axsl:with-param name="sect1s" select="$sect1s"/>
+          <axsl:with-param name="book-components" select="$book-components"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="book-sect5">
+    <axsl:param name="nextsect4" select="/.."/>
+    <axsl:param name="nextsect3" select="/.."/>
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nextbook-component" select="/.."/>
+    <axsl:param name="nextbook" select="/.."/>
+    <axsl:param select="/.." name="sect5s"/>
+    <axsl:param select="/.." name="sect4s"/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:param select="/.." name="book-components"/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextsect4)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect3)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect2)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect1)"/>
+      <axsl:when test="generate-id() = generate-id($nextbook-component)"/>
+      <axsl:when test="generate-id() = generate-id($nextbook)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;sect5&quot; or w:pPr/w:pStyle/@w:val = &quot;sect5-title&quot;">
+        <axsl:variable name="nextsect5" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect5&quot; or w:pPr/w:pStyle/@w:val = &quot;sect5-title&quot;][1]"/>
+        <wx:sub-section class="sect5">
+          <axsl:call-template name="copy"/>
+          <axsl:apply-templates select="following-sibling::*[1]" mode="book-terminal">
+            <axsl:with-param name="nextsect5" select="$nextsect5"/>
+            <axsl:with-param name="nextsect4" select="$nextsect4"/>
+            <axsl:with-param name="nextsect3" select="$nextsect3"/>
+            <axsl:with-param name="nextsect2" select="$nextsect2"/>
+            <axsl:with-param name="nextsect1" select="$nextsect1"/>
+            <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+            <axsl:with-param name="nextbook" select="$nextbook"/>
+            <axsl:with-param name="sect5s" select="$sect5s"/>
+            <axsl:with-param name="sect4s" select="$sect4s"/>
+            <axsl:with-param name="sect3s" select="$sect3s"/>
+            <axsl:with-param name="sect2s" select="$sect2s"/>
+            <axsl:with-param name="sect1s" select="$sect1s"/>
+            <axsl:with-param name="book-components" select="$book-components"/>
+          </axsl:apply-templates>
+        </wx:sub-section>
+        <axsl:if test="$nextsect5 and (not($sect4s) or count($sect5s|$nextsect5) = count($sect5s))">
+          <axsl:apply-templates select="$nextsect5" mode="book-sect5">
+            <axsl:with-param name="nextsect4" select="$nextsect4"/>
+            <axsl:with-param name="nextsect3" select="$nextsect3"/>
+            <axsl:with-param name="nextsect2" select="$nextsect2"/>
+            <axsl:with-param name="nextsect1" select="$nextsect1"/>
+            <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+            <axsl:with-param name="nextbook" select="$nextbook"/>
+            <axsl:with-param name="sect5s" select="$sect5s"/>
+            <axsl:with-param name="sect4s" select="$sect4s"/>
+            <axsl:with-param name="sect3s" select="$sect3s"/>
+            <axsl:with-param name="sect2s" select="$sect2s"/>
+            <axsl:with-param name="sect1s" select="$sect1s"/>
+            <axsl:with-param name="book-components" select="$book-components"/>
+          </axsl:apply-templates>
+        </axsl:if>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect5">
+          <axsl:with-param name="nextsect4" select="$nextsect4"/>
+          <axsl:with-param name="nextsect3" select="$nextsect3"/>
+          <axsl:with-param name="nextsect2" select="$nextsect2"/>
+          <axsl:with-param name="nextsect1" select="$nextsect1"/>
+          <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+          <axsl:with-param name="nextbook" select="$nextbook"/>
+          <axsl:with-param name="sect5s" select="$sect5s"/>
+          <axsl:with-param name="sect4s" select="$sect4s"/>
+          <axsl:with-param name="sect3s" select="$sect3s"/>
+          <axsl:with-param name="sect2s" select="$sect2s"/>
+          <axsl:with-param name="sect1s" select="$sect1s"/>
+          <axsl:with-param name="book-components" select="$book-components"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="toplevel-sect1">
+    <axsl:param name="nexttoplevel-component" select="/.."/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nexttoplevel-component)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;sect1&quot; or w:pPr/w:pStyle/@w:val = &quot;sect1-title&quot;">
+        <axsl:variable name="nextsect1" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect1&quot; or w:pPr/w:pStyle/@w:val = &quot;sect1-title&quot;][1]"/>
+        <axsl:choose>
+          <axsl:when test="$nextsect1">
+            <axsl:variable name="sect2s" select="$nextsect1/preceding-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect2&quot; or w:pPr/w:pStyle/@w:val = &quot;sect2-title&quot;]"/>
+            <wx:sub-section class="sect1">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect2">
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="count($sect1s|$nextsect1) = count($sect1s)">
+              <axsl:apply-templates select="$nextsect1" mode="toplevel-sect1">
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:when>
+          <axsl:otherwise>
+            <axsl:variable name="sect2s" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect2&quot; or w:pPr/w:pStyle/@w:val = &quot;sect2-title&quot;]"/>
+            <wx:sub-section class="sect1">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect2">
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="count($sect1s|$nextsect1) = count($sect1s)">
+              <axsl:apply-templates select="$nextsect1" mode="toplevel-sect1">
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:otherwise>
+        </axsl:choose>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect1">
+          <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+          <axsl:with-param name="sect1s" select="$sect1s"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="toplevel-sect2">
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nexttoplevel-component" select="/.."/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextsect1)"/>
+      <axsl:when test="generate-id() = generate-id($nexttoplevel-component)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;sect2&quot; or w:pPr/w:pStyle/@w:val = &quot;sect2-title&quot;">
+        <axsl:variable name="nextsect2" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect2&quot; or w:pPr/w:pStyle/@w:val = &quot;sect2-title&quot;][1]"/>
+        <axsl:choose>
+          <axsl:when test="$nextsect2">
+            <axsl:variable name="sect3s" select="$nextsect2/preceding-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect3&quot; or w:pPr/w:pStyle/@w:val = &quot;sect3-title&quot;]"/>
+            <wx:sub-section class="sect2">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect3">
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect2 and (not($sect1s) or count($sect2s|$nextsect2) = count($sect2s))">
+              <axsl:apply-templates select="$nextsect2" mode="toplevel-sect2">
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:when>
+          <axsl:otherwise>
+            <axsl:variable name="sect3s" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect3&quot; or w:pPr/w:pStyle/@w:val = &quot;sect3-title&quot;]"/>
+            <wx:sub-section class="sect2">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect3">
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect2 and (not($sect1s) or count($sect2s|$nextsect2) = count($sect2s))">
+              <axsl:apply-templates select="$nextsect2" mode="toplevel-sect2">
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:otherwise>
+        </axsl:choose>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect2">
+          <axsl:with-param name="nextsect1" select="$nextsect1"/>
+          <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+          <axsl:with-param name="sect2s" select="$sect2s"/>
+          <axsl:with-param name="sect1s" select="$sect1s"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="toplevel-sect3">
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nexttoplevel-component" select="/.."/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextsect2)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect1)"/>
+      <axsl:when test="generate-id() = generate-id($nexttoplevel-component)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;sect3&quot; or w:pPr/w:pStyle/@w:val = &quot;sect3-title&quot;">
+        <axsl:variable name="nextsect3" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect3&quot; or w:pPr/w:pStyle/@w:val = &quot;sect3-title&quot;][1]"/>
+        <axsl:choose>
+          <axsl:when test="$nextsect3">
+            <axsl:variable name="sect4s" select="$nextsect3/preceding-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect4&quot; or w:pPr/w:pStyle/@w:val = &quot;sect4-title&quot;]"/>
+            <wx:sub-section class="sect3">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect4">
+                <axsl:with-param name="nextsect3" select="$nextsect3"/>
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect4s" select="$sect4s"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect3 and (not($sect2s) or count($sect3s|$nextsect3) = count($sect3s))">
+              <axsl:apply-templates select="$nextsect3" mode="toplevel-sect3">
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:when>
+          <axsl:otherwise>
+            <axsl:variable name="sect4s" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect4&quot; or w:pPr/w:pStyle/@w:val = &quot;sect4-title&quot;]"/>
+            <wx:sub-section class="sect3">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect4">
+                <axsl:with-param name="nextsect3" select="$nextsect3"/>
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect4s" select="$sect4s"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect3 and (not($sect2s) or count($sect3s|$nextsect3) = count($sect3s))">
+              <axsl:apply-templates select="$nextsect3" mode="toplevel-sect3">
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:otherwise>
+        </axsl:choose>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect3">
+          <axsl:with-param name="nextsect2" select="$nextsect2"/>
+          <axsl:with-param name="nextsect1" select="$nextsect1"/>
+          <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+          <axsl:with-param name="sect3s" select="$sect3s"/>
+          <axsl:with-param name="sect2s" select="$sect2s"/>
+          <axsl:with-param name="sect1s" select="$sect1s"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="toplevel-sect4">
+    <axsl:param name="nextsect3" select="/.."/>
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nexttoplevel-component" select="/.."/>
+    <axsl:param select="/.." name="sect4s"/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextsect3)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect2)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect1)"/>
+      <axsl:when test="generate-id() = generate-id($nexttoplevel-component)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;sect4&quot; or w:pPr/w:pStyle/@w:val = &quot;sect4-title&quot;">
+        <axsl:variable name="nextsect4" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect4&quot; or w:pPr/w:pStyle/@w:val = &quot;sect4-title&quot;][1]"/>
+        <axsl:choose>
+          <axsl:when test="$nextsect4">
+            <axsl:variable name="sect5s" select="$nextsect4/preceding-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect5&quot; or w:pPr/w:pStyle/@w:val = &quot;sect5-title&quot;]"/>
+            <wx:sub-section class="sect4">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect5">
+                <axsl:with-param name="nextsect4" select="$nextsect4"/>
+                <axsl:with-param name="nextsect3" select="$nextsect3"/>
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect5s" select="$sect5s"/>
+                <axsl:with-param name="sect4s" select="$sect4s"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect4 and (not($sect3s) or count($sect4s|$nextsect4) = count($sect4s))">
+              <axsl:apply-templates select="$nextsect4" mode="toplevel-sect4">
+                <axsl:with-param name="nextsect3" select="$nextsect3"/>
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect4s" select="$sect4s"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:when>
+          <axsl:otherwise>
+            <axsl:variable name="sect5s" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect5&quot; or w:pPr/w:pStyle/@w:val = &quot;sect5-title&quot;]"/>
+            <wx:sub-section class="sect4">
+              <axsl:call-template name="copy"/>
+              <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect5">
+                <axsl:with-param name="nextsect4" select="$nextsect4"/>
+                <axsl:with-param name="nextsect3" select="$nextsect3"/>
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect5s" select="$sect5s"/>
+                <axsl:with-param name="sect4s" select="$sect4s"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </wx:sub-section>
+            <axsl:if test="$nextsect4 and (not($sect3s) or count($sect4s|$nextsect4) = count($sect4s))">
+              <axsl:apply-templates select="$nextsect4" mode="toplevel-sect4">
+                <axsl:with-param name="nextsect3" select="$nextsect3"/>
+                <axsl:with-param name="nextsect2" select="$nextsect2"/>
+                <axsl:with-param name="nextsect1" select="$nextsect1"/>
+                <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+                <axsl:with-param name="sect4s" select="$sect4s"/>
+                <axsl:with-param name="sect3s" select="$sect3s"/>
+                <axsl:with-param name="sect2s" select="$sect2s"/>
+                <axsl:with-param name="sect1s" select="$sect1s"/>
+              </axsl:apply-templates>
+            </axsl:if>
+          </axsl:otherwise>
+        </axsl:choose>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect4">
+          <axsl:with-param name="nextsect3" select="$nextsect3"/>
+          <axsl:with-param name="nextsect2" select="$nextsect2"/>
+          <axsl:with-param name="nextsect1" select="$nextsect1"/>
+          <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+          <axsl:with-param name="sect4s" select="$sect4s"/>
+          <axsl:with-param name="sect3s" select="$sect3s"/>
+          <axsl:with-param name="sect2s" select="$sect2s"/>
+          <axsl:with-param name="sect1s" select="$sect1s"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="toplevel-sect5">
+    <axsl:param name="nextsect4" select="/.."/>
+    <axsl:param name="nextsect3" select="/.."/>
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nexttoplevel-component" select="/.."/>
+    <axsl:param select="/.." name="sect5s"/>
+    <axsl:param select="/.." name="sect4s"/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextsect4)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect3)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect2)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect1)"/>
+      <axsl:when test="generate-id() = generate-id($nexttoplevel-component)"/>
+      <axsl:when test="w:pPr/w:pStyle/@w:val = &quot;sect5&quot; or w:pPr/w:pStyle/@w:val = &quot;sect5-title&quot;">
+        <axsl:variable name="nextsect5" select="following-sibling::w:p[w:pPr/w:pStyle/@w:val = &quot;sect5&quot; or w:pPr/w:pStyle/@w:val = &quot;sect5-title&quot;][1]"/>
+        <wx:sub-section class="sect5">
+          <axsl:call-template name="copy"/>
+          <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-terminal">
+            <axsl:with-param name="nextsect5" select="$nextsect5"/>
+            <axsl:with-param name="nextsect4" select="$nextsect4"/>
+            <axsl:with-param name="nextsect3" select="$nextsect3"/>
+            <axsl:with-param name="nextsect2" select="$nextsect2"/>
+            <axsl:with-param name="nextsect1" select="$nextsect1"/>
+            <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+            <axsl:with-param name="sect5s" select="$sect5s"/>
+            <axsl:with-param name="sect4s" select="$sect4s"/>
+            <axsl:with-param name="sect3s" select="$sect3s"/>
+            <axsl:with-param name="sect2s" select="$sect2s"/>
+            <axsl:with-param name="sect1s" select="$sect1s"/>
+          </axsl:apply-templates>
+        </wx:sub-section>
+        <axsl:if test="$nextsect5 and (not($sect4s) or count($sect5s|$nextsect5) = count($sect5s))">
+          <axsl:apply-templates select="$nextsect5" mode="toplevel-sect5">
+            <axsl:with-param name="nextsect4" select="$nextsect4"/>
+            <axsl:with-param name="nextsect3" select="$nextsect3"/>
+            <axsl:with-param name="nextsect2" select="$nextsect2"/>
+            <axsl:with-param name="nextsect1" select="$nextsect1"/>
+            <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+            <axsl:with-param name="sect5s" select="$sect5s"/>
+            <axsl:with-param name="sect4s" select="$sect4s"/>
+            <axsl:with-param name="sect3s" select="$sect3s"/>
+            <axsl:with-param name="sect2s" select="$sect2s"/>
+            <axsl:with-param name="sect1s" select="$sect1s"/>
+          </axsl:apply-templates>
+        </axsl:if>
+      </axsl:when>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect5">
+          <axsl:with-param name="nextsect4" select="$nextsect4"/>
+          <axsl:with-param name="nextsect3" select="$nextsect3"/>
+          <axsl:with-param name="nextsect2" select="$nextsect2"/>
+          <axsl:with-param name="nextsect1" select="$nextsect1"/>
+          <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+          <axsl:with-param name="sect5s" select="$sect5s"/>
+          <axsl:with-param name="sect4s" select="$sect4s"/>
+          <axsl:with-param name="sect3s" select="$sect3s"/>
+          <axsl:with-param name="sect2s" select="$sect2s"/>
+          <axsl:with-param name="sect1s" select="$sect1s"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="book-terminal">
+    <axsl:param name="nextsect5" select="/.."/>
+    <axsl:param name="nextsect4" select="/.."/>
+    <axsl:param name="nextsect3" select="/.."/>
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nextbook-component" select="/.."/>
+    <axsl:param name="nextbook" select="/.."/>
+    <axsl:param select="/.." name="sect5s"/>
+    <axsl:param select="/.." name="sect4s"/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:param select="/.." name="book-components"/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextsect5)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect4)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect3)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect2)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect1)"/>
+      <axsl:when test="generate-id() = generate-id($nextbook-component)"/>
+      <axsl:when test="generate-id() = generate-id($nextbook)"/>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="book-terminal">
+          <axsl:with-param name="nextsect5" select="$nextsect5"/>
+          <axsl:with-param name="nextsect4" select="$nextsect4"/>
+          <axsl:with-param name="nextsect3" select="$nextsect3"/>
+          <axsl:with-param name="nextsect2" select="$nextsect2"/>
+          <axsl:with-param name="nextsect1" select="$nextsect1"/>
+          <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+          <axsl:with-param name="nextbook" select="$nextbook"/>
+          <axsl:with-param name="sect5s" select="$sect5s"/>
+          <axsl:with-param name="sect4s" select="$sect4s"/>
+          <axsl:with-param name="sect3s" select="$sect3s"/>
+          <axsl:with-param name="sect2s" select="$sect2s"/>
+          <axsl:with-param name="sect1s" select="$sect1s"/>
+          <axsl:with-param name="book-components" select="$book-components"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="w:p" mode="toplevel-terminal">
+    <axsl:param name="nextsect5" select="/.."/>
+    <axsl:param name="nextsect4" select="/.."/>
+    <axsl:param name="nextsect3" select="/.."/>
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nexttoplevel-component" select="/.."/>
+    <axsl:param select="/.." name="sect5s"/>
+    <axsl:param select="/.." name="sect4s"/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:choose>
+      <axsl:when test="generate-id() = generate-id($nextsect5)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect4)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect3)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect2)"/>
+      <axsl:when test="generate-id() = generate-id($nextsect1)"/>
+      <axsl:when test="generate-id() = generate-id($nexttoplevel-component)"/>
+      <axsl:otherwise>
+        <axsl:call-template name="copy"/>
+        <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-terminal">
+          <axsl:with-param name="nextsect5" select="$nextsect5"/>
+          <axsl:with-param name="nextsect4" select="$nextsect4"/>
+          <axsl:with-param name="nextsect3" select="$nextsect3"/>
+          <axsl:with-param name="nextsect2" select="$nextsect2"/>
+          <axsl:with-param name="nextsect1" select="$nextsect1"/>
+          <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+          <axsl:with-param name="sect5s" select="$sect5s"/>
+          <axsl:with-param name="sect4s" select="$sect4s"/>
+          <axsl:with-param name="sect3s" select="$sect3s"/>
+          <axsl:with-param name="sect2s" select="$sect2s"/>
+          <axsl:with-param name="sect1s" select="$sect1s"/>
+        </axsl:apply-templates>
+      </axsl:otherwise>
+    </axsl:choose>
+  </axsl:template>
+  <axsl:template match="*">
+    <axsl:call-template name="copy"/>
+  </axsl:template>
+  <axsl:template match="*" mode="book">
+    <axsl:call-template name="copy"/>
+    <axsl:apply-templates select="following-sibling::*[1]" mode="book"/>
+  </axsl:template>
+  <axsl:template match="*" mode="book-component">
+    <axsl:param name="nextbook" select="/.."/>
+    <axsl:param select="/.." name="book-components"/>
+    <axsl:call-template name="copy"/>
+    <axsl:apply-templates select="following-sibling::*[1]" mode="book-component">
+      <axsl:with-param name="nextbook" select="$nextbook"/>
+      <axsl:with-param name="book-components" select="$book-components"/>
+    </axsl:apply-templates>
+  </axsl:template>
+  <axsl:template match="*" mode="book-sect1">
+    <axsl:param name="nextbook-component" select="/.."/>
+    <axsl:param name="nextbook" select="/.."/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:param select="/.." name="book-components"/>
+    <axsl:call-template name="copy"/>
+    <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect1">
+      <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+      <axsl:with-param name="nextbook" select="$nextbook"/>
+      <axsl:with-param name="sect1s" select="$sect1s"/>
+      <axsl:with-param name="book-components" select="$book-components"/>
+    </axsl:apply-templates>
+  </axsl:template>
+  <axsl:template match="*" mode="book-sect2">
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nextbook-component" select="/.."/>
+    <axsl:param name="nextbook" select="/.."/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:param select="/.." name="book-components"/>
+    <axsl:call-template name="copy"/>
+    <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect2">
+      <axsl:with-param name="nextsect1" select="$nextsect1"/>
+      <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+      <axsl:with-param name="nextbook" select="$nextbook"/>
+      <axsl:with-param name="sect2s" select="$sect2s"/>
+      <axsl:with-param name="sect1s" select="$sect1s"/>
+      <axsl:with-param name="book-components" select="$book-components"/>
+    </axsl:apply-templates>
+  </axsl:template>
+  <axsl:template match="*" mode="book-sect3">
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nextbook-component" select="/.."/>
+    <axsl:param name="nextbook" select="/.."/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:param select="/.." name="book-components"/>
+    <axsl:call-template name="copy"/>
+    <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect3">
+      <axsl:with-param name="nextsect2" select="$nextsect2"/>
+      <axsl:with-param name="nextsect1" select="$nextsect1"/>
+      <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+      <axsl:with-param name="nextbook" select="$nextbook"/>
+      <axsl:with-param name="sect3s" select="$sect3s"/>
+      <axsl:with-param name="sect2s" select="$sect2s"/>
+      <axsl:with-param name="sect1s" select="$sect1s"/>
+      <axsl:with-param name="book-components" select="$book-components"/>
+    </axsl:apply-templates>
+  </axsl:template>
+  <axsl:template match="*" mode="book-sect4">
+    <axsl:param name="nextsect3" select="/.."/>
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nextbook-component" select="/.."/>
+    <axsl:param name="nextbook" select="/.."/>
+    <axsl:param select="/.." name="sect4s"/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:param select="/.." name="book-components"/>
+    <axsl:call-template name="copy"/>
+    <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect4">
+      <axsl:with-param name="nextsect3" select="$nextsect3"/>
+      <axsl:with-param name="nextsect2" select="$nextsect2"/>
+      <axsl:with-param name="nextsect1" select="$nextsect1"/>
+      <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+      <axsl:with-param name="nextbook" select="$nextbook"/>
+      <axsl:with-param name="sect4s" select="$sect4s"/>
+      <axsl:with-param name="sect3s" select="$sect3s"/>
+      <axsl:with-param name="sect2s" select="$sect2s"/>
+      <axsl:with-param name="sect1s" select="$sect1s"/>
+      <axsl:with-param name="book-components" select="$book-components"/>
+    </axsl:apply-templates>
+  </axsl:template>
+  <axsl:template match="*" mode="book-sect5">
+    <axsl:param name="nextsect4" select="/.."/>
+    <axsl:param name="nextsect3" select="/.."/>
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nextbook-component" select="/.."/>
+    <axsl:param name="nextbook" select="/.."/>
+    <axsl:param select="/.." name="sect5s"/>
+    <axsl:param select="/.." name="sect4s"/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:param select="/.." name="book-components"/>
+    <axsl:call-template name="copy"/>
+    <axsl:apply-templates select="following-sibling::*[1]" mode="book-sect5">
+      <axsl:with-param name="nextsect4" select="$nextsect4"/>
+      <axsl:with-param name="nextsect3" select="$nextsect3"/>
+      <axsl:with-param name="nextsect2" select="$nextsect2"/>
+      <axsl:with-param name="nextsect1" select="$nextsect1"/>
+      <axsl:with-param name="nextbook-component" select="$nextbook-component"/>
+      <axsl:with-param name="nextbook" select="$nextbook"/>
+      <axsl:with-param name="sect5s" select="$sect5s"/>
+      <axsl:with-param name="sect4s" select="$sect4s"/>
+      <axsl:with-param name="sect3s" select="$sect3s"/>
+      <axsl:with-param name="sect2s" select="$sect2s"/>
+      <axsl:with-param name="sect1s" select="$sect1s"/>
+      <axsl:with-param name="book-components" select="$book-components"/>
+    </axsl:apply-templates>
+  </axsl:template>
+  <axsl:template match="*" mode="toplevel-component">
+    <axsl:call-template name="copy"/>
+    <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-component"/>
+  </axsl:template>
+  <axsl:template match="*" mode="toplevel-sect1">
+    <axsl:param name="nexttoplevel-component" select="/.."/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:call-template name="copy"/>
+    <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect1">
+      <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+      <axsl:with-param name="sect1s" select="$sect1s"/>
+    </axsl:apply-templates>
+  </axsl:template>
+  <axsl:template match="*" mode="toplevel-sect2">
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nexttoplevel-component" select="/.."/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:call-template name="copy"/>
+    <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect2">
+      <axsl:with-param name="nextsect1" select="$nextsect1"/>
+      <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+      <axsl:with-param name="sect2s" select="$sect2s"/>
+      <axsl:with-param name="sect1s" select="$sect1s"/>
+    </axsl:apply-templates>
+  </axsl:template>
+  <axsl:template match="*" mode="toplevel-sect3">
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nexttoplevel-component" select="/.."/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:call-template name="copy"/>
+    <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect3">
+      <axsl:with-param name="nextsect2" select="$nextsect2"/>
+      <axsl:with-param name="nextsect1" select="$nextsect1"/>
+      <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+      <axsl:with-param name="sect3s" select="$sect3s"/>
+      <axsl:with-param name="sect2s" select="$sect2s"/>
+      <axsl:with-param name="sect1s" select="$sect1s"/>
+    </axsl:apply-templates>
+  </axsl:template>
+  <axsl:template match="*" mode="toplevel-sect4">
+    <axsl:param name="nextsect3" select="/.."/>
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nexttoplevel-component" select="/.."/>
+    <axsl:param select="/.." name="sect4s"/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:call-template name="copy"/>
+    <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect4">
+      <axsl:with-param name="nextsect3" select="$nextsect3"/>
+      <axsl:with-param name="nextsect2" select="$nextsect2"/>
+      <axsl:with-param name="nextsect1" select="$nextsect1"/>
+      <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+      <axsl:with-param name="sect4s" select="$sect4s"/>
+      <axsl:with-param name="sect3s" select="$sect3s"/>
+      <axsl:with-param name="sect2s" select="$sect2s"/>
+      <axsl:with-param name="sect1s" select="$sect1s"/>
+    </axsl:apply-templates>
+  </axsl:template>
+  <axsl:template match="*" mode="toplevel-sect5">
+    <axsl:param name="nextsect4" select="/.."/>
+    <axsl:param name="nextsect3" select="/.."/>
+    <axsl:param name="nextsect2" select="/.."/>
+    <axsl:param name="nextsect1" select="/.."/>
+    <axsl:param name="nexttoplevel-component" select="/.."/>
+    <axsl:param select="/.." name="sect5s"/>
+    <axsl:param select="/.." name="sect4s"/>
+    <axsl:param select="/.." name="sect3s"/>
+    <axsl:param select="/.." name="sect2s"/>
+    <axsl:param select="/.." name="sect1s"/>
+    <axsl:call-template name="copy"/>
+    <axsl:apply-templates select="following-sibling::*[1]" mode="toplevel-sect5">
+      <axsl:with-param name="nextsect4" select="$nextsect4"/>
+      <axsl:with-param name="nextsect3" select="$nextsect3"/>
+      <axsl:with-param name="nextsect2" select="$nextsect2"/>
+      <axsl:with-param name="nextsect1" select="$nextsect1"/>
+      <axsl:with-param name="nexttoplevel-component" select="$nexttoplevel-component"/>
+      <axsl:with-param name="sect5s" select="$sect5s"/>
+      <axsl:with-param name="sect4s" select="$sect4s"/>
+      <axsl:with-param name="sect3s" select="$sect3s"/>
+      <axsl:with-param name="sect2s" select="$sect2s"/>
+      <axsl:with-param name="sect1s" select="$sect1s"/>
+    </axsl:apply-templates>
+  </axsl:template>
+  <axsl:template name="copy">
+    <axsl:copy>
+      <axsl:for-each select="@*">
+        <axsl:copy/>
+      </axsl:for-each>
+      <axsl:apply-templates/>
+    </axsl:copy>
+  </axsl:template>
+</axsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/roundtrip/wordml.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/roundtrip/wordml.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/roundtrip/wordml.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,954 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE xsl:stylesheet [
+
+<!ENTITY para "w:p[w:pPr/w:pStyle[@w:val='para' or @w:val='Normal']]">
+<!ENTITY continue "w:p[w:pPr/w:pStyle/@w:val='para-continue']">
+
+<!ENTITY itemizedlist "w:p[w:pPr/w:pStyle[starts-with(@w:val,'itemizedlist')]]">
+<!ENTITY itemizedlist1 "w:p[w:pPr/w:pStyle[@w:val = 'itemizedlist']]">
+<!ENTITY orderedlist "w:p[w:pPr/w:pStyle[starts-with(@w:val,'orderedlist')]]">
+<!ENTITY orderedlist1 "w:p[w:pPr/w:pStyle[@w:val = 'orderedlist']]">
+
+<!ENTITY variablelist "w:tbl[w:tblPr/w:tblStyle[starts-with(@w:val,'variablelist')]]">
+
+<!ENTITY verbatim "w:p[w:pPr/w:pStyle[@w:val='programlisting' or @w:val='screen' or @w:val='literallayout']]">
+<!ENTITY admontitle "w:p[w:pPr/w:pStyle[@w:val='note-title' or @w:val='caution-title' or @w:val='important-title' or @w:val='tip-title' or @w:val='warning-title']]">
+<!ENTITY admon "w:p[w:pPr/w:pStyle[@w:val='note' or @w:val='caution' or @w:val='important' or @w:val='tip' or @w:val='warning']]">
+<!ENTITY figure "w:p[w:pPr/w:pStyle[@w:val='figure']]">
+<!ENTITY figuretitle "w:p[w:pPr/w:pStyle[@w:val='figuretitle']]">
+<!ENTITY figurecaption "w:p[w:pPr/w:pStyle[@w:val='figuretitle']]">
+<!ENTITY tabletitle "w:p[w:pPr/w:pStyle[@w:val='tabletitle']]">
+<!ENTITY exampletitle "w:p[w:pPr/w:pStyle[@w:val='exampletitle']]">
+<!ENTITY listlevel "substring-after(w:pPr/w:pStyle/@w:val, 'edlist')">
+<!ENTITY listlabel "w:pPr/w:listPr/wx:t/@wx:val">
+<!ENTITY footnote "w:p[w:pPr/w:pStyle[@w:val='FootnoteText']]">
+]>
+
+<xsl:stylesheet xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"
+  xmlns:aml="http://schemas.microsoft.com/aml/2001/core"
+  xmlns:v="urn:schemas-microsoft-com:vml" 
+  xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint"
+  xmlns:o="urn:schemas-microsoft-com:office:office" 
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  exclude-result-prefixes="aml w wx o v" version="1.0">
+
+  <!-- $Id: wordml.xsl 6145 2006-08-06 13:13:03Z xmldoc $ -->
+  <!-- Stylesheet to convert WordProcessingML to DocBook -->
+
+<xsl:output indent="yes" method="xml" 
+    doctype-public="-//OASIS//DTD DocBook XML V4.3//EN"
+    doctype-system="http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"/>
+
+<!-- ================================================== -->
+<!--    Parameters                                      -->
+<!-- ================================================== -->
+
+<xsl:param name="nest.sections">1</xsl:param>
+
+<!-- ================================================== -->
+<!--    Templates                                       -->
+<!-- ================================================== -->
+<!-- Look up a w:listDef element by its StyleLink -->
+<xsl:key name="listdef-stylelink"
+         match="w:listDef"
+         use="w:listStyleLink/@w:val"/>
+
+<xsl:key name="list-ilst"
+         match="w:list"
+         use="w:ilst/@w:val"/>
+
+<xsl:strip-space elements='*'/>
+<xsl:preserve-space elements='w:t'/>
+
+<xsl:template match="/">
+  <xsl:apply-templates select="//w:body"/>
+</xsl:template>
+
+<xsl:template match="w:body">
+    <xsl:apply-templates mode="group"/>
+</xsl:template>
+
+<xsl:template match="wx:sect" mode="group">
+  <xsl:apply-templates  mode="group"/>
+</xsl:template>
+
+<xsl:template match="wx:sub-section" mode="group">
+  <xsl:variable name="first.node" select="w:p[1]"/>
+  <xsl:variable name="style" select="$first.node/w:pPr/w:pStyle/@w:val"/>
+
+  <xsl:variable name="element.name">
+    <xsl:choose>
+      <xsl:when test="$style = 'article' or
+                      $style = 'article-title'">article</xsl:when>
+      <xsl:when test="$style = 'appendix' or
+                      $style = 'appendix-title'">appendix</xsl:when>
+      <xsl:when test="($style = 'sect1' or
+                       $style = 'sect1-title') and 
+                      $nest.sections != 0">section</xsl:when>
+      <xsl:when test="$style = 'sect1' or
+                      $style = 'sect1-title'">sect1</xsl:when>
+      <xsl:when test="($style = 'sect2' or
+                       $style = 'sect2-title') and 
+                      $nest.sections != 0">section</xsl:when>
+      <xsl:when test="$style = 'sect2' or
+                      $style = 'sect2-title'">sect2</xsl:when>
+      <xsl:when test="($style = 'sect3' or
+                       $style = 'sect3-title') and 
+                      $nest.sections != 0">section</xsl:when>
+      <xsl:when test="$style = 'sect3' or
+                      $style = 'sect3-title'">sect3</xsl:when>
+      <xsl:when test="($style = 'sect4' or
+                       $style = 'sect4-title') and 
+                      $nest.sections != 0">section</xsl:when>
+      <xsl:when test="$style = 'sect4' or
+                      $style = 'sect4-title'">sect4</xsl:when>
+      <xsl:when test="($style = 'sect5' or
+                       $style = 'sect5') and 
+                      $nest.sections != 0">section</xsl:when>
+      <xsl:when test="$style = 'sect5' or
+                      $style = 'sect5-title'">sect5</xsl:when>
+      <xsl:otherwise>bogus</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test='$element.name != "bogus"'>
+      <xsl:element name="{$element.name}">
+        <xsl:call-template name="object.id"/>
+        <xsl:apply-templates mode="group"/>
+      </xsl:element>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:apply-templates mode='group'/>
+    </xsl:otherwise>
+  </xsl:choose>
+    
+</xsl:template>
+
+<!-- sub-section title paragraph -->
+<xsl:template match="wx:sub-section/w:p[1]" mode="group">
+  <xsl:variable name="style" select="w:pPr/w:pStyle/@w:val"/>
+  <xsl:variable name="element.name">
+    <xsl:choose>
+      <xsl:when test="$style = 'article'">title</xsl:when>
+      <xsl:when test="$style = 'sect1'">title</xsl:when>
+      <xsl:when test="$style = 'sect2'">title</xsl:when>
+      <xsl:when test="$style = 'sect3'">title</xsl:when>
+      <xsl:when test="$style = 'sect4'">title</xsl:when>
+      <xsl:when test="$style = 'sect5'">title</xsl:when>
+      <xsl:when test="$style = 'appendix'">title</xsl:when>
+      <xsl:otherwise>title</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:element name="{$element.name}">
+    <xsl:apply-templates select="w:r|w:hlink"/>
+  </xsl:element>
+</xsl:template>
+
+  <!-- Ordinary para -->
+  <xsl:template match="&para;|w:p[not(w:pPr/w:pStyle)]" mode="group">
+    <para>
+      <xsl:call-template name="object.id"/>
+      <xsl:apply-templates select="w:r|w:hlink"/>
+    </para>
+  </xsl:template>
+
+  <!-- Unmatched para style -->
+  <xsl:template match="w:p" mode="group">
+    <nomatch>
+      <xsl:comment> style "<xsl:value-of select='w:pPr/w:pStyle/@w:val'/>" </xsl:comment>
+      <xsl:apply-templates select="w:r|w:hlink"/>
+    </nomatch>
+  </xsl:template>
+
+<!-- unused elements are bypassed -->
+<xsl:template match="*" mode="group">
+</xsl:template>
+
+<!-- continued paragraphs are included by their (preceding) parent -->
+<xsl:template match="&continue;" mode='group'/>
+
+<!-- Match on the first one of an itemizedlist -->
+<xsl:template match="&itemizedlist1;[not(preceding-sibling::*[1]
+                     [self::&itemizedlist; or self::&continue;])]" 
+                     priority="2"
+                     mode="group">
+
+  <!-- Identify the node that follows all the listitems -->
+  <xsl:variable name="stop.node"
+              select="generate-id(following-sibling::*[not(self::&itemizedlist;
+                      or self::&continue;
+                      or self::&orderedlist;)][1])"/>
+                       
+  <!-- Start the list and process all the level 1 listitems -->
+  <itemizedlist>
+    <xsl:apply-templates mode="item" 
+          select=".|following-sibling::&itemizedlist;[&listlevel; = '']
+                  [following-sibling::*[generate-id() = $stop.node]]">
+      <xsl:with-param name="depth" select="1"/>
+    </xsl:apply-templates>
+  </itemizedlist>
+  
+</xsl:template>
+
+<xsl:template match="&itemizedlist;" mode="item">
+  <xsl:param name="depth" select="1"/>
+
+  <listitem>
+    <para>
+      <xsl:apply-templates/>
+    </para>
+    <xsl:apply-templates mode="item" 
+                select="following-sibling::*[1][self::&continue;]"/>
+    <!-- Now any nested list is inside this list item -->
+    <xsl:apply-templates mode="subgroup"
+            select="following-sibling::*[1]
+                    [self::&itemizedlist; or self::&orderedlist;]
+                    [&listlevel; &gt; $depth]">
+
+      <xsl:with-param name="depth" select="$depth + 1"/>
+    </xsl:apply-templates>
+  </listitem>
+
+</xsl:template>
+
+<xsl:template match="&itemizedlist;" mode="subgroup">
+  <xsl:param name="depth" select="0"/>
+
+  <xsl:variable name="stop.node"
+      select="generate-id(following-sibling::*[
+                        self::&itemizedlist1; or
+                        self::&orderedlist1; or
+                        self::&itemizedlist;[&listlevel; &lt; $depth] or
+                        self::&orderedlist;[&listlevel; &lt; $depth] or
+                        not(self::&itemizedlist; or 
+                            self::&orderedlist; or
+                            self::&continue;)]
+                        [1])"/>
+
+  <itemizedlist>
+    <xsl:apply-templates mode="item"
+             select=".|following-sibling::&itemizedlist;
+                       [&listlevel; = $depth]
+                       [following-sibling::*[generate-id() = $stop.node]]">
+      <xsl:with-param name="depth" select="$depth"/>
+    </xsl:apply-templates>
+  </itemizedlist>
+</xsl:template>
+
+<xsl:template match="&itemizedlist;[preceding-sibling::*[1]
+                     [self::&itemizedlist; or 
+                      self::&orderedlist; or
+                      self::&continue;]]" 
+                     mode="group">
+  <!-- Handle with mode = group -->
+</xsl:template>
+
+
+
+
+
+<!-- Match on the first one of an orderedlist -->
+<xsl:template match="&orderedlist1;[not(preceding-sibling::*[1]
+                     [self::&orderedlist; or self::&continue;])]" 
+                     priority="2"
+                     mode="group">
+
+  <!-- Identify the node that follows all the listitems -->
+  <xsl:variable name="stop.node"
+              select="generate-id(following-sibling::*[not(self::&itemizedlist;
+                      or self::&continue;
+                      or self::&orderedlist;)][1])"/>
+                       
+  <!-- Start the list and process all the level 1 listitems -->
+  <orderedlist>
+    <xsl:apply-templates mode="item" 
+          select=".|following-sibling::&orderedlist;[&listlevel; = '']
+                  [following-sibling::*[generate-id() = $stop.node]]">
+      <xsl:with-param name="depth" select="1"/>
+    </xsl:apply-templates>
+  </orderedlist>
+  
+</xsl:template>
+
+<xsl:template match="&orderedlist;" mode="item">
+  <xsl:param name="depth" select="1"/>
+
+  <listitem>
+    <para>
+      <xsl:apply-templates/>
+    </para>
+    <xsl:apply-templates mode="item" 
+                select="following-sibling::*[1][self::&continue;]"/>
+    <!-- Now any nested list is inside this list item -->
+    <xsl:apply-templates mode="subgroup"
+            select="following-sibling::*[1]
+                    [self::&itemizedlist; or self::&orderedlist;]
+                    [&listlevel; &gt; $depth]">
+
+      <xsl:with-param name="depth" select="$depth + 1"/>
+    </xsl:apply-templates>
+  </listitem>
+
+</xsl:template>
+
+<xsl:template match="&orderedlist;" mode="subgroup">
+  <xsl:param name="depth" select="0"/>
+
+  <xsl:variable name="stop.node"
+      select="generate-id(following-sibling::*[
+                        self::&itemizedlist1; or
+                        self::&orderedlist1; or
+                        self::&itemizedlist;[&listlevel; &lt; $depth] or
+                        self::&orderedlist;[&listlevel; &lt; $depth] or
+                        not(self::&itemizedlist; or 
+                            self::&orderedlist; or
+                            self::&continue;)]
+                        [1])"/>
+
+  <orderedlist>
+    <xsl:apply-templates mode="item"
+             select=".|following-sibling::&orderedlist;
+                       [&listlevel; = $depth]
+                       [following-sibling::*[generate-id() = $stop.node]]">
+      <xsl:with-param name="depth" select="$depth"/>
+    </xsl:apply-templates>
+  </orderedlist>
+</xsl:template>
+
+<xsl:template match="&orderedlist;[preceding-sibling::*[1]
+                     [self::&itemizedlist; or 
+                      self::&orderedlist; or
+                      self::&continue;]]" 
+                     mode="group">
+  <!-- Handle with mode = group -->
+</xsl:template>
+
+<xsl:template match="&continue;" mode="item">
+  <para>
+    <xsl:call-template name="object.id"/>
+    <xsl:apply-templates select="w:r|w:hlink"/>
+  </para>
+  <!-- Continue to process any immediate following -->
+  <xsl:apply-templates mode="item" 
+                select="following-sibling::*[1][self::&continue;]"/>
+</xsl:template>
+
+<xsl:template match="&continue;" mode="group">
+  <!-- Handled in item mode -->
+</xsl:template>
+
+<xsl:template match="*" mode="item">
+  <xsl:apply-templates/>
+</xsl:template>
+
+
+<!-- =========================================================== -->
+<!--   Inline elements                                           -->
+<!-- =========================================================== -->
+<xsl:template match="w:hlink[w:r/w:rPr/w:rStyle[@w:val='link']]">
+  <link>
+    <xsl:attribute name="linkend"><xsl:value-of
+            select="@w:bookmark"/></xsl:attribute>
+    <xsl:apply-templates select="w:r"/>
+  </link>
+</xsl:template>
+
+<xsl:template match="w:hlink[w:r/w:rPr/w:rStyle[@w:val='ulink']]">
+  <ulink>
+    <xsl:attribute name="url"><xsl:value-of
+            select="@w:dest"/></xsl:attribute>
+    <xsl:apply-templates select="w:r"/>
+  </ulink>
+</xsl:template>
+
+<xsl:template match="w:hlink[w:r/w:rPr/w:rStyle[@w:val='olink']]">
+  <olink>
+    <xsl:attribute name="targetdoc"><xsl:value-of
+            select="@w:dest"/></xsl:attribute>
+    <xsl:attribute name="targetptr"><xsl:value-of
+            select="@w:bookmark"/></xsl:attribute>
+    <xsl:apply-templates select="w:r"/>
+  </olink>
+</xsl:template>
+
+<xsl:template match="w:hlink[w:r/w:rPr/w:rStyle[@w:val='xref']]">
+  <xref>
+    <xsl:attribute name="linkend"><xsl:value-of
+            select="@w:bookmark"/></xsl:attribute>
+  </xref>
+</xsl:template>
+
+<xsl:template match="w:r[w:rPr/w:rStyle[@w:val = 'emphasis']]">
+  <emphasis>
+    <xsl:apply-templates select="w:t"/>
+  </emphasis>
+</xsl:template>
+
+<xsl:template match="w:r[w:rPr/w:rStyle[@w:val = 'FootnoteReference']]">
+  <footnote>
+    <xsl:apply-templates/>
+  </footnote>
+</xsl:template>
+
+<!-- Ignore the footnote number with the footnote text -->
+<xsl:template match="w:r[w:rPr/w:rStyle[@w:val = 'FootnoteReference']]
+                        [child::w:footnoteRef]">
+</xsl:template>
+
+<xsl:template match="w:footnote">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- The footnote text -->
+<xsl:template match="&footnote;">
+  <para>
+    <xsl:apply-templates/>
+  </para>
+</xsl:template>
+
+<xsl:template match="w:r">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="w:t">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template name="object.id">
+  <xsl:variable name="id">
+    <xsl:apply-templates select="." mode="object.id"/>
+  </xsl:variable>
+  <xsl:if test="$id != ''">
+    <xsl:attribute name="id"><xsl:value-of select="$id"/></xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="w:p" mode="object.id">
+
+  <xsl:variable name="bookmark.inside">
+    <xsl:value-of select="aml:annotation
+                 [@w:type = 'Word.Bookmark.Start'][1]/@w:name"/>
+  </xsl:variable>
+
+  <xsl:variable name="bookmark.preceding">
+    <xsl:value-of select="preceding-sibling::*[2]
+                          [self::aml:annotation
+                          [@w:type = 'Word.Bookmark.Start']
+                          [following-sibling::aml:annotation
+                          [@w:type = 'Word.Bookmark.End']]]
+                          /@w:name"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$bookmark.inside != ''">
+      <xsl:value-of select="$bookmark.inside"/>
+    </xsl:when>
+    <xsl:when test="$bookmark.preceding != ''">
+      <xsl:value-of select="$bookmark.preceding"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template match="wx:sub-section" mode="object.id">
+  <!-- First para has the bookmark -->
+  <xsl:value-of select="w:p[1]/aml:annotation
+                 [@w:type = 'Word.Bookmark.Start'][1]/@w:name"/>
+</xsl:template>
+
+<!-- Index entry -->
+<xsl:template match="w:r/w:instrText">
+  <xsl:variable name="text" select="normalize-space(.)"/>
+
+  <xsl:choose>
+    <xsl:when test="starts-with($text, 'XE')">
+
+      <xsl:variable name="primary">
+        <xsl:choose>
+          <xsl:when test="contains($text, ':')">
+            <xsl:value-of select="substring-before(
+                                  substring-after($text, 'XE &quot;'), ':')"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="substring-before(
+                                  substring-after($text, 'XE &quot;'), '&quot;')"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+    
+      <xsl:variable name="secondary">
+        <xsl:choose>
+          <xsl:when test="contains($text, ':')">
+            <xsl:value-of select="substring-before(
+                                  substring-after($text, ':'), '&quot;')"/>
+          </xsl:when>
+          <xsl:otherwise></xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+    
+      <indexterm>
+        <primary><xsl:value-of select="$primary"/></primary>
+        <xsl:if test="$secondary != ''">
+          <secondary><xsl:value-of select="$secondary"/></secondary>
+        </xsl:if>
+      </indexterm>
+    </xsl:when>
+  </xsl:choose>
+        
+</xsl:template>
+
+  <xsl:template match='w:p[w:pPr/w:pStyle/@w:val = "informalfigure-imagedata"]' mode='group'>
+    <!-- Simple form of figure with no captions, titles, etc -->
+    <!-- TODO: allow setting of width and height -->
+    <informalfigure>
+      <xsl:call-template name="object.id"/>
+      <mediaobject>
+        <imageobject>
+          <imagedata fileref='{w:r|w:hlink}'/>
+        </imageobject>
+      </mediaobject>
+    </informalfigure>
+  </xsl:template>
+  <xsl:template match="&figure;" mode="group">
+
+    <!-- Get title and caption from siblings -->
+    <xsl:variable name="title">
+      <xsl:choose>
+        <xsl:when test="following-sibling::*[1][self::&figuretitle;]">
+          <xsl:apply-templates 
+            mode="figuretitle"
+            select="following-sibling::*[1][self::&figuretitle;]"/>
+        </xsl:when>
+        <xsl:when test="preceding-sibling::*[1][self::&figuretitle;]">
+          <xsl:apply-templates 
+            mode="figuretitle"
+            select="preceding-sibling::*[1][self::&figuretitle;]"/>
+        </xsl:when>
+      </xsl:choose>
+    </xsl:variable>
+
+    <!-- FIXME -->
+    <xsl:variable name="caption"/>
+
+    <xsl:variable name="shape" select="w:r/w:pict/v:shape"/>
+    <xsl:variable name="style" select="$shape/@style"/>
+
+    <xsl:variable name="src" select="$shape/v:imagedata/@src"/>
+    <xsl:variable name="width"
+      select="substring-before(
+              substring-after($style, 'width:'), ';')"/>
+    <xsl:variable name="height">
+      <xsl:variable name="candidate" 
+        select="substring-before(
+                substring-after($style, 'height:'), ';') != ''"/>
+      <xsl:choose>
+        <xsl:when test="$candidate != ''">
+          <xsl:value-of select="$candidate"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="substring-after($style, 'height:')"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:variable name="element">
+      <xsl:choose>
+        <xsl:when test="$title != ''">figure</xsl:when>
+        <xsl:otherwise>informalfigure</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:element name="{$element}">
+      <xsl:call-template name="object.id"/>
+      <xsl:if test="$title != ''">
+        <title>
+          <xsl:copy-of select="$title"/>
+        </title>
+      </xsl:if>
+      <mediaobject>
+        <imageobject>
+          <imagedata>
+            <xsl:attribute name="fileref">
+              <xsl:value-of select="$src"/>
+            </xsl:attribute>
+            <xsl:if test="$width != ''">
+              <xsl:attribute name="contentwidth">
+                <xsl:value-of select="$width"/>
+              </xsl:attribute>
+            </xsl:if>
+            <xsl:if test="$height != ''">
+              <xsl:attribute name="contentdepth">
+                <xsl:value-of select="$height"/>
+              </xsl:attribute>
+            </xsl:if>
+          </imagedata>
+        </imageobject>
+      </mediaobject>
+    </xsl:element>
+
+  </xsl:template>
+
+<xsl:template match="&figuretitle;" mode="group"/>
+
+<xsl:template match="&figuretitle;" mode="figuretitle">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="&exampletitle;" mode="group">
+  <example>
+    <title>
+      <xsl:apply-templates/>
+    </title>
+    <xsl:apply-templates mode="example"
+             select="following-sibling::*[1][self::w:p or self::w:tbl]" />
+  </example>
+</xsl:template>
+
+
+<!-- Process tables -->
+<xsl:template match="w:tbl" mode="group">
+
+  <!-- Get title and caption from siblings -->
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="following-sibling::*[1][self::&tabletitle;]">
+        <xsl:apply-templates 
+                 mode="tabletitle"
+                 select="following-sibling::*[1][self::&tabletitle;]"/>
+      </xsl:when>
+      <xsl:when test="preceding-sibling::*[1][self::&tabletitle;]">
+        <xsl:apply-templates 
+                 mode="tabletitle"
+                 select="preceding-sibling::*[1][self::&tabletitle;]"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- FIXME -->
+  <xsl:variable name="caption"/>
+
+  <xsl:variable name="element">
+    <xsl:choose>
+      <xsl:when test="$title != ''">table</xsl:when>
+      <xsl:otherwise>informaltable</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:element name="{$element}">
+    <xsl:call-template name="object.id"/>
+    <xsl:if test="$title != ''">
+      <title>
+        <xsl:copy-of select="$title"/>
+      </title>
+    </xsl:if>
+
+    <tgroup>
+      <xsl:attribute name="cols">
+        <xsl:value-of select="count(w:tblGrid/w:gridCol)"/>
+      </xsl:attribute>
+      <xsl:apply-templates select="w:tblGrid" mode="colspec"/>
+      <xsl:if test="w:tr[descendant::w:pStyle[@w:val = 'tableheader']]">
+        <thead>
+          <xsl:apply-templates mode="tableheader"
+                  select="w:tr[descendant::w:pStyle[@w:val = 'tableheader']]"/>
+        </thead>
+      </xsl:if>
+      <tbody>
+        <xsl:apply-templates/>
+      </tbody>
+    </tgroup>
+
+  </xsl:element>
+
+</xsl:template>
+
+<xsl:template match="&tabletitle;" mode="group"/>
+
+<xsl:template match="&tabletitle;" mode="tabletitle">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="w:tblGrid" mode="colspec">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="w:tblGrid">
+</xsl:template>
+
+<xsl:template match="w:tblGrid/w:gridCol">
+  <colspec>
+    <xsl:attribute name="colnum">
+      <xsl:value-of select="position()"/>
+    </xsl:attribute>
+    <xsl:attribute name="colname">
+      <xsl:value-of select="concat('col', position())"/>
+    </xsl:attribute>
+    <xsl:if test="@w:w != ''">
+      <xsl:variable name="calcwidth">
+        <xsl:value-of select="@w:w div 20"/>
+      </xsl:variable>
+      <xsl:attribute name="colwidth">
+        <xsl:value-of select="concat($calcwidth, 'pt')"/>
+      </xsl:attribute>
+    </xsl:if>
+  </colspec>
+</xsl:template>
+  
+<!-- Table header row -->
+<xsl:template mode="tableheader"
+              match="w:tr[descendant::w:pStyle[@w:val = 'tableheader']]">
+  <row>
+    <xsl:apply-templates/>
+  </row>
+</xsl:template>
+
+<xsl:template match="w:tr[descendant::w:pStyle[@w:val = 'tableheader']]">
+  <!-- Already handled in tableheader mode -->
+</xsl:template>
+
+<xsl:template match="w:tr">
+  <row>
+    <xsl:apply-templates/>
+  </row>
+</xsl:template>
+
+<xsl:template match="w:tc">
+  <entry>
+    <!-- Process any spans -->
+    <xsl:call-template name="cell.span"/>
+    <!-- Process as paras if more than one w:p in the cell -->
+    <xsl:choose>
+      <xsl:when test="count(w:p) = 1">
+            <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates mode="group"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </entry>
+</xsl:template>
+
+<xsl:template name="cell.span">
+  <xsl:variable name="span" select="0 + w:tcPr/w:gridSpan/@w:val"/>
+  <xsl:if test="$span &gt; 0">
+    <!-- Get the current cell number -->
+    <xsl:variable name="colstart">
+      <xsl:call-template name="colcount">
+        <xsl:with-param name="count" select="1"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:attribute name="namest"><xsl:value-of 
+                 select="concat('col', $colstart)"/></xsl:attribute>
+    <xsl:attribute name="nameend"><xsl:value-of
+                 select="concat('col', $colstart + $span - 1)"/></xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<!-- recursively count preceding columns, including spans -->
+<xsl:template name="colcount">
+  <xsl:param name="count" select="0"/>
+  <xsl:param name="cell" select="."/>
+  <xsl:choose>
+    <xsl:when test="$cell/preceding-sibling::w:tc">
+      <xsl:variable name="span" 
+          select="0 + $cell/preceding-sibling::w:tc/w:tcPr/w:gridSpan/@w:val"/>
+      <xsl:choose>
+        <xsl:when test="$span &gt; 0">
+          <xsl:call-template name="colcount">
+            <xsl:with-param name="count" select="$count + $span"/>
+            <xsl:with-param name="cell" select="$cell/preceding-sibling::w:tc"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="colcount">
+            <xsl:with-param name="count" select="$count + 1"/>
+            <xsl:with-param name="cell" select="$cell/preceding-sibling::w:tc"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$count"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!--
+<xsl:template match="w:p[w:pPr/w:pStyle[@w:val = 'tableheader']]">
+  <para>
+    <xsl:call-template name="object.id"/>
+    <xsl:apply-templates select="w:r|w:hlink"/>
+  </para>
+</xsl:template>
+-->
+
+<!-- variablelist is a two-column table with table style='variablelist' -->
+<xsl:template match="&variablelist;" mode="group">
+  <variablelist>
+    <xsl:call-template name="object.id"/>
+    <xsl:apply-templates select="w:tr" mode="variablelist"/>
+  </variablelist>
+</xsl:template>
+
+<xsl:template match="w:tr" mode="variablelist">
+  <varlistentry>
+    <term>
+      <xsl:apply-templates select="w:tc[1]/*" mode="variablelist.term"/>
+    </term>
+    <listitem>
+      <xsl:apply-templates select="w:tc[2]/*" mode="group"/> 
+    </listitem>
+  </varlistentry>
+</xsl:template>
+
+<!-- No para tags inside variablelist term -->
+<xsl:template match="w:p" mode="variablelist.term">
+  <xsl:apply-templates select="w:r|w:hlink"/>
+</xsl:template>
+
+<xsl:template match='&admontitle;' mode='group'>
+  <xsl:variable name='element.name'
+    select='substring-before(w:pPr/w:pStyle/@w:val, "-title")'/>
+
+  <xsl:element name='{$element.name}'>
+    <xsl:call-template name='object.id'/>
+    <title>
+      <xsl:apply-templates select='w:r|w:hlink'/>
+    </title>
+
+    <!-- Identify the node that follows all admonitions of the same type -->
+    <xsl:variable name='stop.node'
+      select='generate-id(following-sibling::w:p[w:p/w:pStyle/@w:val != $element.name][1])'/>
+
+    <xsl:choose>
+      <xsl:when test='$stop.node'>
+        <xsl:apply-templates
+          select='following-sibling::w:p[w:p/w:pStyle/@w:val = $element.name]
+                  [generate-id(following-sibling::w:p[w:p/w:pStyle/@w:val != $element.name][1]) = $stop.node]' mode='continue'/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select='following-sibling::*' mode='continue'>
+          <xsl:with-param name='styles' select='concat(" ", $element.name, " para-continue ")'/>
+        </xsl:apply-templates>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:element>
+</xsl:template>
+
+<!-- Handle admonitions without a title -->
+<xsl:template match="&admon;" mode="group">
+  <xsl:variable name="element.name" select="w:pPr/w:pStyle/@w:val"/>
+
+  <xsl:variable name='title.node'
+    select='preceding-sibling::w:p[w:pPr/w:pStyle/@w:val = concat($element.name, "-title")][1]'/>
+  <xsl:variable name='stop.node'
+    select='preceding-sibling::w:p[w:pPr/w:pStyle/@w:val != concat($element.name, "-title")][1]'/>
+
+  <xsl:choose>
+    <xsl:when test='preceding-sibling::*[1]/self::w:p[w:pPr/w:pStyle/@w:val = $element.name or w:pPr/w:pStyle/@w:val = "para-continue"]'/>
+    <xsl:when test='$title.node and $stop.node and
+                    count($title.node|$stop.node/preceding-sibling::*) = count($stop.node/preceding-sibling::*)'>
+      <!-- The previous title is not related to this node -->
+      <xsl:call-template name='make-admonition'>
+        <xsl:with-param name='element.name' select='$element.name'/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <!-- The title node has included this node -->
+    <xsl:when test='$title.node'/>
+
+    <xsl:otherwise>
+      <xsl:call-template name='make-admonition'>
+        <xsl:with-param name='element.name' select='$element.name'/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+<xsl:template name='make-admonition'>
+  <xsl:param name='element.name'/>
+
+  <xsl:element name="{$element.name}">
+    <xsl:call-template name="object.id"/>
+    <para>
+      <xsl:apply-templates select="w:r|w:hlink"/>
+    </para>
+    <xsl:apply-templates mode="continue" 
+      select="following-sibling::*[1]">
+      <xsl:with-param name='styles' select='concat(" ", $element.name, " para-continue ")'/>
+    </xsl:apply-templates>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="w:p" mode="continue">
+  <xsl:param name='styles' select='" para-continue "'/>
+
+  <xsl:if test='contains($styles, concat(" ", w:pPr/w:pStyle/@w:val, " "))'>
+    <para>
+      <xsl:call-template name="object.id"/>
+      <xsl:apply-templates select="w:r|w:hlink"/>
+    </para>
+    <!-- Continue to process any immediate following -->
+    <xsl:apply-templates mode="continue"
+                select="following-sibling::*[1]">
+      <xsl:with-param name='styles' select='$styles'/>
+    </xsl:apply-templates>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="&verbatim;[not(preceding-sibling::*[1]
+                     [self::&verbatim;])]" 
+                     mode="group">
+
+  <xsl:variable name="element.name" select="w:pPr/w:pStyle/@w:val"/>
+  <!-- Start the listing and process all subsequent ones too -->
+  <xsl:element name="{$element.name}">
+    <xsl:call-template name="object.id"/>
+    <xsl:apply-templates select="." mode="item"/>
+  </xsl:element>
+
+</xsl:template>
+
+<xsl:template match="&verbatim;[not(preceding-sibling::*[1]
+                     [self::&verbatim;])]" 
+                     mode="example">
+
+  <xsl:variable name="element.name" select="w:pPr/w:pStyle/@w:val"/>
+  <!-- Start the listing and process all subsequent ones too -->
+  <xsl:element name="{$element.name}">
+    <xsl:call-template name="object.id"/>
+    <xsl:apply-templates select="." mode="item"/>
+  </xsl:element>
+
+</xsl:template>
+
+
+<xsl:template match="&verbatim;[preceding-sibling::*[1]
+                     [self::&verbatim;]]" 
+                     mode="group">
+  <!-- Non-first verbatims are handled in item mode -->
+</xsl:template>
+
+<xsl:template match="&verbatim;" mode="item">
+  
+  <xsl:apply-templates select="w:r|w:hlink" />
+  <xsl:text>&#x0A;</xsl:text>
+  <xsl:apply-templates select="following-sibling::*[1][self::&verbatim;]"
+                       mode="item"/>
+</xsl:template>
+
+<xsl:template match="w:br[ancestor::&verbatim;]">
+  <xsl:text>&#x0A;</xsl:text>
+</xsl:template>
+  
+<xsl:template match="&verbatim;[preceding-sibling::*[1]
+                     [self::&exampletitle;]]" 
+              priority="2"
+              mode="group"/>
+
+<xsl:template match="w:tbl[preceding-sibling::*[1][self::&exampletitle;]]" 
+              priority="2"
+              mode="group"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/browser/CTOCWidget.js
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/CTOCWidget.js	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/CTOCWidget.js	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,169 @@
+/*
+ * CTOCWidget.js
+ * $Revision: 1.3 $ $Date: 2003/07/14 06:02:50 $
+ */
+
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Netscape code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2003
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s): Bob Clary <bclary at netscape.com>
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+function CTOCWidget(domTOCModel, target)
+{
+  if (domTOCModel.documentElement.nodeName != 'toc')
+  {
+    throw 'CTOCWidget called on non toc Document: ' + domTOCModel.nodeName;
+  }
+
+  this.model = domTOCModel;
+  this.target = target;
+  this.view = document.createElement('div');
+  this.view.setAttribute('class', CTOCWidget._classprefix + '_view');
+
+  var modelItems = domTOCModel.documentElement.childNodes;
+  for (var i = 0; i < modelItems.length; i++)
+  {
+    var modelItem = modelItems.item(i);
+    if (modelItem.nodeType == Node.ELEMENT_NODE)
+    {
+      var viewItem  = CTOCWidget.createItemView(modelItem, target);
+      this.view.appendChild(viewItem);
+    }
+  }
+}
+
+CTOCWidget._handleImages  = { open: '/toolbox/examples/2003/CTOCWidget/minus.gif', closed: '/toolbox/examples/2003/CTOCWidget/plus.gif', height: '12px', width: '16px'};
+CTOCWidget._classprefix  = 'CTOCWidget';
+
+CTOCWidget.createItemView = function (modelItem, target)
+{
+  if (modelItem.nodeType != Node.ELEMENT_NODE)
+  {
+    throw 'CTOCWidget.createItemView called on non-Element: ' + modelItem.nodeName;
+  }
+
+  var i;
+
+  var viewItem = document.createElement('div');
+  viewItem.setAttribute('class', CTOCWidget._classprefix + '_item');
+
+  var viewItemHandle = document.createElement('div');
+  viewItemHandle.setAttribute('class', CTOCWidget._classprefix + '_itemhandle');
+  viewItemHandle.style.cursor = 'pointer';
+
+  var viewItemHandleImg = document.createElement('img');
+  viewItemHandleImg.style.height = CTOCWidget._handleImages.height;
+  viewItemHandleImg.style.width = CTOCWidget._handleImages.width;
+  viewItemHandleImg.addEventListener('click', CTOCWidget.toggleHandle, false);
+
+  var viewItemHandleLink;
+  if (!modelItem.getAttribute('url'))
+  {
+    viewItemHandleLink = document.createElement('span');
+  }
+  else 
+  {
+    viewItemHandleLink = document.createElement('a');
+    viewItemHandleLink.setAttribute('href', modelItem.getAttribute('url'));
+    viewItemHandleLink.setAttribute('target', target);
+  }
+  viewItemHandleLink.appendChild(document.createTextNode(modelItem.getAttribute('title')));
+
+  viewItemHandle.appendChild(viewItemHandleImg);
+  viewItemHandle.appendChild(viewItemHandleLink);
+  viewItem.appendChild(viewItemHandle);
+
+  if (modelItem.childNodes.length == 0)
+  {
+    viewItemHandleImg.setAttribute('src', CTOCWidget._handleImages.open);
+  }
+  else
+  {
+    viewItemHandleImg.setAttribute('src', CTOCWidget._handleImages.closed);
+
+    var viewItemChildren = document.createElement('div');
+    viewItemChildren.setAttribute('class', CTOCWidget._classprefix + '_itemchildren');
+    viewItemChildren.style.display = 'none';
+    viewItemChildren.style.position = 'relative';
+    viewItemChildren.style.left = '1em';
+
+    for (i = 0; i < modelItem.childNodes.length; i++)
+    {
+      var modelItemChild = modelItem.childNodes.item(i);
+      if (modelItemChild.nodeType == Node.ELEMENT_NODE)
+      {
+        viewItemChildren.appendChild(CTOCWidget.createItemView(modelItemChild, target));
+      }
+    }
+
+    viewItem.appendChild(viewItemChildren);
+  }
+
+  return viewItem;
+};
+
+// fires on img part of the handle
+CTOCWidget.toggleHandle = function(e)
+{
+  switch (e.eventPhase)
+  {
+    case Event.CAPTURING_PHASE:
+    case Event.BUBBLING_PHASE:
+      return true;
+    
+    case Event.AT_TARGET:
+     
+      e.preventBubble();
+
+      var domHandle   = e.target.parentNode;
+      var domChildren = domHandle.nextSibling;
+
+      if (!domChildren)
+      {
+        return true;
+      }
+
+      switch(domChildren.style.display)
+      {
+        case '':
+        case 'block':
+          domChildren.style.display = 'none';
+          e.target.setAttribute('src', CTOCWidget._handleImages.closed);
+          break;
+        case 'none':
+          domChildren.style.display = 'block';
+          e.target.setAttribute('src', CTOCWidget._handleImages.open);
+          break;
+        default:
+          return false;
+       }
+
+       return true;
+
+    default:
+      dump('Unknown Event Phase ' + e.eventPhase);
+      break;
+  }
+
+  return true;
+}
+

Added: trunk/docs/docbook/src/main/resources/slides/browser/overlay.js
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/overlay.js	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/overlay.js	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,142 @@
+// -*- Java -*-
+//
+// Overlay.js, adapted from Floating image II on dynamicdrive.com
+/* Usage:
+<html>
+<head>
+<script LANGUAGE="JavaScript1.2" src="overlay.js"></script>
+...rest of head...
+</head>
+<body onload="overlaySetup(corner)">
+<div id="overlayDiv" STYLE="position:absolute;visibility:visible;">
+...body of overlay...
+</div>
+...rest of page...
+*/
+
+var overlayNS4 = document.layers ? 1 : 0;
+var overlayIE  = document.all ? 1 : 0;
+var overlayNS6 = document.getElementById && !document.all ? 1 : 0;
+
+var overlayPadX = 15;
+var overlayPadY = 15;
+var overlayDelay = 60;
+
+var overlayCorner = 'ur'; // ul, ll, ur, lr, uc, lc, cl, cr
+
+function overlayRefresh() {
+    var overlayLx = 0;
+    var overlayLy = 0;
+
+    var overlayX = 0;
+    var overlayY = 0;
+    var overlayW = 0;
+    var overlayH = 0;
+    var contentH = 0;
+
+    var links = document.getElementsByTagName("body")[0];
+
+    if (overlayIE) {
+	overlayLx = document.body.clientWidth;
+	overlayLy = document.body.clientHeight;
+
+	if (document.body.parentElement) {
+	  // For IE6
+	  overlayLx = document.body.parentElement.clientWidth;
+          overlayLy = document.body.parentElement.clientHeight;
+        }
+
+	overlayH  = overlayDiv.offsetHeight;
+	overlayW  = body.offsetWidth; // overlayDiv.offsetWidth;
+	contentH  = body.offsetHeight;
+    } else if (overlayNS4) {
+	overlayLy = window.innerHeight;
+	overlayLx = window.innerWidth;
+	overlayH  = document.overlayDiv.clip.height;
+	overlayW  = body.clip.width; // document.overlayDiv.clip.width;
+	contentH  = body.clip.height;
+    } else if (overlayNS6) {
+	var odiv = document.getElementById('overlayDiv');
+
+	overlayLy = window.innerHeight;
+	overlayLx = window.innerWidth;
+	overlayH  = odiv.offsetHeight;
+	overlayW  = odiv.offsetWidth; // body.offsetWidth; 
+	contentH  = odiv.offsetHeight;
+    }
+
+    if (overlayCorner == 'ul') {
+	overlayX = overlayPadX;
+	overlayY = overlayPadY;
+    } else if (overlayCorner == 'cl') {
+	overlayX = overlayPadX;
+	overlayY = (overlayLy - overlayH) / 2;
+    } else if (overlayCorner == 'll') {
+	overlayX = overlayPadX;
+	overlayY = (overlayLy - overlayH) - overlayPadY;
+    } else if (overlayCorner == 'ur') {
+	overlayX = (overlayLx - overlayW) - overlayPadX;
+	overlayY = overlayPadY;
+    } else if (overlayCorner == 'cr') {
+	overlayX = (overlayLx - overlayW) - overlayPadX;
+	overlayY = (overlayLy - overlayH) / 2;
+    } else if (overlayCorner == 'lr') {
+	overlayX = (overlayLx - overlayW) - overlayPadX;
+	overlayY = (overlayLy - overlayH) - overlayPadY;
+    } else if (overlayCorner == 'uc') {
+	overlayX = (overlayLx - overlayW) / 2;
+	overlayY = overlayPadY;
+    } else { // overlayCorner == 'lc'
+	overlayX = (overlayLx - overlayW) / 2;
+	overlayY = (overlayLy - overlayH) - overlayPadY;
+    }
+
+    if (overlayIE) {
+	overlayDiv.style.left=overlayX;
+	overlayDiv.style.top=overlayY+document.body.scrollTop;
+
+	if (contentH > overlayLy) {
+	    overlayDiv.style.visibility = "hidden";
+	}
+    } else if (overlayNS4) {
+	document.overlayDiv.pageX=overlayX;
+	document.overlayDiv.pageY=overlayY+window.pageYOffset;
+	document.overlayDiv.visibility="visible";
+
+	if (contentH > overlayLy) {
+	    document.overlayDiv.style.visibility = "hidden";
+	}
+    } else if (overlayNS6) {
+	var div = document.getElementById("overlayDiv");
+	var leftpx = overlayX;
+	var toppx = overlayY+window.pageYOffset;
+	var widthpx = overlayW;
+
+	div.style.left = leftpx + "px";
+	div.style.top = toppx + "px";
+	div.style.width = widthpx + "px";
+
+	if (contentH > overlayLy) {
+	    div.style.visibility = "hidden";
+	} else {
+	    div.style.visibility = "visible";
+	}
+    }
+}
+
+function onad() {
+    loopfunc();
+}
+
+function loopfunc() {
+    overlayRefresh();
+    setTimeout('loopfunc()',overlayDelay);
+}
+
+function overlaySetup(corner) {
+    overlayCorner = corner;
+
+    if (overlayIE || overlayNS4 || overlayNS6) {
+	onad();
+    }
+}

Added: trunk/docs/docbook/src/main/resources/slides/browser/slides-default.css
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/slides-default.css	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/slides-default.css	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,9 @@
+ at import url('slides.css');
+
+.toclink { font-size: 10pt;
+             font-weight: normal;
+           }
+
+.toclink a         { color: blue; }
+.toclink a:link    { color: blue; }
+.toclink a:visited { color: blue; }

Added: trunk/docs/docbook/src/main/resources/slides/browser/slides-frames.css
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/slides-frames.css	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/slides-frames.css	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,73 @@
+ at import url('slides.css');
+
+.toc-body             { margin-left: 2px;
+                        margin-right: 2px;
+                      }
+
+.foil-body            { margin-left: 2px;
+                        margin-right: 2px;
+                      }
+
+h1.title              { margin-top: 0px;
+                        padding-top: 0px;
+                      }
+
+.navhead              { visibility: visible;
+                      }
+
+.navfoot              { visibility: visible;
+                      }
+
+/* ====================================================================== */
+
+.navfoot              { border-top: 1px solid black;
+                        margin-top: 10px;
+                        padding-top: 4px;
+                      }
+/* ====================================================================== */
+
+.toc                  { font-weight: bold;
+                        font-size: 10pt;
+                      }
+
+.toc a                { text-decoration: none; }
+.toc a:link           { color: blue; }
+.toc a:visited        { color: blue; }
+
+.toc .toc-foilgroup a         { color: red; }
+.toc .toc-foilgroup a:link    { color: red; }
+.toc .toc-foilgroup a:visited { color: red; }
+
+.toc .toc-titlefoil a         { color: black; }
+.toc .toc-titlefoil a:link    { color: black; }
+.toc .toc-titlefoil a:visited { color: black; }
+
+.toc .toc-foil a         { color: blue; }
+.toc .toc-foil a:link    { color: blue; }
+.toc .toc-foil a:visited { color: blue; }
+
+.toc-slidesinfo       { font-family: sans-serif;
+                        font-weight: bold;
+                        text-align: center;
+                      }
+
+.toc-titlefoil        { font-family: sans-serif;
+                        font-weight: bold;
+                        text-align: center;
+                      }
+
+.toc-foilgroup        { font-family: sans-serif;
+                        margin-left: 0.25in;
+                        text-indent: -0.25in;
+	                font-weight: bold;
+                        color: red;
+                      }
+
+.toc-foil             { font-family: sans-serif;
+                        font-size: 10pt;
+                        margin-left: 0.25in;
+                        text-indent: -0.4in;
+	                font-weight: bold;
+                        color: blue;
+                      }
+

Added: trunk/docs/docbook/src/main/resources/slides/browser/slides-plain.css
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/slides-plain.css	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/slides-plain.css	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1 @@
+ at import url('slides.css');

Added: trunk/docs/docbook/src/main/resources/slides/browser/slides-table.css
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/slides-table.css	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/slides-table.css	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,41 @@
+ at import url('slides.css');
+
+.toc-body             { margin-left: 2px;
+                        margin-right: 2px;
+                      }
+
+.foil-body            { margin-left: 2px;
+                        margin-right: 2px;
+                      }
+
+.foilgroup-body       { margin-left: 2px;
+                        margin-right: 2px;
+                      }
+
+h1.title              { 
+                        margin-top: 0px;
+                        padding-top: 0px;
+                      }
+
+/* ToC Stuff */
+
+.ttoc                 {
+                        font-size: 10pt;
+			color: white;
+                      }
+
+.ttoc a               { text-decoration: none; }
+.ttoc a:link          { color: white }
+.ttoc a:visited       { color: white }
+
+.ttoc-title           {
+                        font-size: 10pt;
+                      }
+
+.ttoc-foilset         {
+                        font-size: 10pt;
+                      }
+
+.ttoc-foil            {
+                        font-size: 10pt;
+                      }

Added: trunk/docs/docbook/src/main/resources/slides/browser/slides-w3c.css
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/slides-w3c.css	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/slides-w3c.css	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1 @@
+ at import url('slides.css');

Added: trunk/docs/docbook/src/main/resources/slides/browser/slides.css
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/slides.css	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/slides.css	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,119 @@
+/* General formatting */
+
+body                  { font-family: sans-serif;
+                        font-weight: bold;
+                      }
+
+.copyright            { color: #7F7F7F;
+                      }
+
+/* Title page formatting */
+
+
+.slidesinfo           { text-align: center; 
+                        font-size: 16pt;
+                      }
+
+.slidesinfo h1.title  { color: blue;
+                      }
+.slidesinfo h2.subtitle  { color: blue; 
+                      }
+.slidesinfo h1.author { color: green;
+                      }
+
+.slidesinfo .copyright { color: black;
+                      }
+
+
+/* ToC page formatting */
+
+.tocpage h1.title     { color: blue;
+                        text-align: center;
+                      }
+
+.tocpage a            { text-decoration: none; }
+.tocpage a:link       { color: blue; }
+.tocpage a:visited    { color: blue; }
+
+.toc-body             { margin-left: 0.5in;
+                        margin-right: 0.5in;
+                      }
+
+/* Foil page formatting */
+
+.foil                 { font-size: 16pt;
+                      }
+.foil h1.title        { text-align: center;
+                        color: blue;
+                        padding-top: 0pt;
+                        margin-top: 0pt;
+                      }
+.foil h2.subtitle     { text-align: center;
+                        color: blue;
+                        padding-top: 0pt;
+                        margin-top: 0pt;
+                      }
+
+.foil pre             { font-size: 16pt;
+                      }
+
+.foil-body            { margin-left: 0.5in;
+                        margin-right: 0.5in;
+                      }
+
+/* Foilgroup page formatting */
+
+.foilgroup            { font-size: 16pt;
+                      }
+.foilgroup h1.title   { text-align: center;
+                        color: red;
+                        padding-top: 0pt;
+                        margin-top: 0pt;
+                      }
+.foilgroup h2.subtitle { text-align: center;
+                        color: blue;
+                        padding-top: 0pt;
+                        margin-top: 0pt;
+                      }
+
+.foilgroup-body       { margin-left: 0.5in;
+                        margin-right: 0.5in;
+                      }
+
+/* Navigation header formatting */
+
+.navhead              { border-bottom: 1px solid black;
+                        margin-bottom: 10px;
+                        padding-bottom: 4px;
+                      }
+
+.navhead hr.top-nav-sep { display: none; }
+
+.navhead .slidestitle { font-weight: normal;
+                        font-size: 10pt;
+                        font-style: italic;
+                      }
+
+/* Navigation footer formatting */
+
+.navfoot              { border-top: 1px solid black;
+                        margin-top: 10px;
+                        padding-top: 4px;
+                      }
+
+.navfoot hr.bottom-nav-sep { display: none; }
+
+/* General navigation formatting */
+
+.link-text            { font-weight: bold;
+                        font-size: 10pt;
+                      }
+
+
+.link-text a          { text-decoration: none; }
+.link-text a:link     { color: blue; }
+.link-text a:visited  { color: blue; }
+
+.no-link-text         { color: #7F7F7F; }
+
+/* EOF */

Added: trunk/docs/docbook/src/main/resources/slides/browser/slides.js
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/slides.js	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/slides.js	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,120 @@
+// -*- Java -*-
+//
+// $Id: slides.js 4931 2005-06-21 15:45:53Z kosek $
+//
+// Copyright (C) 2002 Norman Walsh
+//
+// You are free to use, modify and distribute this software without limitation.
+// This software is provided "AS IS," without a warranty of any kind.
+//
+// This script assumes that the Netscape 'ua.js' module has also been loaded.
+
+function newPage(filename, overlay) {
+    divs = document.getElementsByTagName("div");
+
+    if (divs) {
+	var xdiv = divs[0];
+
+	if (xdiv) {
+	    var xid = xdiv.getAttribute("id");
+
+	    var mytoc = window.top.frames[0];
+	    if (mytoc.lastUnderlined) {
+		mytoc.lastUnderlined.style.textDecoration = "none";
+	    }
+
+	    var tdiv = xbGetElementById(xid, mytoc);
+
+	    if (tdiv) {
+		var ta = tdiv.getElementsByTagName("a").item(0);
+		ta.style.textDecoration = "underline";
+		mytoc.lastUnderlined = ta;
+	    }
+	}
+    }
+
+    if (overlay != 0) {
+	overlaySetup('lc');
+    }
+}
+
+
+function navigate (evt) {
+    var kc = -1;
+
+    if (navigator.org == 'microsoft' || navigator.family == 'opera') {
+	kc = window.event.keyCode;
+    } else if (navigator.family == 'gecko') {
+	kc = evt.keyCode;
+	if(!kc) {
+	    kc = evt.which;
+	}
+    } else {
+	kc = evt.which;
+    }
+
+    var forward = (kc == 110) || (kc == 78) || (kc == 32)
+          || (kc == 10) || (kc == 13) || (kc == 34)
+          || (kc == 39);
+          /* n, N, SPACE, ENTER, RETURN, PAGE UP, RIGHT ARROW */
+    var backward = (kc == 112) || (kc == 80) || (kc == 8)
+          || (kc == 33) || (kc == 37);
+          /* p, P, BACKSPACE, PAGE DOWN, LEFT ARROW */
+    var up = (kc == 117) || (kc == 85) || (kc == 38);
+          /* u, U, UP ARROW */
+    var home = (kc == 104) || (kc == 72) || (kc == 36);
+          /* h, H, HOME */
+    var toc = (kc == 116) || (kc == 84);
+          /* t, T */
+          /* previously included META (kc == 244) */
+
+    var links = document.getElementsByTagName("link");
+
+    var count = 0;
+    var target = "";
+
+    for (count = 0; count < links.length; count++) {
+	if (home && (links[count].getAttribute("rel") == 'top')) {
+	    target = links[count].getAttribute("href");
+	}
+	if (toc && (links[count].getAttribute("rel") == 'contents')) {
+	    target = links[count].getAttribute("href");
+	}
+	if (up && (links[count].getAttribute("rel") == 'up')) {
+	    target = links[count].getAttribute("href");
+	}
+	if (forward && (links[count].getAttribute("rel") == 'next')) {
+	    target = links[count].getAttribute("href");
+	}
+	if (backward && (links[count].getAttribute("rel") == 'previous')) {
+	    target = links[count].getAttribute("href");
+	}
+    }
+
+    if (target != "") {
+	if (window.top.frames[1]) {
+	    window.top.frames[1].location = target;
+	} else {
+	    window.location = target;
+	}
+    }
+
+    return false;
+}
+
+function toggletoc (img, width, hidegraphic, showgraphic) {
+    var fsc = top.GetElementsByTagName('frameset');
+    if (fsc) {
+	var fs = fsc[0];
+	if (fs) {
+	    if (fs.cols == "0,*") {
+		fs.cols = width + ",*";
+		img.src = hidegraphic;
+	    } else {
+		fs.cols = "0,*";
+		img.src = showgraphic;
+	    }
+	}
+    }
+}
+

Added: trunk/docs/docbook/src/main/resources/slides/browser/ua.js
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/ua.js	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/ua.js	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,135 @@
+/*
+ * ua.js
+ * $Revision: 1.2 $ $Date: 2003/02/07 16:04:17 $
+ */
+
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Netscape code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2001
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s): Bob Clary <bclary at netscape.com>
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+function xbDetectBrowser()
+{
+  var oldOnError = window.onerror;
+  var element = null;
+
+  window.onerror = null;
+  
+  // work around bug in xpcdom Mozilla 0.9.1
+  window.saveNavigator = window.navigator;
+
+  navigator.OS    = '';
+  navigator.version  = parseFloat(navigator.appVersion);
+  navigator.org    = '';
+  navigator.family  = '';
+
+  var platform;
+  if (typeof(window.navigator.platform) != 'undefined')
+  {
+    platform = window.navigator.platform.toLowerCase();
+    if (platform.indexOf('win') != -1)
+      navigator.OS = 'win';
+    else if (platform.indexOf('mac') != -1)
+      navigator.OS = 'mac';
+    else if (platform.indexOf('unix') != -1 || platform.indexOf('linux') != -1 || platform.indexOf('sun') != -1)
+      navigator.OS = 'nix';
+  }
+
+  var i = 0;
+  var ua = window.navigator.userAgent.toLowerCase();
+  
+  if (ua.indexOf('opera') != -1)
+  {
+    i = ua.indexOf('opera');
+    navigator.family  = 'opera';
+    navigator.org    = 'opera';
+    navigator.version  = parseFloat('0' + ua.substr(i+6), 10);
+  }
+  else if ((i = ua.indexOf('msie')) != -1)
+  {
+    navigator.org    = 'microsoft';
+    navigator.version  = parseFloat('0' + ua.substr(i+5), 10);
+    
+    if (navigator.version < 4)
+      navigator.family = 'ie3';
+    else
+      navigator.family = 'ie4'
+  }
+  else if (ua.indexOf('gecko') != -1)
+  {
+    navigator.family = 'gecko';
+    var rvStart = ua.indexOf('rv:');
+    var rvEnd   = ua.indexOf(')', rvStart);
+    var rv      = ua.substring(rvStart+3, rvEnd);
+    var rvParts = rv.split('.');
+    var rvValue = 0;
+    var exp     = 1;
+
+    for (var i = 0; i < rvParts.length; i++)
+    {
+      var val = parseInt(rvParts[i]);
+      rvValue += val / exp;
+      exp *= 100;
+    }
+    navigator.version = rvValue;
+
+    if (ua.indexOf('netscape') != -1)
+      navigator.org = 'netscape';
+    else if (ua.indexOf('compuserve') != -1)
+      navigator.org = 'compuserve';
+    else
+      navigator.org = 'mozilla';
+  }
+  else if ((ua.indexOf('mozilla') !=-1) && (ua.indexOf('spoofer')==-1) && (ua.indexOf('compatible') == -1) && (ua.indexOf('opera')==-1)&& (ua.indexOf('webtv')==-1) && (ua.indexOf('hotjava')==-1))
+  {
+    var is_major = parseFloat(navigator.appVersion);
+    
+    if (is_major < 4)
+      navigator.version = is_major;
+    else
+    {
+      i = ua.lastIndexOf('/')
+      navigator.version = parseFloat('0' + ua.substr(i+1), 10);
+    }
+    navigator.org = 'netscape';
+    navigator.family = 'nn' + parseInt(navigator.appVersion);
+  }
+  else if ((i = ua.indexOf('aol')) != -1 )
+  {
+    // aol
+    navigator.family  = 'aol';
+    navigator.org    = 'aol';
+    navigator.version  = parseFloat('0' + ua.substr(i+4), 10);
+  }
+  else if ((i = ua.indexOf('hotjava')) != -1 )
+  {
+    // hotjava
+    navigator.family  = 'hotjava';
+    navigator.org    = 'sun';
+    navigator.version  = parseFloat(navigator.appVersion);
+  }
+
+  window.onerror = oldOnError;
+}
+
+xbDetectBrowser();
+

Added: trunk/docs/docbook/src/main/resources/slides/browser/xbCollapsibleLists.js
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/xbCollapsibleLists.js	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/xbCollapsibleLists.js	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,537 @@
+/*
+xbCollapsibleLists.js 2001-02-26
+
+Contributor(s): Michael Bostock, Netscape Communications, Copyright 1997
+                Bob Clary, Netscape Communications, Copyright 2001
+                Seth Dillingham, Macrobyte Resources, Copyright 2001
+                Mark Filanowicz, Amdahl IT Services, Copyright 2002
+                
+Netscape grants you a royalty free license to use, modify or 
+distribute this software provided that this copyright notice 
+appears on all copies.  This software is provided "AS IS," 
+without a warranty of any kind.
+
+See xbCollapsibleLists.js.changelog.html for details of changes.
+*/
+
+
+var xbcl__id = 0;
+var xbcl_item_id = 0;
+var xbcl_mLists = new Array();
+var xbcl_parentElement = null;
+
+document.lists = xbcl_mLists;
+
+function List(visible, width, height, bgColor, collapsedImageURL, expandedImageURL) 
+{
+  this.lists   = new Array();  // sublists
+  this.items   = new Array();  // layers
+  this.types   = new Array();  // type
+  this.strs    = new Array();  // content
+  this.visible = visible;
+  this.id      = xbcl__id;
+  this.width   = width || 350;
+  this.height  = height || 22;
+  
+  this.collapsedImageURL = collapsedImageURL || 'false.gif';
+  this.expandedImageURL  = expandedImageURL || 'true.gif';
+  
+  if (bgColor) 
+    this.bgColor = bgColor;
+
+  xbcl_mLists[xbcl__id++] = this;
+}
+
+function xbcl_SetFont(i,j) 
+{
+  this.fontIntro = i;
+  this.fontOutro = j;
+}
+
+function xbcl_GetFont() 
+{
+  return [this.fontIntro, this.fontOutro];
+}
+
+function xbcl_setIndent(indent) 
+{ 
+  this.i = indent; 
+  if (this.i < 0) 
+  { 
+    this.i = 0; 
+    this.space = false; 
+  }
+  else
+    this.space = true;
+}
+
+function xbcl_getIndent(indent)
+{
+  return this.i;
+}
+
+function xbcl_writeItemDOMHTML( obj, s, flList, listObj )
+{
+  var styleObj;
+  var outerDiv, innerLeft, innerRight;
+  var str;
+  var leftEdge = 0;
+  
+  styleObj = new xbStyle(obj);
+  styleObj.setVisibility('hidden');
+  outerDiv = document.createElement( "DIV" );
+  outerDiv.id = "DIV_" + obj.id;
+  styleObj = new xbStyle( outerDiv );
+  styleObj.setWidth( this.width );
+  
+  if ( flList )
+  {
+    innerLeft = document.createElement( "DIV" );
+    innerLeft.style.position = "absolute";
+    innerLeft.style.valign = "middle";
+    leftEdge = 15;
+    
+    styleObj = new xbStyle( innerLeft );
+    styleObj.setWidth( 15 );
+    styleObj.setBackgroundColor( "transparent" );
+    
+    if ( listObj.visible )
+      str = '<A TARGET="_self" HREF="javascript:xbcl_expand(' + listObj.id + ');"><IMG BORDER="0" SRC="' + this.expandedImageURL + '" ID="_img' + listObj.id + '" NAME="_img' + listObj.id + '"></A>';
+    else
+      str = '<A TARGET="_self" HREF="javascript:xbcl_expand(' + listObj.id + ');"><IMG BORDER="0" SRC="' + this.collapsedImageURL + '" ID="_img' + listObj.id + '" NAME="_img' + listObj.id + '"></A>';
+    
+    innerLeft.innerHTML = str;
+    outerDiv.appendChild( innerLeft );
+  }
+  else if ( this.space )
+    leftEdge = 15;
+  
+  innerRight = document.createElement( "DIV" );
+  innerRight.noWrap = true;
+  innerRight.style.position = "absolute";
+  
+  styleObj = new xbStyle( innerRight );
+  styleObj.setLeft( leftEdge + ( this.l * this.i ) );
+  styleObj.setWidth( this.width - 15 - this.l * this.i );
+  styleObj.setBackgroundColor( "transparent" );
+  
+  // start of change by Mark Filanowicz  02-22-2002
+  if ( flList ) 
+	{
+	  s = this.fontIntro + '<A TARGET="_self" STYLE="text-decoration: none;" HREF="javascript:xbcl_expand(' + listObj.id + ');">' + s + this.fontOutro;
+	}
+	else
+	{
+  s = this.fontIntro + s + this.fontOutro;
+	}
+  // end of change by Mark Filanowicz  02-22-2002
+  
+  
+  innerRight.innerHTML = s;
+  outerDiv.appendChild( innerRight );
+
+  obj.appendChild( outerDiv );
+  
+  return;
+}
+
+function xbcl_writeItem( obj, s, flList, listObj )
+{
+  var cellStyle = '';
+  var str = '';
+  var styleObj = new xbStyle( obj );
+  
+  styleObj.setVisibility( 'hidden' );
+  
+  if ( document.body && document.body.style )
+    cellStyle = ' style="background-color: transparent;"';
+  
+  str += '<TABLE WIDTH='+this.width+' NOWRAP BORDER="0" CELLPADDING="0" CELLSPACING="0"><TR>';
+
+  if ( flList ) 
+  {
+    str += '<TD WIDTH="15" NOWRAP VALIGN="MIDDLE"' + cellStyle + '>';
+    str += '<A TARGET="_self" HREF="javascript:xbcl_expand(' + listObj.id + ');">';
+    
+    if ( listObj.visible )
+      str += '<IMG BORDER="0" SRC="' + this.expandedImageURL + '" ID="_img' +  listObj.id + '" NAME="_img' + listObj.id + '">';
+    else
+      str += '<IMG BORDER="0" SRC="' + this.collapsedImageURL + '" ID="_img' +  listObj.id + '" NAME="_img' + listObj.id + '">';
+    
+    str += '</A></TD>';
+  } 
+  else if (this.space)
+    str += '<TD WIDTH="15" NOWRAP' + cellStyle + '>&nbsp;</TD>';
+  
+  if (this.l>0 && this.i>0) 
+    str += '<TD WIDTH="' + this.l*this.i+ '" NOWRAP' + cellStyle + '>&nbsp;</TD>';
+
+  str += '<TD HEIGHT="' + ( this.height - 3) + '" WIDTH="' + ( this.width - 15 - this.l * this.i ) + '" VALIGN="MIDDLE" ALIGN="LEFT"' + cellStyle + '>';
+  
+  // start of change by Mark Filanowicz  02-22-2002
+  if ( flList ) 
+	{
+	  str += this.fontIntro + '<A TARGET="_self" STYLE="text-decoration: none;" HREF="javascript:xbcl_expand(' + listObj.id + ');">' + s + this.fontOutro;
+	}
+	else
+	{
+  str += this.fontIntro + s + this.fontOutro;
+	}
+  // end of change by Mark Filanowicz  02-22-2002
+  
+  str += '</TD></TR></TABLE>';
+  
+  styleObj.setInnerHTML( str );
+  
+  return;
+}
+
+function xbcl_writeList()
+{
+  var item;
+  var i;
+  var flList;
+  
+  for ( i = 0; i < this.types.length; i++ )
+  {
+    item = this.items[ i ];
+    flList = ( this.types[ i ] == 'list' );
+    
+    this._writeItem( item, this.strs[ i ], flList, this.lists[ i ] );
+    
+    if ( flList && this.lists[ i ].visible )
+      this.lists[ i ]._writeList();
+  }
+  
+  this.built = true;
+  this.needsRewrite = false;
+  self.status = '';
+}
+
+function xbcl_showList() 
+{
+  var item;
+  var styleObj;
+  var i;
+
+  for (i = 0; i < this.types.length; i++) 
+  { 
+    item = this.items[i];
+    styleObj = new xbStyle(item);
+    styleObj.setClipLeft(0);
+    styleObj.setClipRight(this.width);
+    styleObj.setClipTop(0);
+    if (item.height)
+    {
+      styleObj.setClipBottom(item.height);
+      styleObj.setHeight(item.height);
+    }
+    else
+    {
+      styleObj.setClipBottom(this.height);
+      styleObj.setHeight(this.height);
+    }
+    
+    if ( this.visible )
+      styleObj.setVisibility( 'visible' );
+
+    var bg = item.oBgColor || this.bgColor;
+    if ((bg == null) || (bg == 'null')) 
+      bg = '';
+
+    styleObj.setBackgroundColor(bg);
+
+    if (this.types[i] == 'list' && this.lists[i].visible)
+      this.lists[i]._showList();
+  }
+  this.shown = true;
+  this.needsUpdate = false;
+}
+
+function xbcl_setImage(list, item, file)
+{
+  var id = '_img' + list.id;
+  var img = null;
+  
+  // for DOMHTML or IE4 use cross browser getElementById from xbStyle
+  // can't use it for NN4 since it only works for layers in NN4
+  if (document.layers) 
+    img = item.document.images[0];
+  else 
+    img = xbGetElementById(id);
+    
+  if (img)
+    img.src = file;
+}
+
+function xbcl_getHeight() 
+{
+  var totalHeight = 0;
+  var i;
+  
+  if (!this.visible)
+    return 0;
+  
+  for (i = 0; i < this.types.length; i++) 
+  {
+    if (this.items[i].height)
+      totalHeight += this.items[i].height;
+    else
+      totalHeight += this.height;
+    
+    if ((this.types[i] == 'list') && this.lists[i].visible)
+    {
+      totalHeight += this.lists[i].getHeight();
+    }
+  }
+  
+  return totalHeight;
+}
+
+function xbcl_updateList(pVis, x, y) 
+{
+  var currTop = y; 
+  var item;
+  var styleObj;
+  var i;
+
+  for (i = 0; i < this.types.length; i++) 
+  { 
+    item = this.items[i];
+    styleObj = new xbStyle(item);
+
+    if (this.visible && pVis) 
+    {
+      styleObj.moveTo(x, currTop);
+      if (item.height)  // allow custom heights for each item
+        currTop += item.height;
+      else
+        currTop += this.height;
+      
+      styleObj.setVisibility('visible');
+    } 
+    else 
+    {
+      styleObj.setVisibility('hidden');
+    }
+
+    if (this.types[i] == 'list') 
+    {
+      if (this.lists[i].visible) 
+      {
+        if (!this.lists[i].built || this.lists[i].needsRewrite) 
+          this.lists[i]._writeList();
+
+        if (!this.lists[i].shown || this.lists[i].needsUpdate) 
+          this.lists[i]._showList();
+
+        xbcl_setImage(this.lists[i], item, this.expandedImageURL );
+      } 
+      else 
+        xbcl_setImage(this.lists[i], item, this.collapsedImageURL );
+
+      if (this.lists[i].built)
+        currTop = this.lists[i]._updateList(this.visible && pVis, x, currTop);
+    }
+  }
+  return currTop;
+}
+
+function xbcl_updateParent( pid, l ) 
+{
+  var i;
+
+  if ( !l ) 
+    l = 0;
+
+  this.pid = pid;
+  this.l = l;
+
+  for ( i = 0; i < this.types.length; i++ )
+  {
+    if ( this.types[ i ] == 'list' )
+    {
+      this.lists[ i ]._updateParent( pid, l + 1 );
+    }
+  }
+}
+
+function xbcl_expand(i) 
+{
+  xbcl_mLists[i].visible = !xbcl_mLists[i].visible;
+
+  if (xbcl_mLists[i].onexpand != null) 
+    xbcl_mLists[i].onexpand(xbcl_mLists[i].id);
+
+  xbcl_mLists[xbcl_mLists[i].pid].rebuild();
+
+  if (xbcl_mLists[i].postexpand != null) 
+    xbcl_mLists[i].postexpand(xbcl_mLists[i].id);
+}
+
+function xbcl_build(x, y) 
+{
+  this._updateParent(this.id);
+  this._writeList();
+  this._showList();
+  this._updateList(true, x, y);
+  this.x = x; 
+  this.y = y;
+}
+
+function xbcl_rebuild() 
+{ 
+  this._updateList(true, this.x, this.y); 
+}
+
+function xbcl_getNewItem()
+{
+  var newItem = null;
+
+  newItem = xbGetElementById('lItem' + xbcl_item_id);
+
+  if (!newItem) 
+  {
+    if (document.all && !document.getElementById)
+    {
+      var parentElement = this.parentElement;
+      if (!parentElement)
+        parentElement = document.body;
+        
+      parentElement.insertAdjacentHTML('beforeEnd', '<div id="lItem' + xbcl_item_id + '" style="position:absolute;"></div>');
+      newItem = xbGetElementById('lItem' + xbcl_item_id);
+    }
+    else if (document.layers)
+    {
+      if (this.parentElement)
+        newItem = new Layer(this.width, this.parentElement);
+      else
+        newItem = new Layer(this.width);
+    }
+    else if (document.createElement)
+    {
+      newItem = document.createElement('div');
+      newItem.id= 'lItem' + xbcl_item_id;
+      newItem.style.position = 'absolute';
+
+      if (this.parentElement)
+        this.parentElement.appendChild(newItem);
+      else 
+        document.body.appendChild(newItem);
+    }
+  }
+
+  return newItem;
+}
+
+function xbcl_addItem(str, bgColor, item) 
+{
+  if (!item) 
+    item = this._getNewItem();
+  
+  if (!item)
+    return;
+
+  if (bgColor) 
+    item.oBgColor = bgColor;
+
+  this.items[this.items.length] = item;
+  this.types[this.types.length] = 'item';
+  this.strs[this.strs.length] = str;
+  ++xbcl_item_id;
+  
+  if ( this.built )
+  {
+    this._writeItem( item, str, false );
+    xbcl_mLists[this.pid].rebuild();
+    if ( this.visible )
+      this._showList();
+    else
+      this.needsUpdate = true;
+  }
+  
+  return item;
+}
+
+function xbcl_addList(list, str, bgColor, item) 
+{
+  if (!item) 
+    item = this._getNewItem();
+
+  if (!item)
+    return;
+
+  if (bgColor) 
+    item.oBgColor = bgColor;
+
+  this.lists[this.items.length] = list;
+  this.items[this.items.length] = item;
+  this.types[this.types.length] = 'list';
+  this.strs[this.strs.length] = str;
+  ++xbcl_item_id;
+  
+  list.parentList = this;
+  
+  list.pid = this.pid;
+  list.l = this.l + 1;
+  
+  if ( this.built )
+  {
+    this._writeItem( item, str, true, list );
+    xbcl_mLists[ this.pid ].rebuild();
+    if ( this.visible )
+      this._showList();
+    else
+      this.needsUpdate = true;
+  }
+  
+  return item;
+}
+
+List.prototype.setIndent     = xbcl_setIndent;
+List.prototype.getIndent     = xbcl_getIndent;
+List.prototype.addItem       = xbcl_addItem;
+List.prototype.addList       = xbcl_addList;
+List.prototype.build         = xbcl_build;
+List.prototype.rebuild       = xbcl_rebuild;
+List.prototype.setFont       = xbcl_SetFont;
+List.prototype.getFont       = xbcl_GetFont;
+List.prototype.getHeight     = xbcl_getHeight;
+
+List.prototype._writeList    = xbcl_writeList;
+List.prototype._getNewItem   = xbcl_getNewItem;
+
+if ( document.getElementById && document.createElement )
+  List.prototype._writeItem  = xbcl_writeItemDOMHTML;
+else
+  List.prototype._writeItem  = xbcl_writeItem;
+
+List.prototype._showList     = xbcl_showList;
+List.prototype._updateList   = xbcl_updateList;
+List.prototype._updateParent = xbcl_updateParent;
+
+List.prototype.onexpand      = null;
+List.prototype.postexpand    = null;
+List.prototype.lists         = null;  // sublists
+List.prototype.items         = null;  // layers
+List.prototype.types         = null;  // type
+List.prototype.strs          = null;  // content
+List.prototype.x             = 0;
+List.prototype.y             = 0;
+List.prototype.visible       = false;
+List.prototype.id            = -1;
+List.prototype.i             = 18;
+List.prototype.space         = true;
+List.prototype.pid           = 0;
+List.prototype.fontIntro     = '';
+List.prototype.fontOutro     = '';
+List.prototype.width         = 350;
+List.prototype.height        = 22;
+List.prototype.built         = false;
+List.prototype.shown         = false;
+List.prototype.needsUpdate   = false;
+List.prototype.needsRewrite  = false;
+List.prototype.l             = 0;
+List.prototype.bgColor       = null;
+List.prototype.parentList    = null;
+List.prototype.parentElement = null;

Added: trunk/docs/docbook/src/main/resources/slides/browser/xbDOM.js
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/xbDOM.js	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/xbDOM.js	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,374 @@
+/*
+ * xbDOM.js
+ * $Revision: 1.2 $ $Date: 2003/02/07 16:04:18 $
+ */
+
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Netscape code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2001
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s): Bob Clary <bclary at netscape.com>
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+function xbToInt(s)
+{
+  var i = parseInt(s, 10);
+  if (isNaN(i))
+    i = 0;
+
+  return i;
+}
+
+function xbGetWindowWidth(windowRef)
+{
+  var width = 0;
+
+  if (!windowRef)
+  {
+    windowRef = window;
+  }
+  
+  if (typeof(windowRef.innerWidth) == 'number')
+  {
+    width = windowRef.innerWidth;
+  }
+  else if (windowRef.document.body && typeof(windowRef.document.body.clientWidth) == 'number')
+  {
+    width = windowRef.document.body.clientWidth;  
+  }
+    
+  return width;
+}
+
+function xbGetWindowHeight(windowRef)
+{
+  var height = 0;
+  
+  if (!windowRef)
+  {
+    windowRef = window;
+  }
+
+  if (typeof(windowRef.innerWidth) == 'number')
+  {
+    height = windowRef.innerHeight;
+  }
+  else if (windowRef.document.body && typeof(windowRef.document.body.clientWidth) == 'number')
+  {
+    height = windowRef.document.body.clientHeight;    
+  }
+  return height;
+}
+
+function xbGetElementsByNameAndType(name, type, windowRef)
+{
+  if (!windowRef)
+    windowRef = window;
+
+  var elmlist = new Array();
+
+  xbFindElementsByNameAndType(windowRef.document, name, type, elmlist);
+
+  return elmlist;
+}
+
+function xbFindElementsByNameAndType(doc, name, type, elmlist)
+{
+  var i;
+  var subdoc;
+  
+  for (i = 0; i < doc[type].length; ++i)
+  {
+    if (doc[type][i].name && name == doc[type][i].name)
+    {
+      elmlist[elmlist.length] = doc[type][i];
+    }
+  }
+
+  if (doc.layers)
+  {
+    for (i = 0; i < doc.layers.length; ++i)
+    {
+      subdoc = doc.layers[i].document;
+      xbFindElementsByNameAndType(subdoc, name, type, elmlist);
+    }
+  }
+}
+
+if (document.layers)
+{
+  nav4FindLayer =
+  function (doc, id)
+  {
+    var i;
+    var subdoc;
+    var obj;
+    
+    for (i = 0; i < doc.layers.length; ++i)
+    {
+      if (doc.layers[i].id && id == doc.layers[i].id)
+        return doc.layers[i];
+        
+      subdoc = doc.layers[i].document;
+      obj    = nav4FindLayer(subdoc, id);
+      if (obj != null)
+        return obj;
+    }
+    return null;
+  }
+
+  nav4FindElementsByName = 
+  function (doc, name, elmlist)
+  {
+    var i;
+    var j;
+    var subdoc;
+    
+    for (i = 0; i < doc.images.length; ++i)
+    {
+      if (doc.images[i].name && name == doc.images[i].name)
+      {
+        elmlist[elmlist.length] = doc.images[i];
+      }
+    }
+
+    for (i = 0; i < doc.forms.length; ++i)
+    {
+      for (j = 0; j < doc.forms[i].elements.length; j++)
+      {
+        if (doc.forms[i].elements[j].name && name == doc.forms[i].elements[j].name)
+        {
+          elmlist[elmlist.length] = doc.forms[i].elements[j];
+        }
+      }
+
+      if (doc.forms[i].name && name == doc.forms[i].name)
+      {
+        elmlist[elmlist.length] = doc.forms[i];
+      }
+    }
+
+    for (i = 0; i < doc.anchors.length; ++i)
+    {
+      if (doc.anchors[i].name && name == doc.anchors[i].name)
+      {
+        elmlist[elmlist.length] = doc.anchors[i];
+      }
+    }
+
+    for (i = 0; i < doc.links.length; ++i)
+    {
+      if (doc.links[i].name && name == doc.links[i].name)
+      {
+        elmlist[elmlist.length] = doc.links[i];
+      }
+    }
+
+    for (i = 0; i < doc.applets.length; ++i)
+    {
+      if (doc.applets[i].name && name == doc.applets[i].name)
+      {
+        elmlist[elmlist.length] = doc.applets[i];
+      }
+    }
+
+    for (i = 0; i < doc.embeds.length; ++i)
+    {
+      if (doc.embeds[i].name && name == doc.embeds[i].name)
+      {
+        elmlist[elmlist.length] = doc.embeds[i];
+      }
+    }
+
+    for (i = 0; i < doc.layers.length; ++i)
+    {
+      if (doc.layers[i].name && name == doc.layers[i].name)
+      {
+        elmlist[elmlist.length] = doc.layers[i];
+      }
+        
+      subdoc = doc.layers[i].document;
+      nav4FindElementsByName(subdoc, name, elmlist);
+    }
+  }
+
+  xbGetElementById = function (id, windowRef)
+  {
+    if (!windowRef)
+      windowRef = window;
+
+    return nav4FindLayer(windowRef.document, id);
+  };
+
+  xbGetElementsByName = function (name, windowRef)
+  {
+    if (!windowRef)
+      windowRef = window;
+
+    var elmlist = new Array();
+
+    nav4FindElementsByName(windowRef.document, name, elmlist);
+
+    return elmlist;
+  };
+
+}
+else if (document.all)
+{
+  xbGetElementById = 
+  function (id, windowRef) 
+  { 
+    if (!windowRef) 
+    {
+      windowRef = window; 
+    }
+    var elm = windowRef.document.all[id]; 
+    if (!elm) 
+    {
+      elm = null; 
+    }
+    return elm; 
+  };
+
+  xbGetElementsByName = function (name, windowRef)
+  {
+    if (!windowRef)
+      windowRef = window;
+
+    var i;
+    var idnamelist = windowRef.document.all[name];
+    var elmlist = new Array();
+
+    if (!idnamelist.length || idnamelist.name == name)
+    {
+      if (idnamelist)
+        elmlist[elmlist.length] = idnamelist;
+    }
+    else
+    {
+      for (i = 0; i < idnamelist.length; i++)
+      {
+        if (idnamelist[i].name == name)
+          elmlist[elmlist.length] = idnamelist[i];
+      }
+    }
+
+    return elmlist;
+  }
+
+}
+else if (document.getElementById)
+{
+  xbGetElementById = 
+  function (id, windowRef) 
+  { 
+    if (!windowRef) 
+    {
+      windowRef = window; 
+    }
+    return windowRef.document.getElementById(id); 
+  };
+
+  xbGetElementsByName = 
+  function (name, windowRef) 
+  { 
+    if (!windowRef) 
+    {
+      windowRef = window; 
+    }
+    return windowRef.document.getElementsByName(name); 
+  };
+}
+else 
+{
+  xbGetElementById = 
+  function (id, windowRef) 
+  { 
+    return null; 
+  };
+
+  xbGetElementsByName = 
+  function (name, windowRef) 
+  { 
+    return new Array(); 
+  };
+}
+
+function xbGetPageScrollX(windowRef)
+{
+  if (!windowRef) 
+  {
+    windowRef = window; 
+  }
+
+  if (typeof(windowRef.pageXOffset) == 'number')
+  {
+    return windowRef.pageXOffset;
+  }
+
+  if (typeof(windowRef.document.body && windowRef.document.body.scrollLeft) == 'number')
+  {
+    return windowRef.document.body.scrollLeft;
+  }
+
+  return 0;
+}
+
+function xbGetPageScrollY(windowRef)
+{
+  if (!windowRef) 
+  {
+    windowRef = window; 
+  }
+
+  if (typeof(windowRef.pageYOffset) == 'number')
+  {
+    return windowRef.pageYOffset;
+  }
+
+  if (typeof(windowRef.document.body && windowRef.document.body.scrollTop) == 'number')
+  {
+    return windowRef.document.body.scrollTop;
+  }
+
+  return 0;
+}
+
+if (document.layers)
+{
+  xbSetInnerHTML = 
+  function (element, str) 
+  { 
+    element.document.write(str); 
+    element.document.close(); 
+  };
+}
+else 
+{
+  xbSetInnerHTML = function (element, str) 
+  { 
+    if (typeof(element.innerHTML) != 'undefined') 
+    {
+      element.innerHTML = str; 
+    }
+  };
+}
+
+// eof: xbDOM.js

Added: trunk/docs/docbook/src/main/resources/slides/browser/xbDebug.js
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/xbDebug.js	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/xbDebug.js	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,311 @@
+/*
+ * xbDebug.js
+ * $Revision: 1.2 $ $Date: 2003/02/07 16:04:19 $
+ */
+
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Netscape code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2001
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s): Bob Clary <bclary at netscape.com>
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+/*
+ChangeLog:
+
+2002-02-25: bclary - modified xbDebugTraceOject to make sure 
+            that original versions of wrapped functions were not
+            rewrapped. This had caused an infinite loop in IE.
+
+2002-02-07: bclary - modified xbDebug.prototype.close to not null
+            the debug window reference. This can cause problems with
+	          Internet Explorer if the page is refreshed. These issues will
+	          be addressed at a later date.
+*/
+
+function xbDebug()
+{
+  this.on = false;
+  this.stack = new Array();
+  this.debugwindow = null;
+  this.execprofile = new Object();
+}
+
+xbDebug.prototype.push = function ()
+{
+  this.stack[this.stack.length] = this.on;
+  this.on = true;
+}
+
+xbDebug.prototype.pop = function ()
+{
+  this.on = this.stack[this.stack.length - 1];
+  --this.stack.length;
+}
+
+xbDebug.prototype.open =  function ()
+{
+  if (this.debugwindow && !this.debugwindow.closed)
+    this.close();
+    
+  this.debugwindow = window.open('about:blank', 'DEBUGWINDOW', 'height=400,width=600,resizable=yes,scrollbars=yes');
+  this.debugwindow.moveTo(0,0);
+  window.focus();
+
+  this.debugwindow.document.write('<html><head><title>xbDebug Window</title></head><body><h3>Javascript Debug Window</h3></body></html>');
+}
+
+xbDebug.prototype.close = function ()
+{
+  if (!this.debugwindow)
+    return;
+    
+  if (!this.debugwindow.closed)
+    this.debugwindow.close();
+
+  // bc 2002-02-07, other windows may still hold a reference to this: this.debugwindow = null;
+}
+
+xbDebug.prototype.dump = function (msg)
+{
+  if (!this.on)
+    return;
+    
+  if (!this.debugwindow || this.debugwindow.closed)
+    this.open();
+    
+  this.debugwindow.document.write(msg + '<br>');
+  
+  return;
+}
+
+var xbDEBUG = new xbDebug();
+
+window.onunload = function () { xbDEBUG.close(); }
+
+function xbDebugGetFunctionName(funcref)
+{
+
+  if (!funcref)
+  {
+    return '';
+  }
+
+  if (funcref.name)
+    return funcref.name;
+
+  var name = funcref + '';
+  name = name.substring(name.indexOf(' ') + 1, name.indexOf('('));
+  funcref.name = name;
+
+  if (!name) alert('name not defined');
+  return name;
+}
+
+
+// emulate functionref.apply for IE mac and IE win < 5.5
+function xbDebugApplyFunction(funcname, funcref, thisref, argumentsref)
+{
+  var rv;
+
+  if (!funcref)
+  {
+    alert('xbDebugApplyFunction: funcref is null');
+  }
+
+  if (typeof(funcref.apply) != 'undefined')
+      return funcref.apply(thisref, argumentsref);
+
+  var applyexpr = 'thisref.xbDebug_orig_' + funcname + '(';
+  var i;
+
+  for (i = 0; i < argumentsref.length; i++)
+  {
+    applyexpr += 'argumentsref[' + i + '],';
+  }
+
+  if (argumentsref.length > 0)
+  {
+    applyexpr = applyexpr.substring(0, applyexpr.length - 1);
+  }
+
+  applyexpr += ')';
+
+  return eval(applyexpr);
+}
+
+function xbDebugCreateFunctionWrapper(scopename, funcname, precall, postcall)
+{
+  var wrappedfunc;
+  var scopeobject = eval(scopename);
+  var funcref = scopeobject[funcname];
+
+  scopeobject['xbDebug_orig_' + funcname] = funcref;
+
+  wrappedfunc = function () 
+  {
+    var rv;
+
+    precall(scopename, funcname, arguments);
+    rv = xbDebugApplyFunction(funcname, funcref, scopeobject, arguments);
+    postcall(scopename, funcname, arguments, rv);
+    return rv;
+  };
+
+  if (typeof(funcref.constructor) != 'undefined')
+    wrappedfunc.constructor = funcref.constuctor;
+
+  if (typeof(funcref.prototype) != 'undefined')
+    wrappedfunc.prototype = funcref.prototype;
+
+  scopeobject[funcname] = wrappedfunc;
+}
+
+function xbDebugCreateMethodWrapper(contextname, classname, methodname, precall, postcall)
+{
+  var context = eval(contextname);
+  var methodref = context[classname].prototype[methodname];
+
+  context[classname].prototype['xbDebug_orig_' + methodname] = methodref;
+
+  var wrappedmethod = function () 
+  {
+    var rv;
+    // eval 'this' at method run time to pick up reference to the object's instance
+    var thisref = eval('this');
+    // eval 'arguments' at method run time to pick up method's arguments
+    var argsref = arguments;
+
+    precall(contextname + '.' + classname, methodname, argsref);
+    rv = xbDebugApplyFunction(methodname, methodref, thisref, argsref);
+    postcall(contextname + '.' + classname, methodname, argsref, rv);
+    return rv;
+  };
+
+  return wrappedmethod;
+}
+
+function xbDebugPersistToString(obj)
+{
+  var s = '';
+
+  if (obj == null)
+     return 'null';
+
+  switch(typeof(obj))
+  {
+    case 'number':
+       return obj;
+    case 'string':
+       return '"' + obj + '"';
+    case 'undefined':
+       return 'undefined';
+    case 'boolean':
+       return obj + '';
+  }
+
+  if (obj.constructor)
+    return '[' + xbDebugGetFunctionName(obj.constructor) + ']';
+
+  return null;
+}
+
+function xbDebugTraceBefore(scopename, funcname, funcarguments) 
+{
+  var i;
+  var s = '';
+  var execprofile = xbDEBUG.execprofile[scopename + '.' + funcname];
+  if (!execprofile)
+    execprofile = xbDEBUG.execprofile[scopename + '.' + funcname] = { started: 0, time: 0, count: 0 };
+
+  for (i = 0; i < funcarguments.length; i++)
+  {
+    s += xbDebugPersistToString(funcarguments[i]);
+    if (i < funcarguments.length - 1)
+      s += ', ';
+  }
+
+  xbDEBUG.dump('enter ' + scopename + '.' + funcname + '(' + s + ')');
+  execprofile.started = (new Date()).getTime();
+}
+
+function xbDebugTraceAfter(scopename, funcname, funcarguments, rv) 
+{
+  var i;
+  var s = '';
+  var execprofile = xbDEBUG.execprofile[scopename + '.' + funcname];
+  if (!execprofile)
+    xbDEBUG.dump('xbDebugTraceAfter: execprofile not created for ' + scopename + '.' + funcname);
+  else if (execprofile.started == 0)
+    xbDEBUG.dump('xbDebugTraceAfter: execprofile.started == 0 for ' + scopename + '.' + funcname);
+  else 
+  {
+    execprofile.time += (new Date()).getTime() - execprofile.started;
+    execprofile.count++;
+    execprofile.started = 0;
+  }
+
+  for (i = 0; i < funcarguments.length; i++)
+  {
+    s += xbDebugPersistToString(funcarguments[i]);
+    if (i < funcarguments.length - 1)
+      s += ', ';
+  }
+
+  xbDEBUG.dump('exit  ' + scopename + '.' + funcname + '(' + s + ')==' + xbDebugPersistToString(rv));
+}
+
+function xbDebugTraceFunction(scopename, funcname)
+{
+  xbDebugCreateFunctionWrapper(scopename, funcname, xbDebugTraceBefore, xbDebugTraceAfter);
+}
+
+function xbDebugTraceObject(contextname, classname)
+{
+  var classref = eval(contextname + '.' + classname);
+  var p;
+  var sp;
+
+  if (!classref || !classref.prototype)
+     return;
+
+  for (p in classref.prototype)
+  {
+    sp = p + '';
+    if (typeof(classref.prototype[sp]) == 'function' && (sp).indexOf('xbDebug_orig') == -1)
+    {
+      classref.prototype[sp] = xbDebugCreateMethodWrapper(contextname, classname, sp, xbDebugTraceBefore, xbDebugTraceAfter);
+    }
+  }
+}
+
+function xbDebugDumpProfile()
+{
+  var p;
+  var execprofile;
+  var avg;
+
+  for (p in xbDEBUG.execprofile)
+  {
+    execprofile = xbDEBUG.execprofile[p];
+    avg = Math.round ( 100 * execprofile.time/execprofile.count) /100;
+    xbDEBUG.dump('Execution profile ' + p + ' called ' + execprofile.count + ' times. Total time=' + execprofile.time + 'ms. Avg Time=' + avg + 'ms.');
+  }
+}

Added: trunk/docs/docbook/src/main/resources/slides/browser/xbLibrary.js
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/xbLibrary.js	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/xbLibrary.js	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,80 @@
+/*
+ * xbLibrary.js
+ * $Revision: 1.3 $ $Date: 2003/03/17 03:44:20 $
+ */
+
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Bob Clary code.
+ *
+ * The Initial Developer of the Original Code is
+ * Bob Clary.
+ * Portions created by the Initial Developer are Copyright (C) 2000
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s): Bob Clary <bc at bclary.com>
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+if (!document.getElementById || navigator.userAgent.indexOf('Opera') != -1)
+{
+  // assign error handler for downlevel browsers
+  // Note until Opera improves it's overall support
+  // for JavaScript and the DOM, it must be considered downlevel
+
+  window.onerror = defaultOnError;
+  
+  function defaultOnError(msg, url, line)
+  {
+    // handle bug in NS6.1, N6.2
+    // where an Event is passed to error handlers
+    if (typeof(msg) != 'string')
+    {
+        msg = 'unknown error';
+    }
+    if (typeof(url) != 'string')
+    {
+        url = document.location;
+    }
+
+    alert('An error has occurred at ' + url + ', line ' + line + ': ' + msg);
+  }
+}
+
+function xbLibrary(path)
+{
+  if (path.charAt(path.length-1) == '/')
+  {
+    path = path.substr(0, path.length-1)
+  }
+  this.path = path;
+}
+
+// dynamically loaded scripts
+//
+// it is an error to reference anything from the dynamically loaded file inside the
+// same script block.  This means that a file can not check its dependencies and
+// load the files for it's own use.  someone else must do this.  
+  
+xbLibrary.prototype.loadScript = 
+function (scriptName)
+{
+  document.write('<script language="javascript" src="' + this.path + '/' + scriptName + '"><\/script>');
+};
+
+// default xbLibrary
+
+xblibrary = new xbLibrary('./');
+
+

Added: trunk/docs/docbook/src/main/resources/slides/browser/xbStyle-css.js
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/xbStyle-css.js	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/xbStyle-css.js	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,791 @@
+/*
+ * xbStyle-css.js
+ * $Revision: 1.2 $ $Date: 2003/02/07 16:04:21 $
+ *
+ */
+
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Netscape code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2001
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s): Bob Clary <bclary at netscape.com>
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+// xbStyle.getClip()
+
+function cssStyleGetClip()
+{
+  var clip = this.getEffectiveValue('clip');
+
+  // hack opera
+  if (clip == 'rect()')
+    clip = '';
+
+  if (clip == '' || clip == 'auto')
+  {
+    clip = 'rect(0px, ' + this.getWidth() + 'px, ' + this.getHeight() + 'px, 0px)';
+  }
+  else
+  { 
+    clip = clip.replace(/px /g, 'px, ');
+  }
+
+  return clip;
+}
+
+// xbStyle.setClip()
+
+function cssStyleSetClip(sClipString)
+{
+  this.styleObj.clip = sClipString;
+}
+
+// xbStyle.getClipTop()
+
+function cssStyleGetClipTop()
+{
+  var clip = this.getClip();
+  var rect = new xbClipRect(clip);
+  return rect.top;
+}
+
+// xbStyle.setClipTop()
+
+function cssStyleSetClipTop(top)
+{
+  var clip = this.getClip();
+  var rect         = new xbClipRect(clip);
+  rect.top         = top;
+  this.styleObj.clip = rect.toString();
+}
+
+// xbStyle.getClipRight()
+
+function cssStyleGetClipRight()
+{
+  var clip = this.getClip();
+  var rect = new xbClipRect(clip);
+  return rect.right;
+}
+
+// xbStyle.setClipRight()
+
+function cssStyleSetClipRight(right)
+{
+  var clip = this.getClip();
+  var rect          = new xbClipRect(clip);
+  rect.right        = right;
+  this.styleObj.clip  = rect.toString();
+}
+
+// xbStyle.getClipBottom()
+
+function cssStyleGetClipBottom()
+{
+  var clip = this.getClip();
+  var rect = new xbClipRect(clip);
+  return rect.bottom;
+}
+
+// xbStyle.setClipBottom()
+
+function cssStyleSetClipBottom(bottom)
+{
+  var clip = this.getClip();
+  var rect           = new xbClipRect(clip);
+  rect.bottom        = bottom;
+  this.styleObj.clip   = rect.toString();
+}
+
+// xbStyle.getClipLeft()
+
+function cssStyleGetClipLeft()
+{
+  var clip = this.getClip();
+  var rect = new xbClipRect(clip);
+  return rect.left;
+}
+
+// xbStyle.setClipLeft()
+
+function cssStyleSetClipLeft(left)
+{
+  var clip = this.getClip();
+  var rect = new xbClipRect(clip);
+  rect.left = left;
+  this.styleObj.clip = rect.toString();
+}
+
+// xbStyle.getClipWidth()
+
+function cssStyleGetClipWidth()
+{
+  var clip = this.getClip();
+  var rect = new xbClipRect(clip);
+  return rect.getWidth();
+}
+
+// xbStyle.setClipWidth()
+
+function cssStyleSetClipWidth(width)
+{
+  var clip = this.getClip();
+  var rect = new xbClipRect(clip);
+  rect.setWidth(width);
+  this.styleObj.clip = rect.toString();
+}
+
+// xbStyle.getClipHeight()
+
+function cssStyleGetClipHeight()
+{
+  var clip = this.getClip();
+  var rect = new xbClipRect(clip);
+  return rect.getHeight();
+}
+
+// xbStyle.setClipHeight()
+
+function cssStyleSetClipHeight(height)
+{
+  var clip = this.getClip();
+  var rect = new xbClipRect(clip);
+  rect.setHeight(height);
+  this.styleObj.clip = rect.toString();
+}
+
+// the CSS attributes left,top are for absolutely positioned elements
+// measured relative to the containing element.  for relatively positioned
+// elements, left,top are measured from the element's normal inline position.
+// getLeft(), setLeft() operate on this type of coordinate.
+//
+// to allow dynamic positioning the getOffsetXXX and setOffsetXXX methods are
+// defined to return and set the position of either an absolutely or relatively
+// positioned element relative to the containing element.
+//
+//
+
+// xbStyle.getLeft()
+
+function cssStyleGetLeft()
+{
+  var left = this.getEffectiveValue('left');
+  if (typeof(left) == 'number')
+     return left;
+
+  if (left != '' && left.indexOf('px') == -1)
+  {
+    xbDEBUG.dump('xbStyle.getLeft: Element ID=' + this.object.id + ' does not use pixels as units. left=' + left + ' Click Ok to continue, Cancel to Abort');
+    return 0;
+  }
+
+  if (top == 'auto' && this.object && typeof(this.object.offsetTop) == 'number')
+  {
+    left = this.object.offsetTop + 'px';
+  }
+
+  if (left == '')
+    left = '0px';
+      
+  return xbToInt(left);
+}
+
+// xbStyle.setLeft()
+
+function cssStyleSetLeft(left)
+{
+  if (typeof(this.styleObj.left) == 'number')
+    this.styleObj.left = left;
+  else
+    this.styleObj.left = left + 'px';
+}
+
+// xbStyle.getTop()
+
+function cssStyleGetTop()
+{
+  var top = this.getEffectiveValue('top');
+  if (typeof(top) == 'number')
+     return top;
+
+  if (top != '' && top.indexOf('px') == -1)
+  {
+    xbDEBUG.dump('xbStyle.getTop: Element ID=' + this.object.id + ' does not use pixels as units. top=' + top + ' Click Ok to continue, Cancel to Abort');
+    return 0;
+  }
+
+  if (top == 'auto' && this.object && typeof(this.object.offsetTop) == 'number')
+  {
+    top = this.object.offsetTop + 'px';
+  }
+
+  if (top == '')
+    top = '0px';
+      
+  return xbToInt(top);
+}
+
+// xbStyle.setTop()
+
+function cssStyleSetTop(top)
+{
+  if (typeof(this.styleObj.top) == 'number')
+    this.styleObj.top = top;
+  else
+    this.styleObj.top = top + 'px';
+}
+
+// xbStyle.getPageX()
+
+function cssStyleGetPageX()
+{
+  var x = 0;
+  var elm = this.object;
+  var elmstyle;
+  var position;
+  
+  //xxxHack: Due to limitations in Gecko's (0.9.6) ability to determine the 
+  // effective position attribute , attempt to use offsetXXX
+
+  if (typeof(elm.offsetLeft) == 'number')
+  {
+    while (elm)
+    {
+      x += elm.offsetLeft;
+      elm = elm.offsetParent;
+    }
+  }
+  else
+  {
+    while (elm)
+    {
+      if (elm.style)
+      {
+        elmstyle = new xbStyle(elm);
+        position = elmstyle.getEffectiveValue('position');
+        if (position != '' && position != 'static')
+          x += elmstyle.getLeft();
+      }
+      elm = elm.parentNode;
+    }
+  }
+  
+  return x;
+}
+
+// xbStyle.setPageX()
+
+function cssStyleSetPageX(x)
+{
+  var xParent = 0;
+  var elm = this.object.parentNode;
+  var elmstyle;
+  var position;
+  
+  //xxxHack: Due to limitations in Gecko's (0.9.6) ability to determine the 
+  // effective position attribute , attempt to use offsetXXX
+
+  if (elm && typeof(elm.offsetLeft) == 'number')
+  {
+    while (elm)
+    {
+      xParent += elm.offsetLeft;
+      elm = elm.offsetParent;
+    }
+  }
+  else
+  {
+    while (elm)
+    {
+      if (elm.style)
+      {
+        elmstyle = new xbStyle(elm);
+        position = elmstyle.getEffectiveValue('position');
+        if (position != '' && position != 'static')
+          xParent += elmstyle.getLeft();
+      }
+      elm = elm.parentNode;
+    }
+  }
+  
+  x -= xParent;
+
+  this.setLeft(x);
+}
+    
+// xbStyle.getPageY()
+
+function cssStyleGetPageY()
+{
+  var y = 0;
+  var elm = this.object;
+  var elmstyle;
+  var position;
+  
+  //xxxHack: Due to limitations in Gecko's (0.9.6) ability to determine the 
+  // effective position attribute , attempt to use offsetXXX
+
+  if (typeof(elm.offsetTop) == 'number')
+  {
+    while (elm)
+    {
+      y += elm.offsetTop;
+      elm = elm.offsetParent;
+    }
+  }
+  else
+  {
+    while (elm)
+    {
+      if (elm.style)
+      {
+        elmstyle = new xbStyle(elm);
+        position = elmstyle.getEffectiveValue('position');
+        if (position != '' && position != 'static')
+          y += elmstyle.getTop();
+      }
+      elm = elm.parentNode;
+    }
+  }
+  
+  return y;
+}
+
+// xbStyle.setPageY()
+
+function cssStyleSetPageY(y)
+{
+  var yParent = 0;
+  var elm = this.object.parentNode;
+  var elmstyle;
+  var position;
+  
+  //xxxHack: Due to limitations in Gecko's (0.9.6) ability to determine the 
+  // effective position attribute , attempt to use offsetXXX
+
+  if (elm && typeof(elm.offsetTop) == 'number')
+  {
+    while (elm)
+    {
+      yParent += elm.offsetTop;
+      elm = elm.offsetParent;
+    }
+  }
+  else
+  {
+    while (elm)
+    {
+      if (elm.style)
+      {
+        elmstyle = new xbStyle(elm);
+        position = elmstyle.getEffectiveValue('position');
+        if (position != '' && position != 'static')
+          yParent += elmstyle.getTop();
+      }
+      elm = elm.parentNode;
+    }
+  }
+  
+  y -= yParent;
+
+  this.setTop(y);
+}
+    
+// xbStyle.getHeight()
+
+function cssStyleGetHeight()
+{
+  var display = this.getEffectiveValue('display');
+  var height = this.getEffectiveValue('height');
+
+  if (typeof(height) == 'number')
+  {
+     // Opera
+     return height;
+  }
+
+  if (height == '' || height == 'auto' || height.indexOf('%') != -1)
+  {
+    if (typeof(this.object.offsetHeight) == 'number')
+    {
+      height = this.object.offsetHeight + 'px';
+    }
+    else if (typeof(this.object.scrollHeight) == 'number')
+    {
+      height = this.object.scrollHeight + 'px';
+    }
+  }
+
+  if (height.indexOf('px') == -1)
+  {
+    xbDEBUG.dump('xbStyle.getHeight: Element ID=' + this.object.id + ' does not use pixels as units. height=' + height + ' Click Ok to continue, Cancel to Abort');
+    return 0;
+  }
+
+  height = xbToInt(height);
+
+  return height;
+}
+
+// xbStyle.setHeight()
+
+function cssStyleSetHeight(height)
+{
+  if (typeof(this.styleObj.height) == 'number')
+    this.styleObj.height = height;
+  else
+    this.styleObj.height = height + 'px';
+}
+
+// xbStyle.getWidth()
+
+function cssStyleGetWidth()
+{
+  var display = this.getEffectiveValue('display');
+  var width = this.getEffectiveValue('width');
+
+  if (typeof(width) == 'number')
+  {
+     // note Opera 6 has a bug in width and offsetWidth where 
+     // it returns the page width. Use clientWidth instead.
+     if (navigator.userAgent.indexOf('Opera') != -1)
+       return this.object.clientWidth;
+     else
+       return width;
+  }
+
+  if (width == '' || width == 'auto' || width.indexOf('%') != -1)
+  {
+    if (typeof(this.object.offsetWidth) == 'number')
+    {
+      width = this.object.offsetWidth + 'px';
+    }
+    else if (typeof(this.object.scrollHeight) == 'number')
+    {
+      width = this.object.scrollWidth + 'px';
+    }
+  }
+
+  if (width.indexOf('px') == -1)
+  {
+    xbDEBUG.dump('xbStyle.getWidth: Element ID=' + this.object.id + ' does not use pixels as units. width=' + width + ' Click Ok to continue, Cancel to Abort');
+    return 0;
+  }
+
+  width = xbToInt(width);
+
+  return width;
+}
+
+// xbStyle.setWidth()
+
+function cssStyleSetWidth(width)
+{
+  if (typeof(this.styleObj.width) == 'number')
+    this.styleObj.width = width;
+  else
+    this.styleObj.width = width + 'px';
+}
+
+// xbStyle.getVisibility()
+
+function cssStyleGetVisibility()
+{
+  return this.getEffectiveValue('visibility');
+}
+
+// xbStyle.setVisibility()
+
+function cssStyleSetVisibility(visibility)
+{
+  this.styleObj.visibility = visibility;
+}
+
+// xbStyle.getzIndex()
+
+function cssStyleGetzIndex()
+{
+  return xbToInt(this.getEffectiveValue('zIndex'));
+}
+
+// xbStyle.setzIndex()
+
+function cssStyleSetzIndex(zIndex)
+{
+  this.styleObj.zIndex = zIndex;
+}
+
+// xbStyle.getBackgroundColor()
+
+function cssStyleGetBackgroundColor()
+{
+  return this.getEffectiveValue('backgroundColor');
+}
+
+// xbStyle.setBackgroundColor()
+
+function cssStyleSetBackgroundColor(color)
+{
+  this.styleObj.backgroundColor = color;
+}
+
+// xbStyle.getColor()
+
+function cssStyleGetColor()
+{
+  return this.getEffectiveValue('color');
+}
+
+// xbStyle.setColor()
+
+function cssStyleSetColor(color)
+{
+  this.styleObj.color = color;
+}
+
+// xbStyle.moveAbove()
+
+function xbStyleMoveAbove(cont)
+{
+  this.setzIndex(cont.getzIndex()+1);
+}
+
+// xbStyle.moveBelow()
+
+function xbStyleMoveBelow(cont)
+{
+  var zindex = cont.getzIndex() - 1;
+            
+  this.setzIndex(zindex);
+}
+
+// xbStyle.moveBy()
+
+function xbStyleMoveBy(deltaX, deltaY)
+{
+  this.moveTo(this.getLeft() + deltaX, this.getTop() + deltaY);
+}
+
+// xbStyle.moveTo()
+
+function xbStyleMoveTo(x, y)
+{
+  this.setLeft(x);
+  this.setTop(y);
+}
+
+// xbStyle.moveToAbsolute()
+
+function xbStyleMoveToAbsolute(x, y)
+{
+  this.setPageX(x);
+  this.setPageY(y);
+}
+
+// xbStyle.resizeBy()
+
+function xbStyleResizeBy(deltaX, deltaY)
+{
+  this.setWidth( this.getWidth() + deltaX );
+  this.setHeight( this.getHeight() + deltaY );
+}
+
+// xbStyle.resizeTo()
+
+function xbStyleResizeTo(x, y)
+{
+  this.setWidth(x);
+  this.setHeight(y);
+}
+
+// xbStyle.setInnerHTML()
+
+function xbSetInnerHTML(str)
+{
+  if (typeof(this.object.innerHTML) != 'undefined')
+    this.object.innerHTML = str;
+}
+
+
+// Extensions to xbStyle that are not supported by Netscape Navigator 4
+// but that provide cross browser implementations of properties for 
+// Mozilla, Gecko, Netscape 6.x and Opera
+
+// xbStyle.getBorderTopWidth()
+
+function cssStyleGetBorderTopWidth()
+{
+  return xbToInt(this.getEffectiveValue('borderTopWidth'));
+}
+
+// xbStyle.getBorderRightWidth()
+
+function cssStyleGetBorderRightWidth()
+{
+  return xbToInt(this.getEffectiveValue('borderRightWidth'));
+}
+
+// xbStyle.getBorderBottomWidth()
+
+function cssStyleGetBorderBottomWidth()
+{
+  return xbToInt(this.getEffectiveValue('borderBottomWidth'));
+}
+
+// xbStyle.getBorderLeftWidth()
+
+function cssStyleGetBorderLeftWidth()
+{
+  return xbToInt(this.getEffectiveValue('borderLeftWidth'));
+}
+
+// xbStyle.getMarginTop()
+
+function cssStyleGetMarginTop()
+{
+  return xbToInt(this.getEffectiveValue('marginTop'));
+}
+
+// xbStyle.getMarginRight()
+
+function cssStyleGetMarginRight()
+{
+  return xbToInt(this.getEffectiveValue('marginRight'));
+}
+
+// xbStyle.getMarginBottom()
+
+function cssStyleGetMarginBottom()
+{
+  return xbToInt(this.getEffectiveValue('marginBottom'));
+}
+
+// xbStyle.getMarginLeft()
+
+function cssStyleGetMarginLeft()
+{
+  return xbToInt(this.getEffectiveValue('marginLeft'));
+}
+
+// xbStyle.getPaddingTop()
+
+function cssStyleGetPaddingTop()
+{
+  return xbToInt(this.getEffectiveValue('paddingTop'));
+}
+
+// xbStyle.getPaddingRight()
+
+function cssStyleGetPaddingRight()
+{
+  return xbToInt(this.getEffectiveValue('paddingRight'));
+}
+
+// xbStyle.getPaddingBottom()
+
+function cssStyleGetPaddingBottom()
+{
+  return xbToInt(this.getEffectiveValue('paddingBottom'));
+}
+
+// xbStyle.getPaddingLeft()
+
+function cssStyleGetPaddingLeft()
+{
+  return xbToInt(this.getEffectiveValue('paddingLeft'));
+}
+
+// xbStyle.getClientWidth()
+
+function cssStyleGetClientWidth()
+{
+  return this.getWidth() + this.getPaddingLeft() + this.getPaddingRight();
+  /*
+  if (typeof(this.object.clientWidth) == 'number')
+    return this.object.clientWidth;
+
+  return null;
+    */
+}
+
+// xbStyle.getClientHeight()
+
+function cssStyleGetClientHeight()
+{
+  return this.getHeight() + this.getPaddingTop() + this.getPaddingBottom();
+  /*
+  if (typeof(this.object.clientHeight) == 'number')
+    return this.object.clientHeight;
+
+  return null;
+  */
+}
+
+xbStyle.prototype.getClip            = cssStyleGetClip;
+xbStyle.prototype.setClip            = cssStyleSetClip;  
+xbStyle.prototype.getClipTop         = cssStyleGetClipTop;
+xbStyle.prototype.setClipTop         = cssStyleSetClipTop;  
+xbStyle.prototype.getClipRight       = cssStyleGetClipRight;
+xbStyle.prototype.setClipRight       = cssStyleSetClipRight;  
+xbStyle.prototype.getClipBottom      = cssStyleGetClipBottom;
+xbStyle.prototype.setClipBottom      = cssStyleSetClipBottom;  
+xbStyle.prototype.getClipLeft        = cssStyleGetClipLeft;
+xbStyle.prototype.setClipLeft        = cssStyleSetClipLeft;  
+xbStyle.prototype.getClipWidth       = cssStyleGetClipWidth;
+xbStyle.prototype.setClipWidth       = cssStyleSetClipWidth;  
+xbStyle.prototype.getClipHeight      = cssStyleGetClipHeight;
+xbStyle.prototype.setClipHeight      = cssStyleSetClipHeight;  
+xbStyle.prototype.getLeft            = cssStyleGetLeft;
+xbStyle.prototype.setLeft            = cssStyleSetLeft;
+xbStyle.prototype.getTop             = cssStyleGetTop;
+xbStyle.prototype.setTop             = cssStyleSetTop;
+xbStyle.prototype.getPageX           = cssStyleGetPageX;
+xbStyle.prototype.setPageX           = cssStyleSetPageX;
+xbStyle.prototype.getPageY           = cssStyleGetPageY;
+xbStyle.prototype.setPageY           = cssStyleSetPageY;
+xbStyle.prototype.getVisibility      = cssStyleGetVisibility;
+xbStyle.prototype.setVisibility      = cssStyleSetVisibility;
+xbStyle.prototype.getzIndex          = cssStyleGetzIndex;
+xbStyle.prototype.setzIndex          = cssStyleSetzIndex;            
+xbStyle.prototype.getHeight          = cssStyleGetHeight;
+xbStyle.prototype.setHeight          = cssStyleSetHeight;
+xbStyle.prototype.getWidth           = cssStyleGetWidth;
+xbStyle.prototype.setWidth           = cssStyleSetWidth;
+xbStyle.prototype.getBackgroundColor = cssStyleGetBackgroundColor;
+xbStyle.prototype.setBackgroundColor = cssStyleSetBackgroundColor;
+xbStyle.prototype.getColor           = cssStyleGetColor;
+xbStyle.prototype.setColor           = cssStyleSetColor;
+xbStyle.prototype.setInnerHTML       = xbSetInnerHTML;
+xbStyle.prototype.getBorderTopWidth    = cssStyleGetBorderTopWidth;
+xbStyle.prototype.getBorderRightWidth  = cssStyleGetBorderRightWidth;
+xbStyle.prototype.getBorderBottomWidth = cssStyleGetBorderBottomWidth;
+xbStyle.prototype.getBorderLeftWidth   = cssStyleGetBorderLeftWidth;
+xbStyle.prototype.getMarginLeft        = cssStyleGetMarginLeft;
+xbStyle.prototype.getMarginTop         = cssStyleGetMarginTop;
+xbStyle.prototype.getMarginRight       = cssStyleGetMarginRight;
+xbStyle.prototype.getMarginBottom      = cssStyleGetMarginBottom;
+xbStyle.prototype.getMarginLeft        = cssStyleGetMarginLeft;
+xbStyle.prototype.getPaddingTop        = cssStyleGetPaddingTop;
+xbStyle.prototype.getPaddingRight      = cssStyleGetPaddingRight;
+xbStyle.prototype.getPaddingBottom     = cssStyleGetPaddingBottom;
+xbStyle.prototype.getPaddingLeft       = cssStyleGetPaddingLeft;
+xbStyle.prototype.getClientWidth       = cssStyleGetClientWidth;
+xbStyle.prototype.getClientHeight      = cssStyleGetClientHeight;
+

Added: trunk/docs/docbook/src/main/resources/slides/browser/xbStyle-nn4.js
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/xbStyle-nn4.js	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/xbStyle-nn4.js	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,485 @@
+/*
+ * xbStyle-nn4.js
+ * $Revision: 1.2 $ $Date: 2003/02/07 16:04:22 $
+ */
+
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Netscape code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2001
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s): Bob Clary <bclary at netscape.com>
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+/////////////////////////////////////////////////////////////
+// xbStyle.getClip()
+
+function nsxbStyleGetClip()
+{
+  var clip = this.styleObj.clip;
+  var rect = new xbClipRect(clip.top, clip.right, clip.bottom, clip.left);
+  return rect.toString();
+}
+
+/////////////////////////////////////////////////////////////
+// xbStyle.setClip()
+
+function nsxbStyleSetClip(sClipString)
+{
+  var rect          = new xbClipRect(sClipString);
+  this.styleObj.clip.top    = rect.top;
+  this.styleObj.clip.right  = rect.right;
+  this.styleObj.clip.bottom  = rect.bottom;
+  this.styleObj.clip.left    = rect.left;
+}
+
+/////////////////////////////////////////////////////////////
+// xbStyle.getClipTop()
+
+function nsxbStyleGetClipTop()
+{
+  return this.styleObj.clip.top;
+}
+
+/////////////////////////////////////////////////////////////
+// xbStyle.setClipTop()
+
+function nsxbStyleSetClipTop(top)
+{
+  return this.styleObj.clip.top = top;
+}
+
+/////////////////////////////////////////////////////////////
+// xbStyle.getClipRight()
+
+function nsxbStyleGetClipRight()
+{
+  return this.styleObj.clip.right;
+}
+
+/////////////////////////////////////////////////////////////
+// xbStyle.setClipRight()
+
+function nsxbStyleSetClipRight(right)
+{
+  return this.styleObj.clip.right = right;
+}
+
+/////////////////////////////////////////////////////////////
+// xbStyle.getClipBottom()
+
+function nsxbStyleGetClipBottom()
+{
+  return this.styleObj.clip.bottom;
+}
+
+/////////////////////////////////////////////////////////////
+// xbStyle.setClipBottom()
+
+function nsxbStyleSetClipBottom(bottom)
+{
+  return this.styleObj.clip.bottom = bottom;
+}
+
+/////////////////////////////////////////////////////////////
+// xbStyle.getClipLeft()
+
+function nsxbStyleGetClipLeft()
+{
+  return this.styleObj.clip.left;
+}
+
+/////////////////////////////////////////////////////////////
+// xbStyle.setClipLeft()
+
+function nsxbStyleSetClipLeft(left)
+{
+  return this.styleObj.clip.left = left;
+}
+
+/////////////////////////////////////////////////////////////
+// xbStyle.getClipWidth()
+
+function nsxbStyleGetClipWidth()
+{
+  return this.styleObj.clip.width;
+}
+
+/////////////////////////////////////////////////////////////
+// xbStyle.setClipWidth()
+
+function nsxbStyleSetClipWidth(width)
+{
+  return this.styleObj.clip.width = width;
+}
+
+/////////////////////////////////////////////////////////////
+// xbStyle.getClipHeight()
+
+function nsxbStyleGetClipHeight()
+{
+  return this.styleObj.clip.height;
+}
+
+/////////////////////////////////////////////////////////////
+// xbStyle.setClipHeight()
+
+function nsxbStyleSetClipHeight(height)
+{
+  return this.styleObj.clip.height = height;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.getLeft()
+
+function nsxbStyleGetLeft()
+{
+  return this.styleObj.left;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.setLeft()
+
+function nsxbStyleSetLeft(left)
+{
+  this.styleObj.left = left;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.getTop()
+
+function nsxbStyleGetTop()
+{
+  return this.styleObj.top;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.setTop()
+
+function nsxbStyleSetTop(top)
+{
+  this.styleObj.top = top;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.getPageX()
+
+function nsxbStyleGetPageX()
+{
+  return this.styleObj.pageX;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.setPageX()
+
+function nsxbStyleSetPageX(x)
+{
+  this.styleObj.x = this.styleObj.x  + x - this.styleObj.pageX;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.getPageY()
+
+
+function nsxbStyleGetPageY()
+{
+  return this.styleObj.pageY;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.setPageY()
+
+function nsxbStyleSetPageY(y)
+{
+  this.styleObj.y = this.styleObj.y  + y - this.styleObj.pageY;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.getHeight()
+
+function nsxbStyleGetHeight()
+{
+  //if (this.styleObj.document && this.styleObj.document.height)
+  //  return this.styleObj.document.height;
+    
+  return this.styleObj.clip.height;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.setHeight()
+
+function nsxbStyleSetHeight(height)
+{
+  this.styleObj.clip.height = height;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.getWidth()
+
+function nsxbStyleGetWidth()
+{
+  //if (this.styleObj.document && this.styleObj.document.width)
+  //  return this.styleObj.document.width;
+    
+  return this.styleObj.clip.width;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.setWidth()
+
+// netscape will not dynamically change the width of a 
+// layer. It will only happen upon a refresh.
+function nsxbStyleSetWidth(width)
+{
+  this.styleObj.clip.width = width;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.getVisibility()
+
+function nsxbStyleGetVisibility()
+{
+  switch(this.styleObj.visibility)
+  {
+  case 'hide':
+    return 'hidden';
+  case 'show':
+    return 'visible';
+  }
+  return '';
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.setVisibility()
+
+function nsxbStyleSetVisibility(visibility)
+{
+  switch(visibility)
+  {
+  case 'hidden':
+    visibility = 'hide';
+    break;
+  case 'visible':
+    visibility = 'show';
+    break;
+  case 'inherit':
+    break;
+  default:
+    visibility = 'show';
+    break;
+  }
+  this.styleObj.visibility = visibility;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.getzIndex()
+
+function nsxbStyleGetzIndex()
+{
+  return this.styleObj.zIndex;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.setzIndex()
+
+function nsxbStyleSetzIndex(zIndex)
+{
+  this.styleObj.zIndex = zIndex;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.getBackgroundColor()
+
+function nsxbStyleGetBackgroundColor()
+{
+  return this.styleObj.bgColor;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.setBackgroundColor()
+
+function nsxbStyleSetBackgroundColor(color)
+{
+  if (color)
+  {
+    this.styleObj.bgColor = color;
+    this.object.document.bgColor = color;
+    this.resizeTo(this.getWidth(), this.getHeight());
+  }
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.getColor()
+
+function nsxbStyleGetColor()
+{
+  return '#ffffff';
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.setColor()
+
+function nsxbStyleSetColor(color)
+{
+  this.object.document.fgColor = color;
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.moveAbove()
+
+function xbStyleMoveAbove(cont)
+{
+  this.setzIndex(cont.getzIndex()+1);
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.moveBelow()
+
+function xbStyleMoveBelow(cont)
+{
+  var zindex = cont.getzIndex() - 1;
+            
+  this.setzIndex(zindex);
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.moveBy()
+
+function xbStyleMoveBy(deltaX, deltaY)
+{
+  this.moveTo(this.getLeft() + deltaX, this.getTop() + deltaY);
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.moveTo()
+
+function xbStyleMoveTo(x, y)
+{
+  this.setLeft(x);
+  this.setTop(y);
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.moveToAbsolute()
+
+function xbStyleMoveToAbsolute(x, y)
+{
+  this.setPageX(x);
+  this.setPageY(y);
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.resizeBy()
+
+function xbStyleResizeBy(deltaX, deltaY)
+{
+  this.setWidth( this.getWidth() + deltaX );
+  this.setHeight( this.getHeight() + deltaY );
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.resizeTo()
+
+function xbStyleResizeTo(x, y)
+{
+  this.setWidth(x);
+  this.setHeight(y);
+}
+
+////////////////////////////////////////////////////////////////////////
+// Navigator 4.x resizing...
+
+function nsxbStyleOnresize()
+{
+    if (saveInnerWidth != xbGetWindowWidth() || saveInnerHeight != xbGetWindowHeight())
+    location.reload();
+
+  return false;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.setInnerHTML()
+
+function nsxbSetInnerHTML(str)
+{
+  this.object.document.open('text/html');
+  this.object.document.write(str);
+  this.object.document.close();
+}
+
+xbStyle.prototype.getClip            = nsxbStyleGetClip;
+xbStyle.prototype.setClip            = nsxbStyleSetClip;  
+xbStyle.prototype.getClipTop         = nsxbStyleGetClipTop;
+xbStyle.prototype.setClipTop         = nsxbStyleSetClipTop;  
+xbStyle.prototype.getClipRight       = nsxbStyleGetClipRight;
+xbStyle.prototype.setClipRight       = nsxbStyleSetClipRight;  
+xbStyle.prototype.getClipBottom      = nsxbStyleGetClipBottom;
+xbStyle.prototype.setClipBottom      = nsxbStyleSetClipBottom;  
+xbStyle.prototype.getClipLeft        = nsxbStyleGetClipLeft;
+xbStyle.prototype.setClipLeft        = nsxbStyleSetClipLeft;  
+xbStyle.prototype.getClipWidth       = nsxbStyleGetClipWidth;
+xbStyle.prototype.setClipWidth       = nsxbStyleSetClipWidth;  
+xbStyle.prototype.getClipHeight      = nsxbStyleGetClipHeight;
+xbStyle.prototype.setClipHeight      = nsxbStyleSetClipHeight;  
+xbStyle.prototype.getLeft            = nsxbStyleGetLeft;
+xbStyle.prototype.setLeft            = nsxbStyleSetLeft;
+xbStyle.prototype.getTop             = nsxbStyleGetTop;
+xbStyle.prototype.setTop             = nsxbStyleSetTop;
+xbStyle.prototype.getPageX           = nsxbStyleGetPageX;
+xbStyle.prototype.setPageX           = nsxbStyleSetPageX;
+xbStyle.prototype.getPageY           = nsxbStyleGetPageY;
+xbStyle.prototype.setPageY           = nsxbStyleSetPageY;
+xbStyle.prototype.getVisibility      = nsxbStyleGetVisibility;
+xbStyle.prototype.setVisibility      = nsxbStyleSetVisibility;
+xbStyle.prototype.getzIndex          = nsxbStyleGetzIndex;
+xbStyle.prototype.setzIndex          = nsxbStyleSetzIndex;            
+xbStyle.prototype.getHeight          = nsxbStyleGetHeight;
+xbStyle.prototype.setHeight          = nsxbStyleSetHeight;
+xbStyle.prototype.getWidth           = nsxbStyleGetWidth;
+xbStyle.prototype.setWidth           = nsxbStyleSetWidth;
+xbStyle.prototype.getBackgroundColor = nsxbStyleGetBackgroundColor;
+xbStyle.prototype.setBackgroundColor = nsxbStyleSetBackgroundColor;
+xbStyle.prototype.getColor           = nsxbStyleGetColor;
+xbStyle.prototype.setColor           = nsxbStyleSetColor;
+xbStyle.prototype.setInnerHTML       = nsxbSetInnerHTML;
+xbStyle.prototype.getBorderTopWidth    = xbStyleNotSupported;
+xbStyle.prototype.getBorderRightWidth  = xbStyleNotSupported;
+xbStyle.prototype.getBorderBottomWidth = xbStyleNotSupported;
+xbStyle.prototype.getBorderLeftWidth   = xbStyleNotSupported;
+xbStyle.prototype.getMarginLeft        = xbStyleNotSupported;
+xbStyle.prototype.getMarginTop         = xbStyleNotSupported;
+xbStyle.prototype.getMarginRight       = xbStyleNotSupported;
+xbStyle.prototype.getMarginBottom      = xbStyleNotSupported;
+xbStyle.prototype.getMarginLeft        = xbStyleNotSupported;
+xbStyle.prototype.getPaddingTop        = xbStyleNotSupported;
+xbStyle.prototype.getPaddingRight      = xbStyleNotSupported;
+xbStyle.prototype.getPaddingBottom     = xbStyleNotSupported;
+xbStyle.prototype.getPaddingLeft       = xbStyleNotSupported;
+xbStyle.prototype.getClientWidth       = xbStyleNotSupported;
+xbStyle.prototype.getClientHeight      = xbStyleNotSupported;
+
+window.saveInnerWidth = window.innerWidth;
+window.saveInnerHeight = window.innerHeight;
+
+window.onresize = nsxbStyleOnresize;
+

Added: trunk/docs/docbook/src/main/resources/slides/browser/xbStyle-not-supported.js
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/xbStyle-not-supported.js	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/xbStyle-not-supported.js	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,77 @@
+/*
+ * xbStyle-not-supported.js
+ * $Revision: 1.2 $ $Date: 2003/02/07 16:04:22 $
+ */
+
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Netscape code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2001
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s): Bob Clary <bclary at netscape.com>
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+xbStyle.prototype.toString           = xbStyleNotSupported;
+xbStyle.prototype.getClip            = xbStyleNotSupported;
+xbStyle.prototype.setClip            = xbStyleNotSupported;
+xbStyle.prototype.getClipTop         = xbStyleNotSupported;
+xbStyle.prototype.setClipTop         = xbStyleNotSupported;
+xbStyle.prototype.getClipRight       = xbStyleNotSupported;
+xbStyle.prototype.setClipRight       = xbStyleNotSupported;
+xbStyle.prototype.getClipBottom      = xbStyleNotSupported;
+xbStyle.prototype.setClipBottom      = xbStyleNotSupported;
+xbStyle.prototype.getClipLeft        = xbStyleNotSupported;
+xbStyle.prototype.setClipLeft        = xbStyleNotSupported;
+xbStyle.prototype.getClipWidth       = xbStyleNotSupported;
+xbStyle.prototype.setClipWidth       = xbStyleNotSupported;
+xbStyle.prototype.getClipHeight      = xbStyleNotSupported;
+xbStyle.prototype.setClipHeight      = xbStyleNotSupported;
+xbStyle.prototype.getLeft            = xbStyleNotSupported;
+xbStyle.prototype.setLeft            = xbStyleNotSupported;
+xbStyle.prototype.getTop             = xbStyleNotSupported;
+xbStyle.prototype.setTop             = xbStyleNotSupported;
+xbStyle.prototype.getVisibility      = xbStyleNotSupported;
+xbStyle.prototype.setVisibility      = xbStyleNotSupported;
+xbStyle.prototype.getzIndex          = xbStyleNotSupported;
+xbStyle.prototype.setzIndex          = xbStyleNotSupported;
+xbStyle.prototype.getHeight          = xbStyleNotSupported;
+xbStyle.prototype.setHeight          = xbStyleNotSupported;
+xbStyle.prototype.getWidth           = xbStyleNotSupported;
+xbStyle.prototype.setWidth           = xbStyleNotSupported;
+xbStyle.prototype.getBackgroundColor = xbStyleNotSupported;
+xbStyle.prototype.setBackgroundColor = xbStyleNotSupported;
+xbStyle.prototype.getColor           = xbStyleNotSupported;
+xbStyle.prototype.setColor           = xbStyleNotSupported;
+xbStyle.prototype.setInnerHTML       = xbStyleNotSupported;
+xbStyle.prototype.getBorderTopWidth    = xbStyleNotSupported;
+xbStyle.prototype.getBorderRightWidth  = xbStyleNotSupported;
+xbStyle.prototype.getBorderBottomWidth = xbStyleNotSupported;
+xbStyle.prototype.getBorderLeftWidth   = xbStyleNotSupported;
+xbStyle.prototype.getMarginLeft        = xbStyleNotSupported;
+xbStyle.prototype.getMarginTop         = xbStyleNotSupported;
+xbStyle.prototype.getMarginRight       = xbStyleNotSupported;
+xbStyle.prototype.getMarginBottom      = xbStyleNotSupported;
+xbStyle.prototype.getMarginLeft        = xbStyleNotSupported;
+xbStyle.prototype.getPaddingTop        = xbStyleNotSupported;
+xbStyle.prototype.getPaddingRight      = xbStyleNotSupported;
+xbStyle.prototype.getPaddingBottom     = xbStyleNotSupported;
+xbStyle.prototype.getPaddingLeft       = xbStyleNotSupported;
+xbStyle.prototype.getClientWidth       = xbStyleNotSupported;
+xbStyle.prototype.getClientHeight      = xbStyleNotSupported;
+

Added: trunk/docs/docbook/src/main/resources/slides/browser/xbStyle.js
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/browser/xbStyle.js	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/browser/xbStyle.js	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,295 @@
+/*
+ * xbStyle.js
+ * $Revision: 1.2 $ $Date: 2003/02/07 16:04:22 $
+ */
+
+/* ***** BEGIN LICENSE BLOCK *****
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
+ *
+ * The contents of this file are subject to the Mozilla Public License Version
+ * 1.1 (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ * http://www.mozilla.org/MPL/
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the specific language governing rights and limitations under the
+ * License.
+ *
+ * The Original Code is Netscape code.
+ *
+ * The Initial Developer of the Original Code is
+ * Netscape Corporation.
+ * Portions created by the Initial Developer are Copyright (C) 2001
+ * the Initial Developer. All Rights Reserved.
+ *
+ * Contributor(s): Bob Clary <bclary at netscape.com>
+ *
+ * ***** END LICENSE BLOCK ***** */
+
+function xbStyleNotSupported() {}
+
+function xbStyleNotSupportStringValue(propname) { xbDEBUG.dump(propname + ' is not supported in this browser'); return '';};
+
+/////////////////////////////////////////////////////////////
+// xbClipRect
+
+function xbClipRect(a1, a2, a3, a4)
+{
+  this.top  = 0;
+  this.right  = 0;
+  this.bottom  = 0;
+  this.left  = 0;
+
+  if (typeof(a1) == 'string')
+  {
+    var val;
+    var ca;
+    var i;
+      
+    if (a1.indexOf('rect(') == 0)
+    {
+      // I would have preferred [0-9]+[a-zA-Z]+ for a regexp
+      // but NN4 returns null for that. 
+      ca = a1.substring(5, a1.length-1).match(/-?[0-9a-zA-Z]+/g);
+      for (i = 0; i < 4; ++i)
+      {
+        val = xbToInt(ca[i]);
+        if (val != 0 && ca[i].indexOf('px') == -1)
+        {
+          xbDEBUG.dump('xbClipRect: A clipping region ' + a1 + ' was detected that did not use pixels as units.  Click Ok to continue, Cancel to Abort');
+          return;
+        }
+        ca[i] = val;
+      }
+      this.top    = ca[0];
+      this.right  = ca[1];
+      this.bottom = ca[2];
+      this.left   = ca[3];
+    }
+  }    
+  else if (typeof(a1) == 'number' && typeof(a2) == 'number' && typeof(a3) == 'number' && typeof(a4) == 'number')
+  {
+    this.top    = a1;
+    this.right  = a2;
+    this.bottom = a3;
+    this.left   = a4;
+  }
+}
+
+xbClipRect.prototype.top = 0;
+xbClipRect.prototype.right = 0;
+xbClipRect.prototype.bottom = 0;
+xbClipRect.prototype.left = 0;
+
+
+function xbClipRectGetWidth()
+{
+    return this.right - this.left;
+}
+xbClipRect.prototype.getWidth = xbClipRectGetWidth; 
+
+function xbClipRectSetWidth(width)
+{
+  this.right = this.left + width;
+}
+xbClipRect.prototype.setWidth = xbClipRectSetWidth;
+
+function xbClipRectGetHeight()
+{
+    return this.bottom - this.top;
+}
+xbClipRect.prototype.getHeight = xbClipRectGetHeight; 
+
+function xbClipRectSetHeight(height)
+{
+  this.bottom = this.top + height;
+}
+xbClipRect.prototype.setHeight = xbClipRectSetHeight;
+
+function xbClipRectToString()
+{
+  return 'rect(' + this.top + 'px ' + this.right + 'px ' + this.bottom + 'px ' + this.left + 'px )' ;
+}
+xbClipRect.prototype.toString = xbClipRectToString;
+
+/////////////////////////////////////////////////////////////
+// xbStyle
+//
+// Note Opera violates the standard by cascading the effective values
+// into the HTMLElement.style object. We can use IE's HTMLElement.currentStyle
+// to get the effective values. In Gecko we will use the W3 DOM Style Standard getComputedStyle
+
+function xbStyle(obj, win, position)
+{
+  if (typeof(obj) == 'object' && typeof(obj.style) != 'undefined') 
+    this.styleObj = obj.style;
+  else if (document.layers) // NN4
+  {
+    if (typeof(position) == 'undefined')
+      position = '';
+        
+    this.styleObj = obj;
+    this.styleObj.position = position;
+  }
+  this.object = obj;
+  this.window = win ? win : window;
+}
+
+xbStyle.prototype.styleObj = null;
+xbStyle.prototype.object = null;
+
+/////////////////////////////////////////////////////////////
+// xbStyle.getEffectiveValue()
+// note that xbStyle's constructor uses the currentStyle object 
+// for IE5+ and that Opera's style object contains computed values
+// already. Netscape Navigator's layer object also contains the 
+// computed values as well. Note that IE4 will not return the 
+// computed values.
+
+function xbStyleGetEffectiveValue(propname)
+{
+  var value = null;
+
+  if (this.window.document.defaultView && this.window.document.defaultView.getComputedStyle)
+  {
+    // W3
+    // Note that propname is the name of the property in the CSS Style
+    // Object. However the W3 method getPropertyValue takes the actual
+    // property name from the CSS Style rule, i.e., propname is 
+    // 'backgroundColor' but getPropertyValue expects 'background-color'.
+
+     var capIndex;
+     var cappropname = propname;
+
+     while ( (capIndex = cappropname.search(/[A-Z]/)) != -1)
+     {
+       if (capIndex != -1)
+       {
+         cappropname = cappropname.substring(0, capIndex) + '-' + cappropname.substring(capIndex, capIndex+1).toLowerCase() + cappropname.substr(capIndex+1);
+       }
+     }
+
+     value = this.window.document.defaultView.getComputedStyle(this.object, '').getPropertyValue(cappropname);
+
+     // xxxHack for Gecko:
+     if (!value && this.styleObj[propname])
+     {
+       value = this.styleObj[propname];
+     }
+  }
+  else if (typeof(this.styleObj[propname]) == 'undefined') 
+  {
+    value = xbStyleNotSupportStringValue(propname);
+  }
+  else if (typeof(this.object.currentStyle) != 'undefined')
+  {
+    // IE5+
+    value = this.object.currentStyle[propname];
+    if (!value)
+    {
+      value = this.styleObj[propname];
+    }
+
+    if (propname == 'clip' && !value)
+    {
+      // clip is not stored in IE5/6 handle separately
+      value = 'rect(' + this.object.currentStyle.clipTop + ', ' + this.object.currentStyle.clipRight + ', ' + this.object.currentStyle.clipBottom + ', ' + this.object.currentStyle.clipLeft + ')';
+    }
+  }
+  else
+  {
+    // IE4+, Opera, NN4
+    value = this.styleObj[propname];
+  }
+
+  return value;
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.moveAbove()
+
+function xbStyleMoveAbove(cont)
+{
+  this.setzIndex(cont.getzIndex()+1);
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.moveBelow()
+
+function xbStyleMoveBelow(cont)
+{
+  var zindex = cont.getzIndex() - 1;
+            
+  this.setzIndex(zindex);
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.moveBy()
+
+function xbStyleMoveBy(deltaX, deltaY)
+{
+  this.moveTo(this.getLeft() + deltaX, this.getTop() + deltaY);
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.moveTo()
+
+function xbStyleMoveTo(x, y)
+{
+  this.setLeft(x);
+  this.setTop(y);
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.moveToAbsolute()
+
+function xbStyleMoveToAbsolute(x, y)
+{
+  this.setPageX(x);
+  this.setPageY(y);
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.resizeBy()
+
+function xbStyleResizeBy(deltaX, deltaY)
+{
+  this.setWidth( this.getWidth() + deltaX );
+  this.setHeight( this.getHeight() + deltaY );
+}
+
+/////////////////////////////////////////////////////////////////////////////
+// xbStyle.resizeTo()
+
+function xbStyleResizeTo(x, y)
+{
+  this.setWidth(x);
+  this.setHeight(y);
+}
+
+////////////////////////////////////////////////////////////////////////
+
+xbStyle.prototype.getEffectiveValue     = xbStyleGetEffectiveValue;
+xbStyle.prototype.moveAbove             = xbStyleMoveAbove;
+xbStyle.prototype.moveBelow             = xbStyleMoveBelow;
+xbStyle.prototype.moveBy                = xbStyleMoveBy;
+xbStyle.prototype.moveTo                = xbStyleMoveTo;
+xbStyle.prototype.moveToAbsolute        = xbStyleMoveToAbsolute;
+xbStyle.prototype.resizeBy              = xbStyleResizeBy;
+xbStyle.prototype.resizeTo              = xbStyleResizeTo;
+
+if (document.all || document.getElementsByName)
+{
+  xblibrary.loadScript('xbStyle-css.js');
+}
+else if (document.layers)
+{
+  xblibrary.loadScript('xbStyle-nn4.js');
+}
+else 
+{
+  xblibrary.loadScript('xbStyle-not-supported.js');
+}
+
+

Added: trunk/docs/docbook/src/main/resources/slides/fo/plain-titlepage.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/fo/plain-titlepage.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/fo/plain-titlepage.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,79 @@
+<!DOCTYPE t:templates [
+<!ENTITY hsize0 "10pt">
+<!ENTITY hsize1 "12pt">
+<!ENTITY hsize2 "14.4pt">
+<!ENTITY hsize3 "17.28pt">
+<!ENTITY hsize4 "20.736pt">
+<!ENTITY hsize5 "24.8832pt">
+<!ENTITY hsize0space "7.5pt"> <!-- 0.75 * hsize0 -->
+<!ENTITY hsize1space "9pt"> <!-- 0.75 * hsize1 -->
+<!ENTITY hsize2space "10.8pt"> <!-- 0.75 * hsize2 -->
+<!ENTITY hsize3space "12.96pt"> <!-- 0.75 * hsize3 -->
+<!ENTITY hsize4space "15.552pt"> <!-- 0.75 * hsize4 -->
+<!ENTITY hsize5space "18.6624pt"> <!-- 0.75 * hsize5 -->
+]>
+<t:templates xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
+             xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
+             xmlns:fo="http://www.w3.org/1999/XSL/Format"
+             xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+<!-- ==================================================================== -->
+
+<t:titlepage t:element="slides" t:wrapper="fo:block">
+  <t:titlepage-content t:side="recto">
+      <title t:predicate="[1]"
+             t:named-template="component.title"
+             param:node="ancestor-or-self::slides[1]"
+             text-align="center"
+             space-after="1em"
+             padding-top="1.5in"
+             keep-with-next="always"
+             font-size="{$foil.title.size}"
+             font-weight="bold"
+             font-family="{$slide.title.font.family}"/>
+
+    <subtitle t:predicate="[1]"
+              text-align="center"
+              space-after="1em"
+              font-family="{$slide.title.font.family}"/>
+
+    <corpauthor font-size="&hsize4;"
+                text-align="center"
+                space-after="1em"/>
+    <authorgroup/>
+    <author font-size="&hsize4;"
+            text-align="center"
+            space-after="1em"/>
+
+    <pubdate font-size="&hsize3;"
+             text-align="center"
+             space-after="1em"/>
+
+    <confgroup font-size="&hsize3;"
+               text-align="center"
+               space-after="1em"/>
+
+    <releaseinfo font-size="&hsize3;"
+                 text-align="center"
+                 space-after="1em"/>
+
+    <copyright font-size="&hsize3;"
+               text-align="center"/>
+
+    <revision text-align="center"/>
+  </t:titlepage-content>
+
+  <t:titlepage-content t:side="verso">
+  </t:titlepage-content>
+
+  <t:titlepage-separator>
+  </t:titlepage-separator>
+
+  <t:titlepage-before t:side="recto">
+  </t:titlepage-before>
+
+  <t:titlepage-before t:side="verso">
+  </t:titlepage-before>
+</t:titlepage>
+
+</t:templates>

Added: trunk/docs/docbook/src/main/resources/slides/fo/plain-titlepage.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/fo/plain-titlepage.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/fo/plain-titlepage.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,185 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0" exclude-result-prefixes="exsl">
+
+<!-- This stylesheet was created by template/titlepage.xsl; do not edit it by hand. -->
+
+<xsl:template name="slides.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="slidesinfo/title">
+      <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/title[1]"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/title[1]"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/title[1]"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="title[1]"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="slidesinfo/subtitle">
+      <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/subtitle[1]"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/subtitle[1]"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/subtitle[1]"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="subtitle[1]"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/corpauthor"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/authorgroup"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/author"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/pubdate"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/confgroup"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/confgroup"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/confgroup"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/releaseinfo"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/copyright"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="slidesinfo/revision"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="slides.titlepage.recto.auto.mode" select="info/revision"/>
+</xsl:template>
+
+<xsl:template name="slides.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="slides.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="slides.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="slides.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="slides.titlepage">
+  <fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="slides.titlepage.before.recto"/>
+      <xsl:call-template name="slides.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$recto.content"/></fo:block>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="slides.titlepage.before.verso"/>
+      <xsl:call-template name="slides.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <fo:block><xsl:copy-of select="$verso.content"/></fo:block>
+    </xsl:if>
+    <xsl:call-template name="slides.titlepage.separator"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="*" mode="slides.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="slides.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="slides.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="slides.titlepage.recto.style" text-align="center" space-after="1em" padding-top="1.5in" keep-with-next="always" font-size="{$foil.title.size}" font-weight="bold" font-family="{$slide.title.font.family}">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::slides[1]"/>
+</xsl:call-template>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="slides.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="slides.titlepage.recto.style" text-align="center" space-after="1em" font-family="{$slide.title.font.family}">
+<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="slides.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="20.736pt" text-align="center" space-after="1em">
+<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="slides.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="slides.titlepage.recto.style">
+<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="author" mode="slides.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="20.736pt" text-align="center" space-after="1em">
+<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="slides.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="17.28pt" text-align="center" space-after="1em">
+<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="confgroup" mode="slides.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="17.28pt" text-align="center" space-after="1em">
+<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="slides.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="17.28pt" text-align="center" space-after="1em">
+<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="copyright" mode="slides.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="slides.titlepage.recto.style" font-size="17.28pt" text-align="center">
+<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+<xsl:template match="revision" mode="slides.titlepage.recto.auto.mode">
+<fo:block xmlns:fo="http://www.w3.org/1999/XSL/Format" xsl:use-attribute-sets="slides.titlepage.recto.style" text-align="center">
+<xsl:apply-templates select="." mode="slides.titlepage.recto.mode"/>
+</fo:block>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/fo/plain.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/fo/plain.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/fo/plain.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,511 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:rx="http://www.renderx.com/XSL/Extensions"
+                version="1.0">
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
+
+<xsl:param name="alignment" select="'start'"/>
+
+<xsl:include href="plain-titlepage.xsl"/>
+
+<xsl:param name="local.l10n.xml" select="document('')"/>
+<i18n xmlns="http://docbook.sourceforge.net/xmlns/l10n/1.0">
+  <l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en">
+    <l:gentext key="Continued" text="(Continued)"/>
+    <l:context name="title">
+      <l:template name="slides" text="%t"/>
+      <l:template name="foilgroup" text="%t"/>
+      <l:template name="foil" text="%t"/>
+    </l:context>
+  </l:l10n>
+</i18n>
+
+<xsl:variable name="root.elements" select="' slides '"/>
+
+<xsl:param name="preferred.mediaobject.role" select="'print'"/>
+
+<xsl:param name="page.orientation" select="'landscape'"/>
+
+<xsl:param name="body.font.master" select="24"/>
+
+<xsl:attribute-set name="formal.title.properties"
+                   use-attribute-sets="normal.para.spacing">
+  <xsl:attribute name="font-weight">bold</xsl:attribute>
+  <xsl:attribute name="font-size">
+    <xsl:value-of select="$body.font.master * 1.2"/>
+    <xsl:text>pt</xsl:text>
+  </xsl:attribute>
+  <xsl:attribute name="hyphenate">false</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">8pt</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">6pt</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">10pt</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="list.block.spacing">
+  <xsl:attribute name="space-before.optimum">12pt</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">8pt</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">14pt</xsl:attribute>
+  <xsl:attribute name="space-after.optimum">0pt</xsl:attribute>
+  <xsl:attribute name="space-after.minimum">0pt</xsl:attribute>
+  <xsl:attribute name="space-after.maximum">0pt</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="list.item.spacing">
+  <xsl:attribute name="space-before.optimum">6pt</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">4pt</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">8pt</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="normal.para.spacing">
+  <xsl:attribute name="space-before.optimum">8pt</xsl:attribute>
+  <xsl:attribute name="space-before.minimum">6pt</xsl:attribute>
+  <xsl:attribute name="space-before.maximum">10pt</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="slides.titlepage.recto.style">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$slide.font.family"/>
+  </xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="slides.titlepage.verso.style">
+  <xsl:attribute name="font-family">
+    <xsl:value-of select="$slide.font.family"/>
+  </xsl:attribute>
+</xsl:attribute-set>
+
+<!-- ============================================================ -->
+
+<xsl:param name="page.margin.top" select="'0.25in'"/>
+<xsl:param name="region.before.extent" select="'0.75in'"/>
+<xsl:param name="body.margin.top" select="'1in'"/>
+
+<xsl:param name="region.after.extent" select="'0.5in'"/>
+<xsl:param name="body.margin.bottom" select="'0.5in'"/>
+<xsl:param name="page.margin.bottom" select="'0.25in'"/>
+
+<xsl:param name="page.margin.inner" select="'0.25in'"/>
+<xsl:param name="page.margin.outer" select="'0.25in'"/>
+<xsl:param name="column.count.body" select="1"/>
+
+<xsl:template name="user.pagemasters">
+  <fo:simple-page-master master-name="slides-titlepage-master"
+                         page-width="{$page.width}"
+                         page-height="{$page.height}"
+                         margin-top="{$page.margin.top}"
+                         margin-bottom="{$page.margin.bottom}"
+                         margin-left="{$page.margin.inner}"
+                         margin-right="{$page.margin.outer}">
+    <fo:region-body margin-bottom="0pt"
+                    margin-top="0pt"
+                    column-count="{$column.count.body}">
+    </fo:region-body>
+  </fo:simple-page-master>
+
+  <fo:simple-page-master master-name="slides-foil-master"
+                         page-width="{$page.width}"
+                         page-height="{$page.height}"
+                         margin-top="{$page.margin.top}"
+                         margin-bottom="{$page.margin.bottom}"
+                         margin-left="{$page.margin.inner}"
+                         margin-right="{$page.margin.outer}">
+    <fo:region-body margin-bottom="{$body.margin.bottom}"
+                    margin-top="{$body.margin.top}"
+                    column-count="{$column.count.body}">
+    </fo:region-body>
+    <fo:region-before region-name="xsl-region-before-foil"
+                      extent="{$region.before.extent}"
+                      display-align="before"/>
+    <fo:region-after region-name="xsl-region-after-foil"
+                     extent="{$region.after.extent}"
+                     display-align="after"/>
+  </fo:simple-page-master>
+
+  <fo:simple-page-master master-name="slides-foil-continued-master"
+                         page-width="{$page.width}"
+                         page-height="{$page.height}"
+                         margin-top="{$page.margin.top}"
+                         margin-bottom="{$page.margin.bottom}"
+                         margin-left="{$page.margin.inner}"
+                         margin-right="{$page.margin.outer}">
+    <fo:region-body margin-bottom="{$body.margin.bottom}"
+                    margin-top="{$body.margin.top}"
+                    column-count="{$column.count.body}">
+    </fo:region-body>
+    <fo:region-before region-name="xsl-region-before-foil-continued"
+                      extent="{$region.before.extent}"
+                      display-align="before"/>
+    <fo:region-after region-name="xsl-region-after-foil-continued"
+                     extent="{$region.after.extent}"
+                     display-align="after"/>
+  </fo:simple-page-master>
+
+  <fo:page-sequence-master master-name="slides-titlepage">
+    <fo:repeatable-page-master-alternatives>
+      <fo:conditional-page-master-reference master-reference="slides-titlepage-master"/>
+    </fo:repeatable-page-master-alternatives>
+  </fo:page-sequence-master>
+
+  <fo:page-sequence-master master-name="slides-foil">
+    <fo:repeatable-page-master-alternatives>
+      <fo:conditional-page-master-reference master-reference="slides-foil-master"
+                                            page-position="first"/>
+      <fo:conditional-page-master-reference master-reference="slides-foil-continued-master"/>
+    </fo:repeatable-page-master-alternatives>
+  </fo:page-sequence-master>
+</xsl:template>
+
+<xsl:template match="*" mode="running.head.mode">
+  <xsl:param name="master-reference" select="'unknown'"/>
+  <!-- use the foilgroup title if there is one -->
+  <fo:static-content flow-name="xsl-region-before-foil">
+    <fo:block background-color="white"
+              color="black"
+              font-size="{$foil.title.size}"
+              font-weight="bold"
+              text-align="center"
+              font-family="{$slide.title.font.family}">
+      <xsl:apply-templates select="title" mode="titlepage.mode"/>
+    </fo:block>
+  </fo:static-content>
+
+  <fo:static-content flow-name="xsl-region-before-foil-continued">
+    <fo:block background-color="white"
+              color="black"
+              font-size="{$foil.title.size}"
+              font-weight="bold"
+              text-align="center"
+              font-family="{$slide.title.font.family}">
+      <xsl:apply-templates select="title" mode="titlepage.mode"/>
+      <xsl:text> </xsl:text>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key" select="'Continued'"/>
+      </xsl:call-template>
+    </fo:block>
+  </fo:static-content>
+</xsl:template>
+
+<xsl:template match="*" mode="running.foot.mode">
+  <xsl:param name="master-reference" select="'unknown'"/>
+
+  <xsl:variable name="last-slide"
+                select="(//foil|//foilgroup)[last()]"/>
+
+  <xsl:variable name="last-id">
+    <xsl:choose>
+      <xsl:when test="$last-slide/@id">
+        <xsl:value-of select="$last-slide/@id"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="generate-id($last-slide)"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="content">
+    <fo:table table-layout="fixed" width="100%"
+              xsl:use-attribute-sets="running.foot.properties">
+      <fo:table-column column-number="1" column-width="33%"/>
+      <fo:table-column column-number="2" column-width="34%"/>
+      <fo:table-column column-number="3" column-width="33%"/>
+      <fo:table-body>
+        <fo:table-row height="14pt">
+          <fo:table-cell text-align="left">
+            <fo:block>
+              <xsl:if test="self::foil">
+                <xsl:choose>
+                  <xsl:when test="ancestor::foilgroup[1]/titleabbrev">
+                    <xsl:apply-templates select="ancestor::foilgroup[1]/titleabbrev"
+                                         mode="titlepage.mode"/>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <xsl:apply-templates select="ancestor::foilgroup[1]/title"
+                                         mode="titlepage.mode"/>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </xsl:if>
+            </fo:block>
+          </fo:table-cell>
+          <fo:table-cell text-align="center">
+            <fo:block>
+              <xsl:if test="/slides/slidesinfo/releaseinfo[@role='copyright']">
+                <xsl:apply-templates select="/slides/slidesinfo/releaseinfo[@role='copyright']"
+                                     mode="value"/>
+                <xsl:text>&#160;&#160;&#160;</xsl:text>
+              </xsl:if>
+              <xsl:apply-templates select="/slides/slidesinfo/copyright"
+                                   mode="titlepage.mode"/>
+            </fo:block>
+          </fo:table-cell>
+          <fo:table-cell text-align="right">
+            <fo:block>
+              <fo:page-number/>
+              <xsl:text>&#160;/&#160;</xsl:text>
+              <fo:page-number-citation ref-id="{$last-id}"/>
+            </fo:block>
+          </fo:table-cell>
+        </fo:table-row>
+      </fo:table-body>
+    </fo:table>
+  </xsl:variable>
+
+  <fo:static-content flow-name="xsl-region-after-foil">
+    <fo:block>
+      <xsl:copy-of select="$content"/>
+    </fo:block>
+  </fo:static-content>
+
+  <fo:static-content flow-name="xsl-region-after-foil-continued">
+    <fo:block>
+      <xsl:copy-of select="$content"/>
+    </fo:block>
+  </fo:static-content>
+</xsl:template>
+
+<xsl:template name="select.user.pagemaster">
+  <xsl:param name="element"/>
+  <xsl:param name="pageclass"/>
+  <xsl:param name="default-pagemaster"/>
+
+  <xsl:choose>
+    <xsl:when test="$element = 'slides'">slides-titlepage</xsl:when>
+    <xsl:otherwise>slides-foil</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="slides">
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+    <fo:flow flow-name="xsl-region-body">
+      <fo:block>
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="conditional" select="0"/>
+        </xsl:call-template>
+        <xsl:call-template name="slides.titlepage"/>
+        <xsl:apply-templates select="speakernotes"/>
+      </fo:block>
+    </fo:flow>
+  </fo:page-sequence>
+  <xsl:apply-templates select="foil|foilgroup"/>
+</xsl:template>
+
+<xsl:template match="slidesinfo"/>
+
+<xsl:template match="slides" mode="title.markup">
+  <xsl:param name="allow-anchors" select="'0'"/>
+  <xsl:apply-templates select="(slidesinfo/title|title)[1]"
+                       mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="foilgroup.titlepage">
+  <fo:block background-color="black"
+            color="white"
+            font-size="{$foil.title.size}"
+            font-weight="bold"
+            text-align="center"
+            padding-top="12pt"
+            padding-bottom="12pt"
+            space-after="1em">
+    <xsl:apply-templates select="title" mode="titlepage.mode"/>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="foilgroup">
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+
+    <fo:flow flow-name="xsl-region-body">
+      <fo:block>
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="conditional" select="0"/>
+        </xsl:call-template>
+
+	<xsl:if test="*[not(self::foil)]">
+	  <fo:block xsl:use-attribute-sets="foil.properties" space-after="1em">
+	    <xsl:apply-templates select="*[not(self::foil)]"/>
+	  </fo:block>
+	</xsl:if>
+
+	<xsl:call-template name="foilgroup.titlepage"/>
+      </fo:block>
+    </fo:flow>
+  </fo:page-sequence>
+  <xsl:apply-templates select="foil"/>
+</xsl:template>
+
+<xsl:template match="foilgroup/title"/>
+<xsl:template match="foilgroup/titleabbrev"/>
+
+<xsl:template match="foilgroup/titleabbrev" mode="titlepage.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="slides/foilgroup/title" mode="titlepage.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="title" mode="foilgroup.titlepage.recto.mode">
+  <fo:block>
+    <fo:inline color="white">.</fo:inline>
+    <fo:block space-before="2in">
+      <xsl:apply-templates select="." mode="titlepage.mode"/>
+    </fo:block>
+  </fo:block>
+</xsl:template>
+
+<xsl:template match="foilgroupinfo"/>
+
+<!-- ============================================================ -->
+
+<!--
+<xsl:template name="foil.titlepage">
+  <fo:block background-color="white"
+            color="black"
+            font-size="{$foil.title.size}"
+            font-weight="bold"
+            text-align="center"
+            padding-top="12pt"
+            padding-bottom="12pt"
+            space-after="1em">
+    <xsl:apply-templates select="title" mode="titlepage.mode"/>
+  </fo:block>
+</xsl:template>
+-->
+
+<xsl:template match="foil">
+  <xsl:variable name="master-reference">
+    <xsl:call-template name="select.pagemaster"/>
+  </xsl:variable>
+
+  <fo:page-sequence hyphenate="{$hyphenate}"
+                    master-reference="{$master-reference}">
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:attribute name="language">
+      <xsl:call-template name="l10n.language"/>
+    </xsl:attribute>
+
+    <xsl:apply-templates select="." mode="running.head.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates select="." mode="running.foot.mode">
+      <xsl:with-param name="master-reference" select="$master-reference"/>
+    </xsl:apply-templates>
+    <fo:flow flow-name="xsl-region-body">
+      <fo:block>
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="conditional" select="0"/>
+        </xsl:call-template>
+
+        <fo:block xsl:use-attribute-sets="foil.properties">
+          <xsl:apply-templates/>
+        </fo:block>
+      </fo:block>
+    </fo:flow>
+  </fo:page-sequence>
+</xsl:template>
+
+<xsl:template match="foilinfo"/>
+<xsl:template match="foil/title"/>
+<xsl:template match="foil/subtitle">
+  <fo:block xsl:use-attribute-sets="foil.subtitle.properties">
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+<xsl:template match="foil/titleabbrev"/>
+
+<!-- ============================================================ -->
+
+<xsl:template match="slides" mode="label.markup">
+  <xsl:if test="@label">
+    <xsl:value-of select="@label"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="speakernotes">
+  <fo:block xsl:use-attribute-sets="speakernote.properties">
+    <xsl:apply-templates/>
+  </fo:block>
+</xsl:template>
+
+<!-- ============================================================ -->
+<!-- Bookmarks -->
+
+<!-- XEP -->
+
+<xsl:template match="slides|foilgroup|foil[not(@role) or @role != 'ENDTITLE']"
+              mode="xep.outline">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="bookmark-label">
+    <xsl:apply-templates select="." mode="object.title.markup"/>
+  </xsl:variable>
+
+  <!-- Put the root element bookmark at the same level as its children -->
+  <!-- If the object is a set or book, generate a bookmark for the toc -->
+
+  <xsl:choose>
+    <xsl:when test="parent::*">
+      <rx:bookmark internal-destination="{$id}">
+        <rx:bookmark-label>
+          <xsl:value-of select="$bookmark-label"/>
+        </rx:bookmark-label>
+        <xsl:apply-templates select="*" mode="xep.outline"/>
+      </rx:bookmark>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$bookmark-label != ''">
+        <rx:bookmark internal-destination="{$id}">
+          <rx:bookmark-label>
+            <xsl:value-of select="$bookmark-label"/>
+          </rx:bookmark-label>
+        </rx:bookmark>
+      </xsl:if>
+
+      <xsl:apply-templates select="*" mode="xep.outline"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/arr-next.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/arr-next.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/arr-prev.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/arr-prev.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/but-fforward.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/but-fforward.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/but-info.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/but-info.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/but-next.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/but-next.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/but-prev.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/but-prev.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/but-rewind.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/but-rewind.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-home.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-home.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-next.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-next.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-prev.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-prev.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-toc.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-toc.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-up.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/nav-up.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/w3c-next.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/w3c-next.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/w3c-prev.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/w3c-prev.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/active/w3c-toc.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/active/w3c-toc.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/arrow.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/arrow.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/blank.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/blank.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/blank.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/blank.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/hidetoc.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/hidetoc.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-fforward.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-fforward.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-info.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-info.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-next.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-next.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-prev.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-prev.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-rewind.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/but-rewind.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-home.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-home.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-next.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-next.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-prev.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-prev.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-toc.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-toc.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-up.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/nav-up.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/w3c-next.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/w3c-next.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/w3c-prev.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/w3c-prev.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/w3c-toc.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/inactive/w3c-toc.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/plus.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/plus.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/pointer.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/pointer.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/showtoc.gif
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/showtoc.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/toc/bullet.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/toc/bullet.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/toc/closed.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/toc/closed.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/graphics/toc/open.png
===================================================================
(Binary files differ)


Property changes on: trunk/docs/docbook/src/main/resources/slides/graphics/toc/open.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/docs/docbook/src/main/resources/slides/html/css.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/html/css.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/html/css.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,46 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<!-- ====================================================================== -->
+
+<xsl:template name="css-file">
+  <xsl:param name="css" select="'slides.css'"/>
+
+  <xsl:variable name="source.css.dir">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'css-stylesheet-dir'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$source.css.dir != ''">
+      <xsl:value-of select="$source.css.dir"/>
+      <xsl:text>/</xsl:text>
+    </xsl:when>
+    <xsl:when test="$css.stylesheet.dir != ''">
+      <xsl:value-of select="$css.stylesheet.dir"/>
+      <xsl:text>/</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>http://docbook.sourceforge.net/release/slides/browser/</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:value-of select="$css"/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- active navigation images -->
+
+<xsl:template name="css.stylesheet">
+  <xsl:param name="css" select="$css.stylesheet"/>
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="css-file">
+    <xsl:with-param name="css" select="$css"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/html/default.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/html/default.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/html/default.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,261 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:output method="html"/>
+
+<xsl:param name="css.stylesheet" select="'slides-default.css'"/>
+
+<xsl:template name="top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table width="100%" border="0" cellpadding="0" cellspacing="0"
+           summary="Navigation">
+      <tr>
+        <xsl:call-template name="generate.toc.hide.show"/>
+        <td align="left" width="10%">
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$prev" mode="filename"/>
+                </xsl:attribute>
+
+                <img alt="Prev" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>&#160;</xsl:otherwise>
+          </xsl:choose>
+        </td>
+        <td align="center" width="80%">
+          <xsl:variable name="prestitle">
+            <xsl:value-of select="(/slides/slidesinfo/title
+                                  |/slides/title)[1]"/>
+          </xsl:variable>
+
+          <span class="navheader">
+            <xsl:value-of select="$prestitle"/>
+          </span>
+        </td>
+        <td align="right" width="10%">
+          <xsl:choose>
+            <xsl:when test="$next">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$next" mode="filename"/>
+                </xsl:attribute>
+
+                <img alt="Next" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="next.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>&#160;</xsl:otherwise>
+          </xsl:choose>
+        </td>
+      </tr>
+    </table>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<xsl:template name="bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navfoot">
+    <hr class="bottom-nav-sep"/>
+    <table width="100%" border="0" cellpadding="0" cellspacing="0"
+           summary="Navigation">
+      <tr>
+        <td align="left" width="80%" valign="top">
+          <span class="navfooter">
+            <xsl:apply-templates select="/slides/slidesinfo/copyright"
+                                 mode="slide.footer.mode"/>
+          </span>
+        </td>
+        <td align="right" width="20%" valign="top">
+          <span class="index">
+            <xsl:value-of select="count(preceding::foil)
+                                  + count(preceding::foilgroup)
+                                  + count(ancestor::foilgroup)
+                                  + 1"/>
+          </span>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="titlepage-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table width="100%" border="0" cellpadding="0" cellspacing="0"
+           summary="Navigation">
+      <tr>
+        <td align="left" width="10%">
+          <span class="toclink">
+            <a href="{$toc.html}">
+              <xsl:call-template name="gentext">
+                <xsl:with-param name="key">TableofContents</xsl:with-param>
+              </xsl:call-template>
+            </a>
+          </span>
+        </td>
+        <td align="center" width="80%">
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td align="right" width="10%">
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template name="titlepage-bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navfoot">
+    <table width="100%" border="0"
+           cellspacing="0" cellpadding="0"
+           summary="Navigation">
+      <tr>
+        <td align="left" width="80%" valign="top">
+          <span class="navfooter">
+            <xsl:apply-templates select="/slides/slidesinfo/copyright"
+                                 mode="slide.footer.mode"/>
+          </span>
+        </td>
+        <td align="right" width="20%" valign="top">
+          <a>
+            <xsl:attribute name="href">
+              <xsl:apply-templates select="(following::foilgroup|following::foil)[1]"
+                                   mode="filename"/>
+            </xsl:attribute>
+            <img alt="Next" border="0">
+              <xsl:attribute name="src">
+                <xsl:call-template name="next.image"/>
+              </xsl:attribute>
+            </img>
+          </a>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template name="toc-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table width="100%" border="0" cellpadding="0" cellspacing="0"
+           summary="Navigation">
+      <tr>
+        <td align="left">
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template name="toc-bottom-nav">
+  <div class="navfoot">
+    <table width="100%" border="0"
+           cellspacing="0" cellpadding="0"
+           summary="Navigation">
+      <tr>
+        <td align="left" width="80%" valign="top">
+          <span class="navfooter">
+            <xsl:apply-templates select="/slides/slidesinfo/copyright"
+                                 mode="slide.footer.mode"/>
+          </span>
+        </td>
+        <td align="right" width="20%" valign="top">
+          <a href="{$titlefoil.html}">
+            <img alt="Next" border="0">
+              <xsl:attribute name="src">
+                <xsl:call-template name="next.image"/>
+              </xsl:attribute>
+            </img>
+          </a>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="generate.toc.hide.show">
+  <xsl:if test="$toc.hide.show != 0">
+    <td>
+      <img hspace="4" alt="Hide/Show TOC">
+        <xsl:attribute name="src">
+          <xsl:call-template name="hidetoc.image"/>
+	</xsl:attribute>
+	<xsl:attribute name="onClick">
+          <xsl:text>toggletoc(this,</xsl:text>
+          <xsl:value-of select="$toc.width"/>
+          <xsl:text>,'</xsl:text>
+          <xsl:call-template name="hidetoc.image"/>
+          <xsl:text>','</xsl:text>
+          <xsl:call-template name="showtoc.image"/>
+          <xsl:text>');</xsl:text>
+        </xsl:attribute>
+      </img>
+    </td>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="@*" mode="copy">
+  <xsl:attribute name="{local-name(.)}">
+    <xsl:value-of select="."/>
+  </xsl:attribute>
+</xsl:template>
+
+<xsl:template match="html:*" xmlns:html='http://www.w3.org/1999/xhtml'>
+  <xsl:element name="{local-name(.)}" namespace="">
+    <xsl:apply-templates select="@*" mode="copy"/>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/html/flat.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/html/flat.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/html/flat.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:template match="/">
+  <html>
+    <head>
+      <title><xsl:value-of select="/slides/slidesinfo/title"/></title>
+    </head>
+    <body>
+      <xsl:apply-templates/>
+    </body>
+  </html>
+</xsl:template>
+
+<xsl:template match="slidesinfo">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <div id="{$id}" class="titlepage">
+    <div class="titlepage-body">
+      <xsl:call-template name="titlepage-body"/>
+    </div>
+  </div>
+</xsl:template>
+
+<xsl:template match="slides" mode="toc">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="foil">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <div class="{name(.)}" id="{$id}">
+    <div class="foil-body">
+      <xsl:call-template name="foil-body"/>
+    </div>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="foilgroup">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <div class="{name(.)}" id="{$id}">
+    <div class="foilgroup-body">
+      <xsl:call-template name="foilgroup-body"/>
+    </div>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+
+  <xsl:apply-templates select="foil"/>
+</xsl:template>
+
+<xsl:template match="author" mode="titlepage.mode">
+  <div class="{name(.)}">
+    <h2 class="{name(.)}"><xsl:call-template name="person.name"/></h2>
+    <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
+    <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+  </div>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/html/frames.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/html/frames.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/html/frames.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,2016 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:param name="titlefoil.html" select="concat('titlepg', $html.ext)"/>
+
+<xsl:param name="css.stylesheet" select="'slides-frames.css'"/>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="doctype-public">
+  <xsl:param name="frameset" select="0"/> 
+  <xsl:choose>
+    <xsl:when test="$stylesheet.result.type='html'"> 
+      <xsl:choose>
+        <!-- Assume when chunker.output.doctype-public is set the user
+             wants to have doctypes written out. If frameset is set
+             then overide with a frameset public identifier. -->
+        <xsl:when test="$chunker.output.doctype-public != '' and $frameset != 0"> 
+          <xsl:text>-//W3C//DTD HTML 4.01 Frameset//EN</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$chunker.output.doctype-public"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$stylesheet.result.type='xhtml'"> 
+      <xsl:choose>
+        <xsl:when test="$frameset != 0">
+          <xsl:text>-//W3C//DTD XHTML 1.0 Frameset//EN</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>-//W3C//DTD XHTML 1.0 Transitional//EN</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="doctype-system">
+  <xsl:param name="frameset" select="0"/>
+  <xsl:choose>
+    <xsl:when test="$stylesheet.result.type='html'"> 
+      <xsl:choose>
+        <!-- Assume when chunker.output.doctype-system is set the user
+             wants to have doctypes written out. If frameset is set
+             then overide with a frameset system identifier. -->
+        <xsl:when test="$chunker.output.doctype-system != '' and $frameset != 0">
+          <xsl:text>http://www.w3.org/TR/html4/loose.dtd</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$chunker.output.doctype-system"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$stylesheet.result.type='xhtml'"> 
+      <xsl:choose>
+        <xsl:when test="$frameset != 0">
+          <xsl:text>http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="slides">
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="(slidesinfo/titleabbrev|titleabbrev)">
+        <xsl:value-of select="(slidesinfo/titleabbrev|titleabbrev)[1]"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="(slidesinfo/title|title)[1]"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:variable name="toc.rows" select="1+count(//foilgroup)+count(//foil)"/>
+  <xsl:variable name="toc.height" select="$toc.rows * $toc.row.height"/>
+
+  <xsl:if test="$overlay != 0 and $multiframe != 0">
+    <xsl:message terminate='yes'>
+      <xsl:text>Multiframe and overlay are mutually exclusive.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="doctype-public">
+    <xsl:call-template name="doctype-public">
+      <xsl:with-param name="frameset" select="1"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="doctype-system">
+    <xsl:call-template name="doctype-system">
+      <xsl:with-param name="frameset" select="1"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="doctype-public" select="$doctype-public"/>
+    <xsl:with-param name="doctype-system" select="$doctype-system"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'frames', $html.ext)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="$title"/></title>
+        </head>
+        <frameset cols="{$toc.width},*" id="topframe">
+          <frame src="{concat('toc', $html.ext)}" name="toc" id="toc" frameborder="1"/>
+          <frame src="{$titlefoil.html}" name="foil" id="foil"/>
+          <noframes>
+            <body class="frameset">
+              <xsl:call-template name="body.attributes"/>
+              <a href="{concat('titleframe', $html.ext)}">
+                <xsl:text>Your browser doesn't support frames.</xsl:text>
+              </a>
+            </body>
+          </noframes>
+        </frameset>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'toc',$html.ext)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>TOC - <xsl:value-of select="$title"/></title>
+          <xsl:call-template name="system.head.content"/>
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0
+                        or $dynamic.toc != 0 or $active.toc != 0
+                        or $overlay.logo != ''">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0' or $overlay.logo != ''">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$dynamic.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+function init() {
+  var width = </xsl:text>
+<xsl:value-of select="$toc.width"/>
+<xsl:text>, height = </xsl:text>
+<xsl:value-of select="$toc.row.height"/>
+<xsl:text>;
+  myList = new List(true, width, height, "</xsl:text>
+<xsl:value-of select="$toc.bg.color"/>
+<xsl:text>","</xsl:text>
+<xsl:call-template name="plus.image"/>
+<xsl:text>","</xsl:text>
+<xsl:call-template name="minus.image"/>
+<xsl:text>");
+</xsl:text>
+<xsl:apply-templates mode="ns-toc"/>
+              <xsl:text disable-output-escaping="yes">
+  myList.build(0,0);
+}
+                // --&gt;
+</xsl:text>
+            </script>
+            <style type="text/css">
+              <xsl:text>#spacer { position: absolute; height: </xsl:text>
+              <xsl:value-of select="$toc.height"/>
+  <xsl:text>; }
+</xsl:text>
+            </style>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body class="toc">
+          <xsl:call-template name="body.attributes"/>
+
+          <xsl:if test="$overlay.logo != ''">
+            <xsl:attribute name="onload">
+              <xsl:text>overlaySetup('ll');</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <xsl:if test="$dynamic.toc != 0">
+            <xsl:attribute name="onload">
+              <xsl:text>init(</xsl:text>
+              <xsl:value-of select="$overlay"/>
+              <xsl:text>);</xsl:text>
+              <xsl:if test="$overlay.logo != ''">
+                <xsl:text>overlaySetup('ll');</xsl:text>
+              </xsl:if>
+            </xsl:attribute>
+          </xsl:if>
+
+          <xsl:choose>
+            <xsl:when test="$dynamic.toc = 0">
+              <div class="toc">
+                <xsl:apply-templates mode="toc"/>
+              </div>
+            </xsl:when>
+            <xsl:otherwise>
+              <div id="spacer"/>
+            </xsl:otherwise>
+          </xsl:choose>
+
+          <xsl:if test="$overlay.logo != ''">
+            <div style="position: absolute; visibility: visible;" id="overlayDiv">
+              <img src="{$overlay.logo}" alt="logo" vspace="20"/>
+            </div>
+          </xsl:if>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="slidesinfo">
+  <xsl:variable name="next" select="(following::foil
+                                    |following::foilgroup)[1]"/>
+
+  <xsl:variable name="doctype-public">
+    <xsl:call-template name="doctype-public">
+      <xsl:with-param name="frameset" select="$multiframe"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="doctype-system">
+    <xsl:call-template name="doctype-system">
+      <xsl:with-param name="frameset" select="$multiframe"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="doctype-public" select="$doctype-public"/>
+    <xsl:with-param name="doctype-system" select="$doctype-system"/>
+    <xsl:with-param name="filename"
+                    select="concat($base.dir,$titlefoil.html)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="title"/></title>
+
+          <xsl:call-template name="system.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0
+                        or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+        </head>
+        <xsl:choose>
+          <xsl:when test="$multiframe != 0">
+            <xsl:apply-templates select="." mode="multiframe"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="." mode="singleframe"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:if test="$multiframe != 0">
+    <xsl:apply-templates select="." mode="multiframe-top"/>
+    <xsl:apply-templates select="." mode="multiframe-body"/>
+    <xsl:apply-templates select="." mode="multiframe-bottom"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="slidesinfo" mode="multiframe">
+  <xsl:variable name="thisfoil">
+    <xsl:value-of select="$titlefoil.html"/>
+  </xsl:variable>
+
+  <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
+    <xsl:attribute name="onload">
+      <xsl:text>javascript:body.focus()</xsl:text>
+      </xsl:attribute>
+    <frame src="top-{$thisfoil}" name="top" id="top" marginheight="0" frameborder="0">
+    </frame>
+    <frame src="body-{$thisfoil}" name="body" id="body" marginheight="0" frameborder="0">
+    </frame>
+    <frame src="bot-{$thisfoil}" name="bottom" id="bottom" marginheight="0" frameborder="0">
+    </frame>
+    <noframes>
+      <body class="frameset">
+        <xsl:call-template name="body.attributes"/>
+        <p>
+          <xsl:text>Your browser doesn't support frames.</xsl:text>
+        </p>
+      </body>
+    </noframes>
+  </frameset>
+</xsl:template>
+
+<xsl:template match="slidesinfo" mode="multiframe-top">
+  <xsl:variable name="thisfoil">
+    <xsl:value-of select="$titlefoil.html"/>
+  </xsl:variable>
+
+  <xsl:variable name="next" select="(following::foil
+                                    |following::foilgroup)[1]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'top-',$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Navigation</title>
+
+          <xsl:call-template name="system.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0
+                        or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0' or $overlay.logo != ''">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+        </head>
+        <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
+          <xsl:call-template name="foil-top-nav">
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="slidesinfo" mode="multiframe-body">
+  <xsl:variable name="thisfoil">
+    <xsl:value-of select="$titlefoil.html"/>
+  </xsl:variable>
+
+  <xsl:variable name="next" select="(following::foil
+                                    |following::foilgroup)[1]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Body</title>
+
+          <xsl:call-template name="system.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0
+                        or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+        </head>
+        <xsl:apply-templates select="." mode="singleframe"/>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="slidesinfo" mode="multiframe-bottom">
+  <xsl:variable name="thisfoil">
+    <xsl:value-of select="$titlefoil.html"/>
+  </xsl:variable>
+
+  <xsl:variable name="next" select="(following::foil
+                                    |following::foilgroup)[1]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Navigation</title>
+
+          <xsl:call-template name="system.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0
+                        or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+        </head>
+        <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
+          <xsl:call-template name="foil-bottom-nav">
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="slidesinfo" mode="singleframe">
+  <xsl:param name="thisfoil">
+    <xsl:value-of select="$titlefoil.html"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="next" select="(following::foil
+                                    |following::foilgroup)[1]"/>
+
+  <body class="titlepage">
+    <xsl:call-template name="body.attributes"/>
+    <xsl:choose>
+      <xsl:when test="$active.toc != 0">
+        <xsl:attribute name="onload">
+          <xsl:text>newPage('</xsl:text>
+          <xsl:value-of select="$titlefoil.html"/>
+          <xsl:text>',</xsl:text>
+          <xsl:value-of select="$overlay"/>
+          <xsl:text>);</xsl:text>
+        </xsl:attribute>
+      </xsl:when>
+      <xsl:when test="$overlay != 0">
+        <xsl:attribute name="onload">
+          <xsl:text>overlaySetup('lc');</xsl:text>
+        </xsl:attribute>
+      </xsl:when>
+    </xsl:choose>
+
+    <xsl:if test="$keyboard.nav != 0">
+      <xsl:attribute name="onload">
+        <xsl:text>this.focus()</xsl:text>
+      </xsl:attribute>
+      <xsl:attribute name="onkeypress">
+        <xsl:text>navigate(event)</xsl:text>
+      </xsl:attribute>
+    </xsl:if>
+
+    <div class="{name(.)}">
+      <xsl:apply-templates mode="titlepage.mode"/>
+    </div>
+
+    <xsl:if test="$multiframe=0">
+      <div id="overlayDiv" class="navfoot">
+        <xsl:choose>
+          <xsl:when test="$overlay != 0">
+            <xsl:attribute name="style">
+              <xsl:text>position:absolute;visibility:visible;</xsl:text>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:attribute name="style">
+              <xsl:text>padding-top: 2in;</xsl:text>
+            </xsl:attribute>
+          </xsl:otherwise>
+        </xsl:choose>
+
+        <table width="100%" border="0"
+               cellspacing="0" cellpadding="0"
+               summary="Navigation">
+          <tr>
+            <td align="left" width="80%" valign="top">
+              <span class="navfooter">
+                <!-- suppress copyright here; it's probably already on the titlepage
+                <xsl:apply-templates select="/slides/slidesinfo/copyright"
+                                     mode="slide.footer.mode"/>
+                -->
+                <xsl:text>&#160;</xsl:text>
+              </span>
+            </td>
+            <td align="right" width="20%" valign="top">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$next" mode="filename"/>
+                </xsl:attribute>
+                <img alt="{$text.next}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="next.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </td>
+          </tr>
+        </table>
+      </div>
+    </xsl:if>
+  </body>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table border="0" width="100%" cellspacing="0" cellpadding="0"
+           summary="Navigation table">
+      <tr>
+        <td align="left" valign="bottom" width="10%">
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <xsl:if test="$multiframe != 0">
+                    <xsl:attribute name="target">foil</xsl:attribute>
+                  </xsl:if>
+                  <img alt="{$text.prev}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">&#160;</span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td width="80%" align="center" valign="bottom">
+          <xsl:call-template name="foil.number"/>
+        </td>
+        <td align="right" valign="bottom" width="10%">
+          <xsl:choose>
+            <xsl:when test="$next">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <xsl:if test="$multiframe != 0">
+                    <xsl:attribute name="target">foil</xsl:attribute>
+                  </xsl:if>
+                  <img alt="{$text.next}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">&#160;</span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<xsl:template name="bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navfoot">
+    <hr class="bottom-nav-sep"/>
+    <table border="0" width="100%" cellspacing="0" cellpadding="0"
+           summary="Navigation table">
+      <tr>
+        <td align="left" valign="top">
+          <xsl:apply-templates select="/slides/slidesinfo/copyright"
+                               mode="slide.footer.mode"/>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+
+        <td align="right" valign="top">
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <xsl:if test="$multiframe != 0">
+                    <xsl:attribute name="target">foil</xsl:attribute>
+                  </xsl:if>
+                  <img alt="{$text.prev}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">&#160;</span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$next">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <xsl:if test="$multiframe != 0">
+                    <xsl:attribute name="target">foil</xsl:attribute>
+                  </xsl:if>
+                  <img alt="{$text.next}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">&#160;</span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="foilgroup">
+  <xsl:param name="thisfoilgroup">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:param>
+
+  <xsl:variable name="doctype-public">
+    <xsl:call-template name="doctype-public">
+      <xsl:with-param name="frameset" select="$multiframe"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="doctype-system">
+    <xsl:call-template name="doctype-system">
+      <xsl:with-param name="frameset" select="$multiframe"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="foil[1]"/>
+  <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="doctype-public" select="$doctype-public"/>
+    <xsl:with-param name="doctype-system" select="$doctype-system"/>
+    <xsl:with-param name="filename" select="concat($base.dir,$thisfoilgroup)"/>
+    <xsl:with-param name="content">
+      <html>
+	<head>
+	  <title><xsl:value-of select="title"/></title>
+
+	  <xsl:call-template name="system.head.content"/>
+	  
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+	  <xsl:if test="$css.stylesheet != ''">
+	    <link type="text/css" rel="stylesheet">
+	      <xsl:attribute name="href">
+		<xsl:call-template name="css.stylesheet"/>
+	      </xsl:attribute>
+	    </link>
+	  </xsl:if>
+	  <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+	  
+	  <xsl:call-template name="links">
+	    <xsl:with-param name="home" select="$home"/>
+	    <xsl:with-param name="up" select="$up"/>
+	    <xsl:with-param name="next" select="$next"/>
+	    <xsl:with-param name="prev" select="$prev"/>
+	  </xsl:call-template>
+	  
+	  <xsl:if test="$overlay != 0 or $keyboard.nav != 0
+		  or $dynamic.toc != 0 or $active.toc != 0">
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text> </xsl:text>
+	    </script>
+	  </xsl:if>
+	  
+	  <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+	    <xsl:call-template name="ua.js"/>
+	    <xsl:call-template name="xbDOM.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	    <xsl:call-template name="xbLibrary.js"/>
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text disable-output-escaping="yes">
+		&lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+	      </xsl:text>
+	    </script>
+	    <xsl:call-template name="xbStyle.js"/>
+	    <xsl:call-template name="xbCollapsibleLists.js"/>
+	    <xsl:call-template name="slides.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	  </xsl:if>
+	  
+	  <xsl:if test="$overlay != '0'">
+	    <xsl:call-template name="overlay.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	  </xsl:if>
+	  
+	  <xsl:call-template name="user.head.content"/>
+	</head>
+	<xsl:choose>
+	  <xsl:when test="$multiframe != 0">
+	    <xsl:apply-templates select="." mode="multiframe"/>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates select="." mode="singleframe"/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:if test="$multiframe != 0">
+    <xsl:apply-templates select="." mode="multiframe-top"/>
+    <xsl:apply-templates select="." mode="multiframe-body"/>
+    <xsl:apply-templates select="." mode="multiframe-bottom"/>
+  </xsl:if>
+
+  <xsl:apply-templates select="foil"/>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="multiframe">
+  <xsl:variable name="thisfoilgroup">
+    <xsl:text>foilgroup</xsl:text>
+    <xsl:number count="foilgroup" level="any" format="01"/>
+    <xsl:value-of select="$html.ext"/>
+  </xsl:variable>
+
+  <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
+    <xsl:attribute name="onload">
+      <xsl:text>javascript:body.focus()</xsl:text>
+    </xsl:attribute>
+    <frame src="top-{$thisfoilgroup}" name="top" id="top" marginheight="0" frameborder="0"/>
+    <frame src="body-{$thisfoilgroup}" name="body" id="body" marginheight="0" frameborder="0"/>
+    <frame src="bot-{$thisfoilgroup}" name="bottom" id="bottom" marginheight="0" frameborder="0"/>
+    <noframes>
+      <body class="frameset">
+        <xsl:call-template name="body.attributes"/>
+        <p>
+          <xsl:text>Your browser doesn't support frames.</xsl:text>
+        </p>
+      </body>
+    </noframes>
+  </frameset>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="multiframe-top">
+  <xsl:variable name="foilgroup">
+    <xsl:text>foilgroup</xsl:text>
+    <xsl:number count="foilgroup" level="any" format="01"/>
+    <xsl:value-of select="$html.ext"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="foil[1]"/>
+  <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'top-',$foilgroup)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Navigation</title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0
+                        or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
+          <xsl:call-template name="foilgroup-top-nav">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="multiframe-body">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="foil[1]"/>
+  <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
+
+  <xsl:variable name="thisfoilgroup">
+    <xsl:text>foilgroup</xsl:text>
+    <xsl:number count="foilgroup" level="any" format="01"/>
+    <xsl:value-of select="$html.ext"/>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoilgroup)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Body</title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0
+                        or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <xsl:apply-templates select="." mode="singleframe"/>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="multiframe-bottom">
+  <xsl:variable name="thisfoilgroup">
+    <xsl:text>foilgroup</xsl:text>
+    <xsl:number count="foilgroup" level="any" format="01"/>
+    <xsl:value-of select="$html.ext"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="foil[1]"/>
+  <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoilgroup)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Navigation</title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0
+                        or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
+          <xsl:call-template name="foilgroup-bottom-nav">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="singleframe">
+  <xsl:param name="thisfoilgroup">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="foil[1]"/>
+  <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
+  <body class="foilgroup">
+    <xsl:call-template name="body.attributes"/>
+    <xsl:choose>
+      <xsl:when test="$active.toc != 0">
+        <xsl:attribute name="onload">
+          <xsl:text>newPage('</xsl:text>
+          <xsl:value-of select="$thisfoilgroup"/>
+          <xsl:text>',</xsl:text>
+          <xsl:value-of select="$overlay"/>
+          <xsl:text>);</xsl:text>
+        </xsl:attribute>
+      </xsl:when>
+      <xsl:when test="$overlay != 0">
+        <xsl:attribute name="onload">
+          <xsl:text>overlaySetup('lc');</xsl:text>
+        </xsl:attribute>
+      </xsl:when>
+    </xsl:choose>
+
+
+    <xsl:if test="$keyboard.nav != 0">
+      <xsl:attribute name="onkeypress">
+        <xsl:text>navigate(event)</xsl:text>
+      </xsl:attribute>
+    </xsl:if>
+
+    <div class="{name(.)}" id="{$id}">
+      <xsl:if test="$multiframe=0">
+        <xsl:call-template name="foilgroup-top-nav">
+          <xsl:with-param name="home" select="$home"/>
+          <xsl:with-param name="up" select="$up"/>
+          <xsl:with-param name="next" select="$next"/>
+          <xsl:with-param name="prev" select="$prev"/>
+        </xsl:call-template>
+      </xsl:if>
+
+      <div class="foilgroup-body" id="{$id}">
+	<xsl:call-template name="foilgroup-body">
+	  <xsl:with-param name="home" select="$home"/>
+	  <xsl:with-param name="up" select="$up"/>
+	  <xsl:with-param name="next" select="$next"/>
+	  <xsl:with-param name="prev" select="$prev"/>
+	</xsl:call-template>
+      </div>
+
+      <xsl:if test="$multiframe=0">
+        <div id="overlayDiv">
+          <xsl:if test="$overlay != 0">
+            <xsl:attribute name="style">
+              <xsl:text>position:absolute;visibility:visible;</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:call-template name="foilgroup-bottom-nav">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+        </div>
+      </xsl:if>
+    </div>
+
+    <xsl:call-template name="process.footnotes"/>
+  </body>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="foil">
+  <xsl:variable name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up"   select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="(following::foil
+                                    |following::foilgroup)[1]"/>
+  <xsl:variable name="prev" select="(preceding-sibling::foil[1]
+                                    |parent::foilgroup[1]
+                                    |/slides)[last()]"/>
+
+  <xsl:variable name="doctype-public">
+    <xsl:call-template name="doctype-public">
+      <xsl:with-param name="frameset" select="$multiframe"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="doctype-system">
+    <xsl:call-template name="doctype-system">
+      <xsl:with-param name="frameset" select="$multiframe"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="doctype-public" select="$doctype-public"/>
+    <xsl:with-param name="doctype-system" select="$doctype-system"/>
+    <xsl:with-param name="filename" select="concat($base.dir,$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+	<head>
+	  <title><xsl:value-of select="title"/></title>
+
+	  <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+ 	  <xsl:if test="$css.stylesheet != ''">
+	    <link type="text/css" rel="stylesheet">
+	      <xsl:attribute name="href">
+		<xsl:call-template name="css.stylesheet"/>
+	      </xsl:attribute>
+	    </link>
+	  </xsl:if>
+	  <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+	  <xsl:call-template name="links">
+	    <xsl:with-param name="home" select="$home"/>
+	    <xsl:with-param name="up" select="$up"/>
+	    <xsl:with-param name="next" select="$next"/>
+	    <xsl:with-param name="prev" select="$prev"/>
+	  </xsl:call-template>
+
+	  <xsl:if test="$overlay != 0 or $keyboard.nav != 0
+		  or $dynamic.toc != 0 or $active.toc != 0">
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text> </xsl:text>
+	    </script>
+	  </xsl:if>
+
+	  <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+	    <xsl:call-template name="ua.js"/>
+	    <xsl:call-template name="xbDOM.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	    <xsl:call-template name="xbLibrary.js"/>
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+	    <xsl:call-template name="xbStyle.js"/>
+	    <xsl:call-template name="xbCollapsibleLists.js"/>
+	    <xsl:call-template name="slides.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	  </xsl:if>
+
+	  <xsl:if test="$overlay != '0'">
+	    <xsl:call-template name="overlay.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	  </xsl:if>
+
+	  <xsl:call-template name="user.head.content"/>
+	</head>
+	<xsl:choose>
+	  <xsl:when test="$multiframe != 0">
+	    <xsl:apply-templates select="." mode="multiframe"/>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates select="." mode="singleframe"/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:if test="$multiframe != 0">
+    <xsl:apply-templates select="." mode="multiframe-top"/>
+    <xsl:apply-templates select="." mode="multiframe-body"/>
+    <xsl:apply-templates select="." mode="multiframe-bottom"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="foil" mode="multiframe">
+  <xsl:variable name="foilgroup" select="ancestor::foilgroup"/>
+
+  <xsl:variable name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
+    <xsl:attribute name="onload">
+      <xsl:text>javascript:body.focus()</xsl:text>
+      </xsl:attribute>
+    <frame src="top-{$thisfoil}" name="top" id="top" marginheight="0" frameborder="0">
+    </frame>
+    <frame src="body-{$thisfoil}" name="body" id="body" marginheight="0" frameborder="0">
+    </frame>
+    <frame src="bot-{$thisfoil}" name="bottom" id="bottom" marginheight="0" frameborder="0">
+    </frame>
+    <noframes>
+      <body class="frameset">
+        <xsl:call-template name="body.attributes"/>
+        <p>
+          <xsl:text>Your browser doesn't support frames.</xsl:text>
+        </p>
+      </body>
+    </noframes>
+  </frameset>
+</xsl:template>
+
+<xsl:template match="foil" mode="multiframe-top">
+  <xsl:variable name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up"   select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="(following::foil
+                                    |following::foilgroup)[1]"/>
+  <xsl:variable name="prev" select="(preceding-sibling::foil[1]
+                                    |parent::foilgroup[1]
+                                    |/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'top-',$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Navigation</title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0
+                        or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javajcript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
+          <xsl:call-template name="foil-top-nav">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foil" mode="multiframe-body">
+  <xsl:variable name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Body</title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0
+                        or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:variable name="home" select="/slides"/>
+            <xsl:variable name="up"   select="(parent::slides|parent::foilgroup)[1]"/>
+            <xsl:variable name="next" select="(following::foil
+                                              |following::foilgroup)[1]"/>
+            <xsl:variable name="prev" select="(preceding-sibling::foil[1]
+                                              |parent::foilgroup[1]
+                                              |/slides)[last()]"/>
+
+            <xsl:call-template name="links">
+              <xsl:with-param name="home" select="$home"/>
+              <xsl:with-param name="up" select="$up"/>
+              <xsl:with-param name="next" select="$next"/>
+              <xsl:with-param name="prev" select="$prev"/>
+            </xsl:call-template>
+
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+
+        </head>
+        <xsl:apply-templates select="." mode="singleframe"/>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foil" mode="multiframe-bottom">
+  <xsl:variable name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up"   select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="(following::foil
+                                    |following::foilgroup)[1]"/>
+  <xsl:variable name="prev" select="(preceding-sibling::foil[1]
+                                    |parent::foilgroup[1]
+                                    |/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Navigation</title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0
+                        or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
+          <xsl:call-template name="foil-bottom-nav">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foil" mode="singleframe">
+  <xsl:param name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up"   select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="(following::foil
+                                    |following::foilgroup)[1]"/>
+  <xsl:variable name="prev" select="(preceding-sibling::foil[1]
+                                    |parent::foilgroup[1]
+                                    |/slides)[last()]"/>
+
+  <body class="foil">
+    <xsl:call-template name="body.attributes"/>
+    <xsl:choose>
+      <xsl:when test="$active.toc != 0">
+        <xsl:attribute name="onload">
+          <xsl:text>newPage('</xsl:text>
+          <xsl:value-of select="$thisfoil"/>
+          <xsl:text>',</xsl:text>
+          <xsl:value-of select="$overlay"/>
+          <xsl:text>);</xsl:text>
+        </xsl:attribute>
+      </xsl:when>
+      <xsl:when test="$overlay != 0">
+        <xsl:attribute name="onload">
+          <xsl:text>overlaySetup('lc');</xsl:text>
+        </xsl:attribute>
+      </xsl:when>
+    </xsl:choose>
+
+    <xsl:if test="$keyboard.nav != 0">
+      <xsl:attribute name="onkeypress">
+        <xsl:text>navigate(event)</xsl:text>
+      </xsl:attribute>
+    </xsl:if>
+
+    <div class="{name(.)}" id="{$id}">
+      <xsl:if test="$multiframe=0">
+        <xsl:call-template name="foil-top-nav">
+          <xsl:with-param name="home" select="$home"/>
+          <xsl:with-param name="up" select="$up"/>
+          <xsl:with-param name="next" select="$next"/>
+          <xsl:with-param name="prev" select="$prev"/>
+        </xsl:call-template>
+      </xsl:if>
+
+      <div class="foil-body">
+	<xsl:apply-templates/>
+      </div>
+
+      <xsl:if test="$multiframe=0">
+        <div id="overlayDiv">
+          <xsl:if test="$overlay != 0">
+            <xsl:attribute name="style">
+              <xsl:text>position:absolute;visibility:visible;</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:call-template name="foil-bottom-nav">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+        </div>
+      </xsl:if>
+    </div>
+
+    <xsl:call-template name="process.footnotes"/>
+  </body>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="slidesinfo" mode="toc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <div id="{$id}" class="toc-slidesinfo">
+    <a href="{$titlefoil.html}" target="foil">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:apply-templates select="titleabbrev" mode="toc"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="title" mode="toc"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </a>
+    <hr/>
+  </div>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="toc">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:variable name="thisfoilgroup">
+    <xsl:text>foilgroup</xsl:text>
+    <xsl:number count="foilgroup" level="any" format="01"/>
+    <xsl:value-of select="$html.ext"/>
+  </xsl:variable>
+
+  <div class="toc-foilgroup" id="{$id}">
+    <img alt="-">
+      <xsl:attribute name="src">
+        <xsl:call-template name="minus.image"/>
+      </xsl:attribute>
+    </img>
+    <a href="{$thisfoilgroup}" target="foil">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:apply-templates select="titleabbrev" mode="toc"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="title" mode="toc"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </a>
+    <xsl:apply-templates select="foil" mode="toc"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="foil" mode="toc">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+  <xsl:variable name="foil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <div id="{$id}" class="toc-foil">
+    <img alt="-">
+      <xsl:attribute name="src">
+        <xsl:call-template name="bullet.image"/>
+      </xsl:attribute>
+    </img>
+    <a href="{$foil}" target="foil">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:apply-templates select="titleabbrev" mode="toc"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="title" mode="toc"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </a>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="slidesinfo" mode="ns-toc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:text>myList.addItem('</xsl:text>
+
+  <xsl:text disable-output-escaping="yes">&lt;div id="</xsl:text>
+  <xsl:value-of select="$id"/>
+  <xsl:text disable-output-escaping="yes">" class="toc-slidesinfo"&gt;</xsl:text>
+
+  <xsl:text disable-output-escaping="yes">&lt;a href="</xsl:text>
+  <xsl:value-of select="$titlefoil.html"/>
+  <xsl:text disable-output-escaping="yes">" target="foil"&gt;</xsl:text>
+
+  <xsl:call-template name="string.subst">
+    <xsl:with-param name="string">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:value-of select="titleabbrev"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="target">'</xsl:with-param>
+    <xsl:with-param name="replacement">\'</xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:text disable-output-escaping="yes">&lt;\/a&gt;&lt;\/div&gt;</xsl:text>
+  <xsl:text>');&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="ns-toc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:text>subList = new List(false, width, height, "</xsl:text>
+<xsl:value-of select="$toc.bg.color"/>
+<xsl:text>");&#10;</xsl:text>
+  <xsl:text>subList.setIndent(12);&#10;</xsl:text>
+  <xsl:apply-templates select="foil" mode="ns-toc"/>
+
+  <xsl:text>myList.addList(subList, '</xsl:text>
+
+  <xsl:text disable-output-escaping="yes">&lt;div id="</xsl:text>
+  <xsl:value-of select="$id"/>
+  <xsl:text disable-output-escaping="yes">" class="toc-foilgroup"&gt;</xsl:text>
+
+  <xsl:text disable-output-escaping="yes">&lt;a href="</xsl:text>
+  <xsl:apply-templates select="." mode="filename"/>
+  <xsl:text disable-output-escaping="yes">" target="foil"&gt;</xsl:text>
+
+  <xsl:call-template name="string.subst">
+    <xsl:with-param name="string">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:value-of select="titleabbrev"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="target">'</xsl:with-param>
+    <xsl:with-param name="replacement">\'</xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:text disable-output-escaping="yes">&lt;\/a&gt;&lt;\/div&gt;</xsl:text>
+  <xsl:text>');&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="foil" mode="ns-toc">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="ancestor::foilgroup">
+      <xsl:text>subList.addItem('</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>myList.addItem('</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:text disable-output-escaping="yes">&lt;div id="</xsl:text>
+  <xsl:value-of select="$id"/>
+  <xsl:text disable-output-escaping="yes">" class="toc-foil"&gt;</xsl:text>
+
+  <xsl:text disable-output-escaping="yes">&lt;img alt="-" src="</xsl:text>
+  <xsl:call-template name="bullet.image"/>
+  <xsl:text disable-output-escaping="yes">"&gt;&lt;\/img&gt;</xsl:text>
+
+  <xsl:text disable-output-escaping="yes">&lt;a href="</xsl:text>
+  <xsl:apply-templates select="." mode="filename"/>
+  <xsl:text disable-output-escaping="yes">" target="foil"&gt;</xsl:text>
+
+  <xsl:call-template name="string.subst">
+    <xsl:with-param name="string">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:value-of select="titleabbrev"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="target">'</xsl:with-param>
+    <xsl:with-param name="replacement">\'</xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:text disable-output-escaping="yes">&lt;\/a&gt;&lt;\/div&gt;</xsl:text>
+  <xsl:text>');&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="speakernotes" mode="ns-toc">
+  <!-- nop -->
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/html/graphics.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/html/graphics.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/html/graphics.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,151 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<!-- ====================================================================== -->
+
+<xsl:template name="graphics-file">
+  <xsl:param name="image" select="'bullet.gif'"/>
+
+  <xsl:variable name="source.graphics.dir">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'graphics-dir'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$source.graphics.dir != ''">
+      <xsl:value-of select="$source.graphics.dir"/>
+      <xsl:text>/</xsl:text>
+    </xsl:when>
+    <xsl:when test="$graphics.dir != ''">
+      <xsl:value-of select="$graphics.dir"/>
+      <xsl:text>/</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>http://docbook.sourceforge.net/release/slides/graphics/</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:value-of select="$image"/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- active navigation images -->
+
+<xsl:template name="toc.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$toc.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="home.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$home.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="up.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$up.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="prev.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$prev.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="next.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$next.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- inactive navigation images -->
+
+<xsl:template name="no.toc.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$no.toc.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="no.home.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$no.home.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="no.up.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$no.up.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="no.prev.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$no.prev.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="no.next.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$no.next.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- icon images -->
+
+<xsl:template name="bullet.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$bullet.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="plus.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$plus.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="minus.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$minus.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- hide/show ToC images -->
+
+<xsl:template name="hidetoc.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$hidetoc.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="showtoc.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$showtoc.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/html/jscript.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/html/jscript.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/html/jscript.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,127 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:output method="html"/>
+
+<xsl:template name="script-dir">
+  <xsl:variable name="source.script.dir">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'script-dir'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$source.script.dir != ''">
+      <xsl:value-of select="$source.script.dir"/>
+      <xsl:text>/</xsl:text>
+    </xsl:when>
+    <xsl:when test="$script.dir != ''">
+      <xsl:value-of select="$script.dir"/>
+      <xsl:text>/</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>http://docbook.sourceforge.net/release/slides/browser/</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="script-file">
+  <xsl:param name="js" select="'slides.js'"/>
+  <xsl:call-template name="script-dir"/>
+  <xsl:value-of select="$js"/>
+</xsl:template>
+
+<xsl:template name="ua.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$ua.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+<xsl:template name="xbDOM.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$xbDOM.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+<xsl:template name="xbStyle.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$xbStyle.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+<xsl:template name="xbLibrary.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$xbLibrary.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+<xsl:template name="xbCollapsibleLists.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$xbCollapsibleLists.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+<xsl:template name="overlay.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$overlay.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+<xsl:template name="slides.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$slides.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/html/plain.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/html/plain.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/html/plain.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,469 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:param name="prev.image"    select="'active/nav-prev.png'"/>
+<xsl:param name="next.image"    select="'active/nav-next.png'"/>
+<xsl:param name="up.image"      select="'active/nav-up.png'"/>
+<xsl:param name="toc.image"     select="'active/nav-toc.png'"/>
+<xsl:param name="home.image"    select="'active/nav-home.png'"/>
+
+<xsl:param name="no.prev.image" select="'inactive/nav-prev.png'"/>
+<xsl:param name="no.next.image" select="'inactive/nav-next.png'"/>
+<xsl:param name="no.up.image"   select="'inactive/nav-up.png'"/>
+<xsl:param name="no.toc.image"  select="'inactive/nav-toc.png'"/>
+<xsl:param name="no.home.image" select="'inactive/nav-home.png'"/>
+
+<xsl:param name="css.stylesheet" select="'slides-plain.css'"/>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="top-nav">
+  <xsl:param name="prev"/>
+  <xsl:param name="next"/>
+  <xsl:param name="up"/>
+  <xsl:param name="home"/>
+  <xsl:param name="toc" select="$toc.html"/>
+
+  <div class="navhead">
+    <table width="100%" border="0" cellpadding="0" cellspacing="0"
+           summary="Navigation">
+      <tr>
+        <td align="left" width="50%">
+          <span class="slidestitle">
+            <xsl:value-of select="(/slides/slidesinfo/title)[1]"/>
+          </span>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td align="right" width="50%">
+          <xsl:choose>
+            <xsl:when test="$home">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$home" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$home/slidesinfo/title"/>
+                </xsl:attribute>
+                <img alt="Home" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="home.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Home" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.home.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$toc != ''">
+              <a title="ToC" href="{$toc}">
+                <img alt="ToC" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="toc.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="ToC" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.toc.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$prev" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$prev/title"/>
+                </xsl:attribute>
+                <img alt="Prev" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Prev" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.prev.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$up">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$up" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$up/title"/>
+                </xsl:attribute>
+                <img alt="Up" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="up.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Up" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.up.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$next">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$next" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$next/title"/>
+                </xsl:attribute>
+                <img alt="Next" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="next.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Next" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.next.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="titlepage-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="next"/>
+  <xsl:param name="toc" select="$toc.html"/>
+
+  <div class="navhead">
+    <table width="100%" border="0" cellpadding="0" cellspacing="0"
+           summary="Navigation">
+      <tr>
+        <td align="left" width="50%">
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td align="right" width="50%">
+          <xsl:choose>
+            <xsl:when test="$home">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$home" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$home/slidesinfo/title"/>
+                </xsl:attribute>
+                <img alt="Home" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="home.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Home" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.home.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$toc.html != ''">
+              <a title="ToC" href="{$toc.html}">
+                <img alt="ToC" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="toc.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="ToC" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.toc.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$prev" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$prev/title"/>
+                </xsl:attribute>
+                <img alt="Prev" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Prev" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.prev.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$up">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$up" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$up/title"/>
+                </xsl:attribute>
+                <img alt="Up" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="up.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Up" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.up.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$next">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$next" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$next/title"/>
+                </xsl:attribute>
+                <img alt="Next" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="next.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Next" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.next.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="toc-top-nav">
+  <xsl:param name="home" select="/slides"/>
+  <xsl:param name="up"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="next" select="(foil|foilgroup)[1]"/>
+  <xsl:param name="toc"/>
+
+  <div class="navhead">
+    <table width="100%" border="0" cellpadding="0" cellspacing="0"
+           summary="Navigation">
+      <tr>
+        <td align="left" width="50%">
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td align="right" width="50%">
+          <xsl:choose>
+            <xsl:when test="$home">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$home" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$home/slidesinfo/title"/>
+                </xsl:attribute>
+                <img alt="Home" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="home.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Home" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.home.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$toc != ''">
+              <a title="ToC" href="{$toc}">
+                <img alt="ToC" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="toc.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="ToC" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.toc.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$prev" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$prev/title"/>
+                </xsl:attribute>
+                <img alt="Prev" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Prev" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.prev.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$up">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$up" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$up/title"/>
+                </xsl:attribute>
+                <img alt="Up" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="up.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Up" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.up.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$next">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$next" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$next/title"/>
+                </xsl:attribute>
+                <img alt="Next" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="next.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Next" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.next.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="bottom-nav"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/html/slides-common.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/html/slides-common.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/html/slides-common.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1541 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		version="1.0">
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/>
+<xsl:include href="../../VERSION"/>
+
+<xsl:include href="../param.xsl"/>
+<xsl:include href="jscript.xsl"/>
+<xsl:include href="graphics.xsl"/>
+<xsl:include href="css.xsl"/>
+
+<xsl:output method="html"/>
+
+<xsl:strip-space elements="slides foil foilgroup"/>
+
+<!-- Process the slides -->
+
+<xsl:template match="/">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="slides">
+  <xsl:apply-templates select="." mode="toc"/>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- Every slide has top and bottom navigation -->
+
+<xsl:template name="top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table border="0" width="100%" cellspacing="0" cellpadding="0"
+           summary="Navigation table">
+      <tr>
+        <td align="left" valign="bottom">
+          <xsl:if test="$home">
+            <span class="slidestitle">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$home" mode="filename"/>
+                </xsl:attribute>
+                <xsl:value-of select="($home/title|$home/slidesinfo/title)[1]"/>
+              </a>
+            </span>
+          </xsl:if>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+
+        <td align="right" valign="bottom">
+          <xsl:choose>
+            <xsl:when test="$home">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$home" mode="filename"/>
+                  </xsl:attribute>
+                  <img alt="{$text.home}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="home.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.home}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.home.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$tocfile">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:value-of select="$tocfile"/>
+                  </xsl:attribute>
+                  <img alt="{$text.toc}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="toc.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.toc}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.toc.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <img alt="{$text.prev}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.prev}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$up">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$up" mode="filename"/>
+                  </xsl:attribute>
+                  <img alt="{$text.up}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="up.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.up}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.up.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$next">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <img alt="{$text.next}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.next}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.next.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<xsl:template name="bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navfoot">
+    <hr class="bottom-nav-sep"/>
+    <table border="0" width="100%" cellspacing="0" cellpadding="0"
+           summary="Navigation table">
+      <tr>
+        <td align="left" valign="top">
+          <xsl:apply-templates select="/slides/slidesinfo/copyright"
+                               mode="slide.footer.mode"/>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+
+        <td align="right" valign="top">
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <img alt="{$text.prev}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.prev}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$next">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <img alt="{$text.next}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.next}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.next.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<!-- Navigation is also provided in the form of links in the head -->
+
+<xsl:template name="links">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:if test="$tocfile != ''">
+    <link rel="contents" href="{$tocfile}">
+      <xsl:attribute name="title">
+        <xsl:value-of select="/slides/slidesinfo/title"/>
+      </xsl:attribute>
+    </link>
+  </xsl:if>
+
+  <xsl:if test="$home">
+    <link rel="top">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="$home" mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="($home/title|$home/slidesinfo/title)[1]"/>
+      </xsl:attribute>
+    </link>
+
+    <link rel="first">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="$home" mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="($home/title|$home/slidesinfo/title)[1]"/>
+      </xsl:attribute>
+    </link>
+  </xsl:if>
+
+  <xsl:if test="$up">
+    <link rel="up">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="$up" mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="($up/title|$up/slidesinfo/title)[1]"/>
+      </xsl:attribute>
+    </link>
+  </xsl:if>
+
+  <xsl:if test="$prev">
+    <link rel="previous">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="$prev" mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="($prev/title|$prev/slidesinfo/title)[1]"/>
+      </xsl:attribute>
+    </link>
+  </xsl:if>
+
+  <xsl:if test="$next">
+    <link rel="next">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="$next" mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="$next/title"/>
+      </xsl:attribute>
+    </link>
+
+    <xsl:variable name="last" select="$next/following::foil[last()]"/>
+    <xsl:if test="$last">
+      <link rel="last">
+        <xsl:attribute name="href">
+          <xsl:apply-templates select="$last" mode="filename"/>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:value-of select="$last/title"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+  </xsl:if>
+
+  <xsl:for-each select="foil">
+    <link rel="slides">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="." mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="title[1]"/>
+      </xsl:attribute>
+    </link>
+  </xsl:for-each>
+
+  <xsl:for-each select="foilgroup|../foilgroup">
+    <link rel="section">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="." mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="title[1]"/>
+      </xsl:attribute>
+    </link>
+  </xsl:for-each>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- There are four kinds of slides: titlepage, toc, foil, and foilgroup -->
+<!-- titlepage -->
+
+<xsl:template match="slidesinfo">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="next" select="(/slides/foil|/slides/foilgroup)[1]"/>
+  <xsl:variable name="tocfile" select="$toc.html"/>
+  <xsl:variable name="dir">
+    <xsl:call-template name="dbhtml-dir"/>
+  </xsl:variable>
+
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $dir, $titlefoil.html)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="title"/></title>
+
+          <xsl:call-template name="system.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+	  
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <!-- Links -->
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="/slides"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="tocfile" select="$tocfile"/>
+          </xsl:call-template>
+
+          <!-- Scripts -->
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+        </head>
+        <body>
+          <xsl:attribute name="class">
+            <xsl:text>titlepage</xsl:text>
+            <xsl:if test="@role">
+              <xsl:text>-</xsl:text>
+              <xsl:value-of select="@role"/>
+            </xsl:if>
+          </xsl:attribute>
+
+          <xsl:call-template name="body.attributes"/>
+          <xsl:if test="$overlay != 0">
+            <xsl:attribute name="onload">
+              <xsl:text>overlaySetup('lc')</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:attribute name="onkeypress">
+              <xsl:text>navigate(event)</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <div class="titlepage" id="{$id}">
+            <xsl:call-template name="titlepage-top-nav">
+              <xsl:with-param name="next" select="$next"/>
+              <xsl:with-param name="tocfile" select="$tocfile"/>
+            </xsl:call-template>
+
+            <div class="titlepage-body">
+              <xsl:call-template name="titlepage-body"/>
+            </div>
+
+            <div id="overlayDiv">
+              <xsl:call-template name="overlayDiv.attributes"/>
+              <xsl:call-template name="titlepage-bottom-nav">
+                <xsl:with-param name="next" select="$next"/>
+                <xsl:with-param name="tocfile" select="$tocfile"/>
+              </xsl:call-template>
+            </div>
+          </div>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="titlepage-body">
+  <div class="{name(.)}">
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template name="titlepage-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:call-template name="top-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="tocfile" select="$tocfile"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="titlepage-bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:call-template name="bottom-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="tocfile" select="$tocfile"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="slidesinfo/title">
+  <h1 class="{name(.)}"><xsl:apply-templates/></h1>
+</xsl:template>
+
+<xsl:template match="slidesinfo/authorgroup">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="slidesinfo/author|slidesinfo/authorgroup/author">
+  <h1 class="{name(.)}"><xsl:apply-imports/></h1>
+</xsl:template>
+
+<xsl:template match="slidesinfo/releaseinfo">
+  <h4 class="{name(.)}"><xsl:apply-templates/></h4>
+</xsl:template>
+
+<xsl:template match="slidesinfo/date">
+  <h4 class="{name(.)}"><xsl:apply-templates/></h4>
+</xsl:template>
+
+<xsl:template match="slidesinfo/copyright">
+  <!-- nop -->
+</xsl:template>
+
+<!-- On slides, output the credits explicitly each time -->
+<xsl:template match="othercredit" mode="titlepage.mode">
+  <xsl:variable name="contrib" select="string(contrib)"/>
+  <xsl:choose>
+    <xsl:when test="contrib">
+      <xsl:call-template name="paragraph">
+	<xsl:with-param name="class" select="name(.)"/>
+	<xsl:with-param name="content">
+	  <xsl:apply-templates mode="titlepage.mode" select="contrib"/>
+	  <xsl:text>: </xsl:text>
+	  <xsl:call-template name="person.name"/>
+	  <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+	</xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="paragraph">
+        <xsl:with-param name="class" select="name(.)"/>
+        <xsl:with-param name="content">
+          <xsl:call-template name="person.name"/>
+        </xsl:with-param>
+      </xsl:call-template>
+      <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- toc -->
+
+<xsl:template match="slides" mode="toc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="/slides"/>
+  <xsl:variable name="next" select="(foil|foilgroup)[1]"/>
+  <xsl:variable name="tocfile" select="''"/>
+  <xsl:variable name="dir"> <!-- MJ: added -->
+    <xsl:call-template name="dbhtml-dir"/>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $dir, $toc.html)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="slidesinfo/title"/></title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <!-- Links -->
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="tocfile" select="$tocfile"/>
+          </xsl:call-template>
+
+          <!-- Scripts -->
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+
+        <body class="tocpage">
+          <xsl:call-template name="body.attributes"/>
+          <xsl:if test="$overlay != 0">
+            <xsl:attribute name="onload">
+              <xsl:text>overlaySetup('lc')</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:attribute name="onkeypress">
+              <xsl:text>navigate(event)</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <div id="{$id}">
+            <xsl:call-template name="toc-top-nav">
+              <xsl:with-param name="home" select="$home"/>
+              <xsl:with-param name="up" select="$up"/>
+              <xsl:with-param name="next" select="$next"/>
+              <xsl:with-param name="tocfile" select="$tocfile"/>
+            </xsl:call-template>
+
+            <div class="toc-body">
+              <xsl:call-template name="toc-body"/>
+            </div>
+
+            <div id="overlayDiv">
+              <xsl:call-template name="overlayDiv.attributes"/>
+              <xsl:call-template name="toc-bottom-nav">
+                <xsl:with-param name="home" select="$home"/>
+                <xsl:with-param name="up" select="$up"/>
+                <xsl:with-param name="next" select="$next"/>
+                <xsl:with-param name="tocfile" select="$tocfile"/>
+              </xsl:call-template>
+            </div>
+          </div>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="toc-body">
+  <h1 class="title">
+    <a href="{$titlefoil.html}">
+      <xsl:value-of select="/slides/slidesinfo/title"/>
+    </a>
+  </h1>
+
+  <p class="toctitle">
+    <b>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key">TableofContents</xsl:with-param>
+      </xsl:call-template>
+    </b>
+  </p>
+  <dl class="toc">
+    <xsl:apply-templates select="foilgroup|foil" mode="toc"/>
+  </dl>
+</xsl:template>
+
+<xsl:template name="toc-top-nav">
+  <xsl:param name="home" select="/slides"/>
+  <xsl:param name="up"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="next" select="(foil|foilgroup)[1]"/>
+  <xsl:param name="tocfile"/>
+
+  <xsl:call-template name="top-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="tocfile" select="$tocfile"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="toc-bottom-nav">
+  <xsl:param name="home" select="/slides"/>
+  <xsl:param name="up"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="next" select="(foil|foilgroup)[1]"/>
+  <xsl:param name="tocfile"/>
+
+  <xsl:call-template name="bottom-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="tocfile" select="$tocfile"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="toc">
+  <xsl:param name="recursive" select="1"/>
+
+  <dt>
+    <xsl:apply-templates select="." mode="number"/>
+    <xsl:text>. </xsl:text>
+    <a>
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="." mode="filename"/>
+      </xsl:attribute>
+      <xsl:value-of select="title"/>
+    </a>
+  </dt>
+  <xsl:if test="$recursive != 0">
+    <dd>
+      <dl class="toc">
+	<xsl:apply-templates select="foil" mode="toc"/>
+      </dl>
+    </dd>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="foil" mode="toc">
+  <dt>
+    <xsl:apply-templates select="." mode="number"/>
+    <xsl:text>. </xsl:text>
+    <a>
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="." mode="filename"/>
+      </xsl:attribute>
+      <xsl:value-of select="title"/>
+    </a>
+  </dt>
+</xsl:template>
+
+<xsl:template match="title|titleabbrev" mode="toc">
+  <xsl:apply-templates mode="toc"/>
+</xsl:template>
+
+<xsl:template match="speakernotes" mode="toc">
+  <!-- nop -->
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- foil -->
+
+<xsl:template match="foil">
+  <xsl:param name="thisfoil">
+    <xsl:apply-templates select="." mode="chunk-filename"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up"   select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="(following::foil
+                                    |following::foilgroup)[1]"/>
+  <xsl:variable name="prev" select="(preceding-sibling::foil[1]
+                                    |parent::foilgroup[1]
+                                    |/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="title"/></title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <!-- Links -->
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+
+          <!-- Scripts -->
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body>
+          <xsl:attribute name="class">
+            <xsl:value-of select="local-name(.)"/>
+            <xsl:if test="@role">
+              <xsl:text>-</xsl:text>
+              <xsl:value-of select="@role"/>
+            </xsl:if>
+          </xsl:attribute>
+
+          <xsl:call-template name="body.attributes"/>
+          <xsl:if test="$overlay != 0">
+            <xsl:attribute name="onload">
+              <xsl:text>overlaySetup('lc')</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:attribute name="onkeypress">
+              <xsl:text>navigate(event)</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <div class="{name(.)}" id="{$id}">
+            <xsl:call-template name="foil-top-nav">
+              <xsl:with-param name="home" select="$home"/>
+              <xsl:with-param name="up" select="$up"/>
+              <xsl:with-param name="next" select="$next"/>
+              <xsl:with-param name="prev" select="$prev"/>
+            </xsl:call-template>
+
+            <div class="foil-body">
+              <xsl:call-template name="foil-body">
+                <xsl:with-param name="home" select="$home"/>
+                <xsl:with-param name="up" select="$up"/>
+                <xsl:with-param name="next" select="$next"/>
+                <xsl:with-param name="prev" select="$prev"/>
+              </xsl:call-template>
+            </div>
+
+            <div id="overlayDiv">
+              <xsl:call-template name="overlayDiv.attributes"/>
+              <xsl:call-template name="foil-bottom-nav">
+                <xsl:with-param name="home" select="$home"/>
+                <xsl:with-param name="up" select="$up"/>
+                <xsl:with-param name="next" select="$next"/>
+                <xsl:with-param name="prev" select="$prev"/>
+              </xsl:call-template>
+            </div>
+          </div>
+
+          <xsl:call-template name="process.footnotes"/>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="foil-body">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template name="foil-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:call-template name="top-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="foil-bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:call-template name="bottom-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foil/title">
+  <h1 class="{name(.)}">
+    <xsl:apply-templates/>
+  </h1>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- foilgroup -->
+
+<xsl:template match="foilgroup">
+  <xsl:param name="thisfoilgroup">
+    <xsl:apply-templates select="." mode="chunk-filename"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="foil[1]"/>
+  <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $thisfoilgroup)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="title"/></title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <!-- Links -->
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+
+          <!-- Scripts -->
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body>
+          <xsl:attribute name="class">
+            <xsl:value-of select="local-name(.)"/>
+            <xsl:if test="@role">
+              <xsl:text>-</xsl:text>
+              <xsl:value-of select="@role"/>
+            </xsl:if>
+          </xsl:attribute>
+
+          <xsl:call-template name="body.attributes"/>
+          <xsl:if test="$overlay != 0">
+            <xsl:attribute name="onload">
+              <xsl:text>overlaySetup('lc')</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:attribute name="onkeypress">
+              <xsl:text>navigate(event)</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <div class="{name(.)}" id="{$id}">
+            <xsl:call-template name="foilgroup-top-nav">
+              <xsl:with-param name="home" select="$home"/>
+              <xsl:with-param name="up" select="$up"/>
+              <xsl:with-param name="next" select="$next"/>
+              <xsl:with-param name="prev" select="$prev"/>
+            </xsl:call-template>
+
+	    <!-- n.b. the foilgroup-body template is responsible for generating -->
+	    <!-- the foilgroup toc -->
+            <div class="foilgroup-body">
+              <xsl:call-template name="foilgroup-body">
+                <xsl:with-param name="home" select="$home"/>
+                <xsl:with-param name="up" select="$up"/>
+                <xsl:with-param name="next" select="$next"/>
+                <xsl:with-param name="prev" select="$prev"/>
+              </xsl:call-template>
+            </div>
+
+            <div id="overlayDiv">
+              <xsl:call-template name="overlayDiv.attributes"/>
+              <xsl:call-template name="foilgroup-bottom-nav">
+                <xsl:with-param name="home" select="$home"/>
+                <xsl:with-param name="up" select="$up"/>
+                <xsl:with-param name="next" select="$next"/>
+                <xsl:with-param name="prev" select="$prev"/>
+              </xsl:call-template>
+            </div>
+          </div>
+
+          <xsl:call-template name="process.footnotes"/>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:apply-templates select="foil"/>
+</xsl:template>
+
+<xsl:template match="foilgroup/title">
+  <h1 class="{name(.)}"><xsl:apply-templates/></h1>
+</xsl:template>
+
+<xsl:template name="foilgroup-body">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:apply-templates select="*[name(.) != 'foil'
+                                and name(.) != 'foilgroup']"/>
+
+  <xsl:if test="$foilgroup.toc != 0">
+    <dl class="toc">
+      <xsl:apply-templates select="foil" mode="toc"/>
+    </dl>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="foilgroup-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:call-template name="top-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="foilgroup-bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:call-template name="bottom-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="overlayDiv.attributes">
+  <xsl:choose>
+    <xsl:when test="$overlay != 0">
+      <xsl:attribute name="style">
+        <xsl:text>position: absolute; visibility: visible;</xsl:text>
+      </xsl:attribute>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:attribute name="style">padding-top: 2in;</xsl:attribute>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="processing-instruction('dbhtml')" mode="css.pi">
+  <xsl:variable name="href">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="."/>
+      <xsl:with-param name="attribute" select="'css-stylesheet'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="$href!=''">
+  <xsl:choose>
+    <xsl:when test="$href = ''">
+      <!-- nop -->
+    </xsl:when>
+    <xsl:when test="contains($href, '//')">
+      <link type="text/css" rel="stylesheet" href="{$href}"/>
+    </xsl:when>
+    <xsl:when test="starts-with($href, '/')">
+      <link type="text/css" rel="stylesheet" href="{$href}"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <link type="text/css" rel="stylesheet">
+        <xsl:attribute name="href">
+          <xsl:call-template name="css-file">
+            <xsl:with-param name="css" select="$href"/>
+          </xsl:call-template>
+        </xsl:attribute>
+      </link>
+    </xsl:otherwise>
+  </xsl:choose>
+  </xsl:if>
+
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="foil" mode="number">
+  <xsl:number count="foil|foilgroup" level="any"/>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="number">
+  <xsl:number count="foil|foilgroup" level="any"/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="slides" mode="filename">
+  <xsl:value-of select="$titlefoil.html"/>
+</xsl:template>
+
+<xsl:template match="foil" mode="filename">
+  <xsl:text>foil</xsl:text>
+  <xsl:number count="foil" level="any" format="01"/>
+  <xsl:value-of select="$html.ext"/>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="filename">
+  <xsl:text>foilgroup</xsl:text>
+  <xsl:number count="foilgroup" level="any" format="01"/>
+  <xsl:value-of select="$html.ext"/>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="processing-instruction('Pub')">
+  <xsl:variable name="pidata"><xsl:value-of select="(.)"/></xsl:variable>
+  <xsl:choose>
+    <xsl:when test="contains($pidata,'UDT')"></xsl:when>
+    <xsl:when test="contains($pidata,'/_font')">
+      <xsl:text disable-output-escaping="yes">&lt;/span&gt;</xsl:text>
+    </xsl:when>
+    <xsl:when test="contains($pidata,'_font')">
+      <xsl:text disable-output-escaping="yes">&lt;span </xsl:text>
+      <xsl:choose>
+        <xsl:when test="contains($pidata,'green')">class="green"</xsl:when>
+        <xsl:when test="contains($pidata,'blue')">class="blue"</xsl:when>
+        <xsl:when test="contains($pidata,'orange')">class="orange"</xsl:when>
+        <xsl:when test="contains($pidata,'red')">class="red"</xsl:when>
+        <xsl:when test="contains($pidata,'brown')">class="brown"</xsl:when>
+        <xsl:when test="contains($pidata,'violet')">class="violet"</xsl:when>
+        <xsl:when test="contains($pidata,'black')">class="black"</xsl:when>
+        <xsl:otherwise>class="bold"</xsl:otherwise>
+      </xsl:choose>
+      <xsl:text disable-output-escaping="yes">&gt;</xsl:text>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+<!-- blocks -->
+
+<xsl:template match="figure">
+  <div class="{name(.)}">
+    <xsl:apply-imports/>
+  </div>
+  <xsl:if test="following-sibling::*"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template match="copyright" mode="slide.footer.mode">
+  <span class="{name(.)}">
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'Copyright'"/>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">copyright</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="copyright.years">
+      <xsl:with-param name="years" select="year"/>
+      <xsl:with-param name="print.ranges" select="$make.year.ranges"/>
+      <xsl:with-param name="single.year.ranges"
+                      select="$make.single.year.ranges"/>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="holder" mode="titlepage.mode"/>
+  </span>
+</xsl:template>
+
+<!-- ============================================================ -->
+<!-- inlines -->
+
+<xsl:template match="link">
+  <xsl:call-template name="link">
+    <xsl:with-param name="a.target" select="'foil'"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="ulink">
+  <a>
+    <xsl:if test="@id">
+      <xsl:attribute name="name"><xsl:value-of select="@id"/></xsl:attribute>
+    </xsl:if>
+    <xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute>
+    <xsl:if test="$ulink.target != ''">
+      <xsl:attribute name="target">
+        <xsl:value-of select="$ulink.target"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:choose>
+      <xsl:when test="count(child::node())=0">
+	<xsl:value-of select="@url"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:apply-templates/>
+        <xsl:if test="@role='show'">
+          <xsl:text> (</xsl:text>
+          <xsl:value-of select="@url"/>
+          <xsl:text>)</xsl:text>
+        </xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </a>
+</xsl:template>
+
+<xsl:template match="title/ulink">
+  <a>
+    <xsl:if test="@id">
+      <xsl:attribute name="name"><xsl:value-of select="@id"/></xsl:attribute>
+    </xsl:if>
+    <xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute>
+    <xsl:if test="$ulink.target != ''">
+      <xsl:attribute name="target">
+        <xsl:value-of select="$ulink.target"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:choose>
+      <xsl:when test="count(child::node())=0">
+	<xsl:value-of select="@url"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </a>
+</xsl:template>
+
+<xsl:template match="subtitle">
+  <h2 class="subtitle">
+    <xsl:apply-templates/>
+  </h2>
+</xsl:template>
+
+<xsl:template match="graphic">
+  <center>
+    <!-- can't this be done a better way? -->
+    <xsl:apply-imports/>
+  </center>
+</xsl:template>
+
+<xsl:template match="titleabbrev">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="speakernotes">
+  <!-- nop -->
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- Chunking for slides -->
+
+<xsl:template name="chunk">
+  <xsl:param name="node" select="."/>
+  <xsl:choose>
+    <xsl:when test="name($node)='slides'">1</xsl:when>
+    <xsl:when test="name($node)='foilgroup'">1</xsl:when>
+    <xsl:when test="name($node)='foil'">1</xsl:when>
+    <xsl:otherwise>0</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="chunk-filename">
+  <xsl:param name="recursive">0</xsl:param>
+  <!-- returns the filename of a chunk -->
+  <xsl:variable name="ischunk"><xsl:call-template name="chunk"/></xsl:variable>
+  <xsl:variable name="filename">
+    <xsl:call-template name="dbhtml-filename"/>
+  </xsl:variable>
+  <xsl:variable name="dir">
+    <xsl:call-template name="dbhtml-dir"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$ischunk='0'">
+      <!-- if called on something that isn't a chunk, walk up... -->
+      <xsl:choose>
+        <xsl:when test="count(./parent::*)>0">
+          <xsl:apply-templates mode="chunk-filename" select="./parent::*">
+            <xsl:with-param name="recursive" select="$recursive"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <!-- unless there is no up, in which case return "" -->
+        <xsl:otherwise></xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="not($recursive) and $filename != ''">
+      <!-- if this chunk has an explicit name, use it -->
+      <xsl:if test="$dir != ''">
+        <xsl:value-of select="$dir"/>
+        <xsl:text>/</xsl:text>
+      </xsl:if>
+      <xsl:value-of select="$filename"/>
+    </xsl:when>
+
+    <xsl:when test="name(.)='foil'">
+      <xsl:variable name="foilnumber">
+	<xsl:number count="foil" level="any"/>
+      </xsl:variable>
+
+      <xsl:value-of select="$dir"/>
+      <xsl:text>foil</xsl:text>
+      <xsl:number value="$foilnumber" format="01"/>
+      <xsl:value-of select="$html.ext"/>
+    </xsl:when>
+
+    <xsl:when test="name(.)='foilgroup'">
+      <xsl:variable name="foilgroupnumber">
+        <xsl:number count="foilgroup" level="any" format="01"/>
+      </xsl:variable>
+
+      <xsl:value-of select="$dir"/>
+      <xsl:text>foilgroup</xsl:text>
+      <xsl:number value="$foilgroupnumber" format="01"/>
+      <xsl:value-of select="$html.ext"/>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:text>chunk-filename-error-</xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:number level="any" format="01" from="set"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- Handling of xrefs -->
+
+<xsl:template match="foil|foilgroup" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="@*" mode="copy">
+  <xsl:attribute name="{local-name(.)}">
+    <xsl:value-of select="."/>
+  </xsl:attribute>
+</xsl:template>
+
+<xsl:template match="html:*" xmlns:html='http://www.w3.org/1999/xhtml'>
+  <xsl:element name="{local-name(.)}" namespace="">
+    <xsl:apply-templates select="@*" mode="copy"/>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="foil.number">
+  <xsl:choose>
+    <xsl:when test="$show.foil.number != 0 and self::foil">
+      <xsl:number count="foil" level="any"/>
+      /
+      <xsl:value-of select="count(//foil)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      &#160;
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/html/tables.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/html/tables.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/html/tables.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,336 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:param name="blank.image" select="'blank.png'"/>
+<xsl:param name="arrow.image" select="'pointer.png'"/>
+
+<xsl:param name="toc.bg.color">#6A719C</xsl:param>
+<xsl:param name="toc.width">220</xsl:param>
+
+<xsl:param name="css.stylesheet" select="'slides-table.css'"/>
+
+<!-- ============================================================ -->
+
+<xsl:template name="foilgroup-body">
+  <table border="0" width="100%" summary="Navigation and body table"
+         cellpadding="0" cellspacing="0">
+    <tr>
+      <td width="{$toc.width}" valign="top" align="left">
+	<xsl:if test="$toc.bg.color != ''">
+	  <xsl:attribute name="bgcolor">
+	    <xsl:value-of select="$toc.bg.color"/>
+	  </xsl:attribute>
+	</xsl:if>
+        <div class="ttoc">
+          <xsl:apply-templates select="." mode="t-toc"/>
+        </div>
+      </td>
+      <td>&#160;</td>
+      <td valign="top" align="left">
+	<xsl:if test="$body.bg.color != ''">
+	  <xsl:attribute name="bgcolor">
+	    <xsl:value-of select="$body.bg.color"/>
+	  </xsl:attribute>
+	</xsl:if>
+        <div class="{name(.)}">
+          <xsl:apply-templates select="*[name(.) != 'foil'
+                                         and name(.) != 'foilgroup']"/>
+        </div>
+
+	<xsl:if test="$foilgroup.toc != 0">
+	  <dl class="toc">
+	    <xsl:apply-templates select="foil" mode="toc"/>
+	  </dl>
+	</xsl:if>
+      </td>
+    </tr>
+  </table>
+</xsl:template>
+
+<xsl:template name="foil-body">
+  <table border="0" width="100%" summary="Navigation and body table"
+         cellpadding="0" cellspacing="0">
+    <tr>
+      <td width="{$toc.width}" valign="top" align="left">
+	<xsl:if test="$toc.bg.color != ''">
+	  <xsl:attribute name="bgcolor">
+	    <xsl:value-of select="$toc.bg.color"/>
+	  </xsl:attribute>
+	</xsl:if>
+        <div class="ttoc">
+          <xsl:apply-templates select="." mode="t-toc"/>
+        </div>
+      </td>
+      <td>&#160;</td>
+      <td valign="top" align="left">
+	<xsl:if test="$body.bg.color != ''">
+	  <xsl:attribute name="bgcolor">
+	    <xsl:value-of select="$body.bg.color"/>
+	  </xsl:attribute>
+	</xsl:if>
+        <div class="{name(.)}">
+          <xsl:apply-templates/>
+        </div>
+      </td>
+    </tr>
+  </table>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="foilgroup" mode="t-toc">
+  <xsl:variable name="thisfoilgroup" select="."/>
+
+  <xsl:for-each select="/slides/foil|/slides/foilgroup">
+    <xsl:choose>
+      <xsl:when test="name(.) = 'foilgroup'">
+        <xsl:choose>
+          <xsl:when test="$thisfoilgroup = .">
+            <img alt="+">
+              <xsl:attribute name="src">
+                <xsl:call-template name="graphics-file">
+                  <xsl:with-param name="image" select="$arrow.image"/>
+                </xsl:call-template>
+              </xsl:attribute>
+            </img>
+          </xsl:when>
+          <xsl:otherwise>
+            <img alt=" ">
+              <xsl:attribute name="src">
+                <xsl:call-template name="graphics-file">
+                  <xsl:with-param name="image" select="$blank.image"/>
+                </xsl:call-template>
+              </xsl:attribute>
+            </img>
+          </xsl:otherwise>
+        </xsl:choose>
+
+        <span class="ttoc-foilgroup">
+          <a>
+            <xsl:attribute name="href">
+              <xsl:apply-templates select="." mode="filename"/>
+            </xsl:attribute>
+            <xsl:apply-templates select="." mode="toc-title"/>
+          </a>
+        </span>
+        <br/>
+
+        <xsl:if test="$thisfoilgroup = .">
+          <xsl:for-each select="foil">
+            <img alt=" ">
+              <xsl:attribute name="src">
+                <xsl:call-template name="graphics-file">
+                  <xsl:with-param name="image" select="$blank.image"/>
+                </xsl:call-template>
+              </xsl:attribute>
+            </img>
+            <img alt=" ">
+              <xsl:attribute name="src">
+                <xsl:call-template name="graphics-file">
+                  <xsl:with-param name="image" select="$blank.image"/>
+                </xsl:call-template>
+              </xsl:attribute>
+            </img>
+
+            <span class="ttoc-foil">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="." mode="filename"/>
+                </xsl:attribute>
+                <xsl:apply-templates select="." mode="toc-title"/>
+              </a>
+            </span>
+            <br/>
+          </xsl:for-each>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+        <img alt=" ">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$blank.image"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+        <span class="ttoc-foil">
+          <a>
+            <xsl:attribute name="href">
+              <xsl:apply-templates select="." mode="filename"/>
+            </xsl:attribute>
+            <xsl:apply-templates select="." mode="toc-title"/>
+          </a>
+        </span>
+        <br/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:for-each>
+</xsl:template>
+
+<xsl:template match="foil" mode="t-toc">
+  <xsl:variable name="thisfoil" select="."/>
+
+  <xsl:for-each select="/slides/foil|/slides/foilgroup">
+    <xsl:choose>
+      <xsl:when test="name(.) = 'foilgroup'">
+        <img alt=" ">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$blank.image"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+        <span class="ttoc-foilgroup">
+          <a>
+            <xsl:attribute name="href">
+              <xsl:apply-templates select="." mode="filename"/>
+            </xsl:attribute>
+            <xsl:apply-templates select="." mode="toc-title"/>
+          </a>
+        </span>
+        <br/>
+
+        <xsl:if test="$thisfoil/ancestor::foilgroup = .">
+          <xsl:for-each select="foil">
+            <img alt=" ">
+              <xsl:attribute name="src">
+                <xsl:call-template name="graphics-file">
+                  <xsl:with-param name="image" select="$blank.image"/>
+                </xsl:call-template>
+              </xsl:attribute>
+            </img>
+
+            <xsl:choose>
+              <xsl:when test="$thisfoil = .">
+                <img alt="+">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="graphics-file">
+                      <xsl:with-param name="image" select="$arrow.image"/>
+                    </xsl:call-template>
+                  </xsl:attribute>
+                </img>
+              </xsl:when>
+              <xsl:otherwise>
+                <img alt=" ">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="graphics-file">
+                      <xsl:with-param name="image" select="$blank.image"/>
+                    </xsl:call-template>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <span class="ttoc-foil">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="." mode="filename"/>
+                </xsl:attribute>
+                <xsl:apply-templates select="." mode="toc-title"/>
+              </a>
+            </span>
+            <br/>
+          </xsl:for-each>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- foils only -->
+        <xsl:for-each select="/slides/foil">
+          <xsl:choose>
+            <xsl:when test="$thisfoil = .">
+              <img alt="+">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="graphics-file">
+                    <xsl:with-param name="image" select="$arrow.image"/>
+                  </xsl:call-template>
+                </xsl:attribute>
+              </img>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt=" ">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="graphics-file">
+                    <xsl:with-param name="image" select="$blank.image"/>
+                  </xsl:call-template>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <span class="ttoc-foil">
+            <xsl:apply-templates select="." mode="toc-title"/>
+          </span>
+          <br/>
+        </xsl:for-each>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:for-each>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="slides" mode="toc-title">
+  <xsl:call-template name="nobreak">
+    <xsl:with-param name="string">
+      <xsl:choose>
+        <xsl:when test="slidesinfo/titleabbrev">
+          <xsl:value-of select="slidesinfo/titleabbrev"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="slidesinfo/title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="toc-title">
+  <xsl:call-template name="nobreak">
+    <xsl:with-param name="string">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:value-of select="titleabbrev"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foil" mode="toc-title">
+  <xsl:call-template name="nobreak">
+    <xsl:with-param name="string">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:value-of select="titleabbrev"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="nobreak">
+  <xsl:param name="string" select="''"/>
+  <xsl:choose>
+    <xsl:when test="contains($string, ' ')">
+      <xsl:value-of select="substring-before($string, ' ')"/>
+      <xsl:text>&#160;</xsl:text>
+      <xsl:call-template name="nobreak">
+        <xsl:with-param name="string" select="substring-after($string, ' ')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$string"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/html/vslides.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/html/vslides.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/html/vslides.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,667 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:param name="but-fforward.png"  select="'active/but-fforward.png'"/>
+<xsl:param name="but-info.png"      select="'active/but-info.png'"/>
+<xsl:param name="but-next.png"      select="'active/but-next.png'"/>
+<xsl:param name="but-prev.png"      select="'active/but-prev.png'"/>
+<xsl:param name="but-rewind.png"    select="'active/but-rewind.png'"/>
+
+<xsl:param name="but-xfforward.png" select="'inactive/but-fforward.png'"/>
+<xsl:param name="but-xinfo.png"     select="'inactive/but-info.png'"/>
+<xsl:param name="but-xnext.png"     select="'inactive/but-next.png'"/>
+<xsl:param name="but-xprev.png"     select="'inactive/but-prev.png'"/>
+<xsl:param name="but-xrewind.png"   select="'inactive/but-rewind.png'"/>
+
+<!-- overrides for this stylesheet -->
+<xsl:param name="titlefoil.html" select="concat('index', $html.ext)"/>
+<xsl:param name="toc.width" select="40"/>
+
+<!-- ============================================================ -->
+
+<xsl:template match="slides">
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $toc.html)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="slidesinfo/title"/></title>
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="next" select="/slides"/>
+            <xsl:with-param name="tocfile" select="$toc.html"/>
+          </xsl:call-template>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('../browser');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+        </head>
+        <body class="tocpage">
+          <xsl:call-template name="body.attributes"/>
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:attribute name="onkeypress">
+              <xsl:text>navigate(event)</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <table border="0" width="100%" summary="Navigation and body table"
+                 cellpadding="0" cellspacing="0">
+            <tr>
+              <td>&#160;</td>
+              <td><xsl:apply-templates select="." mode="header"/></td>
+            </tr>
+
+            <tr>
+              <td width="{$toc.width}" valign="top" align="left">
+		<xsl:if test="$toc.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$toc.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+
+                <xsl:call-template name="vertical-navigation">
+                  <xsl:with-param name="next" select="/slides"/>
+                  <xsl:with-param name="tocfile"/>
+                </xsl:call-template>
+
+              </td>
+              <td valign="top" align="left">
+		<xsl:if test="$body.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$body.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+
+                <div class="{name(.)}">
+
+                  <div class="toc-body">
+                    <xsl:call-template name="toc-body"/>
+                  </div>
+
+                </div>
+              </td>
+            </tr>
+
+            <tr>
+              <td>&#160;</td>
+              <td><xsl:apply-templates select="." mode="footer"/></td>
+            </tr>
+          </table>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="slidesinfo">
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $titlefoil.html)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="title"/></title>
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="next" select="(/slides/foil|/slides/foilgroup)[1]"/>
+            <xsl:with-param name="tocfile" select="$toc.html"/>
+          </xsl:call-template>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('../browser');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+        </head>
+        <body class="titlepage">
+          <xsl:call-template name="body.attributes"/>
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:attribute name="onkeypress">
+              <xsl:text>navigate(event)</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <table border="0" width="100%" summary="Navigation and body table"
+                 cellpadding="0" cellspacing="0">
+            <tr>
+              <td>&#160;</td>
+              <td><xsl:apply-templates select="." mode="header"/></td>
+            </tr>
+
+            <tr>
+              <td width="{$toc.width}" valign="top" align="left">
+		<xsl:if test="$toc.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$toc.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+
+                <xsl:call-template name="vertical-navigation">
+                  <xsl:with-param name="first"/>
+                  <xsl:with-param name="last" select="(following::foilgroup|following::foil)[last()]"/>
+                  <xsl:with-param name="next" select="(following::foilgroup|following::foil)[1]"/>
+                </xsl:call-template>
+
+              </td>
+              <td valign="top" align="left">
+		<xsl:if test="$body.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$body.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+                <div class="{name(.)}">
+                  <xsl:apply-templates mode="titlepage.mode"/>
+                </div>
+              </td>
+            </tr>
+
+            <tr>
+              <td>&#160;</td>
+              <td><xsl:apply-templates select="." mode="footer"/></td>
+            </tr>
+          </table>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foilgroup">
+  <xsl:param name="thisfoilgroup">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="nextfoil" select="foil[1]"/>
+  <xsl:variable name="lastfoil" select="(descendant::foil|following::foil)[last()]"/>
+  <xsl:variable name="prevfoil" select="(preceding::foil|/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $thisfoilgroup)"/>
+    <xsl:with-param name="content">
+      <html>
+	<head>
+	  <title><xsl:value-of select="title"/></title>
+	  <xsl:if test="$css.stylesheet != ''">
+	    <link type="text/css" rel="stylesheet">
+	      <xsl:attribute name="href">
+		<xsl:call-template name="css.stylesheet"/>
+	      </xsl:attribute>
+	    </link>
+	  </xsl:if>
+	  <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+	  <xsl:call-template name="links">
+	    <xsl:with-param name="prev" select="$prevfoil"/>
+	    <xsl:with-param name="next" select="$nextfoil"/>
+	  </xsl:call-template>
+	  
+	  <xsl:if test="$keyboard.nav != 0">
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text> </xsl:text>
+	    </script>
+	  </xsl:if>
+
+	  <xsl:if test="$keyboard.nav != 0">
+	    <xsl:call-template name="ua.js"/>
+	    <xsl:call-template name="xbDOM.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	    <xsl:call-template name="xbLibrary.js"/>
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('../browser');
+                // --&gt;
+              </xsl:text>
+            </script>
+	    <xsl:call-template name="xbStyle.js"/>
+	    <xsl:call-template name="xbCollapsibleLists.js"/>
+	    <xsl:call-template name="slides.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	  </xsl:if>
+	</head>
+	<body class="foilgroup">
+	  <xsl:call-template name="body.attributes"/>
+	  <xsl:if test="$keyboard.nav != 0">
+	    <xsl:attribute name="onkeypress">
+	      <xsl:text>navigate(event)</xsl:text>
+	    </xsl:attribute>
+	  </xsl:if>
+
+	  <table border="0" width="100%" summary="Navigation and body table"
+		 cellpadding="0" cellspacing="0">
+	    <tr>
+	      <td>&#160;</td>
+	      <td><xsl:apply-templates select="." mode="header"/></td>
+	    </tr>
+	    
+	    <tr>
+	      <td width="{$toc.width}" valign="top" align="left">
+		<xsl:if test="$toc.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$toc.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+		
+		<xsl:call-template name="vertical-navigation">
+		  <xsl:with-param name="last" select="$lastfoil"/>
+		  <xsl:with-param name="prev" select="$prevfoil"/>
+		  <xsl:with-param name="next" select="$nextfoil"/>
+		</xsl:call-template>
+		
+	      </td>
+	      <td valign="top" align="left">
+		<xsl:if test="$body.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$body.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+
+		<div class="{name(.)}">
+		  <xsl:apply-templates/>
+		</div>
+	      </td>
+	    </tr>
+
+	    <tr>
+	      <td>&#160;</td>
+	      <td><xsl:apply-templates select="." mode="footer"/></td>
+	    </tr>
+	  </table>
+	</body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:apply-templates select="foil"/>
+</xsl:template>
+
+<xsl:template match="foil">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="foilgroup" select="ancestor::foilgroup"/>
+
+  <xsl:variable name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <xsl:variable name="nextfoil" select="(following::foil
+                                        |following::foilgroup)[1]"/>
+
+  <xsl:variable name="lastfoil" select="following::foil[last()]"/>
+
+  <xsl:variable name="prevfoil" select="(preceding-sibling::foil[1]
+                                        |parent::foilgroup[1]
+                                        |/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+	<head>
+	  <title><xsl:value-of select="title"/></title>
+	  <xsl:if test="$css.stylesheet != ''">
+	    <link type="text/css" rel="stylesheet">
+	      <xsl:attribute name="href">
+		<xsl:call-template name="css.stylesheet"/>
+	      </xsl:attribute>
+	    </link>
+	  </xsl:if>
+	  <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+	  <xsl:call-template name="links">
+	    <xsl:with-param name="prev" select="$prevfoil"/>
+	    <xsl:with-param name="next" select="$nextfoil"/>
+	  </xsl:call-template>
+
+	  <xsl:if test="$keyboard.nav != 0">
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text> </xsl:text>
+	    </script>
+	  </xsl:if>
+
+	  <xsl:if test="$keyboard.nav != 0">
+	    <xsl:call-template name="ua.js"/>
+	    <xsl:call-template name="xbDOM.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	    <xsl:call-template name="xbLibrary.js"/>
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('../browser');
+                // --&gt;
+              </xsl:text>
+            </script>
+	    <xsl:call-template name="xbStyle.js"/>
+	    <xsl:call-template name="xbCollapsibleLists.js"/>
+	    <xsl:call-template name="slides.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	  </xsl:if>
+	</head>
+	<body class="foil">
+	  <xsl:call-template name="body.attributes"/>
+	  <xsl:if test="$keyboard.nav != 0">
+	    <xsl:attribute name="onkeypress">
+	      <xsl:text>navigate(event)</xsl:text>
+	    </xsl:attribute>
+	  </xsl:if>
+
+	  <table border="0" width="100%" summary="Navigation and body table"
+		 cellpadding="0" cellspacing="0">
+	    <tr>
+	      <td>&#160;</td>
+	      <td><xsl:apply-templates select="." mode="header"/></td>
+	    </tr>
+
+	    <tr>
+	      <td width="{$toc.width}" valign="top" align="left">
+		<xsl:if test="$toc.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$toc.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+
+		<xsl:call-template name="vertical-navigation">
+		  <xsl:with-param name="last" select="$lastfoil"/>
+		  <xsl:with-param name="prev" select="$prevfoil"/>
+		  <xsl:with-param name="next" select="$nextfoil"/>
+		</xsl:call-template>
+
+	      </td>
+	      <td valign="top" align="left">
+		<xsl:if test="$body.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$body.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+
+		<div class="{name(.)}">
+		  <xsl:apply-templates/>
+		</div>
+	      </td>
+	    </tr>
+
+	    <tr>
+	      <td>&#160;</td>
+	      <td><xsl:apply-templates select="." mode="footer"/></td>
+	    </tr>
+	  </table>
+	</body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="slidesinfo" mode="header">
+  <div class="navhead">
+    <!-- nop -->
+  </div>
+</xsl:template>
+
+<xsl:template match="foil|foilgroup" mode="header">
+  <div class="navhead">
+    <table border="0" width="100%" summary="Header table"
+           cellpadding="0" cellspacing="0">
+      <tr>
+        <td align="left">
+          <xsl:apply-templates select="/slides/slidesinfo/title"
+                               mode="slide.footer.mode"/>
+        </td>
+        <td align="right">
+          <xsl:value-of select="count(preceding::foil)
+                                + count(preceding::foilgroup)
+                                + count(ancestor::foilgroup)
+                                + 1"/>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template match="slidesinfo" mode="footer">
+  <div class="navfoot">
+    <!-- nop -->
+  </div>
+</xsl:template>
+
+<xsl:template match="foil|foilgroup" mode="footer">
+  <div class="navfoot">
+    <table border="0" width="100%" summary="Header table"
+           cellpadding="0" cellspacing="0">
+      <tr>
+        <td align="center">
+          <xsl:text>Slide </xsl:text>
+          <xsl:value-of select="count(preceding::foil)
+                                + count(preceding::foilgroup)
+                                + count(ancestor::foilgroup)
+                                + 1"/>
+          <xsl:text> of </xsl:text>
+          <xsl:value-of select="count(//foil) + count(//foilgroup)"/>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template match="slides" mode="footer"/>
+
+<!-- ============================================================ -->
+
+<xsl:template name="vertical-navigation">
+  <xsl:param name="first" select="/slides"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="last"/>
+  <xsl:param name="next"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="vnav">
+    <xsl:choose>
+      <xsl:when test="$first">
+        <a>
+          <xsl:attribute name="href">
+            <xsl:apply-templates select="$first" mode="filename"/>
+          </xsl:attribute>
+          <img border="0" alt="First">
+            <xsl:attribute name="src">
+              <xsl:call-template name="graphics-file">
+                <xsl:with-param name="image" select="$but-rewind.png"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </img>
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <img alt="First">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$but-xrewind.png"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+      </xsl:otherwise>
+    </xsl:choose>
+    <br/>
+    <xsl:choose>
+      <xsl:when test="$prev">
+        <a>
+          <xsl:attribute name="href">
+            <xsl:apply-templates select="$prev" mode="filename"/>
+          </xsl:attribute>
+          <img border="0" alt="Previous">
+            <xsl:attribute name="src">
+              <xsl:call-template name="graphics-file">
+                <xsl:with-param name="image" select="$but-prev.png"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </img>
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <img alt="Previous">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$but-xprev.png"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+      </xsl:otherwise>
+    </xsl:choose>
+    <br/>
+    <xsl:choose>
+      <xsl:when test="$next">
+        <a>
+          <xsl:attribute name="href">
+            <xsl:apply-templates select="$next" mode="filename"/>
+          </xsl:attribute>
+          <img border="0" alt="Last">
+            <xsl:attribute name="src">
+              <xsl:call-template name="graphics-file">
+                <xsl:with-param name="image" select="$but-next.png"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </img>
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <img alt="Last">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$but-xnext.png"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+      </xsl:otherwise>
+    </xsl:choose>
+    <br/>
+    <xsl:choose>
+      <xsl:when test="$last">
+        <a>
+          <xsl:attribute name="href">
+            <xsl:apply-templates select="$last" mode="filename"/>
+          </xsl:attribute>
+          <img border="0" alt="Next">
+            <xsl:attribute name="src">
+              <xsl:call-template name="graphics-file">
+                <xsl:with-param name="image" select="$but-fforward.png"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </img>
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <img alt="Next">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$but-xfforward.png"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <br/>
+    <br/>
+
+    <xsl:choose>
+      <xsl:when test="$tocfile != ''">
+        <a href="{$tocfile}">
+          <img border="0" alt="ToC">
+            <xsl:attribute name="src">
+              <xsl:call-template name="graphics-file">
+                <xsl:with-param name="image" select="$but-info.png"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </img>
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <img border="0" alt="ToC">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$but-xinfo.png"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+      </xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/html/w3c.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/html/w3c.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/html/w3c.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,376 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:param name="logo.image.uri" select="''"/>
+<xsl:param name="logo.uri" select="''"/>
+<xsl:param name="logo.title" select="''"/>
+
+<xsl:param name="next.image" select="'active/w3c-next.png'"/>
+<xsl:param name="no.next.image" select="'inactive/w3c-next.png'"/>
+
+<xsl:param name="prev.image" select="'active/w3c-prev.png'"/>
+<xsl:param name="no.prev.image" select="'inactive/w3c-prev.png'"/>
+
+<xsl:param name="toc.image" select="'active/w3c-toc.png'"/>
+<xsl:param name="no.toc.image" select="'inactive/w3c-toc.png'"/>
+
+<xsl:param name="css.stylesheet" select="'slides-w3c.css'"/>
+
+<xsl:template name="logo">
+  <xsl:if test="$logo.uri != ''">
+    <a href="{$logo.uri}" title="{$logo.title}">
+      <xsl:choose>
+        <xsl:when test="$logo.image.uri=''">
+          <xsl:value-of select="$logo.title"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <img src="{$logo.image.uri}" alt="{$logo.title}" border="0"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </a>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="overlayDiv.attributes">
+  <xsl:if test="$overlay != 0">
+    <xsl:attribute name="style">
+      <xsl:text>position: absolute; visibility: visible;</xsl:text>
+    </xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table class="navbar" cellspacing="0" cellpadding="0" border="0" width="97%"
+           summary="Navigation buttons">
+      <tr>
+        <td align="left" valign="top">
+          <xsl:call-template name="logo"/>
+        </td>
+        <td valign="top" nowrap="nowrap" width="150">
+          <div align="right">
+            <xsl:choose>
+              <xsl:when test="$prev">
+                <a rel="previous" accesskey="P">
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <img border="0" width="32" height="32"
+                       alt=" Previous" title="{$prev/title}">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Previous" title="">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <xsl:choose>
+              <xsl:when test="$tocfile != ''">
+                <a rel="contents" href="{$tocfile}" accesskey="C">
+                  <img border="0" width="32" height="32"
+                       alt=" Contents" title="Table of Contents">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="toc.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32"
+                     alt=" Contents" title="Table of Contents">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.toc.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <xsl:choose>
+              <xsl:when test="$next">
+                <a rel="next" accesskey="N">
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <img border="0" width="32" height="32"
+                       alt=" Next" title="{$next/title}">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Next" title="">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.next.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+          </div>
+        </td>
+      </tr>
+    </table>
+
+    <xsl:apply-templates select="title"/>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<xsl:template name="bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navfoot">
+    <hr class="bottom-nav-sep"/>
+    <table class="footer" cellspacing="0" cellpadding="0" border="0" width="97%"
+           summary="footer">
+      <tr>
+        <td align="left" valign="top">
+          <xsl:variable name="author" select="(/slides/slidesinfo//author
+                                              |/slides/slidesinfo//editor)"/>
+          <xsl:for-each select="$author">
+            <xsl:choose>
+              <xsl:when test=".//email">
+                <a href="mailto:{.//email[1]}">
+                  <xsl:call-template name="person.name"/>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:call-template name="person.name"/>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <xsl:if test="position() &lt; last()">, </xsl:if>
+          </xsl:for-each>
+        </td>
+        <td align="right" valign="top">
+          <span class="index">
+            <xsl:value-of select="count(preceding::foil)
+                                  + count(preceding::foilgroup)
+                                  + count(ancestor::foilgroup)
+                                  + 1"/>
+            <xsl:text> of </xsl:text>
+            <xsl:value-of select="count(//foil|//foilgroup)"/>
+          </span>
+        </td>
+
+        <td valign="top" nowrap="nowrap" width="150">
+          <div align="right">
+            <xsl:choose>
+              <xsl:when test="$prev">
+                <a rel="previous" accesskey="P">
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <img border="0" width="32" height="32"
+                       alt=" Previous" title="{$prev/title}">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Prev" title="">
+                <xsl:attribute name="src">
+                    <xsl:call-template name="no.prev.image"/>
+                </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <xsl:choose>
+              <xsl:when test="$next">
+                <a rel="next" accesskey="N">
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <img border="0" width="32" height="32"
+                       alt=" Next" title="{$next/title}">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Next" title="">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.next.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="titlepage-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table class="navbar" cellspacing="0" cellpadding="0" border="0" width="97%"
+           summary="Navigation buttons">
+      <tr>
+        <td align="left" valign="top">
+          <xsl:call-template name="logo"/>
+        </td>
+        <td valign="top" nowrap="nowrap" width="150">
+          <div align="right">
+            <xsl:choose>
+              <xsl:when test="$prev">
+                <a rel="previous" accesskey="P">
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <img border="0" width="32" height="32"
+                       alt=" Previous" title="{$prev/title}">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Previous" title="">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <xsl:choose>
+              <xsl:when test="$tocfile != ''">
+                <a rel="contents" href="{$tocfile}" accesskey="C">
+                  <img border="0" width="32" height="32"
+                       alt=" Contents" title="Table of Contents">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="toc.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32"
+                     alt=" Contents" title="Table of Contents">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.toc.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <xsl:choose>
+              <xsl:when test="$next">
+                <a rel="next" accesskey="N">
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <img border="0" width="32" height="32"
+                       alt=" Next" title="{$next/title}">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Next" title="">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.next.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+          </div>
+        </td>
+      </tr>
+    </table>
+
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="foil-body">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <!-- skip the title -->
+  <xsl:apply-templates select="*[name(.) != 'title']"/>
+</xsl:template>
+
+<xsl:template name="foilgroup-body">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <!-- skip the title -->
+  <xsl:apply-templates select="*[name(.) != 'title'
+                                and name(.) != 'foil'
+                                and name(.) != 'foilgroup']"/>
+
+  <xsl:if test="$foilgroup.toc != 0">
+    <dl class="toc">
+      <xsl:apply-templates select="foil" mode="toc"/>
+    </dl>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="@*" mode="copy">
+  <xsl:attribute name="{local-name(.)}">
+    <xsl:value-of select="."/>
+  </xsl:attribute>
+</xsl:template>
+
+<xsl:template match="html:*" xmlns:html='http://www.w3.org/1999/xhtml'>
+  <xsl:element name="{local-name(.)}" namespace="">
+    <xsl:apply-templates select="@*" mode="copy"/>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/htmlhelp/htmlhelp.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/htmlhelp/htmlhelp.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/htmlhelp/htmlhelp.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,89 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [
+<!ENTITY lf '<xsl:text xmlns:xsl="http://www.w3.org/1999/XSL/Transform">&#xA;</xsl:text>'>
+]>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:set="http://exslt.org/sets"
+		version="1.0"
+                exclude-result-prefixes="doc exsl set">
+
+<!-- ********************************************************************
+     $Id: htmlhelp.xsl 6295 2006-09-13 10:52:48Z kosek $
+     ******************************************************************** 
+
+     This stylesheet can convert DocBook Slides document type into HTML Help.
+
+     ******************************************************************** -->
+
+<xsl:import href="../html/plain.xsl"/>
+<xsl:include href="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp-common.xsl"/>
+
+<xsl:param name="keyboard.nav" select="0"/>
+<xsl:param name="htmlhelp.default.topic" select="'index.html'"/>
+
+<xsl:template match="slides" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="(slidesinfo/title|title)[1]"
+                       mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="slides|foilgroup" mode="hhc">
+  <xsl:variable name="title">
+    <xsl:if test="$htmlhelp.autolabel=1">
+      <xsl:variable name="label.markup">
+        <xsl:apply-templates select="." mode="label.markup"/>
+      </xsl:variable>
+      <xsl:if test="normalize-space($label.markup)">
+        <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/>
+      </xsl:if>
+    </xsl:if>
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <LI><OBJECT type="text/sitemap">&lf;
+      <param name="Name" value="{normalize-space($title)}"/>&lf;
+      <param name="Local">
+	<xsl:attribute name="value">
+          <xsl:apply-templates select="." mode="filename"/>
+	</xsl:attribute>
+      </param>
+    </OBJECT></LI>&lf;
+  </xsl:if>
+  <xsl:if test="foil|foilgroup">
+    <UL>&lf;
+      <xsl:apply-templates select="foil|foilgroup" mode="hhc"/>
+    </UL>&lf;
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="foil" mode="hhc">
+  <xsl:variable name="title">
+    <xsl:if test="$htmlhelp.autolabel=1">
+      <xsl:variable name="label.markup">
+        <xsl:apply-templates select="." mode="label.markup"/>
+      </xsl:variable>
+      <xsl:if test="normalize-space($label.markup)">
+        <xsl:value-of select="concat($label.markup,$autotoc.label.separator)"/>
+      </xsl:if>
+    </xsl:if>
+    <xsl:apply-templates select="." mode="title.markup"/>
+  </xsl:variable>
+
+  <xsl:if test="$htmlhelp.hhc.show.root != 0 or parent::*">
+    <LI><OBJECT type="text/sitemap">&lf;
+      <param name="Name" value="{normalize-space($title)}"/>&lf;
+      <param name="Local">
+	<xsl:attribute name="value">
+	  <xsl:apply-templates select="." mode="filename"/>
+	</xsl:attribute>
+      </param>
+    </OBJECT></LI>&lf;
+  </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/keynote/default.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/keynote/default.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/keynote/default.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,600 @@
+<xsl:stylesheet version='1.0'
+  xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
+  xmlns='http://developer.apple.com/schemas/APXL'
+  xmlns:apxl='http://developer.apple.com/schemas/APXL'
+  xmlns:plugin='http://developer.apple.com/schemas/APXLPlugins'
+  xmlns:doc='http://nwalsh.com/xsl/documentation/1.0'
+  xmlns:str='http://xsltsl.org/string'
+  xmlns:math='http://xsltsl.org/math'
+  exclude-result-prefixes='doc str math'>
+
+  <xsl:import href='xsltsl/stdlib.xsl'/>
+  <xsl:output method='xml' indent='yes' encoding='UTF-8'/>
+  <xsl:strip-space elements='*'/>
+
+  <doc:article xmlns=''>
+    <articleinfo>
+      <title>Keynote Slides</title>
+
+      <author>
+        <firstname>Steve</firstname>
+        <surname>Ball</surname>
+        <affiliation>
+          <orgname>Zveno</orgname>
+          <address>
+            <otheraddr>
+              <ulink url='http://www.zveno.com/'>zveno.com</ulink>
+            </otheraddr>
+          </address>
+        </affiliation>
+      </author>
+
+      <releaseinfo>$Id: default.xsl 3991 2004-11-10 06:51:55Z balls $</releaseinfo>
+
+      <copyright>
+        <year>2004</year>
+        <year>2003</year>
+        <holder>Steve Ball, Zveno Pty Ltd</holder>
+      </copyright>
+
+      <legalnotice>
+        <para>Zveno Pty Ltd makes this software and associated documentation available free of charge for any purpose.  You may make copies of the software but you must include all of this notice on any copy.</para>
+        <para>Zveno Pty Ltd does not warrant that this software is error free or fit for any purpose.  Zveno Pty Ltd disclaims any liability for all claims, expenses, losses, damages and costs any user may incur as a result of using, copying or modifying the software.</para>
+      </legalnotice>
+    </articleinfo>
+  </doc:article>
+
+  <xsl:param name='slides'/>
+
+  <xsl:variable name='slide-master' select='"Title &amp; Subtitle"'/>
+  <xsl:variable name='foilgroup-master' select='"Title - Center"'/>
+  <xsl:variable name='overview-master' select='"Title - Top"'/>
+  <xsl:variable name='bullet-master' select='"SmlTitle &amp; Bullets"'/>
+  <xsl:variable name='bullet-and-image-master' select='"Title &amp; Bullets - Left"'/>
+  <xsl:variable name='title-only-master' select='"SmlTitle"'/>
+
+  <xsl:variable name='masters' select='/apxl:presentation/apxl:theme/apxl:master-slides'/>
+
+  <xsl:template match='/'>
+    <xsl:choose>
+      <xsl:when test='$slides = ""'>
+        <xsl:message terminate='yes'>You must specify your slides document using the "slides" parameter</xsl:message>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='apxl:slide-list'>
+    <slide-list>
+      <xsl:apply-templates select='document($slides)' mode='slides'/>
+    </slide-list>
+  </xsl:template>
+
+  <xsl:template match='slides' mode='slides'>
+    <slide id='slide-1' master-slide-id="{$masters/apxl:master-slide[@name=$slide-master]/@id}">
+      <drawables>
+        <body visibility='tracks-master' vertical-alignment='tracks-master'/>
+        <title visibility='tracks-master' vertical-alignment='tracks-master'/>
+      </drawables>
+      <transition-style type='inherited'/>
+      <thumbnails>
+        <thumbnail file='thumbs/st0.tiff' byte-size='6520' size='60 45'/>
+      </thumbnails>
+      <bullets>
+        <bullet marker-type='inherited' level='0'>
+          <content tab-stops='L 96' font-size='84' font-color='g1' font-name='GillSans' paragraph-alignment='center'>
+            <xsl:apply-templates select='slidesinfo/title/node()'/>
+          </content>
+        </bullet>
+        <xsl:choose>
+          <xsl:when test='slidesinfo/subtitle'>
+            <bullet marker-type='inherited' level='1'>
+              <content tab-stops='L 96' font-size='36' font-color='g1' font-name='GillSans' paragraph-alignment='center'>
+                <xsl:apply-templates select='slidesinfo/subtitle/node()' mode='slides'/>
+              </content>
+            </bullet>
+          </xsl:when>
+          <xsl:when test='slidesinfo/corpauthor'>
+            <bullet marker-type='inherited' level='1'>
+              <content tab-stops='L 96' font-size='36' font-color='g1' font-name='GillSans' paragraph-alignment='center'>
+                <xsl:apply-templates select='slidesinfo/corpauthor/node()' mode='slides'/>
+              </content>
+            </bullet>
+          </xsl:when>
+          <xsl:when test='slidesinfo/author'>
+            <bullet marker-type='inherited' level='1'>
+              <content tab-stops='L 96' font-size='36' font-color='g1' font-name='GillSans' paragraph-alignment='center'>
+                <xsl:apply-templates select='slidesinfo/author' mode='slides'/>
+              </content>
+            </bullet>
+          </xsl:when>
+        </xsl:choose>
+      </bullets>
+      <notes font-size='18' font-name='LucidaGrande'>
+        <xsl:apply-templates select='slidesinfo/*[not(self::title|self::subtitle|self::corpauthor|self::author)]' mode='slides'/>
+      </notes>
+    </slide>
+
+    <xsl:if test='foilgroup'>
+      <xsl:call-template name='overview'/>
+    </xsl:if>
+
+    <xsl:apply-templates select='foilgroup|foil' mode='slides'/>
+  </xsl:template>
+
+  <xsl:template name='overview'>
+    <xsl:param name='current' select='/'/>
+
+    <slide id='overview-{generate-id()}' master-slide-id="{$masters/apxl:master-slide[@name=$overview-master]/@id}">
+      <drawables>
+        <body visibility='tracks-master' vertical-alignment='tracks-master'/>
+        <title visibility='tracks-master' vertical-alignment='tracks-master'/>
+
+        <xsl:for-each select='ancestor-or-self::slides/foilgroup'>
+          <textbox id='textbox-{position()}' grow-horizontally='true' transformation='1 0 0 1 {100 + floor((position() - 1) div 10) * 400} {200 + floor((position() - 1) mod 10) * 50}' size='200 50'>
+            <content tab-stops='L 84' font-size='36' paragraph-alignment='left'>
+              <xsl:attribute name='font-color'>
+                <xsl:choose>
+                  <xsl:when test='generate-id() = generate-id($current)'>
+                    <xsl:text>1 0.5 0</xsl:text>
+                  </xsl:when>
+                  <xsl:otherwise>g1</xsl:otherwise>
+                </xsl:choose>
+              </xsl:attribute>
+              <xsl:apply-templates select='title' mode='slides'/>
+            </content>
+          </textbox>
+        </xsl:for-each>
+
+      </drawables>
+      <transition-style type='inherited'/>
+      <thumbnails>
+        <thumbnail file='thumbs/st0.tiff' byte-size='6520' size='60 45'/>
+      </thumbnails>
+      <bullets>
+        <bullet marker-type='inherited' level='0'>
+          <content tab-stops='L 96' font-size='84' font-color='g1' font-name='GillSans' paragraph-alignment='center'>Overview</content>
+        </bullet>
+      </bullets>
+    </slide>
+  </xsl:template>
+
+  <xsl:template match='author' mode='slides'>
+    <xsl:apply-templates select='firstname/node()' mode='slides'/>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates select='surname/node()' mode='slides'/>
+  </xsl:template>
+  <xsl:template match='copyright' mode='slides'>
+    <xsl:text>Copyright (c) </xsl:text>
+    <xsl:value-of select='year'/>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates select='holder' mode='slides'/>
+    <xsl:text>.  </xsl:text>
+  </xsl:template>
+
+  <xsl:template match='foilgroup' mode='slides'>
+    <xsl:variable name='number' select='count(preceding-sibling::foilgroup) + count(preceding::foil) + 1'/>
+
+    <xsl:call-template name='overview'>
+      <xsl:with-param name='current' select='.'/>
+    </xsl:call-template>
+
+    <slide id='foilgroup-{generate-id()}'>
+      <xsl:attribute name='master-slide-id'>
+        <xsl:choose>
+          <xsl:when test='*[not(self::foil|self::foilgroupinfo|self::speakernotes)]'>
+            <xsl:value-of select='$masters/apxl:master-slide[@name=$title-only-master]/@id'/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select='$masters/apxl:master-slide[@name=$foilgroup-master]/@id'/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+
+      <drawables>
+        <title visibility='tracks-master' vertical-alignment='tracks-master'/>
+        <body visibility='hidden' vertical-alignment='tracks-master'/>
+        <xsl:call-template name='drawables'/>
+      </drawables>
+      <transition-style type='inherited'/>
+      <thumbnails>
+        <thumbnail file='thumbs/st0.tiff' byte-size='6520' size='60 45'/>
+      </thumbnails>
+      <bullets>
+        <bullet marker-type='inherited' level='0'>
+          <content tab-stops='L 96' font-size='84' font-color='g1' font-name='GillSans' paragraph-alignment='center'>
+            <xsl:apply-templates select='title' mode='slides'/>
+          </content>
+        </bullet>
+
+        <xsl:apply-templates select='itemizedlist/listitem' mode='slides'/>
+      </bullets>
+      <xsl:if test='speakernotes'>
+        <notes font-size='18' font-name='LucidaGrande'>
+          <xsl:apply-templates select='speakernotes/para[1]/node()' mode='slides'/>
+          <xsl:for-each select='speakernotes/para[position() != 1]'>
+            <xsl:text>; </xsl:text>
+            <xsl:apply-templates select='node()' mode='slides'/>
+          </xsl:for-each>
+        </notes>
+      </xsl:if>
+    </slide>
+
+    <xsl:apply-templates select='foil' mode='slides'/>
+
+  </xsl:template>
+
+  <xsl:template match='foil' mode='slides'>
+    <xsl:variable name='number' select='count(preceding::foilgroup) + count(preceding::foil) + count(preceding-sibling::foil) + 1'/>
+
+    <slide id='foil-{generate-id()}'>
+      <xsl:attribute name='master-slide-id'>
+        <xsl:choose>
+          <xsl:when test='imageobject'>
+            <xsl:value-of select='$masters/apxl:master-slide[@name=$title-only-master]/@id'/>
+          </xsl:when>
+          <xsl:when test='itemizedlist[.//imageobject]'>
+            <xsl:value-of select='$masters/apxl:master-slide[@name=$bullet-and-image-master]/@id'/>
+          </xsl:when>
+          <xsl:when test='itemizedlist'>
+            <xsl:value-of select='$masters/apxl:master-slide[@name=$bullet-master]/@id'/>
+          </xsl:when>
+          <xsl:when test='example|informalexample'>
+            <xsl:value-of select='$masters/apxl:master-slide[@name=$title-only-master]/@id'/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select='$masters/apxl:master-slide[@name=$bullet-master]/@id'/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+      <drawables>
+        <body visibility='tracks-master' vertical-alignment='tracks-master'/>
+        <title visibility='tracks-master' vertical-alignment='tracks-master'/>
+        <xsl:call-template name='drawables'/>
+      </drawables>
+      <transition-style type='inherited'/>
+      <thumbnails>
+        <thumbnail file='thumbs/st0.tiff' byte-size='6520' size='60 45'/>
+      </thumbnails>
+      <bullets>
+        <bullet marker-type='inherited' level='0'>
+          <content tab-stops='L 96' font-size='64' font-color='g1' font-name='GillSans' paragraph-alignment='inherited'>
+            <!--
+            <xsl:apply-templates select='../title' mode='slides'/>
+            <xsl:text>: </xsl:text>
+-->
+            <xsl:apply-templates select='title' mode='slides'/>
+          </content>
+        </bullet>
+        <xsl:apply-templates select='itemizedlist/listitem' mode='slides'/>
+      </bullets>
+      <xsl:if test='speakernotes'>
+        <notes font-size='18' font-name='LucidaGrande'>
+          <xsl:apply-templates select='speakernotes/para[1]/node()' mode='slides'/>
+          <xsl:for-each select='speakernotes/para[position() != 1]'>
+            <xsl:text>; </xsl:text>
+            <xsl:apply-templates select='node()' mode='slides'/>
+          </xsl:for-each>
+        </notes>
+      </xsl:if>
+    </slide>
+  </xsl:template>
+
+  <doc:template xmlns=''>
+    <title>drawables Template</title>
+
+    <para>This template adds objects to the drawables section of a foil.  These include images, as well as unadorned (non-bullet) text.</para>
+
+    <para>A single image is placed centered on the foil.  An image on a foil that contains other text is placed on the right-hand-side.</para>
+  </doc:template>
+
+  <xsl:template name='drawables'>
+    <xsl:choose>
+      <xsl:when test='imageobject'>
+        <plugin opacity='1' transformation='1 0 0 1 140 130'>
+          <plugin-data>
+            <plugin:movie bundled='true' src='{imageobject/imagedata/@fileref}' key='root' width='740' height='560'/>
+            <string key='CPVersion'>1.0</string>
+            <string key='MIMEType'>video/quicktime</string>
+          </plugin-data>
+          <styles>
+            <shadow-style opacity='0' radius='0'/>
+          </styles>
+        </plugin>
+      </xsl:when>
+      <xsl:when test='false() and .//informaltable|.//table'>
+        <xsl:variable name='table' select='.//informaltable|.//table[1]'/>
+        <xsl:variable name='cells' select='$table/tgroup/*/row/entry'/>
+        <xsl:variable name='numrows' select='count($table/tgroup/*/row)'/>
+        <xsl:variable name='numcols' select='count($table/tgroup/*[1]/row[1]/entry)'/>
+        <xsl:variable name='identbase' select='count($table/preceding::node())'/>
+
+        <plugin transformation='1 0 0 1 200 200'>
+          <plugin-data>
+            <plugin:table key='root' version='1.2'>
+              <xsl:attribute name='size'>
+                <xsl:text>{800, 400}</xsl:text>
+              </xsl:attribute>
+
+              <dict/>
+              <xsl:for-each select='$cells'>
+                <plugin:element type='text' tr='5834' bl='5838' tl='5833' br='5839'>
+                  <xsl:attribute name='tl'>
+                    <xsl:value-of select='$identbase + (floor(position() div $numcols) * ($numcols + 1)) + (position() mod $numcols)'/>
+                  </xsl:attribute>
+                  <xsl:attribute name='tr'>
+                    <xsl:value-of select='$identbase + (floor(position() div $numcols) * ($numcols + 1)) + (position() mod $numcols) + 1'/>
+                  </xsl:attribute>
+                  <xsl:attribute name='bl'>
+                    <xsl:value-of select='$identbase + (floor(position() div $numcols) * ($numcols + 1) + 1) + (position() mod $numcols)'/>
+                  </xsl:attribute>
+                  <xsl:attribute name='br'>
+                    <xsl:value-of select='$identbase + (floor(position() div $numcols) * ($numcols + 1) + 1) + (position() mod $numcols) + 1'/>
+                  </xsl:attribute>
+                  <plugin:node ident='5833'>
+                  <xsl:attribute name='pos'>
+                    <xsl:text>{0, 300}</xsl:text>
+                  </xsl:attribute>
+                </plugin:node>
+                <plugin:node ident='5834'>
+                  <xsl:attribute name='pos'>
+                    <xsl:text>{150, 300}</xsl:text>
+                  </xsl:attribute>
+                </plugin:node>
+                <plugin:node ident='5838'>
+                  <xsl:attribute name='pos'>
+                    <xsl:text>{0, 200}</xsl:text>
+                  </xsl:attribute>
+                </plugin:node>
+                <plugin:node ident='5839'>
+                  <xsl:attribute name='pos'>
+                    <xsl:text>{150, 200}</xsl:text>
+                  </xsl:attribute>
+                </plugin:node>
+                <content tab-stops='L 84' font-size='32' font-color='g1' font-name='GillSans' paragraph-alignment='center'>
+                  <xsl:value-of select='$cells[1]'/>
+                </content>
+                <dict/>
+              </plugin:element>
+                
+              </xsl:for-each>
+            </plugin:table>
+          </plugin-data>
+        </plugin>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:if test='not(self::foilgroup) and .//imageobject'>
+          <xsl:variable name='base'>
+            <xsl:call-template name='str:substring-after-last'>
+              <xsl:with-param name='text' select='.//imageobject/imagedata/@fileref'/>
+              <xsl:with-param name='chars' select='"/"'/>
+            </xsl:call-template>
+          </xsl:variable>
+          <image display-name='{$base}' id='image-1' image-data='{.//imageobject/imagedata/@fileref}' byte-size='1' transformation='1 0 0 1 500 200' natural-size='{.//imageobject/imagedata/@width} {.//imageobject/imagedata/@height}' lock-aspect-ratio='true'/>
+        </xsl:if>
+        <xsl:apply-templates select='para|informalexample|example' mode='slides'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='itemizedlist/listitem' mode='slides'>
+    <bullet marker-type='inherited' level='{count(ancestor::itemizedlist)}'>
+      <content tab-stops='L 96' font-size='36' font-color='g1' font-name='GillSans' paragraph-alignment='left'>
+        <xsl:apply-templates select='para|informalexample' mode='slides'/>
+      </content>
+    </bullet>
+    <xsl:apply-templates select='itemizedlist/listitem' mode='slides'/>
+  </xsl:template>
+  <xsl:template match='listitem/para|listitem/informalexample' mode='slides'>
+    <xsl:if test='preceding-sibling::*'>
+      <xsl:text>
+
+</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates mode='slides'/>
+  </xsl:template>
+  <xsl:template match='listitem/informalexample/programlisting' mode='slides'>
+    <textbox transformation='1 0 0 1 110 260' size='830 82'>
+      <content tab-stops='L 84' font-size='36' font-color='g1' font-name='AmericanTypewriter-CondensedBold' paragraph-alignment='left'>
+        <xsl:call-template name='literallayout'/>
+      </content>
+    </textbox>
+  </xsl:template>
+
+  <xsl:template name='literallayout'>
+    <xsl:param name='nodes' select='node()'/>
+    <xsl:param name='inCDATA' select='false()'/>
+
+    <xsl:choose>
+      <xsl:when test='not($nodes) and $inCDATA'>
+        <xsl:text disable-output-escaping='yes'>]]&gt;</xsl:text>
+      </xsl:when>
+      <xsl:when test='not($nodes)'/>
+      <xsl:when test='$nodes[1][self::emphasis] and $inCDATA'>
+        <xsl:text disable-output-escaping='yes'>]]&gt;</xsl:text>
+        <xsl:apply-templates select='$nodes[1]' mode='literal'/>
+        <xsl:call-template name='literallayout'>
+          <xsl:with-param name='nodes' select='$nodes[position() != 1]'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test='$nodes[1][self::emphasis]'>
+        <xsl:apply-templates select='$nodes[1]' mode='literal'/>
+        <xsl:call-template name='literallayout'>
+          <xsl:with-param name='nodes' select='$nodes[position() != 1]'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test='$inCDATA'>
+        <xsl:apply-templates select='$nodes[1]' mode='literal'/>
+        <xsl:call-template name='literallayout'>
+          <xsl:with-param name='nodes' select='$nodes[position() != 1]'/>
+          <xsl:with-param name='inCDATA' select='$inCDATA'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:text disable-output-escaping='yes'>&lt;![CDATA[</xsl:text>
+        <xsl:apply-templates select='$nodes[1]' mode='literal'/>
+        <xsl:call-template name='literallayout'>
+          <xsl:with-param name='nodes' select='$nodes[position() != 1]'/>
+          <xsl:with-param name='inCDATA' select='true()'/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='para' mode='slides'>
+    <textbox transformation='1 0 0 1 110 {200 + count(preceding-sibling::para|preceding-sibling::informalexample) * 60}' size='830 41'>
+      <content tab-stops='L 84' font-size='36' font-color='g1' paragraph-alignment='left'>
+        <xsl:attribute name='font-name'>
+          <xsl:choose>
+            <xsl:when test='@font-style = "italic"'>GillSans-Italic</xsl:when>
+            <xsl:otherwise>GillSans</xsl:otherwise>
+          </xsl:choose>
+        </xsl:attribute>
+
+        <xsl:apply-templates mode='slides'/>
+      </content>
+    </textbox>
+  </xsl:template>
+
+  <xsl:template match='text()' mode='slides'>
+    <xsl:variable name='tmp'>
+      <xsl:call-template name='str:subst'>
+        <xsl:with-param name='text' select='.'/>
+        <xsl:with-param name='replace'>&quot;</xsl:with-param>
+        <xsl:with-param name='with'>“</xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:variable name='content'>
+      <xsl:call-template name='str:subst'>
+        <xsl:with-param name='text' select='$tmp'/>
+        <xsl:with-param name='replace'>]]&gt;</xsl:with-param>
+        <xsl:with-param name='with'>]] &gt;</xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:choose>
+      <xsl:when test='ancestor::programlisting'>
+        <xsl:value-of disable-output-escaping='yes' select='$content'/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select='$content'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match='text()' mode='literal'>
+    <xsl:variable name='tmp'>
+      <xsl:call-template name='str:subst'>
+        <xsl:with-param name='text' select='.'/>
+        <xsl:with-param name='replace'>&lt;</xsl:with-param>
+        <xsl:with-param name='with'>&lt;</xsl:with-param>
+        <xsl:with-param name='disable-output-escaping' select='yes'/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:variable name='tmp2'>
+      <xsl:call-template name='str:subst'>
+        <xsl:with-param name='text' select='$tmp'/>
+        <xsl:with-param name='replace'>]]&gt;</xsl:with-param>
+        <xsl:with-param name='with'>]] &gt;</xsl:with-param>
+        <xsl:with-param name='disable-output-escaping' select='yes'/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:value-of select='$tmp2' disable-output-escaping='yes'/>
+  </xsl:template>
+
+  <xsl:template match='informalexample|example' mode='slides'>
+    <xsl:apply-templates mode='slides'/>
+  </xsl:template>
+  <xsl:template match='programlisting' mode='slides'>
+    <xsl:variable name='lines'>
+      <xsl:call-template name='str:count-substring'>
+        <xsl:with-param name='text' select='text()'/>
+        <xsl:with-param name='chars' select='"&#x0a;"'/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:variable name='offset'>
+      <xsl:choose>
+        <xsl:when test='string-length(../preceding-sibling::para) > 45'>20</xsl:when>
+        <xsl:otherwise>0</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <!-- xsl:comment> layout programlisting with offset <xsl:value-of select='$offset'/> have preceding-sibling para? <xsl:value-of select='count(../preceding-sibling::para)'/> length <xsl:value-of select='string-length(../preceding-sibling::para)'/></xsl:comment -->
+    <textbox transformation='1 0 0 1 110 {200 + $offset + count(preceding-sibling::para|../preceding-sibling::para|preceding-sibling::informalexample|preceding-sibling::example) * 60}' size='830 {($lines + 1) * 41}'>     
+      <content tab-stops='L 84' font-size='36' font-color='g1' font-name='AmericanTypewriter-CondensedBold' paragraph-alignment='left'>
+        <xsl:choose>
+          <xsl:when test='emphasis'>
+            <xsl:call-template name='literallayout'/>
+          </xsl:when>
+          <xsl:otherwise>
+            <span>
+              <xsl:call-template name='literallayout'/>
+            </span>
+          </xsl:otherwise>
+        </xsl:choose>
+      </content>
+    </textbox>
+  </xsl:template>
+
+  <xsl:template match='emphasis' mode='literal'>
+    <span>
+      <xsl:choose>
+        <xsl:when test='ancestor::programlisting and @font-style = "italic" and @font-weight="bold"'>
+          <xsl:attribute name='font-name'>AmericanTypewriter-CondensedBoldItalic</xsl:attribute>
+        </xsl:when>
+        <xsl:when test='@font-style = "italic" and @font-weight="bold"'>
+          <xsl:attribute name='font-name'>GillSans-BoldItalic</xsl:attribute>
+        </xsl:when>
+        <xsl:when test='ancestor::programlisting and @font-style = "italic"'>
+          <xsl:attribute name='font-name'>AmericanTypewriter-CondensedItalic</xsl:attribute>
+        </xsl:when>
+        <xsl:when test='@font-style = "italic"'>
+          <xsl:attribute name='font-name'>GillSans-Italic</xsl:attribute>
+        </xsl:when>
+        <xsl:when test='ancestor::programlisting and @font-weight = "bold"'>
+          <xsl:attribute name='font-name'>AmericanTypewriter-CondensedBold</xsl:attribute>
+        </xsl:when>
+        <xsl:when test='@font-weight = "bold"'>
+          <xsl:attribute name='font-name'>GillSans-Bold</xsl:attribute>
+        </xsl:when>
+      </xsl:choose>
+      <xsl:if test='@fill'>
+        <xsl:attribute name='font-color'>
+          <xsl:variable name='red'>
+            <xsl:call-template name='math:cvt-hex-decimal'>
+              <xsl:with-param name='value' select='substring(@fill, 2, 2)'/>
+            </xsl:call-template>
+          </xsl:variable>
+          <xsl:variable name='green'>
+            <xsl:call-template name='math:cvt-hex-decimal'>
+              <xsl:with-param name='value' select='substring(@fill, 4, 2)'/>
+            </xsl:call-template>
+          </xsl:variable>
+          <xsl:variable name='blue'>
+            <xsl:call-template name='math:cvt-hex-decimal'>
+              <xsl:with-param name='value' select='substring(@fill, 6, 2)'/>
+            </xsl:call-template>
+          </xsl:variable>
+
+          <xsl:value-of select='$red div 255'/>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select='$green div 255'/>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select='$blue div 255'/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:call-template name='literallayout'/>
+    </span>
+  </xsl:template>
+
+  <xsl:template match="*">
+    <xsl:copy>
+      <xsl:for-each select="@*">
+        <xsl:copy/>
+      </xsl:for-each>
+      <xsl:apply-templates/>
+    </xsl:copy>
+  </xsl:template>
+  <xsl:template match="comment()|processing-instruction()">
+    <xsl:copy/>
+  </xsl:template>
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/cmp.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/cmp.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/cmp.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,348 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet
+  version="1.0"
+  extension-element-prefixes="doc"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:doc="http://xsltsl.org/xsl/documentation/1.0"
+  xmlns:str="http://xsltsl.org/string"
+  xmlns:cmp="http://xsltsl.org/cmp"
+  exclude-result-prefixes="cmp str doc"
+>
+
+  <doc:reference xmlns="">
+    <referenceinfo>
+      <releaseinfo role="meta">
+        $Id: cmp.xsl 6297 2006-09-14 01:32:27Z xmldoc $
+      </releaseinfo>
+      <author>
+        <surname>Hummel</surname>
+        <firstname>Mark</firstname>
+      </author>
+      <copyright>
+        <year>2003</year>
+        <holder>Mark Hummel</holder>
+      </copyright>
+    </referenceinfo>
+
+    <title>XML Compare</title>
+
+    <partintro>
+      <section>
+        <title>Introduction</title>
+
+        <para>This module provides a template for comparing two xml documents. </para>
+
+      </section>
+    </partintro>
+
+  </doc:reference>
+
+
+  <doc:template name="cmp:diff">
+    <refpurpose>Find differences</refpurpose>
+
+    <refdescription>
+      <para>Compare two xml documents and display differences. Two xml documents are defined to be the same if: They have the matching elements and attributes, and that the data in the elements also match. The comparison is order sensitive. </para>
+
+      <para>The element names from the documents at the current depth are compared, followed by their values, then any attribute names and values are compared. The process is applied then to the subtrees of the documents.</para>
+
+      <para>Notes: If there are leaf nodes in one nodeset which don't exist in the other, the value of those 'extra' elements won't appear as a difference.
+      </para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>ns1</term>
+          <term>ns2</term>
+          <listitem>
+            <para>The two nodesets which are to be compared. </para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the difference between the documents. </para>
+
+      <para>The format of the output is an xml document. A node is added to the result tree for every difference. The node contains the type of difference (e.g element name difference, attribute value difference, etc), the value in the first nodeset and the value in the second nodeset, and the parent node. The indentation level is the depth at which the difference was found relative to the first document. </para>
+
+    </refreturn>
+  </doc:template>
+
+  <!-- pass in a nodeset and compare. Is order sensitive. Output attribute, element and textual differences. -->
+
+  <xsl:template name="cmp:diff">
+    <xsl:param name="ns1"/>
+    <xsl:param name="ns2"/>
+
+    <!-- attribute compare -->
+	<!-- Optimisation attempt 
+
+	Can probaby change this into one loop ie -
+	<xsl:for-each 
+	  i = position
+	 if node1[i] = node2[i]...
+
+	  -->
+
+	<!-- Need to check if there are two sets of attributes -->
+	<xsl:choose>
+	  <xsl:when test='count($ns1/attribute::*) = count($ns2/attribute::*)'>
+	    <xsl:for-each select="$ns1/attribute::*">
+	      <xsl:variable name="name1" select="name()"/>
+	      <xsl:variable name="value1" select="."/>
+	      <xsl:variable name="i" select="position()"/>
+	      
+	      <xsl:for-each select="$ns2/attribute::*">
+		
+		<xsl:variable name="j" select="position()"/>
+		<xsl:variable name="name2" select="name()"/>
+		<xsl:variable name="value2" select="."/>
+		
+		<xsl:if test="$i = $j">
+		  <xsl:if test="$name1 != $name2">
+		    <attributeNameDifference>
+	              <parentElement><xsl:value-of select="name(..)"/></parentElement>
+                      <before><xsl:value-of select="$name1"/></before>
+	              <after><xsl:value-of select="$name2"/></after>
+		    </attributeNameDifference>
+		  </xsl:if>
+		  
+		  <xsl:if test="$name1 = $name2 and $value1 != $value2">
+		    <attributeValueDifference>
+		      <parentElement><xsl:value-of select="name(..)"/></parentElement>
+		      <before><xsl:value-of select="$value1"/></before>
+		      <after><xsl:value-of select="$value2"/></after>
+		    </attributeValueDifference>
+		  </xsl:if>
+	      
+		</xsl:if>
+	      </xsl:for-each>
+	    </xsl:for-each>
+	    </xsl:when>
+	  <xsl:otherwise>
+	    <attributeNameDifference>
+	      <parentElement>
+		<xsl:value-of select="name(..)"/>
+	      </parentElement>
+	      <before><xsl:value-of select='$ns1/attribute::*'/></before>
+	      <after><xsl:value-of select='$ns2/attribute::*'/></after>
+	    </attributeNameDifference>
+	  </xsl:otherwise>
+	</xsl:choose>
+	
+
+  <!-- Find element differences by comparing the element names from the same position in both documents. Iterate over all the nodes in the nodeset with the largest number of elements, so the extra elements will appear as differences. -->
+
+    <xsl:choose>
+      <!-- Define loop direction based on which tree has more nodes
+	   FIXME: Replacing this with one for-each and a test for the case 
+	          of the second tree having more nodes would be more elegant 
+
+	   Solution: Add variable for direction and assign the 'larger' nodeset to that
+	             variable. Then do one for-each. 
+	   
+	   FIXME: The solution is a bit too iterative. Make it more functional
+
+      -->
+     <xsl:when test="count($ns1) &gt; count($ns2)">
+       <xsl:for-each select="$ns1">
+          <xsl:variable name="i" select="position()"/> 
+	  
+	  <xsl:message>node[<xsl:value-of select='$i'/>]:
+	    <xsl:value-of select='$ns1[$i]'/>
+	  </xsl:message>
+
+	<!-- Element name compare -->
+	  <xsl:if test="name($ns1[$i]) != name($ns2[$i])">
+        	<elementNameDifference>
+		  <parentElement><xsl:value-of select="name(..)"/></parentElement>
+		  <before><xsl:value-of select="name($ns1[$i])"/></before>
+		  <after><xsl:value-of select="name($ns2[$i])"/></after>
+  	        </elementNameDifference>
+	  </xsl:if>
+	
+	  <!-- Element Value compare -->
+	
+	  <xsl:if test="count($ns1/*) = 0">
+            <xsl:if test="$ns1[$i] != $ns2[$i]">
+	         <elementValueDifference>
+	           <parentElement><xsl:value-of select="name(..)"/></parentElement>
+		   <before><xsl:value-of select="$ns1[$i]"/></before>
+ 		   <after><xsl:value-of select="$ns2[$i]"/></after>
+	         </elementValueDifference>
+	    </xsl:if>
+	 </xsl:if>
+	
+       </xsl:for-each>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:for-each select="$ns2">
+          <xsl:variable name="i" select="position()"/> 
+
+	  <!-- Element Name compare -->
+	
+	  <xsl:if test="name($ns1[$i]) != name($ns2[$i])">
+	       <elementNameDifference>
+		  <parentElement><xsl:value-of select="name(..)"/></parentElement>
+		  <before><xsl:value-of select="name($ns1[$i])"/></before>
+		  <after><xsl:value-of select="name($ns2[$i])"/></after>
+	       </elementNameDifference>
+
+	  </xsl:if>
+	
+	  <!-- value compare -->
+	
+	  <xsl:if test="count($ns2/*) = 0">
+	     <xsl:if test="$ns2[$i] != $ns1[$i]">
+		 <elementValueDifference>
+		   <parentElement><xsl:value-of select="name(..)"/></parentElement>
+		   <after><xsl:value-of select="$ns2[$i]"/></after>
+                   <before><xsl:value-of select="$ns1[$i]"/></before>
+		 </elementValueDifference>
+	     </xsl:if>
+	  </xsl:if>
+	
+        </xsl:for-each>
+      </xsl:otherwise>
+    </xsl:choose>
+	
+  <!-- stop processing when leaf node is reached. -->
+
+    <xsl:if test="count($ns1/*) &gt; 0 and count($ns2/*) &gt; 0">
+      <xsl:call-template name="cmp:diff">
+            <xsl:with-param name="ns1" select="$ns1/*"/>
+            <xsl:with-param name="ns2" select="$ns2/*"/>
+        </xsl:call-template>
+    </xsl:if>
+
+  </xsl:template>
+
+  <!-- Return false if the two nodesets are not identical
+  -->
+
+  <doc:template name="cmp:cmp">
+    <refpurpose>Compare</refpurpose>
+
+    <refdescription>
+      <para>Recursively compare two xml nodesets, stop when a difference is found and return false. Otherwise return true if the document is identical. </para>
+
+      <para>The element names from the documents at the current depth are compared, followed by their values, then any attribute names and values are compared. The process is applied then to the subtrees of the documents.</para>
+
+      <para>Notes: If there are leaf nodes in one nodeset which don't exist in the other, the value of those 'extra' elements won't appear as a difference.
+      </para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>ns1</term>
+          <term>ns2</term>
+          <listitem>
+            <para>The two nodesets which are to be compared. </para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>False when the nodesets are not identical, empty otherwise. </para>
+
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="cmp:cmp">
+   <xsl:param name="ns1"/>     	
+   <xsl:param name="ns2"/>     	
+   <xsl:param name="depth"/>
+
+   <xsl:choose>
+     <xsl:when test='count($ns1) != count($ns2)'>
+       <xsl:value-of select='"countDiff"'/>
+     </xsl:when>
+     <xsl:when test='count($ns1/attribute::*) != count($ns2/attribute::*)'>
+       <xsl:value-of select='"countDiff"'/>
+     </xsl:when>
+     <xsl:when test='$ns1 and $ns2'>
+
+       <xsl:variable name='result'>
+	<xsl:call-template name='cmp:cmp'>
+	  <xsl:with-param name='ns1' select='$ns1/*'/>
+	  <xsl:with-param name='ns2' select='$ns2/*'/>
+	  <xsl:with-param name='depth' select='$depth+1'/>
+	</xsl:call-template>
+	</xsl:variable>	
+
+       <xsl:choose>
+	  <xsl:when test='$result = "countDiff"'>
+	    <xsl:value-of select='$result'/>
+	  </xsl:when>
+	  <xsl:when test='$result = "textDiff"'>
+	    <xsl:value-of select='$result'/>
+	  </xsl:when>	  
+	  <xsl:when test='$result = ""'>
+
+	    <xsl:variable name='keyText1' select='name($ns1)'/>
+	    <xsl:variable name='keyText2' select='name($ns2)'/>
+	    	    
+	    <xsl:choose>
+	      <!-- Check if the text of the nodesets are the same and the attributes-->
+	      <xsl:when test='$ns1 = $ns2 and $keyText1 = $keyText2'>
+
+		<!-- Check the attribute names are the same -->
+		<!-- Number of attributes being different is caught higher up -->
+		<xsl:if test='count($ns1/attribute::*)'>
+		  <xsl:for-each select='$ns1/attribute::*'>
+		    <xsl:variable name='i' select='position()'/>
+		    <xsl:variable name='name1' select='name(.)'/>
+                    <xsl:variable name='value1' select='.'/>
+		    
+		    <xsl:for-each select='$ns2/attribute::*'>
+		      <xsl:variable name='j' select='position()'/>
+		      <xsl:variable name='name2' select='name(.)'/>
+                      <xsl:variable name='value2' select='.'/>
+
+                      <xsl:if test='$i = $j and ($name1 != $name2 or 
+                                    $value1 != $value2)'>
+			<xsl:value-of select='"textDiff"'/>
+		      </xsl:if>
+		      
+		    </xsl:for-each>
+		  </xsl:for-each>
+		</xsl:if>
+		<!--
+		<xsl:variable name='diffResult'>
+		  <xsl:call-template name='cmp:diff'>
+		    <xsl:with-param name='ns1' select='$ns1'/>
+		    <xsl:with-param name='ns2' select='$ns2'/>
+		  </xsl:call-template>
+		</xsl:variable>
+		
+		<xsl:if test='not($diffResult = "")'>
+		  <xsl:value-of select='"textDiff"'/>
+		</xsl:if>
+		-->
+
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:value-of select='"textDiff"'/>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </xsl:when>
+	</xsl:choose>
+	  
+     </xsl:when>
+     <xsl:when test='$ns1 and not($ns2)'>
+       <xsl:value-of select='"structDiff"'/>
+     </xsl:when>
+     <xsl:when test='$ns2 and not($ns1)'>
+       <xsl:value-of select='"structDiff"'/>
+     </xsl:when>
+   </xsl:choose>
+
+  </xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/date-time.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/date-time.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/date-time.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1524 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:doc="http://xsltsl.org/xsl/documentation/1.0"
+  xmlns:dt="http://xsltsl.org/date-time"
+  xmlns:str="http://xsltsl.org/string"
+  extension-element-prefixes="doc str">
+
+  <doc:reference xmlns="">
+    <referenceinfo>
+      <releaseinfo role="meta">
+        $Id: date-time.xsl 3991 2004-11-10 06:51:55Z balls $
+      </releaseinfo>
+      <author>
+        <surname>Diamond</surname>
+        <firstname>Jason</firstname>
+      </author>
+      <copyright>
+        <year>2004</year>
+        <holder>Steve Ball</holder>
+      </copyright>
+      <copyright>
+        <year>2001</year>
+        <holder>Jason Diamond</holder>
+      </copyright>
+    </referenceinfo>
+
+    <title>Date/Time Processing</title>
+
+    <partintro>
+      <section>
+        <title>Introduction</title>
+
+        <para>This module provides templates for formatting and parsing date/time strings.</para>
+
+        <para>See <ulink url="http://www.tondering.dk/claus/calendar.html">http://www.tondering.dk/claus/calendar.html</ulink> for more information on calendars and the calculations this library performs.</para>
+
+      </section>
+    </partintro>
+
+  </doc:reference>
+
+  <doc:template name="dt:format-date-time" xmlns="">
+    <refpurpose>Returns a string with a formatted date/time.</refpurpose>
+
+    <refdescription>
+      <para>The formatted date/time is determined by the format parameter. The default format is %Y-%m-%dT%H:%M:%S%z, the W3C format.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+
+        <varlistentry>
+          <term>xsd-date-time</term>
+          <listitem>
+            <para>The date-time value in XML Schemas (WXS) format.</para>
+            <para>If this value is specified, it takes priority over other parameters.</para>
+          </listitem>
+        </varlistentry>
+
+        <varlistentry>
+          <term>year</term>
+          <listitem>
+            <para>Year, in either 2 or 4+ digit format..</para>
+            <para>If the year is given as a two digit value, it will be converted to a four digit value using the fixed window method.  Values between 00 and 49 will be prepended by "20".  Values between 50 and 99 will be prepended by "19".</para>
+          </listitem>
+        </varlistentry>
+
+        <varlistentry>
+          <term>month</term>
+          <listitem>
+            <para>Month (1 - 12; January = 1)</para>
+          </listitem>
+        </varlistentry>
+
+        <varlistentry>
+          <term>day</term>
+          <listitem>
+            <para>Day of month (1 - 31)</para>
+          </listitem>
+        </varlistentry>
+
+        <varlistentry>
+          <term>hour</term>
+          <listitem>
+            <para>Hours since midnight (0 - 23)</para>
+          </listitem>
+        </varlistentry>
+
+        <varlistentry>
+          <term>minute</term>
+          <listitem>
+            <para>Minutes after hour (0 - 59)</para>
+          </listitem>
+        </varlistentry>
+
+        <varlistentry>
+          <term>second</term>
+          <listitem>
+            <para>Seconds after minute (0 - 59)</para>
+          </listitem>
+        </varlistentry>
+
+        <varlistentry>
+          <term>time-zone</term>
+          <listitem>
+            <para>Time zone string (e.g., 'Z' or '-08:00')</para>
+          </listitem>
+        </varlistentry>
+
+        <varlistentry>
+          <term>format</term>
+          <listitem>
+            <para>The format specification.</para>
+            <variablelist>
+
+              <varlistentry>
+                <term>%a</term>
+                <listitem>
+                  <para>Abbreviated weekday name</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%A</term>
+                <listitem>
+                  <para>Full weekday name</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%b</term>
+                <listitem>
+                  <para>Abbreviated month name</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%B</term>
+                <listitem>
+                  <para>Full month name</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%c</term>
+                <listitem>
+                  <para>Date and time representation appropriate for locale</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%d</term>
+                <listitem>
+                  <para>Day of month as decimal number (01 - 31)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%e</term>
+                <listitem>
+                  <para>Day of month as decimal number (1 - 31)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%H</term>
+                <listitem>
+                  <para>Hour in 24-hour format (00 - 23)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%I</term>
+                <listitem>
+                  <para>Hour in 12-hour format (01 - 12)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%i</term>
+                <listitem>
+                  <para>Hour in 12-hour format (1 - 12)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%j</term>
+                <listitem>
+                  <para>Day of year as decimal number (001 - 366)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%m</term>
+                <listitem>
+                  <para>Month as decimal number (01 - 12)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%n</term>
+                <listitem>
+                  <para>Month as decimal number (1 - 12)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%M</term>
+                <listitem>
+                  <para>Minute as decimal number (00 - 59)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%P</term>
+                <listitem>
+                  <para>Current locale's A.M./P.M. indicator for 12-hour clock, uppercase</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%Q</term>
+                <listitem>
+                  <para>Current locale's A.M./P.M. indicator for 12-hour clock, uppercase with periods</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%p</term>
+                <listitem>
+                  <para>Current locale's A.M./P.M. indicator for 12-hour clock, lowercase</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%q</term>
+                <listitem>
+                  <para>Current locale's A.M./P.M. indicator for 12-hour clock, lowercase with periods</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%S</term>
+                <listitem>
+                  <para>Second as decimal number (00 - 59)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%U</term>
+                <listitem>
+                  <para>Week of year as decimal number, with Sunday as first day of week (00 - 53)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%w</term>
+                <listitem>
+                  <para>Weekday as decimal number (0 - 6; Sunday is 0)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%W</term>
+                <listitem>
+                  <para>Week of year as decimal number, with Monday as first day of week (00 - 53)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%x</term>
+                <listitem>
+                  <para>Date representation for current locale </para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%X</term>
+                <listitem>
+                  <para>Time representation for current locale</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%y</term>
+                <listitem>
+                  <para>Year without century, as decimal number (00 - 99)</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%Y</term>
+                <listitem>
+                  <para>Year with century, as decimal number</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%z</term>
+                <listitem>
+                  <para>Time-zone name or abbreviation; no characters if time zone is unknown</para>
+                </listitem>
+              </varlistentry>
+
+              <varlistentry>
+                <term>%%</term>
+                <listitem>
+                  <para>Percent sign</para>
+                </listitem>
+              </varlistentry>
+
+            </variablelist>
+          </listitem>
+        </varlistentry>
+
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns a formatted date/time string.</para>
+    </refreturn>
+
+  </doc:template>
+
+  <xsl:template name="dt:format-date-time">
+    <xsl:param name='xsd-date-time'/>
+    <xsl:param name="year"/>
+    <xsl:param name="month"/>
+    <xsl:param name="day"/>
+    <xsl:param name="hour"/>
+    <xsl:param name="minute"/>
+    <xsl:param name="second"/>
+    <xsl:param name="time-zone"/>
+    <xsl:param name="format" select="'%Y-%m-%dT%H:%M:%S%z'"/>
+
+    <xsl:value-of select="substring-before($format, '%')"/>
+
+    <xsl:variable name="code" select="substring(substring-after($format, '%'), 1, 1)"/>
+
+    <xsl:choose>
+
+      <xsl:when test='$xsd-date-time'>
+        <xsl:call-template name='dt:format-date-time'>
+          <xsl:with-param name='year'>
+            <xsl:call-template name='dt:get-xsd-datetime-year'>
+              <xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name='month'>
+            <xsl:call-template name='dt:get-xsd-datetime-month'>
+              <xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name='day'>
+            <xsl:call-template name='dt:get-xsd-datetime-day'>
+              <xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name='hour'>
+            <xsl:call-template name='dt:get-xsd-datetime-hour'>
+              <xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name='minute'>
+            <xsl:call-template name='dt:get-xsd-datetime-minute'>
+              <xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name='second'>
+            <xsl:call-template name='dt:get-xsd-datetime-second'>
+              <xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name='time-zone'>
+            <xsl:call-template name='dt:get-xsd-datetime-timezone'>
+              <xsl:with-param name='xsd-date-time' select='$xsd-date-time'/>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name='format'>
+            <xsl:choose>
+              <xsl:when test='contains($format, "%")'>
+                <xsl:text>%</xsl:text>
+                <xsl:value-of select='substring-after($format, "%")'/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select='$format'/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Abbreviated weekday name -->
+      <xsl:when test="$code='a'">
+        <xsl:variable name="day-of-the-week">
+          <xsl:call-template name="dt:calculate-day-of-the-week">
+            <xsl:with-param name="year" select="$year"/>
+            <xsl:with-param name="month" select="$month"/>
+            <xsl:with-param name="day" select="$day"/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:call-template name="dt:get-day-of-the-week-abbreviation">
+          <xsl:with-param name="day-of-the-week" select="$day-of-the-week"/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Full weekday name -->
+      <xsl:when test="$code='A'">
+        <xsl:variable name="day-of-the-week">
+          <xsl:call-template name="dt:calculate-day-of-the-week">
+            <xsl:with-param name="year" select="$year"/>
+            <xsl:with-param name="month" select="$month"/>
+            <xsl:with-param name="day" select="$day"/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:call-template name="dt:get-day-of-the-week-name">
+          <xsl:with-param name="day-of-the-week" select="$day-of-the-week"/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Abbreviated month name -->
+      <xsl:when test="$code='b'">
+        <xsl:call-template name="dt:get-month-abbreviation">
+          <xsl:with-param name="month" select="$month"/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Full month name -->
+      <xsl:when test="$code='B'">
+        <xsl:call-template name="dt:get-month-name">
+          <xsl:with-param name="month" select="$month"/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Date and time representation appropriate for locale -->
+      <xsl:when test="$code='c'">
+        <xsl:text>[not implemented]</xsl:text>
+      </xsl:when>
+
+      <!-- Day of month as decimal number (01 - 31) -->
+      <xsl:when test="$code='d'">
+        <xsl:if test="$day &lt; 10">0</xsl:if>
+        <xsl:value-of select="number($day)"/>
+      </xsl:when>
+      <!-- Day of month as decimal number (1 - 31) -->
+      <xsl:when test="$code='e'">
+        <xsl:value-of select="number($day)"/>
+      </xsl:when>
+
+      <!-- Hour in 24-hour format (00 - 23) -->
+      <xsl:when test="$code='H'">
+        <xsl:if test="$hour &lt; 10">0</xsl:if>
+        <xsl:value-of select="number($hour)"/>
+      </xsl:when>
+
+      <!-- Hour in 12-hour format (01 - 12) -->
+      <xsl:when test="$code='I'">
+        <xsl:choose>
+          <xsl:when test="$hour = 0">12</xsl:when>
+          <xsl:when test="$hour &lt; 10">0<xsl:value-of select="$hour - 0"/></xsl:when>
+          <xsl:when test="$hour &lt; 13"><xsl:value-of select="$hour - 0"/></xsl:when>
+          <xsl:when test="$hour &lt; 22">0<xsl:value-of select="$hour - 12"/></xsl:when>
+          <xsl:otherwise><xsl:value-of select="$hour - 12"/></xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <!-- Hour in 12-hour format (1 - 12) -->
+      <xsl:when test="$code='i'">
+        <xsl:choose>
+          <xsl:when test="$hour = 0">12</xsl:when>
+          <xsl:when test="$hour &lt; 10"><xsl:value-of select="$hour - 0"/></xsl:when>
+          <xsl:when test="$hour &lt; 13"><xsl:value-of select="$hour - 0"/></xsl:when>
+          <xsl:when test="$hour &lt; 22"><xsl:value-of select="$hour - 12"/></xsl:when>
+          <xsl:otherwise><xsl:value-of select="$hour - 12"/></xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+
+      <!-- Day of year as decimal number (001 - 366) -->
+      <xsl:when test="$code='j'">
+        <xsl:text>[not implemented]</xsl:text>
+      </xsl:when>
+
+      <!-- Month as decimal number (01 - 12) -->
+      <xsl:when test="$code='m'">
+        <xsl:if test="$month &lt; 10">0</xsl:if>
+        <xsl:value-of select="number($month)"/>
+      </xsl:when>
+      <!-- Month as decimal number (1 - 12) -->
+      <xsl:when test="$code='n'">
+        <xsl:value-of select="number($month)"/>
+      </xsl:when>
+
+      <!-- Minute as decimal number (00 - 59) -->
+      <xsl:when test="$code='M'">
+        <xsl:if test="$minute &lt; 10">0</xsl:if>
+        <xsl:value-of select="number($minute)"/>
+      </xsl:when>
+
+      <!-- Current locale's A.M./P.M. indicator for 12-hour clock -->
+      <xsl:when test="$code='p'">
+        <xsl:choose>
+          <xsl:when test="$hour &lt; 12">am</xsl:when>
+          <xsl:otherwise>pm</xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <!-- Current locale's A.M./P.M. indicator for 12-hour clock with periods -->
+      <xsl:when test="$code='q'">
+        <xsl:choose>
+          <xsl:when test="$hour &lt; 12">am</xsl:when>
+          <xsl:otherwise>p.m.</xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <!-- Current locale's A.M./P.M. indicator for 12-hour clock -->
+      <xsl:when test="$code='P'">
+        <xsl:choose>
+          <xsl:when test="$hour &lt; 12">AM</xsl:when>
+          <xsl:otherwise>PM</xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <!-- Current locale's A.M./P.M. indicator for 12-hour clock with periods -->
+      <xsl:when test="$code='Q'">
+        <xsl:choose>
+          <xsl:when test="$hour &lt; 12">AM</xsl:when>
+          <xsl:otherwise>P.M.</xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+
+      <!-- Second as decimal number (00 - 59) -->
+      <xsl:when test="$code='S'">
+        <xsl:if test="$second &lt; 10">0</xsl:if>
+        <xsl:value-of select="number($second)"/>
+      </xsl:when>
+
+      <!-- Week of year as decimal number, with Sunday as first day of week (00 - 53) -->
+      <xsl:when test="$code='U'">
+        <!-- add 1 to day -->
+        <xsl:call-template name="dt:calculate-week-number">
+          <xsl:with-param name="year" select="$year"/>
+          <xsl:with-param name="month" select="$month"/>
+          <xsl:with-param name="day" select="$day + 1"/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Weekday as decimal number (0 - 6; Sunday is 0) -->
+      <xsl:when test="$code='w'">
+        <xsl:call-template name="dt:calculate-day-of-the-week">
+          <xsl:with-param name="year" select="$year"/>
+          <xsl:with-param name="month" select="$month"/>
+          <xsl:with-param name="day" select="$day"/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Week of year as decimal number, with Monday as first day of week (00 - 53) -->
+      <xsl:when test="$code='W'">
+        <xsl:call-template name="dt:calculate-week-number">
+          <xsl:with-param name="year" select="$year"/>
+          <xsl:with-param name="month" select="$month"/>
+          <xsl:with-param name="day" select="$day"/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Date representation for current locale -->
+      <xsl:when test="$code='x'">
+        <xsl:text>[not implemented]</xsl:text>
+      </xsl:when>
+
+      <!-- Time representation for current locale -->
+      <xsl:when test="$code='X'">
+        <xsl:text>[not implemented]</xsl:text>
+      </xsl:when>
+
+      <!-- Year without century, as decimal number (00 - 99) -->
+      <xsl:when test="$code='y'">
+        <xsl:choose>
+          <xsl:when test='not(number($year))'>invalid year value</xsl:when>
+
+          <!-- workaround MSXML bug -->
+          <xsl:when test='number($year) mod 100 = 0'>00</xsl:when>
+
+          <xsl:otherwise>
+            <xsl:number format='01' value='number($year) mod 100'/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+
+      <!-- Year with century, as decimal number -->
+      <xsl:when test="$code='Y'">
+        <xsl:choose>
+          <xsl:when test='not(number($year))'>invalid year value</xsl:when>
+          <xsl:when test='string-length($year) = 2'>
+            <xsl:call-template name='dt:format-two-digit-year'>
+              <xsl:with-param name='year' select='$year'/>
+            </xsl:call-template>
+          </xsl:when>
+          <xsl:when test='string-length($year) >= 4'>
+            <xsl:value-of select='$year'/>
+          </xsl:when>
+          <xsl:otherwise>invalid year value</xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+
+      <!-- Time-zone name or abbreviation; no characters if time zone is unknown -->
+      <xsl:when test="$code='z'">
+        <xsl:value-of select="$time-zone"/>
+      </xsl:when>
+
+      <!-- Percent sign -->
+      <xsl:when test="$code='%'">
+        <xsl:text>%</xsl:text>
+      </xsl:when>
+
+    </xsl:choose>
+
+    <xsl:variable name="remainder" select="substring(substring-after($format, '%'), 2)"/>
+
+    <xsl:if test="not($xsd-date-time) and $remainder">
+      <xsl:call-template name="dt:format-date-time">
+        <xsl:with-param name="year" select="$year"/>
+        <xsl:with-param name="month" select="$month"/>
+        <xsl:with-param name="day" select="$day"/>
+        <xsl:with-param name="hour" select="$hour"/>
+        <xsl:with-param name="minute" select="$minute"/>
+        <xsl:with-param name="second" select="$second"/>
+        <xsl:with-param name="time-zone" select="$time-zone"/>
+        <xsl:with-param name="format" select="$remainder"/>
+      </xsl:call-template>
+    </xsl:if>
+
+  </xsl:template>
+
+  <doc:template name="dt:calculate-day-of-the-week" xmlns="">
+    <refpurpose>Calculates the day of the week.</refpurpose>
+
+    <refdescription>
+      <para>Given any Gregorian date, this calculates the day of the week.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>year</term>
+          <listitem>
+            <para>Year</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>month</term>
+          <listitem>
+            <para>Month (1 - 12; January = 1)</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>day</term>
+          <listitem>
+            <para>Day of month (1 - 31)</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the day of the week (0 - 6; Sunday = 0).</para>
+    </refreturn>
+
+  </doc:template>
+
+  <xsl:template name="dt:calculate-day-of-the-week">
+    <xsl:param name="year"/>
+    <xsl:param name="month"/>
+    <xsl:param name="day"/>
+
+    <xsl:variable name="a" select="floor((14 - $month) div 12)"/>
+    <xsl:variable name="y" select="$year - $a"/>
+    <xsl:variable name="m" select="$month + 12 * $a - 2"/>
+
+    <xsl:value-of select="($day + $y + floor($y div 4) - floor($y div 100) + floor($y div 400) + floor((31 * $m) div 12)) mod 7"/>
+
+  </xsl:template>
+
+  <doc:template name="dt:calculate-last-day-of-month" xmlns="">
+    <refpurpose>Calculates the number of days for a specified month.</refpurpose>
+
+    <refdescription>
+      <para>Given any Gregorian month, this calculates the last day of the month.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>year</term>
+          <listitem>
+            <para>Year</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>month</term>
+          <listitem>
+            <para>Month (1 - 12; January = 1)</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the number of days in given month as a decimal number.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="dt:calculate-last-day-of-month">
+    <xsl:param name="year"/>
+    <xsl:param name="month"/>
+
+    <xsl:choose>
+      <xsl:when test="$month = 2">
+        <xsl:choose> 
+          <xsl:when test="($year mod 4) = 0 and (($year mod 400) = 0
+                          or ($year mod 100) != 0)">29</xsl:when>
+          <xsl:otherwise>28</xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:when test="$month &lt; 8">
+        <xsl:choose>
+          <xsl:when test="$month mod 2 = 0">30</xsl:when>
+          <xsl:otherwise>31</xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:choose>
+          <xsl:when test="$month mod 2 = 1">30</xsl:when>
+          <xsl:otherwise>31</xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="dt:get-day-of-the-week-name" xmlns="">
+    <refpurpose>Gets the day of the week's full name.</refpurpose>
+
+    <refdescription>
+      <para>Converts a numeric day of the week value into a string representing the day's full name.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>day-of-the-week</term>
+          <listitem>
+            <para>Day of the week (0 - 6; Sunday = 0)</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns a string.</para>
+    </refreturn>
+
+  </doc:template>
+
+  <xsl:template name="dt:get-day-of-the-week-name">
+    <xsl:param name="day-of-the-week"/>
+
+    <xsl:choose>
+      <xsl:when test="$day-of-the-week = 0">Sunday</xsl:when>
+      <xsl:when test="$day-of-the-week = 1">Monday</xsl:when>
+      <xsl:when test="$day-of-the-week = 2">Tuesday</xsl:when>
+      <xsl:when test="$day-of-the-week = 3">Wednesday</xsl:when>
+      <xsl:when test="$day-of-the-week = 4">Thursday</xsl:when>
+      <xsl:when test="$day-of-the-week = 5">Friday</xsl:when>
+      <xsl:when test="$day-of-the-week = 6">Saturday</xsl:when>
+      <xsl:otherwise>error: <xsl:value-of select="$day-of-the-week"/></xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <doc:template name="dt:get-day-of-the-week-abbreviation" xmlns="">
+    <refpurpose>Gets the day of the week's abbreviation.</refpurpose>
+
+    <refdescription>
+      <para>Converts a numeric day of the week value into a string representing the day's abbreviation.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>day-of-the-week</term>
+          <listitem>
+            <para>Day of the week (0 - 6; Sunday = 0)</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns a string.</para>
+    </refreturn>
+
+  </doc:template>
+
+  <xsl:template name="dt:get-day-of-the-week-abbreviation">
+    <xsl:param name="day-of-the-week"/>
+
+    <xsl:choose>
+      <xsl:when test="$day-of-the-week = 0">Sun</xsl:when>
+      <xsl:when test="$day-of-the-week = 1">Mon</xsl:when>
+      <xsl:when test="$day-of-the-week = 2">Tue</xsl:when>
+      <xsl:when test="$day-of-the-week = 3">Wed</xsl:when>
+      <xsl:when test="$day-of-the-week = 4">Thu</xsl:when>
+      <xsl:when test="$day-of-the-week = 5">Fri</xsl:when>
+      <xsl:when test="$day-of-the-week = 6">Sat</xsl:when>
+      <xsl:otherwise>error: <xsl:value-of select="$day-of-the-week"/></xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <doc:template name="dt:get-month-name" xmlns="">
+    <refpurpose>Gets the month's full name.</refpurpose>
+
+    <refdescription>
+      <para>Converts a numeric month value into a string representing the month's full name.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>month</term>
+          <listitem>
+            <para>Month (1 - 12; Januaray = 1)</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns a string.</para>
+    </refreturn>
+
+  </doc:template>
+
+  <xsl:template name="dt:get-month-name">
+    <xsl:param name="month"/>
+
+    <xsl:choose>
+      <xsl:when test="$month = 1">January</xsl:when>
+      <xsl:when test="$month = 2">February</xsl:when>
+      <xsl:when test="$month = 3">March</xsl:when>
+      <xsl:when test="$month = 4">April</xsl:when>
+      <xsl:when test="$month = 5">May</xsl:when>
+      <xsl:when test="$month = 6">June</xsl:when>
+      <xsl:when test="$month = 7">July</xsl:when>
+      <xsl:when test="$month = 8">August</xsl:when>
+      <xsl:when test="$month = 9">September</xsl:when>
+      <xsl:when test="$month = 10">October</xsl:when>
+      <xsl:when test="$month = 11">November</xsl:when>
+      <xsl:when test="$month = 12">December</xsl:when>
+      <xsl:otherwise>error: <xsl:value-of select="$month"/></xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <doc:template name="dt:get-month-abbreviation" xmlns="">
+    <refpurpose>Gets the month's abbreviation.</refpurpose>
+
+    <refdescription>
+      <para>Converts a numeric month value into a string representing the month's abbreviation.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>month</term>
+          <listitem>
+            <para>Month (1 - 12; Januaray = 1)</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns a string.</para>
+    </refreturn>
+
+  </doc:template>
+
+  <xsl:template name="dt:get-month-abbreviation">
+    <xsl:param name="month"/>
+
+    <xsl:choose>
+      <xsl:when test="$month = 1">Jan</xsl:when>
+      <xsl:when test="$month = 2">Feb</xsl:when>
+      <xsl:when test="$month = 3">Mar</xsl:when>
+      <xsl:when test="$month = 4">Apr</xsl:when>
+      <xsl:when test="$month = 5">May</xsl:when>
+      <xsl:when test="$month = 6">Jun</xsl:when>
+      <xsl:when test="$month = 7">Jul</xsl:when>
+      <xsl:when test="$month = 8">Aug</xsl:when>
+      <xsl:when test="$month = 9">Sep</xsl:when>
+      <xsl:when test="$month = 10">Oct</xsl:when>
+      <xsl:when test="$month = 11">Nov</xsl:when>
+      <xsl:when test="$month = 12">Dec</xsl:when>
+      <xsl:otherwise>error: <xsl:value-of select="$month"/></xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <doc:template name="dt:calculate-julian-day" xmlns="">
+    <refpurpose>Calculates the Julian Day for a specified date.</refpurpose>
+
+    <refdescription>
+      <para>Given any Gregorian date, this calculates the Julian Day.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>year</term>
+          <listitem>
+            <para>Year</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>month</term>
+          <listitem>
+            <para>Month (1 - 12; January = 1)</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>day</term>
+          <listitem>
+            <para>Day of month (1 - 31)</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the Julian Day as a decimal number.</para>
+    </refreturn>
+
+  </doc:template>
+
+  <xsl:template name="dt:calculate-julian-day">
+    <xsl:param name="year"/>
+    <xsl:param name="month"/>
+    <xsl:param name="day"/>
+
+    <xsl:variable name="a" select="floor((14 - $month) div 12)"/>
+    <xsl:variable name="y" select="$year + 4800 - $a"/>
+    <xsl:variable name="m" select="$month + 12 * $a - 3"/>
+
+    <xsl:value-of select="$day + floor((153 * $m + 2) div 5) + $y * 365 + floor($y div 4) - floor($y div 100) + floor($y div 400) - 32045"/>
+
+  </xsl:template>
+
+  <doc:template name="dt:format-julian-day" xmlns="">
+    <refpurpose>Returns a string with a formatted date for a specified Julian Day.</refpurpose>
+
+    <refdescription>
+      <para>Given any Julian Day, this returns a string according to the format specification.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>julian-day</term>
+          <listitem>
+            <para>A Julian Day</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>format</term>
+          <listitem>
+            <para>The format specification. See dt:format-date-time for more details.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>A string.</para>
+    </refreturn>
+
+  </doc:template>
+
+  <xsl:template name="dt:format-julian-day">
+    <xsl:param name="julian-day"/>
+    <xsl:param name="format" select="'%Y-%m-%d'"/>
+
+    <xsl:variable name="a" select="$julian-day + 32044"/>
+    <xsl:variable name="b" select="floor((4 * $a + 3) div 146097)"/>
+    <xsl:variable name="c" select="$a - floor(($b * 146097) div 4)"/>
+
+    <xsl:variable name="d" select="floor((4 * $c + 3) div 1461)"/>
+    <xsl:variable name="e" select="$c - floor((1461 * $d) div 4)"/>
+    <xsl:variable name="m" select="floor((5 * $e + 2) div 153)"/>
+
+    <xsl:variable name="day" select="$e - floor((153 * $m + 2) div 5) + 1"/>
+    <xsl:variable name="month" select="$m + 3 - 12 * floor($m div 10)"/>
+    <xsl:variable name="year" select="$b * 100 + $d - 4800 + floor($m div 10)"/>
+
+    <xsl:call-template name="dt:format-date-time">
+      <xsl:with-param name="year" select="$year"/>
+      <xsl:with-param name="month" select="$month"/>
+      <xsl:with-param name="day" select="$day"/>
+      <xsl:with-param name="format" select="$format"/>
+    </xsl:call-template>
+
+  </xsl:template>
+
+  <doc:template name="dt:calculate-week-number" xmlns="">
+    <refpurpose>Calculates the week number for a specified date.</refpurpose>
+
+    <refdescription>
+      <para>Assumes Monday is the first day of the week.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>year</term>
+          <listitem>
+            <para>Year</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>month</term>
+          <listitem>
+            <para>Month (1 - 12; January = 1)</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>day</term>
+          <listitem>
+            <para>Day of month (1 - 31)</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the week number as a decimal number.</para>
+    </refreturn>
+
+  </doc:template>
+
+  <xsl:template name="dt:calculate-week-number">
+    <xsl:param name="year"/>
+    <xsl:param name="month"/>
+    <xsl:param name="day"/>
+
+    <xsl:variable name="J">
+      <xsl:call-template name="dt:calculate-julian-day">
+        <xsl:with-param name="year" select="$year"/>
+        <xsl:with-param name="month" select="$month"/>
+        <xsl:with-param name="day" select="$day"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="d4" select="($J + 31741 - ($J mod 7)) mod 146097 mod 36524 mod 1461"/>
+    <xsl:variable name="L" select="floor($d4 div 1460)"/>
+    <xsl:variable name="d1" select="(($d4 - $L) mod 365) + $L"/>
+
+    <xsl:value-of select="floor($d1 div 7) + 1"/>
+
+  </xsl:template>
+
+  <doc:template name="dt:get-month-number" xmlns="">
+    <refpurpose>Take a month by name and return a number which can be used as input to the templates. </refpurpose>
+
+    <refdescription>
+      <para>Input</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>month</term>
+          <listitem>
+            <para>Month as described either by full name or abbreviation.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Return a month as a decimal number. (Jan = 1)</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='dt:get-month-number'>
+    <xsl:param name='month'/>
+
+    <xsl:variable name='monToUpper'>
+      <xsl:call-template name='str:to-upper'>
+        <xsl:with-param name='text' select='$month'/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:choose>
+      <xsl:when test='starts-with($monToUpper,"JAN")'>
+        <xsl:value-of select='"1"'/>
+      </xsl:when>
+      <xsl:when test='starts-with($monToUpper,"FEB")'>
+        <xsl:value-of select='2'/>
+      </xsl:when>
+      <xsl:when test='starts-with($monToUpper,"MAR")'>
+        <xsl:value-of select='3'/>
+      </xsl:when>
+      <xsl:when test='starts-with($monToUpper,"APR")'>
+	<xsl:value-of select='4'/>
+      </xsl:when>      
+      <xsl:when test='starts-with($monToUpper,"MAY")'>
+	<xsl:value-of select='5'/>
+      </xsl:when>
+      <xsl:when test='starts-with($monToUpper,"JUN")'>
+	<xsl:value-of select='6'/>
+      </xsl:when>
+      <xsl:when test='starts-with($monToUpper,"JUL")'>
+	<xsl:value-of select='7'/>
+      </xsl:when>
+      <xsl:when test='starts-with($monToUpper,"AUG")'>
+	<xsl:value-of select='8'/>
+      </xsl:when>
+      <xsl:when test='starts-with($monToUpper,"SEP")'>
+	<xsl:value-of select='9'/>
+      </xsl:when>
+      <xsl:when test='starts-with($monToUpper,"OCT")'>
+	<xsl:value-of select='10'/>
+      </xsl:when>
+      <xsl:when test='starts-with($monToUpper,"NOV")'>
+	<xsl:value-of select='11'/>
+      </xsl:when>
+      <xsl:when test='starts-with($monToUpper,"DEC")'>
+	<xsl:value-of select='"12"'/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="dt:get-xsd-datetime-year" xmlns="">
+    <refpurpose>Return year component of XSD DateTime value.</refpurpose>
+
+    <refdescription>
+      <para>Extract component of XML Schemas DateTime value.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>xsd-date-time</term>
+          <listitem>
+            <para>A value in XSD DateTime format.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns year component.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='dt:get-xsd-datetime-year'>
+    <xsl:param name='xsd-date-time'/>
+
+    <xsl:choose>
+      <xsl:when test='contains($xsd-date-time, "T")'>
+        <xsl:call-template name='dt:get-xsd-datetime-year'>
+          <xsl:with-param name='xsd-date-time' select='substring-before($xsd-date-time, "T")'/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Check for time -->
+      <xsl:when test='substring($xsd-date-time, 3, 1) = ":"'/>
+
+      <xsl:otherwise>
+        <!-- This is a date -->
+        <xsl:value-of select='substring-before($xsd-date-time, "-")'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="dt:get-xsd-datetime-month" xmlns="">
+    <refpurpose>Return month component of XSD DateTime value.</refpurpose>
+
+    <refdescription>
+      <para>Extract component of XML Schemas DateTime value.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>xsd-date-time</term>
+          <listitem>
+            <para>A value in XSD DateTime format.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns month component.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='dt:get-xsd-datetime-month'>
+    <xsl:param name='xsd-date-time'/>
+
+    <xsl:choose>
+      <xsl:when test='contains($xsd-date-time, "T")'>
+        <xsl:call-template name='dt:get-xsd-datetime-month'>
+          <xsl:with-param name='xsd-date-time' select='substring-before($xsd-date-time, "T")'/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Check for time -->
+      <xsl:when test='substring($xsd-date-time, 3, 1) = ":"'/>
+
+      <xsl:otherwise>
+        <!-- This is a date -->
+        <xsl:value-of select='substring(substring-after($xsd-date-time, "-"), 1, 2)'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="dt:get-xsd-datetime-day" xmlns="">
+    <refpurpose>Return day component of XSD DateTime value.</refpurpose>
+
+    <refdescription>
+      <para>Extract component of XML Schemas DateTime value.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>xsd-date-time</term>
+          <listitem>
+            <para>A value in XSD DateTime format.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns day component.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='dt:get-xsd-datetime-day'>
+    <xsl:param name='xsd-date-time'/>
+
+    <xsl:choose>
+      <xsl:when test='contains($xsd-date-time, "T")'>
+        <xsl:call-template name='dt:get-xsd-datetime-day'>
+          <xsl:with-param name='xsd-date-time' select='substring-before($xsd-date-time, "T")'/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Check for time -->
+      <xsl:when test='substring($xsd-date-time, 3, 1) = ":"'/>
+
+      <xsl:otherwise>
+        <!-- This is a date -->
+        <xsl:value-of select='substring(substring-after($xsd-date-time, "-"), 4, 2)'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="dt:get-xsd-datetime-hour" xmlns="">
+    <refpurpose>Return hour component of XSD DateTime value.</refpurpose>
+
+    <refdescription>
+      <para>Extract component of XML Schemas DateTime value.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>xsd-date-time</term>
+          <listitem>
+            <para>A value in XSD DateTime format.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns hour component.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='dt:get-xsd-datetime-hour'>
+    <xsl:param name='xsd-date-time'/>
+
+    <xsl:choose>
+      <xsl:when test='contains($xsd-date-time, "T")'>
+        <xsl:call-template name='dt:get-xsd-datetime-hour'>
+          <xsl:with-param name='xsd-date-time' select='substring-after($xsd-date-time, "T")'/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Check for time -->
+      <xsl:when test='substring($xsd-date-time, 3, 1) = ":"'>
+        <xsl:value-of select='substring($xsd-date-time, 1, 2)'/>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <!-- This is a date -->
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="dt:get-xsd-datetime-minute" xmlns="">
+    <refpurpose>Return minute component of XSD DateTime value.</refpurpose>
+
+    <refdescription>
+      <para>Extract component of XML Schemas DateTime value.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>xsd-date-time</term>
+          <listitem>
+            <para>A value in XSD DateTime format.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns minute component.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='dt:get-xsd-datetime-minute'>
+    <xsl:param name='xsd-date-time'/>
+
+    <xsl:choose>
+      <xsl:when test='contains($xsd-date-time, "T")'>
+        <xsl:call-template name='dt:get-xsd-datetime-minute'>
+          <xsl:with-param name='xsd-date-time' select='substring-after($xsd-date-time, "T")'/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Check for time -->
+      <xsl:when test='substring($xsd-date-time, 3, 1) = ":"'>
+        <xsl:value-of select='substring($xsd-date-time, 4, 2)'/>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <!-- This is a date -->
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="dt:get-xsd-datetime-second" xmlns="">
+    <refpurpose>Return second component of XSD DateTime value.</refpurpose>
+
+    <refdescription>
+      <para>Extract component of XML Schemas DateTime value.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>xsd-date-time</term>
+          <listitem>
+            <para>A value in XSD DateTime format.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns second component.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='dt:get-xsd-datetime-second'>
+    <xsl:param name='xsd-date-time'/>
+
+    <xsl:choose>
+      <xsl:when test='contains($xsd-date-time, "T")'>
+        <xsl:call-template name='dt:get-xsd-datetime-second'>
+          <xsl:with-param name='xsd-date-time' select='substring-after($xsd-date-time, "T")'/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <!-- Check for time -->
+      <xsl:when test='substring($xsd-date-time, 3, 1) = ":"'>
+        <xsl:variable name='part' select='substring($xsd-date-time, 7)'/>
+        <xsl:choose>
+          <xsl:when test='contains($part, "Z")'>
+            <xsl:value-of select='substring-before($part, "Z")'/>
+          </xsl:when>
+          <xsl:when test='contains($part, "+")'>
+            <xsl:value-of select='substring-before($part, "+")'/>
+          </xsl:when>
+          <xsl:when test='contains($part, "-")'>
+            <xsl:value-of select='substring-before($part, "-")'/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select='$part'/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <!-- This is a date -->
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="dt:get-xsd-datetime-timezone" xmlns="">
+    <refpurpose>Return timezone component of XSD DateTime value.</refpurpose>
+
+    <refdescription>
+      <para>Extract component of XML Schemas DateTime value.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>xsd-date-time</term>
+          <listitem>
+            <para>A value in XSD DateTime format.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns timezone component.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='dt:get-xsd-datetime-timezone'>
+    <xsl:param name='xsd-date-time'/>
+
+    <xsl:choose>
+      <xsl:when test='contains($xsd-date-time, "Z")'>Z</xsl:when>
+      <xsl:when test='contains($xsd-date-time, "T")'>
+        <xsl:call-template name='dt:get-xsd-datetime-timezone'>
+          <xsl:with-param name='xsd-date-time' select='substring-after($xsd-date-time, "T")'/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <xsl:when test='substring($xsd-date-time, 3, 1) = ":"'>
+        <!-- This is a time -->
+        <xsl:choose>
+          <xsl:when test='contains($xsd-date-time, "+")'>
+            <xsl:text>+</xsl:text>
+            <xsl:value-of select='substring-after($xsd-date-time, "+")'/>
+          </xsl:when>
+          <xsl:when test='contains($xsd-date-time, "-")'>
+            <xsl:text>-</xsl:text>
+            <xsl:value-of select='substring-after($xsd-date-time, "-")'/>
+          </xsl:when>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- This is a date -->
+        <xsl:value-of select='substring(substring-after($xsd-date-time, "-"), 6)'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="dt:format-two-digit-year" xmlns="">
+    <refpurpose>Return two digit year as four digit year value.</refpurpose>
+
+    <refdescription>
+      <para>Prepend century to two digit year value.</para>
+      <para>Century value is calculated according to suggested solutions in RFC2626 (section 5).</para>
+      <para>Fixed window solution: 20 is prepended to year if the year is less than 50, otherwise 19 is prepended to year.</para>
+      <para>Sliding window solution: The year is considered in the future if the year is less than the current 2 digit year plus 'n' years (where 'n' is a param), otherwise it is considered in the past.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>year</term>
+          <listitem>
+            <para>A year value in 2 digit format.</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>method</term>
+          <listitem>
+            <para>RFC2626 suggested solution ('fixed' or 'sliding').  Default is 'fixed'.</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>n</term>
+          <listitem>
+            <para>No. of years. Used in sliding windows solution.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns four digit year value.</para>
+    </refreturn>
+  </doc:template>
+  
+  <xsl:template name="dt:format-two-digit-year">
+    <xsl:param name="year" />
+    <xsl:param name="method" select="'fixed'"/>
+
+    <xsl:choose>
+      <xsl:when test="string-length($year) != 2">invalid year value</xsl:when>
+      <xsl:when test="$method = 'fixed'">
+        <xsl:choose>
+          <xsl:when test="$year &lt; 50">20</xsl:when>
+          <xsl:otherwise>19</xsl:otherwise>
+        </xsl:choose>
+        <xsl:value-of select="$year" />
+      </xsl:when>
+      <xsl:when test="$method = 'window'">not yet implemented</xsl:when>
+      <xsl:otherwise>invalid method</xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+ </xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/example.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/example.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/example.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,90 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet
+  version="1.0"
+  extension-element-prefixes="doc"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:doc="http://xsltsl.org/xsl/documentation/1.0"
+  xmlns:eg="http://xsltsl.org/example"
+>
+
+  <doc:reference xmlns="">
+    <referenceinfo>
+      <releaseinfo role="meta">
+        $Id: example.xsl 3991 2004-11-10 06:51:55Z balls $
+      </releaseinfo>
+      <author>
+        <surname>Ball</surname>
+        <firstname>Steve</firstname>
+      </author>
+      <copyright>
+        <year>2001</year>
+        <holder>Steve Ball</holder>
+      </copyright>
+    </referenceinfo>
+
+    <title>Example Stylesheet</title>
+
+    <partintro>
+      <section>
+        <title>Introduction</title>
+
+        <para>This module provides a template for adding stylesheet modules to the XSLT Standard Library.</para>
+        <para>To add a new module to the library, follow these easy steps:</para>
+        <orderedlist>
+          <listitem>
+            <para>Copy this file and replace its contents with the new module templates and documentation.</para>
+          </listitem>
+          <listitem>
+            <para>Copy the corresponding test file in the <filename>test</filename> directory.  Replace its contents with tests for the new module.</para>
+          </listitem>
+          <listitem>
+            <para>Add an include element in the <filename>stdlib.xsl</filename> stylesheet.</para>
+          </listitem>
+          <listitem>
+            <para>Add an entry in the <filename>test/test.xml</filename> file.</para>
+          </listitem>
+          <listitem>
+            <para>Add entries in the <filename>test/test.xsl</filename> stylesheet.</para>
+          </listitem>
+          <listitem>
+            <para>Add an entry in the <filename>doc/build.xml</filename> file.</para>
+          </listitem>
+        </orderedlist>
+
+        <para>The <filename>example.xsl</filename> stylesheet provides a more extensive example.</para>
+
+      </section>
+    </partintro>
+
+  </doc:reference>
+
+  <doc:template name="eg:example" xmlns="">
+    <refpurpose>Template Example</refpurpose>
+
+    <refdescription>
+      <para>Provides a template for writing templates.  Replace this paragraph with a description of your template</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>text</term>
+          <listitem>
+            <para>The example string</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns nothing.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="eg:example">
+    <xsl:param name="text"/>
+  </xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/markup.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/markup.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/markup.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,789 @@
+<xsl:stylesheet version='1.0'
+  xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
+  xmlns:doc='http://xsltsl.org/xsl/documentation/1.0'
+  xmlns:markup='http://xsltsl.org/markup'
+  xmlns:str='http://xsltsl.org/string'
+  extension-element-prefixes='doc markup str'>
+
+  <doc:reference xmlns=''>
+    <referenceinfo>
+      <releaseinfo role="meta">
+	$Id: markup.xsl 3991 2004-11-10 06:51:55Z balls $
+      </releaseinfo>
+      <author>
+	<surname>Ball</surname>
+	<firstname>Steve</firstname>
+      </author>
+      <copyright>
+	<year>2003</year>
+	<year>2001</year>
+	<holder>Steve Ball</holder>
+      </copyright>
+    </referenceinfo>
+
+    <title>XML Markup Templates</title>
+
+    <partintro>
+      <section>
+	<title>Introduction</title>
+
+	<para>This stylesheet module provides functions for generating literal XML markup.</para>
+
+      </section>
+    </partintro>
+
+  </doc:reference>
+
+  <doc:template name="markup:xml-declaration" xmlns="">
+    <refpurpose>Create an XML Declaration</refpurpose>
+
+    <refdescription>
+      <para>This template returns an XML Declaration.  Although the XSLT standard provides control over the generation of the XML Declaration, this template may be useful in circumstances where the values must be computed at runtime.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>version</term>
+	  <listitem>
+	    <para>Version number.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>standalone</term>
+	  <listitem>
+	    <para>Standalone indication.  Must be value "yes" or "no".</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>encoding</term>
+	  <listitem>
+	    <para>Character encoding.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns an XML Declaration as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='markup:xml-declaration'>
+    <xsl:param name='version' select="'1.0'"/>
+    <xsl:param name='standalone'/>
+    <xsl:param name='encoding'/>
+
+    <xsl:text disable-output-escaping='yes'>&lt;?xml version="</xsl:text>
+    <xsl:copy-of select="$version"/>
+    <xsl:text>"</xsl:text>
+
+    <xsl:choose>
+      <xsl:when test="string-length($standalone) = 0"/>
+      <xsl:when test='$standalone = "yes" or $standalone = "no"'>
+        <xsl:text> standalone="</xsl:text>
+        <xsl:copy-of select="$standalone"/>
+        <xsl:text>"</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:message terminate="yes">invalid value "<xsl:value-of select="$standalone"/>" for standalone attribute</xsl:message>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test='string-length($encoding) &gt; 0'>
+      <xsl:text> encoding="</xsl:text>
+      <xsl:copy-of select='$encoding'/>
+      <xsl:text>"</xsl:text>
+    </xsl:if>
+
+    <xsl:text disable-output-escaping='yes'>?&gt;
+</xsl:text>
+  </xsl:template>
+
+  <doc:template name="markup:doctype-declaration" xmlns="">
+    <refpurpose>Create a Document Type Declaration</refpurpose>
+
+    <refdescription>
+      <para>This template returns a Document Type Declaration.  Although the XSLT standard provides control over the generation of a Document Type Declaration, this template may be useful in circumstances where the values for the identifiers or the internal subset must be computed at runtime.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>docel</term>
+	  <listitem>
+	    <para>The name of the document element.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>publicid</term>
+	  <listitem>
+	    <para>The public identifier for the external DTD subset.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>systemid</term>
+	  <listitem>
+	    <para>The system identifier for the external DTD subset.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>internaldtd</term>
+	  <listitem>
+	    <para>The internal DTD subset.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns a Document Type Declaration as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='markup:doctype-declaration'>
+    <xsl:param name='docel'/>
+    <xsl:param name='publicid'/>
+    <xsl:param name='systemid'/>
+    <xsl:param name='internaldtd'/>
+
+    <xsl:if test='string-length($docel) = 0'>
+      <xsl:message terminate='yes'>No document element specified</xsl:message>
+    </xsl:if>
+
+    <xsl:text disable-output-escaping='yes'>&lt;!DOCTYPE </xsl:text>
+    <xsl:copy-of select="$docel"/>
+
+    <xsl:call-template name='markup:external-identifier'>
+      <xsl:with-param name='publicid' select='$publicid'/>
+      <xsl:with-param name='systemid' select='$systemid'/>
+      <xsl:with-param name='leading-space' select='true()'/>
+    </xsl:call-template>
+
+    <xsl:if test='string-length($internaldtd) &gt; 0'>
+      <xsl:text> [</xsl:text>
+      <xsl:copy-of select='$internaldtd'/>
+      <xsl:text>]</xsl:text>
+    </xsl:if>
+
+    <xsl:text disable-output-escaping='yes'>&gt;
+</xsl:text>
+  </xsl:template>
+
+  <doc:template name="markup:element-declaration" xmlns="">
+    <refpurpose>Create an Element Declaration</refpurpose>
+
+    <refdescription>
+      <para>This template returns an element declaration..</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>type</term>
+	  <listitem>
+	    <para>The element type.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>content-spec</term>
+	  <listitem>
+	    <para>The content specification.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns an element declaration as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='markup:element-declaration'>
+    <xsl:param name='type'/>
+    <xsl:param name='content-spec' select="'ANY'"/>
+
+    <xsl:if test='string-length($type) = 0'>
+      <xsl:message terminate='yes'>element type must be specified</xsl:message>
+    </xsl:if>
+    <xsl:if test='string-length($content-spec) = 0'>
+      <xsl:message terminate='yes'>content specification must be specified</xsl:message>
+    </xsl:if>
+
+    <xsl:text disable-output-escaping='yes'>&lt;!ELEMENT </xsl:text>
+    <xsl:copy-of select='$type'/>
+    <xsl:text> </xsl:text>
+    <xsl:copy-of select='$content-spec'/>
+    <xsl:text disable-output-escaping='yes'>&gt;</xsl:text>
+  </xsl:template>
+
+  <doc:template name="markup:attlist-declaration" xmlns="">
+    <refpurpose>Create an Attribute List Declaration</refpurpose>
+
+    <refdescription>
+      <para>This template returns an attribute list declaration.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>type</term>
+	  <listitem>
+	    <para>The element type.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>attr-defns</term>
+	  <listitem>
+	    <para>Attribute definitions.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns an attribute list declaration as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='markup:attlist-declaration'>
+    <xsl:param name='type'/>
+    <xsl:param name='attr-defns'/>
+
+    <xsl:if test='string-length($type) = 0'>
+      <xsl:message terminate='yes'>element type must be specified</xsl:message>
+    </xsl:if>
+
+    <xsl:text disable-output-escaping='yes'>&lt;!ATTLIST </xsl:text>
+    <xsl:copy-of select='$type'/>
+    <xsl:text> </xsl:text>
+    <xsl:copy-of select='$attr-defns'/>
+    <xsl:text disable-output-escaping='yes'>&gt;</xsl:text>
+  </xsl:template>
+
+  <doc:template name="markup:attribute-definition" xmlns="">
+    <refpurpose>Create an Attribute Definition</refpurpose>
+
+    <refdescription>
+      <para>This template returns an attribute definition.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>name</term>
+	  <listitem>
+	    <para>The attribute name.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>type</term>
+	  <listitem>
+	    <para>The attribute type.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>default</term>
+	  <listitem>
+	    <para>The attribute default.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns an attribute definition as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='markup:attribute-definition'>
+    <xsl:param name='name'/>
+    <xsl:param name='type'/>
+    <xsl:param name='default'/>
+
+    <xsl:if test='string-length($name) = 0'>
+      <xsl:message terminate='yes'>attribute name must be specified</xsl:message>
+    </xsl:if>
+    <xsl:if test='string-length($type) = 0'>
+      <xsl:message terminate='yes'>attribute type must be specified</xsl:message>
+    </xsl:if>
+    <xsl:if test='string-length($default) = 0'>
+      <xsl:message terminate='yes'>attribute default must be specified</xsl:message>
+    </xsl:if>
+
+    <xsl:text> </xsl:text>
+    <xsl:copy-of select='$name'/>
+    <xsl:text> </xsl:text>
+    <xsl:copy-of select='$type'/>
+    <xsl:text> </xsl:text>
+    <xsl:copy-of select='$default'/>
+  </xsl:template>
+
+  <doc:template name="markup:entity-declaration" xmlns="">
+    <refpurpose>Create an Entity Declaration</refpurpose>
+
+    <refdescription>
+      <para>This template returns an entity declaration.</para>
+      <para>If the 'text' parameter is given a value, then an internal entity is created.  If either the 'publicid' or 'systemid' parameters are given a value then an external entity is created.  It is an error for the 'text' parameter to have value as well as the 'publicid', 'systemid' or 'notation' parameters.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>name</term>
+	  <listitem>
+	    <para>The entity name.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>parameter</term>
+	  <listitem>
+	    <para>Boolean value to determine whether a parameter entity is created.  Default is 'false()'.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The replacement text.  Must be a string.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>nodes</term>
+	  <listitem>
+	    <para>The replacement text as a nodeset.  The nodeset is formatted as XML using the as-xml template.  If both text and nodes are specified then nodes takes precedence.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>publicid</term>
+	  <listitem>
+	    <para>The public identifier for an external entity.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>systemid</term>
+	  <listitem>
+	    <para>The system identifier for an external entity.</para>
+	  </listitem>
+	</varlistentry>
+ 	<varlistentry>
+	  <term>notation</term>
+	  <listitem>
+	    <para>The notation for an external entity.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns an entity declaration as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='markup:entity-declaration'>
+    <xsl:param name='name'/>
+    <xsl:param name='parameter' select='false()'/>
+    <xsl:param name='text'/>
+    <xsl:param name='nodes'/>
+    <xsl:param name='publicid'/>
+    <xsl:param name='systemid'/>
+    <xsl:param name='notation'/>
+
+    <xsl:if test='string-length($name) = 0'>
+      <xsl:message terminate='yes'>entity name must be specified</xsl:message>
+    </xsl:if>
+    <xsl:if test='string-length($text) &gt; 0 and 
+                  (string-length($publicid) &gt; 0 or
+                   string-length($systemid) &gt; 0 or
+                   string-length($notation) &gt; 0)'>
+      <xsl:message terminate='yes'>both replacement text and external identifier specified</xsl:message>
+    </xsl:if>
+
+    <xsl:text disable-output-escaping='yes'>&lt;!ENTITY </xsl:text>
+    <xsl:copy-of select='$name'/>
+    <xsl:text> </xsl:text>
+    <xsl:if test="$parameter">
+      <xsl:text>% </xsl:text>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="$nodes">
+        <xsl:call-template name='markup:quote-value'>
+          <xsl:with-param name='value'>
+            <xsl:call-template name="markup:as-xml">
+              <xsl:with-param name="nodes" select="$nodes"/>
+            </xsl:call-template>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test='$text'>
+        <xsl:call-template name='markup:quote-value'>
+          <xsl:with-param name='value' select='$text'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name='markup:external-identifier'>
+          <xsl:with-param name='publicid' select='$publicid'/>
+          <xsl:with-param name='systemid' select='$systemid'/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test='$notation'>
+      <xsl:text> NDATA "</xsl:text>
+      <xsl:copy-of select='$notation'/>
+      <xsl:text>"</xsl:text>
+    </xsl:if>
+
+    <xsl:text disable-output-escaping='yes'>&gt;</xsl:text>
+  </xsl:template>
+
+  <doc:template name="markup:quote-value" xmlns="">
+    <refpurpose>Quote an Attribute Value</refpurpose>
+
+    <refdescription>
+      <para>This template returns a quoted value.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>value</term>
+	  <listitem>
+	    <para>The value to quote.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns a quote value as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='markup:quote-value'>
+    <xsl:param name='value'/>
+
+    <xsl:variable name="quoted">
+      <xsl:call-template name='markup:quote-value-aux'>
+        <xsl:with-param name='value' select='$value'/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:choose>
+      <xsl:when test="contains($value, '&lt;')">
+        <xsl:call-template name='str:subst'>
+          <xsl:with-param name='text' select='$quoted'/>
+          <xsl:with-param name='replace'>&lt;</xsl:with-param>
+          <xsl:with-param name='with'>
+            <xsl:text disable-output-escaping='yes'>&amp;lt;</xsl:text>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select='$quoted'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template name='markup:quote-value-aux'>
+    <xsl:param name='value'/>
+
+    <!-- Quoting hell! -->
+    <xsl:variable name="quot">&quot;</xsl:variable>
+    <xsl:variable name="apos">&apos;</xsl:variable>
+
+    <xsl:choose>
+      <xsl:when test='contains($value, $quot) and contains($value, $apos)'>
+        <xsl:text>"</xsl:text>
+        <xsl:call-template name='str:subst'>
+          <xsl:with-param name='text' select='$value'/>
+          <xsl:with-param name='replace'>"</xsl:with-param>
+          <xsl:with-param name='with'>
+            <xsl:text disable-output-escaping='yes'>&amp;quot;</xsl:text>
+          </xsl:with-param>
+        </xsl:call-template>
+        <xsl:text>"</xsl:text>
+      </xsl:when>
+      <xsl:when test='contains($value, $quot)'>
+        <xsl:text>'</xsl:text>
+        <xsl:value-of select='$value'/>
+        <xsl:text>'</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:text>"</xsl:text>
+        <xsl:value-of select='$value'/>
+        <xsl:text>"</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="markup:external-identifier" xmlns="">
+    <refpurpose>Create an External Identifier</refpurpose>
+
+    <refdescription>
+      <para>This template returns an external identifier.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>publicid</term>
+	  <listitem>
+	    <para>The public identifier.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>systemid</term>
+	  <listitem>
+	    <para>The system identifier.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns an external identifier as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='markup:external-identifier'>
+    <xsl:param name='publicid'/>
+    <xsl:param name='systemid'/>
+    <xsl:param name='leading-space' select='false()'/>
+
+    <xsl:choose>
+      <xsl:when test='string-length($publicid) &gt; 0'>
+        <xsl:if test='$leading-space'>
+          <xsl:text> </xsl:text>
+        </xsl:if>
+        <xsl:text disable-output-escaping='yes'>PUBLIC "</xsl:text>
+        <xsl:value-of select='$publicid' disable-output-escaping='yes'/>
+        <xsl:text disable-output-escaping='yes'>"</xsl:text>
+        <xsl:if test='string-length($systemid) &gt; 0'>
+          <xsl:text disable-output-escaping='yes'> "</xsl:text>
+          <xsl:value-of select='$systemid' disable-output-escaping='yes'/>
+          <xsl:text disable-output-escaping='yes'>"</xsl:text>
+        </xsl:if>
+      </xsl:when>
+      <xsl:when test="string-length($systemid) &gt; 0">
+        <xsl:if test='$leading-space'>
+          <xsl:text> </xsl:text>
+        </xsl:if>
+        <xsl:text disable-output-escaping='yes'>SYSTEM "</xsl:text>
+        <xsl:value-of select='$systemid' disable-output-escaping='yes'/>
+        <xsl:text disable-output-escaping='yes'>"</xsl:text>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="markup:entity-reference" xmlns="">
+    <refpurpose>Create an Entity Reference</refpurpose>
+
+    <refdescription>
+      <para>This template returns an entity reference.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>name</term>
+	  <listitem>
+	    <para>The name of the entity.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns an entity reference as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='markup:entity-reference'>
+    <xsl:param name='name'/>
+
+    <xsl:text disable-output-escaping='yes'>&amp;</xsl:text>
+    <xsl:value-of select='$name'/>
+    <xsl:text>;</xsl:text>
+
+  </xsl:template>
+
+  <doc:template name="markup:notation-declaration" xmlns="">
+    <refpurpose>Create a Notation Declaration</refpurpose>
+
+    <refdescription>
+      <para>This template returns a notation declaration.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>name</term>
+	  <listitem>
+	    <para>The notation name.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>publicid</term>
+	  <listitem>
+	    <para>The public identifier for the notation.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>systemid</term>
+	  <listitem>
+	    <para>The system identifier for the notation.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns a notation declaration as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='markup:notation-declaration'>
+    <xsl:param name='name'/>
+    <xsl:param name='publicid'/>
+    <xsl:param name='systemid'/>
+
+    <xsl:if test='string-length($name) = 0'>
+      <xsl:message terminate='yes'>notation name must be specified</xsl:message>
+    </xsl:if>
+    <xsl:if test='string-length($publicid) = 0 and string-length($systemid) = 0'>
+      <xsl:message terminate='yes'>external identifier must be specified</xsl:message>
+    </xsl:if>
+
+    <xsl:text disable-output-escaping='yes'>&lt;!NOTATION </xsl:text>
+    <xsl:copy-of select='$name'/>
+
+    <xsl:call-template name='markup:external-identifier'>
+      <xsl:with-param name='publicid' select='$publicid'/>
+      <xsl:with-param name='systemid' select='$systemid'/>
+      <xsl:with-param name='leading-space' select='true()'/>
+    </xsl:call-template>
+
+    <xsl:text disable-output-escaping='yes'>&gt;</xsl:text>
+  </xsl:template>
+
+  <doc:template name="markup:cdata-section" xmlns="">
+    <refpurpose>Create a CDATA Section</refpurpose>
+
+    <refdescription>
+      <para>This template returns a CDATA Section.  The XSLT specification provides a mechanism for instructing the XSL processor to output character data in a CDATA section for certain elements, but this template may be useful in those circumstances where not all instances of an element are to have their content placed in a CDATA section.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The content of the CDATA section.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns a CDATA section as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='markup:cdata-section'>
+    <xsl:param name='text'/>
+
+    <xsl:if test="contains($text, ']]&gt;')">
+      <xsl:message terminate="yes">CDATA section contains "]]&gt;"</xsl:message>
+    </xsl:if>
+
+    <xsl:text disable-output-escaping='yes'>&lt;![CDATA[</xsl:text>
+    <xsl:copy-of select='$text'/>
+    <xsl:text disable-output-escaping='yes'>]]&gt;</xsl:text>
+  </xsl:template>
+
+  <doc:template name="markup:as-xml" xmlns="">
+    <refpurpose>Format Nodeset As XML Markup</refpurpose>
+
+    <refdescription>
+      <para>This template returns XML markup.  Each node in the given nodeset is converted to its equivalent XML markup.</para>
+
+      <para>BUG: This version may not adequately handle XML Namespaces.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>nodes</term>
+	  <listitem>
+	    <para>Nodeset to format as XML.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns XML markup.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='markup:as-xml'>
+    <xsl:param name='nodes'/>
+
+    <xsl:if test="$nodes">
+      <xsl:choose>
+        <xsl:when test="$nodes[1]/self::*">
+          <xsl:text disable-output-escaping='yes'>&lt;</xsl:text>
+          <xsl:value-of select="name($nodes[1])"/>
+          <xsl:for-each select="$nodes[1]/@*">
+            <xsl:text> </xsl:text>
+            <xsl:value-of select="name()"/>
+            <xsl:text>=</xsl:text>
+            <xsl:call-template name='markup:quote-value'>
+              <xsl:with-param name='value' select='.'/>
+            </xsl:call-template>
+          </xsl:for-each>
+
+          <xsl:choose>
+            <xsl:when test='$nodes[1]/node()'>
+              <xsl:text disable-output-escaping='yes'>&gt;</xsl:text>
+              <xsl:call-template name='markup:as-xml'>
+                <xsl:with-param name='nodes' select='$nodes[1]/node()'/>
+              </xsl:call-template>
+              <xsl:text disable-output-escaping='yes'>&lt;/</xsl:text>
+              <xsl:value-of select="name($nodes[1])"/>
+              <xsl:text disable-output-escaping='yes'>&gt;</xsl:text>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:text disable-output-escaping='yes'>/&gt;</xsl:text>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:when test="$nodes[1]/self::text()">
+          <xsl:value-of select="$nodes[1]"/>
+        </xsl:when>
+        <xsl:when test="$nodes[1]/self::comment()">
+          <xsl:text disable-output-escaping='yes'>&lt;!--</xsl:text>
+          <xsl:value-of select="$nodes[1]"/>
+          <xsl:text disable-output-escaping='yes'>--&gt;</xsl:text>
+        </xsl:when>
+        <xsl:when test="$nodes[1]/self::processing-instruction()">
+          <xsl:text disable-output-escaping='yes'>&lt;?</xsl:text>
+          <xsl:value-of select="name($nodes[1])"/>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="$nodes[1]"/>
+          <xsl:text disable-output-escaping='yes'>?&gt;</xsl:text>
+        </xsl:when>
+
+        <xsl:when test="not($nodes[1]/parent::*)"/> <!-- root node -->
+        <xsl:when test="count($nodes[1] | $nodes[1]/../namespace::*) = count($nodes[1]/../namespace::*)"/> <!-- namespace node -->
+        <xsl:when test="count($nodes[1] | $nodes[1]/../@*) = count($nodes[1]/../@*)"/> <!-- attribute node -->
+      </xsl:choose>
+
+      <xsl:call-template name="markup:as-xml">
+        <xsl:with-param name="nodes" select="$nodes[position() &gt; 1]"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/math.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/math.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/math.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,704 @@
+<?xml version="1.0"?>
+<xsl:stylesheet version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:doc="http://xsltsl.org/xsl/documentation/1.0"
+  xmlns:math="http://xsltsl.org/math"
+  exclude-result-prefixes="doc math">
+
+  <doc:reference xmlns="">
+    <referenceinfo>
+      <releaseinfo role="meta">
+        $Id: math.xsl 3991 2004-11-10 06:51:55Z balls $
+      </releaseinfo>
+      <author>
+        <surname>Ball</surname>
+        <firstname>Steve</firstname>
+      </author>
+      <copyright>
+        <year>2004</year>
+        <year>2002</year>
+        <holder>Steve Ball</holder>
+      </copyright>
+    </referenceinfo>
+
+    <title>Math Module</title>
+
+    <partintro>
+      <section>
+        <title>Introduction</title>
+
+        <para>This module provides mathematical functions.</para>
+      </section>
+    </partintro>
+
+  </doc:reference>
+
+  <doc:template name="math:power" xmlns="">
+    <refpurpose>Power</refpurpose>
+
+    <refdescription>
+      <para>Raises a number to a power.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>base</term>
+          <listitem>
+            <para>The base number.  Must be a number.</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>power</term>
+          <listitem>
+            <para>The power to raise the number to.  Must be an integer.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns base multiplied by itself power times.  If the base or power are not numbers or if the power is fractional then an empty string is returned.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="math:power">
+    <xsl:param name="base"/>
+    <xsl:param name="power"/>
+
+    <xsl:choose>
+      <xsl:when test='$power = "0" and $base = "0"'>
+        <xsl:text>1</xsl:text>
+      </xsl:when>
+      <xsl:when test='$power = "0" and number($base)'>
+        <xsl:text>1</xsl:text>
+      </xsl:when>
+      <xsl:when test='$power = "0" and not(number($base))'/>
+      <xsl:when test='$base = "0" and number($power)'>
+        <xsl:text>0</xsl:text>
+      </xsl:when>
+
+      <xsl:when test='not(number($base)) or not(number($power))'/>
+
+      <xsl:when test='floor(number($power)) != number($power)'/>
+
+      <xsl:when test='number($power) &lt; 0'>
+        <xsl:variable name='x'>
+          <xsl:call-template name='math:power'>
+            <xsl:with-param name='base' select='$base'/>
+            <xsl:with-param name='power' select='-1 * $power'/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:value-of select='1 div $x'/>
+      </xsl:when>
+
+      <xsl:when test='number($power) = 1'>
+        <xsl:value-of select='$base'/>
+      </xsl:when>
+
+      <xsl:when test='number($power) &gt; 0'>
+        <xsl:variable name='x'>
+          <xsl:call-template name='math:power'>
+            <xsl:with-param name='base' select='$base'/>
+            <xsl:with-param name='power' select='$power - 1'/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:value-of select='$base * $x'/>
+      </xsl:when>
+      <xsl:otherwise/>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="math:abs" xmlns="">
+    <refpurpose>Absolute Value</refpurpose>
+
+    <refdescription>
+      <para>Absolute value of a number.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>number</term>
+          <listitem>
+            <para>The number.  Must be a number.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the absolute value of the number.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="math:abs">
+    <xsl:param name="number"/>
+
+    <xsl:choose>
+      <xsl:when test='$number &lt; 0'>
+        <xsl:value-of select='$number * -1'/>
+      </xsl:when>
+      <xsl:when test='$number >= 0'>
+        <xsl:value-of select='$number'/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="math:cvt-hex-decimal" xmlns="">
+    <refpurpose>Conversion</refpurpose>
+
+    <refdescription>
+      <para>Converts a hexidecimal value to a decimal value.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>value</term>
+          <listitem>
+            <para>The hexidecimal number.  Must be a number in hexidecimal format.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the value as a decimal string.  If the value is not a number then a NaN value is returned.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="math:cvt-hex-decimal">
+    <xsl:param name="value"/>
+
+    <xsl:choose>
+      <xsl:when test='$value = ""'/>
+
+      <xsl:when test='string-length($value) = 1'>
+        <xsl:call-template name='math:cvt-hex-decimal-digit'>
+          <xsl:with-param name='digit' select='$value'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:variable name='first-digit'>
+          <xsl:call-template name='math:cvt-hex-decimal-digit'>
+            <xsl:with-param name='digit' select='substring($value, 1, 1)'/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:variable name='remainder'>
+          <xsl:call-template name='math:cvt-hex-decimal'>
+            <xsl:with-param name='value' select='substring($value, 2)'/>
+          </xsl:call-template>
+        </xsl:variable>
+
+        <xsl:value-of select='$first-digit * 16 + $remainder'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template name='math:cvt-hex-decimal-digit'>
+    <xsl:param name='digit' select='0'/>
+    <xsl:choose>
+      <xsl:when test='$digit &lt;= 9'>
+        <xsl:value-of select='$digit'/>
+      </xsl:when>
+      <xsl:when test='$digit = "a" or $digit = "A"'>10</xsl:when>
+      <xsl:when test='$digit = "b" or $digit = "B"'>11</xsl:when>
+      <xsl:when test='$digit = "c" or $digit = "C"'>12</xsl:when>
+      <xsl:when test='$digit = "d" or $digit = "D"'>13</xsl:when>
+      <xsl:when test='$digit = "e" or $digit = "E"'>14</xsl:when>
+      <xsl:when test='$digit = "f" or $digit = "F"'>15</xsl:when>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="math:cvt-decimal-hex" xmlns="">
+    <refpurpose>Conversion</refpurpose>
+
+    <refdescription>
+      <para>Converts a decimal value to a hexidecimal value.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>value</term>
+          <listitem>
+            <para>The decimal number.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the value as a hexidecimal string (lowercase).  If the value is not a number then a NaN value is returned.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="math:cvt-decimal-hex">
+    <xsl:param name="value"/>
+
+    <xsl:choose>
+      <xsl:when test='$value = "0"'>0</xsl:when>
+      <xsl:when test='not(number($value))'>NaN</xsl:when>
+
+      <xsl:when test='$value div 16 >= 1'>
+        <xsl:call-template name='math:cvt-decimal-hex'>
+          <xsl:with-param name='value' select='floor($value div 16)'/>
+        </xsl:call-template>
+        <xsl:call-template name='math:cvt-decimal-hex'>
+          <xsl:with-param name='value' select='$value mod 16'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test='$value = 10'>a</xsl:when>
+      <xsl:when test='$value = 11'>b</xsl:when>
+      <xsl:when test='$value = 12'>c</xsl:when>
+      <xsl:when test='$value = 13'>d</xsl:when>
+      <xsl:when test='$value = 14'>e</xsl:when>
+      <xsl:when test='$value = 15'>f</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select='$value'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="math:ordinal" xmlns="">
+    <refpurpose>Ordinal number</refpurpose>
+
+    <refdescription>
+      <para>Gives the ordinal number of a given counting number.  For example, 1 becomes "1st".</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>number</term>
+          <listitem>
+            <para>An integer number.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the number with an ordinal suffix.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="math:ordinal">
+    <xsl:param name="number"/>
+
+    <xsl:choose>
+      <xsl:when test='$number &lt; 0'/>
+      <xsl:otherwise>
+        <xsl:value-of select='$number'/>
+        <xsl:choose>
+          <xsl:when test='$number = 11 or $number = 12 or $number = 13'>th</xsl:when>
+          <xsl:when test='$number mod 10 = 1'>st</xsl:when>
+          <xsl:when test='$number mod 10 = 2'>nd</xsl:when>
+          <xsl:when test='$number mod 10 = 3'>rd</xsl:when>
+          <xsl:otherwise>th</xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+
+  <doc:template name="math:ordinal-as-word" xmlns="">
+    <refpurpose>Returns an ordinal number</refpurpose>
+
+    <refdescription>
+      <para>This template returns the ordinal number for a given counting number as a word.  For example "first" for 1.</para>
+      <para>Only handles numbers less than 10000000 (ten million).</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>number</term>
+	  <listitem>
+	    <para>The counting number.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>conjunctive</term>
+	  <listitem>
+	    <para>Whether to add the word "and" to the result, for example "one hundred and first" rather than "one hundred first".  Default is "yes".</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the ordinal number as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="math:ordinal-as-word">
+    <xsl:param name="number" select="0"/>
+    <xsl:param name='conjunctive' select='"yes"'/>
+    <xsl:param name='preceding' select='0'/>
+
+    <xsl:choose>
+      <xsl:when test='$preceding = 1 and $number = 0'/>
+      <xsl:when test='$number = 0'>zeroth</xsl:when>
+
+      <xsl:when test="$number &lt; 1 or $number != floor($number)"/>
+
+      <xsl:when test='$number = 1'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>first</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 2'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>second</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 3'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>third</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 4'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>fourth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 5'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>fifth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 6'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>sixth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 7'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>seventh</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 8'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>eighth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 9'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>ninth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 10'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>tenth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 11'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>eleventh</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 12'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>twelveth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 13'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>thirteenth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 14'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>fourteenth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 15'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>fifteenth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 16'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>sixteenth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 17'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>seventeenth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 18'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>eighteenth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 19'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>nineteenth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 20'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>twentieth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 30'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>thirtieth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 40'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>fortieth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 50'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>fiftieth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 60'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>sixtieth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 70'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>seventieth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 80'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>eightieth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number = 90'>
+        <xsl:if test='$preceding = 1'> and </xsl:if>
+        <xsl:text>ninetieth</xsl:text>
+      </xsl:when>
+
+      <xsl:when test='$number mod 1000000 = 0'>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 1000000)'/>
+        </xsl:call-template>
+        <xsl:text> millionth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number &lt; 1000000 and $number mod 1000 = 0'>
+        <xsl:if test='$preceding = 1 and $conjunctive'> and </xsl:if>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 1000)'/>
+        </xsl:call-template>
+        <xsl:text> thousandth</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number &lt; 1000 and $number mod 100 = 0'>
+        <xsl:if test='$preceding = 1 and $conjunctive'> and </xsl:if>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 100)'/>
+        </xsl:call-template>
+        <xsl:text> hundredth</xsl:text>
+      </xsl:when>
+
+      <xsl:when test='$number &gt; 1000000'>
+        <xsl:if test='$preceding = 1'>
+          <xsl:text> </xsl:text>
+          <xsl:if test='$conjunctive'>and </xsl:if>
+        </xsl:if>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 1000000) * 1000000'/>
+        </xsl:call-template>
+        <xsl:choose>
+          <xsl:when
+            test='(floor(floor(($number mod 1000000) + 0.1) div 100000) > 0 and $number mod 100000 > 0) or
+            (floor(floor(($number mod 100000) + 0.1) div 10000) > 0 and $number mod 10000 > 0) or
+            (floor(floor(($number mod 10000) + 0.1) div 1000) > 0 and $number mod 1000 > 0) or
+            (floor(floor(($number mod 1000) + 0.1) div 100) > 0 and $number mod 100 > 0) or
+            (floor(floor(($number mod 100) + 0.1) div 10) > 0 and $number mod 10 > 0 and $number mod 100 > 20)'>
+            <xsl:text> </xsl:text>
+            <xsl:call-template name='math:ordinal-as-word'>
+              <xsl:with-param name='number' select='floor(($number mod 1000000) + 0.1)'/>
+              <xsl:with-param name='conjunctive' select='$conjunctive'/>
+              <xsl:with-param name='preceding' select='0'/>
+            </xsl:call-template>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name='math:ordinal-as-word'>
+              <xsl:with-param name='number' select='floor(($number mod 1000000) + 0.1)'/>
+              <xsl:with-param name='conjunctive' select='$conjunctive'/>
+              <xsl:with-param name='preceding' select='1'/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:when test='$number &gt; 1000'>
+        <xsl:if test='$preceding = 1'>
+          <xsl:text> </xsl:text>
+          <xsl:if test='$conjunctive'>and </xsl:if>
+        </xsl:if>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 1000) * 1000'/>
+          <xsl:with-param name='conjunctive' select='$conjunctive'/>
+        </xsl:call-template>
+        <xsl:choose>
+          <xsl:when test='floor(floor(($number mod 1000) + 0.1) div 100) > 0'>
+            <xsl:text> </xsl:text>
+            <xsl:call-template name='math:ordinal-as-word'>
+              <xsl:with-param name='number' select='floor(($number mod 1000) + 0.1)'/>
+              <xsl:with-param name='conjunctive' select='$conjunctive'/>
+              <xsl:with-param name='preceding' select='0'/>
+            </xsl:call-template>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name='math:ordinal-as-word'>
+              <xsl:with-param name='number' select='floor(($number mod 1000) + 0.1)'/>
+              <xsl:with-param name='conjunctive' select='$conjunctive'/>
+              <xsl:with-param name='preceding' select='1'/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:when test='$number &gt; 100'>
+        <xsl:if test='$preceding = 1'>
+          <xsl:text> </xsl:text>
+          <xsl:if test='$conjunctive'>and </xsl:if>
+        </xsl:if>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 100) * 100'/>
+        </xsl:call-template>
+        <xsl:call-template name='math:ordinal-as-word'>
+          <xsl:with-param name='number' select='floor(($number mod 100) + 0.1)'/>
+          <xsl:with-param name='conjunctive' select='$conjunctive'/>
+          <xsl:with-param name='preceding' select='1'/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <xsl:when test='$number &gt; 20'>
+        <xsl:if test='$preceding = 1'>
+          <xsl:text> </xsl:text>
+          <xsl:if test='$conjunctive'>and </xsl:if>
+        </xsl:if>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 10) * 10'/>
+        </xsl:call-template>
+        <xsl:text> </xsl:text>
+        <xsl:call-template name='math:ordinal-as-word'>
+          <xsl:with-param name='number' select='floor(($number mod 10) + 0.1)'/>
+          <xsl:with-param name='conjunctive' select='$conjunctive'/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <xsl:otherwise/>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="math:number-as-word" xmlns="">
+    <refpurpose>Returns a number as a word</refpurpose>
+
+    <refdescription>
+      <para>This template returns the word for a given integer number, for example "one" for 1.</para>
+      <para>Only handles numbers less than 10000000 (ten million).</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>number</term>
+	  <listitem>
+	    <para>The counting number.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>conjunctive</term>
+	  <listitem>
+	    <para>Adds the word "and" where appropriate, for example.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the number as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="math:number-as-word">
+    <xsl:param name="number" select="0"/>
+    <xsl:param name='conjunctive' select='true()'/>
+
+    <xsl:choose>
+
+      <xsl:when test='$number = 0'>zero</xsl:when>
+
+      <xsl:when test='$number &lt; 0'>
+        <xsl:text>minus </xsl:text>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='-1 * $number'/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <xsl:when test="$number != floor($number)"/>
+
+      <xsl:when test='$number mod 1000000 = 0'>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 1000000)'/>
+        </xsl:call-template>
+        <xsl:text> million</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number &gt;= 1000000'>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 1000000)'/>
+        </xsl:call-template>
+        <xsl:text> million </xsl:text>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor(($number mod 1000000) + 0.1)'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test='$number mod 1000 = 0'>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 1000)'/>
+        </xsl:call-template>
+        <xsl:text> thousand</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number &gt;= 1000'>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 1000)'/>
+        </xsl:call-template>
+        <xsl:text> thousand </xsl:text>
+        <xsl:if test='$conjunctive and floor(floor(($number mod 1000) + 0.1) div 100) = 0'>and </xsl:if>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor(($number mod 1000) + 0.1)'/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test='$number mod 100 = 0'>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 100)'/>
+        </xsl:call-template>
+        <xsl:text> hundred</xsl:text>
+      </xsl:when>
+      <xsl:when test='$number &gt;= 100'>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 100)'/>
+        </xsl:call-template>
+        <xsl:text> hundred </xsl:text>
+        <xsl:if test='$conjunctive'>and </xsl:if>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor(($number mod 100) + 0.1)'/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <xsl:when test='$number = 1'>one</xsl:when>
+      <xsl:when test='$number = 2'>two</xsl:when>
+      <xsl:when test='$number = 3'>three</xsl:when>
+      <xsl:when test='$number = 4'>four</xsl:when>
+      <xsl:when test='$number = 5'>five</xsl:when>
+      <xsl:when test='$number = 6'>six</xsl:when>
+      <xsl:when test='$number = 7'>seven</xsl:when>
+      <xsl:when test='$number = 8'>eight</xsl:when>
+      <xsl:when test='$number = 9'>nine</xsl:when>
+      <xsl:when test='$number = 10'>ten</xsl:when>
+      <xsl:when test='$number = 11'>eleven</xsl:when>
+      <xsl:when test='$number = 12'>twelve</xsl:when>
+      <xsl:when test='$number = 13'>thirteen</xsl:when>
+      <xsl:when test='$number = 14'>fourteen</xsl:when>
+      <xsl:when test='$number = 15'>fifteen</xsl:when>
+      <xsl:when test='$number = 16'>sixteen</xsl:when>
+      <xsl:when test='$number = 17'>seventeen</xsl:when>
+      <xsl:when test='$number = 18'>eighteen</xsl:when>
+      <xsl:when test='$number = 19'>nineteen</xsl:when>
+      <xsl:when test='$number = 20'>twenty</xsl:when>
+      <xsl:when test='$number = 30'>thirty</xsl:when>
+      <xsl:when test='$number = 40'>forty</xsl:when>
+      <xsl:when test='$number = 50'>fifty</xsl:when>
+      <xsl:when test='$number = 60'>sixty</xsl:when>
+      <xsl:when test='$number = 70'>seventy</xsl:when>
+      <xsl:when test='$number = 80'>eighty</xsl:when>
+      <xsl:when test='$number = 90'>ninety</xsl:when>
+
+      <xsl:when test='$number &lt; 100'>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor($number div 10) * 10'/>
+        </xsl:call-template>
+        <xsl:text> </xsl:text>
+        <xsl:call-template name='math:number-as-word'>
+          <xsl:with-param name='number' select='floor(($number mod 10) + 0.1)'/>
+        </xsl:call-template>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:template>
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/node.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/node.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/node.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,229 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet version="1.0"
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:doc="http://xsltsl.org/xsl/documentation/1.0"
+	xmlns:node="http://xsltsl.org/node"
+	extension-element-prefixes="doc node">
+
+  <doc:reference xmlns="">
+    <referenceinfo>
+      <releaseinfo role="meta">
+	$Id: node.xsl 3991 2004-11-10 06:51:55Z balls $
+      </releaseinfo>
+      <author>
+	<surname>Ball</surname>
+	<firstname>Steve</firstname>
+      </author>
+      <copyright>
+	<year>2001</year>
+	<holder>Steve Ball</holder>
+      </copyright>
+    </referenceinfo>
+
+    <title>Node Templates</title>
+
+    <partintro>
+      <section>
+	<title>Introduction</title>
+
+	<para>This stylesheet module provides functions for reporting on or manipulating nodes and nodesets.</para>
+
+      </section>
+    </partintro>
+
+  </doc:reference>
+
+  <doc:template name="node:xpath" xmlns="">
+    <refpurpose>Returns an XPath location path</refpurpose>
+
+    <refdescription>
+      <para>This template returns an XPath location path that uniquely identifies the given node within the document.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>node</term>
+	  <listitem>
+	    <para>The node to create an XPath for.  If this parameter is given as a nodeset, then the first node in the nodeset is used.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns an XPath location path as a string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="node:xpath">
+    <xsl:param name="node" select="."/>
+
+    <xsl:choose>
+
+      <xsl:when test="$node">
+
+        <xsl:for-each select="$node[1]/ancestor-or-self::*">
+          <xsl:text/>/<xsl:value-of select="name()"/>
+          <xsl:text/>[<xsl:value-of select="count(preceding-sibling::*[name() = name(current())]) + 1"/>]<xsl:text/>
+        </xsl:for-each>
+
+        <xsl:choose>
+
+          <xsl:when test="$node[1]/self::comment()">
+            <xsl:text>/comment()</xsl:text>
+            <xsl:text/>[<xsl:value-of select="count($node[1]/preceding-sibling::comment()) + 1" />]<xsl:text/>
+          </xsl:when>
+
+          <xsl:when test="$node[1]/self::processing-instruction()">
+            <xsl:text>/processing-instruction()</xsl:text>
+            <xsl:text/>[<xsl:value-of select="count($node[1]/preceding-sibling::processing-instruction()) + 1" />]<xsl:text/>
+          </xsl:when>
+
+          <xsl:when test="$node[1]/self::text()">
+            <xsl:text>/text()</xsl:text>
+            <xsl:text/>[<xsl:value-of select="count($node[1]/preceding-sibling::text()) + 1" />]<xsl:text/>
+          </xsl:when>
+
+          <xsl:when test="not($node[1]/..)">
+            <xsl:text>/</xsl:text>
+          </xsl:when>
+
+          <xsl:when test="count($node[1]/../namespace::* | $node[1]) = count($node[1]/../namespace::*)">
+            <xsl:text/>/namespace::<xsl:value-of select="name($node[1])" />
+          </xsl:when>
+
+          <xsl:when test="count($node[1]/../@* | $node[1]) = count($node[1]/../@*)">
+            <xsl:text/>/@<xsl:value-of select="name($node[1])" />
+          </xsl:when>
+
+        </xsl:choose>      
+      </xsl:when>
+
+      <xsl:otherwise>
+        <xsl:text>/..</xsl:text>
+      </xsl:otherwise>
+
+    </xsl:choose>
+
+  </xsl:template>
+
+  <doc:template name="node:type" xmlns="">
+    <refpurpose>Return node type</refpurpose>
+
+    <refdescription>
+      <para>Returns the type of a node as a string.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>node</term>
+	  <listitem>
+	    <para>The node to get the type for.  If this parameter is given as a nodeset, then the first node in the nodeset is used.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns node type as a string.  Values returned are:</para>
+      <variablelist>
+	<varlistentry>
+	  <term>Element</term>
+	  <listitem>
+	    <para><literal>element</literal></para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>Text Node</term>
+	  <listitem>
+	    <para><literal>text</literal></para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>Comment</term>
+	  <listitem>
+	    <para><literal>comment</literal></para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>Processing Instruction</term>
+	  <listitem>
+	    <para><literal>processing instruction</literal></para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="node:type">
+    <xsl:param name="node" select="."/>
+
+    <xsl:choose>
+      <xsl:when test="not($node)"/>
+      <xsl:when test="$node[1]/self::*">
+	<xsl:text>element</xsl:text>
+      </xsl:when>
+      <xsl:when test="$node[1]/self::text()">
+	<xsl:text>text</xsl:text>
+      </xsl:when>
+      <xsl:when test="$node[1]/self::comment()">
+	<xsl:text>comment</xsl:text>
+      </xsl:when>
+      <xsl:when test="$node[1]/self::processing-instruction()">
+	<xsl:text>processing instruction</xsl:text>
+      </xsl:when>
+      <xsl:when test="not($node[1]/parent::*)">
+        <xsl:text>root</xsl:text>
+      </xsl:when>
+      <xsl:when test="count($node[1] | $node[1]/../namespace::*) = count($node[1]/../namespace::*)">
+        <xsl:text>namespace</xsl:text>
+      </xsl:when>
+      <xsl:when test="count($node[1] | $node[1]/../@*) = count($node[1]/../@*)">
+        <xsl:text>attribute</xsl:text>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="node:copy" xmlns="">
+    <refpurpose>Copy Nodes</refpurpose>
+
+    <refdescription>
+      <para>Makes a copy of the given nodes, including attributes and descendants.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>nodes</term>
+	  <listitem>
+	    <para>The nodes to copy.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the copied nodes as a result tree fragment.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='node:copy'>
+    <xsl:param name='nodes' select='.'/>
+
+    <xsl:for-each select='$nodes'>
+      <xsl:copy>
+        <xsl:for-each select='@*'>
+          <xsl:copy/>
+        </xsl:for-each>
+
+        <xsl:for-each select='node()'>
+          <xsl:call-template name='node:copy'/>
+        </xsl:for-each>
+      </xsl:copy>
+    </xsl:for-each>
+  </xsl:template>
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/stdlib.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/stdlib.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/stdlib.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,340 @@
+<?xml version="1.0"?>
+<!DOCTYPE xsl:stylesheet [
+  <!ENTITY version "1.2.1">
+]>
+
+<xsl:stylesheet
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:doc="http://xsltsl.org/xsl/documentation/1.0"
+  exclude-result-prefixes="doc"
+  version="1.0">
+
+  <xsl:import href="string.xsl"/>
+  <xsl:import href="date-time.xsl"/>
+  <xsl:import href="node.xsl"/>
+  <xsl:import href="uri.xsl"/>
+  <xsl:import href="markup.xsl"/>
+  <xsl:import href="math.xsl"/>
+  <xsl:import href="cmp.xsl"/>
+
+  <xsl:import href="svg.xsl"/>
+<!--
+  <xsl:import href="html/html.xsl"/>
+  <xsl:import href="fo/fo.xsl"/>
+-->
+
+  <!-- For a new module, add an import element here -->
+  <xsl:import href="example.xsl"/>
+
+  <doc:book xmlns="">
+    <bookinfo>
+      <title>XSLT Standard Library</title>
+      <subtitle>Version &version;</subtitle>
+      <!-- $Id: stdlib.xsl 3991 2004-11-10 06:51:55Z balls $ -->
+
+      <author>
+        <surname>Ball</surname>
+        <firstname>Steve</firstname>
+      </author>
+      <copyright>
+        <year>2004</year>
+        <year>2002</year>
+        <holder>Steve Ball</holder>
+      </copyright>
+    </bookinfo>
+
+    <preface>
+      <para>The <ulink url="http://www.w3.org/Style/XSL">XSLT</ulink> Standard Library, <acronym>xsltsl</acronym>, provides the XSLT developer with a set of XSLT templates for commonly used functions.  These are implemented purely in XSLT, that is they do not use any extensions.</para>
+      <para><acronym>xsltsl</acronym> is a <ulink url="http://sourceforge.net/projects/xsltsl/">SourceForge project</ulink>.</para>
+      <para><ulink url="http://sourceforge.net/"><inlinemediaobject>
+	  <imageobject>
+	    <imagedata fileref="sflogo.gif" width="88" height="31"/>
+	  </imageobject>
+	  <textobject>
+	    <phrase>SourceForge Logo</phrase>
+	  </textobject>
+	</inlinemediaobject></ulink></para>
+      <para>Goals of the <acronym>xsltsl</acronym> project include:</para>
+      <itemizedlist>
+        <listitem>
+          <para>Provision of a high-quality library of XSLT templates, suitable for inclusion by vendors in XSLT processor software products.</para>
+        </listitem>
+        <listitem>
+          <para>Demonstration of best practice in XSLT stylesheet development and documentation.</para>
+        </listitem>
+        <listitem>
+          <para>Provide examples of various techniques used to develop XSLT stylesheets (ie. a working FAQ).</para>
+        </listitem>
+      </itemizedlist>
+    </preface>
+
+    <chapter>
+      <title>Using The Library</title>
+
+      <para>There are two ways of using the library:</para>
+      <itemizedlist>
+	<listitem>
+	  <para>Use a local copy of the library.</para>
+	  <orderedlist>
+	    <listitem>
+	      <para>Download the distribution (see below).</para>
+	    </listitem>
+	    <listitem>
+	      <para>Unpack the distribution, using either gunzip/tar or unzip.</para>
+	    </listitem>
+	    <listitem>
+	      <para>In your stylesheet import or include either the main stylesheet, <filename>stdlib.xsl</filename>, or the stylesheet module you wish to use, such as <filename>string.xsl</filename>.  This example assumes that the distribution has been extracted into the same directory as your own stylesheet:</para>
+	      <informalexample>
+		<programlisting><![CDATA[
+<xsl:import href="stdlib.xsl"/>
+]]></programlisting>
+	      </informalexample>
+	    </listitem>
+	  </orderedlist>
+	</listitem>
+	<listitem>
+          <para>Import or include either the main stylesheet, or the stylesheet module you wish to use, directly from the library website; http://xsltsl.sourceforge.net/modules/.  The <filename>modules</filename> directory always contains the latest stable release.  For example:</para>
+	  <informalexample>
+	    <programlisting><![CDATA[
+<xsl:import href="http://xsltsl.sourceforge.net/modules/stdlib.xsl"/>
+]]></programlisting>
+	  </informalexample>
+          <para>Older versions of the library are available in subdirectories.  For example, to access version 1.1 of the library use:</para>
+	  <informalexample>
+	    <programlisting><![CDATA[
+<xsl:import href="http://xsltsl.sourceforge.net/modules/1.1/stdlib.xsl"/>
+]]></programlisting>
+	  </informalexample>
+	</listitem>
+      </itemizedlist>
+      <para>Next, add XML Namespace declarations for the modules you wish to use.  For example, to use templates from the string module, your stylesheet should have the following declaration:</para>
+      <informalexample>
+	<programlisting><![CDATA[
+<xsl:stylesheet version="1.0"
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:str="http://xsltsl.org/string">
+
+<xsl:import href="http://xsltsl.sourceforge.net/modules/stdlib.xsl"/>
+]]></programlisting>
+      </informalexample>
+      <para>Finally, use a template with the <sgmltag>call-template</sgmltag> element.  Most templates require parameters, which are passed using the <sgmltag>with-param</sgmltag> element.  For example:</para>
+      <informalexample>
+	<programlisting><![CDATA[
+<xsl:template match="foo">
+  <xsl:call-template name="str:subst">
+    <xsl:with-param name="text" select="."/>
+    <xsl:with-param name="replace">a word</xsl:with-param>
+    <xsl:with-param name="with">another word</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+]]></programlisting>
+      </informalexample>
+    </chapter>
+
+    <chapter>
+      <title>Obtaining The Library</title>
+
+      <para>The XSLT Standard Library is available for download as either:</para>
+      <itemizedlist>
+	<listitem>
+	  <para>Gzip'd tarball: <ulink url="http://prdownloads.sourceforge.net/xsltsl/xsltsl-&version;.tar.gz">http://prdownloads.sourceforge.net/xsltsl/xsltsl-&version;.tar.gz</ulink></para>
+	</listitem>
+	<listitem>
+	  <para>Zip file: <ulink url="http://prdownloads.sourceforge.net/xsltsl/xsltsl-&version;.zip">http://prdownloads.sourceforge.net/xsltsl/xsltsl-&version;.zip</ulink></para>
+	</listitem>
+      </itemizedlist>
+    </chapter>
+
+    <chapter>
+      <title>Getting Involved</title>
+
+      <para>Contributions to the project are most welcome, and may be in the form of stylesheet modules, patches, bug reports or sample code.  Any contributed code must use the LGPL license to be accepted into the library.</para>
+
+      <para>See the SourceForge Project Page <ulink url="http://sourceforge.net/projects/xsltsl/">http://sourceforge.net/projects/xsltsl/</ulink> for information on the development of the project.  Bug reports may be submitted here.</para>
+
+      <para>See the project Web Page <ulink url="http://xsltsl.sourceforge.net/">http://xsltsl.sourceforge.net/</ulink> for documentation.</para>
+
+      <para>There are three mailing lists for the project:</para>
+      <variablelist>
+	<varlistentry>
+	  <term><email>xsltsl-users at lists.sourceforge.net</email></term>
+	  <listitem>
+	    <para>Discussion of the use of <acronym>xsltsl</acronym>.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term><email>xsltsl-devel at lists.sourceforge.net</email></term>
+	  <listitem>
+	    <para>Discussion of the development of <acronym>xsltsl</acronym>.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term><email>xsltsl-announce at lists.sourceforge.net</email></term>
+	  <listitem>
+	    <para>Project announcements.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </chapter>
+
+    <chapter>
+      <title>XML Namespaces</title>
+
+      <para>Apart from the XSLT XML Namespace (http://www.w3.org/1999/XSL/Transform), <acronym>xsltsl</acronym> employs a number of XML Namespaces to allow inclusion of the library in developer stylesheets.  In addition, documentation is defined in a separate namespace.</para>
+      <para>Each module is allocated a namespace URI by appending the module name to the URI for the project, http://xsltsl.org/.  For example, the string module has the namespace URI http://xsltsl.org/string.</para>
+      <para>All documentation is written using an <ulink url="docbook-extensions.html">extension</ulink> of <ulink url="http://www.docbook.org/">DocBook</ulink> designed for <ulink url="docbook-extensions.html">embedding DocBook into XSLT stylesheets</ulink>.  The namespace URI for DocBook embedded in stylesheets is http://xsltsl.org/xsl/documentation/1.0</para>
+    </chapter>
+
+    <chapter>
+      <title>Engineering Standards</title>
+
+      <para>In order to maintain a high engineering standard, all modules and contributions to the <acronym>xsltsl</acronym> project must adhere to the following coding and documentation standards.  Submissions which do not meet (or exceed) this standard will not be accepted.</para>
+      <itemizedlist>
+        <listitem>
+          <para>All stylesheets must be indented, with each level indented by two spaces.  NB. a simple stylesheet could be used to enforce/fix this.</para>
+        </listitem>
+        <listitem>
+          <para>Templates are named using a qualified name (QName).  The namespace URI for the template's containing stylesheet is assigned as above.</para>
+        </listitem>
+        <listitem>
+          <para>Parameters for templates should use sensible names.  Where possible (or if in doubt), follow these conventions:</para>
+          <itemizedlist>
+            <listitem>
+              <para>A parameter containing a single node is named <parametername>node</parametername>.  Where more than one parameter contains a single node, the suffix <parametername>Node</parametername> is appended to the parameter name, eg. <parametername>referenceNode</parametername></para>
+            </listitem>
+            <listitem>
+              <para>A parameter which potentially contains multiple nodes is named <parametername>nodes</parametername>.  Where more than one parameter potentially contains multiple nodes, the suffix <parametername>Nodes</parametername> is appended to the parameter name, eg. <parametername>copyNodes</parametername></para>
+            </listitem>
+            <listitem>
+              <para>A parameter which contains a string value is named <parametername>text</parametername>.</para>
+            </listitem>
+          </itemizedlist>
+        </listitem>
+        <listitem>
+          <para>All templates in each stylesheet must be documented.  A template is documented as a <ulink url="http://www.docbook.org/">DocBook</ulink> RefEntry.</para>
+        </listitem>
+        <listitem>
+          <para>Every stylesheet must include a test suite.  The test system is in the <filename>test</filename> subdirectory.  See <ulink url="test/test.html">test/test.html</ulink> for further details.</para>
+        </listitem>
+      </itemizedlist>
+
+      <para>An <ulink url="example.xsl">example stylesheet</ulink> has been provided, which acts as a template for new stylesheet modules.</para>
+
+    </chapter>
+
+    <chapter>
+      <title>Related Work</title>
+
+      <para>The <ulink url="http://www.exslt.org/">EXSLT</ulink> project is creating a library to standardise extension functions.  The XSLT Standard Library is complementary to the EXSLT project.</para>
+
+    </chapter>
+
+    <chapter>
+      <title>Reference Documentation</title>
+
+      <para>Reference documentation is available for each module.</para>
+
+      <section>
+        <title>String Processing</title>
+
+        <itemizedlist>
+          <listitem>
+            <para><ulink url="string.html">string.xsl</ulink></para>
+          </listitem>
+        </itemizedlist>
+      </section>
+
+      <section>
+        <title>Nodes</title>
+
+        <itemizedlist>
+          <listitem>
+            <para><ulink url="node.html">node.xsl</ulink></para>
+          </listitem>
+        </itemizedlist>
+      </section>
+
+      <section>
+        <title>Date/Time Processing</title>
+
+        <itemizedlist>
+          <listitem>
+            <para><ulink url="date-time.html">date-time.xsl</ulink></para>
+          </listitem>
+        </itemizedlist>
+      </section>
+
+      <section>
+        <title>Mathematics</title>
+
+        <itemizedlist>
+          <listitem>
+            <para><ulink url="math.html">math.xsl</ulink></para>
+          </listitem>
+        </itemizedlist>
+      </section>
+
+      <section>
+        <title>URI (Uniform Resource Identifier) Processing</title>
+
+        <itemizedlist>
+          <listitem>
+            <para><ulink url="uri.html">uri.xsl</ulink></para>
+          </listitem>
+        </itemizedlist>
+      </section>
+
+      <section>
+        <title>Comparing Nodesets</title>
+
+        <itemizedlist>
+          <listitem>
+            <para><ulink url="cmp.html">cmp.xsl</ulink></para>
+          </listitem>
+        </itemizedlist>
+      </section>
+
+      <section>
+        <title>Generating XML Markup</title>
+
+        <itemizedlist>
+          <listitem>
+            <para><ulink url="markup.html">markup.xsl</ulink></para>
+          </listitem>
+        </itemizedlist>
+      </section>
+
+      <section>
+        <title>Presentation Media Support</title>
+
+        <itemizedlist>
+          <listitem>
+            <para>Scalable Vector Graphics: <ulink url="svg.html">svg.xsl</ulink></para>
+          </listitem>
+<!--
+          <listitem>
+            <para><ulink url="html/html.html">html/html.xsl</ulink></para>
+          </listitem>
+          <listitem>
+            <para><ulink url="fo/fo.html">fo/fo.xsl</ulink></para>
+          </listitem>
+-->
+        </itemizedlist>
+      </section>
+
+      <section>
+        <title>Example</title>
+
+        <!-- Add a new module in a similar fashion -->
+
+        <itemizedlist>
+          <listitem>
+            <para><ulink url="example.html">example.xsl</ulink></para>
+          </listitem>
+        </itemizedlist>
+      </section>
+    </chapter>
+
+  </doc:book>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/string.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/string.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/string.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1233 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet version="1.0"
+	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+	xmlns:doc="http://xsltsl.org/xsl/documentation/1.0"
+	xmlns:str="http://xsltsl.org/string"
+	extension-element-prefixes="doc str">
+
+  <doc:reference xmlns="">
+    <referenceinfo>
+      <releaseinfo role="meta">
+	$Id: string.xsl 3991 2004-11-10 06:51:55Z balls $
+      </releaseinfo>
+      <author>
+	<surname>Ball</surname>
+	<firstname>Steve</firstname>
+      </author>
+      <copyright>
+	<year>2002</year>
+	<year>2001</year>
+	<holder>Steve Ball</holder>
+      </copyright>
+    </referenceinfo>
+
+    <title>String Processing</title>
+
+    <partintro>
+      <section>
+	<title>Introduction</title>
+
+	<para>This module provides templates for manipulating strings.</para>
+
+      </section>
+    </partintro>
+
+  </doc:reference>
+
+  <!-- Common string constants and datasets as XSL variables -->
+
+  <!-- str:lower and str:upper contain pairs of lower and upper case
+       characters. Below insanely long strings should contain the
+       official lower/uppercase pairs, making this stylesheet working
+       for every language on earth. Hopefully. -->
+  <!-- These values are not enough, however. There are some
+       exceptions, dealt with below. -->
+  <xsl:variable name="xsltsl-str-lower" select="'&#x0061;&#x0062;&#x0063;&#x0064;&#x0065;&#x0066;&#x0067;&#x0068;&#x0069;&#x006A;&#x006B;&#x006C;&#x006D;&#x006E;&#x006F;&#x0070;&#x0071;&#x0072;&#x0073;&#x0074;&#x0075;&#x0076;&#x0077;&#x0078;&#x0079;&#x007A;&#x00B5;&#x00E0;&#x00E1;&#x00E2;&#x00E3;&#x00E4;&#x00E5;&#x00E6;&#x00E7;&#x00E8;&#x00E9;&#x00EA;&#x00EB;&#x00EC;&#x00ED;&#x00EE;&#x00EF;&#x00F0;&#x00F1;&#x00F2;&#x00F3;&#x00F4;&#x00F5;&#x00F6;&#x00F8;&#x00F9;&#x00FA;&#x00FB;&#x00FC;&#x00FD;&#x00FE;&#x00FF;&#x0101;&#x0103;&#x0105;&#x0107;&#x0109;&#x010B;&#x010D;&#x010F;&#x0111;&#x0113;&#x0115;&#x0117;&#x0119;&#x011B;&#x011D;&#x011F;&#x0121;&#x0123;&#x0125;&#x0127;&#x0129;&#x012B;&#x012D;&#x012F;&#x0131;&#x0133;&#x0135;&#x0137;&#x013A;&#x013C;&#x013E;&#x0140;&#x0142;&#x0144;&#x0146;&#x0148;&#x014B;&#x014D;&#x014F;&#x0151;&#x0153;&#x0155;&#x0157;&#x0159;&#x015B;&#x015D;&#x015F;&#x0161;&#x0163;&#x0165;&#x0167;&#x0169;&#x016B;&#x016D;&#x016F;&#x0171;&#x0173;&#x0175;&#x0177;&#x!
 017A;&#x017C;&#x017E;&#x017F;&#x0183;&#x0185;&#x0188;&#x018C;&#x0192;&#x0195;&#x0199;&#x01A1;&#x01A3;&#x01A5;&#x01A8;&#x01AD;&#x01B0;&#x01B4;&#x01B6;&#x01B9;&#x01BD;&#x01BF;&#x01C5;&#x01C6;&#x01C8;&#x01C9;&#x01CB;&#x01CC;&#x01CE;&#x01D0;&#x01D2;&#x01D4;&#x01D6;&#x01D8;&#x01DA;&#x01DC;&#x01DD;&#x01DF;&#x01E1;&#x01E3;&#x01E5;&#x01E7;&#x01E9;&#x01EB;&#x01ED;&#x01EF;&#x01F2;&#x01F3;&#x01F5;&#x01F9;&#x01FB;&#x01FD;&#x01FF;&#x0201;&#x0203;&#x0205;&#x0207;&#x0209;&#x020B;&#x020D;&#x020F;&#x0211;&#x0213;&#x0215;&#x0217;&#x0219;&#x021B;&#x021D;&#x021F;&#x0223;&#x0225;&#x0227;&#x0229;&#x022B;&#x022D;&#x022F;&#x0231;&#x0233;&#x0253;&#x0254;&#x0256;&#x0257;&#x0259;&#x025B;&#x0260;&#x0263;&#x0268;&#x0269;&#x026F;&#x0272;&#x0275;&#x0280;&#x0283;&#x0288;&#x028A;&#x028B;&#x0292;&#x0345;&#x03AC;&#x03AD;&#x03AE;&#x03AF;&#x03B1;&#x03B2;&#x03B3;&#x03B4;&#x03B5;&#x03B6;&#x03B7;&#x03B8;&#x03B9;&#x03BA;&#x03BB;&#x03BC;&#x03BD;&#x03BE;&#x03BF;&#x03C0;&#x03C1;&#x03C2;&#x03C3;&#x03C4;&#x03C5;&#x03C6!
 ;&#x03C7;&#x03C8;&#x03C9;&#x03CA;&#x03CB;&#x03CC;&#x03CD;&#x03CE;&#x03
D0;&#x03D1;&#x03D5;&#x03D6;&#x03DB;&#x03DD;&#x03DF;&#x03E1;&#x03E3;&#x03E5;&#x03E7;&#x03E9;&#x03EB;&#x03ED;&#x03EF;&#x03F0;&#x03F1;&#x03F2;&#x03F5;&#x0430;&#x0431;&#x0432;&#x0433;&#x0434;&#x0435;&#x0436;&#x0437;&#x0438;&#x0439;&#x043A;&#x043B;&#x043C;&#x043D;&#x043E;&#x043F;&#x0440;&#x0441;&#x0442;&#x0443;&#x0444;&#x0445;&#x0446;&#x0447;&#x0448;&#x0449;&#x044A;&#x044B;&#x044C;&#x044D;&#x044E;&#x044F;&#x0450;&#x0451;&#x0452;&#x0453;&#x0454;&#x0455;&#x0456;&#x0457;&#x0458;&#x0459;&#x045A;&#x045B;&#x045C;&#x045D;&#x045E;&#x045F;&#x0461;&#x0463;&#x0465;&#x0467;&#x0469;&#x046B;&#x046D;&#x046F;&#x0471;&#x0473;&#x0475;&#x0477;&#x0479;&#x047B;&#x047D;&#x047F;&#x0481;&#x048D;&#x048F;&#x0491;&#x0493;&#x0495;&#x0497;&#x0499;&#x049B;&#x049D;&#x049F;&#x04A1;&#x04A3;&#x04A5;&#x04A7;&#x04A9;&#x04AB;&#x04AD;&#x04AF;&#x04B1;&#x04B3;&#x04B5;&#x04B7;&#x04B9;&#x04BB;&#x04BD;&#x04BF;&#x04C2;&#x04C4;&#x04C8;&#x04CC;&#x04D1;&#x04D3;&#x04D5;&#x04D7;&#x04D9;&#x04DB;&#x04DD;&#x04DF;&#x04E1;&#x04E3;&#!
 x04E5;&#x04E7;&#x04E9;&#x04EB;&#x04ED;&#x04EF;&#x04F1;&#x04F3;&#x04F5;&#x04F9;&#x0561;&#x0562;&#x0563;&#x0564;&#x0565;&#x0566;&#x0567;&#x0568;&#x0569;&#x056A;&#x056B;&#x056C;&#x056D;&#x056E;&#x056F;&#x0570;&#x0571;&#x0572;&#x0573;&#x0574;&#x0575;&#x0576;&#x0577;&#x0578;&#x0579;&#x057A;&#x057B;&#x057C;&#x057D;&#x057E;&#x057F;&#x0580;&#x0581;&#x0582;&#x0583;&#x0584;&#x0585;&#x0586;&#x1E01;&#x1E03;&#x1E05;&#x1E07;&#x1E09;&#x1E0B;&#x1E0D;&#x1E0F;&#x1E11;&#x1E13;&#x1E15;&#x1E17;&#x1E19;&#x1E1B;&#x1E1D;&#x1E1F;&#x1E21;&#x1E23;&#x1E25;&#x1E27;&#x1E29;&#x1E2B;&#x1E2D;&#x1E2F;&#x1E31;&#x1E33;&#x1E35;&#x1E37;&#x1E39;&#x1E3B;&#x1E3D;&#x1E3F;&#x1E41;&#x1E43;&#x1E45;&#x1E47;&#x1E49;&#x1E4B;&#x1E4D;&#x1E4F;&#x1E51;&#x1E53;&#x1E55;&#x1E57;&#x1E59;&#x1E5B;&#x1E5D;&#x1E5F;&#x1E61;&#x1E63;&#x1E65;&#x1E67;&#x1E69;&#x1E6B;&#x1E6D;&#x1E6F;&#x1E71;&#x1E73;&#x1E75;&#x1E77;&#x1E79;&#x1E7B;&#x1E7D;&#x1E7F;&#x1E81;&#x1E83;&#x1E85;&#x1E87;&#x1E89;&#x1E8B;&#x1E8D;&#x1E8F;&#x1E91;&#x1E93;&#x1E95;&#x1E9!
 B;&#x1EA1;&#x1EA3;&#x1EA5;&#x1EA7;&#x1EA9;&#x1EAB;&#x1EAD;&#x1EAF;&#x1
EB1;&#x1EB3;&#x1EB5;&#x1EB7;&#x1EB9;&#x1EBB;&#x1EBD;&#x1EBF;&#x1EC1;&#x1EC3;&#x1EC5;&#x1EC7;&#x1EC9;&#x1ECB;&#x1ECD;&#x1ECF;&#x1ED1;&#x1ED3;&#x1ED5;&#x1ED7;&#x1ED9;&#x1EDB;&#x1EDD;&#x1EDF;&#x1EE1;&#x1EE3;&#x1EE5;&#x1EE7;&#x1EE9;&#x1EEB;&#x1EED;&#x1EEF;&#x1EF1;&#x1EF3;&#x1EF5;&#x1EF7;&#x1EF9;&#x1F00;&#x1F01;&#x1F02;&#x1F03;&#x1F04;&#x1F05;&#x1F06;&#x1F07;&#x1F10;&#x1F11;&#x1F12;&#x1F13;&#x1F14;&#x1F15;&#x1F20;&#x1F21;&#x1F22;&#x1F23;&#x1F24;&#x1F25;&#x1F26;&#x1F27;&#x1F30;&#x1F31;&#x1F32;&#x1F33;&#x1F34;&#x1F35;&#x1F36;&#x1F37;&#x1F40;&#x1F41;&#x1F42;&#x1F43;&#x1F44;&#x1F45;&#x1F51;&#x1F53;&#x1F55;&#x1F57;&#x1F60;&#x1F61;&#x1F62;&#x1F63;&#x1F64;&#x1F65;&#x1F66;&#x1F67;&#x1F70;&#x1F71;&#x1F72;&#x1F73;&#x1F74;&#x1F75;&#x1F76;&#x1F77;&#x1F78;&#x1F79;&#x1F7A;&#x1F7B;&#x1F7C;&#x1F7D;&#x1F80;&#x1F81;&#x1F82;&#x1F83;&#x1F84;&#x1F85;&#x1F86;&#x1F87;&#x1F90;&#x1F91;&#x1F92;&#x1F93;&#x1F94;&#x1F95;&#x1F96;&#x1F97;&#x1FA0;&#x1FA1;&#x1FA2;&#x1FA3;&#x1FA4;&#x1FA5;&#x1FA6;&#x1FA7;&#x1FB0;&!
 #x1FB1;&#x1FB3;&#x1FBE;&#x1FC3;&#x1FD0;&#x1FD1;&#x1FE0;&#x1FE1;&#x1FE5;&#x1FF3;&#x2170;&#x2171;&#x2172;&#x2173;&#x2174;&#x2175;&#x2176;&#x2177;&#x2178;&#x2179;&#x217A;&#x217B;&#x217C;&#x217D;&#x217E;&#x217F;&#x24D0;&#x24D1;&#x24D2;&#x24D3;&#x24D4;&#x24D5;&#x24D6;&#x24D7;&#x24D8;&#x24D9;&#x24DA;&#x24DB;&#x24DC;&#x24DD;&#x24DE;&#x24DF;&#x24E0;&#x24E1;&#x24E2;&#x24E3;&#x24E4;&#x24E5;&#x24E6;&#x24E7;&#x24E8;&#x24E9;&#xFF41;&#xFF42;&#xFF43;&#xFF44;&#xFF45;&#xFF46;&#xFF47;&#xFF48;&#xFF49;&#xFF4A;&#xFF4B;&#xFF4C;&#xFF4D;&#xFF4E;&#xFF4F;&#xFF50;&#xFF51;&#xFF52;&#xFF53;&#xFF54;&#xFF55;&#xFF56;&#xFF57;&#xFF58;&#xFF59;&#xFF5A;&#x10428;&#x10429;&#x1042A;&#x1042B;&#x1042C;&#x1042D;&#x1042E;&#x1042F;&#x10430;&#x10431;&#x10432;&#x10433;&#x10434;&#x10435;&#x10436;&#x10437;&#x10438;&#x10439;&#x1043A;&#x1043B;&#x1043C;&#x1043D;&#x1043E;&#x1043F;&#x10440;&#x10441;&#x10442;&#x10443;&#x10444;&#x10445;&#x10446;&#x10447;&#x10448;&#x10449;&#x1044A;&#x1044B;&#x1044C;&#x1044D;'"/>
+  <xsl:variable name="xsltsl-str-upper" select="'&#x0041;&#x0042;&#x0043;&#x0044;&#x0045;&#x0046;&#x0047;&#x0048;&#x0049;&#x004A;&#x004B;&#x004C;&#x004D;&#x004E;&#x004F;&#x0050;&#x0051;&#x0052;&#x0053;&#x0054;&#x0055;&#x0056;&#x0057;&#x0058;&#x0059;&#x005A;&#x039C;&#x00C0;&#x00C1;&#x00C2;&#x00C3;&#x00C4;&#x00C5;&#x00C6;&#x00C7;&#x00C8;&#x00C9;&#x00CA;&#x00CB;&#x00CC;&#x00CD;&#x00CE;&#x00CF;&#x00D0;&#x00D1;&#x00D2;&#x00D3;&#x00D4;&#x00D5;&#x00D6;&#x00D8;&#x00D9;&#x00DA;&#x00DB;&#x00DC;&#x00DD;&#x00DE;&#x0178;&#x0100;&#x0102;&#x0104;&#x0106;&#x0108;&#x010A;&#x010C;&#x010E;&#x0110;&#x0112;&#x0114;&#x0116;&#x0118;&#x011A;&#x011C;&#x011E;&#x0120;&#x0122;&#x0124;&#x0126;&#x0128;&#x012A;&#x012C;&#x012E;&#x0049;&#x0132;&#x0134;&#x0136;&#x0139;&#x013B;&#x013D;&#x013F;&#x0141;&#x0143;&#x0145;&#x0147;&#x014A;&#x014C;&#x014E;&#x0150;&#x0152;&#x0154;&#x0156;&#x0158;&#x015A;&#x015C;&#x015E;&#x0160;&#x0162;&#x0164;&#x0166;&#x0168;&#x016A;&#x016C;&#x016E;&#x0170;&#x0172;&#x0174;&#x0176;&#x!
 0179;&#x017B;&#x017D;&#x0053;&#x0182;&#x0184;&#x0187;&#x018B;&#x0191;&#x01F6;&#x0198;&#x01A0;&#x01A2;&#x01A4;&#x01A7;&#x01AC;&#x01AF;&#x01B3;&#x01B5;&#x01B8;&#x01BC;&#x01F7;&#x01C4;&#x01C4;&#x01C7;&#x01C7;&#x01CA;&#x01CA;&#x01CD;&#x01CF;&#x01D1;&#x01D3;&#x01D5;&#x01D7;&#x01D9;&#x01DB;&#x018E;&#x01DE;&#x01E0;&#x01E2;&#x01E4;&#x01E6;&#x01E8;&#x01EA;&#x01EC;&#x01EE;&#x01F1;&#x01F1;&#x01F4;&#x01F8;&#x01FA;&#x01FC;&#x01FE;&#x0200;&#x0202;&#x0204;&#x0206;&#x0208;&#x020A;&#x020C;&#x020E;&#x0210;&#x0212;&#x0214;&#x0216;&#x0218;&#x021A;&#x021C;&#x021E;&#x0222;&#x0224;&#x0226;&#x0228;&#x022A;&#x022C;&#x022E;&#x0230;&#x0232;&#x0181;&#x0186;&#x0189;&#x018A;&#x018F;&#x0190;&#x0193;&#x0194;&#x0197;&#x0196;&#x019C;&#x019D;&#x019F;&#x01A6;&#x01A9;&#x01AE;&#x01B1;&#x01B2;&#x01B7;&#x0399;&#x0386;&#x0388;&#x0389;&#x038A;&#x0391;&#x0392;&#x0393;&#x0394;&#x0395;&#x0396;&#x0397;&#x0398;&#x0399;&#x039A;&#x039B;&#x039C;&#x039D;&#x039E;&#x039F;&#x03A0;&#x03A1;&#x03A3;&#x03A3;&#x03A4;&#x03A5;&#x03A6!
 ;&#x03A7;&#x03A8;&#x03A9;&#x03AA;&#x03AB;&#x038C;&#x038E;&#x038F;&#x03
92;&#x0398;&#x03A6;&#x03A0;&#x03DA;&#x03DC;&#x03DE;&#x03E0;&#x03E2;&#x03E4;&#x03E6;&#x03E8;&#x03EA;&#x03EC;&#x03EE;&#x039A;&#x03A1;&#x03A3;&#x0395;&#x0410;&#x0411;&#x0412;&#x0413;&#x0414;&#x0415;&#x0416;&#x0417;&#x0418;&#x0419;&#x041A;&#x041B;&#x041C;&#x041D;&#x041E;&#x041F;&#x0420;&#x0421;&#x0422;&#x0423;&#x0424;&#x0425;&#x0426;&#x0427;&#x0428;&#x0429;&#x042A;&#x042B;&#x042C;&#x042D;&#x042E;&#x042F;&#x0400;&#x0401;&#x0402;&#x0403;&#x0404;&#x0405;&#x0406;&#x0407;&#x0408;&#x0409;&#x040A;&#x040B;&#x040C;&#x040D;&#x040E;&#x040F;&#x0460;&#x0462;&#x0464;&#x0466;&#x0468;&#x046A;&#x046C;&#x046E;&#x0470;&#x0472;&#x0474;&#x0476;&#x0478;&#x047A;&#x047C;&#x047E;&#x0480;&#x048C;&#x048E;&#x0490;&#x0492;&#x0494;&#x0496;&#x0498;&#x049A;&#x049C;&#x049E;&#x04A0;&#x04A2;&#x04A4;&#x04A6;&#x04A8;&#x04AA;&#x04AC;&#x04AE;&#x04B0;&#x04B2;&#x04B4;&#x04B6;&#x04B8;&#x04BA;&#x04BC;&#x04BE;&#x04C1;&#x04C3;&#x04C7;&#x04CB;&#x04D0;&#x04D2;&#x04D4;&#x04D6;&#x04D8;&#x04DA;&#x04DC;&#x04DE;&#x04E0;&#x04E2;&#!
 x04E4;&#x04E6;&#x04E8;&#x04EA;&#x04EC;&#x04EE;&#x04F0;&#x04F2;&#x04F4;&#x04F8;&#x0531;&#x0532;&#x0533;&#x0534;&#x0535;&#x0536;&#x0537;&#x0538;&#x0539;&#x053A;&#x053B;&#x053C;&#x053D;&#x053E;&#x053F;&#x0540;&#x0541;&#x0542;&#x0543;&#x0544;&#x0545;&#x0546;&#x0547;&#x0548;&#x0549;&#x054A;&#x054B;&#x054C;&#x054D;&#x054E;&#x054F;&#x0550;&#x0551;&#x0552;&#x0553;&#x0554;&#x0555;&#x0556;&#x1E00;&#x1E02;&#x1E04;&#x1E06;&#x1E08;&#x1E0A;&#x1E0C;&#x1E0E;&#x1E10;&#x1E12;&#x1E14;&#x1E16;&#x1E18;&#x1E1A;&#x1E1C;&#x1E1E;&#x1E20;&#x1E22;&#x1E24;&#x1E26;&#x1E28;&#x1E2A;&#x1E2C;&#x1E2E;&#x1E30;&#x1E32;&#x1E34;&#x1E36;&#x1E38;&#x1E3A;&#x1E3C;&#x1E3E;&#x1E40;&#x1E42;&#x1E44;&#x1E46;&#x1E48;&#x1E4A;&#x1E4C;&#x1E4E;&#x1E50;&#x1E52;&#x1E54;&#x1E56;&#x1E58;&#x1E5A;&#x1E5C;&#x1E5E;&#x1E60;&#x1E62;&#x1E64;&#x1E66;&#x1E68;&#x1E6A;&#x1E6C;&#x1E6E;&#x1E70;&#x1E72;&#x1E74;&#x1E76;&#x1E78;&#x1E7A;&#x1E7C;&#x1E7E;&#x1E80;&#x1E82;&#x1E84;&#x1E86;&#x1E88;&#x1E8A;&#x1E8C;&#x1E8E;&#x1E90;&#x1E92;&#x1E94;&#x1E6!
 0;&#x1EA0;&#x1EA2;&#x1EA4;&#x1EA6;&#x1EA8;&#x1EAA;&#x1EAC;&#x1EAE;&#x1
EB0;&#x1EB2;&#x1EB4;&#x1EB6;&#x1EB8;&#x1EBA;&#x1EBC;&#x1EBE;&#x1EC0;&#x1EC2;&#x1EC4;&#x1EC6;&#x1EC8;&#x1ECA;&#x1ECC;&#x1ECE;&#x1ED0;&#x1ED2;&#x1ED4;&#x1ED6;&#x1ED8;&#x1EDA;&#x1EDC;&#x1EDE;&#x1EE0;&#x1EE2;&#x1EE4;&#x1EE6;&#x1EE8;&#x1EEA;&#x1EEC;&#x1EEE;&#x1EF0;&#x1EF2;&#x1EF4;&#x1EF6;&#x1EF8;&#x1F08;&#x1F09;&#x1F0A;&#x1F0B;&#x1F0C;&#x1F0D;&#x1F0E;&#x1F0F;&#x1F18;&#x1F19;&#x1F1A;&#x1F1B;&#x1F1C;&#x1F1D;&#x1F28;&#x1F29;&#x1F2A;&#x1F2B;&#x1F2C;&#x1F2D;&#x1F2E;&#x1F2F;&#x1F38;&#x1F39;&#x1F3A;&#x1F3B;&#x1F3C;&#x1F3D;&#x1F3E;&#x1F3F;&#x1F48;&#x1F49;&#x1F4A;&#x1F4B;&#x1F4C;&#x1F4D;&#x1F59;&#x1F5B;&#x1F5D;&#x1F5F;&#x1F68;&#x1F69;&#x1F6A;&#x1F6B;&#x1F6C;&#x1F6D;&#x1F6E;&#x1F6F;&#x1FBA;&#x1FBB;&#x1FC8;&#x1FC9;&#x1FCA;&#x1FCB;&#x1FDA;&#x1FDB;&#x1FF8;&#x1FF9;&#x1FEA;&#x1FEB;&#x1FFA;&#x1FFB;&#x1F88;&#x1F89;&#x1F8A;&#x1F8B;&#x1F8C;&#x1F8D;&#x1F8E;&#x1F8F;&#x1F98;&#x1F99;&#x1F9A;&#x1F9B;&#x1F9C;&#x1F9D;&#x1F9E;&#x1F9F;&#x1FA8;&#x1FA9;&#x1FAA;&#x1FAB;&#x1FAC;&#x1FAD;&#x1FAE;&#x1FAF;&#x1FB8;&!
 #x1FB9;&#x1FBC;&#x0399;&#x1FCC;&#x1FD8;&#x1FD9;&#x1FE8;&#x1FE9;&#x1FEC;&#x1FFC;&#x2160;&#x2161;&#x2162;&#x2163;&#x2164;&#x2165;&#x2166;&#x2167;&#x2168;&#x2169;&#x216A;&#x216B;&#x216C;&#x216D;&#x216E;&#x216F;&#x24B6;&#x24B7;&#x24B8;&#x24B9;&#x24BA;&#x24BB;&#x24BC;&#x24BD;&#x24BE;&#x24BF;&#x24C0;&#x24C1;&#x24C2;&#x24C3;&#x24C4;&#x24C5;&#x24C6;&#x24C7;&#x24C8;&#x24C9;&#x24CA;&#x24CB;&#x24CC;&#x24CD;&#x24CE;&#x24CF;&#xFF21;&#xFF22;&#xFF23;&#xFF24;&#xFF25;&#xFF26;&#xFF27;&#xFF28;&#xFF29;&#xFF2A;&#xFF2B;&#xFF2C;&#xFF2D;&#xFF2E;&#xFF2F;&#xFF30;&#xFF31;&#xFF32;&#xFF33;&#xFF34;&#xFF35;&#xFF36;&#xFF37;&#xFF38;&#xFF39;&#xFF3A;&#x10400;&#x10401;&#x10402;&#x10403;&#x10404;&#x10405;&#x10406;&#x10407;&#x10408;&#x10409;&#x1040A;&#x1040B;&#x1040C;&#x1040D;&#x1040E;&#x1040F;&#x10410;&#x10411;&#x10412;&#x10413;&#x10414;&#x10415;&#x10416;&#x10417;&#x10418;&#x10419;&#x1041A;&#x1041B;&#x1041C;&#x1041D;&#x1041E;&#x1041F;&#x10420;&#x10421;&#x10422;&#x10423;&#x10424;&#x10425;'"/>
+  <xsl:variable name="xsltsl-str-digits" select="'0123456789'"/>
+  <!-- space (#x20) characters, carriage returns, line feeds, or tabs. -->
+  <xsl:variable name="xsltsl-str-ws" select="'&#x20;&#x9;&#xD;&#xA;'"/>
+
+  <doc:template name="str:to-upper" xmlns="">
+    <refpurpose>Make string uppercase</refpurpose>
+
+    <refdescription>
+      <para>Converts all lowercase letters to uppercase.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The string to be converted</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns string with all uppercase letters.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="str:to-upper">
+    <xsl:param name="text"/>
+
+    <!-- Below exception is extracted from unicode's SpecialCasing.txt
+         file. It's the german lowercase "eszett" (the thing looking
+         like a greek beta) that's to become "SS" in uppercase (note:
+         that are *two* characters, that's why it doesn't fit in the
+         list of upper/lowercase characters). There are more
+         characters in that file (103, excluding the locale-specific
+         ones), but they seemed to be much less used to me and they
+         add up to a hellish long stylesheet.... - Reinout -->
+    <xsl:param name="modified-text">
+      <xsl:call-template name="str:subst">
+        <xsl:with-param name="text">
+          <xsl:value-of select="$text"/>
+        </xsl:with-param>
+        <xsl:with-param name="replace">
+          <xsl:text>&#x00DF;</xsl:text>
+        </xsl:with-param>
+        <xsl:with-param name="with">
+          <xsl:text>&#x0053;</xsl:text>
+          <xsl:text>&#x0053;</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:param>
+
+    <xsl:value-of select="translate($modified-text, $xsltsl-str-lower, $xsltsl-str-upper)"/>
+  </xsl:template>
+
+  <doc:template name="str:to-lower" xmlns="">
+    <refpurpose>Make string lowercase</refpurpose>
+
+    <refdescription>
+      <para>Converts all uppercase letters to lowercase.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The string to be converted</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns string with all lowercase letters.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="str:to-lower">
+    <xsl:param name="text"/>
+
+    <xsl:value-of select="translate($text, $xsltsl-str-upper, $xsltsl-str-lower)"/>
+  </xsl:template>
+
+  <doc:template name="str:capitalise" xmlns="">
+    <refpurpose>Capitalise string</refpurpose>
+
+    <refdescription>
+      <para>Converts first character of string to an uppercase letter.  All remaining characters are converted to lowercase.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The string to be capitalised</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>all</term>
+	  <listitem>
+	    <para>Boolean controlling whether all words in the string are capitalised.</para>
+	    <para>Default is true.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns string with first character uppcase and all remaining characters lowercase.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="str:capitalise">
+    <xsl:param name="text"/>
+    <xsl:param name="all" select="true()"/>
+
+    <xsl:choose>
+      <xsl:when test="$all and (contains($text, ' ') or contains($text, '	') or contains($text, '&#10;'))">
+	<xsl:variable name="firstword">
+	  <xsl:call-template name="str:substring-before-first">
+	    <xsl:with-param name="text" select="$text"/>
+	    <xsl:with-param name="chars" select="$xsltsl-str-ws"/>
+	  </xsl:call-template>
+	</xsl:variable>
+	<xsl:call-template name="str:capitalise">
+	  <xsl:with-param name="text">
+	    <xsl:value-of select="$firstword"/>
+	  </xsl:with-param>
+	  <xsl:with-param name="all" select="false()"/>
+	</xsl:call-template>
+	<xsl:value-of select="substring($text, string-length($firstword) + 1, 1)"/>
+	<xsl:call-template name="str:capitalise">
+	  <xsl:with-param name="text">
+	    <xsl:value-of select="substring($text, string-length($firstword) + 2)"/>
+	  </xsl:with-param>
+	</xsl:call-template>
+      </xsl:when>
+
+      <xsl:otherwise>
+	<xsl:call-template name="str:to-upper">
+	  <xsl:with-param name="text" select="substring($text, 1, 1)"/>
+	</xsl:call-template>
+	<xsl:call-template name="str:to-lower">
+	  <xsl:with-param name="text" select="substring($text, 2)"/>
+	</xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="str:to-camelcase" xmlns="">
+    <refpurpose>Convert a string to one camelcase word</refpurpose>
+
+    <refdescription>
+      <para>Converts a string to one lowerCamelCase or UpperCamelCase
+      word, depending on the setting of the "upper"
+      parameter. UpperCamelCase is also called MixedCase while
+      lowerCamelCase is also called just camelCase. The template
+      removes any spaces, tabs and slashes, but doesn't deal with
+      other punctuation. It's purpose is to convert strings like
+      "hollow timber flush door" to a term suitable as identifier or
+      XML tag like "HollowTimberFlushDoor".
+      </para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The string to be capitalised</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>upper</term>
+	  <listitem>
+	    <para>Boolean controlling whether the string becomes an
+            UpperCamelCase word or a lowerCamelCase word.</para>
+	    <para>Default is true.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns string with first character uppcase and all remaining characters lowercase.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="str:to-camelcase">
+    <xsl:param name="text"/>
+    <xsl:param name="upper" select="true()"/>
+    <!-- First change all 'strange' characters to spaces -->
+    <xsl:param name="string-with-only-spaces">
+      <xsl:value-of select="translate($text,concat($xsltsl-str-ws,'/'),'     ')"/>
+    </xsl:param>
+    <!-- Then process them -->
+    <xsl:param name="before-space-removal">
+      <xsl:variable name="firstword">
+        <xsl:call-template name="str:substring-before-first">
+          <xsl:with-param name="text" select="$string-with-only-spaces"/>
+          <xsl:with-param name="chars" select="$xsltsl-str-ws"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:choose>
+        <xsl:when test="$upper">
+          <xsl:call-template name="str:to-upper">
+            <xsl:with-param name="text" select="substring($firstword, 1, 1)"/>
+          </xsl:call-template>
+          <xsl:call-template name="str:to-lower">
+            <xsl:with-param name="text" select="substring($firstword, 2)"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="str:to-lower">
+            <xsl:with-param name="text" select="$firstword"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:call-template name="str:capitalise">
+        <xsl:with-param name="text">
+          <xsl:value-of select="substring($string-with-only-spaces, string-length($firstword) + 2)"/>
+        </xsl:with-param>
+        <xsl:with-param name="all" select="true()"/>            
+      </xsl:call-template>
+    </xsl:param>
+    <xsl:value-of select="translate($before-space-removal,' ','')"/>
+  </xsl:template>
+
+  <doc:template name="str:substring-before-first" xmlns="">
+    <refpurpose>String extraction</refpurpose>
+
+    <refdescription>
+      <para>Extracts the portion of string 'text' which occurs before any of the characters in string 'chars'.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The string from which to extract a substring.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>chars</term>
+	  <listitem>
+	    <para>The string containing characters to find.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="str:substring-before-first">
+    <xsl:param name="text"/>
+    <xsl:param name="chars"/>
+
+    <xsl:choose>
+
+      <xsl:when test="string-length($text) = 0"/>
+
+      <xsl:when test="string-length($chars) = 0">
+	<xsl:value-of select="$text"/>
+      </xsl:when>
+
+      <xsl:when test="contains($text, substring($chars, 1, 1))">
+	<xsl:variable name="this" select="substring-before($text, substring($chars, 1, 1))"/>
+	<xsl:variable name="rest">
+	  <xsl:call-template name="str:substring-before-first">
+	    <xsl:with-param name="text" select="$text"/>
+	    <xsl:with-param name="chars" select="substring($chars, 2)"/>
+	  </xsl:call-template>
+	</xsl:variable>
+
+	<xsl:choose>
+	  <xsl:when test="string-length($this) &lt; string-length($rest)">
+	    <xsl:value-of select="$this"/>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:value-of select="$rest"/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </xsl:when>
+
+      <xsl:otherwise>
+	<xsl:call-template name="str:substring-before-first">
+	  <xsl:with-param name="text" select="$text"/>
+	  <xsl:with-param name="chars" select="substring($chars, 2)"/>
+	</xsl:call-template>
+      </xsl:otherwise>
+
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="str:substring-after-last" xmlns="">
+    <refpurpose>String extraction</refpurpose>
+
+    <refdescription>
+      <para>Extracts the portion of string 'text' which occurs after the last of the character in string 'chars'.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The string from which to extract a substring.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>chars</term>
+	  <listitem>
+	    <para>The string containing characters to find.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="str:substring-after-last">
+    <xsl:param name="text"/>
+    <xsl:param name="chars"/>
+
+    <xsl:choose>
+
+      <xsl:when test="contains($text, $chars)">
+        <xsl:variable name="last" select="substring-after($text, $chars)"/>
+
+	<xsl:choose>
+	  <xsl:when test="contains($last, $chars)">
+	    <xsl:call-template name="str:substring-after-last">
+	      <xsl:with-param name="text" select="$last"/>
+	      <xsl:with-param name="chars" select="$chars"/>
+	    </xsl:call-template>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:value-of select="$last"/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <xsl:value-of select="$text"/>
+      </xsl:otherwise>
+
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="str:substring-before-last" xmlns="">
+    <refpurpose>String extraction</refpurpose>
+
+    <refdescription>
+      <para>Extracts the portion of string 'text' which occurs before the first character of the last occurance of string 'chars'.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The string from which to extract a substring.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>chars</term>
+	  <listitem>
+	    <para>The string containing characters to find.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="str:substring-before-last">
+    <xsl:param name="text"/>
+    <xsl:param name="chars"/>
+
+    <xsl:choose>
+
+      <xsl:when test="string-length($text) = 0"/>
+
+      <xsl:when test="string-length($chars) = 0">
+	<xsl:value-of select="$text"/>
+      </xsl:when>
+
+      <xsl:when test="contains($text, $chars)">
+	<xsl:call-template name="str:substring-before-last-aux">
+	  <xsl:with-param name="text" select="$text"/>
+	  <xsl:with-param name="chars" select="$chars"/>
+	</xsl:call-template>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <xsl:value-of select="$text"/>
+      </xsl:otherwise>
+
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template name="str:substring-before-last-aux">
+    <xsl:param name="text"/>
+    <xsl:param name="chars"/>
+
+    <xsl:choose>
+      <xsl:when test="string-length($text) = 0"/>
+
+      <xsl:when test="contains($text, $chars)">
+	<xsl:variable name="after">
+	  <xsl:call-template name="str:substring-before-last-aux">
+	    <xsl:with-param name="text" select="substring-after($text, $chars)"/>
+	    <xsl:with-param name="chars" select="$chars"/>
+	  </xsl:call-template>
+	</xsl:variable>
+
+	<xsl:value-of select="substring-before($text, $chars)"/>
+	<xsl:if test="string-length($after) &gt; 0">
+	  <xsl:value-of select="$chars"/>
+	  <xsl:copy-of select="$after"/>
+	</xsl:if>
+      </xsl:when>
+
+      <xsl:otherwise/>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="str:subst" xmlns="">
+    <refpurpose>String substitution</refpurpose>
+
+    <refdescription>
+      <para>Substitute 'replace' for 'with' in string 'text'.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The string upon which to perform substitution.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>replace</term>
+	  <listitem>
+	    <para>The string to substitute.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>with</term>
+	  <listitem>
+	    <para>The string to be substituted.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>disable-output-escaping</term>
+	  <listitem>
+            <para>A value of <literal>yes</literal> indicates that the result should have output escaping disabled.  Any other value allows normal escaping of text values.  The default is to enable output escaping.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="str:subst">
+    <xsl:param name="text"/>
+    <xsl:param name="replace"/>
+    <xsl:param name="with"/>
+    <xsl:param name='disable-output-escaping'>no</xsl:param>
+
+    <xsl:choose>
+      <xsl:when test="string-length($replace) = 0 and $disable-output-escaping = 'yes'">
+        <xsl:value-of select="$text" disable-output-escaping='yes'/>
+      </xsl:when>
+      <xsl:when test="string-length($replace) = 0">
+        <xsl:value-of select="$text"/>
+      </xsl:when>
+      <xsl:when test="contains($text, $replace)">
+
+	<xsl:variable name="before" select="substring-before($text, $replace)"/>
+	<xsl:variable name="after" select="substring-after($text, $replace)"/>
+
+        <xsl:choose>
+          <xsl:when test='$disable-output-escaping = "yes"'>
+            <xsl:value-of select="$before" disable-output-escaping="yes"/>
+            <xsl:value-of select="$with" disable-output-escaping="yes"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$before"/>
+            <xsl:value-of select="$with"/>
+          </xsl:otherwise>
+        </xsl:choose>
+        <xsl:call-template name="str:subst">
+	  <xsl:with-param name="text" select="$after"/>
+	  <xsl:with-param name="replace" select="$replace"/>
+	  <xsl:with-param name="with" select="$with"/>
+	  <xsl:with-param name="disable-output-escaping" select="$disable-output-escaping"/>
+	</xsl:call-template>
+      </xsl:when>
+      <xsl:when test='$disable-output-escaping = "yes"'>
+        <xsl:value-of select="$text" disable-output-escaping="yes"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$text"/>
+      </xsl:otherwise>
+    </xsl:choose>            
+  </xsl:template>
+
+  <doc:template name="str:count-substring" xmlns="">
+    <refpurpose>Count Substrings</refpurpose>
+
+    <refdescription>
+      <para>Counts the number of times a substring occurs in a string.  This can also counts the number of times a character occurs in a string, since a character is simply a string of length 1.</para>
+    </refdescription>
+
+    <example>
+      <title>Counting Lines</title>
+      <programlisting><![CDATA[
+<xsl:call-template name="str:count-substring">
+  <xsl:with-param name="text" select="$mytext"/>
+  <xsl:with-param name="chars" select="'&#x0a;'"/>
+</xsl:call-template>
+]]></programlisting>
+    </example>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The source string.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>chars</term>
+	  <listitem>
+	    <para>The substring to count.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns a non-negative integer value.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="str:count-substring">
+    <xsl:param name="text"/>
+    <xsl:param name="chars"/>
+
+    <xsl:choose>
+      <xsl:when test="string-length($text) = 0 or string-length($chars) = 0">
+	<xsl:text>0</xsl:text>
+      </xsl:when>
+      <xsl:when test="contains($text, $chars)">
+	<xsl:variable name="remaining">
+	  <xsl:call-template name="str:count-substring">
+	    <xsl:with-param name="text" select="substring-after($text, $chars)"/>
+	    <xsl:with-param name="chars" select="$chars"/>
+	  </xsl:call-template>
+	</xsl:variable>
+	<xsl:value-of select="$remaining + 1"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:text>0</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="str:substring-after-at" xmlns="">
+    <refpurpose>String extraction</refpurpose>
+    <refdescription>
+      <para>Extracts the portion of a 'char' delimited 'text' string "array" at a given 'position'.</para>
+    </refdescription>
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>text</term>
+          <listitem>
+            <para>The string from which to extract a substring.</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>chars</term>
+          <listitem>
+            <para>delimiters</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>position</term>
+          <listitem>
+            <para>position of the elements</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>all</term>
+          <listitem>
+            <para>If true all of the remaining string is returned, otherwise only the element at the given position is returned.  Default: false().</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+    <refreturn>
+      <para>Returns string.</para>
+    </refreturn>
+  </doc:template>
+
+
+  <xsl:template name="str:substring-after-at">
+    <xsl:param name="text"/>
+    <xsl:param name="chars"/>
+    <xsl:param name="position"/>
+    <xsl:param name="all" select='false()'/>
+
+    <xsl:choose>
+      <xsl:when test='number($position) = 0 and $all'>
+        <xsl:value-of select='$text'/>
+      </xsl:when>
+      <xsl:when test='number($position) = 0 and not($chars)'>
+        <xsl:value-of select='$text'/>
+      </xsl:when>
+      <xsl:when test='number($position) = 0 and not(contains($text, $chars))'>
+        <xsl:value-of select='$text'/>
+      </xsl:when>
+      <xsl:when test='not(contains($text, $chars))'>
+      </xsl:when>
+      <xsl:when test="number($position) = 0">
+        <xsl:value-of select="substring-before($text, $chars)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="str:substring-after-at">
+          <xsl:with-param name="text" select="substring-after($text, $chars)"/>
+          <xsl:with-param name="chars" select="$chars"/>
+          <xsl:with-param name="all" select="$all"/>
+          <xsl:with-param name="position" select="$position - 1"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="str:substring-before-at" xmlns="">
+    <refpurpose>String extraction</refpurpose>
+    <refdescription>
+      <para>Extracts the portion of a 'char' delimited 'text' string "array" at a given 'position' </para>
+    </refdescription>
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>text</term>
+          <listitem>
+            <para>The string from which to extract a substring.</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>chars</term>
+          <listitem>
+          <para>delimiters</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>position</term>
+          <listitem>
+            <para>position of the elements</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+    <refreturn>
+      <para>Returns string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="str:substring-before-at">
+    <xsl:param name="text"/>
+    <xsl:param name="chars"/>
+    <xsl:param name="position"/>
+
+    <xsl:choose>
+      <xsl:when test="$position &lt;= 0"/>
+      <xsl:when test="not(contains($text, $chars))"/>
+      <xsl:otherwise>
+        <xsl:value-of select='substring-before($text, $chars)'/>
+        <xsl:value-of select='$chars'/>
+
+        <xsl:call-template name="str:substring-before-at">
+          <xsl:with-param name="text" select="substring-after($text, $chars)"/>
+          <xsl:with-param name="position" select="$position - 1"/>
+          <xsl:with-param name="chars" select="$chars"/>
+        </xsl:call-template>
+        
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="str:insert-at" xmlns="">
+    <refpurpose>String insertion</refpurpose>
+    <refdescription>
+      <para>Insert 'chars' into "text' at any given "position'</para>
+    </refdescription>
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>text</term>
+          <listitem>
+            <para>The string upon which to perform insertion</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>position</term>
+          <listitem>
+            <para>the position where insertion will be performed</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>with</term>
+          <listitem>
+            <para>The string to be inserted</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+    <refreturn>
+      <para>Returns string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="str:insert-at">
+    <xsl:param name="text"/>
+    <xsl:param name="position"/>
+    <xsl:param name="chars"/>
+
+    <xsl:variable name="firstpart" select="substring($text, 0, $position)"/>
+    <xsl:variable name="secondpart" select="substring($text, $position, string-length($text))"/>
+
+    <xsl:value-of select="concat($firstpart, $chars, $secondpart)"/>
+  </xsl:template>
+ 
+
+  <doc:template name="str:backward" xmlns="">
+    <refpurpose>String reversal</refpurpose>
+
+    <refdescription>
+      <para>Reverse the content of a given string</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>text</term>
+          <listitem>
+            <para>The string to be reversed</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns string.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="str:backward">
+    <xsl:param name="text"/>
+    <xsl:variable name="mirror">
+      <xsl:call-template name="str:build-mirror">
+        <xsl:with-param name="text" select="$text"/>
+        <xsl:with-param name="position" select="string-length($text)"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:value-of select="substring($mirror, string-length($text) + 1, string-length($text))"/>
+  </xsl:template>
+
+  <xsl:template name="str:build-mirror">
+    <xsl:param name="text"/>
+    <xsl:param name="position"/>
+
+    <xsl:choose>
+      <xsl:when test="$position &gt; 0">
+        <xsl:call-template name="str:build-mirror">
+          <xsl:with-param name="text" select="concat($text, substring($text, $position, 1))"/>
+          <xsl:with-param name="position" select="$position - 1"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$text"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="str:justify" xmlns="">
+    <refpurpose>Format a string</refpurpose>
+
+    <refdescription>
+      <para>Inserts newlines and spaces into a string to format it as a block of text.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>text</term>
+          <listitem>
+            <para>String to be formatted.</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>max</term>
+          <listitem>
+            <para>Maximum line length.</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>indent</term>
+          <listitem>
+            <para>Number of spaces to insert at the beginning of each line.</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>justify</term>
+          <listitem>
+            <para>Justify left, right or both.  Not currently implemented (fixed at "left").</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Formatted block of text.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='str:justify'>
+    <xsl:param name='text'/>
+    <xsl:param name='max' select='"80"'/>
+    <xsl:param name='indent' select='"0"'/>
+    <xsl:param name='justify' select='"left"'/>
+
+    <xsl:choose>
+      <xsl:when test='string-length($text) = 0 or $max &lt;= 0'/>
+
+      <xsl:when test='string-length($text) > $max and contains($text, " ") and string-length(substring-before($text, " ")) > $max'>
+        <xsl:call-template name='str:generate-string'>
+          <xsl:with-param name='text' select='" "'/>
+          <xsl:with-param name='count' select='$indent'/>
+        </xsl:call-template>
+        <xsl:value-of select='substring-before($text, " ")'/>
+        <xsl:text>
+</xsl:text>
+        <xsl:call-template name='str:justify'>
+          <xsl:with-param name='text' select='substring-after($text, " ")'/>
+          <xsl:with-param name='max' select='$max'/>
+          <xsl:with-param name='indent' select='$indent'/>
+          <xsl:with-param name='justify' select='$justify'/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <xsl:when test='string-length($text) > $max and contains($text, " ")'>
+        <xsl:variable name='first'>
+          <xsl:call-template name='str:substring-before-last'>
+            <xsl:with-param name='text' select='substring($text, 1, $max)'/>
+            <xsl:with-param name='chars' select='" "'/>
+          </xsl:call-template>
+        </xsl:variable>
+
+        <xsl:call-template name='str:generate-string'>
+          <xsl:with-param name='text' select='" "'/>
+          <xsl:with-param name='count' select='$indent'/>
+        </xsl:call-template>
+        <xsl:value-of select='$first'/>
+        <xsl:text>
+</xsl:text>
+        <xsl:call-template name='str:justify'>
+          <xsl:with-param name='text' select='substring($text, string-length($first) + 2)'/>
+          <xsl:with-param name='max' select='$max'/>
+          <xsl:with-param name='indent' select='$indent'/>
+          <xsl:with-param name='justify' select='$justify'/>
+        </xsl:call-template>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <xsl:call-template name='str:generate-string'>
+          <xsl:with-param name='text' select='" "'/>
+          <xsl:with-param name='count' select='$indent'/>
+        </xsl:call-template>
+        <xsl:value-of select='$text'/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="str:character-first" xmlns="">
+    <refpurpose>Find first occurring character in a string</refpurpose>
+
+    <refdescription>
+      <para>Finds which of the given characters occurs first in a string.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The source string.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>chars</term>
+	  <listitem>
+	    <para>The characters to search for.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+  </doc:template>
+
+  <xsl:template name="str:character-first">
+    <xsl:param name="text"/>
+    <xsl:param name="chars"/>
+
+    <xsl:choose>
+      <xsl:when test="string-length($text) = 0 or string-length($chars) = 0"/>
+
+      <xsl:when test="contains($text, substring($chars, 1, 1))">
+	<xsl:variable name="next-character">
+	  <xsl:call-template name="str:character-first">
+	    <xsl:with-param name="text" select="$text"/>
+	    <xsl:with-param name="chars" select="substring($chars, 2)"/>
+	  </xsl:call-template>
+	</xsl:variable>
+
+	<xsl:choose>
+	  <xsl:when test="string-length($next-character)">
+	    <xsl:variable name="first-character-position" select="string-length(substring-before($text, substring($chars, 1, 1)))"/>
+	    <xsl:variable name="next-character-position" select="string-length(substring-before($text, $next-character))"/>
+
+	    <xsl:choose>
+	      <xsl:when test="$first-character-position &lt; $next-character-position">
+		<xsl:value-of select="substring($chars, 1, 1)"/>
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:value-of select="$next-character"/>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:value-of select="substring($chars, 1, 1)"/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:call-template name="str:character-first">
+	  <xsl:with-param name="text" select="$text"/>
+	  <xsl:with-param name="chars" select="substring($chars, 2)"/>
+	</xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <doc:template name="str:string-match" xmlns="">
+    <refpurpose>Match A String To A Pattern</refpurpose>
+
+    <refdescription>
+      <para>Performs globbing-style pattern matching on a string.</para>
+    </refdescription>
+
+    <example>
+      <title>Match Pattern</title>
+      <programlisting><![CDATA[
+<xsl:call-template name="str:string-match">
+  <xsl:with-param name="text" select="$mytext"/>
+  <xsl:with-param name="pattern" select="'abc*def?g'"/>
+</xsl:call-template>
+]]></programlisting>
+    </example>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The source string.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>pattern</term>
+	  <listitem>
+	    <para>The pattern to match against.  Certain characters have special meaning:</para>
+	    <variablelist>
+	      <varlistentry>
+		<term>*</term>
+		<listitem>
+		  <para>Matches zero or more characters.</para>
+		</listitem>
+	      </varlistentry>
+	      <varlistentry>
+		<term>?</term>
+		<listitem>
+		  <para>Matches a single character.</para>
+		</listitem>
+	      </varlistentry>
+	      <varlistentry>
+		<term>\</term>
+		<listitem>
+		  <para>Character escape.  The next character is taken as a literal character.</para>
+		</listitem>
+	      </varlistentry>
+	    </variablelist>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns "1" if the string matches the pattern, "0" otherwise.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="str:string-match">
+    <xsl:param name="text"/>
+    <xsl:param name="pattern"/>
+
+    <xsl:choose>
+      <xsl:when test="$pattern = '*'">
+	<!-- Special case: always matches -->
+	<xsl:text>1</xsl:text>
+      </xsl:when>
+      <xsl:when test="string-length($text) = 0 and string-length($pattern) = 0">
+	<xsl:text>1</xsl:text>
+      </xsl:when>
+      <xsl:when test="string-length($text) = 0 or string-length($pattern) = 0">
+	<xsl:text>0</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:variable name='before-special'>
+	  <xsl:call-template name='str:substring-before-first'>
+	    <xsl:with-param name='text' select='$pattern'/>
+	    <xsl:with-param name='chars' select='"*?\"'/>
+	  </xsl:call-template>
+	</xsl:variable>
+	<xsl:variable name='special'>
+	  <xsl:call-template name='str:character-first'>
+	    <xsl:with-param name='text' select='$pattern'/>
+	    <xsl:with-param name='chars' select='"*?\"'/>
+	  </xsl:call-template>
+	</xsl:variable>
+
+	<xsl:variable name='new-text' select='substring($text, string-length($before-special) + 1)'/>
+	<xsl:variable name='new-pattern' select='substring($pattern, string-length($before-special) + 1)'/>
+
+	<xsl:choose>
+	  <xsl:when test="not(starts-with($text, $before-special))">
+	    <!-- Verbatim characters don't match -->
+	    <xsl:text>0</xsl:text>
+	  </xsl:when>
+
+	  <xsl:when test="$special = '*' and string-length($new-pattern) = 1">
+	    <xsl:text>1</xsl:text>
+	  </xsl:when>
+	  <xsl:when test="$special = '*'">
+	    <xsl:call-template name='str:match-postfix'>
+	      <xsl:with-param name='text' select='$new-text'/>
+	      <xsl:with-param name='pattern' select='substring($new-pattern, 2)'/>
+	    </xsl:call-template>
+	  </xsl:when>
+
+	  <xsl:when test="$special = '?'">
+	    <xsl:call-template name="str:string-match">
+	      <xsl:with-param name='text' select='substring($new-text, 2)'/>
+	      <xsl:with-param name='pattern' select='substring($new-pattern, 2)'/>
+	    </xsl:call-template>
+	  </xsl:when>
+
+	  <xsl:when test="$special = '\' and substring($new-text, 1, 1) = substring($new-pattern, 2, 1)">
+	    <xsl:call-template name="str:string-match">
+	      <xsl:with-param name='text' select='substring($new-text, 2)'/>
+	      <xsl:with-param name='pattern' select='substring($new-pattern, 3)'/>
+	    </xsl:call-template>
+	  </xsl:when>
+	  <xsl:when test="$special = '\' and substring($new-text, 1, 1) != substring($new-pattern, 2, 1)">
+	    <xsl:text>0</xsl:text>
+	  </xsl:when>
+
+	  <xsl:otherwise>
+	    <!-- There were no special characters in the pattern -->
+	    <xsl:choose>
+	      <xsl:when test='$text = $pattern'>
+		<xsl:text>1</xsl:text>
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:text>0</xsl:text>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template name="str:match-postfix">
+    <xsl:param name="text"/>
+    <xsl:param name="pattern"/>
+
+    <xsl:variable name='result'>
+      <xsl:call-template name='str:string-match'>
+	<xsl:with-param name='text' select='$text'/>
+	<xsl:with-param name='pattern' select='$pattern'/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:choose>
+      <xsl:when test='$result = "1"'>
+	<xsl:value-of select='$result'/>
+      </xsl:when>
+      <xsl:when test='string-length($text) = 0'>
+	<xsl:text>0</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:call-template name='str:match-postfix'>
+	  <xsl:with-param name='text' select='substring($text, 2)'/>
+	  <xsl:with-param name='pattern' select='$pattern'/>
+	</xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <doc:template name="str:generate-string" xmlns="">
+    <refpurpose>Create A Repeating Sequence of Characters</refpurpose>
+
+    <refdescription>
+      <para>Repeats a string a given number of times.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+	<varlistentry>
+	  <term>text</term>
+	  <listitem>
+	    <para>The string to repeat.</para>
+	  </listitem>
+	</varlistentry>
+	<varlistentry>
+	  <term>count</term>
+	  <listitem>
+	    <para>The number of times to repeat the string.</para>
+	  </listitem>
+	</varlistentry>
+      </variablelist>
+    </refparameter>
+  </doc:template>
+
+  <xsl:template name="str:generate-string">
+    <xsl:param name="text"/>
+    <xsl:param name="count"/>
+
+    <xsl:choose>
+      <xsl:when test="string-length($text) = 0 or $count &lt;= 0"/>
+      <xsl:otherwise>
+	<xsl:value-of select="$text"/>
+	<xsl:call-template name="str:generate-string">
+	  <xsl:with-param name="text" select="$text"/>
+	  <xsl:with-param name="count" select="$count - 1"/>
+	</xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/svg.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/svg.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/svg.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,177 @@
+<xsl:stylesheet version='1.0'
+  xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
+  xmlns:svg='http://xsltsl.org/svg'
+  xmlns:doc="http://xsltsl.org/xsl/documentation/1.0"
+  exclude-result-prefixes="doc">
+
+  <xsl:variable name='svg-public-id' select='"-//W3C//DTD SVG 20010904//EN"'/>
+  <xsl:variable name='svg-system-id' select='"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"'/>
+
+  <doc:reference xmlns="">
+    <referenceinfo>
+      <releaseinfo role="meta">
+        $Id: svg.xsl 3991 2004-11-10 06:51:55Z balls $
+      </releaseinfo>
+      <author>
+        <surname>Ball</surname>
+        <firstname>Steve</firstname>
+      </author>
+      <copyright>
+        <year>2002</year>
+        <holder>Steve Ball</holder>
+      </copyright>
+    </referenceinfo>
+
+    <title>SVG Stylesheet</title>
+
+    <partintro>
+      <section>
+        <title>Introduction</title>
+
+        <para>This module provides templates for creating SVG images.</para>
+      </section>
+    </partintro>
+  </doc:reference>
+
+  <doc:template name="svg:aqua-button-defs" xmlns="">
+    <refpurpose>Aqua-style Button</refpurpose>
+
+    <refdescription>
+      <para>Part of the mechanism to create an Aqua-style button.  Include a call to this template in your SVG document's <sgmltag>defs</sgmltag> element.  This template only needs to be included once.  Use this in conjunction with <sgmltag>svg:aqua-button</sgmltag>.</para>
+
+      <para>The default values for color1, color2 and color3 result in a grey button.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>prefix</term>
+          <listitem>
+            <para>A prefix to append to the identifiers used, so that they don't clash with other identifiers.  Default: "aqua-".</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>color1</term>
+          <listitem>
+            <para>The base colour of the button.  Default: "#d9d9d9".</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>color2</term>
+          <listitem>
+            <para>A "background" colour for the button.  Should be a darker colour than color1.  Default: "#a9a9a9".</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>color3</term>
+          <listitem>
+            <para>A highlight colour for the button.  Should be a lighter colour than color1.  Default: "#f9f9f9".</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns SVG result-tree-fragment.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="svg:aqua-button-defs">
+    <xsl:param name="prefix" select='"aqua-"'/>
+    <xsl:param name="color1" select='"#d9d9d9"'/>
+    <xsl:param name="color2" select='"#a9a9a9"'/>
+    <xsl:param name="color3" select='"#f9f9f9"'/>
+
+    <linearGradient id='{$prefix}gradient' x1='0%' y1='0%' x2='0%' y2='100%'>
+      <stop offset='0%' stop-color='{$color2}'/>
+      <stop offset='100%' stop-color='{$color1}'/>
+    </linearGradient>
+    <linearGradient id='{$prefix}highlight-gradient' x1='0%' y1='0%' x2='0%' y2='100%'>
+      <stop offset='0%' stop-color='#ffffff'/>
+      <stop offset='75%' stop-color='{$color3}' stop-opacity='0'/>
+      <stop offset='100%' stop-color='{$color3}' stop-opacity='0'/>
+    </linearGradient>
+    <linearGradient id='{$prefix}revhighlight-gradient' x1='0%' y1='100%' x2='0%' y2='0%'>
+      <stop offset='0%' stop-color='#ffffff'/>
+      <stop offset='50%' stop-color='{$color3}' stop-opacity='0'/>
+      <stop offset='100%' stop-color='{$color3}' stop-opacity='0'/>
+    </linearGradient>
+    <linearGradient id='{$prefix}corner-left-gradient' x1='0%' y1='0%' x2='100%' y2='100%'>
+      <stop offset='0%' stop-color='#000000'/>
+      <stop offset='100%' stop-color='{$color3}' stop-opacity='0'/>
+    </linearGradient>
+    <linearGradient id='{$prefix}corner-right-gradient' x1='100%' y1='0%' x2='0%' y2='100%'>
+      <stop offset='0%' stop-color='#000000'/>
+      <stop offset='100%' stop-color='{$color3}' stop-opacity='0'/>
+    </linearGradient>
+
+    <filter id='{$prefix}filter-blur' filterUnits='userSpaceOnUse' x='0' y='0' width='200' height='100'>
+      <feGaussianBlur in='SourceGraphic' stdDeviation='2'/>
+    </filter>
+    <filter id='{$prefix}drop-shadow' y='-5' height='100'>
+      <feColorMatrix type='matrix' in='SourceAlpha' result='inglow'
+	values='.5 .5 .5 1 0
+		.5 .5 .5 1 0
+		.5 .5 .5 1 0
+		0 0 0 1 0'/>
+      <feBlend mode='multiply' in2='SourceGraphic' in='inglow' result='innerglow'/>
+
+      <feGaussianBlur stdDeviation='4' in='SourceAlpha' result='shadow'/>
+      <feColorMatrix type='matrix' in='shadow' result='lightshadow'
+	values='.33 .33 .33 1 0
+		.33 .33 .33 1 0
+		.33 .33 .33 1 0
+		0 0 0 1 0'/>
+      <feOffset in='lightshadow' dx='0' dy='3' result='dropshadow'/>
+      <feMerge>
+	<feMergeNode in='dropshadow'/>
+	<feMergeNode in='innerglow'/>
+      </feMerge>
+    </filter>
+
+  </xsl:template>
+
+  <doc:template name="svg:aqua-button" xmlns="">
+    <refpurpose>Aqua-style Button</refpurpose>
+
+    <refdescription>
+      <para>Part of the mechanism to create an Aqua-style button.  Include a call to this template in your SVG document where you want a button to appear.  This template can be used many times in a single SVG document.  Use this in conjunction with <sgmltag>svg:aqua-button-defs</sgmltag>.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>prefix</term>
+          <listitem>
+            <para>A prefix to append to the identifiers used, so that they don't clash with other identifiers.  Default: "aqua-".</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns SVG result-tree-fragment.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name='svg:aqua-button'>
+    <xsl:param name="prefix" select='"aqua-"'/>
+
+    <g filter='url(#{$prefix}drop-shadow)'>
+      <clipPath id='{$prefix}main-shape'>
+        <path clip-rule='evenodd'
+                d="M50,90 C0,90 0,30 50,30 L150,30 C200,30 200,90 150,90 z" />
+      </clipPath>
+      <path fill="url(#{$prefix}gradient)" stroke="none"
+                d="M50,90 C0,90 0,30 50,30 L150,30 C200,30 200,90 150,90 z" />
+      <path clip-path='url(#{$prefix}main-shape)' fill='url(#{$prefix}corner-left-gradient)' stroke='none' filter='url(#{$prefix}filter-blur)'
+                d="M50,57 L13,57 A35,35 -90 0,1 50,30 z" />
+      <path clip-path='url(#{$prefix}main-shape)' fill='url(#{$prefix}corner-right-gradient)' stroke='none' filter='url(#{$prefix}filter-blur)'
+                d="M150,30 A35,35 90 0,1 190,57 L150,57 z" />
+      <path fill="url(#{$prefix}highlight-gradient)" stroke="none" stroke-width='1'
+                d="M50,65 C20,65 20,35 50,35 L150,35 C180,35 180,65 150,65 z" />
+      <path filter='url(#{$prefix}filter-blur)' fill="url(#{$prefix}revhighlight-gradient)" stroke="none"
+                d="M50,85 C10,85 10,35 50,35 L150,35 C190,35 190,85 150,85 z" />
+    </g>
+  </xsl:template>
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/uri.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/uri.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/keynote/xsltsl/uri.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,580 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet
+  version="1.0"
+  extension-element-prefixes="doc"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+  xmlns:doc="http://xsltsl.org/xsl/documentation/1.0"
+  xmlns:uri="http://xsltsl.org/uri"
+>
+
+  <doc:reference xmlns="">
+    <referenceinfo>
+      <releaseinfo role="meta">
+        $Id: uri.xsl 3991 2004-11-10 06:51:55Z balls $
+      </releaseinfo>
+      <author>
+        <surname>Diamond</surname>
+        <firstname>Jason</firstname>
+      </author>
+      <copyright>
+        <year>2001</year>
+        <holder>Jason Diamond</holder>
+      </copyright>
+    </referenceinfo>
+
+    <title>URI (Uniform Resource Identifier) Processing</title>
+
+    <partintro>
+      <section>
+        <title>Introduction</title>
+        <para>This module provides templates for processing URIs (Uniform Resource Identifers).</para>
+      </section>
+    </partintro>
+
+  </doc:reference>
+
+  <doc:template name="uri:is-absolute-uri" xmlns="">
+    <refpurpose>Determines if a URI is absolute or relative.</refpurpose>
+
+    <refdescription>
+      <para>Absolute URIs start with a scheme (like "http:" or "mailto:").</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>uri</term>
+          <listitem>
+            <para>An absolute or relative URI.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns 'true' if the URI is absolute or '' if it's not.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="uri:is-absolute-uri">
+    <xsl:param name="uri"/>
+
+    <xsl:if test="contains($uri, ':')">
+      <xsl:value-of select="true()"/>
+    </xsl:if>
+
+  </xsl:template>
+
+  <doc:template name="uri:get-uri-scheme" xmlns="">
+    <refpurpose>Gets the scheme part of a URI.</refpurpose>
+
+    <refdescription>
+      <para>The ':' is not part of the scheme.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>uri</term>
+          <listitem>
+            <para>An absolute or relative URI.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the scheme (without the ':') or '' if the URI is relative.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="uri:get-uri-scheme">
+    <xsl:param name="uri"/>
+    <xsl:if test="contains($uri, ':')">
+      <xsl:value-of select="substring-before($uri, ':')"/>
+    </xsl:if>
+  </xsl:template>
+
+  <doc:template name="uri:get-uri-authority" xmlns="">
+    <refpurpose>Gets the authority part of a URI.</refpurpose>
+
+    <refdescription>
+      <para>The authority usually specifies the host machine for a resource. It always follows '//' in a typical URI.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>uri</term>
+          <listitem>
+            <para>An absolute or relative URI.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the authority (without the '//') or '' if the URI has no authority.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="uri:get-uri-authority">
+    <xsl:param name="uri"/>
+
+    <xsl:variable name="a">
+      <xsl:choose>
+        <xsl:when test="contains($uri, ':')">
+          <xsl:if test="substring(substring-after($uri, ':'), 1, 2) = '//'">
+              <xsl:value-of select="substring(substring-after($uri, ':'), 3)"/>
+          </xsl:if>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="substring($uri, 1, 2) = '//'">
+            <xsl:value-of select="substring($uri, 3)"/>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:choose>
+      <xsl:when test="contains($a, '/')">
+        <xsl:value-of select="substring-before($a, '/')" />
+      </xsl:when>
+      <xsl:when test="contains($a, '?')">
+        <xsl:value-of select="substring-before($a, '?')" />
+      </xsl:when>
+      <xsl:when test="contains($a, '#')">
+        <xsl:value-of select="substring-before($a, '#')" />
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$a" />
+      </xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <doc:template name="uri:get-uri-path" xmlns="">
+    <refpurpose>Gets the path part of a URI.</refpurpose>
+
+    <refdescription>
+      <para>The path usually comes after the '/' in a URI.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>uri</term>
+          <listitem>
+            <para>An absolute or relative URI.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the path (with any leading '/') or '' if the URI has no path.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="uri:get-uri-path">
+    <xsl:param name="uri"/>
+
+    <xsl:variable name="p">
+      <xsl:choose>
+        <xsl:when test="contains($uri, '//')">
+          <xsl:if test="contains(substring-after($uri, '//'), '/')">
+            <xsl:value-of select="concat('/', substring-after(substring-after($uri, '//'), '/'))"/>
+          </xsl:if>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:choose>
+            <xsl:when test="contains($uri, ':')">
+              <xsl:value-of select="substring-after($uri, ':')"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="$uri"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:choose>
+      <xsl:when test="contains($p, '?')">
+        <xsl:value-of select="substring-before($p, '?')" />
+      </xsl:when>
+      <xsl:when test="contains($p, '#')">
+        <xsl:value-of select="substring-before($p, '#')" />
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$p" />
+      </xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <doc:template name="uri:get-uri-query" xmlns="">
+    <refpurpose>Gets the query part of a URI.</refpurpose>
+
+    <refdescription>
+      <para>The query comes after the '?' in a URI.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>uri</term>
+          <listitem>
+            <para>An absolute or relative URI.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the query (without the '?') or '' if the URI has no query.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="uri:get-uri-query">
+    <xsl:param name="uri"/>
+
+    <xsl:variable name="q" select="substring-after($uri, '?')"/>
+
+    <xsl:choose>
+      <xsl:when test="contains($q, '#')">
+        <xsl:value-of select="substring-before($q, '#')"/>
+      </xsl:when>
+      <xsl:otherwise><xsl:value-of select="$q"/></xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <doc:template name="uri:get-uri-fragment" xmlns="">
+    <refpurpose>Gets the fragment part of a URI.</refpurpose>
+
+    <refdescription>
+      <para>The fragment comes after the '#' in a URI.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>uri</term>
+          <listitem>
+            <para>An absolute or relative URI.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>Returns the fragment (without the '#') or '' if the URI has no fragment.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="uri:get-uri-fragment">
+    <xsl:param name="uri"/>
+
+    <xsl:value-of select="substring-after($uri, '#')"/>
+
+  </xsl:template>
+
+  <doc:template name="uri:resolve-uri" xmlns="">
+    <refpurpose>Resolves a URI reference against a base URI.</refpurpose>
+
+    <refdescription>
+      <para>This template follows the guidelines specified by <ulink url="ftp://ftp.isi.edu/in-notes/rfc2396.txt">RFC 2396</ulink>.</para>
+    </refdescription>
+
+    <refparameter>
+      <variablelist>
+        <varlistentry>
+          <term>reference</term>
+          <listitem>
+            <para>A (potentially relative) URI reference.</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>base</term>
+          <listitem>
+            <para>The base URI.</para>
+          </listitem>
+        </varlistentry>
+        <varlistentry>
+          <term>document</term>
+          <listitem>
+            <para>The URI of the current document. This defaults to the value of the base URI if not specified.</para>
+          </listitem>
+        </varlistentry>
+      </variablelist>
+    </refparameter>
+
+    <refreturn>
+      <para>The "combined" URI.</para>
+    </refreturn>
+  </doc:template>
+
+  <xsl:template name="uri:resolve-uri">
+    <xsl:param name="reference"/>
+    <xsl:param name="base"/>
+    <xsl:param name="document" select="$base"/>
+
+    <xsl:variable name="reference-scheme">
+      <xsl:call-template name="uri:get-uri-scheme">
+        <xsl:with-param name="uri" select="$reference"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="reference-authority">
+      <xsl:call-template name="uri:get-uri-authority">
+        <xsl:with-param name="uri" select="$reference"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="reference-path">
+      <xsl:call-template name="uri:get-uri-path">
+        <xsl:with-param name="uri" select="$reference"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="reference-query">
+      <xsl:call-template name="uri:get-uri-query">
+        <xsl:with-param name="uri" select="$reference"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="reference-fragment">
+      <xsl:call-template name="uri:get-uri-fragment">
+        <xsl:with-param name="uri" select="$reference"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:choose>
+
+      <xsl:when test="
+        not(string-length($reference-scheme)) and
+        not(string-length($reference-authority)) and
+        not(string-length($reference-path)) and
+        not(string-length($reference-query))"
+      >
+
+        <xsl:choose>
+          <xsl:when test="contains($document, '?')">
+            <xsl:value-of select="substring-before($document, '?')"/>
+          </xsl:when>
+          <xsl:when test="contains($document, '#')">
+            <xsl:value-of select="substring-before($document, '#')"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$document"/>
+          </xsl:otherwise>
+        </xsl:choose>
+
+        <xsl:if test="string-length($reference-fragment)">
+          <xsl:value-of select="concat('#', $reference-fragment)"/>
+        </xsl:if>
+
+      </xsl:when>
+
+      <xsl:when test="string-length($reference-scheme)">
+
+        <xsl:value-of select="$reference"/>
+
+      </xsl:when>
+
+      <xsl:otherwise>
+
+        <xsl:variable name="base-scheme">
+          <xsl:call-template name="uri:get-uri-scheme">
+            <xsl:with-param name="uri" select="$base"/>
+          </xsl:call-template>
+        </xsl:variable>
+
+        <xsl:variable name="base-authority">
+          <xsl:call-template name="uri:get-uri-authority">
+            <xsl:with-param name="uri" select="$base"/>
+          </xsl:call-template>
+        </xsl:variable>
+
+        <xsl:variable name="base-path">
+          <xsl:call-template name="uri:get-uri-path">
+            <xsl:with-param name="uri" select="$base"/>
+          </xsl:call-template>
+        </xsl:variable>
+
+        <xsl:variable name="base-query">
+          <xsl:call-template name="uri:get-uri-query">
+            <xsl:with-param name="uri" select="$base"/>
+          </xsl:call-template>
+        </xsl:variable>
+
+        <xsl:variable name="base-fragment">
+          <xsl:call-template name="uri:get-uri-fragment">
+            <xsl:with-param name="uri" select="$base"/>
+          </xsl:call-template>
+        </xsl:variable>
+
+        <xsl:variable name="result-authority">
+          <xsl:choose>
+            <xsl:when test="string-length($reference-authority)">
+              <xsl:value-of select="$reference-authority"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="$base-authority"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+
+        <xsl:variable name="result-path">
+          <xsl:choose>
+            <!-- don't normalize absolute paths -->
+            <xsl:when test="starts-with($reference-path, '/')">
+              <xsl:value-of select="$reference-path" />
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:call-template name="uri:normalize-path">
+                <xsl:with-param name="path">
+                  <xsl:if test="string-length($reference-authority) = 0 and substring($reference-path, 1, 1) != '/'">
+                    <xsl:call-template name="uri:get-path-without-file">
+                      <xsl:with-param name="path-with-file" select="$base-path"/>
+                    </xsl:call-template>
+                    <xsl:value-of select="'/'"/>
+                  </xsl:if>
+                  <xsl:value-of select="$reference-path"/>
+                </xsl:with-param>
+              </xsl:call-template>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+
+        <xsl:value-of select="concat($base-scheme, '://', $result-authority, $result-path)"/>
+
+        <xsl:if test="string-length($reference-query)">
+          <xsl:value-of select="concat('?', $reference-query)"/>
+        </xsl:if>
+
+        <xsl:if test="string-length($reference-fragment)">
+          <xsl:value-of select="concat('#', $reference-fragment)"/>
+        </xsl:if>
+
+      </xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <xsl:template name="uri:get-path-without-file">
+    <xsl:param name="path-with-file" />
+    <xsl:param name="path-without-file" />
+
+    <xsl:choose>
+      <xsl:when test="contains($path-with-file, '/')">
+        <xsl:call-template name="uri:get-path-without-file">
+          <xsl:with-param name="path-with-file" select="substring-after($path-with-file, '/')" />
+          <xsl:with-param name="path-without-file">
+            <xsl:choose>
+              <xsl:when test="$path-without-file">
+                <xsl:value-of select="concat($path-without-file, '/', substring-before($path-with-file, '/'))" />
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select="substring-before($path-with-file, '/')" />
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$path-without-file" />
+      </xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <xsl:template name="uri:normalize-path">
+    <xsl:param name="path"/>
+    <xsl:param name="result" select="''"/>
+
+    <xsl:choose>
+      <xsl:when test="string-length($path)">
+        <xsl:choose>
+          <xsl:when test="$path = '/'">
+            <xsl:value-of select="concat($result, '/')"/>
+          </xsl:when>
+          <xsl:when test="$path = '.'">
+            <xsl:value-of select="concat($result, '/')"/>
+          </xsl:when>
+          <xsl:when test="$path = '..'">
+            <xsl:call-template name="uri:get-path-without-file">
+              <xsl:with-param name="path-with-file" select="$result"/>
+            </xsl:call-template>
+            <xsl:value-of select="'/'"/>
+          </xsl:when>
+          <xsl:when test="contains($path, '/')">
+            <!-- the current segment -->
+            <xsl:variable name="s" select="substring-before($path, '/')"/>
+            <!-- the remaining path -->
+            <xsl:variable name="p">
+              <xsl:choose>
+                <xsl:when test="substring-after($path, '/') = ''">
+                  <xsl:value-of select="'/'"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="substring-after($path, '/')"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:variable>
+            <xsl:choose>
+              <xsl:when test="$s = ''">
+                <xsl:call-template name="uri:normalize-path">
+                  <xsl:with-param name="path" select="$p"/>
+                  <xsl:with-param name="result" select="$result"/>
+                </xsl:call-template>
+              </xsl:when>
+              <xsl:when test="$s = '.'">
+                <xsl:call-template name="uri:normalize-path">
+                  <xsl:with-param name="path" select="$p"/>
+                  <xsl:with-param name="result" select="$result"/>
+                </xsl:call-template>
+              </xsl:when>
+              <xsl:when test="$s = '..'">
+                <xsl:choose>
+                  <xsl:when test="string-length($result) and (substring($result, string-length($result) - 2) != '/..')">
+                    <xsl:call-template name="uri:normalize-path">
+                      <xsl:with-param name="path" select="$p"/>
+                      <xsl:with-param name="result">
+                        <xsl:call-template name="uri:get-path-without-file">
+                          <xsl:with-param name="path-with-file" select="$result"/>
+                        </xsl:call-template>
+                      </xsl:with-param>
+                    </xsl:call-template>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <xsl:call-template name="uri:normalize-path">
+                      <xsl:with-param name="path" select="$p"/>
+                      <xsl:with-param name="result" select="concat($result, '/..')"/>
+                    </xsl:call-template>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:call-template name="uri:normalize-path">
+                  <xsl:with-param name="path" select="$p"/>
+                  <xsl:with-param name="result" select="concat($result, '/', $s)"/>
+                </xsl:call-template>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="concat($result, '/', $path)"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$result"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/param.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/param.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/param.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This file is generated from param.xweb; do not edit this file! -->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" exclude-result-prefixes="src" version="1.0">
+
+<!-- ********************************************************************
+     $Id: param.xweb 6506 2007-01-18 02:09:30Z xmldoc $
+     ********************************************************************
+
+     This file is part of the DocBook Slides Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:param name="active.toc" select="0"/>
+<xsl:param name="body.bg.color" select="'#FFFFFF'"/>
+<xsl:param name="bullet.image" select="'toc/bullet.png'"/>
+<xsl:param name="css.stylesheet" select="'slides.css'"/>
+<xsl:param name="css.stylesheet.dir" select="''"/>
+<xsl:param name="dynamic.toc" select="0"/>
+<xsl:param name="foilgroup.toc" select="1"/>
+<xsl:param name="graphics.dir" select="''"/>
+<xsl:param name="hidetoc.image" select="'hidetoc.gif'"/>
+<xsl:param name="home.image" select="'active/nav-home.png'"/>
+<xsl:param name="keyboard.nav" select="1"/>
+<xsl:param name="minus.image" select="'toc/open.png'"/>
+<xsl:param name="multiframe.bottom.bgcolor" select="'white'"/>
+<xsl:param name="multiframe" select="0"/>
+<xsl:param name="multiframe.navigation.height" select="40"/>
+<xsl:param name="multiframe.top.bgcolor" select="'white'"/>
+<xsl:param name="nav.separator" select="1"/>
+<xsl:param name="next.image" select="'active/nav-next.png'"/>
+<xsl:param name="no.home.image" select="'inactive/nav-home.png'"/>
+<xsl:param name="no.next.image" select="'inactive/nav-next.png'"/>
+<xsl:param name="no.prev.image" select="'inactive/nav-prev.png'"/>
+<xsl:param name="no.toc.image" select="'inactive/nav-toc.png'"/>
+<xsl:param name="no.up.image" select="'inactive/nav-up.png'"/>
+<xsl:param name="output.indent" select="'no'"/>
+<xsl:param name="overlay" select="0"/>
+<xsl:param name="overlay.js" select="'overlay.js'"/>
+<xsl:param name="overlay.logo" select="'http://docbook.sourceforge.net/release/buttons/slides-1.png'"/>
+<xsl:param name="plus.image" select="'toc/closed.png'"/>
+<xsl:param name="prev.image" select="'active/nav-prev.png'"/>
+<xsl:param name="script.dir" select="''"/>
+<xsl:param name="show.foil.number" select="0"/>
+<xsl:param name="showtoc.image" select="'showtoc.gif'"/>
+<xsl:param name="slides.js" select="'slides.js'"/>
+<xsl:param name="text.home" select="'Home'"/>
+<xsl:param name="text.next" select="'Next'"/>
+<xsl:param name="text.prev" select="'Prev'"/>
+<xsl:param name="text.toc" select="'ToC'"/>
+<xsl:param name="text.up" select="'Up'"/>
+<xsl:param name="titlefoil.html" select="concat('index', $html.ext)"/>
+<xsl:param name="toc.bg.color" select="'#FFFFFF'"/>
+<xsl:param name="toc.hide.show" select="0"/>
+<xsl:param name="toc.html" select="concat('toc', $html.ext)"/>
+<xsl:param name="toc.image" select="'active/nav-toc.png'"/>
+<xsl:param name="toc.row.height" select="22"/>
+<xsl:param name="toc.width" select="250"/>
+<xsl:param name="ua.js" select="'ua.js'"/>
+<xsl:param name="up.image" select="'active/nav-up.png'"/>
+<xsl:param name="xbCollapsibleLists.js" select="'xbCollapsibleLists.js'"/>
+<xsl:param name="xbDOM.js" select="'xbDOM.js'"/>
+<xsl:param name="xbStyle.js" select="'xbStyle.js'"/>
+<xsl:param name="xbLibrary.js" select="'xbLibrary.js'"/>
+
+</xsl:stylesheet>
\ No newline at end of file

Added: trunk/docs/docbook/src/main/resources/slides/svg/default.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/svg/default.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/svg/default.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,686 @@
+<xsl:stylesheet version='1.0'
+  xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
+  xmlns:xlink="http://www.w3.org/1999/xlink"
+  xmlns:doc='http://nwalsh.com/xsl/documentation/1.0'
+  exclude-result-prefixes='doc'>
+
+  <xsl:import href='http://docbook.sourceforge.net/release/xsl/current/lib/lib.xsl'/>
+
+  <doc:article xmlns=''>
+    <articleinfo>
+      <title>SVG Slides</title>
+
+      <author>
+        <firstname>Steve</firstname>
+        <surname>Ball</surname>
+        <affiliation>
+          <orgname>Zveno</orgname>
+          <address>
+            <otheraddr>
+              <ulink url='http://www.zveno.com/'>zveno.com</ulink>
+            </otheraddr>
+          </address>
+        </affiliation>
+      </author>
+
+      <releaseinfo>$Id: default.xsl 3991 2004-11-10 06:51:55Z balls $</releaseinfo>
+
+      <copyright>
+        <year>2002</year>
+        <holder>Steve Ball, Zveno Pty Ltd</holder>
+      </copyright>
+
+      <legalnotice>
+        <para>Zveno Pty Ltd makes this software and associated documentation available free of charge for any purpose.  You may make copies of the software but you must include all of this notice on any copy.</para>
+        <para>Zveno Pty Ltd does not warrant that this software is error free or fit for any purpose.  Zveno Pty Ltd disclaims any liability for all claims, expenses, losses, damages and costs any user may incur as a result of using, copying or modifying the software.</para>
+      </legalnotice>
+    </articleinfo>
+  </doc:article>
+
+  <xsl:variable name='svg-public-id' select='"-//W3C//DTD SVG 20001102//EN"'/>
+  <xsl:variable name='svg-system-id' select='"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"'/>
+
+  <xsl:output method="xml" indent='yes' doctype-public='-//W3C//DTD SVG 20001102//EN' doctype-system='http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd' cdata-section-elements="script"/>
+
+  <xsl:strip-space elements='slides foil foilgroup'/>
+
+  <xsl:param name='css-stylesheet'>slides.css</xsl:param>
+  <xsl:param name='graphics.dir'>graphics</xsl:param>
+
+  <xsl:param name='toc.bg.color'>white</xsl:param>
+
+  <xsl:param name='font.family'>Arial</xsl:param>
+  <xsl:param name='bg.color'>white</xsl:param>
+  <xsl:param name='fg.color'>black</xsl:param>
+
+  <xsl:param name='foil.width' select='800'/>
+  <xsl:param name='foil.height' select='600'/>
+
+  <xsl:param name='toc.line.max' select='7'/>
+
+  <xsl:attribute-set name="svg.attributes">
+    <xsl:attribute name="xml:space">preserve</xsl:attribute>
+    <xsl:attribute name="width">100%</xsl:attribute>
+    <xsl:attribute name="height"><xsl:value-of select='$foil.height'/></xsl:attribute>
+    <xsl:attribute name="style">font-family: <xsl:value-of select='$font.family'/>; font-size: 18pt; fill: <xsl:value-of select='$fg.color'/>; stroke: <xsl:value-of select='$fg.color'/>; background-color: <xsl:value-of select='$bg.color'/></xsl:attribute>
+  </xsl:attribute-set>
+
+  <xsl:attribute-set name="text-title">
+    <xsl:attribute name="style">font-size: 24pt; font-weight: bold</xsl:attribute>
+  </xsl:attribute-set>
+  <xsl:attribute-set name="text-author">
+    <xsl:attribute name="style">font-size: 18pt</xsl:attribute>
+  </xsl:attribute-set>
+  <xsl:attribute-set name="text-main">
+    <xsl:attribute name="style">font-size: 18pt</xsl:attribute>
+  </xsl:attribute-set>
+
+<!-- ============================================================ -->
+
+<xsl:template name="graphics.dir">
+  <!-- danger will robinson: template shadows parameter -->
+  <xsl:variable name="source.graphics.dir">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'graphics-dir'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$source.graphics.dir != ''">
+      <xsl:value-of select="$source.graphics.dir"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$graphics.dir"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="css-stylesheet">
+  <!-- danger will robinson: template shadows parameter -->
+  <xsl:variable name="source.css-stylesheet">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'css-stylesheet'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$source.css-stylesheet != ''">
+      <xsl:value-of select="$source.css-stylesheet"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$css-stylesheet"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+  </xsl:template>
+
+  <xsl:template match="slides">
+    <xsl:if test='$css-stylesheet != ""'>
+      <xsl:processing-instruction name='xml-stylesheet'>
+        <xsl:text> href="</xsl:text>
+        <xsl:value-of select='$css-stylesheet'/>
+        <xsl:text>" type="text/css"</xsl:text>
+      </xsl:processing-instruction>
+    </xsl:if>
+
+    <svg xsl:use-attribute-sets="svg.attributes">
+      <title>
+        <xsl:value-of select="slidesinfo/title"/>
+      </title>
+
+      <defs>
+        <xsl:call-template name='svg.defs'/>
+      </defs>
+
+      <!-- Create the title foil -->
+      <g id='title' display='inline'>
+        <xsl:call-template name='render-background'>
+          <xsl:with-param name='mode'>title</xsl:with-param>
+          <xsl:with-param name='id' select='"title-bg"'/>
+        </xsl:call-template>
+
+        <text id='title-main' x='50%' y='33.3%' text-anchor='middle' xsl:use-attribute-sets='text-title'>
+          <xsl:value-of select='/slides/slidesinfo/title'/>
+        </text>
+        <g id='title-author'>
+          <xsl:apply-templates select='/slides/slidesinfo/author|/slides/slidesinfo/corpauthor'/>
+        </g>
+
+        <set attributeName='display' to='none' attributeType='CSS'>
+          <xsl:attribute name='begin'>
+            <xsl:text>title.click</xsl:text>
+          </xsl:attribute>
+          <xsl:attribute name='end'>
+            <xsl:text>foil1-previous-button.click; </xsl:text>
+            <xsl:value-of select='concat("foil", count(//foil), ".click")'/>
+            <xsl:for-each select='//foil'>
+              <xsl:value-of select='concat("; foil", count(preceding-sibling::foil|preceding::foil) + 1, "-title-button.click")'/>
+            </xsl:for-each>
+          </xsl:attribute>
+        </set>
+      </g>
+
+      <!-- Create the TOC -->
+      <xsl:if test='foilgroup'>
+        <g id='toc' display='none'>
+
+          <xsl:call-template name='render-background'>
+            <xsl:with-param name='mode'>toc</xsl:with-param>
+            <xsl:with-param name='id' select='"index-bg"'/>
+          </xsl:call-template>
+
+          <text id='toc-main' x='50%' y='50' text-anchor='middle' xsl:use-attribute-sets='text-title'>
+            <xsl:value-of select='/slides/slidesinfo/title'/>
+          </text>
+
+          <set attributeName='display' to='inline' attributeType='CSS'>
+            <xsl:attribute name='begin'>
+              <xsl:text>title.click</xsl:text>
+              <xsl:for-each select='//foil'>
+                <xsl:value-of select='concat("; foil", count(preceding-sibling::foil|preceding::foil) + 1, "-toc-button.click")'/>
+              </xsl:for-each>
+            </xsl:attribute>
+            <xsl:attribute name='end'>
+              <xsl:text>toc.click; toc-content.click</xsl:text>
+              <xsl:for-each select='//foilgroup'>
+                <xsl:value-of select='concat("; index-foilgroup-", count(preceding-sibling::foilgroup|preceding::foilgroup) + 1, ".click")'/>
+              </xsl:for-each>
+            </xsl:attribute>
+          </set>
+
+        </g>
+        <g id='toc-content' display='none'>
+          <xsl:call-template name='layout-toc-columns'>
+            <xsl:with-param name='nodes' select='foilgroup'/>
+            <xsl:with-param name='x'>
+              <xsl:choose>
+                <xsl:when test='count(foilgroup) > $toc.line.max'>
+                  <xsl:text>50</xsl:text>
+                </xsl:when>
+                <xsl:otherwise>75</xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+          </xsl:call-template>
+          <set attributeName='display' to='inline' attributeType='CSS'>
+            <xsl:attribute name='begin'>
+              <xsl:text>title.click</xsl:text>
+              <xsl:for-each select='//foil'>
+                <xsl:value-of select='concat("; foil", count(preceding-sibling::foil|preceding::foil) + 1, "-toc-button.click")'/>
+              </xsl:for-each>
+            </xsl:attribute>
+            <xsl:attribute name='end'>
+              <xsl:text>toc.click; toc-content.click</xsl:text>
+              <xsl:for-each select='//foilgroup'>
+                <xsl:value-of select='concat("; index-foilgroup-", count(preceding-sibling::foilgroup|preceding::foilgroup) + 1, ".click")'/>
+              </xsl:for-each>
+            </xsl:attribute>
+          </set>
+        </g>
+      </xsl:if>
+
+      <xsl:apply-templates select='*[not(self::slidesinfo)]'/>
+
+    </svg>
+  </xsl:template>
+
+  <!-- The application is expected to override these templates -->
+  <xsl:template name='svg.defs'/>
+  <xsl:template name='render-background'>
+    <!-- mode lets us know what kind of foil is being produced -->
+    <xsl:param name='mode'/>
+
+    <!-- id is a required parameter to include in the generated graphics.
+       - This is important for slide transitions.
+      -->
+    <xsl:param name='id'/>
+
+    <!-- This background covers most of the foil area,
+       - but leaves a space in the lower left corner for the
+       - controls
+      -->
+
+    <xsl:choose>
+      <xsl:when test='$mode = "toc"'>
+        <g id='{$id}'>
+          <!--
+          <rect width='{2 * $foil.width}' height='75' style='fill: {$toc.bg.color}; stroke: none'/>
+-->
+          <rect width="{2 * $foil.width}" height="{$foil.height - 200}" style="fill: {$toc.bg.color}; stroke: none"/>
+          <rect transform='translate(100 {$foil.height - 200})' width="{2 * $foil.width}" height="200" style="fill: {$toc.bg.color}; stroke: none"/>
+        </g>
+      </xsl:when>
+      <xsl:otherwise>
+        <g id="{$id}">
+          <rect width="{2 * $foil.width}" height="{$foil.height - 200}" style="fill: {$bg.color}; stroke: none"/>
+          <rect transform='translate(100 {$foil.height - 200})' width="{2 * $foil.width}" height="200" style="fill: {$bg.color}; stroke: none"/>
+        </g>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='author'>
+    <text x='50%' y='60%' text-anchor='middle' xsl:use-attribute-sets='text-author'>
+      <tspan>
+        <xsl:apply-templates select='firstname'/>
+      </tspan>
+      <tspan>
+        <xsl:text> </xsl:text>
+      </tspan>
+      <tspan>
+        <xsl:apply-templates select='surname'/>
+      </tspan>
+      <xsl:if test='affiliation'>
+        <tspan x='0' y='20'>
+          <xsl:apply-templates select='affiliation'/>
+        </tspan>
+      </xsl:if>
+    </text>
+  </xsl:template>
+  <xsl:template match='corpauthor'>
+    <text x='50%' y='70%' text-anchor='middle' xsl:use-attribute-sets='text-author'>
+      <xsl:apply-templates/>
+    </text>
+  </xsl:template>
+
+  <xsl:template name='layout-toc-columns'>
+    <xsl:param name='nodes'/>
+    <xsl:param name='entries-are-links' select='"yes"'/>
+    <xsl:param name='highlight'/>
+    <xsl:param name='x' select='50'/>
+
+    <xsl:choose>
+      <xsl:when test='not($nodes)'/>
+
+      <xsl:otherwise>
+        <xsl:for-each select='$nodes[position() &lt;= $toc.line.max]'>
+          <g>
+            <xsl:if test='$entries-are-links = "yes"'>
+              <xsl:attribute name='id'>
+                <xsl:text>index-foilgroup-</xsl:text>
+                <xsl:value-of select='count(preceding-sibling::foilgroup|preceding::foilgroup) + 1'/>
+              </xsl:attribute>
+            </xsl:if>
+            <text x='{$x}' y='{position() * 35 + 75}' xsl:use-attribute-sets='text-main'>
+              <xsl:if test='$highlight and generate-id($highlight) = generate-id(.)'>
+                <xsl:attribute name='fill'>#ff8000</xsl:attribute>
+                <xsl:attribute name='stroke'>#ff8000</xsl:attribute>
+              </xsl:if>
+              <xsl:value-of select='title'/>
+            </text>
+            <xsl:if test='$entries-are-links = "yes"'>
+              <set attributeName='fill' attributeType='CSS' to='#ff0033' begin='mouseover' end='mouseout'/>
+              <set attributeName='stroke' attributeType='CSS' to='#ff0033' begin='mouseover' end='mouseout'/>
+            </xsl:if>
+          </g>
+        </xsl:for-each>
+
+        <xsl:call-template name='layout-toc-columns'>
+          <xsl:with-param name='nodes' select='$nodes[position() > $toc.line.max]'/>
+          <xsl:with-param name='entries-are-links' select='$entries-are-links'/>
+          <xsl:with-param name='highlight' select='$highlight'/>
+          <xsl:with-param name='x' select='$x + 200'/>
+        </xsl:call-template>
+
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template match='foilgroup'>
+    <xsl:variable name='fg-num' select='count(preceding-sibling::foilgroup) + 1'/>
+
+    <!-- Add a separator foil to indicate progress -->
+    <g id='toc-sep-{$fg-num}' display='none'>
+      <xsl:call-template name='render-background'>
+        <xsl:with-param name='mode'>toc</xsl:with-param>
+        <xsl:with-param name='id' select='concat("toc-sep-", $fg-num, "-bg")'/>
+      </xsl:call-template>
+
+      <text id='toc-sep-{$fg-num}-main' x='50%' y='50' text-anchor='middle' xsl:use-attribute-sets='text-title'>
+        <xsl:value-of select='/slides/slidesinfo/title'/>
+      </text>
+
+      <set attributeName='display' to='inline' attributeType='CSS' end='toc-sep-{$fg-num}.click; toc-sep-{$fg-num}-content.click'>
+        <xsl:attribute name='begin'>
+          <xsl:choose>
+            <xsl:when test='$fg-num = 1'>
+              <xsl:text>index-foilgroup-1.click; toc.click; toc-content.click</xsl:text>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:text>index-foilgroup-</xsl:text>
+              <xsl:value-of select='count(preceding-sibling::foilgroup) + 1'/>
+              <xsl:text>.click; foil</xsl:text>
+              <xsl:value-of select='count(preceding::foil)'/>
+              <xsl:text>.click</xsl:text>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:attribute>
+      </set>
+
+    </g>
+    <g id='toc-sep-{$fg-num}-content' display='none'>
+      <xsl:call-template name='layout-toc-columns'>
+        <xsl:with-param name='nodes' select='/slides/foilgroup'/>
+        <xsl:with-param name='entries-are-links' select='no'/>
+        <xsl:with-param name='highlight' select='.'/>
+        <xsl:with-param name='x'>
+          <xsl:choose>
+            <xsl:when test='count(/slides/foilgroup) > $toc.line.max'>
+              <xsl:text>50</xsl:text>
+            </xsl:when>
+            <xsl:otherwise>75</xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+      <set attributeName='display' to='inline' attributeType='CSS' end='toc-sep-{$fg-num}.click; toc-sep-{$fg-num}-content.click'>
+        <xsl:attribute name='begin'>
+          <xsl:choose>
+            <xsl:when test='$fg-num = 1'>
+              <xsl:text>index-foilgroup-1.click; toc.click; toc-content.click</xsl:text>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:text>index-foilgroup-</xsl:text>
+              <xsl:value-of select='count(preceding-sibling::foilgroup) + 1'/>
+              <xsl:text>.click; foil</xsl:text>
+              <xsl:value-of select='count(preceding::foil)'/>
+              <xsl:text>.click</xsl:text>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:attribute>
+      </set>
+    </g>
+
+    <!-- still want TOC and Previous buttons -->
+
+    <xsl:apply-templates select='foil'/>
+  </xsl:template>
+
+  <xsl:template match='foil'>
+    <xsl:variable name='number' select='count(preceding-sibling::foil|preceding::foil) + 1'/>
+
+    <g id='foil{$number}' display='none'>
+      <xsl:call-template name='render-background'>
+        <xsl:with-param name='id' select='concat("foil", $number, "-bg")'/>
+      </xsl:call-template>
+
+      <text id='foil{$number}-title' transform='translate(50 50)'>
+        <tspan id='foil{$number}-title-foilgroup' x='0' y='0' xsl:use-attribute-sets='text-title'>
+          <xsl:choose>
+            <xsl:when test='parent::foilgroup'>
+              <xsl:value-of select='../title'/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select='/slides/slidesinfo/title'/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </tspan>
+        <tspan> - </tspan>
+        <tspan id='foil{$number}-title-foil' xsl:use-attribute-sets='text-title'>
+          <xsl:value-of select='title'/>
+        </tspan>
+      </text>
+
+      <g transform='translate(50 100)'>
+        <xsl:apply-templates select='*[not(self::title)][1]'/>
+      </g>
+
+      <xsl:call-template name='foil-events'>
+        <xsl:with-param name='number' select='$number'/>
+      </xsl:call-template>
+
+    </g>
+
+    <!-- Add previous and TOC buttons 
+       - (no need for next, mouse click does that)
+      -->
+
+    <g id='foil{$number}-toc-button' transform='translate(20 {$foil.height - 180})' display='none'>
+      <g style='opacity: 0'>
+        <xsl:call-template name='toc-button'/>
+        <text x='25' y='28'>TOC</text>
+        <set attributeName='opacity' to='1' attributeType='CSS' begin='mouseover' end='mouseout'/>
+      </g>
+
+      <xsl:call-template name='foil-events'>
+        <xsl:with-param name='number' select='$number'/>
+      </xsl:call-template>
+
+    </g>
+    <xsl:if test='$number != 1'>
+      <g id='foil{$number}-previous-button' transform='translate(20 {$foil.height - 150})' display='none'>
+        <g style='opacity: 0'>
+          <xsl:call-template name='previous-button'/>
+          <text x='17' y='28'>Previous</text>
+          <set attributeName='opacity' to='1' attributeType='CSS' begin='mouseover' end='mouseout'/>
+        </g>
+
+        <xsl:call-template name='foil-events'>
+          <xsl:with-param name='number' select='$number'/>
+        </xsl:call-template>
+
+      </g>
+    </xsl:if>
+
+  </xsl:template>
+
+  <!-- The application may override these -->
+  <xsl:template name='toc-button'/>
+  <xsl:template name='previous-button'/>
+
+  <xsl:template match='foilinfo|foil/title|foil/subtitle|foil/titleabbrev'/>
+
+  <xsl:template name='foil-events'>
+    <xsl:param name='number' select='0'/>
+    <xsl:param name='attribute' select='"display"'/>
+    <xsl:param name='onvalue' select='"inline"'/>
+    <xsl:param name='offvalue' select='"none"'/>
+
+    <!-- Must account for first and last foils and also foilgroup separators:
+       - On first foil, previous goes back to main TOC,
+       - If no TOC foil, then go to title foil instead.
+       - First foil in foilgroup follows group separator.
+       - Last foil in foilgroup goes to next group separator,
+       - except last foil in last group goes to main TOC.
+      -->
+
+    <xsl:choose>
+      <xsl:when test='$number = 1'>
+        <!-- This is the very first foil -->
+        <set attributeName='{$attribute}' to='{$onvalue}' attributeType='CSS'
+            end='foil{$number}.click; foil{$number}-toc-button.click'>
+          <xsl:attribute name='begin'>
+            <xsl:choose>
+              <xsl:when test='parent::foilgroup'>
+                <xsl:value-of select='concat("toc-sep-", count(preceding::foilgroup) + 1, ".click")'/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:text>title.click</xsl:text>
+              </xsl:otherwise>
+            </xsl:choose>
+            <xsl:if test='parent::foilgroup and not(preceding-sibling::foil)'>
+              <xsl:value-of select='concat("; index-foilgroup-", count(preceding::foilgroup) + 1, ".click")'/>
+            </xsl:if>
+            <xsl:value-of select='concat("; foil", $number + 1, "-previous-button.click")'/>
+          </xsl:attribute>
+        </set>
+      </xsl:when>
+      <xsl:when test='count(following-sibling::foil|following::foil) = 0'>
+        <!-- This is the very last foil -->
+        <set attributeName='{$attribute}' to='{$onvalue}' attributeType='CSS'
+            end='foil{$number}.click; foil{$number}-toc-button.click; foil{$number}-previous-button.click'>
+          <xsl:attribute name='begin'>
+            <xsl:choose>
+              <xsl:when test='parent::foilgroup and not(preceding-sibling::foil)'>
+                <xsl:value-of select='concat("; index-foilgroup-", count(preceding::foilgroup) + 1, ".click; toc-sep-", count(preceding::foilgroup) + 1, ".click")'/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select='concat("foil", $number - 1, ".click")'/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+        </set>
+      </xsl:when>
+      <xsl:otherwise>
+        <set attributeName='{$attribute}' to='{$onvalue}' attributeType='CSS'
+            end='foil{$number}.click; foil{$number}-toc-button.click; foil{$number}-previous-button.click'>
+          <xsl:attribute name='begin'>
+            <xsl:value-of select='concat("foil", $number + 1, "-previous-button.click")'/>
+            <xsl:choose>
+              <xsl:when test='parent::foilgroup and not(preceding-sibling::foil)'>
+                <xsl:value-of select='concat("; index-foilgroup-", count(preceding::foilgroup) + 1, ".click; toc-sep-", count(preceding::foilgroup) + 1, ".click")'/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select='concat("; foil", $number - 1, ".click")'/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+        </set>
+      </xsl:otherwise>
+    </xsl:choose>
+
+  </xsl:template>
+
+  <xsl:template match="para">
+    <xsl:variable name='depth'>
+      <xsl:choose>
+        <xsl:when test='@depth'>
+          <xsl:value-of select='@depth'/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>1</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <g transform='translate(0 30)'>
+      <xsl:if test='not(@style)'>
+        <g transform='translate({25 * ($depth - 1)} 0)'>
+          <xsl:call-template name='bullet'/>
+        </g>
+      </xsl:if>
+
+      <text y="10">
+        <xsl:attribute name='x'>
+          <xsl:value-of select='25 * $depth'/>
+        </xsl:attribute>
+        <xsl:if test='@style'>
+          <xsl:attribute name='style'>
+            <xsl:value-of select='@style'/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:apply-templates/>
+      </text>
+
+      <xsl:apply-templates select='following-sibling::*[1]'/>
+    </g>
+  </xsl:template>
+
+  <xsl:template match='text()'>
+    <tspan>
+      <xsl:value-of select='.'/>
+    </tspan>
+  </xsl:template>
+
+  <xsl:template match='emphasis'>
+    <xsl:variable name='style'>
+      <xsl:choose>
+        <xsl:when test='@role = "bold"'>
+          <xsl:text>font-weight: bold</xsl:text>
+        </xsl:when>
+        <xsl:when test='@role = "italic"'>
+          <xsl:text>font-style: italic</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>font-style: italic</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <tspan style='{$style}'>
+      <xsl:value-of select='.'/>
+    </tspan>
+  </xsl:template>
+
+  <xsl:template match='listitem'>
+    <xsl:call-template name="bullet"/>
+    <g transform='translate(20 0)'>
+      <xsl:apply-templates/>
+    </g>
+  </xsl:template>
+
+  <xsl:template name="bullet">
+    <xsl:choose>
+      <xsl:when test="@depth = 1 or count(ancestor-or-self::listitem) = 1">
+        <xsl:call-template name="large-filled-circle"/>
+      </xsl:when>
+      <xsl:when test="@depth = 2 or count(ancestor-or-self::listitem) = 2">
+        <xsl:call-template name="small-open-circle"/>
+      </xsl:when>
+      <xsl:when test="@depth = 3 or count(ancestor-or-self::listitem) = 3">
+        <xsl:call-template name="small-filled-circle"/>
+      </xsl:when>
+      <xsl:when test="@depth = 4 or count(ancestor-or-self::listitem) = 4">
+        <xsl:call-template name="closed-toggle"/>
+      </xsl:when>
+      <xsl:when test="@depth = 5 or count(ancestor-or-self::listitem) = 5">
+        <xsl:call-template name="large-filled-circle"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="small-open-box"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+
+  <xsl:template name="closed-toggle">
+    <polyline fill="white" stroke="black" stroke-width="1" points="0 0 10 5 0 10 0 0"/>
+  </xsl:template>
+  <xsl:template name="large-filled-circle">
+    <circle fill="black" cx="10" cy="6" r="5"/>
+  </xsl:template>
+  <xsl:template name="small-filled-circle">
+    <circle fill="black" cx="10" cy="6" r="2.5"/>
+  </xsl:template>
+  <xsl:template name="small-open-circle">
+    <circle fill="none" stroke="black" stroke-width="1" cx="10" cy="6" r="2.5"/>
+  </xsl:template>
+  <xsl:template name="small-open-box">
+    <rect fill="none" stroke="black" stroke-width="1" x="5" y="5" width="5" height="5"/>
+  </xsl:template>
+
+  <xsl:template match="subject">
+    <tspan style="font-weight: bold">
+      <xsl:apply-templates/>
+    </tspan>
+  </xsl:template>
+
+  <xsl:template match="informalexample">
+  </xsl:template>
+  <xsl:template match="programlisting">
+    <!-- Output lines verbatim -->
+  </xsl:template>
+
+  <xsl:template match="imageobject|mediaobject">
+    <xsl:apply-templates/>
+  </xsl:template>
+  <xsl:template match='textobject|videoobject'/>
+  <xsl:template match='imagedata'>
+    <g transform='translate(0 30)'>
+      <image xlink:href='{@fileref}' x='0' y='0' width='600' height='400'/>
+    </g>
+  </xsl:template>
+
+  <xsl:template match='ulink'>
+    <a xlink:href='{@url}'>
+      <xsl:apply-templates/>
+    </a>
+  </xsl:template>
+
+</xsl:stylesheet>
+

Added: trunk/docs/docbook/src/main/resources/slides/xhtml/css.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/xhtml/css.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/xhtml/css.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ====================================================================== -->
+
+<xsl:template name="css-file">
+  <xsl:param name="css" select="'slides.css'"/>
+
+  <xsl:variable name="source.css.dir">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'css-stylesheet-dir'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$source.css.dir != ''">
+      <xsl:value-of select="$source.css.dir"/>
+      <xsl:text>/</xsl:text>
+    </xsl:when>
+    <xsl:when test="$css.stylesheet.dir != ''">
+      <xsl:value-of select="$css.stylesheet.dir"/>
+      <xsl:text>/</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>http://docbook.sourceforge.net/release/slides/browser/</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:value-of select="$css"/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- active navigation images -->
+
+<xsl:template name="css.stylesheet">
+  <xsl:param name="css" select="$css.stylesheet"/>
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="css-file">
+    <xsl:with-param name="css" select="$css"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/xhtml/default.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/xhtml/default.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/xhtml/default.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,246 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:output method="xml" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+
+<xsl:param name="css.stylesheet" select="'slides-default.css'"/>
+
+<xsl:template name="top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
+      <tr>
+        <xsl:call-template name="generate.toc.hide.show"/>
+        <td align="left" width="10%">
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$prev" mode="filename"/>
+                </xsl:attribute>
+
+                <img alt="Prev" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>&#160;</xsl:otherwise>
+          </xsl:choose>
+        </td>
+        <td align="center" width="80%">
+          <xsl:variable name="prestitle">
+            <xsl:value-of select="(/slides/slidesinfo/title                                   |/slides/title)[1]"/>
+          </xsl:variable>
+
+          <span class="navheader">
+            <xsl:value-of select="$prestitle"/>
+          </span>
+        </td>
+        <td align="right" width="10%">
+          <xsl:choose>
+            <xsl:when test="$next">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$next" mode="filename"/>
+                </xsl:attribute>
+
+                <img alt="Next" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="next.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>&#160;</xsl:otherwise>
+          </xsl:choose>
+        </td>
+      </tr>
+    </table>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<xsl:template name="bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navfoot">
+    <hr class="bottom-nav-sep"/>
+    <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
+      <tr>
+        <td align="left" width="80%" valign="top">
+          <span class="navfooter">
+            <xsl:apply-templates select="/slides/slidesinfo/copyright" mode="slide.footer.mode"/>
+          </span>
+        </td>
+        <td align="right" width="20%" valign="top">
+          <span class="index">
+            <xsl:value-of select="count(preceding::foil)                                   + count(preceding::foilgroup)                                   + count(ancestor::foilgroup)                                   + 1"/>
+          </span>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="titlepage-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
+      <tr>
+        <td align="left" width="10%">
+          <span class="toclink">
+            <a href="{$toc.html}">
+              <xsl:call-template name="gentext">
+                <xsl:with-param name="key">TableofContents</xsl:with-param>
+              </xsl:call-template>
+            </a>
+          </span>
+        </td>
+        <td align="center" width="80%">
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td align="right" width="10%">
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template name="titlepage-bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navfoot">
+    <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="Navigation">
+      <tr>
+        <td align="left" width="80%" valign="top">
+          <span class="navfooter">
+            <xsl:apply-templates select="/slides/slidesinfo/copyright" mode="slide.footer.mode"/>
+          </span>
+        </td>
+        <td align="right" width="20%" valign="top">
+          <a>
+            <xsl:attribute name="href">
+              <xsl:apply-templates select="(following::foilgroup|following::foil)[1]" mode="filename"/>
+            </xsl:attribute>
+            <img alt="Next" border="0">
+              <xsl:attribute name="src">
+                <xsl:call-template name="next.image"/>
+              </xsl:attribute>
+            </img>
+          </a>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template name="toc-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
+      <tr>
+        <td align="left">
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template name="toc-bottom-nav">
+  <div class="navfoot">
+    <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="Navigation">
+      <tr>
+        <td align="left" width="80%" valign="top">
+          <span class="navfooter">
+            <xsl:apply-templates select="/slides/slidesinfo/copyright" mode="slide.footer.mode"/>
+          </span>
+        </td>
+        <td align="right" width="20%" valign="top">
+          <a href="{$titlefoil.html}">
+            <img alt="Next" border="0">
+              <xsl:attribute name="src">
+                <xsl:call-template name="next.image"/>
+              </xsl:attribute>
+            </img>
+          </a>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="generate.toc.hide.show">
+  <xsl:if test="$toc.hide.show != 0">
+    <td>
+      <img hspace="4" alt="Hide/Show TOC">
+        <xsl:attribute name="src">
+          <xsl:call-template name="hidetoc.image"/>
+	</xsl:attribute>
+	<xsl:attribute name="onClick">
+          <xsl:text>toggletoc(this,</xsl:text>
+          <xsl:value-of select="$toc.width"/>
+          <xsl:text>,'</xsl:text>
+          <xsl:call-template name="hidetoc.image"/>
+          <xsl:text>','</xsl:text>
+          <xsl:call-template name="showtoc.image"/>
+          <xsl:text>');</xsl:text>
+        </xsl:attribute>
+      </img>
+    </td>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="@*" mode="copy">
+  <xsl:attribute name="{local-name(.)}">
+    <xsl:value-of select="."/>
+  </xsl:attribute>
+</xsl:template>
+
+<xsl:template xmlns:html="http://www.w3.org/1999/xhtml" match="html:*">
+  <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:apply-templates select="@*" mode="copy"/>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/xhtml/flat.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/xhtml/flat.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/xhtml/flat.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:template match="/">
+  <html>
+    <head>
+      <title><xsl:value-of select="/slides/slidesinfo/title"/></title>
+    </head>
+    <body>
+      <xsl:apply-templates/>
+    </body>
+  </html>
+</xsl:template>
+
+<xsl:template match="slidesinfo">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <div id="{$id}" class="titlepage">
+    <div class="titlepage-body">
+      <xsl:call-template name="titlepage-body"/>
+    </div>
+  </div>
+</xsl:template>
+
+<xsl:template match="slides" mode="toc">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="foil">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <div class="{name(.)}" id="{$id}">
+    <div class="foil-body">
+      <xsl:call-template name="foil-body"/>
+    </div>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="foilgroup">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <div class="{name(.)}" id="{$id}">
+    <div class="foilgroup-body">
+      <xsl:call-template name="foilgroup-body"/>
+    </div>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+
+  <xsl:apply-templates select="foil"/>
+</xsl:template>
+
+<xsl:template match="author" mode="titlepage.mode">
+  <div class="{name(.)}">
+    <h2 class="{name(.)}"><xsl:call-template name="person.name"/></h2>
+    <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
+    <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+  </div>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/xhtml/frames.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/xhtml/frames.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/xhtml/frames.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1982 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:param name="titlefoil.html" select="concat('titlepg', $html.ext)"/>
+
+<xsl:param name="css.stylesheet" select="'slides-frames.css'"/>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="doctype-public">
+  <xsl:param name="frameset" select="0"/> 
+  <xsl:choose>
+    <xsl:when test="$stylesheet.result.type='html'"> 
+      <xsl:choose>
+        <!-- Assume when chunker.output.doctype-public is set the user
+             wants to have doctypes written out. If frameset is set
+             then overide with a frameset public identifier. -->
+        <xsl:when test="$chunker.output.doctype-public != '' and $frameset != 0"> 
+          <xsl:text>-//W3C//DTD HTML 4.01 Frameset//EN</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$chunker.output.doctype-public"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$stylesheet.result.type='xhtml'"> 
+      <xsl:choose>
+        <xsl:when test="$frameset != 0">
+          <xsl:text>-//W3C//DTD XHTML 1.0 Frameset//EN</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>-//W3C//DTD XHTML 1.0 Transitional//EN</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="doctype-system">
+  <xsl:param name="frameset" select="0"/>
+  <xsl:choose>
+    <xsl:when test="$stylesheet.result.type='html'"> 
+      <xsl:choose>
+        <!-- Assume when chunker.output.doctype-system is set the user
+             wants to have doctypes written out. If frameset is set
+             then overide with a frameset system identifier. -->
+        <xsl:when test="$chunker.output.doctype-system != '' and $frameset != 0">
+          <xsl:text>http://www.w3.org/TR/html4/loose.dtd</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$chunker.output.doctype-system"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$stylesheet.result.type='xhtml'"> 
+      <xsl:choose>
+        <xsl:when test="$frameset != 0">
+          <xsl:text>http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="slides">
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="(slidesinfo/titleabbrev|titleabbrev)">
+        <xsl:value-of select="(slidesinfo/titleabbrev|titleabbrev)[1]"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="(slidesinfo/title|title)[1]"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:variable name="toc.rows" select="1+count(//foilgroup)+count(//foil)"/>
+  <xsl:variable name="toc.height" select="$toc.rows * $toc.row.height"/>
+
+  <xsl:if test="$overlay != 0 and $multiframe != 0">
+    <xsl:message terminate="yes">
+      <xsl:text>Multiframe and overlay are mutually exclusive.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="doctype-public">
+    <xsl:call-template name="doctype-public">
+      <xsl:with-param name="frameset" select="1"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="doctype-system">
+    <xsl:call-template name="doctype-system">
+      <xsl:with-param name="frameset" select="1"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="doctype-public" select="$doctype-public"/>
+    <xsl:with-param name="doctype-system" select="$doctype-system"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'frames', $html.ext)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="$title"/></title>
+        </head>
+        <frameset cols="{$toc.width},*" id="topframe">
+          <frame src="{concat('toc', $html.ext)}" name="toc" id="toc" frameborder="1"/>
+          <frame src="{$titlefoil.html}" name="foil" id="foil"/>
+          <noframes>
+            <body class="frameset">
+              <xsl:call-template name="body.attributes"/>
+              <a href="{concat('titleframe', $html.ext)}">
+                <xsl:text>Your browser doesn't support frames.</xsl:text>
+              </a>
+            </body>
+          </noframes>
+        </frameset>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'toc',$html.ext)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>TOC - <xsl:value-of select="$title"/></title>
+          <xsl:call-template name="system.head.content"/>
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0                         or $dynamic.toc != 0 or $active.toc != 0                         or $overlay.logo != ''">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0' or $overlay.logo != ''">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$dynamic.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+function init() {
+  var width = </xsl:text>
+<xsl:value-of select="$toc.width"/>
+<xsl:text>, height = </xsl:text>
+<xsl:value-of select="$toc.row.height"/>
+<xsl:text>;
+  myList = new List(true, width, height, "</xsl:text>
+<xsl:value-of select="$toc.bg.color"/>
+<xsl:text>","</xsl:text>
+<xsl:call-template name="plus.image"/>
+<xsl:text>","</xsl:text>
+<xsl:call-template name="minus.image"/>
+<xsl:text>");
+</xsl:text>
+<xsl:apply-templates mode="ns-toc"/>
+              <xsl:text disable-output-escaping="yes">
+  myList.build(0,0);
+}
+                // --&gt;
+</xsl:text>
+            </script>
+            <style type="text/css">
+              <xsl:text>#spacer { position: absolute; height: </xsl:text>
+              <xsl:value-of select="$toc.height"/>
+  <xsl:text>; }
+</xsl:text>
+            </style>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body class="toc">
+          <xsl:call-template name="body.attributes"/>
+
+          <xsl:if test="$overlay.logo != ''">
+            <xsl:attribute name="onload">
+              <xsl:text>overlaySetup('ll');</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <xsl:if test="$dynamic.toc != 0">
+            <xsl:attribute name="onload">
+              <xsl:text>init(</xsl:text>
+              <xsl:value-of select="$overlay"/>
+              <xsl:text>);</xsl:text>
+              <xsl:if test="$overlay.logo != ''">
+                <xsl:text>overlaySetup('ll');</xsl:text>
+              </xsl:if>
+            </xsl:attribute>
+          </xsl:if>
+
+          <xsl:choose>
+            <xsl:when test="$dynamic.toc = 0">
+              <div class="toc">
+                <xsl:apply-templates mode="toc"/>
+              </div>
+            </xsl:when>
+            <xsl:otherwise>
+              <div id="spacer"/>
+            </xsl:otherwise>
+          </xsl:choose>
+
+          <xsl:if test="$overlay.logo != ''">
+            <div style="position: absolute; visibility: visible;" id="overlayDiv">
+              <img src="{$overlay.logo}" alt="logo" vspace="20"/>
+            </div>
+          </xsl:if>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="slidesinfo">
+  <xsl:variable name="next" select="(following::foil                                     |following::foilgroup)[1]"/>
+
+  <xsl:variable name="doctype-public">
+    <xsl:call-template name="doctype-public">
+      <xsl:with-param name="frameset" select="$multiframe"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="doctype-system">
+    <xsl:call-template name="doctype-system">
+      <xsl:with-param name="frameset" select="$multiframe"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="doctype-public" select="$doctype-public"/>
+    <xsl:with-param name="doctype-system" select="$doctype-system"/>
+    <xsl:with-param name="filename" select="concat($base.dir,$titlefoil.html)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="title"/></title>
+
+          <xsl:call-template name="system.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0                         or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+        </head>
+        <xsl:choose>
+          <xsl:when test="$multiframe != 0">
+            <xsl:apply-templates select="." mode="multiframe"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="." mode="singleframe"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:if test="$multiframe != 0">
+    <xsl:apply-templates select="." mode="multiframe-top"/>
+    <xsl:apply-templates select="." mode="multiframe-body"/>
+    <xsl:apply-templates select="." mode="multiframe-bottom"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="slidesinfo" mode="multiframe">
+  <xsl:variable name="thisfoil">
+    <xsl:value-of select="$titlefoil.html"/>
+  </xsl:variable>
+
+  <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
+    <xsl:attribute name="onload">
+      <xsl:text>javascript:body.focus()</xsl:text>
+      </xsl:attribute>
+    <frame src="top-{$thisfoil}" name="top" id="top" marginheight="0" frameborder="0">
+    </frame>
+    <frame src="body-{$thisfoil}" name="body" id="body" marginheight="0" frameborder="0">
+    </frame>
+    <frame src="bot-{$thisfoil}" name="bottom" id="bottom" marginheight="0" frameborder="0">
+    </frame>
+    <noframes>
+      <body class="frameset">
+        <xsl:call-template name="body.attributes"/>
+        <p>
+          <xsl:text>Your browser doesn't support frames.</xsl:text>
+        </p>
+      </body>
+    </noframes>
+  </frameset>
+</xsl:template>
+
+<xsl:template match="slidesinfo" mode="multiframe-top">
+  <xsl:variable name="thisfoil">
+    <xsl:value-of select="$titlefoil.html"/>
+  </xsl:variable>
+
+  <xsl:variable name="next" select="(following::foil                                     |following::foilgroup)[1]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'top-',$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Navigation</title>
+
+          <xsl:call-template name="system.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0                         or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0' or $overlay.logo != ''">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+        </head>
+        <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
+          <xsl:call-template name="foil-top-nav">
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="slidesinfo" mode="multiframe-body">
+  <xsl:variable name="thisfoil">
+    <xsl:value-of select="$titlefoil.html"/>
+  </xsl:variable>
+
+  <xsl:variable name="next" select="(following::foil                                     |following::foilgroup)[1]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Body</title>
+
+          <xsl:call-template name="system.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0                         or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+        </head>
+        <xsl:apply-templates select="." mode="singleframe"/>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="slidesinfo" mode="multiframe-bottom">
+  <xsl:variable name="thisfoil">
+    <xsl:value-of select="$titlefoil.html"/>
+  </xsl:variable>
+
+  <xsl:variable name="next" select="(following::foil                                     |following::foilgroup)[1]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Navigation</title>
+
+          <xsl:call-template name="system.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0                         or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+        </head>
+        <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
+          <xsl:call-template name="foil-bottom-nav">
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="slidesinfo" mode="singleframe">
+  <xsl:param name="thisfoil">
+    <xsl:value-of select="$titlefoil.html"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="next" select="(following::foil                                     |following::foilgroup)[1]"/>
+
+  <body class="titlepage">
+    <xsl:call-template name="body.attributes"/>
+    <xsl:choose>
+      <xsl:when test="$active.toc != 0">
+        <xsl:attribute name="onload">
+          <xsl:text>newPage('</xsl:text>
+          <xsl:value-of select="$titlefoil.html"/>
+          <xsl:text>',</xsl:text>
+          <xsl:value-of select="$overlay"/>
+          <xsl:text>);</xsl:text>
+        </xsl:attribute>
+      </xsl:when>
+      <xsl:when test="$overlay != 0">
+        <xsl:attribute name="onload">
+          <xsl:text>overlaySetup('lc');</xsl:text>
+        </xsl:attribute>
+      </xsl:when>
+    </xsl:choose>
+
+    <xsl:if test="$keyboard.nav != 0">
+      <xsl:attribute name="onload">
+        <xsl:text>this.focus()</xsl:text>
+      </xsl:attribute>
+      <xsl:attribute name="onkeypress">
+        <xsl:text>navigate(event)</xsl:text>
+      </xsl:attribute>
+    </xsl:if>
+
+    <div class="{name(.)}">
+      <xsl:apply-templates mode="titlepage.mode"/>
+    </div>
+
+    <xsl:if test="$multiframe=0">
+      <div id="overlayDiv" class="navfoot">
+        <xsl:choose>
+          <xsl:when test="$overlay != 0">
+            <xsl:attribute name="style">
+              <xsl:text>position:absolute;visibility:visible;</xsl:text>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:attribute name="style">
+              <xsl:text>padding-top: 2in;</xsl:text>
+            </xsl:attribute>
+          </xsl:otherwise>
+        </xsl:choose>
+
+        <table width="100%" border="0" cellspacing="0" cellpadding="0" summary="Navigation">
+          <tr>
+            <td align="left" width="80%" valign="top">
+              <span class="navfooter">
+                <!-- suppress copyright here; it's probably already on the titlepage
+                <xsl:apply-templates select="/slides/slidesinfo/copyright"
+                                     mode="slide.footer.mode"/>
+                -->
+                <xsl:text>&#160;</xsl:text>
+              </span>
+            </td>
+            <td align="right" width="20%" valign="top">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$next" mode="filename"/>
+                </xsl:attribute>
+                <img alt="{$text.next}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="next.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </td>
+          </tr>
+        </table>
+      </div>
+    </xsl:if>
+  </body>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table border="0" width="100%" cellspacing="0" cellpadding="0" summary="Navigation table">
+      <tr>
+        <td align="left" valign="bottom" width="10%">
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <xsl:if test="$multiframe != 0">
+                    <xsl:attribute name="target">foil</xsl:attribute>
+                  </xsl:if>
+                  <img alt="{$text.prev}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">&#160;</span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td width="80%" align="center" valign="bottom">
+          <xsl:call-template name="foil.number"/>
+        </td>
+        <td align="right" valign="bottom" width="10%">
+          <xsl:choose>
+            <xsl:when test="$next">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <xsl:if test="$multiframe != 0">
+                    <xsl:attribute name="target">foil</xsl:attribute>
+                  </xsl:if>
+                  <img alt="{$text.next}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">&#160;</span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<xsl:template name="bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navfoot">
+    <hr class="bottom-nav-sep"/>
+    <table border="0" width="100%" cellspacing="0" cellpadding="0" summary="Navigation table">
+      <tr>
+        <td align="left" valign="top">
+          <xsl:apply-templates select="/slides/slidesinfo/copyright" mode="slide.footer.mode"/>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+
+        <td align="right" valign="top">
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <xsl:if test="$multiframe != 0">
+                    <xsl:attribute name="target">foil</xsl:attribute>
+                  </xsl:if>
+                  <img alt="{$text.prev}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">&#160;</span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$next">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <xsl:if test="$multiframe != 0">
+                    <xsl:attribute name="target">foil</xsl:attribute>
+                  </xsl:if>
+                  <img alt="{$text.next}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">&#160;</span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="foilgroup">
+  <xsl:param name="thisfoilgroup">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:param>
+
+  <xsl:variable name="doctype-public">
+    <xsl:call-template name="doctype-public">
+      <xsl:with-param name="frameset" select="$multiframe"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="doctype-system">
+    <xsl:call-template name="doctype-system">
+      <xsl:with-param name="frameset" select="$multiframe"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="foil[1]"/>
+  <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="doctype-public" select="$doctype-public"/>
+    <xsl:with-param name="doctype-system" select="$doctype-system"/>
+    <xsl:with-param name="filename" select="concat($base.dir,$thisfoilgroup)"/>
+    <xsl:with-param name="content">
+      <html>
+	<head>
+	  <title><xsl:value-of select="title"/></title>
+
+	  <xsl:call-template name="system.head.content"/>
+	  
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+	  <xsl:if test="$css.stylesheet != ''">
+	    <link type="text/css" rel="stylesheet">
+	      <xsl:attribute name="href">
+		<xsl:call-template name="css.stylesheet"/>
+	      </xsl:attribute>
+	    </link>
+	  </xsl:if>
+	  <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+	  
+	  <xsl:call-template name="links">
+	    <xsl:with-param name="home" select="$home"/>
+	    <xsl:with-param name="up" select="$up"/>
+	    <xsl:with-param name="next" select="$next"/>
+	    <xsl:with-param name="prev" select="$prev"/>
+	  </xsl:call-template>
+	  
+	  <xsl:if test="$overlay != 0 or $keyboard.nav != 0     or $dynamic.toc != 0 or $active.toc != 0">
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text> </xsl:text>
+	    </script>
+	  </xsl:if>
+	  
+	  <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+	    <xsl:call-template name="ua.js"/>
+	    <xsl:call-template name="xbDOM.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	    <xsl:call-template name="xbLibrary.js"/>
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text disable-output-escaping="yes">
+		&lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+	      </xsl:text>
+	    </script>
+	    <xsl:call-template name="xbStyle.js"/>
+	    <xsl:call-template name="xbCollapsibleLists.js"/>
+	    <xsl:call-template name="slides.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	  </xsl:if>
+	  
+	  <xsl:if test="$overlay != '0'">
+	    <xsl:call-template name="overlay.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	  </xsl:if>
+	  
+	  <xsl:call-template name="user.head.content"/>
+	</head>
+	<xsl:choose>
+	  <xsl:when test="$multiframe != 0">
+	    <xsl:apply-templates select="." mode="multiframe"/>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates select="." mode="singleframe"/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:if test="$multiframe != 0">
+    <xsl:apply-templates select="." mode="multiframe-top"/>
+    <xsl:apply-templates select="." mode="multiframe-body"/>
+    <xsl:apply-templates select="." mode="multiframe-bottom"/>
+  </xsl:if>
+
+  <xsl:apply-templates select="foil"/>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="multiframe">
+  <xsl:variable name="thisfoilgroup">
+    <xsl:text>foilgroup</xsl:text>
+    <xsl:number count="foilgroup" level="any" format="01"/>
+    <xsl:value-of select="$html.ext"/>
+  </xsl:variable>
+
+  <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
+    <xsl:attribute name="onload">
+      <xsl:text>javascript:body.focus()</xsl:text>
+    </xsl:attribute>
+    <frame src="top-{$thisfoilgroup}" name="top" id="top" marginheight="0" frameborder="0"/>
+    <frame src="body-{$thisfoilgroup}" name="body" id="body" marginheight="0" frameborder="0"/>
+    <frame src="bot-{$thisfoilgroup}" name="bottom" id="bottom" marginheight="0" frameborder="0"/>
+    <noframes>
+      <body class="frameset">
+        <xsl:call-template name="body.attributes"/>
+        <p>
+          <xsl:text>Your browser doesn't support frames.</xsl:text>
+        </p>
+      </body>
+    </noframes>
+  </frameset>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="multiframe-top">
+  <xsl:variable name="foilgroup">
+    <xsl:text>foilgroup</xsl:text>
+    <xsl:number count="foilgroup" level="any" format="01"/>
+    <xsl:value-of select="$html.ext"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="foil[1]"/>
+  <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'top-',$foilgroup)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Navigation</title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0                         or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
+          <xsl:call-template name="foilgroup-top-nav">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="multiframe-body">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="foil[1]"/>
+  <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
+
+  <xsl:variable name="thisfoilgroup">
+    <xsl:text>foilgroup</xsl:text>
+    <xsl:number count="foilgroup" level="any" format="01"/>
+    <xsl:value-of select="$html.ext"/>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoilgroup)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Body</title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0                         or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <xsl:apply-templates select="." mode="singleframe"/>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="multiframe-bottom">
+  <xsl:variable name="thisfoilgroup">
+    <xsl:text>foilgroup</xsl:text>
+    <xsl:number count="foilgroup" level="any" format="01"/>
+    <xsl:value-of select="$html.ext"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="foil[1]"/>
+  <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoilgroup)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Navigation</title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0                         or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
+          <xsl:call-template name="foilgroup-bottom-nav">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="singleframe">
+  <xsl:param name="thisfoilgroup">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="foil[1]"/>
+  <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
+  <body class="foilgroup">
+    <xsl:call-template name="body.attributes"/>
+    <xsl:choose>
+      <xsl:when test="$active.toc != 0">
+        <xsl:attribute name="onload">
+          <xsl:text>newPage('</xsl:text>
+          <xsl:value-of select="$thisfoilgroup"/>
+          <xsl:text>',</xsl:text>
+          <xsl:value-of select="$overlay"/>
+          <xsl:text>);</xsl:text>
+        </xsl:attribute>
+      </xsl:when>
+      <xsl:when test="$overlay != 0">
+        <xsl:attribute name="onload">
+          <xsl:text>overlaySetup('lc');</xsl:text>
+        </xsl:attribute>
+      </xsl:when>
+    </xsl:choose>
+
+
+    <xsl:if test="$keyboard.nav != 0">
+      <xsl:attribute name="onkeypress">
+        <xsl:text>navigate(event)</xsl:text>
+      </xsl:attribute>
+    </xsl:if>
+
+    <div class="{name(.)}" id="{$id}">
+      <xsl:if test="$multiframe=0">
+        <xsl:call-template name="foilgroup-top-nav">
+          <xsl:with-param name="home" select="$home"/>
+          <xsl:with-param name="up" select="$up"/>
+          <xsl:with-param name="next" select="$next"/>
+          <xsl:with-param name="prev" select="$prev"/>
+        </xsl:call-template>
+      </xsl:if>
+
+      <div class="foilgroup-body" id="{$id}">
+	<xsl:call-template name="foilgroup-body">
+	  <xsl:with-param name="home" select="$home"/>
+	  <xsl:with-param name="up" select="$up"/>
+	  <xsl:with-param name="next" select="$next"/>
+	  <xsl:with-param name="prev" select="$prev"/>
+	</xsl:call-template>
+      </div>
+
+      <xsl:if test="$multiframe=0">
+        <div id="overlayDiv">
+          <xsl:if test="$overlay != 0">
+            <xsl:attribute name="style">
+              <xsl:text>position:absolute;visibility:visible;</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:call-template name="foilgroup-bottom-nav">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+        </div>
+      </xsl:if>
+    </div>
+
+    <xsl:call-template name="process.footnotes"/>
+  </body>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="foil">
+  <xsl:variable name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="(following::foil                                     |following::foilgroup)[1]"/>
+  <xsl:variable name="prev" select="(preceding-sibling::foil[1]                                     |parent::foilgroup[1]                                     |/slides)[last()]"/>
+
+  <xsl:variable name="doctype-public">
+    <xsl:call-template name="doctype-public">
+      <xsl:with-param name="frameset" select="$multiframe"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="doctype-system">
+    <xsl:call-template name="doctype-system">
+      <xsl:with-param name="frameset" select="$multiframe"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="doctype-public" select="$doctype-public"/>
+    <xsl:with-param name="doctype-system" select="$doctype-system"/>
+    <xsl:with-param name="filename" select="concat($base.dir,$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+	<head>
+	  <title><xsl:value-of select="title"/></title>
+
+	  <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+ 	  <xsl:if test="$css.stylesheet != ''">
+	    <link type="text/css" rel="stylesheet">
+	      <xsl:attribute name="href">
+		<xsl:call-template name="css.stylesheet"/>
+	      </xsl:attribute>
+	    </link>
+	  </xsl:if>
+	  <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+	  <xsl:call-template name="links">
+	    <xsl:with-param name="home" select="$home"/>
+	    <xsl:with-param name="up" select="$up"/>
+	    <xsl:with-param name="next" select="$next"/>
+	    <xsl:with-param name="prev" select="$prev"/>
+	  </xsl:call-template>
+
+	  <xsl:if test="$overlay != 0 or $keyboard.nav != 0     or $dynamic.toc != 0 or $active.toc != 0">
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text> </xsl:text>
+	    </script>
+	  </xsl:if>
+
+	  <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+	    <xsl:call-template name="ua.js"/>
+	    <xsl:call-template name="xbDOM.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	    <xsl:call-template name="xbLibrary.js"/>
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+	    <xsl:call-template name="xbStyle.js"/>
+	    <xsl:call-template name="xbCollapsibleLists.js"/>
+	    <xsl:call-template name="slides.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	  </xsl:if>
+
+	  <xsl:if test="$overlay != '0'">
+	    <xsl:call-template name="overlay.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	  </xsl:if>
+
+	  <xsl:call-template name="user.head.content"/>
+	</head>
+	<xsl:choose>
+	  <xsl:when test="$multiframe != 0">
+	    <xsl:apply-templates select="." mode="multiframe"/>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates select="." mode="singleframe"/>
+	  </xsl:otherwise>
+	</xsl:choose>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:if test="$multiframe != 0">
+    <xsl:apply-templates select="." mode="multiframe-top"/>
+    <xsl:apply-templates select="." mode="multiframe-body"/>
+    <xsl:apply-templates select="." mode="multiframe-bottom"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="foil" mode="multiframe">
+  <xsl:variable name="foilgroup" select="ancestor::foilgroup"/>
+
+  <xsl:variable name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <frameset rows="{$multiframe.navigation.height},*,{$multiframe.navigation.height}" id="foil">
+    <xsl:attribute name="onload">
+      <xsl:text>javascript:body.focus()</xsl:text>
+      </xsl:attribute>
+    <frame src="top-{$thisfoil}" name="top" id="top" marginheight="0" frameborder="0">
+    </frame>
+    <frame src="body-{$thisfoil}" name="body" id="body" marginheight="0" frameborder="0">
+    </frame>
+    <frame src="bot-{$thisfoil}" name="bottom" id="bottom" marginheight="0" frameborder="0">
+    </frame>
+    <noframes>
+      <body class="frameset">
+        <xsl:call-template name="body.attributes"/>
+        <p>
+          <xsl:text>Your browser doesn't support frames.</xsl:text>
+        </p>
+      </body>
+    </noframes>
+  </frameset>
+</xsl:template>
+
+<xsl:template match="foil" mode="multiframe-top">
+  <xsl:variable name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="(following::foil                                     |following::foilgroup)[1]"/>
+  <xsl:variable name="prev" select="(preceding-sibling::foil[1]                                     |parent::foilgroup[1]                                     |/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'top-',$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Navigation</title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0                         or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javajcript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body class="topnavigation" bgcolor="{$multiframe.top.bgcolor}">
+          <xsl:call-template name="foil-top-nav">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foil" mode="multiframe-body">
+  <xsl:variable name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'body-',$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Body</title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0                         or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:variable name="home" select="/slides"/>
+            <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+            <xsl:variable name="next" select="(following::foil                                               |following::foilgroup)[1]"/>
+            <xsl:variable name="prev" select="(preceding-sibling::foil[1]                                               |parent::foilgroup[1]                                               |/slides)[last()]"/>
+
+            <xsl:call-template name="links">
+              <xsl:with-param name="home" select="$home"/>
+              <xsl:with-param name="up" select="$up"/>
+              <xsl:with-param name="next" select="$next"/>
+              <xsl:with-param name="prev" select="$prev"/>
+            </xsl:call-template>
+
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+
+        </head>
+        <xsl:apply-templates select="." mode="singleframe"/>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foil" mode="multiframe-bottom">
+  <xsl:variable name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="(following::foil                                     |following::foilgroup)[1]"/>
+  <xsl:variable name="prev" select="(preceding-sibling::foil[1]                                     |parent::foilgroup[1]                                     |/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir,'bot-',$thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title>Navigation</title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0                         or $dynamic.toc != 0 or $active.toc != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0 or $dynamic.toc != 0 or $active.toc != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body class="botnavigation" bgcolor="{$multiframe.bottom.bgcolor}">
+          <xsl:call-template name="foil-bottom-nav">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foil" mode="singleframe">
+  <xsl:param name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="(following::foil                                     |following::foilgroup)[1]"/>
+  <xsl:variable name="prev" select="(preceding-sibling::foil[1]                                     |parent::foilgroup[1]                                     |/slides)[last()]"/>
+
+  <body class="foil">
+    <xsl:call-template name="body.attributes"/>
+    <xsl:choose>
+      <xsl:when test="$active.toc != 0">
+        <xsl:attribute name="onload">
+          <xsl:text>newPage('</xsl:text>
+          <xsl:value-of select="$thisfoil"/>
+          <xsl:text>',</xsl:text>
+          <xsl:value-of select="$overlay"/>
+          <xsl:text>);</xsl:text>
+        </xsl:attribute>
+      </xsl:when>
+      <xsl:when test="$overlay != 0">
+        <xsl:attribute name="onload">
+          <xsl:text>overlaySetup('lc');</xsl:text>
+        </xsl:attribute>
+      </xsl:when>
+    </xsl:choose>
+
+    <xsl:if test="$keyboard.nav != 0">
+      <xsl:attribute name="onkeypress">
+        <xsl:text>navigate(event)</xsl:text>
+      </xsl:attribute>
+    </xsl:if>
+
+    <div class="{name(.)}" id="{$id}">
+      <xsl:if test="$multiframe=0">
+        <xsl:call-template name="foil-top-nav">
+          <xsl:with-param name="home" select="$home"/>
+          <xsl:with-param name="up" select="$up"/>
+          <xsl:with-param name="next" select="$next"/>
+          <xsl:with-param name="prev" select="$prev"/>
+        </xsl:call-template>
+      </xsl:if>
+
+      <div class="foil-body">
+	<xsl:apply-templates/>
+      </div>
+
+      <xsl:if test="$multiframe=0">
+        <div id="overlayDiv">
+          <xsl:if test="$overlay != 0">
+            <xsl:attribute name="style">
+              <xsl:text>position:absolute;visibility:visible;</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:call-template name="foil-bottom-nav">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+        </div>
+      </xsl:if>
+    </div>
+
+    <xsl:call-template name="process.footnotes"/>
+  </body>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="slidesinfo" mode="toc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <div id="{$id}" class="toc-slidesinfo">
+    <a href="{$titlefoil.html}" target="foil">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:apply-templates select="titleabbrev" mode="toc"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="title" mode="toc"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </a>
+    <hr/>
+  </div>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="toc">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:variable name="thisfoilgroup">
+    <xsl:text>foilgroup</xsl:text>
+    <xsl:number count="foilgroup" level="any" format="01"/>
+    <xsl:value-of select="$html.ext"/>
+  </xsl:variable>
+
+  <div class="toc-foilgroup" id="{$id}">
+    <img alt="-">
+      <xsl:attribute name="src">
+        <xsl:call-template name="minus.image"/>
+      </xsl:attribute>
+    </img>
+    <a href="{$thisfoilgroup}" target="foil">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:apply-templates select="titleabbrev" mode="toc"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="title" mode="toc"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </a>
+    <xsl:apply-templates select="foil" mode="toc"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="foil" mode="toc">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+  <xsl:variable name="foil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <div id="{$id}" class="toc-foil">
+    <img alt="-">
+      <xsl:attribute name="src">
+        <xsl:call-template name="bullet.image"/>
+      </xsl:attribute>
+    </img>
+    <a href="{$foil}" target="foil">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:apply-templates select="titleabbrev" mode="toc"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="title" mode="toc"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </a>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="slidesinfo" mode="ns-toc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:text>myList.addItem('</xsl:text>
+
+  <xsl:text disable-output-escaping="yes">&lt;div id="</xsl:text>
+  <xsl:value-of select="$id"/>
+  <xsl:text disable-output-escaping="yes">" class="toc-slidesinfo"&gt;</xsl:text>
+
+  <xsl:text disable-output-escaping="yes">&lt;a href="</xsl:text>
+  <xsl:value-of select="$titlefoil.html"/>
+  <xsl:text disable-output-escaping="yes">" target="foil"&gt;</xsl:text>
+
+  <xsl:call-template name="string.subst">
+    <xsl:with-param name="string">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:value-of select="titleabbrev"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="target">'</xsl:with-param>
+    <xsl:with-param name="replacement">\'</xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:text disable-output-escaping="yes">&lt;\/a&gt;&lt;\/div&gt;</xsl:text>
+  <xsl:text>');
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="ns-toc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:text>subList = new List(false, width, height, "</xsl:text>
+<xsl:value-of select="$toc.bg.color"/>
+<xsl:text>");
+</xsl:text>
+  <xsl:text>subList.setIndent(12);
+</xsl:text>
+  <xsl:apply-templates select="foil" mode="ns-toc"/>
+
+  <xsl:text>myList.addList(subList, '</xsl:text>
+
+  <xsl:text disable-output-escaping="yes">&lt;div id="</xsl:text>
+  <xsl:value-of select="$id"/>
+  <xsl:text disable-output-escaping="yes">" class="toc-foilgroup"&gt;</xsl:text>
+
+  <xsl:text disable-output-escaping="yes">&lt;a href="</xsl:text>
+  <xsl:apply-templates select="." mode="filename"/>
+  <xsl:text disable-output-escaping="yes">" target="foil"&gt;</xsl:text>
+
+  <xsl:call-template name="string.subst">
+    <xsl:with-param name="string">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:value-of select="titleabbrev"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="target">'</xsl:with-param>
+    <xsl:with-param name="replacement">\'</xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:text disable-output-escaping="yes">&lt;\/a&gt;&lt;\/div&gt;</xsl:text>
+  <xsl:text>');
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="foil" mode="ns-toc">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="ancestor::foilgroup">
+      <xsl:text>subList.addItem('</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>myList.addItem('</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:text disable-output-escaping="yes">&lt;div id="</xsl:text>
+  <xsl:value-of select="$id"/>
+  <xsl:text disable-output-escaping="yes">" class="toc-foil"&gt;</xsl:text>
+
+  <xsl:text disable-output-escaping="yes">&lt;img alt="-" src="</xsl:text>
+  <xsl:call-template name="bullet.image"/>
+  <xsl:text disable-output-escaping="yes">"&gt;&lt;\/img&gt;</xsl:text>
+
+  <xsl:text disable-output-escaping="yes">&lt;a href="</xsl:text>
+  <xsl:apply-templates select="." mode="filename"/>
+  <xsl:text disable-output-escaping="yes">" target="foil"&gt;</xsl:text>
+
+  <xsl:call-template name="string.subst">
+    <xsl:with-param name="string">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:value-of select="titleabbrev"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="target">'</xsl:with-param>
+    <xsl:with-param name="replacement">\'</xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:text disable-output-escaping="yes">&lt;\/a&gt;&lt;\/div&gt;</xsl:text>
+  <xsl:text>');
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="speakernotes" mode="ns-toc">
+  <!-- nop -->
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/xhtml/graphics.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/xhtml/graphics.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/xhtml/graphics.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,152 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ====================================================================== -->
+
+<xsl:template name="graphics-file">
+  <xsl:param name="image" select="'bullet.gif'"/>
+
+  <xsl:variable name="source.graphics.dir">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'graphics-dir'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$source.graphics.dir != ''">
+      <xsl:value-of select="$source.graphics.dir"/>
+      <xsl:text>/</xsl:text>
+    </xsl:when>
+    <xsl:when test="$graphics.dir != ''">
+      <xsl:value-of select="$graphics.dir"/>
+      <xsl:text>/</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>http://docbook.sourceforge.net/release/slides/graphics/</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:value-of select="$image"/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- active navigation images -->
+
+<xsl:template name="toc.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$toc.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="home.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$home.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="up.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$up.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="prev.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$prev.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="next.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$next.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- inactive navigation images -->
+
+<xsl:template name="no.toc.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$no.toc.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="no.home.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$no.home.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="no.up.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$no.up.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="no.prev.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$no.prev.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="no.next.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$no.next.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- icon images -->
+
+<xsl:template name="bullet.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$bullet.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="plus.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$plus.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="minus.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$minus.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- hide/show ToC images -->
+
+<xsl:template name="hidetoc.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$hidetoc.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="showtoc.image">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:call-template name="graphics-file">
+    <xsl:with-param name="image" select="$showtoc.image"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/xhtml/html2xhtml.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/xhtml/html2xhtml.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/xhtml/html2xhtml.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,181 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="exsl"
+                version="1.0">
+
+<xsl:include href="http://docbook.sourceforge.net/release/xsl/current/lib/lib.xsl"/>
+<xsl:output method="xml" encoding="US-ASCII"/>
+<xsl:preserve-space elements="*"/>
+
+<xsl:template match="/">
+  <xsl:text>&#10;</xsl:text>
+  <xsl:comment>This file was created automatically by html2xhtml</xsl:comment>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:comment>from the HTML stylesheets. Do not edit this file.</xsl:comment>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="xsl:stylesheet" >
+  <xsl:variable name="a">
+      <xsl:element name="dummy" namespace="http://www.w3.org/1999/xhtml"/>
+  </xsl:variable>
+    <xsl:copy>
+      <xsl:copy-of select="exsl:node-set($a)//namespace::*"/>
+      <xsl:copy-of select="@*"/>
+      <xsl:apply-templates/>
+   </xsl:copy>
+</xsl:template>
+
+<!-- Make sure we override some templates and parameters appropriately for XHTML -->
+<xsl:template match="xsl:output">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="method">xml</xsl:attribute>
+    <xsl:attribute name="encoding">UTF-8</xsl:attribute>
+    <xsl:attribute name="doctype-public">-//W3C//DTD XHTML 1.0 Transitional//EN</xsl:attribute>
+    <xsl:attribute name="doctype-system">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:import">
+  <xsl:copy>
+    <xsl:attribute name="href">
+      <xsl:call-template name="string.subst">
+        <xsl:with-param name="string" select="@href"/>
+        <xsl:with-param name="target">/html/</xsl:with-param>
+        <xsl:with-param name="replacement">/xhtml/</xsl:with-param>
+      </xsl:call-template>
+    </xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='stylesheet.result.type']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">'xhtml'</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='make.valid.html']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">1</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='output.method']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">'xml'</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='chunker.output.method']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">'xml'</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='chunker.output.encoding']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">'UTF-8'</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='chunker.output.doctype-public']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">'-//W3C//DTD XHTML 1.0 Transitional//EN'</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='chunker.output.doctype-system']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:attribute[@name='name']">
+  <xsl:choose>
+    <xsl:when test="ancestor::a">
+      <xsl:copy>
+        <xsl:copy-of select="@*"/>
+        <xsl:attribute name="name">id</xsl:attribute>
+        <xsl:apply-templates/>
+      </xsl:copy>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy>
+        <xsl:copy-of select="@*"/>
+        <xsl:apply-templates/>
+      </xsl:copy>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="xsl:element">
+  <!-- make sure literal xsl:element declarations propagate the right namespace -->
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="namespace">http://www.w3.org/1999/xhtml</xsl:attribute>
+    <xsl:apply-templates/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:template[@name='body.attributes']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:comment> no apply-templates; make it empty </xsl:comment>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:copy>
+</xsl:template>
+
+<!-- this only occurs in docbook.xsl to identify errors -->
+<xsl:template match="font">
+  <span class="ERROR" xmlns="http://www.w3.org/1999/xhtml">
+    <xsl:apply-templates/>
+  </span>
+</xsl:template>
+
+<!-- this only occurs in docbook.xsl to identify errors -->
+<xsl:template match="a[@name]">
+  <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:attribute name="id"><xsl:value-of select="@name"/></xsl:attribute>
+    <xsl:for-each select="@*">
+      <xsl:if test="local-name(.) != 'name'">
+        <xsl:attribute name="{name(.)}"><xsl:value-of select="."/></xsl:attribute>
+      </xsl:if>
+    </xsl:for-each>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="*">
+  <xsl:choose>
+    <xsl:when test="namespace-uri(.) = ''">
+      <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml">
+        <xsl:copy-of select="@*"/>
+        <xsl:apply-templates/>
+      </xsl:element>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy>
+        <xsl:copy-of select="@*"/>
+        <xsl:apply-templates/>
+      </xsl:copy>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="comment()|processing-instruction()|text()">
+  <xsl:copy/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/xhtml/jscript.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/xhtml/jscript.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/xhtml/jscript.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,128 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<xsl:output method="xml" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+
+<xsl:template name="script-dir">
+  <xsl:variable name="source.script.dir">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'script-dir'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$source.script.dir != ''">
+      <xsl:value-of select="$source.script.dir"/>
+      <xsl:text>/</xsl:text>
+    </xsl:when>
+    <xsl:when test="$script.dir != ''">
+      <xsl:value-of select="$script.dir"/>
+      <xsl:text>/</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>http://docbook.sourceforge.net/release/slides/browser/</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="script-file">
+  <xsl:param name="js" select="'slides.js'"/>
+  <xsl:call-template name="script-dir"/>
+  <xsl:value-of select="$js"/>
+</xsl:template>
+
+<xsl:template name="ua.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$ua.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+<xsl:template name="xbDOM.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$xbDOM.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+<xsl:template name="xbStyle.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$xbStyle.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+<xsl:template name="xbLibrary.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$xbLibrary.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+<xsl:template name="xbCollapsibleLists.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$xbCollapsibleLists.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+<xsl:template name="overlay.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$overlay.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+<xsl:template name="slides.js">
+  <!-- Danger Will Robinson: template shadows parameter -->
+  <xsl:param name="language" select="'javascript'"/>
+  <script type="text/javascript" language="{$language}">
+    <xsl:attribute name="src">
+      <xsl:call-template name="script-file">
+        <xsl:with-param name="js" select="$slides.js"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:text> </xsl:text>
+  </script>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/xhtml/plain.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/xhtml/plain.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/xhtml/plain.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,467 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:param name="prev.image" select="'active/nav-prev.png'"/>
+<xsl:param name="next.image" select="'active/nav-next.png'"/>
+<xsl:param name="up.image" select="'active/nav-up.png'"/>
+<xsl:param name="toc.image" select="'active/nav-toc.png'"/>
+<xsl:param name="home.image" select="'active/nav-home.png'"/>
+
+<xsl:param name="no.prev.image" select="'inactive/nav-prev.png'"/>
+<xsl:param name="no.next.image" select="'inactive/nav-next.png'"/>
+<xsl:param name="no.up.image" select="'inactive/nav-up.png'"/>
+<xsl:param name="no.toc.image" select="'inactive/nav-toc.png'"/>
+<xsl:param name="no.home.image" select="'inactive/nav-home.png'"/>
+
+<xsl:param name="css.stylesheet" select="'slides-plain.css'"/>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="top-nav">
+  <xsl:param name="prev"/>
+  <xsl:param name="next"/>
+  <xsl:param name="up"/>
+  <xsl:param name="home"/>
+  <xsl:param name="toc" select="$toc.html"/>
+
+  <div class="navhead">
+    <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
+      <tr>
+        <td align="left" width="50%">
+          <span class="slidestitle">
+            <xsl:value-of select="(/slides/slidesinfo/title)[1]"/>
+          </span>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td align="right" width="50%">
+          <xsl:choose>
+            <xsl:when test="$home">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$home" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$home/slidesinfo/title"/>
+                </xsl:attribute>
+                <img alt="Home" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="home.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Home" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.home.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$toc != ''">
+              <a title="ToC" href="{$toc}">
+                <img alt="ToC" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="toc.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="ToC" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.toc.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$prev" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$prev/title"/>
+                </xsl:attribute>
+                <img alt="Prev" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Prev" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.prev.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$up">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$up" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$up/title"/>
+                </xsl:attribute>
+                <img alt="Up" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="up.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Up" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.up.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$next">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$next" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$next/title"/>
+                </xsl:attribute>
+                <img alt="Next" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="next.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Next" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.next.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="titlepage-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="next"/>
+  <xsl:param name="toc" select="$toc.html"/>
+
+  <div class="navhead">
+    <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
+      <tr>
+        <td align="left" width="50%">
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td align="right" width="50%">
+          <xsl:choose>
+            <xsl:when test="$home">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$home" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$home/slidesinfo/title"/>
+                </xsl:attribute>
+                <img alt="Home" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="home.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Home" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.home.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$toc.html != ''">
+              <a title="ToC" href="{$toc.html}">
+                <img alt="ToC" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="toc.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="ToC" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.toc.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$prev" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$prev/title"/>
+                </xsl:attribute>
+                <img alt="Prev" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Prev" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.prev.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$up">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$up" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$up/title"/>
+                </xsl:attribute>
+                <img alt="Up" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="up.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Up" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.up.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$next">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$next" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$next/title"/>
+                </xsl:attribute>
+                <img alt="Next" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="next.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Next" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.next.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="toc-top-nav">
+  <xsl:param name="home" select="/slides"/>
+  <xsl:param name="up"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="next" select="(foil|foilgroup)[1]"/>
+  <xsl:param name="toc"/>
+
+  <div class="navhead">
+    <table width="100%" border="0" cellpadding="0" cellspacing="0" summary="Navigation">
+      <tr>
+        <td align="left" width="50%">
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td align="right" width="50%">
+          <xsl:choose>
+            <xsl:when test="$home">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$home" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$home/slidesinfo/title"/>
+                </xsl:attribute>
+                <img alt="Home" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="home.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Home" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.home.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$toc != ''">
+              <a title="ToC" href="{$toc}">
+                <img alt="ToC" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="toc.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="ToC" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.toc.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$prev" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$prev/title"/>
+                </xsl:attribute>
+                <img alt="Prev" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Prev" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.prev.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$up">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$up" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$up/title"/>
+                </xsl:attribute>
+                <img alt="Up" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="up.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Up" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.up.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$next">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$next" mode="filename"/>
+                </xsl:attribute>
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$next/title"/>
+                </xsl:attribute>
+                <img alt="Next" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="next.image"/>
+                  </xsl:attribute>
+                </img>
+              </a>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt="Next" border="0">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="no.next.image"/>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="bottom-nav"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/xhtml/slides-common.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/xhtml/slides-common.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/xhtml/slides-common.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1534 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl"/>
+<xsl:include href="../../VERSION"/>
+
+<xsl:include href="../param.xsl"/>
+<xsl:include href="jscript.xsl"/>
+<xsl:include href="graphics.xsl"/>
+<xsl:include href="css.xsl"/>
+
+<xsl:output method="xml" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+
+<xsl:strip-space elements="slides foil foilgroup"/>
+
+<!-- Process the slides -->
+
+<xsl:template match="/">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="slides">
+  <xsl:apply-templates select="." mode="toc"/>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- Every slide has top and bottom navigation -->
+
+<xsl:template name="top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table border="0" width="100%" cellspacing="0" cellpadding="0" summary="Navigation table">
+      <tr>
+        <td align="left" valign="bottom">
+          <xsl:if test="$home">
+            <span class="slidestitle">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="$home" mode="filename"/>
+                </xsl:attribute>
+                <xsl:value-of select="($home/title|$home/slidesinfo/title)[1]"/>
+              </a>
+            </span>
+          </xsl:if>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+
+        <td align="right" valign="bottom">
+          <xsl:choose>
+            <xsl:when test="$home">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$home" mode="filename"/>
+                  </xsl:attribute>
+                  <img alt="{$text.home}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="home.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.home}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.home.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$tocfile">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:value-of select="$tocfile"/>
+                  </xsl:attribute>
+                  <img alt="{$text.toc}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="toc.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.toc}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.toc.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <img alt="{$text.prev}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.prev}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$up">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$up" mode="filename"/>
+                  </xsl:attribute>
+                  <img alt="{$text.up}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="up.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.up}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.up.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$next">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <img alt="{$text.next}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.next}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.next.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<xsl:template name="bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navfoot">
+    <hr class="bottom-nav-sep"/>
+    <table border="0" width="100%" cellspacing="0" cellpadding="0" summary="Navigation table">
+      <tr>
+        <td align="left" valign="top">
+          <xsl:apply-templates select="/slides/slidesinfo/copyright" mode="slide.footer.mode"/>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+
+        <td align="right" valign="top">
+          <xsl:choose>
+            <xsl:when test="$prev">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <img alt="{$text.prev}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.prev}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="$next">
+              <span class="link-text">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <img alt="{$text.next}" border="0">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </span>
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="no-link-text">
+                <img alt="{$text.next}" border="0">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.next.image"/>
+                  </xsl:attribute>
+                </img>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<!-- Navigation is also provided in the form of links in the head -->
+
+<xsl:template name="links">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:if test="$tocfile != ''">
+    <link rel="contents" href="{$tocfile}">
+      <xsl:attribute name="title">
+        <xsl:value-of select="/slides/slidesinfo/title"/>
+      </xsl:attribute>
+    </link>
+  </xsl:if>
+
+  <xsl:if test="$home">
+    <link rel="top">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="$home" mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="($home/title|$home/slidesinfo/title)[1]"/>
+      </xsl:attribute>
+    </link>
+
+    <link rel="first">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="$home" mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="($home/title|$home/slidesinfo/title)[1]"/>
+      </xsl:attribute>
+    </link>
+  </xsl:if>
+
+  <xsl:if test="$up">
+    <link rel="up">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="$up" mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="($up/title|$up/slidesinfo/title)[1]"/>
+      </xsl:attribute>
+    </link>
+  </xsl:if>
+
+  <xsl:if test="$prev">
+    <link rel="previous">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="$prev" mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="($prev/title|$prev/slidesinfo/title)[1]"/>
+      </xsl:attribute>
+    </link>
+  </xsl:if>
+
+  <xsl:if test="$next">
+    <link rel="next">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="$next" mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="$next/title"/>
+      </xsl:attribute>
+    </link>
+
+    <xsl:variable name="last" select="$next/following::foil[last()]"/>
+    <xsl:if test="$last">
+      <link rel="last">
+        <xsl:attribute name="href">
+          <xsl:apply-templates select="$last" mode="filename"/>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:value-of select="$last/title"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+  </xsl:if>
+
+  <xsl:for-each select="foil">
+    <link rel="slides">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="." mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="title[1]"/>
+      </xsl:attribute>
+    </link>
+  </xsl:for-each>
+
+  <xsl:for-each select="foilgroup|../foilgroup">
+    <link rel="section">
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="." mode="filename"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:value-of select="title[1]"/>
+      </xsl:attribute>
+    </link>
+  </xsl:for-each>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- There are four kinds of slides: titlepage, toc, foil, and foilgroup -->
+<!-- titlepage -->
+
+<xsl:template match="slidesinfo">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="next" select="(/slides/foil|/slides/foilgroup)[1]"/>
+  <xsl:variable name="tocfile" select="$toc.html"/>
+  <xsl:variable name="dir">
+    <xsl:call-template name="dbhtml-dir"/>
+  </xsl:variable>
+
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $dir, $titlefoil.html)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="title"/></title>
+
+          <xsl:call-template name="system.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+	  
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <!-- Links -->
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="/slides"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="tocfile" select="$tocfile"/>
+          </xsl:call-template>
+
+          <!-- Scripts -->
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content">
+            <xsl:with-param name="node" select=".."/>
+          </xsl:call-template>
+        </head>
+        <body>
+          <xsl:attribute name="class">
+            <xsl:text>titlepage</xsl:text>
+            <xsl:if test="@role">
+              <xsl:text>-</xsl:text>
+              <xsl:value-of select="@role"/>
+            </xsl:if>
+          </xsl:attribute>
+
+          <xsl:call-template name="body.attributes"/>
+          <xsl:if test="$overlay != 0">
+            <xsl:attribute name="onload">
+              <xsl:text>overlaySetup('lc')</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:attribute name="onkeypress">
+              <xsl:text>navigate(event)</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <div class="titlepage" id="{$id}">
+            <xsl:call-template name="titlepage-top-nav">
+              <xsl:with-param name="next" select="$next"/>
+              <xsl:with-param name="tocfile" select="$tocfile"/>
+            </xsl:call-template>
+
+            <div class="titlepage-body">
+              <xsl:call-template name="titlepage-body"/>
+            </div>
+
+            <div id="overlayDiv">
+              <xsl:call-template name="overlayDiv.attributes"/>
+              <xsl:call-template name="titlepage-bottom-nav">
+                <xsl:with-param name="next" select="$next"/>
+                <xsl:with-param name="tocfile" select="$tocfile"/>
+              </xsl:call-template>
+            </div>
+          </div>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="titlepage-body">
+  <div class="{name(.)}">
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template name="titlepage-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:call-template name="top-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="tocfile" select="$tocfile"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="titlepage-bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:call-template name="bottom-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="tocfile" select="$tocfile"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="slidesinfo/title">
+  <h1 class="{name(.)}"><xsl:apply-templates/></h1>
+</xsl:template>
+
+<xsl:template match="slidesinfo/authorgroup">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="slidesinfo/author|slidesinfo/authorgroup/author">
+  <h1 class="{name(.)}"><xsl:apply-imports/></h1>
+</xsl:template>
+
+<xsl:template match="slidesinfo/releaseinfo">
+  <h4 class="{name(.)}"><xsl:apply-templates/></h4>
+</xsl:template>
+
+<xsl:template match="slidesinfo/date">
+  <h4 class="{name(.)}"><xsl:apply-templates/></h4>
+</xsl:template>
+
+<xsl:template match="slidesinfo/copyright">
+  <!-- nop -->
+</xsl:template>
+
+<!-- On slides, output the credits explicitly each time -->
+<xsl:template match="othercredit" mode="titlepage.mode">
+  <xsl:variable name="contrib" select="string(contrib)"/>
+  <xsl:choose>
+    <xsl:when test="contrib">
+      <xsl:call-template name="paragraph">
+	<xsl:with-param name="class" select="name(.)"/>
+	<xsl:with-param name="content">
+	  <xsl:apply-templates mode="titlepage.mode" select="contrib"/>
+	  <xsl:text>: </xsl:text>
+	  <xsl:call-template name="person.name"/>
+	  <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+	</xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="paragraph">
+        <xsl:with-param name="class" select="name(.)"/>
+        <xsl:with-param name="content">
+          <xsl:call-template name="person.name"/>
+        </xsl:with-param>
+      </xsl:call-template>
+      <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- toc -->
+
+<xsl:template match="slides" mode="toc">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="/slides"/>
+  <xsl:variable name="next" select="(foil|foilgroup)[1]"/>
+  <xsl:variable name="tocfile" select="''"/>
+  <xsl:variable name="dir"> <!-- MJ: added -->
+    <xsl:call-template name="dbhtml-dir"/>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $dir, $toc.html)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="slidesinfo/title"/></title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <!-- Links -->
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="tocfile" select="$tocfile"/>
+          </xsl:call-template>
+
+          <!-- Scripts -->
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+
+        <body class="tocpage">
+          <xsl:call-template name="body.attributes"/>
+          <xsl:if test="$overlay != 0">
+            <xsl:attribute name="onload">
+              <xsl:text>overlaySetup('lc')</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:attribute name="onkeypress">
+              <xsl:text>navigate(event)</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <div id="{$id}">
+            <xsl:call-template name="toc-top-nav">
+              <xsl:with-param name="home" select="$home"/>
+              <xsl:with-param name="up" select="$up"/>
+              <xsl:with-param name="next" select="$next"/>
+              <xsl:with-param name="tocfile" select="$tocfile"/>
+            </xsl:call-template>
+
+            <div class="toc-body">
+              <xsl:call-template name="toc-body"/>
+            </div>
+
+            <div id="overlayDiv">
+              <xsl:call-template name="overlayDiv.attributes"/>
+              <xsl:call-template name="toc-bottom-nav">
+                <xsl:with-param name="home" select="$home"/>
+                <xsl:with-param name="up" select="$up"/>
+                <xsl:with-param name="next" select="$next"/>
+                <xsl:with-param name="tocfile" select="$tocfile"/>
+              </xsl:call-template>
+            </div>
+          </div>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="toc-body">
+  <h1 class="title">
+    <a href="{$titlefoil.html}">
+      <xsl:value-of select="/slides/slidesinfo/title"/>
+    </a>
+  </h1>
+
+  <p class="toctitle">
+    <b>
+      <xsl:call-template name="gentext">
+        <xsl:with-param name="key">TableofContents</xsl:with-param>
+      </xsl:call-template>
+    </b>
+  </p>
+  <dl class="toc">
+    <xsl:apply-templates select="foilgroup|foil" mode="toc"/>
+  </dl>
+</xsl:template>
+
+<xsl:template name="toc-top-nav">
+  <xsl:param name="home" select="/slides"/>
+  <xsl:param name="up"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="next" select="(foil|foilgroup)[1]"/>
+  <xsl:param name="tocfile"/>
+
+  <xsl:call-template name="top-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="tocfile" select="$tocfile"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="toc-bottom-nav">
+  <xsl:param name="home" select="/slides"/>
+  <xsl:param name="up"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="next" select="(foil|foilgroup)[1]"/>
+  <xsl:param name="tocfile"/>
+
+  <xsl:call-template name="bottom-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="tocfile" select="$tocfile"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="toc">
+  <xsl:param name="recursive" select="1"/>
+
+  <dt>
+    <xsl:apply-templates select="." mode="number"/>
+    <xsl:text>. </xsl:text>
+    <a>
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="." mode="filename"/>
+      </xsl:attribute>
+      <xsl:value-of select="title"/>
+    </a>
+  </dt>
+  <xsl:if test="$recursive != 0">
+    <dd>
+      <dl class="toc">
+	<xsl:apply-templates select="foil" mode="toc"/>
+      </dl>
+    </dd>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="foil" mode="toc">
+  <dt>
+    <xsl:apply-templates select="." mode="number"/>
+    <xsl:text>. </xsl:text>
+    <a>
+      <xsl:attribute name="href">
+        <xsl:apply-templates select="." mode="filename"/>
+      </xsl:attribute>
+      <xsl:value-of select="title"/>
+    </a>
+  </dt>
+</xsl:template>
+
+<xsl:template match="title|titleabbrev" mode="toc">
+  <xsl:apply-templates mode="toc"/>
+</xsl:template>
+
+<xsl:template match="speakernotes" mode="toc">
+  <!-- nop -->
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- foil -->
+
+<xsl:template match="foil">
+  <xsl:param name="thisfoil">
+    <xsl:apply-templates select="." mode="chunk-filename"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="(following::foil                                     |following::foilgroup)[1]"/>
+  <xsl:variable name="prev" select="(preceding-sibling::foil[1]                                     |parent::foilgroup[1]                                     |/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="title"/></title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <!-- Links -->
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+
+          <!-- Scripts -->
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body>
+          <xsl:attribute name="class">
+            <xsl:value-of select="local-name(.)"/>
+            <xsl:if test="@role">
+              <xsl:text>-</xsl:text>
+              <xsl:value-of select="@role"/>
+            </xsl:if>
+          </xsl:attribute>
+
+          <xsl:call-template name="body.attributes"/>
+          <xsl:if test="$overlay != 0">
+            <xsl:attribute name="onload">
+              <xsl:text>overlaySetup('lc')</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:attribute name="onkeypress">
+              <xsl:text>navigate(event)</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <div class="{name(.)}" id="{$id}">
+            <xsl:call-template name="foil-top-nav">
+              <xsl:with-param name="home" select="$home"/>
+              <xsl:with-param name="up" select="$up"/>
+              <xsl:with-param name="next" select="$next"/>
+              <xsl:with-param name="prev" select="$prev"/>
+            </xsl:call-template>
+
+            <div class="foil-body">
+              <xsl:call-template name="foil-body">
+                <xsl:with-param name="home" select="$home"/>
+                <xsl:with-param name="up" select="$up"/>
+                <xsl:with-param name="next" select="$next"/>
+                <xsl:with-param name="prev" select="$prev"/>
+              </xsl:call-template>
+            </div>
+
+            <div id="overlayDiv">
+              <xsl:call-template name="overlayDiv.attributes"/>
+              <xsl:call-template name="foil-bottom-nav">
+                <xsl:with-param name="home" select="$home"/>
+                <xsl:with-param name="up" select="$up"/>
+                <xsl:with-param name="next" select="$next"/>
+                <xsl:with-param name="prev" select="$prev"/>
+              </xsl:call-template>
+            </div>
+          </div>
+
+          <xsl:call-template name="process.footnotes"/>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="foil-body">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template name="foil-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:call-template name="top-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="foil-bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:call-template name="bottom-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foil/title">
+  <h1 class="{name(.)}">
+    <xsl:apply-templates/>
+  </h1>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- foilgroup -->
+
+<xsl:template match="foilgroup">
+  <xsl:param name="thisfoilgroup">
+    <xsl:apply-templates select="." mode="chunk-filename"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="home" select="/slides"/>
+  <xsl:variable name="up" select="(parent::slides|parent::foilgroup)[1]"/>
+  <xsl:variable name="next" select="foil[1]"/>
+  <xsl:variable name="prev" select="(preceding::foil|parent::foilgroup|/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $thisfoilgroup)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="title"/></title>
+
+          <xsl:call-template name="system.head.content"/>
+
+	  <meta name="generator" content="DocBook Slides Stylesheets V{$VERSION}"/>
+
+          <!-- Links -->
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="home" select="$home"/>
+            <xsl:with-param name="up" select="$up"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="prev" select="$prev"/>
+          </xsl:call-template>
+
+          <!-- Scripts -->
+
+          <xsl:if test="$overlay != 0 or $keyboard.nav != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('</xsl:text>
+              <xsl:call-template name="script-dir"/>
+              <xsl:text disable-output-escaping="yes">');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:if test="$overlay != '0'">
+            <xsl:call-template name="overlay.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+
+          <xsl:call-template name="user.head.content"/>
+        </head>
+        <body>
+          <xsl:attribute name="class">
+            <xsl:value-of select="local-name(.)"/>
+            <xsl:if test="@role">
+              <xsl:text>-</xsl:text>
+              <xsl:value-of select="@role"/>
+            </xsl:if>
+          </xsl:attribute>
+
+          <xsl:call-template name="body.attributes"/>
+          <xsl:if test="$overlay != 0">
+            <xsl:attribute name="onload">
+              <xsl:text>overlaySetup('lc')</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:attribute name="onkeypress">
+              <xsl:text>navigate(event)</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <div class="{name(.)}" id="{$id}">
+            <xsl:call-template name="foilgroup-top-nav">
+              <xsl:with-param name="home" select="$home"/>
+              <xsl:with-param name="up" select="$up"/>
+              <xsl:with-param name="next" select="$next"/>
+              <xsl:with-param name="prev" select="$prev"/>
+            </xsl:call-template>
+
+	    <!-- n.b. the foilgroup-body template is responsible for generating -->
+	    <!-- the foilgroup toc -->
+            <div class="foilgroup-body">
+              <xsl:call-template name="foilgroup-body">
+                <xsl:with-param name="home" select="$home"/>
+                <xsl:with-param name="up" select="$up"/>
+                <xsl:with-param name="next" select="$next"/>
+                <xsl:with-param name="prev" select="$prev"/>
+              </xsl:call-template>
+            </div>
+
+            <div id="overlayDiv">
+              <xsl:call-template name="overlayDiv.attributes"/>
+              <xsl:call-template name="foilgroup-bottom-nav">
+                <xsl:with-param name="home" select="$home"/>
+                <xsl:with-param name="up" select="$up"/>
+                <xsl:with-param name="next" select="$next"/>
+                <xsl:with-param name="prev" select="$prev"/>
+              </xsl:call-template>
+            </div>
+          </div>
+
+          <xsl:call-template name="process.footnotes"/>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:apply-templates select="foil"/>
+</xsl:template>
+
+<xsl:template match="foilgroup/title">
+  <h1 class="{name(.)}"><xsl:apply-templates/></h1>
+</xsl:template>
+
+<xsl:template name="foilgroup-body">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:apply-templates select="*[name(.) != 'foil'                                 and name(.) != 'foilgroup']"/>
+
+  <xsl:if test="$foilgroup.toc != 0">
+    <dl class="toc">
+      <xsl:apply-templates select="foil" mode="toc"/>
+    </dl>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="foilgroup-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:call-template name="top-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="foilgroup-bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <xsl:call-template name="bottom-nav">
+    <xsl:with-param name="home" select="$home"/>
+    <xsl:with-param name="up" select="$up"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="prev" select="$prev"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="overlayDiv.attributes">
+  <xsl:choose>
+    <xsl:when test="$overlay != 0">
+      <xsl:attribute name="style">
+        <xsl:text>position: absolute; visibility: visible;</xsl:text>
+      </xsl:attribute>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:attribute name="style">padding-top: 2in;</xsl:attribute>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="processing-instruction('dbhtml')" mode="css.pi">
+  <xsl:variable name="href">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="."/>
+      <xsl:with-param name="attribute" select="'css-stylesheet'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="$href!=''">
+  <xsl:choose>
+    <xsl:when test="$href = ''">
+      <!-- nop -->
+    </xsl:when>
+    <xsl:when test="contains($href, '//')">
+      <link type="text/css" rel="stylesheet" href="{$href}"/>
+    </xsl:when>
+    <xsl:when test="starts-with($href, '/')">
+      <link type="text/css" rel="stylesheet" href="{$href}"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <link type="text/css" rel="stylesheet">
+        <xsl:attribute name="href">
+          <xsl:call-template name="css-file">
+            <xsl:with-param name="css" select="$href"/>
+          </xsl:call-template>
+        </xsl:attribute>
+      </link>
+    </xsl:otherwise>
+  </xsl:choose>
+  </xsl:if>
+
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="foil" mode="number">
+  <xsl:number count="foil|foilgroup" level="any"/>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="number">
+  <xsl:number count="foil|foilgroup" level="any"/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="slides" mode="filename">
+  <xsl:value-of select="$titlefoil.html"/>
+</xsl:template>
+
+<xsl:template match="foil" mode="filename">
+  <xsl:text>foil</xsl:text>
+  <xsl:number count="foil" level="any" format="01"/>
+  <xsl:value-of select="$html.ext"/>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="filename">
+  <xsl:text>foilgroup</xsl:text>
+  <xsl:number count="foilgroup" level="any" format="01"/>
+  <xsl:value-of select="$html.ext"/>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="processing-instruction('Pub')">
+  <xsl:variable name="pidata"><xsl:value-of select="(.)"/></xsl:variable>
+  <xsl:choose>
+    <xsl:when test="contains($pidata,'UDT')"/>
+    <xsl:when test="contains($pidata,'/_font')">
+      <xsl:text disable-output-escaping="yes">&lt;/span&gt;</xsl:text>
+    </xsl:when>
+    <xsl:when test="contains($pidata,'_font')">
+      <xsl:text disable-output-escaping="yes">&lt;span </xsl:text>
+      <xsl:choose>
+        <xsl:when test="contains($pidata,'green')">class="green"</xsl:when>
+        <xsl:when test="contains($pidata,'blue')">class="blue"</xsl:when>
+        <xsl:when test="contains($pidata,'orange')">class="orange"</xsl:when>
+        <xsl:when test="contains($pidata,'red')">class="red"</xsl:when>
+        <xsl:when test="contains($pidata,'brown')">class="brown"</xsl:when>
+        <xsl:when test="contains($pidata,'violet')">class="violet"</xsl:when>
+        <xsl:when test="contains($pidata,'black')">class="black"</xsl:when>
+        <xsl:otherwise>class="bold"</xsl:otherwise>
+      </xsl:choose>
+      <xsl:text disable-output-escaping="yes">&gt;</xsl:text>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+<!-- blocks -->
+
+<xsl:template match="figure">
+  <div class="{name(.)}">
+    <xsl:apply-imports/>
+  </div>
+  <xsl:if test="following-sibling::*"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template match="copyright" mode="slide.footer.mode">
+  <span class="{name(.)}">
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'Copyright'"/>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">copyright</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="copyright.years">
+      <xsl:with-param name="years" select="year"/>
+      <xsl:with-param name="print.ranges" select="$make.year.ranges"/>
+      <xsl:with-param name="single.year.ranges" select="$make.single.year.ranges"/>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="holder" mode="titlepage.mode"/>
+  </span>
+</xsl:template>
+
+<!-- ============================================================ -->
+<!-- inlines -->
+
+<xsl:template match="link">
+  <xsl:call-template name="link">
+    <xsl:with-param name="a.target" select="'foil'"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="ulink">
+  <a>
+    <xsl:if test="@id">
+      <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
+    </xsl:if>
+    <xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute>
+    <xsl:if test="$ulink.target != ''">
+      <xsl:attribute name="target">
+        <xsl:value-of select="$ulink.target"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:choose>
+      <xsl:when test="count(child::node())=0">
+	<xsl:value-of select="@url"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:apply-templates/>
+        <xsl:if test="@role='show'">
+          <xsl:text> (</xsl:text>
+          <xsl:value-of select="@url"/>
+          <xsl:text>)</xsl:text>
+        </xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </a>
+</xsl:template>
+
+<xsl:template match="title/ulink">
+  <a>
+    <xsl:if test="@id">
+      <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
+    </xsl:if>
+    <xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute>
+    <xsl:if test="$ulink.target != ''">
+      <xsl:attribute name="target">
+        <xsl:value-of select="$ulink.target"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:choose>
+      <xsl:when test="count(child::node())=0">
+	<xsl:value-of select="@url"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </a>
+</xsl:template>
+
+<xsl:template match="subtitle">
+  <h2 class="subtitle">
+    <xsl:apply-templates/>
+  </h2>
+</xsl:template>
+
+<xsl:template match="graphic">
+  <center>
+    <!-- can't this be done a better way? -->
+    <xsl:apply-imports/>
+  </center>
+</xsl:template>
+
+<xsl:template match="titleabbrev">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="speakernotes">
+  <!-- nop -->
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- Chunking for slides -->
+
+<xsl:template name="chunk">
+  <xsl:param name="node" select="."/>
+  <xsl:choose>
+    <xsl:when test="name($node)='slides'">1</xsl:when>
+    <xsl:when test="name($node)='foilgroup'">1</xsl:when>
+    <xsl:when test="name($node)='foil'">1</xsl:when>
+    <xsl:otherwise>0</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="chunk-filename">
+  <xsl:param name="recursive">0</xsl:param>
+  <!-- returns the filename of a chunk -->
+  <xsl:variable name="ischunk"><xsl:call-template name="chunk"/></xsl:variable>
+  <xsl:variable name="filename">
+    <xsl:call-template name="dbhtml-filename"/>
+  </xsl:variable>
+  <xsl:variable name="dir">
+    <xsl:call-template name="dbhtml-dir"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$ischunk='0'">
+      <!-- if called on something that isn't a chunk, walk up... -->
+      <xsl:choose>
+        <xsl:when test="count(./parent::*)&gt;0">
+          <xsl:apply-templates mode="chunk-filename" select="./parent::*">
+            <xsl:with-param name="recursive" select="$recursive"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <!-- unless there is no up, in which case return "" -->
+        <xsl:otherwise/>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="not($recursive) and $filename != ''">
+      <!-- if this chunk has an explicit name, use it -->
+      <xsl:if test="$dir != ''">
+        <xsl:value-of select="$dir"/>
+        <xsl:text>/</xsl:text>
+      </xsl:if>
+      <xsl:value-of select="$filename"/>
+    </xsl:when>
+
+    <xsl:when test="name(.)='foil'">
+      <xsl:variable name="foilnumber">
+	<xsl:number count="foil" level="any"/>
+      </xsl:variable>
+
+      <xsl:value-of select="$dir"/>
+      <xsl:text>foil</xsl:text>
+      <xsl:number value="$foilnumber" format="01"/>
+      <xsl:value-of select="$html.ext"/>
+    </xsl:when>
+
+    <xsl:when test="name(.)='foilgroup'">
+      <xsl:variable name="foilgroupnumber">
+        <xsl:number count="foilgroup" level="any" format="01"/>
+      </xsl:variable>
+
+      <xsl:value-of select="$dir"/>
+      <xsl:text>foilgroup</xsl:text>
+      <xsl:number value="$foilgroupnumber" format="01"/>
+      <xsl:value-of select="$html.ext"/>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:text>chunk-filename-error-</xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:number level="any" format="01" from="set"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- Handling of xrefs -->
+
+<xsl:template match="foil|foilgroup" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="@*" mode="copy">
+  <xsl:attribute name="{local-name(.)}">
+    <xsl:value-of select="."/>
+  </xsl:attribute>
+</xsl:template>
+
+<xsl:template xmlns:html="http://www.w3.org/1999/xhtml" match="html:*">
+  <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:apply-templates select="@*" mode="copy"/>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="foil.number">
+  <xsl:choose>
+    <xsl:when test="$show.foil.number != 0 and self::foil">
+      <xsl:number count="foil" level="any"/>
+      /
+      <xsl:value-of select="count(//foil)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      &#160;
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/xhtml/tables.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/xhtml/tables.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/xhtml/tables.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,334 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:param name="blank.image" select="'blank.png'"/>
+<xsl:param name="arrow.image" select="'pointer.png'"/>
+
+<xsl:param name="toc.bg.color">#6A719C</xsl:param>
+<xsl:param name="toc.width">220</xsl:param>
+
+<xsl:param name="css.stylesheet" select="'slides-table.css'"/>
+
+<!-- ============================================================ -->
+
+<xsl:template name="foilgroup-body">
+  <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
+    <tr>
+      <td width="{$toc.width}" valign="top" align="left">
+	<xsl:if test="$toc.bg.color != ''">
+	  <xsl:attribute name="bgcolor">
+	    <xsl:value-of select="$toc.bg.color"/>
+	  </xsl:attribute>
+	</xsl:if>
+        <div class="ttoc">
+          <xsl:apply-templates select="." mode="t-toc"/>
+        </div>
+      </td>
+      <td>&#160;</td>
+      <td valign="top" align="left">
+	<xsl:if test="$body.bg.color != ''">
+	  <xsl:attribute name="bgcolor">
+	    <xsl:value-of select="$body.bg.color"/>
+	  </xsl:attribute>
+	</xsl:if>
+        <div class="{name(.)}">
+          <xsl:apply-templates select="*[name(.) != 'foil'                                          and name(.) != 'foilgroup']"/>
+        </div>
+
+	<xsl:if test="$foilgroup.toc != 0">
+	  <dl class="toc">
+	    <xsl:apply-templates select="foil" mode="toc"/>
+	  </dl>
+	</xsl:if>
+      </td>
+    </tr>
+  </table>
+</xsl:template>
+
+<xsl:template name="foil-body">
+  <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
+    <tr>
+      <td width="{$toc.width}" valign="top" align="left">
+	<xsl:if test="$toc.bg.color != ''">
+	  <xsl:attribute name="bgcolor">
+	    <xsl:value-of select="$toc.bg.color"/>
+	  </xsl:attribute>
+	</xsl:if>
+        <div class="ttoc">
+          <xsl:apply-templates select="." mode="t-toc"/>
+        </div>
+      </td>
+      <td>&#160;</td>
+      <td valign="top" align="left">
+	<xsl:if test="$body.bg.color != ''">
+	  <xsl:attribute name="bgcolor">
+	    <xsl:value-of select="$body.bg.color"/>
+	  </xsl:attribute>
+	</xsl:if>
+        <div class="{name(.)}">
+          <xsl:apply-templates/>
+        </div>
+      </td>
+    </tr>
+  </table>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="foilgroup" mode="t-toc">
+  <xsl:variable name="thisfoilgroup" select="."/>
+
+  <xsl:for-each select="/slides/foil|/slides/foilgroup">
+    <xsl:choose>
+      <xsl:when test="name(.) = 'foilgroup'">
+        <xsl:choose>
+          <xsl:when test="$thisfoilgroup = .">
+            <img alt="+">
+              <xsl:attribute name="src">
+                <xsl:call-template name="graphics-file">
+                  <xsl:with-param name="image" select="$arrow.image"/>
+                </xsl:call-template>
+              </xsl:attribute>
+            </img>
+          </xsl:when>
+          <xsl:otherwise>
+            <img alt=" ">
+              <xsl:attribute name="src">
+                <xsl:call-template name="graphics-file">
+                  <xsl:with-param name="image" select="$blank.image"/>
+                </xsl:call-template>
+              </xsl:attribute>
+            </img>
+          </xsl:otherwise>
+        </xsl:choose>
+
+        <span class="ttoc-foilgroup">
+          <a>
+            <xsl:attribute name="href">
+              <xsl:apply-templates select="." mode="filename"/>
+            </xsl:attribute>
+            <xsl:apply-templates select="." mode="toc-title"/>
+          </a>
+        </span>
+        <br/>
+
+        <xsl:if test="$thisfoilgroup = .">
+          <xsl:for-each select="foil">
+            <img alt=" ">
+              <xsl:attribute name="src">
+                <xsl:call-template name="graphics-file">
+                  <xsl:with-param name="image" select="$blank.image"/>
+                </xsl:call-template>
+              </xsl:attribute>
+            </img>
+            <img alt=" ">
+              <xsl:attribute name="src">
+                <xsl:call-template name="graphics-file">
+                  <xsl:with-param name="image" select="$blank.image"/>
+                </xsl:call-template>
+              </xsl:attribute>
+            </img>
+
+            <span class="ttoc-foil">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="." mode="filename"/>
+                </xsl:attribute>
+                <xsl:apply-templates select="." mode="toc-title"/>
+              </a>
+            </span>
+            <br/>
+          </xsl:for-each>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+        <img alt=" ">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$blank.image"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+        <span class="ttoc-foil">
+          <a>
+            <xsl:attribute name="href">
+              <xsl:apply-templates select="." mode="filename"/>
+            </xsl:attribute>
+            <xsl:apply-templates select="." mode="toc-title"/>
+          </a>
+        </span>
+        <br/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:for-each>
+</xsl:template>
+
+<xsl:template match="foil" mode="t-toc">
+  <xsl:variable name="thisfoil" select="."/>
+
+  <xsl:for-each select="/slides/foil|/slides/foilgroup">
+    <xsl:choose>
+      <xsl:when test="name(.) = 'foilgroup'">
+        <img alt=" ">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$blank.image"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+        <span class="ttoc-foilgroup">
+          <a>
+            <xsl:attribute name="href">
+              <xsl:apply-templates select="." mode="filename"/>
+            </xsl:attribute>
+            <xsl:apply-templates select="." mode="toc-title"/>
+          </a>
+        </span>
+        <br/>
+
+        <xsl:if test="$thisfoil/ancestor::foilgroup = .">
+          <xsl:for-each select="foil">
+            <img alt=" ">
+              <xsl:attribute name="src">
+                <xsl:call-template name="graphics-file">
+                  <xsl:with-param name="image" select="$blank.image"/>
+                </xsl:call-template>
+              </xsl:attribute>
+            </img>
+
+            <xsl:choose>
+              <xsl:when test="$thisfoil = .">
+                <img alt="+">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="graphics-file">
+                      <xsl:with-param name="image" select="$arrow.image"/>
+                    </xsl:call-template>
+                  </xsl:attribute>
+                </img>
+              </xsl:when>
+              <xsl:otherwise>
+                <img alt=" ">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="graphics-file">
+                      <xsl:with-param name="image" select="$blank.image"/>
+                    </xsl:call-template>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <span class="ttoc-foil">
+              <a>
+                <xsl:attribute name="href">
+                  <xsl:apply-templates select="." mode="filename"/>
+                </xsl:attribute>
+                <xsl:apply-templates select="." mode="toc-title"/>
+              </a>
+            </span>
+            <br/>
+          </xsl:for-each>
+        </xsl:if>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- foils only -->
+        <xsl:for-each select="/slides/foil">
+          <xsl:choose>
+            <xsl:when test="$thisfoil = .">
+              <img alt="+">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="graphics-file">
+                    <xsl:with-param name="image" select="$arrow.image"/>
+                  </xsl:call-template>
+                </xsl:attribute>
+              </img>
+            </xsl:when>
+            <xsl:otherwise>
+              <img alt=" ">
+                <xsl:attribute name="src">
+                  <xsl:call-template name="graphics-file">
+                    <xsl:with-param name="image" select="$blank.image"/>
+                  </xsl:call-template>
+                </xsl:attribute>
+              </img>
+            </xsl:otherwise>
+          </xsl:choose>
+          <span class="ttoc-foil">
+            <xsl:apply-templates select="." mode="toc-title"/>
+          </span>
+          <br/>
+        </xsl:for-each>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:for-each>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="slides" mode="toc-title">
+  <xsl:call-template name="nobreak">
+    <xsl:with-param name="string">
+      <xsl:choose>
+        <xsl:when test="slidesinfo/titleabbrev">
+          <xsl:value-of select="slidesinfo/titleabbrev"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="slidesinfo/title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foilgroup" mode="toc-title">
+  <xsl:call-template name="nobreak">
+    <xsl:with-param name="string">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:value-of select="titleabbrev"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foil" mode="toc-title">
+  <xsl:call-template name="nobreak">
+    <xsl:with-param name="string">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:value-of select="titleabbrev"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="nobreak">
+  <xsl:param name="string" select="''"/>
+  <xsl:choose>
+    <xsl:when test="contains($string, ' ')">
+      <xsl:value-of select="substring-before($string, ' ')"/>
+      <xsl:text>&#160;</xsl:text>
+      <xsl:call-template name="nobreak">
+        <xsl:with-param name="string" select="substring-after($string, ' ')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$string"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/xhtml/vslides.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/xhtml/vslides.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/xhtml/vslides.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,652 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:param name="but-fforward.png" select="'active/but-fforward.png'"/>
+<xsl:param name="but-info.png" select="'active/but-info.png'"/>
+<xsl:param name="but-next.png" select="'active/but-next.png'"/>
+<xsl:param name="but-prev.png" select="'active/but-prev.png'"/>
+<xsl:param name="but-rewind.png" select="'active/but-rewind.png'"/>
+
+<xsl:param name="but-xfforward.png" select="'inactive/but-fforward.png'"/>
+<xsl:param name="but-xinfo.png" select="'inactive/but-info.png'"/>
+<xsl:param name="but-xnext.png" select="'inactive/but-next.png'"/>
+<xsl:param name="but-xprev.png" select="'inactive/but-prev.png'"/>
+<xsl:param name="but-xrewind.png" select="'inactive/but-rewind.png'"/>
+
+<!-- overrides for this stylesheet -->
+<xsl:param name="titlefoil.html" select="concat('index', $html.ext)"/>
+<xsl:param name="toc.width" select="40"/>
+
+<!-- ============================================================ -->
+
+<xsl:template match="slides">
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $toc.html)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="slidesinfo/title"/></title>
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="next" select="/slides"/>
+            <xsl:with-param name="tocfile" select="$toc.html"/>
+          </xsl:call-template>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('../browser');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+        </head>
+        <body class="tocpage">
+          <xsl:call-template name="body.attributes"/>
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:attribute name="onkeypress">
+              <xsl:text>navigate(event)</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
+            <tr>
+              <td>&#160;</td>
+              <td><xsl:apply-templates select="." mode="header"/></td>
+            </tr>
+
+            <tr>
+              <td width="{$toc.width}" valign="top" align="left">
+		<xsl:if test="$toc.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$toc.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+
+                <xsl:call-template name="vertical-navigation">
+                  <xsl:with-param name="next" select="/slides"/>
+                  <xsl:with-param name="tocfile"/>
+                </xsl:call-template>
+
+              </td>
+              <td valign="top" align="left">
+		<xsl:if test="$body.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$body.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+
+                <div class="{name(.)}">
+
+                  <div class="toc-body">
+                    <xsl:call-template name="toc-body"/>
+                  </div>
+
+                </div>
+              </td>
+            </tr>
+
+            <tr>
+              <td>&#160;</td>
+              <td><xsl:apply-templates select="." mode="footer"/></td>
+            </tr>
+          </table>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="slidesinfo">
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $titlefoil.html)"/>
+    <xsl:with-param name="content">
+      <html>
+        <head>
+          <title><xsl:value-of select="title"/></title>
+          <xsl:if test="$css.stylesheet != ''">
+            <link type="text/css" rel="stylesheet">
+              <xsl:attribute name="href">
+                <xsl:call-template name="css.stylesheet"/>
+              </xsl:attribute>
+            </link>
+          </xsl:if>
+          <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+          <xsl:call-template name="links">
+            <xsl:with-param name="next" select="(/slides/foil|/slides/foilgroup)[1]"/>
+            <xsl:with-param name="tocfile" select="$toc.html"/>
+          </xsl:call-template>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <script language="javascript" type="text/javascript">
+              <xsl:text> </xsl:text>
+            </script>
+          </xsl:if>
+
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:call-template name="ua.js"/>
+            <xsl:call-template name="xbDOM.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+            <xsl:call-template name="xbLibrary.js"/>
+            <script language="javascript" type="text/javascript">
+              <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('../browser');
+                // --&gt;
+              </xsl:text>
+            </script>
+            <xsl:call-template name="xbStyle.js"/>
+            <xsl:call-template name="xbCollapsibleLists.js"/>
+            <xsl:call-template name="slides.js">
+              <xsl:with-param name="language" select="'javascript'"/>
+            </xsl:call-template>
+          </xsl:if>
+        </head>
+        <body class="titlepage">
+          <xsl:call-template name="body.attributes"/>
+          <xsl:if test="$keyboard.nav != 0">
+            <xsl:attribute name="onkeypress">
+              <xsl:text>navigate(event)</xsl:text>
+            </xsl:attribute>
+          </xsl:if>
+
+          <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
+            <tr>
+              <td>&#160;</td>
+              <td><xsl:apply-templates select="." mode="header"/></td>
+            </tr>
+
+            <tr>
+              <td width="{$toc.width}" valign="top" align="left">
+		<xsl:if test="$toc.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$toc.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+
+                <xsl:call-template name="vertical-navigation">
+                  <xsl:with-param name="first"/>
+                  <xsl:with-param name="last" select="(following::foilgroup|following::foil)[last()]"/>
+                  <xsl:with-param name="next" select="(following::foilgroup|following::foil)[1]"/>
+                </xsl:call-template>
+
+              </td>
+              <td valign="top" align="left">
+		<xsl:if test="$body.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$body.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+                <div class="{name(.)}">
+                  <xsl:apply-templates mode="titlepage.mode"/>
+                </div>
+              </td>
+            </tr>
+
+            <tr>
+              <td>&#160;</td>
+              <td><xsl:apply-templates select="." mode="footer"/></td>
+            </tr>
+          </table>
+        </body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="foilgroup">
+  <xsl:param name="thisfoilgroup">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="nextfoil" select="foil[1]"/>
+  <xsl:variable name="lastfoil" select="(descendant::foil|following::foil)[last()]"/>
+  <xsl:variable name="prevfoil" select="(preceding::foil|/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $thisfoilgroup)"/>
+    <xsl:with-param name="content">
+      <html>
+	<head>
+	  <title><xsl:value-of select="title"/></title>
+	  <xsl:if test="$css.stylesheet != ''">
+	    <link type="text/css" rel="stylesheet">
+	      <xsl:attribute name="href">
+		<xsl:call-template name="css.stylesheet"/>
+	      </xsl:attribute>
+	    </link>
+	  </xsl:if>
+	  <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+	  <xsl:call-template name="links">
+	    <xsl:with-param name="prev" select="$prevfoil"/>
+	    <xsl:with-param name="next" select="$nextfoil"/>
+	  </xsl:call-template>
+	  
+	  <xsl:if test="$keyboard.nav != 0">
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text> </xsl:text>
+	    </script>
+	  </xsl:if>
+
+	  <xsl:if test="$keyboard.nav != 0">
+	    <xsl:call-template name="ua.js"/>
+	    <xsl:call-template name="xbDOM.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	    <xsl:call-template name="xbLibrary.js"/>
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('../browser');
+                // --&gt;
+              </xsl:text>
+            </script>
+	    <xsl:call-template name="xbStyle.js"/>
+	    <xsl:call-template name="xbCollapsibleLists.js"/>
+	    <xsl:call-template name="slides.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	  </xsl:if>
+	</head>
+	<body class="foilgroup">
+	  <xsl:call-template name="body.attributes"/>
+	  <xsl:if test="$keyboard.nav != 0">
+	    <xsl:attribute name="onkeypress">
+	      <xsl:text>navigate(event)</xsl:text>
+	    </xsl:attribute>
+	  </xsl:if>
+
+	  <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
+	    <tr>
+	      <td>&#160;</td>
+	      <td><xsl:apply-templates select="." mode="header"/></td>
+	    </tr>
+	    
+	    <tr>
+	      <td width="{$toc.width}" valign="top" align="left">
+		<xsl:if test="$toc.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$toc.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+		
+		<xsl:call-template name="vertical-navigation">
+		  <xsl:with-param name="last" select="$lastfoil"/>
+		  <xsl:with-param name="prev" select="$prevfoil"/>
+		  <xsl:with-param name="next" select="$nextfoil"/>
+		</xsl:call-template>
+		
+	      </td>
+	      <td valign="top" align="left">
+		<xsl:if test="$body.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$body.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+
+		<div class="{name(.)}">
+		  <xsl:apply-templates/>
+		</div>
+	      </td>
+	    </tr>
+
+	    <tr>
+	      <td>&#160;</td>
+	      <td><xsl:apply-templates select="." mode="footer"/></td>
+	    </tr>
+	  </table>
+	</body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:apply-templates select="foil"/>
+</xsl:template>
+
+<xsl:template match="foil">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="foilgroup" select="ancestor::foilgroup"/>
+
+  <xsl:variable name="thisfoil">
+    <xsl:apply-templates select="." mode="filename"/>
+  </xsl:variable>
+
+  <xsl:variable name="nextfoil" select="(following::foil                                         |following::foilgroup)[1]"/>
+
+  <xsl:variable name="lastfoil" select="following::foil[last()]"/>
+
+  <xsl:variable name="prevfoil" select="(preceding-sibling::foil[1]                                         |parent::foilgroup[1]                                         |/slides)[last()]"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="indent" select="$output.indent"/>
+    <xsl:with-param name="filename" select="concat($base.dir, $thisfoil)"/>
+    <xsl:with-param name="content">
+      <html>
+	<head>
+	  <title><xsl:value-of select="title"/></title>
+	  <xsl:if test="$css.stylesheet != ''">
+	    <link type="text/css" rel="stylesheet">
+	      <xsl:attribute name="href">
+		<xsl:call-template name="css.stylesheet"/>
+	      </xsl:attribute>
+	    </link>
+	  </xsl:if>
+	  <xsl:apply-templates select="/processing-instruction('dbhtml')" mode="css.pi"/>
+
+	  <xsl:call-template name="links">
+	    <xsl:with-param name="prev" select="$prevfoil"/>
+	    <xsl:with-param name="next" select="$nextfoil"/>
+	  </xsl:call-template>
+
+	  <xsl:if test="$keyboard.nav != 0">
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text> </xsl:text>
+	    </script>
+	  </xsl:if>
+
+	  <xsl:if test="$keyboard.nav != 0">
+	    <xsl:call-template name="ua.js"/>
+	    <xsl:call-template name="xbDOM.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	    <xsl:call-template name="xbLibrary.js"/>
+	    <script language="javascript" type="text/javascript">
+	      <xsl:text disable-output-escaping="yes">
+                &lt;!--
+                xblibrary = new xbLibrary('../browser');
+                // --&gt;
+              </xsl:text>
+            </script>
+	    <xsl:call-template name="xbStyle.js"/>
+	    <xsl:call-template name="xbCollapsibleLists.js"/>
+	    <xsl:call-template name="slides.js">
+	      <xsl:with-param name="language" select="'javascript'"/>
+	    </xsl:call-template>
+	  </xsl:if>
+	</head>
+	<body class="foil">
+	  <xsl:call-template name="body.attributes"/>
+	  <xsl:if test="$keyboard.nav != 0">
+	    <xsl:attribute name="onkeypress">
+	      <xsl:text>navigate(event)</xsl:text>
+	    </xsl:attribute>
+	  </xsl:if>
+
+	  <table border="0" width="100%" summary="Navigation and body table" cellpadding="0" cellspacing="0">
+	    <tr>
+	      <td>&#160;</td>
+	      <td><xsl:apply-templates select="." mode="header"/></td>
+	    </tr>
+
+	    <tr>
+	      <td width="{$toc.width}" valign="top" align="left">
+		<xsl:if test="$toc.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$toc.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+
+		<xsl:call-template name="vertical-navigation">
+		  <xsl:with-param name="last" select="$lastfoil"/>
+		  <xsl:with-param name="prev" select="$prevfoil"/>
+		  <xsl:with-param name="next" select="$nextfoil"/>
+		</xsl:call-template>
+
+	      </td>
+	      <td valign="top" align="left">
+		<xsl:if test="$body.bg.color != ''">
+		  <xsl:attribute name="bgcolor">
+		    <xsl:value-of select="$body.bg.color"/>
+		  </xsl:attribute>
+		</xsl:if>
+
+		<div class="{name(.)}">
+		  <xsl:apply-templates/>
+		</div>
+	      </td>
+	    </tr>
+
+	    <tr>
+	      <td>&#160;</td>
+	      <td><xsl:apply-templates select="." mode="footer"/></td>
+	    </tr>
+	  </table>
+	</body>
+      </html>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="slidesinfo" mode="header">
+  <div class="navhead">
+    <!-- nop -->
+  </div>
+</xsl:template>
+
+<xsl:template match="foil|foilgroup" mode="header">
+  <div class="navhead">
+    <table border="0" width="100%" summary="Header table" cellpadding="0" cellspacing="0">
+      <tr>
+        <td align="left">
+          <xsl:apply-templates select="/slides/slidesinfo/title" mode="slide.footer.mode"/>
+        </td>
+        <td align="right">
+          <xsl:value-of select="count(preceding::foil)                                 + count(preceding::foilgroup)                                 + count(ancestor::foilgroup)                                 + 1"/>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template match="slidesinfo" mode="footer">
+  <div class="navfoot">
+    <!-- nop -->
+  </div>
+</xsl:template>
+
+<xsl:template match="foil|foilgroup" mode="footer">
+  <div class="navfoot">
+    <table border="0" width="100%" summary="Header table" cellpadding="0" cellspacing="0">
+      <tr>
+        <td align="center">
+          <xsl:text>Slide </xsl:text>
+          <xsl:value-of select="count(preceding::foil)                                 + count(preceding::foilgroup)                                 + count(ancestor::foilgroup)                                 + 1"/>
+          <xsl:text> of </xsl:text>
+          <xsl:value-of select="count(//foil) + count(//foilgroup)"/>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template match="slides" mode="footer"/>
+
+<!-- ============================================================ -->
+
+<xsl:template name="vertical-navigation">
+  <xsl:param name="first" select="/slides"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="last"/>
+  <xsl:param name="next"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="vnav">
+    <xsl:choose>
+      <xsl:when test="$first">
+        <a>
+          <xsl:attribute name="href">
+            <xsl:apply-templates select="$first" mode="filename"/>
+          </xsl:attribute>
+          <img border="0" alt="First">
+            <xsl:attribute name="src">
+              <xsl:call-template name="graphics-file">
+                <xsl:with-param name="image" select="$but-rewind.png"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </img>
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <img alt="First">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$but-xrewind.png"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+      </xsl:otherwise>
+    </xsl:choose>
+    <br/>
+    <xsl:choose>
+      <xsl:when test="$prev">
+        <a>
+          <xsl:attribute name="href">
+            <xsl:apply-templates select="$prev" mode="filename"/>
+          </xsl:attribute>
+          <img border="0" alt="Previous">
+            <xsl:attribute name="src">
+              <xsl:call-template name="graphics-file">
+                <xsl:with-param name="image" select="$but-prev.png"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </img>
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <img alt="Previous">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$but-xprev.png"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+      </xsl:otherwise>
+    </xsl:choose>
+    <br/>
+    <xsl:choose>
+      <xsl:when test="$next">
+        <a>
+          <xsl:attribute name="href">
+            <xsl:apply-templates select="$next" mode="filename"/>
+          </xsl:attribute>
+          <img border="0" alt="Last">
+            <xsl:attribute name="src">
+              <xsl:call-template name="graphics-file">
+                <xsl:with-param name="image" select="$but-next.png"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </img>
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <img alt="Last">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$but-xnext.png"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+      </xsl:otherwise>
+    </xsl:choose>
+    <br/>
+    <xsl:choose>
+      <xsl:when test="$last">
+        <a>
+          <xsl:attribute name="href">
+            <xsl:apply-templates select="$last" mode="filename"/>
+          </xsl:attribute>
+          <img border="0" alt="Next">
+            <xsl:attribute name="src">
+              <xsl:call-template name="graphics-file">
+                <xsl:with-param name="image" select="$but-fforward.png"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </img>
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <img alt="Next">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$but-xfforward.png"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <br/>
+    <br/>
+
+    <xsl:choose>
+      <xsl:when test="$tocfile != ''">
+        <a href="{$tocfile}">
+          <img border="0" alt="ToC">
+            <xsl:attribute name="src">
+              <xsl:call-template name="graphics-file">
+                <xsl:with-param name="image" select="$but-info.png"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </img>
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <img border="0" alt="ToC">
+          <xsl:attribute name="src">
+            <xsl:call-template name="graphics-file">
+              <xsl:with-param name="image" select="$but-xinfo.png"/>
+            </xsl:call-template>
+          </xsl:attribute>
+        </img>
+      </xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/slides/xhtml/w3c.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/slides/xhtml/w3c.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/slides/xhtml/w3c.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,358 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<xsl:import href="slides-common.xsl"/>
+
+<xsl:param name="logo.image.uri" select="''"/>
+<xsl:param name="logo.uri" select="''"/>
+<xsl:param name="logo.title" select="''"/>
+
+<xsl:param name="next.image" select="'active/w3c-next.png'"/>
+<xsl:param name="no.next.image" select="'inactive/w3c-next.png'"/>
+
+<xsl:param name="prev.image" select="'active/w3c-prev.png'"/>
+<xsl:param name="no.prev.image" select="'inactive/w3c-prev.png'"/>
+
+<xsl:param name="toc.image" select="'active/w3c-toc.png'"/>
+<xsl:param name="no.toc.image" select="'inactive/w3c-toc.png'"/>
+
+<xsl:param name="css.stylesheet" select="'slides-w3c.css'"/>
+
+<xsl:template name="logo">
+  <xsl:if test="$logo.uri != ''">
+    <a href="{$logo.uri}" title="{$logo.title}">
+      <xsl:choose>
+        <xsl:when test="$logo.image.uri=''">
+          <xsl:value-of select="$logo.title"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <img src="{$logo.image.uri}" alt="{$logo.title}" border="0"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </a>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="overlayDiv.attributes">
+  <xsl:if test="$overlay != 0">
+    <xsl:attribute name="style">
+      <xsl:text>position: absolute; visibility: visible;</xsl:text>
+    </xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table class="navbar" cellspacing="0" cellpadding="0" border="0" width="97%" summary="Navigation buttons">
+      <tr>
+        <td align="left" valign="top">
+          <xsl:call-template name="logo"/>
+        </td>
+        <td valign="top" nowrap="nowrap" width="150">
+          <div align="right">
+            <xsl:choose>
+              <xsl:when test="$prev">
+                <a rel="previous" accesskey="P">
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <img border="0" width="32" height="32" alt=" Previous" title="{$prev/title}">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Previous" title="">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <xsl:choose>
+              <xsl:when test="$tocfile != ''">
+                <a rel="contents" href="{$tocfile}" accesskey="C">
+                  <img border="0" width="32" height="32" alt=" Contents" title="Table of Contents">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="toc.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Contents" title="Table of Contents">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.toc.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <xsl:choose>
+              <xsl:when test="$next">
+                <a rel="next" accesskey="N">
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <img border="0" width="32" height="32" alt=" Next" title="{$next/title}">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Next" title="">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.next.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+          </div>
+        </td>
+      </tr>
+    </table>
+
+    <xsl:apply-templates select="title"/>
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<xsl:template name="bottom-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navfoot">
+    <hr class="bottom-nav-sep"/>
+    <table class="footer" cellspacing="0" cellpadding="0" border="0" width="97%" summary="footer">
+      <tr>
+        <td align="left" valign="top">
+          <xsl:variable name="author" select="(/slides/slidesinfo//author                                               |/slides/slidesinfo//editor)"/>
+          <xsl:for-each select="$author">
+            <xsl:choose>
+              <xsl:when test=".//email">
+                <a href="mailto:{.//email[1]}">
+                  <xsl:call-template name="person.name"/>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:call-template name="person.name"/>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <xsl:if test="position() &lt; last()">, </xsl:if>
+          </xsl:for-each>
+        </td>
+        <td align="right" valign="top">
+          <span class="index">
+            <xsl:value-of select="count(preceding::foil)                                   + count(preceding::foilgroup)                                   + count(ancestor::foilgroup)                                   + 1"/>
+            <xsl:text> of </xsl:text>
+            <xsl:value-of select="count(//foil|//foilgroup)"/>
+          </span>
+        </td>
+
+        <td valign="top" nowrap="nowrap" width="150">
+          <div align="right">
+            <xsl:choose>
+              <xsl:when test="$prev">
+                <a rel="previous" accesskey="P">
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <img border="0" width="32" height="32" alt=" Previous" title="{$prev/title}">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Prev" title="">
+                <xsl:attribute name="src">
+                    <xsl:call-template name="no.prev.image"/>
+                </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <xsl:choose>
+              <xsl:when test="$next">
+                <a rel="next" accesskey="N">
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <img border="0" width="32" height="32" alt=" Next" title="{$next/title}">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Next" title="">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.next.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+          </div>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="titlepage-top-nav">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <div class="navhead">
+    <table class="navbar" cellspacing="0" cellpadding="0" border="0" width="97%" summary="Navigation buttons">
+      <tr>
+        <td align="left" valign="top">
+          <xsl:call-template name="logo"/>
+        </td>
+        <td valign="top" nowrap="nowrap" width="150">
+          <div align="right">
+            <xsl:choose>
+              <xsl:when test="$prev">
+                <a rel="previous" accesskey="P">
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$prev" mode="filename"/>
+                  </xsl:attribute>
+                  <img border="0" width="32" height="32" alt=" Previous" title="{$prev/title}">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="prev.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Previous" title="">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.prev.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <xsl:choose>
+              <xsl:when test="$tocfile != ''">
+                <a rel="contents" href="{$tocfile}" accesskey="C">
+                  <img border="0" width="32" height="32" alt=" Contents" title="Table of Contents">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="toc.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Contents" title="Table of Contents">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.toc.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+
+            <xsl:choose>
+              <xsl:when test="$next">
+                <a rel="next" accesskey="N">
+                  <xsl:attribute name="href">
+                    <xsl:apply-templates select="$next" mode="filename"/>
+                  </xsl:attribute>
+                  <img border="0" width="32" height="32" alt=" Next" title="{$next/title}">
+                    <xsl:attribute name="src">
+                      <xsl:call-template name="next.image"/>
+                    </xsl:attribute>
+                  </img>
+                </a>
+              </xsl:when>
+              <xsl:otherwise>
+                <img border="0" width="32" height="32" alt=" Next" title="">
+                  <xsl:attribute name="src">
+                    <xsl:call-template name="no.next.image"/>
+                  </xsl:attribute>
+                </img>
+              </xsl:otherwise>
+            </xsl:choose>
+          </div>
+        </td>
+      </tr>
+    </table>
+
+    <hr class="top-nav-sep"/>
+  </div>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="foil-body">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <!-- skip the title -->
+  <xsl:apply-templates select="*[name(.) != 'title']"/>
+</xsl:template>
+
+<xsl:template name="foilgroup-body">
+  <xsl:param name="home"/>
+  <xsl:param name="up"/>
+  <xsl:param name="next"/>
+  <xsl:param name="prev"/>
+  <xsl:param name="tocfile" select="$toc.html"/>
+
+  <!-- skip the title -->
+  <xsl:apply-templates select="*[name(.) != 'title'                                 and name(.) != 'foil'                                 and name(.) != 'foilgroup']"/>
+
+  <xsl:if test="$foilgroup.toc != 0">
+    <dl class="toc">
+      <xsl:apply-templates select="foil" mode="toc"/>
+    </dl>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="@*" mode="copy">
+  <xsl:attribute name="{local-name(.)}">
+    <xsl:value-of select="."/>
+  </xsl:attribute>
+</xsl:template>
+
+<xsl:template xmlns:html="http://www.w3.org/1999/xhtml" match="html:*">
+  <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:apply-templates select="@*" mode="copy"/>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/template/titlepage.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/template/titlepage.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/template/titlepage.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1293 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:t="http://nwalsh.com/docbook/xsl/template/1.0"
+                xmlns:param="http://nwalsh.com/docbook/xsl/template/1.0/param"
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="doc t param exsl"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: titlepage.xsl 6452 2006-12-16 07:05:57Z mzjn $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="/">
+  <xsl:text>&#x0a;</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>&#x0a;</xsl:text>
+</xsl:template>
+
+<doc:reference xmlns="">
+<referenceinfo>
+<releaseinfo role="meta">
+$Id: titlepage.xsl 6452 2006-12-16 07:05:57Z mzjn $
+</releaseinfo>
+<author><surname>Walsh</surname>
+<firstname>Norman</firstname></author>
+<copyright><year>1999</year><year>2000</year>
+<holder>Norman Walsh</holder>
+</copyright>
+</referenceinfo>
+<title>Template Stylesheet Reference</title>
+
+<partintro id="intro_partintro">
+<title>Introduction</title>
+
+<para>This is technical reference documentation for the DocBook XSL
+Stylesheets; it documents (some of) the parameters, templates, and
+other elements of the stylesheets.</para>
+
+<para>This is not intended to be <quote>user</quote> documentation.
+It is provided for developers writing customization layers for the
+stylesheets, and for anyone who's interested in <quote>how it
+works</quote>.</para>
+
+<para>Although I am trying to be thorough, this documentation is known
+to be incomplete. Don't forget to read the source, too :-)</para>
+</partintro>
+
+</doc:reference>
+
+<!-- ==================================================================== -->
+
+<xsl:preserve-space elements="*"/>
+<xsl:strip-space elements="xsl:* t:*"/>
+
+<!-- ==================================================================== -->
+
+<doc:template match="t:templates" xmlns="" id="templates">
+<refpurpose>Construct a stylesheet for the templates provided</refpurpose>
+
+<refdescription>
+<para>The <literal>t:templates</literal> element is the root of a
+set of templates. This template creates an appropriate
+<literal>xsl:stylesheet</literal> for the templates.</para>
+
+<para>If the <literal>t:templates</literal> element has a
+<literal>base-stylesheet</literal> attribute, an
+<literal>xsl:import</literal> statement is constructed for it.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template match="t:templates">
+  <xsl:element name="xsl:stylesheet">
+
+    <xsl:for-each select="document('')/xsl:stylesheet/namespace::exsl">
+      <xsl:copy/>
+    </xsl:for-each>
+
+    <xsl:attribute name="version">1.0</xsl:attribute>
+    <xsl:attribute name="exclude-result-prefixes">exsl</xsl:attribute>
+
+    <xsl:text>&#xA;&#xA;</xsl:text>
+    <xsl:comment>
+      <xsl:text> This stylesheet was created by </xsl:text>
+      <xsl:text>template/titlepage.xsl; </xsl:text>
+      <xsl:text>do not edit it by hand. </xsl:text>
+    </xsl:comment>
+
+    <xsl:if test="@t:base-stylesheet">
+      <xsl:text>&#xA;&#xA;</xsl:text>
+      <xsl:element name="xsl:import">
+        <xsl:attribute name="href">
+          <xsl:value-of select="@t:base-stylesheet"/>
+        </xsl:attribute>
+      </xsl:element>
+    </xsl:if>
+
+    <xsl:apply-templates/>
+
+    <xsl:text>&#xA;&#xA;</xsl:text>
+  </xsl:element>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template match="xsl:*" xmlns="" id="star">
+<refpurpose>Copy xsl: elements straight through</refpurpose>
+
+<refdescription>
+<para>This template simply copies the xsl: elements
+straight through into the result tree.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template match="xsl:*">
+  <xsl:apply-templates select="." mode="copy"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template match="t:titlepage" xmlns="" id="titlepage">
+<refpurpose>Create the templates necessary to construct a title page</refpurpose>
+
+<refdescription>
+<para>The <literal>t:titlepage</literal> element creates a set of
+templates for processing the titlepage for an element. The
+<quote>root</quote> of this template set is the template named
+<quote><literal>wrapper.titlepage</literal></quote>. That is the
+template that should be called to generate the title page.
+</para>
+
+<para>The <literal>t:titlepage</literal> element has three attributes:
+
+<variablelist>
+<varlistentry><term>element</term>
+<listitem><para>The name of the source document element for which
+these templates apply. In other words, to make a title page for the
+<sgmltag>article</sgmltag> element, set the
+<sgmltag class="attribute">element</sgmltag> attribute to
+<quote><literal>article</literal></quote>. This attribute is required.
+</para></listitem>
+</varlistentry>
+<varlistentry><term>wrapper</term>
+<listitem><para>The entire title page can be wrapped with an element.
+This attribute identifies that element.
+</para></listitem>
+</varlistentry>
+<varlistentry><term>class</term>
+<listitem><para>If the <sgmltag class="attribute">class</sgmltag> attribute
+is set, a <sgmltag class="attribute">class</sgmltag> attribute with this
+value will be added to the wrapper element that surrounds the entire
+title page.
+</para></listitem>
+</varlistentry>
+</variablelist>
+</para>
+
+<para>Any other attributes are copied through literally to the
+wrapper element.</para>
+
+<para>The content of a <literal>t:titlepage</literal> is one or
+more <literal>t:titlepage-content</literal>,
+<literal>t:titlepage-separator</literal>, and
+<literal>t:titlepage-before</literal> elements.</para>
+
+<para>Each of these elements may be provided for the <quote>recto</quote>
+and <quote>verso</quote> sides of the title page.</para>
+
+</refdescription>
+</doc:template>
+
+<xsl:template match="t:titlepage">
+  <!-- process the children to make the templates for the content,
+       separator, and before elements -->
+  <xsl:apply-templates/>
+
+  <!-- output the title page template -->
+  <xsl:text>&#xA;&#xA;</xsl:text>
+  <xsl:element name="xsl:template">
+    <xsl:attribute name="name">
+      <xsl:value-of select="@t:element"/>
+      <xsl:text>.titlepage</xsl:text>
+    </xsl:attribute>
+    <xsl:text>&#xA;  </xsl:text>
+    <xsl:element name="{@t:wrapper}">
+      <xsl:apply-templates select="@*" mode="copy.literal.atts"/>
+      <xsl:text>&#xA;    </xsl:text>
+      <xsl:element name="xsl:variable">
+        <xsl:attribute name="name">recto.content</xsl:attribute>
+        <xsl:text>&#xA;      </xsl:text>
+        <xsl:element name="xsl:call-template">
+          <xsl:attribute name="name">
+            <xsl:value-of select="@t:element"/>
+            <xsl:text>.titlepage.before.recto</xsl:text>
+          </xsl:attribute>
+        </xsl:element>
+        <xsl:text>&#xA;      </xsl:text>
+        <xsl:element name="xsl:call-template">
+          <xsl:attribute name="name">
+            <xsl:value-of select="@t:element"/>
+            <xsl:text>.titlepage.recto</xsl:text>
+          </xsl:attribute>
+        </xsl:element>
+        <xsl:text>&#xA;    </xsl:text>
+      </xsl:element>
+      <xsl:text>&#xA;    </xsl:text>
+      <xsl:element name="xsl:variable">
+	<xsl:attribute name="name">recto.elements.count</xsl:attribute>
+	<xsl:text>&#xA;      </xsl:text>
+	<xsl:element name="xsl:choose">
+	  <xsl:text>&#xA;        </xsl:text>
+	  <xsl:element name="xsl:when">
+	    <xsl:attribute name="test">function-available('exsl:node-set')</xsl:attribute>
+	    <xsl:element name="xsl:value-of">
+	      <xsl:attribute name="select">count(exsl:node-set($recto.content)/*)</xsl:attribute>
+	    </xsl:element>
+	  </xsl:element>
+	  <xsl:text>&#xA;        </xsl:text>
+	  <xsl:element name="xsl:when">
+	    <xsl:attribute name="test">contains(system-property('xsl:vendor'), 'Apache Software Foundation')</xsl:attribute>
+	    <xsl:text>&#xA;          </xsl:text>
+	    <xsl:comment>Xalan quirk</xsl:comment>
+	    <xsl:element name="xsl:value-of">
+	      <xsl:attribute name="select">count(exsl:node-set($recto.content)/*)</xsl:attribute>
+	    </xsl:element>
+	  </xsl:element>
+	  <xsl:text>&#xA;        </xsl:text>
+	  <xsl:element name="xsl:otherwise">
+	    <xsl:text>1</xsl:text>
+	  </xsl:element>
+	  <xsl:text>&#xA;      </xsl:text>
+	</xsl:element>
+	<xsl:text>&#xA;    </xsl:text>
+      </xsl:element>
+      <xsl:text>&#xA;    </xsl:text>
+      <xsl:element name="xsl:if">
+        <xsl:attribute name="test">(normalize-space($recto.content) != '') or ($recto.elements.count > 0)</xsl:attribute>
+        <xsl:text>&#xA;      </xsl:text>
+        <xsl:element name="{@t:wrapper}">
+          <xsl:apply-templates select="t:titlepage-content[@t:side='recto']/@*"
+                               mode="copy.literal.atts"/>
+          <xsl:element name="xsl:copy-of">
+            <xsl:attribute name="select">$recto.content</xsl:attribute>
+          </xsl:element>
+        </xsl:element>
+        <xsl:text>&#xA;    </xsl:text>
+      </xsl:element>
+      <xsl:text>&#xA;    </xsl:text>
+      <xsl:element name="xsl:variable">
+        <xsl:attribute name="name">verso.content</xsl:attribute>
+        <xsl:text>&#xA;      </xsl:text>
+        <xsl:element name="xsl:call-template">
+          <xsl:attribute name="name">
+            <xsl:value-of select="@t:element"/>
+            <xsl:text>.titlepage.before.verso</xsl:text>
+          </xsl:attribute>
+        </xsl:element>
+        <xsl:text>&#xA;      </xsl:text>
+        <xsl:element name="xsl:call-template">
+          <xsl:attribute name="name">
+            <xsl:value-of select="@t:element"/>
+            <xsl:text>.titlepage.verso</xsl:text>
+          </xsl:attribute>
+        </xsl:element>
+        <xsl:text>&#xA;    </xsl:text>
+      </xsl:element>
+      <xsl:text>&#xA;    </xsl:text>
+      <xsl:element name="xsl:variable">
+	<xsl:attribute name="name">verso.elements.count</xsl:attribute>
+	<xsl:text>&#xA;      </xsl:text>
+	<xsl:element name="xsl:choose">
+	  <xsl:text>&#xA;        </xsl:text>
+	  <xsl:element name="xsl:when">
+	    <xsl:attribute name="test">function-available('exsl:node-set')</xsl:attribute>
+	    <xsl:element name="xsl:value-of">
+	      <xsl:attribute name="select">count(exsl:node-set($verso.content)/*)</xsl:attribute>
+	    </xsl:element>
+	  </xsl:element>
+	  <xsl:text>&#xA;        </xsl:text>
+	  <xsl:element name="xsl:when">
+	    <xsl:attribute name="test">contains(system-property('xsl:vendor'), 'Apache Software Foundation')</xsl:attribute>
+	    <xsl:text>&#xA;          </xsl:text>
+	    <xsl:comment>Xalan quirk</xsl:comment>
+	    <xsl:element name="xsl:value-of">
+	      <xsl:attribute name="select">count(exsl:node-set($verso.content)/*)</xsl:attribute>
+	    </xsl:element>
+	  </xsl:element>
+	  <xsl:text>&#xA;        </xsl:text>
+	  <xsl:element name="xsl:otherwise">
+	    <xsl:text>1</xsl:text>
+	  </xsl:element>
+	  <xsl:text>&#xA;      </xsl:text>
+	</xsl:element>
+	<xsl:text>&#xA;    </xsl:text>
+      </xsl:element>
+      <xsl:text>&#xA;    </xsl:text>
+      <xsl:element name="xsl:if">
+        <xsl:attribute name="test">(normalize-space($verso.content) != '') or ($verso.elements.count > 0)</xsl:attribute>
+        <xsl:text>&#xA;      </xsl:text>
+        <xsl:element name="{@t:wrapper}">
+          <xsl:apply-templates select="t:titlepage-content[@t:side='verso']/@*"
+                               mode="copy.literal.atts"/>
+          <xsl:element name="xsl:copy-of">
+            <xsl:attribute name="select">$verso.content</xsl:attribute>
+          </xsl:element>
+        </xsl:element>
+        <xsl:text>&#xA;    </xsl:text>
+      </xsl:element>
+      <xsl:text>&#xA;    </xsl:text>
+      <xsl:element name="xsl:call-template">
+        <xsl:attribute name="name">
+          <xsl:value-of select="@t:element"/>
+          <xsl:text>.titlepage.separator</xsl:text>
+        </xsl:attribute>
+      </xsl:element>
+      <xsl:text>&#xA;  </xsl:text>
+    </xsl:element>
+    <xsl:text>&#xA;</xsl:text>
+  </xsl:element>
+
+  <!-- If we're not importing a base stylesheet, output a default rule
+       for the recto- and verso-mode elements. (If we are importing a
+       base stylesheet, don't do this since the *-rules in the stylesheet
+       will totally override the rules that would otherwise be imported.)
+       -->
+
+  <xsl:if test="not(../@t:base-stylesheet)">
+    <!-- output a default rule for the recto-modes elements -->
+    <xsl:text>&#xA;&#xA;</xsl:text>
+    <xsl:element name="xsl:template">
+      <xsl:attribute name="match">*</xsl:attribute>
+      <xsl:attribute name="mode">
+        <xsl:value-of select="@t:element"/>
+        <xsl:text>.titlepage.recto.mode</xsl:text>
+      </xsl:attribute>
+      <xsl:text>&#xA;  </xsl:text>
+      <xsl:comment> if an element isn't found in this mode, </xsl:comment>
+      <xsl:text>&#xA;  </xsl:text>
+      <xsl:comment> try the generic titlepage.mode </xsl:comment>
+      <xsl:text>&#xA;  </xsl:text>
+      <xsl:element name="xsl:apply-templates">
+        <xsl:attribute name="select">.</xsl:attribute>
+        <xsl:attribute name="mode">titlepage.mode</xsl:attribute>
+      </xsl:element>
+      <xsl:text>&#xA;</xsl:text>
+    </xsl:element>
+
+    <!-- output a default rule for the verso-modes elements -->
+    <xsl:text>&#xA;&#xA;</xsl:text>
+    <xsl:element name="xsl:template">
+      <xsl:attribute name="match">*</xsl:attribute>
+      <xsl:attribute name="mode">
+        <xsl:value-of select="@t:element"/>
+        <xsl:text>.titlepage.verso.mode</xsl:text>
+      </xsl:attribute>
+      <xsl:text>&#xA;  </xsl:text>
+      <xsl:comment> if an element isn't found in this mode, </xsl:comment>
+      <xsl:text>&#xA;  </xsl:text>
+      <xsl:comment> try the generic titlepage.mode </xsl:comment>
+      <xsl:text>&#xA;  </xsl:text>
+      <xsl:element name="xsl:apply-templates">
+        <xsl:attribute name="select">.</xsl:attribute>
+        <xsl:attribute name="mode">titlepage.mode</xsl:attribute>
+      </xsl:element>
+      <xsl:text>&#xA;</xsl:text>
+    </xsl:element>
+  </xsl:if>
+
+  <!-- output default templates for each of the elements listed in  -->
+  <!-- the titlepage-content. If a template is suppressed or forced -->
+  <!-- to be off, or has already been output, don't output it.      -->
+  <xsl:for-each select="t:titlepage-content/*">
+    <xsl:variable name="thisnode" select="."/>
+    <xsl:if test="(not(@t:suppress-template) or @t:suppress-template='0')
+                  and (not(@t:force) or @t:force='0')
+                  and (not(preceding-sibling::*[name(.)=name($thisnode)]))">
+      <xsl:text>&#xA;&#xA;</xsl:text>
+      <xsl:element name="xsl:template">
+        <xsl:attribute name="match">
+          <xsl:value-of select="name(.)"/>
+        </xsl:attribute>
+        <xsl:attribute name="mode">
+          <xsl:value-of select="../../@t:element"/>
+          <xsl:text>.titlepage.</xsl:text>
+          <xsl:value-of select="../@t:side"/>
+          <xsl:text>.auto.mode</xsl:text>
+        </xsl:attribute>
+        <xsl:text>&#xA;</xsl:text>
+        <xsl:element name="{../../@t:wrapper}">
+          <xsl:attribute name="xsl:use-attribute-sets">
+            <xsl:value-of select="../../@t:element"/>
+            <xsl:text>.titlepage.</xsl:text>
+            <xsl:value-of select="../@t:side"/>
+            <xsl:text>.style</xsl:text>
+          </xsl:attribute>
+          <xsl:for-each select="@*">
+            <xsl:if test="not(starts-with(namespace-uri(.),
+                                'http://nwalsh.com/docbook/xsl/template/1.0'))">
+              <xsl:attribute name="{name(.)}" namespace="{namespace-uri(.)}">
+                <xsl:value-of select="."/>
+              </xsl:attribute>
+            </xsl:if>
+          </xsl:for-each>
+          <xsl:text>&#xA;</xsl:text>
+
+          <xsl:choose>
+            <xsl:when test="@t:named-template">
+              <xsl:element name="xsl:call-template">
+                <xsl:attribute name="name">
+                  <xsl:value-of select="@t:named-template"/>
+                </xsl:attribute>
+                <xsl:for-each select="@*">
+                  <xsl:if test="namespace-uri(.)='http://nwalsh.com/docbook/xsl/template/1.0/param'">
+                    <xsl:text>&#xA;</xsl:text>
+                    <xsl:element name="xsl:with-param">
+                      <xsl:attribute name="name">
+                        <xsl:value-of select="local-name(.)"/>
+                      </xsl:attribute>
+                      <xsl:attribute name="select">
+                        <xsl:value-of select="."/>
+                      </xsl:attribute>
+                    </xsl:element>
+                  </xsl:if>
+                </xsl:for-each>
+                <xsl:text>&#xA;</xsl:text>
+              </xsl:element>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:element name="xsl:apply-templates">
+                <xsl:attribute name="select">.</xsl:attribute>
+                <xsl:attribute name="mode">
+                  <xsl:value-of select="../../@t:element"/>
+                  <xsl:text>.titlepage.</xsl:text>
+                  <xsl:value-of select="../@t:side"/>
+                  <xsl:text>.mode</xsl:text>
+                </xsl:attribute>
+              </xsl:element>
+            </xsl:otherwise>
+          </xsl:choose>
+
+          <xsl:text>&#xA;</xsl:text>
+        </xsl:element>
+        <xsl:text>&#xA;</xsl:text>
+      </xsl:element>
+    </xsl:if>
+  </xsl:for-each>
+</xsl:template>
+
+<doc:template match="@*" mode="copy.literal.atts" xmlns=""
+              id="attr_star_in_copy.literal.atts">
+<refpurpose>Copy t:titlepage attributes</refpurpose>
+
+<refdescription>
+<para>This template copies all of the <quote>other</quote> attributes
+from a <literal>t:titlepage</literal> element onto the specified
+wrapper.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template match="@*" mode="copy.literal.atts">
+  <xsl:if test="not(starts-with(namespace-uri(.),
+                                'http://nwalsh.com/docbook/xsl/template/1.0'))">
+    <xsl:attribute name="{name(.)}">
+      <xsl:value-of select="."/>
+    </xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template match="t:titlepage-content" id="titlepage-content">
+<refpurpose>Create templates for the content of one side of a title page</refpurpose>
+
+<refdescription>
+<para>The title page content, that is, the elements from the source
+document that are rendered on the title page, can be controlled independently
+for the recto and verso sides of the title page.</para>
+
+<para>The <literal>t:titlepage-content</literal> element has two attributes:
+
+<variablelist>
+<varlistentry><term>side</term>
+<listitem><para>Identifies the side of the page to which this title
+page content applies. The
+<sgmltag class="attribute">side</sgmltag> attribute is required and
+must be set to either 
+<quote><literal>recto</literal></quote> or
+<quote><literal>verso</literal></quote>. In addition, you must specify
+exactly one <literal>t:titlepage-content</literal> for each side
+within each <literal>t:titlepage</literal>.</para>
+</listitem>
+</varlistentry>
+<varlistentry><term>order</term>
+<listitem><para>Indicates how the order of the elements presented on
+the title page is determined. If the
+<sgmltag class="attribute">order</sgmltag> is
+<quote><literal>document</literal></quote>, the elements are presented
+in document order. Otherwise (if the
+<sgmltag class="attribute">order</sgmltag> is
+<quote><literal>stylesheet</literal></quote>), the elements are presented
+in the order that they appear in the template (and consequently in
+the stylesheet).</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</para>
+
+<para>The content of a <literal>t:titlepage-content</literal> element is
+a list of element names. These names should be unqualified.  They identify
+the elements in the source document that should appear on the title page.
+</para>
+
+<para>Each element may have a single attribute:
+<sgmltag class="attribute">predicate</sgmltag>. The value of this
+attribute is used as a predicate for the expression that matches
+the element on which it occurs.</para>
+
+<para>In other words, to put only the first three authors on the
+recto-side of a title
+page, you could specify:
+
+<screen><![CDATA[
+  <t:titlepage-contents side="recto">
+    <!-- other titlepage elements -->
+    <author predicate="[count(previous-sibling::author)<2]"/>
+    <!-- other titlepage elements -->
+  </t:titlepage-contents>
+]]></screen>
+</para>
+
+<para>Usually, the elements so named are empty. But it is possible to
+make one level of selection within them. Suppose that you want to
+process <literal>authorgroup</literal> elements on the title page, but
+you want to select only proper authors, editors, or corporate authors,
+not collaborators or other credited authors.</para>
+
+<para>In that case, you can put a <literal>t:or</literal> group inside
+the <literal>authorgroup</literal> element:
+
+<screen><![CDATA[
+  <t:titlepage-contents side="recto">
+    <!-- other titlepage elements -->
+    <authorgroup>
+      <t:or>
+        <author/>
+        <editor/>
+        <corpauthor/>
+      </t:or>
+    </authorgroup>
+    <!-- other titlepage elements -->
+  </t:titlepage-contents>
+]]></screen>
+</para>
+
+<para>This will have the effect of automatically generating a template
+for processing <literal>authorgroup</literal>s in the title page mode,
+selecting only the specified children. If you need more complex processing,
+you'll have to construct the templates by hand.</para>
+
+</refdescription>
+</doc:template>
+
+<xsl:template match="t:titlepage-content">
+  <xsl:variable name="side">
+    <xsl:choose>
+      <xsl:when test="@t:side='recto' or @t:side='verso'">
+        <xsl:value-of select="@t:side"/>
+      </xsl:when>
+      <xsl:when test="@t:side">
+        <xsl:message terminate="yes">
+          <xsl:text>Illegal value specified for @t:side </xsl:text>
+          <xsl:text>on t:titlepage-content: </xsl:text>
+          <xsl:value-of select="@t:side"/>
+        </xsl:message>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:message terminate="yes">
+          <xsl:text>The @t:side attribute is required on </xsl:text>
+          <xsl:text>t:titlepage-content.</xsl:text>
+        </xsl:message>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="mode">
+    <xsl:value-of select="../@t:element"/>
+    <xsl:text>.titlepage.</xsl:text>
+    <xsl:value-of select="$side"/>
+    <xsl:text>.auto.mode</xsl:text>
+  </xsl:variable>
+
+  <xsl:text>&#xA;&#xA;</xsl:text>
+  <xsl:element name="xsl:template">
+    <xsl:attribute name="name">
+      <xsl:value-of select="../@t:element"/>
+      <xsl:text>.titlepage.</xsl:text>
+      <xsl:value-of select="$side"/>
+    </xsl:attribute>
+
+    <xsl:choose>
+      <!-- if document order is selected, make a huge select statement
+           on a single xsl:apply-templates to pick out the right elements
+           for the title page. -->
+      <xsl:when test="@t:order='document'">
+        <xsl:if test="count(child::*)&gt;0">
+          <xsl:element name="xsl:apply-templates">
+            <xsl:attribute name="mode">
+              <xsl:value-of select="$mode"/>
+            </xsl:attribute>
+            <xsl:attribute name="select">
+              <xsl:apply-templates mode="document.order"/>
+            </xsl:attribute>
+          </xsl:element>
+        </xsl:if>
+      </xsl:when>
+
+      <!-- otherwise, select each of the elements in the specified order -->
+      <xsl:otherwise>
+        <xsl:apply-templates mode="stylesheet.order"/>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:text>&#xA;</xsl:text>
+  </xsl:element>
+  <xsl:apply-templates mode="titlepage.specialrules"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template match="t:titlepage-separator" id="titlepage-separator">
+<refpurpose>Create templates for the separator</refpurpose>
+
+<refdescription>
+<para>The title page is separated from the content which follows it by
+the markup specified in the <literal>t:titlepage-separator</literal>
+element.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template match="t:titlepage-separator">
+  <xsl:text>&#xA;&#xA;</xsl:text>
+  <xsl:element name="xsl:template">
+    <xsl:attribute name="name">
+      <xsl:value-of select="../@t:element"/>
+      <xsl:text>.titlepage.separator</xsl:text>
+    </xsl:attribute>
+
+    <xsl:apply-templates mode="copy"/>
+    <xsl:text>&#xA;</xsl:text>
+  </xsl:element>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template match="t:titlepage-before" id="titlepage-before">
+<refpurpose>Create templates for what precedes a title page</refpurpose>
+
+<refdescription>
+<para>Each side of the title page is preceded by the markup specified
+in the <literal>t:titlepage-before</literal> element for that
+side.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template match="t:titlepage-before">
+  <xsl:text>&#xA;&#xA;</xsl:text>
+  <xsl:element name="xsl:template">
+    <xsl:attribute name="name">
+      <xsl:value-of select="../@t:element"/>
+      <xsl:text>.titlepage.before.</xsl:text>
+      <xsl:value-of select="@t:side"/>
+    </xsl:attribute>
+
+    <xsl:apply-templates mode="copy"/>
+    <xsl:text>&#xA;</xsl:text>
+  </xsl:element>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template match="*" mode="copy" xmlns="" id="star_in_copy">
+<refpurpose>Copy elements</refpurpose>
+
+<refdescription>
+<para>This template simply copies the elements that it applies to
+straight through into the result tree.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template match="*" mode="copy">
+  <xsl:element name="{name(.)}">
+    <xsl:apply-templates select="@*" mode="copy"/>
+    <xsl:apply-templates mode="copy"/>
+  </xsl:element>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template match="@*" mode="copy" xmlns="" id="attr_star_in_copy">
+<refpurpose>Copy attributes</refpurpose>
+
+<refdescription>
+<para>This template simply copies the attributes that it applies to
+straight through into the result tree.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template match="@*" mode="copy">
+  <xsl:attribute name="{name(.)}">
+    <xsl:value-of select="."/>
+  </xsl:attribute>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template match="*" mode="document.order" xmlns="" id="attr_star_in_document.order">
+<refpurpose>Create rules to process titlepage elements in document order</refpurpose>
+
+<refdescription>
+<para>This template is called to process all of the children of the
+<literal>t:titlepage-content</literal> element. It creates the hairy
+select expression necessary to process each of those elements in
+the title page.</para>
+
+<para>Note that this template automatically handles the case where
+some DocBook elements, like title and subtitle, can occur both inside
+the *info elements where metadata is usually stored and outside.
+</para>
+
+<para>It also automatically calculates the name for the *info container
+and handles elements that have historically had containers with different
+names.</para>
+
+</refdescription>
+</doc:template>
+
+<xsl:template match="*" mode="document.order">
+  <xsl:variable name="docinfo">
+    <xsl:value-of select="ancestor::t:titlepage/@t:element"/>
+    <xsl:text>info</xsl:text>
+  </xsl:variable>
+
+  <xsl:variable name="altinfo">
+    <xsl:choose>
+      <xsl:when test="ancestor::t:titlepage/@t:element='article'">
+        <xsl:text>artheader</xsl:text>
+      </xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='qandaset'">
+        <xsl:text>blockinfo</xsl:text>
+      </xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='section'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='sect1'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='sect2'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='sect3'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='sect4'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='sect5'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='book'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='set'"></xsl:when>
+      <xsl:otherwise>docinfo</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="side">
+    <xsl:choose>
+      <xsl:when test="ancestor::t:titlepage-content/@t:side">
+        <xsl:value-of select="ancestor::t:titlepage-content/@t:side"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:text>recto</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="mode">
+    <xsl:value-of select="ancestor::t:titlepage/@t:element"/>
+    <xsl:text>.titlepage.</xsl:text>
+    <xsl:value-of select="$side"/>
+    <xsl:text>.auto.mode</xsl:text>
+  </xsl:variable>
+
+  <xsl:if test="preceding-sibling::*">
+    <xsl:text>|</xsl:text>
+  </xsl:if>
+
+  <xsl:value-of select="$docinfo"/>
+  <xsl:text>/</xsl:text>
+  <xsl:value-of select="name(.)"/>
+  <xsl:if test="@t:predicate">
+    <xsl:value-of select="@t:predicate"/>
+  </xsl:if>
+
+  <xsl:if test="$altinfo != ''">
+    <xsl:text>|</xsl:text>
+    <xsl:value-of select="$altinfo"/>
+    <xsl:text>/</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:if test="@t:predicate">
+      <xsl:value-of select="@t:predicate"/>
+    </xsl:if>
+  </xsl:if>
+
+  <!-- info -->
+  <xsl:text>|info</xsl:text>
+  <xsl:text>/</xsl:text>
+  <xsl:value-of select="name(.)"/>
+  <xsl:if test="@t:predicate">
+    <xsl:value-of select="@t:predicate"/>
+  </xsl:if>
+
+  <xsl:if test="local-name(.) = 'title'
+                or local-name(.) = 'subtitle'
+                or local-name(.) = 'titleabbrev'">
+    <xsl:text>|</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:if test="@t:predicate">
+      <xsl:value-of select="@t:predicate"/>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template match="*" mode="document.order" xmlns="" id="star_in_document.order">
+<refpurpose>Create rules to process titlepage elements in stylesheet order</refpurpose>
+
+<refdescription>
+<para>This template is called to process all of the children of the
+<literal>t:titlepage-content</literal> element. It creates the set
+of <literal>xsl:apply-templates</literal> elements necessary
+process each of those elements in the title page.</para>
+
+<para>Note that this template automatically handles the case where
+some DocBook elements, like title and subtitle, can occur both inside
+the *info elements where metadata is usually stored and outside.
+</para>
+
+<para>It also automatically calculates the name for the *info container
+and handles elements that have historically had containers with different
+names.</para>
+
+</refdescription>
+</doc:template>
+
+<xsl:template match="*" mode="stylesheet.order">
+  <xsl:variable name="docinfo">
+    <xsl:value-of select="ancestor::t:titlepage/@t:element"/>
+    <xsl:text>info</xsl:text>
+  </xsl:variable>
+
+  <xsl:variable name="altinfo">
+    <xsl:choose>
+      <xsl:when test="ancestor::t:titlepage/@t:element='article'">
+        <xsl:text>artheader</xsl:text>
+      </xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='qandaset'">
+        <xsl:text>blockinfo</xsl:text>
+      </xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='section'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='sect1'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='sect2'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='sect3'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='sect4'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='sect5'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='book'"></xsl:when>
+      <xsl:when test="ancestor::t:titlepage/@t:element='set'"></xsl:when>
+      <xsl:otherwise>docinfo</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="side">
+    <xsl:choose>
+      <xsl:when test="ancestor::t:titlepage-content/@t:side">
+        <xsl:value-of select="ancestor::t:titlepage-content/@t:side"/>
+      </xsl:when>
+      <xsl:otherwise>recto</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="mode">
+    <xsl:value-of select="ancestor::t:titlepage/@t:element"/>
+    <xsl:text>.titlepage.</xsl:text>
+    <xsl:value-of select="$side"/>
+    <xsl:text>.auto.mode</xsl:text>
+  </xsl:variable>
+
+  <xsl:text>&#xA;  </xsl:text>
+
+  <xsl:choose>
+    <xsl:when test="@t:force and @t:force != '0'">
+      <xsl:choose>
+        <xsl:when test="@t:named-template">
+          <xsl:element name="{../../@t:wrapper}">
+            <xsl:attribute name="xsl:use-attribute-sets">
+              <xsl:value-of select="../../@t:element"/>
+              <xsl:text>.titlepage.</xsl:text>
+              <xsl:value-of select="../@t:side"/>
+              <xsl:text>.style</xsl:text>
+            </xsl:attribute>
+            <xsl:for-each select="@*">
+              <xsl:if test="not(starts-with(namespace-uri(.),
+                                  'http://nwalsh.com/docbook/xsl/template/1.0'))">
+                <xsl:attribute name="{name(.)}" namespace="{namespace-uri(.)}">
+                  <xsl:value-of select="."/>
+                </xsl:attribute>
+              </xsl:if>
+            </xsl:for-each>
+            <xsl:text>&#xA;</xsl:text>
+            <xsl:element name="xsl:call-template">
+              <xsl:attribute name="name">
+                <xsl:value-of select="@t:named-template"/>
+              </xsl:attribute>
+              <xsl:for-each select="@*">
+                <xsl:if test="namespace-uri(.)='http://nwalsh.com/docbook/xsl/template/1.0/param'">
+                  <xsl:text>&#xA;</xsl:text>
+                  <xsl:element name="xsl:with-param">
+                    <xsl:attribute name="name">
+                      <xsl:value-of select="local-name(.)"/>
+                    </xsl:attribute>
+                    <xsl:attribute name="select">
+                      <xsl:value-of select="."/>
+                    </xsl:attribute>
+                  </xsl:element>
+                </xsl:if>
+              </xsl:for-each>
+              <xsl:text>&#xA;</xsl:text>
+            </xsl:element>
+          </xsl:element>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message terminate="yes">
+            <xsl:text>Force can only be used with named-templates.</xsl:text>
+          </xsl:message>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+
+      <xsl:choose>
+        <xsl:when test="local-name(.) = 'title'
+                        or local-name(.) = 'subtitle'
+                        or local-name(.) = 'titleabbrev'">
+          <!-- the title, subtitle, and titleabbrev elements are special -->
+          <xsl:element name="xsl:choose">
+            <xsl:text>&#xA;    </xsl:text>
+            <xsl:element name="xsl:when">
+              <xsl:attribute name="test">
+                <xsl:value-of select="$docinfo"/>
+                <xsl:text>/</xsl:text>
+                <xsl:value-of select="name(.)"/>
+              </xsl:attribute>
+              <xsl:text>&#xA;      </xsl:text>
+              <xsl:element name="xsl:apply-templates">
+                <xsl:attribute name="mode">
+                  <xsl:value-of select="$mode"/>
+                </xsl:attribute>
+                <xsl:attribute name="select">
+                  <xsl:value-of select="$docinfo"/>
+                  <xsl:text>/</xsl:text>
+                  <xsl:value-of select="name(.)"/>
+                  <xsl:if test="@t:predicate">
+                    <xsl:value-of select="@t:predicate"/>
+                  </xsl:if>
+                </xsl:attribute>
+              </xsl:element>
+              <xsl:text>&#xA;    </xsl:text>
+            </xsl:element>
+
+            <xsl:if test="$altinfo != ''">
+              <xsl:text>&#xA;    </xsl:text>
+              <xsl:element name="xsl:when">
+                <xsl:attribute name="test">
+                  <xsl:value-of select="$altinfo"/>
+                  <xsl:text>/</xsl:text>
+                  <xsl:value-of select="name(.)"/>
+                </xsl:attribute>
+                <xsl:text>&#xA;      </xsl:text>
+                <xsl:element name="xsl:apply-templates">
+                  <xsl:attribute name="mode">
+                    <xsl:value-of select="$mode"/>
+                  </xsl:attribute>
+                  <xsl:attribute name="select">
+                    <xsl:value-of select="$altinfo"/>
+                    <xsl:text>/</xsl:text>
+                    <xsl:value-of select="name(.)"/>
+                    <xsl:if test="@t:predicate">
+                      <xsl:value-of select="@t:predicate"/>
+                    </xsl:if>
+                  </xsl:attribute>
+                </xsl:element>
+                <xsl:text>&#xA;    </xsl:text>
+              </xsl:element>
+            </xsl:if>
+
+            <!-- info -->
+            <xsl:text>&#xA;    </xsl:text>
+            <xsl:element name="xsl:when">
+              <xsl:attribute name="test">
+                <xsl:value-of select="'info'"/>
+                <xsl:text>/</xsl:text>
+                <xsl:value-of select="name(.)"/>
+              </xsl:attribute>
+              <xsl:text>&#xA;      </xsl:text>
+              <xsl:element name="xsl:apply-templates">
+                <xsl:attribute name="mode">
+                  <xsl:value-of select="$mode"/>
+                </xsl:attribute>
+                <xsl:attribute name="select">
+                  <xsl:value-of select="'info'"/>
+                  <xsl:text>/</xsl:text>
+                  <xsl:value-of select="name(.)"/>
+                  <xsl:if test="@t:predicate">
+                    <xsl:value-of select="@t:predicate"/>
+                  </xsl:if>
+                </xsl:attribute>
+              </xsl:element>
+              <xsl:text>&#xA;    </xsl:text>
+            </xsl:element>
+
+            <xsl:text>&#xA;    </xsl:text>
+            <xsl:element name="xsl:when">
+              <xsl:attribute name="test">
+                <xsl:value-of select="name(.)"/>
+              </xsl:attribute>
+              <xsl:text>&#xA;      </xsl:text>
+              <xsl:element name="xsl:apply-templates">
+                <xsl:attribute name="mode">
+                  <xsl:value-of select="$mode"/>
+                </xsl:attribute>
+                <xsl:attribute name="select">
+                  <xsl:value-of select="name(.)"/>
+                  <xsl:if test="@t:predicate">
+                    <xsl:value-of select="@t:predicate"/>
+                  </xsl:if>
+                </xsl:attribute>
+              </xsl:element>
+              <xsl:text>&#xA;    </xsl:text>
+            </xsl:element>
+            <xsl:text>&#xA;  </xsl:text>
+          </xsl:element>
+          <xsl:text>&#xA;</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+
+          <!-- first take care of the $docinfo version -->
+          <xsl:element name="xsl:apply-templates">
+            <xsl:attribute name="mode">
+              <xsl:value-of select="$mode"/>
+            </xsl:attribute>
+            <xsl:attribute name="select">
+              <xsl:value-of select="$docinfo"/>
+              <xsl:text>/</xsl:text>
+              <xsl:value-of select="name(.)"/>
+              <xsl:if test="@t:predicate">
+                <xsl:value-of select="@t:predicate"/>
+              </xsl:if>
+            </xsl:attribute>
+          </xsl:element>
+
+          <!-- then take care of the $altinfo version -->
+          <xsl:if test="$altinfo != ''">
+            <xsl:text>&#xA;  </xsl:text>
+            <xsl:element name="xsl:apply-templates">
+              <xsl:attribute name="mode">
+                <xsl:value-of select="$mode"/>
+              </xsl:attribute>
+              <xsl:attribute name="select">
+                <xsl:value-of select="$altinfo"/>
+                <xsl:text>/</xsl:text>
+                <xsl:value-of select="name(.)"/>
+                <xsl:if test="@t:predicate">
+                  <xsl:value-of select="@t:predicate"/>
+                </xsl:if>
+              </xsl:attribute>
+            </xsl:element>
+          </xsl:if>
+
+          <!-- info -->
+          <xsl:text>&#xA;  </xsl:text>
+          <xsl:element name="xsl:apply-templates">
+            <xsl:attribute name="mode">
+              <xsl:value-of select="$mode"/>
+            </xsl:attribute>
+            <xsl:attribute name="select">
+              <xsl:value-of select="'info'"/>
+              <xsl:text>/</xsl:text>
+              <xsl:value-of select="name(.)"/>
+              <xsl:if test="@t:predicate">
+                <xsl:value-of select="@t:predicate"/>
+              </xsl:if>
+            </xsl:attribute>
+          </xsl:element>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template match="*" mode="titlepage.specialrules" xmlns=""
+              id="star_in_titlepage.specialrules">
+<refpurpose>Create templates for special rules</refpurpose>
+
+<refdescription>
+<para>This template is called to process all of the descendants of the
+<literal>t:titlepage-content</literal> element that require special
+processing. At present, that's just <literal>t:or</literal> elements.
+</para>
+</refdescription>
+</doc:template>
+
+<xsl:template match="*" mode="titlepage.specialrules">
+  <xsl:variable name="side">
+    <xsl:choose>
+      <xsl:when test="ancestor::t:titlepage-content/@t:side">
+        <xsl:value-of select="ancestor::t:titlepage-content/@t:side"/>
+      </xsl:when>
+      <xsl:otherwise>recto</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="mode">
+    <xsl:value-of select="ancestor::t:titlepage/@t:element"/>
+    <xsl:text>.titlepage.</xsl:text>
+    <xsl:value-of select="$side"/>
+    <xsl:text>.auto.mode</xsl:text>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="name(.)='t:or'">
+      <xsl:apply-templates select="*" mode="titlepage.specialrules"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="*"><!-- does this element have children? -->
+      <xsl:text>&#xA;&#xA;</xsl:text>
+        <xsl:element name="xsl:template">
+          <xsl:attribute name="match">
+            <xsl:value-of select="name(.)"/>
+          </xsl:attribute>
+          <xsl:attribute name="mode">
+            <xsl:value-of select="$mode"/>
+          </xsl:attribute>
+          <xsl:apply-templates select="*" mode="titlepage.subrules"/>
+          <xsl:text>&#xA;</xsl:text>
+        </xsl:element>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template match="*" mode="titlepage.subrules" xmlns=""
+              id="star_in_titlepage.subrules">
+<refpurpose>Create template for individual special rules</refpurpose>
+
+<refdescription>
+<para>This template is called to process the children of special
+template elements.
+</para>
+</refdescription>
+</doc:template>
+
+<xsl:template match="*" mode="titlepage.subrules">
+  <xsl:variable name="side">
+    <xsl:choose>
+      <xsl:when test="ancestor::t:titlepage-content/@t:side">
+        <xsl:value-of select="ancestor::t:titlepage-content/@t:side"/>
+      </xsl:when>
+      <xsl:otherwise>recto</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="mode">
+    <xsl:value-of select="ancestor::t:titlepage/@t:element"/>
+    <xsl:text>.titlepage.</xsl:text>
+    <xsl:value-of select="$side"/>
+    <xsl:text>.auto.mode</xsl:text>
+  </xsl:variable>
+
+  <xsl:element name="xsl:apply-templates">
+    <xsl:attribute name="select">
+      <xsl:value-of select="name(.)"/>
+    </xsl:attribute>
+    <xsl:attribute name="mode">
+      <xsl:value-of select="$mode"/>
+    </xsl:attribute>
+  </xsl:element>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template match="t:or" xmlns="" id="or">
+<refpurpose>Process the t:or special rule</refpurpose>
+
+<refdescription>
+<para>This template processes t:or.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template match="t:or">
+  <xsl:variable name="side">
+    <xsl:choose>
+      <xsl:when test="ancestor::t:titlepage-content/@t:side">
+        <xsl:value-of select="ancestor::t:titlepage-content/@t:side"/>
+      </xsl:when>
+      <xsl:otherwise>recto</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="mode">
+    <xsl:value-of select="ancestor::t:titlepage/@t:element"/>
+    <xsl:text>.titlepage.</xsl:text>
+    <xsl:value-of select="$side"/>
+    <xsl:text>.auto.mode</xsl:text>
+  </xsl:variable>
+
+  <xsl:text>&#xA;  </xsl:text>
+  <xsl:element name="xsl:apply-templates">
+    <xsl:attribute name="select">
+      <xsl:call-template name="element-or-list"/>
+    </xsl:attribute>
+    <xsl:attribute name="mode">
+      <xsl:value-of select="$mode"/>
+    </xsl:attribute>
+  </xsl:element>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template match="t:or" mode="titlepage.subrules" xmlns=""
+              id="or_in_titlepage.subrules">
+<refpurpose>Process the t:or special rule in
+titlepage.subrules mode</refpurpose>
+
+<refdescription>
+<para>The titlepage.subrules mode doesn't apply to t:or, so just
+reprocess this node in the normal mode.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template match="t:or" mode="titlepage.subrules">
+  <xsl:apply-templates select="."/><!-- use normal mode -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<doc:template name="element-or-list" xmlns="">
+<refpurpose>Construct the "or-list" used in the select attribute for
+special rules.</refpurpose>
+
+<refdescription>
+<para>Walk through each of the children of t:or, producing the
+text of the select attribute.</para>
+</refdescription>
+</doc:template>
+
+<xsl:template name="element-or-list">
+  <xsl:param name="elements" select="*"/>
+  <xsl:param name="element.count" select="count($elements)"/>
+  <xsl:param name="count" select="1"/>
+  <xsl:param name="orlist"></xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$count>$element.count">
+      <xsl:value-of select="$orlist"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="element-or-list">
+        <xsl:with-param name="elements" select="$elements"/>
+        <xsl:with-param name="element.count" select="$element.count"/>
+        <xsl:with-param name="count" select="$count+1"/>
+        <xsl:with-param name="orlist">
+          <xsl:value-of select="$orlist"/>
+          <xsl:if test="not($orlist='')">|</xsl:if>
+          <xsl:value-of select="name($elements[position()=$count])"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/make/Makefile.DocBook
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/make/Makefile.DocBook	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/make/Makefile.DocBook	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,632 @@
+# $Source$
+# $Author: xmldoc $
+# $Date: 2006-09-01 15:47:16 +0900 (Fri, 01 Sep 2006) $
+# $Revision: 6235 $
+# vim: number
+#
+# -----------------------------------------------------------------
+#  ** Makefile.DocBook -- generate output from DocBook sources **
+# -----------------------------------------------------------------
+#
+#   This file is part of the DocBook Project XSL Stylesheet
+#   distribution.
+#
+#   See http://docbook.sourceforge.net/release/xsl/current/
+#   for copyright and other information.
+
+# DOCBOOK_OUTPUT_FORMATS is the default set of targets (output
+# formats) that get built when you type "make" without any targets
+# explicitly specified. To generate a different set of output
+# formats, change the value of DOCBOOK_OUTPUT_FORMATS here or set
+# it in your environment; for example:
+#
+#   set DOCBOOK_OUTPUT_FORMATS="html pdf"; export DOCBOOK_OUTPUT_FORMATS
+#
+# Of course by explicitly specifying particular targets when you
+# invoke "make", you can always override generation of the default
+# set of targets; for example:
+#
+#   make html txt
+#
+# That would generate just HTML (unchunked) and plain-text output.
+#
+DOCBOOK_OUTPUT_FORMATS ?= man chunk txt pdf
+
+# If you want XHTML output instead of HTML, set HTML_OR_XHTML to
+# 'xhtml' or just specify 'xhtml" in DOCBOOK_OUTPUT_FORMATS.
+ifeq ($(findstring xhtml,$(DOCBOOK_OUTPUT_FORMATS)),)
+HTML_OR_XHTML ?= html
+else
+HTML_OR_XHTML ?= xhtml
+endif
+
+# -----------------------------------------------------------------
+#                *** TOOLS and other DEPENDENCIES ***
+# -----------------------------------------------------------------
+# we use rmdir(1) to remove dirs we create for chunked HTML output
+RMDIR = rmdir
+# "-p" causes empty parent dirs to be deleted as well
+RMDIR_FLAGS = --ignore-fail-on-non-empty -p
+
+# possible values for PDF_MAKER are:
+#   dblatex|fop|xep|xmlroff|passivetex
+PDF_MAKER = fop
+
+# possible values for TXT_MAKER are:
+#   links|lynx|w3m|w3mmee
+TXT_MAKER = links
+TXT_MAKER_FLAGS = -dump
+
+# xsl
+XSLT = xsltproc
+XSLT_FLAGS = --xinclude
+
+# http://dblatex.sourceforge.net/
+DBLATEX = dblatex
+DBLATEX_FLAGS = -b pdftex
+
+FOP = fop
+FOP_FLAGS =
+
+XEP = xep
+XEP_FLAGS =
+
+# http://xmlroff.sourceforge.net/
+XMLROFF = xmlroff
+XMLROFF_FLAGS =
+
+PDFTEX = pdftex
+PDFTEX_FLAGS =
+
+# used by PassiveTeX
+PDFXMLTEX = pdfxmltex
+
+# http://docbook2x.sourceforge.net/
+DB2X_XSLTPROC = db2x_xsltproc
+DB2X_XSLTPROC_FLAGS = 
+DB2X_TEXIXML = db2x_texixml
+DB2X_TEXIXML_FLAGS = 
+
+# we call the man(1) command to generate "foo.N.pdf" and
+# "foo.N.txt" output (see "man-pdf" & "man-txt" targets)
+MAN = man
+MAN_FLAGS =
+
+# The "ps2pdf" command is part of GhostSript (gs) distro.
+# It is just a wrapper script around gs that does this:
+#
+#   gs -dCompatibilityLevel=1.2 -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite \
+#     "-sOutputFile=$outfile" -dCompatibilityLevel=1.2 -c .setpdfwrite -f "$infile"
+#
+# Where, for example: $outfile = foo.pdf and $infile = foo.1
+PS2PDF = ps2pdf
+PS2PDF_FLAGS =
+
+# The "col" command is needed for stripping backspaces and
+# underscores from man(1) output to get pure plain-text
+COL = col
+COL_FLAGS =
+
+# The "expand" command is needed for expanding tabs from files
+# generated from "man foo.1 | col -b" output
+# output to get pure plain-text
+EXPAND = expand
+EXPAND_FLAGS =
+
+# value of DOCBOOK_XSL should either be the canonical
+# (docbook.sourceforge.net) URL for the DocBook Project XSL
+# stylesheets OR it can be a local system path
+DOCBOOK_XSL = http://docbook.sourceforge.net/release/xsl/current
+
+# -----------------------------------------------------------------
+#       names of some DIRECTORIES and FILES we need
+# -----------------------------------------------------------------
+# We create a tmp directory once per make invocation; it's needed
+# for holding a temporary copy of the custom DBLaTeX stylesheet
+# (because dblatex currently can't read a stylesheet from stdin)
+TMP ?= /tmp
+TMPNUM := $(shell echo $$$$)
+DOCBOOK_TMP := $(TMP)/docbook-make-$(TMPNUM)
+
+# MAN_MANIFEST_EXT is file extension added to individual manifest
+# files
+MAN_MANIFEST_EXT = manifest_man
+
+# HTML_MANIFEST_EXT is file extension added to HTML manifest files
+HTML_MANIFEST_EXT = manifest_html
+
+# BASEDIR_SUFFIX is a what you need to set if you want a suffix
+# added to the end of each "base.dir" we create while generating
+# chunked HTML output
+#BASEDIR_SUFFIX = -html
+#BASEDIR_SUFFIX = _html
+BASEDIR_SUFFIX = 
+
+# -----------------------------------------------------------------
+#                        assorted OPTIONS
+# -----------------------------------------------------------------
+# HTML_STYLESHEET -> $html.stylesheet stylesheet param
+# http://docbook.sourceforge.net/snapshots/xsl/doc/html/html.stylesheet.html
+HTML_STYLESHEET = style.css
+# HTML_IMAGES -> $admon.graphics.path
+# http://docbook.sourceforge.net/snapshots/xsl/doc/html/admon.graphics.path.html
+HTML_IMAGES = images/
+# HTML_IMAGES_EXT -> $admon.graphics.extension
+# http://docbook.sourceforge.net/snapshots/xsl/doc/html/admon.graphics.extension.html
+HTML_IMAGES_EXT = .png
+
+# use these to set params on the command-line
+# format is, e.g., HTML_PARAMS="--stringparam variablelist.as.table 1..."
+FO_PARAMS =
+HTML_PARAMS =
+MAN_PARAMS =
+
+# DBX_PARAMS is for dblatex(1); format uses "-p":
+# DBX_PARAMS="-p doc.publisher.show 1 -p term.breakline 1...
+DBX_PARAMS=
+
+# What file extension do you use for DocBook source files?
+DOCBOOK_FILE_EXTENSION = .xml
+
+# -----------------------------------------------------------------
+#       make(1) functions for building file lists
+# -----------------------------------------------------------------
+#
+#    the values of the following are used for determing what needs
+#    to be built and/or cleaned up
+
+SOURCE_FILES_DBK = $(wildcard *$(DOCBOOK_FILE_EXTENSION))
+
+FILES_FO   = $(foreach base,$(basename $(SOURCE_FILES_DBK)),$(base).fo)
+FILES_TXT  = $(foreach base,$(basename $(SOURCE_FILES_DBK)),$(base).txt)
+FILES_PDF  = $(foreach base,$(basename $(SOURCE_FILES_DBK)),$(base).pdf)
+FILES_LOG  = $(foreach base,$(basename $(SOURCE_FILES_DBK)),$(base).log)
+FILES_OUT  = $(foreach base,$(basename $(SOURCE_FILES_DBK)),$(base).out)
+FILES_AUX  = $(foreach base,$(basename $(SOURCE_FILES_DBK)),$(base).aux)
+FILES_HTML = $(foreach base,$(basename $(SOURCE_FILES_DBK)),$(base).html)
+FILES_INFO = $(foreach base,$(basename $(SOURCE_FILES_DBK)),$(base).info)
+DIRS_CHUNK = $(foreach base,$(basename $(SOURCE_FILES_DBK)),$(base)$(BASEDIR_SUFFIX))
+LISTS_HTML = $(foreach base,$(basename $(SOURCE_FILES_DBK)),$(base).$(HTML_MANIFEST_EXT))
+LISTS_MAN  = $(foreach base,$(basename $(SOURCE_FILES_DBK)),$(base).$(MAN_MANIFEST_EXT))
+FILES_CHNK = $(shell for manifest in $(LISTS_HTML); do if [ -f "$$manifest" ]; then cat $$manifest; fi done)
+FILES_MAN  = $(shell for manifest in $(LISTS_MAN);  do if [ -f "$$manifest" ]; then cat $$manifest; fi done)
+FILES_MANP = $(foreach base,$(FILES_MAN),$(base).pdf)
+FILES_MANT = $(foreach base,$(FILES_MAN),$(base).txt)
+DIRS_MAN   = $(shell for file in $(FILES_MAN); do dirname $$file; done | uniq)
+
+# -----------------------------------------------------------------
+#   ** stylesheet for testing whether a file has a refentry
+# -----------------------------------------------------------------
+REFENTRY_CHECK := <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" \
+                version="1.0" \
+                xmlns:db="http://docbook.org/ns/docbook" \
+                > \
+  <xsl:output method="text"/> \
+  <xsl:template match="/"> \
+    <xsl:if test="//refentry|//db:refentry"> \
+      <xsl:text>true</xsl:text> \
+    </xsl:if> \
+  </xsl:template> \
+</xsl:stylesheet>
+
+# -----------------------------------------------------------------
+#             ** Stylesheet Customization Layers ** 
+# -----------------------------------------------------------------
+#
+# for DBLaTeX
+DBX_CUSTOM := <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" \
+                 version="1.0"> \
+  <xsl:param name="co.linkends.show">0</xsl:param> \
+  <xsl:param name="callout.markup.circled">1</xsl:param> \
+  <xsl:param name="callout.linkends.hot">0</xsl:param> \
+  <xsl:param name="doc.publisher.show">1</xsl:param> \
+  <xsl:param name="term.breakline">1</xsl:param> \
+  <xsl:param name="doc.alignment">left</xsl:param> \
+  <xsl:param name="newtbl.use">1</xsl:param> \
+  <xsl:param name="latex.hyperparam"/> \
+  <xsl:param name="latex.style">docbook</xsl:param> \
+  <xsl:param name="latex.biblio.output">all</xsl:param> \
+  <xsl:param name="latex.bibfiles">""</xsl:param> \
+  <xsl:param name="latex.bibwidelabel">WIDELABEL</xsl:param> \
+  <xsl:param name="latex.output.revhistory">0</xsl:param> \
+  <xsl:param name="latex.figure.position">[htbp]</xsl:param> \
+  <xsl:param name="latex.figure.boxed">0</xsl:param> \
+  <xsl:param name="latex.babel.use">1</xsl:param> \
+  <xsl:param name="latex.babel.language"></xsl:param> \
+  <xsl:param name="latex.class.options">twoside</xsl:param> \
+  <xsl:param name="biblioentry.item.separator">, </xsl:param> \
+  <xsl:param name="refentry.xref.manvolnum">1</xsl:param> \
+  <xsl:param name="refsynopsis.title">Synopsis</xsl:param> \
+  <xsl:param name="refnamediv.title"></xsl:param> \
+  <xsl:param name="funcsynopsis.style">ansi</xsl:param> \
+  <xsl:param name="funcsynopsis.decoration">1</xsl:param> \
+  <xsl:param name="function.parens">0</xsl:param> \
+  <xsl:param name="classsynopsis.default.language">java</xsl:param> \
+  <xsl:param name="show.comments">0</xsl:param> \
+</xsl:stylesheet>
+
+# for FO output
+FO_CUSTOM := <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" \
+                xmlns:fo="http://www.w3.org/1999/XSL/Format" \
+                version="1.0"> \
+  <xsl:import href="$(DOCBOOK_XSL)/fo/docbook.xsl"/> \
+  <xsl:param name="$(PDF_MAKER).extensions">1</xsl:param> \
+  <xsl:param name="paper.type">A4</xsl:param> \
+  <xsl:param name="draft.watermark.image"></xsl:param> \
+  <xsl:param name="hyphenation">false</xsl:param> \
+  <xsl:param name="hyphenate.verbatim">1</xsl:param> \
+  <xsl:param name="alignment">left</xsl:param> \
+  <xsl:param name="refentry.generate.name">1</xsl:param> \
+  <xsl:param name="refentry.generate.title">0</xsl:param> \
+  <xsl:param name="refentry.pagebreak">1</xsl:param> \
+  <xsl:param name="shade.verbatim">1</xsl:param> \
+  <xsl:param name="variablelist.as.blocks">1</xsl:param> \
+  <xsl:param name="ulink.show">1</xsl:param> \
+  <xsl:param name="ulink.footnotes">1</xsl:param> \
+  <xsl:param name="index.on.type">1</xsl:param> \
+  <xsl:attribute-set name="xref.properties"> \
+    <xsl:attribute name="color">blue</xsl:attribute> \
+  </xsl:attribute-set> \
+  <xsl:attribute-set name="shade.verbatim.style"> \
+    <xsl:attribute name="background-color">\#E0E0E0</xsl:attribute> \
+    <xsl:attribute name="padding-left">4pt</xsl:attribute> \
+    <xsl:attribute name="padding-right">4pt</xsl:attribute> \
+    <xsl:attribute name="padding-top">4pt</xsl:attribute> \
+    <xsl:attribute name="padding-bottom">4pt</xsl:attribute> \
+  </xsl:attribute-set> \
+  <xsl:attribute-set name="section.title.level1.properties"> \
+    <xsl:attribute name="font-size"> \
+      <xsl:value-of select="$$body.font.master * 1.5"></xsl:value-of> \
+      <xsl:text>pt</xsl:text> \
+    </xsl:attribute> \
+  </xsl:attribute-set> \
+  <xsl:attribute-set name="section.title.level2.properties"> \
+    <xsl:attribute name="font-size"> \
+      <xsl:value-of select="$$body.font.master * 1.3"></xsl:value-of> \
+      <xsl:text>pt</xsl:text> \
+    </xsl:attribute> \
+  </xsl:attribute-set> \
+  <xsl:attribute-set name="section.title.level3.properties"> \
+    <xsl:attribute name="font-size"> \
+      <xsl:value-of select="$$body.font.master * 1.1"></xsl:value-of> \
+      <xsl:text>pt</xsl:text> \
+    </xsl:attribute> \
+  </xsl:attribute-set> \
+  <xsl:attribute-set name="section.title.level4.properties"> \
+    <xsl:attribute name="font-size"> \
+      <xsl:value-of select="$$body.font.master"></xsl:value-of> \
+      <xsl:text>pt</xsl:text> \
+    </xsl:attribute> \
+  </xsl:attribute-set> \
+  <xsl:attribute-set name="component.title.properties"> \
+    <xsl:attribute name="font-size"> \
+      <xsl:value-of select="$$body.font.master * 1.5"></xsl:value-of> \
+      <xsl:text>pt</xsl:text> \
+    </xsl:attribute> \
+  </xsl:attribute-set> \
+  <xsl:attribute-set name="monospace.verbatim.properties"> \
+    <xsl:attribute name="wrap-option">wrap</xsl:attribute> \
+    <xsl:attribute name="hyphenation-character">\</xsl:attribute> \
+    <xsl:attribute name="font-size"> \
+      <xsl:value-of select="$$body.font.master * 0.8"></xsl:value-of> \
+      <xsl:text>pt</xsl:text> \
+    </xsl:attribute> \
+  </xsl:attribute-set> \
+</xsl:stylesheet>
+
+# for single-file (X)HTML outpout
+HTML_CUSTOM := <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" \
+                version="1.0"> \
+  <xsl:import href="$(DOCBOOK_XSL)/$(HTML_OR_XHTML)/docbook.xsl"/> \
+  <xsl:param name="gentext.custom">local.l10n.xml</xsl:param> \
+  <xsl:param name="local.l10n.xml" select="document($$gentext.custom)"/> \
+  <xsl:param name="refentry.generate.name">1</xsl:param> \
+  <xsl:param name="refentry.generate.title">0</xsl:param> \
+  <xsl:param name="root.filename"></xsl:param> \
+  <xsl:param name="variablelist.as.table">0</xsl:param> \
+  <xsl:param name="html.stylesheet">$(HTML_STYLESHEET)</xsl:param> \
+  <xsl:param name="admon.graphics">0</xsl:param> \
+  <xsl:param name="index.on.type">1</xsl:param> \
+</xsl:stylesheet>
+
+# for chunked (X)HTML output
+CHNK_CUSTOM := <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" \
+                version="1.0"> \
+  <xsl:import href="$(DOCBOOK_XSL)/$(HTML_OR_XHTML)/chunk.xsl"/> \
+  <xsl:param name="refentry.generate.name">0</xsl:param> \
+  <xsl:param name="refentry.generate.title">1</xsl:param> \
+  <xsl:param name="variablelist.as.table">0</xsl:param> \
+  <xsl:param name="html.stylesheet">$(HTML_STYLESHEET)</xsl:param> \
+  <xsl:param name="admon.graphics">1</xsl:param> \
+  <xsl:param name="admon.graphics.path">$(HTML_IMAGES)</xsl:param> \
+  <xsl:param name="admon.graphics.extension">$(HTML_IMAGES_EXT)</xsl:param> \
+  <xsl:param name="root.filename"></xsl:param> \
+  <xsl:param name="generate.manifest">1</xsl:param> \
+  <xsl:param name="use.id.as.filename">1</xsl:param> \
+  <xsl:param name="chunker.output.indent">yes</xsl:param> \
+  <xsl:param name="index.on.type">1</xsl:param> \
+</xsl:stylesheet>
+
+# for man-page output
+MAN_CUSTOM := <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" \
+                version="1.0"> \
+  <xsl:import href="$(DOCBOOK_XSL)/manpages/docbook.xsl"/> \
+  <xsl:param name="man.output.manifest.enabled" select="1"/> \
+  <xsl:param name="man.output.in.separate.dir" select="1"/> \
+  <xsl:param name="man.output.base.dir">man/</xsl:param> \
+  <xsl:param name="man.output.subdirs.enabled" select="1"/> \
+</xsl:stylesheet>
+
+# -----------------------------------------------------------------
+#                  ** TARGETS START HERE ** 
+# -----------------------------------------------------------------
+#  prevents make from deleting, e.g. foo.1, after making foo.1.pdf
+#  and foo.1.txt from it.
+.PRECIOUS: %.1 %.2 %.3 %.4 %.5 %.6 %.7 %.8 %.9
+
+docbook: $(DOCBOOK_OUTPUT_FORMATS)
+
+man: $(LISTS_MAN)
+
+# we can generate PDFs from man pages
+man-pdf: man
+	$(MAKE) $(FILES_MANP)
+
+# we can generate plain text from man pages
+man-txt: man
+	$(MAKE) $(FILES_MANT)
+
+html: $(FILES_HTML)
+
+chunk: $(LISTS_HTML)
+
+txt: $(FILES_TXT)
+
+pdf: $(FILES_PDF)
+
+info: $(FILES_INFO)
+
+# use the "debug" target to echo variables, etc., to
+# test/troubleshoot changes you make to this makefile
+debug:
+	@echo $(DIRS_MAN)
+
+# -----------------------------------------------------------------
+#     pattern rule for making (X)HTML and plain-text output
+# -----------------------------------------------------------------
+%.html: %$(DOCBOOK_FILE_EXTENSION)
+	@echo '$(HTML_CUSTOM)' | $(XSLT) $(XSLT_FLAGS) $(HTML_PARAMS) - $< > $@
+
+%.txt: %.html
+	$(TXT_MAKER) $(TXT_MAKER_FLAGS) ./$< \
+	  | sed "s/^\(\s\+[0-9]\+\. \)file:\/\/.\+$$/\\1(local)/g" \
+	  | egrep -v '^	file:///.+$$' \
+	  > $@
+# if DOCBOOK_OUTPUT_FORMATS does not contain "html", then we need
+# to remove the "intermediate" HTML files we used for generating
+# plain-text output
+ifeq ($(findstring html,$(DOCBOOK_OUTPUT_FORMATS)),)
+	$(RM) $<
+endif
+
+# -----------------------------------------------------------------
+#     pattern rule for making chunked (X)HTML pages
+# -----------------------------------------------------------------
+%.$(HTML_MANIFEST_EXT): %$(DOCBOOK_FILE_EXTENSION)
+	@echo '$(CHNK_CUSTOM)' | $(XSLT) $(XSLT_FLAGS) $(HTML_PARAMS) \
+	--stringparam manifest $@  \
+	--stringparam base.dir $(basename $@)$(BASEDIR_SUFFIX)/  \
+	- $< 
+
+# -----------------------------------------------------------------
+#     pattern rules for making FO and PDF stuff
+# -----------------------------------------------------------------
+%.fo: %$(DOCBOOK_FILE_EXTENSION)
+	@echo '$(FO_CUSTOM)' \
+	  | $(XSLT) $(XSLT_FLAGS) $(FO_PARAMS) - $< > $@
+
+ifeq ($(PDF_MAKER),dblatex)
+%.pdf: %$(DOCBOOK_FILE_EXTENSION)
+	mkdir -p $(DOCBOOK_TMP)
+	echo '$(DBX_CUSTOM)' > $(DOCBOOK_TMP)/dblatex.xsl
+	-$(DBLATEX) $(DBLATEX_FLAGS)\
+	  -p $(DOCBOOK_TMP)/dblatex.xsl \
+	  -o $@ \
+	  $<
+	$(RM) -r $(DOCBOOK_TMP)
+endif
+
+%.pdf: %.fo
+ifeq ($(PDF_MAKER),)
+	$(error No PDF_MAKER specified. Cannot make pdf)
+else
+ifeq ($(PDF_MAKER),xep)
+	$(XEP) $(XEP_FLAGS) $< $@
+else
+ifeq ($(PDF_MAKER),fop)
+	$(FOP) $(FOP_FLAGS) $< $@
+else
+ifeq ($(PDF_MAKER),xmlroff)
+	$(XMLROFF) $(XMLROFF_FLAGS) $< -o $@
+else
+ifeq ($(PDF_MAKER),passivetex)
+	$(PDFTEX) $(PDFTEX_FLAGS) &$(PDFXMLTEX) $<
+	@if [ `egrep Rerun $(basename $@).log | wc -l` -gt 0 ]; then \
+		$(PDFTEX) $(PDFTEX_FLAGS) &$(PDFXMLTEX) $< ; \
+	fi
+	@if [ `egrep Rerun $(basename $@).log | wc -l` -gt 0 ]; then \
+		$(PDFTEX) $(PDFTEX_FLAGS) &$(PDFXMLTEX) $< ; \
+	fi
+	$(RM) $(basename $@).log
+	$(RM) $(basename $@).aux
+	$(RM) $(basename $@).out
+else
+	$(error I do not know how to make a PDF using "$(PDF_MAKER)")
+endif
+endif
+endif
+endif
+endif
+
+# -----------------------------------------------------------------
+#     pattern rules for making TeXinfo stuff
+# -----------------------------------------------------------------
+%.txml: %$(DOCBOOK_FILE_EXTENSION)
+	$(DB2X_XSLTPROC) $(DB2X_XSLTPROC_FLAGS) -s texi -o $@ $<
+
+%.texi: %.txml
+	$(DB2X_TEXIXML) $(DB2X_TEXIXML_FLAGS) $<
+
+# the following is actually a built-in rule, but it's redefined
+# here just for the sake of clarity
+%.info: %.texi
+	$(MAKEINFO) $(MAKEINFO_FLAGS) $< -o $@
+
+# -----------------------------------------------------------------
+#     pattern rule for making man pages
+# -----------------------------------------------------------------
+%.$(MAN_MANIFEST_EXT): %$(DOCBOOK_FILE_EXTENSION)
+	@if [ "$(strip $(shell echo '$(REFENTRY_CHECK)' | $(XSLT) $(XSLT_FLAGS) - $<))" != "true" ]; then \
+	  touch $@; \
+	else \
+	  echo '$(MAN_CUSTOM)' \
+	  | $(XSLT) $(XSLT_FLAGS) $(MAN_PARAMS) \
+	    --stringparam man.output.manifest.filename $@ \
+	    - $<; \
+	fi
+
+# -----------------------------------------------------------------
+#  pattern rule for enabling direct "make foo.1" to work
+# -----------------------------------------------------------------
+
+%.1 %.2 %.3 %.4 %.5 %.6 %.7: %.xml
+	$(MAKE) $(basename $<).$(MAN_MANIFEST_EXT)
+
+# -----------------------------------------------------------------
+#  pattern rules for making Postscript/PDF output from man pages
+# -----------------------------------------------------------------
+%.1.ps: %.1
+	$(MAN) -l $(MAN_FLAGS) -Tps $< > $@
+
+%.2.ps: %.2
+	$(MAN) -l $(MAN_FLAGS) -Tps $< > $@
+
+%.3.ps: %.3
+	$(MAN) -l $(MAN_FLAGS) -Tps $< > $@
+
+%.4.ps: %.4
+	$(MAN) -l $(MAN_FLAGS) -Tps $< > $@
+
+%.5.ps: %.5
+	$(MAN) -l $(MAN_FLAGS) -Tps $< > $@
+
+%.6.ps: %.6
+	$(MAN) -l $(MAN_FLAGS) -Tps $< > $@
+
+%.7.ps: %.7
+	$(MAN) -l $(MAN_FLAGS) -Tps $< > $@
+
+%.8.ps: %.8
+	$(MAN) -l $(MAN_FLAGS) -Tps $< > $@
+
+%.9.ps: %.9
+	$(MAN) -l $(MAN_FLAGS) -Tps $< > $@
+
+# -----------------------------------------------------------------
+#  pattern rule for converting Postscript to PDF
+# -----------------------------------------------------------------
+%.pdf: %.ps
+	$(PS2PDF) $(PS2PDF_FLAGS) $<
+
+# -----------------------------------------------------------------
+#  pattern rules for making plain-text output from man pages
+# -----------------------------------------------------------------
+%.1.txt: %.1
+	$(MAN) -l $(MAN_FLAGS) -Tascii $< | $(COL) -b $(COL_FLAGS) | $(EXPAND) $(EXPAND_FLAGS) > $@
+
+%.2.txt: %.2
+	$(MAN) -l $(MAN_FLAGS) -Tascii $< | $(COL) -b $(COL_FLAGS) | $(EXPAND) $(EXPAND_FLAGS) > $@
+
+%.3.txt: %.3
+	$(MAN) -l $(MAN_FLAGS) -Tascii $< | $(COL) -b $(COL_FLAGS) | $(EXPAND) $(EXPAND_FLAGS) > $@
+
+%.4.txt: %.4
+	$(MAN) -l $(MAN_FLAGS) -Tascii $< | $(COL) -b $(COL_FLAGS) | $(EXPAND) $(EXPAND_FLAGS) > $@
+
+%.5.txt: %.5
+	$(MAN) -l $(MAN_FLAGS) -Tascii $< | $(COL) -b $(COL_FLAGS) | $(EXPAND) $(EXPAND_FLAGS) > $@
+
+%.6.txt: %.6
+	$(MAN) -l $(MAN_FLAGS) -Tascii $< | $(COL) -b $(COL_FLAGS) | $(EXPAND) $(EXPAND_FLAGS) > $@
+
+%.7.txt: %.7
+	$(MAN) -l $(MAN_FLAGS) -Tascii $< | $(COL) -b $(COL_FLAGS) | $(EXPAND) $(EXPAND_FLAGS) > $@
+
+%.8.txt: %.8
+	$(MAN) -l $(MAN_FLAGS) -Tascii $< | $(COL) -b $(COL_FLAGS) | $(EXPAND) $(EXPAND_FLAGS) > $@
+
+%.9.txt: %.9
+	$(MAN) -l $(MAN_FLAGS) -Tascii $< | $(COL) -b $(COL_FLAGS) | $(EXPAND) $(EXPAND_FLAGS) > $@
+
+# -----------------------------------------------------------------
+#   target(s) for cleaning up the mess
+# -----------------------------------------------------------------
+clean:
+ifneq ($(FILES_TXT),)
+	$(RM) $(FILES_TXT)
+endif
+ifneq ($(FILES_PDF),)
+	$(RM) $(FILES_PDF)
+endif
+ifneq ($(FILES_FO),)
+	$(RM) $(FILES_FO)
+endif
+ifneq ($(FILES_LOG),)
+	$(RM) $(FILES_LOG)
+endif
+ifneq ($(FILES_OUT),)
+	$(RM) $(FILES_OUT)
+endif
+ifneq ($(FILES_AUX),)
+	$(RM) $(FILES_AUX)
+endif
+ifneq ($(FILES_HTML),)
+	$(RM) $(FILES_HTML)
+endif
+ifneq ($(FILES_CHNK),)
+	$(RM) $(FILES_CHNK)
+endif
+ifneq ($(FILES_MAN),)
+	$(RM) $(FILES_MAN)
+endif
+ifneq ($(FILES_MANT),)
+	$(RM) $(FILES_MANT)
+endif
+ifneq ($(FILES_MANP),)
+	$(RM) $(FILES_MANP)
+endif
+ifneq ($(FILES_INFO),)
+	$(RM) $(FILES_INFO)
+endif
+ifneq ($(DIRS_CHUNK),)
+	for dir in $(DIRS_CHUNK); do \
+	  if [ -d "$$dir" ]; then \
+	    $(RMDIR) $(RMDIR_FLAGS) $$dir; \
+	  fi \
+	done
+endif
+ifneq ($(DIRS_MAN),)
+ifneq ($(DIRS_MAN),.)
+	for dir in $(DIRS_MAN); do \
+	  if [ -d "$$dir" ]; then \
+	    $(RMDIR) $(RMDIR_FLAGS) $$dir; \
+	  fi \
+	done
+endif
+endif
+ifneq ($(LISTS_MAN),)
+	$(RM) $(LISTS_MAN)
+endif
+ifneq ($(LISTS_HTML),)
+	$(RM) $(LISTS_HTML)
+endif

Added: trunk/docs/docbook/src/main/resources/tools/make/Makefile.combine
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/make/Makefile.combine	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/make/Makefile.combine	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,182 @@
+# $Source$
+# $Author: xmldoc $
+# $Date: 2006-04-19 15:25:42 +0900 (Wed, 19 Apr 2006) $
+# $Revision: 5866 $
+# vim: number
+#
+# -----------------------------------------------------------------
+#  ** Makefile.combine -- combine source files **
+# -----------------------------------------------------------------
+#
+#   This file is part of the DocBook Project XSL Stylesheet
+#   distribution.
+#
+#   See http://docbook.sourceforge.net/release/xsl/current/
+#   for copyright and other information.
+#
+# This makefile creates "wrapper" files that combine sets of
+# individual DocBook source files. The purpose of combining the
+# files is to speed up processing time. By default it puts 20
+# files into each wrapper. Use CHUNKSIZE to configure the number
+# of files per wrapper.
+#
+# Currently, this makefile has only a "man" target and is mainly
+# intended to speed up processing of large numbers if individual
+# refentry instances.
+
+# What file extension do you use for DocBook source files?
+DOCBOOK_FILE_EXTENSION = .xml
+SOURCE_FILES_DBK = $(wildcard *$(DOCBOOK_FILE_EXTENSION))
+
+MAKEFILE_DOCBOOK = Makefile.DocBook
+
+XSLTPROC=xsltproc
+XSLTPROC_FLAGS=
+
+SED=sed
+SED_FLAGS=-i
+
+CHUNKSIZE ?= 20
+
+WRAPPER_ELEMENT = reference
+WRAPPER_TITLE=Combined contents
+
+COMBINE_XSL = <?xml version="1.0"?> \
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" \
+                xmlns:exsl="http://exslt.org/common" \
+                xmlns:xi="http://www.w3.org/2001/XInclude" \
+                exclude-result-prefixes="exsl xi" \
+                extension-element-prefixes="exsl" \
+                version="1.0"> \
+  <xsl:param name="files"/> \
+  <xsl:param name="chunk.size"/> \
+  <xsl:template match="/"> \
+    <xsl:call-template name="make.file"/> \
+  </xsl:template> \
+ \
+  <xsl:template name="make.file"> \
+    <xsl:param name="count" select="1"/> \
+    <xsl:param name="current.files" select="concat(normalize-space($$files), ^^ ^^)"/> \
+    <xsl:param name="more.files" \
+               select="concat(normalize-space(substring-after($$current.files, ^^ ^^)),^^ ^^)"/> \
+    <xsl:param name="file.number" select="1"/> \
+    <xsl:param name="filename" select="concat(^^./build/^^,$$file.number,^^.xml^^)"/> \
+ \
+    <xsl:choose> \
+      <xsl:when test="$$more.files = ^^ ^^"/> \
+      <xsl:when test="$$count mod $$chunk.size = 0"> \
+        <xsl:variable name="fileset" select="concat($$current.files, ^^ ^^, \
+          substring-before($$more.files, ^^ ^^))"/> \
+        <exsl:document href="{$$filename}" \
+                       method="xml" \
+                       encoding="UTF-8" \
+                       indent="yes" \
+                       omit-xml-declaration="yes" \
+                       media-type="" \
+                       standalone="no"> \
+          <$(WRAPPER_ELEMENT)> \
+            <title>$(WRAPPER_TITLE)</title> \
+            <xsl:call-template name="make.xinclude"> \
+              <xsl:with-param name="file"> \
+                <xsl:choose> \
+                  <xsl:when test="contains($$fileset, ^^ ^^)"> \
+                    <xsl:value-of \
+                        select="normalize-space(substring-before($$fileset, ^^ ^^))"/> \
+                  </xsl:when> \
+                  <xsl:otherwise> \
+                    <xsl:value-of select="$$fileset"/> \
+                  </xsl:otherwise> \
+                </xsl:choose> \
+              </xsl:with-param> \
+              <xsl:with-param \
+                  name="remaining.files" \
+                  select="concat(normalize-space(substring-after($$fileset, ^^ ^^)),^^ ^^)"/> \
+            </xsl:call-template> \
+          </$(WRAPPER_ELEMENT)> \
+        </exsl:document> \
+        <xsl:call-template name="make.file"> \
+          <xsl:with-param name="count" select="1"/> \
+          <xsl:with-param name="current.files"  \
+                          select="$$more.files"/> \
+          <xsl:with-param name="file.number" select="number($$file.number) + 1"/> \
+          <xsl:with-param name="filename" select="concat(^^./build/^^,$$file.number,^^.xml^^)"/> \
+        </xsl:call-template> \
+      </xsl:when> \
+      <xsl:otherwise> \
+        <xsl:call-template name="make.file"> \
+          <xsl:with-param name="count" select="$$count + 1"/> \
+          <xsl:with-param name="current.files"> \
+            <xsl:choose> \
+              <xsl:when test="$$count = 1 and $$file.number = 1"> \
+                <xsl:value-of  \
+                    select="concat(substring-before($$current.files, ^^ ^^), \
+                            ^^ ^^, \
+                            substring-before($$more.files, ^^ ^^))"/> \
+              </xsl:when> \
+              <xsl:when test="$$count = 1"> \
+                <xsl:value-of  \
+                    select="substring-before($$more.files, ^^ ^^)"/> \
+              </xsl:when> \
+              <xsl:otherwise> \
+                <xsl:value-of  \
+                    select="concat($$current.files, ^^ ^^, \
+                            substring-before($$more.files, ^^ ^^))"/> \
+              </xsl:otherwise> \
+            </xsl:choose> \
+          </xsl:with-param> \
+          <xsl:with-param name="more.files" \
+                          select="substring-after($$more.files, ^^ ^^)"/> \
+          <xsl:with-param name="file.number" select="$$file.number"/> \
+        </xsl:call-template> \
+      </xsl:otherwise> \
+    </xsl:choose> \
+  </xsl:template> \
+ \
+  <xsl:template name="make.xinclude"> \
+    <xsl:param name="file"/> \
+    <xsl:param name="remaining.files"/> \
+    <xsl:param name="count" select="1"/> \
+    <xsl:if test="not($$file = ^^^^)"> \
+      <xi:include href="../{$$file}"/> \
+      <xsl:call-template name="make.xinclude"> \
+        <xsl:with-param \
+            name="file" \
+            select="substring-before($$remaining.files, ^^ ^^)"/> \
+        <xsl:with-param \
+            name="remaining.files" \
+            select="substring-after($$remaining.files, ^^ ^^)"/> \
+        <xsl:with-param name="count" select="$$count + 1"/> \
+      </xsl:call-template> \
+    </xsl:if> \
+  </xsl:template> \
+ \
+</xsl:stylesheet>
+
+all: man
+
+man: build/man
+
+build/Makefile:
+	if [ ! -d build ]; then mkdir build; fi
+	cp $(MAKEFILE_DOCBOOK) $@
+
+combine.xsl: Makefile
+	@echo '$(COMBINE_XSL)' > $@
+	$(SED) $(SED_FLAGS) "s/\^\^/'/g" $@
+
+build/1.xml: combine.xsl
+	$(XSLTPROC) $(XSLTPROC_FLAGS) \
+	--stringparam files "$(SOURCE_FILES_DBK)" \
+	--stringparam chunk.size $(CHUNKSIZE) \
+	$< $<
+
+build/man: build/Makefile build/1.xml
+	time $(MAKE) -C build man \
+		MAN_PARAMS="--stringparam man.output.quietly 1 \
+		   --stringparam refentry.meta.get.quietly 1 \
+		   --stringparam man.charmap.enabled 0"
+
+debug:
+
+clean:
+	$(RM) -r build

Added: trunk/docs/docbook/src/main/resources/tools/make/Makefile.docParam
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/make/Makefile.docParam	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/make/Makefile.docParam	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,53 @@
+# $Source$
+# $Author: xmldoc $
+# $Date: 2007-01-22 16:36:31 +0900 (月, 22  1月 2007) $
+# $Revision: 6541 $
+# vim: number
+#
+# ------------------------------------------------------------------
+#  ** Makefile.paramDoc - create param.xsl files w/ embedded doc **
+# ------------------------------------------------------------------
+
+PARAMFILES = $(wildcard ../../*/param.xsl)
+PARAMFILESDOCD = $(foreach base,$(basename $(PARAMFILES)),$(base).docd.xsl)
+
+XSLT=xsltproc
+XSLTFLAGS=
+
+COPYDOC := <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" \
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" \
+                version="1.0"> \
+  <xsl:template match="*[local-name() = &apos;param&apos;]"> \
+    <xsl:variable \
+        name="source" \
+        select="concat(&apos;../../params/&apos;, at name,&apos;.xml&apos;)"/> \
+    <xsl:apply-templates select="document($$source)/refentry"/> \
+    <xsl:copy> \
+      <xsl:apply-templates select="@* | node()"/> \
+    </xsl:copy> \
+  </xsl:template> \
+  <xsl:template match="node() | @*"> \
+    <xsl:copy> \
+      <xsl:apply-templates select="@* | node()"/> \
+    </xsl:copy> \
+  </xsl:template> \
+  <xsl:template match="refentry"> \
+    <xsl:text>&\#x0a;</xsl:text> \
+    <doc:refentry id="{@id}"> \
+      <xsl:apply-templates/> \
+    </doc:refentry> \
+    <xsl:text>&\#x0a;</xsl:text> \
+  </xsl:template> \
+  <xsl:template match="refsynopsisdiv"/> \
+</xsl:stylesheet>
+
+all: $(PARAMFILESDOCD)
+
+%.docd.xsl: %.xsl
+	@echo '$(COPYDOC)' | $(XSLT) $(XSLTFLAGS) - $< > $@
+
+debug:
+	@echo $(PARAMFILESDOCD)
+
+clean:
+	$(RM) $(PARAMFILESDOCD)

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/addnewline.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/addnewline.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/addnewline.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,13 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		version='1.0'>
+  <xsl:import href="./identity.xsl"/>
+
+  <xsl:output method="xml"
+	      indent="no"/>
+  
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+    <xsl:text>&#x0a;</xsl:text>
+  </xsl:template>
+  
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/clrefentry.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/clrefentry.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/clrefentry.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,130 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+                xmlns:verb="com.nwalsh.saxon.Verbatim"
+                exclude-result-prefixes="src verb"
+                version="1.0">
+
+<xsl:import href="../../../../litprog/html/cldocbook.xsl"/>
+
+<xsl:param name="use.id.as.filename" select="1"/>
+<xsl:param name="refentry.separator" select="0"/>
+<xsl:param name="chunk.append"><xsl:text>&#x0a;</xsl:text></xsl:param>
+
+<!-- n.b. reference pages are one directory down, so we point back up -->
+<xsl:param name="html.stylesheet" select="'../css/reference.css'"/>
+<xsl:param name="admon.graphics" select="1"></xsl:param>
+<xsl:param name="admon.textlabel" select="0"></xsl:param>
+<xsl:param name="admon.graphics.path">../images/</xsl:param>
+<xsl:param name="admon.graphics.extension" select="'.png'"></xsl:param>
+<xsl:param name="admon.style"/>
+
+<xsl:template match="src:fragment" mode="label.markup">
+  <xsl:text>&#xA7;</xsl:text>
+  <xsl:number from="/" level="any" format="1"/>
+</xsl:template>
+
+<xsl:template match="src:fragment" mode="xref-to">
+  <xsl:variable name="section" select="ancestor::refentry[1]"/>
+
+  <i>
+    <xsl:text>&#xA7;</xsl:text>
+    <xsl:apply-templates select="$section" mode="label.markup"/>
+    <xsl:number from="/" level="any"/>
+    <xsl:text>. </xsl:text>
+    <xsl:apply-templates select="$section" mode="title.markup"/>
+  </i>
+</xsl:template>
+
+<xsl:template match="src:fragment" mode="xref-to-section">
+  <xsl:variable name="section" select="ancestor::refentry[1]"/>
+
+  <i>
+    <xsl:text>&#xA7;</xsl:text>
+    <xsl:apply-templates select="$section" mode="label.markup"/>
+    <xsl:number from="/" level="any"/>
+  </i>
+</xsl:template>
+
+<xsl:template match="src:fragment">
+  <xsl:param name="suppress-numbers" select="'0'"/>
+  <xsl:param name="linenumbering" select="'numbered'"/>
+
+  <xsl:variable name="section" select="ancestor::section[1]"/>
+  <xsl:variable name="id" select="@id"/>
+  <xsl:variable name="referents"
+                select="//src:fragment[.//src:fragref[@linkend=$id]]"/>
+
+  <a name="{@id}"/>
+  <table border="1" width="100%">
+    <tr>
+      <td>
+        <p>
+          <b>
+            <xsl:apply-templates select="." mode="label.markup"/>
+          </b>
+          <xsl:if test="$referents">
+            <xsl:text>: </xsl:text>
+            <xsl:for-each select="$referents">
+              <xsl:if test="position() &gt; 1">, </xsl:if>
+              <a href="#{@id}">
+                <xsl:apply-templates select="." mode="label.markup"/>
+              </a>
+            </xsl:for-each>
+          </xsl:if>
+        </p>
+      </td>
+    </tr>
+    <tr>
+      <td>
+        <xsl:choose>
+          <xsl:when test="$suppress-numbers = '0'
+                          and $linenumbering = 'numbered'
+                          and $use.extensions != '0'
+                          and $linenumbering.extension != '0'">
+            <xsl:variable name="rtf">
+              <xsl:apply-templates/>
+            </xsl:variable>
+            <pre class="{name(.)}">
+              <xsl:copy-of select="verb:numberLines($rtf)"/>
+            </pre>
+          </xsl:when>
+          <xsl:otherwise>
+            <pre class="{name(.)}">
+              <xsl:apply-templates/>
+            </pre>
+          </xsl:otherwise>
+        </xsl:choose>
+      </td>
+    </tr>
+  </table>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- Special handling for elements -->
+
+<xsl:template match="parameter">
+  <!-- link parameters to their reference pages -->
+  <a href="{.}.html">
+    <xsl:apply-imports/>
+  </a>
+</xsl:template>
+
+<!-- * Check for both <sgmltag> and <tag>, but ignore those -->
+<!-- * with role="html" or namespace="http://docbook.sf.net/*" -->
+<!-- * or namespace="http://docbook.sourceforge.net/*" -->
+<xsl:template match="*[name() = 'sgmltag' or name() = 'tag']
+                     [(not(@class) or @class='element')
+                       and (not(@role) or @role != 'html')
+                       and (not(@namespace)
+                         or not(
+                         contains(@namespace, 'http://docbook.sf.net/')
+                         or contains(@namespace, 'http://docbook.sourceforge.net/')
+                         ))]">
+  <!-- link sgmltags to their reference pages -->
+  <a href="http://docbook.org/tdg/en/html/{.}.html">
+    <xsl:apply-imports/>
+  </a>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/dblatex-release-notes.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/dblatex-release-notes.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/dblatex-release-notes.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
+                version="1.0">
+  <!-- ********************************************************************
+       $Id: dblatex-release-notes.xsl 6307 2006-09-19 08:41:11Z xmldoc $
+       ********************************************************************
+
+       This file is part of the XSL DocBook Stylesheet distribution.
+       See ../README or http://docbook.sf.net/release/xsl/current/ for
+       copyright and other information.
+
+       ******************************************************************** -->
+
+  <!-- ==================================================================== -->
+
+  <!-- * This is a stylesheet for use with the -p option in dblatex -->
+
+  <xsl:param name="co.linkends.show">0</xsl:param>
+  <xsl:param name="callout.markup.circled">1</xsl:param>
+  <xsl:param name="callout.linkends.hot">0</xsl:param>
+  <xsl:param name="doc.publisher.show">1</xsl:param>
+  <xsl:param name="doc.pdfcreator.show">1</xsl:param>
+  <xsl:param name="term.breakline">1</xsl:param>
+  <xsl:param name="newtbl.use">1</xsl:param>
+  <xsl:param name="latex.hyperparam"/>
+  <xsl:param name="latex.style">docbook</xsl:param>
+  <xsl:param name="latex.output.revhistory">0</xsl:param>
+  <xsl:param name="show.comments">0</xsl:param>
+
+  <!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/doc-link-docbook.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/doc-link-docbook.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/doc-link-docbook.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="../../../html/docbook.xsl"/>
+<xsl:include href="tdg-link.xsl"/>
+<xsl:include href="xsl-param-link.xsl"/>
+<xsl:param name="html.append"><xsl:text>&#x0a;</xsl:text></xsl:param>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/docbook-elements.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/docbook-elements.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/docbook-elements.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,380 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xslt:stylesheet xmlns:xslt="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0">
+<!-- *           Do not edit this file. -->
+<!-- * It was generated automatically by the build. -->
+<!-- * Edit the make-elements.xsl file instead. -->
+   <xslt:variable name="docbook-element-list">
+      <simplelist role="element">
+         <member>abbrev</member>
+         <member>abstract</member>
+         <member>accel</member>
+         <member>ackno</member>
+         <member>acronym</member>
+         <member>address</member>
+         <member>affiliation</member>
+         <member>alt</member>
+         <member>anchor</member>
+         <member>annotation</member>
+         <member>answer</member>
+         <member>appendix</member>
+         <member>application</member>
+         <member>arc</member>
+         <member>area</member>
+         <member>areaset</member>
+         <member>areaspec</member>
+         <member>arg</member>
+         <member>article</member>
+         <member>artpagenums</member>
+         <member>attribution</member>
+         <member>audiodata</member>
+         <member>audioobject</member>
+         <member>author</member>
+         <member>authorgroup</member>
+         <member>authorinitials</member>
+         <member>bibliocoverage</member>
+         <member>bibliodiv</member>
+         <member>biblioentry</member>
+         <member>bibliography</member>
+         <member>biblioid</member>
+         <member>bibliolist</member>
+         <member>bibliomisc</member>
+         <member>bibliomixed</member>
+         <member>bibliomset</member>
+         <member>biblioref</member>
+         <member>bibliorelation</member>
+         <member>biblioset</member>
+         <member>bibliosource</member>
+         <member>blockquote</member>
+         <member>book</member>
+         <member>bridgehead</member>
+         <member>callout</member>
+         <member>calloutlist</member>
+         <member>caption</member>
+         <member>caution</member>
+         <member>chapter</member>
+         <member>citation</member>
+         <member>citebiblioid</member>
+         <member>citerefentry</member>
+         <member>citetitle</member>
+         <member>city</member>
+         <member>classname</member>
+         <member>classsynopsis</member>
+         <member>classsynopsisinfo</member>
+         <member>cmdsynopsis</member>
+         <member>co</member>
+         <member>code</member>
+         <member>col</member>
+         <member>colgroup</member>
+         <member>collab</member>
+         <member>colophon</member>
+         <member>colspec</member>
+         <member>command</member>
+         <member>computeroutput</member>
+         <member>confdates</member>
+         <member>confgroup</member>
+         <member>confnum</member>
+         <member>confsponsor</member>
+         <member>conftitle</member>
+         <member>constant</member>
+         <member>constraint</member>
+         <member>constraintdef</member>
+         <member>constructorsynopsis</member>
+         <member>contractnum</member>
+         <member>contractsponsor</member>
+         <member>contrib</member>
+         <member>copyright</member>
+         <member>coref</member>
+         <member>country</member>
+         <member>cover</member>
+         <member>database</member>
+         <member>date</member>
+         <member>dedication</member>
+         <member>destructorsynopsis</member>
+         <member>edition</member>
+         <member>editor</member>
+         <member>email</member>
+         <member>emphasis</member>
+         <member>entry</member>
+         <member>entrytbl</member>
+         <member>envar</member>
+         <member>epigraph</member>
+         <member>equation</member>
+         <member>errorcode</member>
+         <member>errorname</member>
+         <member>errortext</member>
+         <member>errortype</member>
+         <member>example</member>
+         <member>exceptionname</member>
+         <member>extendedlink</member>
+         <member>fax</member>
+         <member>fieldsynopsis</member>
+         <member>figure</member>
+         <member>filename</member>
+         <member>firstname</member>
+         <member>firstterm</member>
+         <member>footnote</member>
+         <member>footnoteref</member>
+         <member>foreignphrase</member>
+         <member>formalpara</member>
+         <member>funcdef</member>
+         <member>funcparams</member>
+         <member>funcprototype</member>
+         <member>funcsynopsis</member>
+         <member>funcsynopsisinfo</member>
+         <member>function</member>
+         <member>glossary</member>
+         <member>glossdef</member>
+         <member>glossdiv</member>
+         <member>glossentry</member>
+         <member>glosslist</member>
+         <member>glosssee</member>
+         <member>glossseealso</member>
+         <member>glossterm</member>
+         <member>group</member>
+         <member>guibutton</member>
+         <member>guiicon</member>
+         <member>guilabel</member>
+         <member>guimenu</member>
+         <member>guimenuitem</member>
+         <member>guisubmenu</member>
+         <member>hardware</member>
+         <member>holder</member>
+         <member>honorific</member>
+         <member>imagedata</member>
+         <member>imageobject</member>
+         <member>imageobjectco</member>
+         <member>important</member>
+         <member>index</member>
+         <member>indexdiv</member>
+         <member>indexentry</member>
+         <member>indexterm</member>
+         <member>info</member>
+         <member>informalequation</member>
+         <member>informalexample</member>
+         <member>informalfigure</member>
+         <member>informaltable</member>
+         <member>initializer</member>
+         <member>inlineequation</member>
+         <member>inlinemediaobject</member>
+         <member>interfacename</member>
+         <member>issuenum</member>
+         <member>itemizedlist</member>
+         <member>itermset</member>
+         <member>jobtitle</member>
+         <member>keycap</member>
+         <member>keycode</member>
+         <member>keycombo</member>
+         <member>keysym</member>
+         <member>keyword</member>
+         <member>keywordset</member>
+         <member>label</member>
+         <member>legalnotice</member>
+         <member>lhs</member>
+         <member>lineage</member>
+         <member>lineannotation</member>
+         <member>link</member>
+         <member>listitem</member>
+         <member>literal</member>
+         <member>literallayout</member>
+         <member>locator</member>
+         <member>manvolnum</member>
+         <member>markup</member>
+         <member>mathphrase</member>
+         <member>mediaobject</member>
+         <member>member</member>
+         <member>menuchoice</member>
+         <member>methodname</member>
+         <member>methodparam</member>
+         <member>methodsynopsis</member>
+         <member>modifier</member>
+         <member>mousebutton</member>
+         <member>msg</member>
+         <member>msgaud</member>
+         <member>msgentry</member>
+         <member>msgexplan</member>
+         <member>msginfo</member>
+         <member>msglevel</member>
+         <member>msgmain</member>
+         <member>msgorig</member>
+         <member>msgrel</member>
+         <member>msgset</member>
+         <member>msgsub</member>
+         <member>msgtext</member>
+         <member>nonterminal</member>
+         <member>note</member>
+         <member>olink</member>
+         <member>ooclass</member>
+         <member>ooexception</member>
+         <member>oointerface</member>
+         <member>option</member>
+         <member>optional</member>
+         <member>orderedlist</member>
+         <member>org</member>
+         <member>orgdiv</member>
+         <member>orgname</member>
+         <member>otheraddr</member>
+         <member>othercredit</member>
+         <member>othername</member>
+         <member>package</member>
+         <member>pagenums</member>
+         <member>para</member>
+         <member>paramdef</member>
+         <member>parameter</member>
+         <member>part</member>
+         <member>partintro</member>
+         <member>person</member>
+         <member>personblurb</member>
+         <member>personname</member>
+         <member>phone</member>
+         <member>phrase</member>
+         <member>pob</member>
+         <member>postcode</member>
+         <member>preface</member>
+         <member>primary</member>
+         <member>primaryie</member>
+         <member>printhistory</member>
+         <member>procedure</member>
+         <member>production</member>
+         <member>productionrecap</member>
+         <member>productionset</member>
+         <member>productname</member>
+         <member>productnumber</member>
+         <member>programlisting</member>
+         <member>programlistingco</member>
+         <member>prompt</member>
+         <member>property</member>
+         <member>pubdate</member>
+         <member>publisher</member>
+         <member>publishername</member>
+         <member>qandadiv</member>
+         <member>qandaentry</member>
+         <member>qandaset</member>
+         <member>question</member>
+         <member>quote</member>
+         <member>refclass</member>
+         <member>refdescriptor</member>
+         <member>refentry</member>
+         <member>refentrytitle</member>
+         <member>reference</member>
+         <member>refmeta</member>
+         <member>refmiscinfo</member>
+         <member>refname</member>
+         <member>refnamediv</member>
+         <member>refpurpose</member>
+         <member>refsect1</member>
+         <member>refsect2</member>
+         <member>refsect3</member>
+         <member>refsection</member>
+         <member>refsynopsisdiv</member>
+         <member>releaseinfo</member>
+         <member>remark</member>
+         <member>replaceable</member>
+         <member>returnvalue</member>
+         <member>revdescription</member>
+         <member>revhistory</member>
+         <member>revision</member>
+         <member>revnumber</member>
+         <member>revremark</member>
+         <member>rhs</member>
+         <member>row</member>
+         <member>sbr</member>
+         <member>screen</member>
+         <member>screenco</member>
+         <member>screenshot</member>
+         <member>secondary</member>
+         <member>secondaryie</member>
+         <member>sect1</member>
+         <member>sect2</member>
+         <member>sect3</member>
+         <member>sect4</member>
+         <member>sect5</member>
+         <member>section</member>
+         <member>see</member>
+         <member>seealso</member>
+         <member>seealsoie</member>
+         <member>seeie</member>
+         <member>seg</member>
+         <member>seglistitem</member>
+         <member>segmentedlist</member>
+         <member>segtitle</member>
+         <member>seriesvolnums</member>
+         <member>set</member>
+         <member>setindex</member>
+         <member>shortaffil</member>
+         <member>shortcut</member>
+         <member>sidebar</member>
+         <member>simpara</member>
+         <member>simplelist</member>
+         <member>simplemsgentry</member>
+         <member>simplesect</member>
+         <member>spanspec</member>
+         <member>state</member>
+         <member>step</member>
+         <member>stepalternatives</member>
+         <member>street</member>
+         <member>subject</member>
+         <member>subjectset</member>
+         <member>subjectterm</member>
+         <member>subscript</member>
+         <member>substeps</member>
+         <member>subtitle</member>
+         <member>superscript</member>
+         <member>surname</member>
+         <member>symbol</member>
+         <member>synopfragment</member>
+         <member>synopfragmentref</member>
+         <member>synopsis</member>
+         <member>systemitem</member>
+         <member>table</member>
+         <member>tag</member>
+         <member>task</member>
+         <member>taskprerequisites</member>
+         <member>taskrelated</member>
+         <member>tasksummary</member>
+         <member>tbody</member>
+         <member>td</member>
+         <member>term</member>
+         <member>termdef</member>
+         <member>tertiary</member>
+         <member>tertiaryie</member>
+         <member>textdata</member>
+         <member>textobject</member>
+         <member>tfoot</member>
+         <member>tgroup</member>
+         <member>th</member>
+         <member>thead</member>
+         <member>tip</member>
+         <member>title</member>
+         <member>titleabbrev</member>
+         <member>toc</member>
+         <member>tocdiv</member>
+         <member>tocentry</member>
+         <member>token</member>
+         <member>tr</member>
+         <member>trademark</member>
+         <member>type</member>
+         <member>uri</member>
+         <member>userinput</member>
+         <member>varargs</member>
+         <member>variablelist</member>
+         <member>varlistentry</member>
+         <member>varname</member>
+         <member>videodata</member>
+         <member>videoobject</member>
+         <member>void</member>
+         <member>volumenum</member>
+         <member>warning</member>
+         <member>wordasword</member>
+         <member>xref</member>
+         <member>year</member>
+      </simplelist>
+   </xslt:variable>
+   <xslt:variable name="docbook-elements" select="exsl:node-set($docbook-element-list)/simplelist"/>
+   <xslt:template name="is-docbook-element">
+      <xslt:param name="element" select="''"/>
+      <xslt:choose>
+         <xslt:when test="$docbook-elements/member[. = $element]">1</xslt:when>
+         <xslt:otherwise>0</xslt:otherwise>
+      </xslt:choose>
+   </xslt:template>
+</xslt:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/docparam2txt.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/docparam2txt.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/docparam2txt.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,24 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<xsl:output method="text" indent="no"/>
+
+<!-- ********************************************************************
+     $Id: docparam2txt.xsl 6294 2006-09-13 08:51:12Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="preface|reference|refentry|appendix">
+  <xsl:value-of select="concat(@id,'.html','&#x0a;')"/>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="text()"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/html2roff.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/html2roff.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/html2roff.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,57 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:ng="http://docbook.org/docbook-ng"
+                xmlns:db="http://docbook.org/ns/docbook"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="exsl db ng"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: html2roff.xsl 6492 2007-01-14 20:21:31Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<!-- * Standalone stylesheet for doing "HTML to roff" transformation of a -->
+<!-- * stylesheet; which currently just means that it transforms all -->
+<!-- * <br/> instances into a line break, and all <pre></pre> instances -->
+<!-- * into roff "no fill region" markup -->
+
+<!-- ==================================================================== -->
+
+  <xsl:output method="xml"
+              encoding="UTF-8"
+              indent="no"/>
+
+  <xsl:template match="/">
+    <xsl:apply-templates/>
+    <xsl:text>&#x0a;</xsl:text>
+  </xsl:template>
+
+  <xsl:template match="node() | @*">
+    <xsl:copy>
+      <xsl:apply-templates select="@* | node()"/>
+    </xsl:copy>
+  </xsl:template>
+
+  <!-- ==================================================================== -->
+
+  <xsl:template match="br">
+    <xsl:element name="xsl:text">&#10;.&#10;</xsl:element>
+  </xsl:template>
+
+  <xsl:template match="pre">
+    <xsl:element name="xsl:text">&#x2302;sp&#10;</xsl:element>
+    <xsl:element name="xsl:text">&#x2302;nf&#10;</xsl:element>
+    <xsl:copy>
+      <xsl:apply-templates select="@* | node()"/>
+    </xsl:copy>
+    <xsl:element name="xsl:text">&#10;</xsl:element>
+    <xsl:element name="xsl:text">&#x2302;fi&#10;</xsl:element>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/identity.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/identity.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/identity.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,13 @@
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		version='1.0'>
+
+  <xsl:output method="xml"
+	      indent="no"/>
+  
+  <xsl:template match="node() | @*">
+    <xsl:copy>
+      <xsl:apply-templates select="@* | node()"/>
+    </xsl:copy>
+  </xsl:template>
+  
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/jref2refsect1.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/jref2refsect1.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/jref2refsect1.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,103 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:xi="http://www.w3.org/2001/XInclude"
+                xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+                exclude-result-prefixes="xsl xi src"
+                version='1.0'>
+
+<xsl:output method="xml" indent="no"/>
+
+
+<!-- ********************************************************************
+     $Id: jref2refsect1.xsl 6288 2006-09-12 07:22:34Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="/">
+  <xsl:text>&#x0a;</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>&#x0a;</xsl:text>
+</xsl:template>
+
+<xsl:template match="node() | @*">
+  <xsl:copy>
+    <xsl:apply-templates select="@* | node()"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="refdescription">
+  <refsect1>
+    <title></title>
+    <xsl:apply-templates/>
+  </refsect1>
+</xsl:template>
+
+<xsl:template match="refauthor">
+  <refsect1>
+    <title>Author</title>
+    <xsl:apply-templates/>
+  </refsect1>
+</xsl:template>
+
+<xsl:template match="refversion">
+  <refsect1>
+    <title>Version</title>
+    <xsl:apply-templates/>
+  </refsect1>
+</xsl:template>
+
+<xsl:template match="refparameter">
+  <refsect1>
+    <title>Parameters</title>
+    <xsl:apply-templates/>
+  </refsect1>
+</xsl:template>
+
+<xsl:template match="refreturn">
+  <refsect1>
+    <title>Returns</title>
+    <xsl:apply-templates/>
+  </refsect1>
+</xsl:template>
+
+<xsl:template match="refexception|refthrows">
+  <refsect1>
+    <title>Exceptions</title>
+    <xsl:apply-templates/>
+  </refsect1>
+</xsl:template>
+
+<xsl:template match="refsee">
+  <refsect1>
+    <title>See</title>
+    <xsl:apply-templates/>
+  </refsect1>
+</xsl:template>
+
+<xsl:template match="refsince">
+  <refsect1>
+    <title>Since</title>
+    <xsl:apply-templates/>
+  </refsect1>
+</xsl:template>
+
+<xsl:template match="refserial">
+  <refsect1>
+    <title>Serial</title>
+    <xsl:apply-templates/>
+  </refsect1>
+</xsl:template>
+
+<xsl:template match="refdeprecated">
+  <refsect1>
+    <title>Deprecated</title>
+    <xsl:apply-templates/>
+  </refsect1>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/jrefhtml.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/jrefhtml.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/jrefhtml.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,201 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<xsl:import href="../../../html/docbook.xsl"/>
+
+<xsl:output
+  method="html"
+  indent="yes"
+  encoding="ISO-8859-1"/>
+
+<!-- ********************************************************************
+     $Id: jrefhtml.xsl 6299 2006-09-14 07:30:40Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:param name="part.autolabel" select="0"/>
+<xsl:param name="html.stylesheet" select="'../css/reference.css'"/>
+<xsl:param name="admon.graphics" select="1"></xsl:param>
+<xsl:param name="admon.textlabel" select="0"></xsl:param>
+<xsl:param name="admon.graphics.path">../images/</xsl:param>
+<xsl:param name="admon.graphics.extension" select="'.png'"></xsl:param>
+<xsl:param name="admon.style"/>
+<xsl:param name="html.append"><xsl:text>&#x0a;</xsl:text></xsl:param>
+
+
+<xsl:template match="refentry">
+  <xsl:apply-imports/>
+</xsl:template>
+
+<xsl:template match="refdescription">
+  <div class="{name(.)}">
+    <a>
+      <xsl:attribute name="name">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </a>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refauthor">
+  <div class="{name(.)}">
+    <b>
+      <a>
+        <xsl:attribute name="name">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </a>
+      <xsl:text>Author</xsl:text>
+    </b>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refversion">
+  <div class="{name(.)}">
+    <b>
+      <a>
+        <xsl:attribute name="name">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </a>
+      <xsl:text>Version</xsl:text>
+    </b>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refparameter">
+  <div class="{name(.)}">
+    <b>
+      <a>
+        <xsl:attribute name="name">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </a>
+      <xsl:text>Parameters</xsl:text>
+    </b>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refreturn">
+  <div class="{name(.)}">
+    <b>
+      <a>
+        <xsl:attribute name="name">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </a>
+      <xsl:text>Returns</xsl:text>
+    </b>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refexception|refthrows">
+  <div class="{name(.)}">
+    <b>
+      <a>
+        <xsl:attribute name="name">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </a>
+      <xsl:text>Exceptions</xsl:text>
+    </b>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refsee">
+  <div class="{name(.)}">
+    <b>
+      <a>
+        <xsl:attribute name="name">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </a>
+      <xsl:text>See</xsl:text>
+    </b>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refsince">
+  <div class="{name(.)}">
+    <b>
+      <a>
+        <xsl:attribute name="name">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </a>
+      <xsl:text>Since</xsl:text>
+    </b>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refserial">
+  <div class="{name(.)}">
+    <b>
+      <a>
+        <xsl:attribute name="name">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </a>
+      <xsl:text>Serial</xsl:text>
+    </b>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refdeprecated">
+  <div class="{name(.)}">
+    <b>
+      <a>
+        <xsl:attribute name="name">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </a>
+      <xsl:text>Deprecated</xsl:text>
+    </b>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="titlepage.mode">
+  <xsl:variable name="years" select="year"/>
+  <xsl:variable name="holders" select="holder"/>
+
+  <p class="{name(.)}">
+    <a href="../copyright.html">
+      <xsl:call-template name="gentext.element.name"/>
+    </a>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">copyright</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="$years" mode="titlepage.mode"/>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="gentext.by"/>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="$holders" mode="titlepage.mode"/>
+    <xsl:text>. </xsl:text>
+    <a href="../warranty.html">No Warranty</a>
+    <xsl:text>.</xsl:text>
+  </p>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/lrefentry.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/lrefentry.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/lrefentry.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,91 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+                xmlns:verb="com.nwalsh.saxon.Verbatim"
+                exclude-result-prefixes="src verb"
+                version="1.0">
+
+<xsl:import href="../../../../litprog/html/ldocbook.xsl"/>
+
+<xsl:template match="src:fragment" mode="label.markup">
+  <xsl:text>&#xA7;</xsl:text>
+  <xsl:number from="/" level="any" format="1"/>
+</xsl:template>
+
+<xsl:template match="src:fragment" mode="xref-to">
+  <xsl:variable name="section" select="ancestor::refentry[1]"/>
+
+  <i>
+    <xsl:text>&#xA7;</xsl:text>
+    <xsl:apply-templates select="$section" mode="label.markup"/>
+    <xsl:number from="/" level="any"/>
+    <xsl:text>. </xsl:text>
+    <xsl:apply-templates select="$section" mode="title.markup"/>
+  </i>
+</xsl:template>
+
+<xsl:template match="src:fragment" mode="xref-to-section">
+  <xsl:variable name="section" select="ancestor::refentry[1]"/>
+
+  <i>
+    <xsl:text>&#xA7;</xsl:text>
+    <xsl:apply-templates select="$section" mode="label.markup"/>
+    <xsl:number from="/" level="any"/>
+  </i>
+</xsl:template>
+
+<xsl:template match="src:fragment">
+  <xsl:param name="suppress-numbers" select="'0'"/>
+  <xsl:param name="linenumbering" select="'numbered'"/>
+
+  <xsl:variable name="section" select="ancestor::section[1]"/>
+  <xsl:variable name="id" select="@id"/>
+  <xsl:variable name="referents"
+                select="//src:fragment[.//src:fragref[@linkend=$id]]"/>
+
+  <a name="{@id}"/>
+  <table border="1" width="100%">
+    <tr>
+      <td>
+        <p>
+          <b>
+            <xsl:apply-templates select="." mode="label.markup"/>
+          </b>
+          <xsl:if test="$referents">
+            <xsl:text>: </xsl:text>
+            <xsl:for-each select="$referents">
+              <xsl:if test="position() &gt; 1">, </xsl:if>
+              <a href="#{@id}">
+                <xsl:apply-templates select="." mode="label.markup"/>
+              </a>
+            </xsl:for-each>
+          </xsl:if>
+        </p>
+      </td>
+    </tr>
+    <tr>
+      <td>
+        <xsl:choose>
+          <xsl:when test="$suppress-numbers = '0'
+                          and $linenumbering = 'numbered'
+                          and $use.extensions != '0'
+                          and $linenumbering.extension != '0'">
+            <xsl:variable name="rtf">
+              <xsl:apply-templates/>
+            </xsl:variable>
+            <pre class="{name(.)}">
+              <xsl:copy-of select="verb:numberLines($rtf)"/>
+            </pre>
+          </xsl:when>
+          <xsl:otherwise>
+            <pre class="{name(.)}">
+              <xsl:apply-templates/>
+            </pre>
+          </xsl:otherwise>
+        </xsl:choose>
+      </td>
+    </tr>
+  </table>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/make-elements.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/make-elements.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/make-elements.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:xslt="dummy"
+                version="1.0">
+  <xsl:output indent="yes"/>
+  <xsl:namespace-alias stylesheet-prefix="xslt" result-prefix="xsl"/>
+  <!-- ********************************************************************
+       $Id: make-elements.xsl 6288 2006-09-12 07:22:34Z xmldoc $
+       ********************************************************************
+
+       This file is part of the XSL DocBook Stylesheet distribution.
+       See ../README or http://docbook.sf.net/release/xsl/current/ for
+       copyright and other information.
+
+       ******************************************************************** -->
+
+  <!-- ==================================================================== -->
+
+  <!-- * This stylesheet expects as input a RELAX NG grammar that -->
+  <!-- * defines a set of (DocBook) elements, From that grammar, it gets -->
+  <!-- * the value of the "name" attribute for each element defined in -->
+  <!-- * that grammar, then generates a list of those names. -->
+
+  <xsl:template match="/">
+    <xslt:stylesheet version="1.0">
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:comment> *           Do not edit this file. </xsl:comment>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:comment> * It was generated automatically by the build. </xsl:comment>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:comment> * Edit the make-elements.xsl file instead. </xsl:comment>
+      <xslt:variable name="docbook-element-list">
+        <simplelist role="element"> 
+          <xsl:for-each
+              select="//*[local-name() = 'element'][@name]">
+            <xsl:sort select="@name"/>
+            <xsl:if test="not(@name = preceding::*[local-name() = 'element']/@name)">
+              <member><xsl:value-of select="@name"/></member>
+            </xsl:if>
+          </xsl:for-each>
+        </simplelist>
+      </xslt:variable>
+
+      <xslt:variable name="docbook-elements"
+                    select="exsl:node-set($docbook-element-list)/simplelist"/>
+
+      <xslt:template name="is-docbook-element">
+        <xslt:param name="element" select="''"/>
+
+        <xslt:choose>
+          <xslt:when test="$docbook-elements/member[. = $element]">1</xslt:when>
+          <xslt:otherwise>0</xslt:otherwise>
+        </xslt:choose>
+      </xslt:template>
+    </xslt:stylesheet>
+    <xsl:text>&#x0a;</xsl:text>
+  </xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/make-xsl-params.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/make-xsl-params.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/make-xsl-params.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,137 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                xmlns:xslt="dummy"
+                version="1.0">
+  <xsl:output indent="yes"/>
+  <xsl:namespace-alias stylesheet-prefix="xslt" result-prefix="xsl"/>
+  <!-- ********************************************************************
+       $Id: make-xsl-params.xsl 6510 2007-01-18 02:54:56Z xmldoc $
+       ********************************************************************
+
+       This file is part of the XSL DocBook Stylesheet distribution.
+       See ../README or http://docbook.sf.net/release/xsl/current/ for
+       copyright and other information.
+
+       ******************************************************************** -->
+
+  <!-- ==================================================================== -->
+
+  <!-- * This stylesheet expects itself as input  -->
+  <xsl:param name="param.dirs">html fo manpages roundtrip</xsl:param>
+
+  <xsl:template match="/">
+    <xslt:stylesheet version="1.0"> 
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:comment> *           Do not edit this file. </xsl:comment>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:comment> * It was generated automatically by the build. </xsl:comment>
+      <xsl:text>&#xa;</xsl:text>
+      <xsl:comment> * Edit the make-xsl-params.xsl file instead. </xsl:comment>
+
+      <!-- * Process params for each output format listed in $param.dirs -->
+      <!-- * by splitting the value of $param.dirs into two parts: the part -->
+      <!-- * before the first space (first directory name in the list), and -->
+      <!-- * the part after the first space (all other directory names) -->
+      <xsl:call-template name="make.param.list">
+        <xsl:with-param name="dir">
+          <xsl:choose>
+            <xsl:when test="contains($param.dirs, ' ')">
+              <xsl:value-of select="normalize-space(substring-before($param.dirs, ' '))"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="$param.dirs"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+        <xsl:with-param
+            name="remaining.dirs"
+            select="concat(normalize-space(substring-after($param.dirs, ' ')),' ')"/>
+      </xsl:call-template>
+      <xsl:call-template name="make.is.parameter.template">
+        <xsl:with-param name="dir">
+          <xsl:choose>
+            <xsl:when test="contains($param.dirs, ' ')">
+              <xsl:value-of select="normalize-space(substring-before($param.dirs, ' '))"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="$param.dirs"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+        <xsl:with-param
+            name="remaining.dirs"
+            select="concat(normalize-space(substring-after($param.dirs, ' ')),' ')"/>
+      </xsl:call-template>
+    </xslt:stylesheet>
+    <xsl:text>&#x0a;</xsl:text>
+  </xsl:template>
+
+  <!-- ==================================================================== -->
+
+  <!-- * The following templates do tail-recursion through a space-separated -->
+  <!-- * list of directories, popping off directory names until they -->
+  <!-- * deplete the list. -->
+  
+  <xsl:template name="make.param.list">
+    <!-- * For each directory, construct a relative URL for a -->
+    <!-- * param.xsl file, then read through that param.xsl file -->
+    <!-- * to collect parameter names. -->
+    <xsl:param name="dir"/>
+    <xsl:param name="remaining.dirs"/>
+    <!-- * When the value of $dir reaches empty, then we have depleted -->
+    <!-- * the list of directories and it's time to stop recursing -->
+    <xsl:if test="not($dir = '')">
+      <xsl:variable name="param.xsl" select="concat('../../../', $dir, '/', 'param.xsl')"/>
+      <xslt:variable name="xsl-{$dir}-parameters-list">
+        <simplelist role="param">
+          <xsl:for-each select="document($param.xsl)//*[local-name() = 'param']">
+            <xsl:sort select="@name"/>
+            <member><xsl:value-of select="@name"/></member>
+          </xsl:for-each>
+        </simplelist>
+      </xslt:variable>
+      <xslt:variable name="xsl-{$dir}-parameters"
+                     select="exsl:node-set($xsl-{$dir}-parameters-list)/simplelist"/>
+      <xsl:call-template name="make.param.list">
+        <!-- * pop the name of the next directory off the list of -->
+        <!-- * remaining directories -->
+        <xsl:with-param
+            name="dir"
+            select="substring-before($remaining.dirs, ' ')"/>
+        <!-- * remove the current directory from the list of -->
+        <!-- * remaining directories -->
+        <xsl:with-param
+            name="remaining.dirs"
+            select="substring-after($remaining.dirs, ' ')"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:template>
+
+  <xsl:template name="make.is.parameter.template">
+    <xsl:param name="dir"/>
+    <xsl:param name="remaining.dirs"/>
+    <xsl:if test="not($dir = '')">
+      <!-- * for each directory, construct a template. -->
+      <xslt:template name="is-{$dir}-parameter">
+        <xslt:param name="param" select="''"/>
+        <xslt:choose>
+          <xslt:when test="$xsl-{$dir}-parameters/member[. = $param]">1</xslt:when>
+          <xslt:otherwise>0</xslt:otherwise>
+        </xslt:choose>
+      </xslt:template>
+      <xsl:call-template name="make.is.parameter.template">
+        <!-- * pop the name of the next directory off the list of -->
+        <!-- * remaining directories -->
+        <xsl:with-param
+            name="dir"
+            select="substring-before($remaining.dirs, ' ')"/>
+        <!-- * remove the current directory from the list of -->
+        <!-- * remaining directories -->
+        <xsl:with-param
+            name="remaining.dirs"
+            select="substring-after($remaining.dirs, ' ')"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:template>
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/pirefentry.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/pirefentry.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/pirefentry.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="clrefentry.xsl"/>
+
+<xsl:template match="parameter">
+  <!-- link parameters to their reference pages -->
+  <a href="../{@role}/{.}.html">
+    <xsl:call-template name="inline.italicmonoseq"/>
+  </a>
+</xsl:template>
+
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/reference-fo.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/reference-fo.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/reference-fo.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,69 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                version="1.0">
+  <xsl:import href="../../../fo/docbook.xsl"/>
+  <xsl:param name="xep.extensions">1</xsl:param>
+  <xsl:param name="paper.type">A4</xsl:param>
+  <xsl:param name="draft.watermark.image"></xsl:param>
+  <xsl:param name="hyphenation">false</xsl:param>
+  <xsl:param name="hyphenate.verbatim">1</xsl:param>
+  <xsl:param name="alignment">left</xsl:param>
+  <xsl:param name="refentry.generate.name">1</xsl:param>
+  <xsl:param name="refentry.generate.title">0</xsl:param>
+  <xsl:param name="refentry.pagebreak">0</xsl:param>
+  <xsl:param name="shade.verbatim">1</xsl:param>
+  <xsl:param name="variablelist.as.blocks">1</xsl:param>
+  <xsl:param name="ulink.show">1</xsl:param>
+  <xsl:param name="ulink.footnotes">1</xsl:param>
+  <xsl:param name="index.on.type">1</xsl:param>
+  <xsl:param name="keep.relative.image.uris" select="0"/>
+  <xsl:attribute-set name="xref.properties">
+    <xsl:attribute name="color">blue</xsl:attribute>
+  </xsl:attribute-set>
+  <xsl:attribute-set name="shade.verbatim.style">
+    <xsl:attribute name="background-color">#E0E0E0</xsl:attribute>
+    <xsl:attribute name="padding-left">4pt</xsl:attribute>
+    <xsl:attribute name="padding-right">4pt</xsl:attribute>
+    <xsl:attribute name="padding-top">4pt</xsl:attribute>
+    <xsl:attribute name="padding-bottom">4pt</xsl:attribute>
+  </xsl:attribute-set>
+  <xsl:attribute-set name="section.title.level1.properties">
+    <xsl:attribute name="font-size">
+      <xsl:value-of select="$body.font.master * 1.5"></xsl:value-of>
+      <xsl:text>pt</xsl:text>
+    </xsl:attribute>
+  </xsl:attribute-set>
+  <xsl:attribute-set name="section.title.level2.properties">
+    <xsl:attribute name="font-size">
+      <xsl:value-of select="$body.font.master * 1.3"></xsl:value-of>
+      <xsl:text>pt</xsl:text>
+    </xsl:attribute>
+  </xsl:attribute-set>
+  <xsl:attribute-set name="section.title.level3.properties">
+    <xsl:attribute name="font-size">
+      <xsl:value-of select="$body.font.master * 1.1"></xsl:value-of>
+      <xsl:text>pt</xsl:text>
+    </xsl:attribute>
+  </xsl:attribute-set>
+  <xsl:attribute-set name="section.title.level4.properties">
+    <xsl:attribute name="font-size">
+      <xsl:value-of select="$body.font.master"></xsl:value-of>
+      <xsl:text>pt</xsl:text>
+    </xsl:attribute>
+  </xsl:attribute-set>
+  <xsl:attribute-set name="component.title.properties">
+    <xsl:attribute name="font-size">
+      <xsl:value-of select="$body.font.master * 1.5"></xsl:value-of>
+      <xsl:text>pt</xsl:text>
+    </xsl:attribute>
+  </xsl:attribute-set>
+  <xsl:attribute-set name="monospace.verbatim.properties">
+    <xsl:attribute name="wrap-option">wrap</xsl:attribute>
+    <xsl:attribute name="hyphenation-character">\</xsl:attribute>
+    <xsl:attribute name="font-size">
+      <xsl:value-of select="$body.font.master * 0.8"></xsl:value-of>
+      <xsl:text>pt</xsl:text>
+    </xsl:attribute>
+  </xsl:attribute-set>
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/reference-txt.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/reference-txt.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/reference-txt.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+  <xsl:import href="../../../html/docbook.xsl"/>
+  <xsl:param name="refentry.generate.name" select="1"/>
+  <xsl:param name="refentry.generate.title" select="0"/>
+  <xsl:param name="root.filename"></xsl:param>
+  <xsl:param name="variablelist.as.table" select="0"/>
+  <xsl:param name="admon.graphics" select="0"/>
+  <xsl:param name="index.on.type" select="1"/>
+  <xsl:param name="html.longdesc" select="0"/>
+  <xsl:param name="reference.autolabel">1</xsl:param>
+  <xsl:param name="toc.max.depth">1</xsl:param>
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/reference.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/reference.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/reference.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="../../../html/docbook.xsl"/>
+
+<xsl:param name="html.stylesheet" select="'css/reference.css'"/>
+<xsl:param name="admon.graphics" select="1"></xsl:param>
+<xsl:param name="admon.textlabel" select="0"></xsl:param>
+<xsl:param name="admon.graphics.path">./images/</xsl:param>
+<xsl:param name="admon.graphics.extension" select="'.png'"></xsl:param>
+<xsl:param name="admon.style"/>
+<xsl:param name="generate.toc"/>
+<xsl:param name="html.append"><xsl:text>&#x0a;</xsl:text></xsl:param>
+
+<xsl:template match="/legalnotice">
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="olink[@type='title']">
+  <xsl:variable name="xml"
+                select="document(unparsed-entity-uri(@targetdocent),.)"/>
+  <xsl:variable name="title" select="($xml/*/title[1]
+                                      |$xml/*/bookinfo/title[1]
+                                      |$xml/*/referenceinfo/title[1])[1]"/>
+  <i>
+    <a href="{@localinfo}">
+      <xsl:apply-templates select="$title/*|$title/text()"/>
+    </a>
+  </i>
+</xsl:template>
+
+<xsl:template match="copyright" mode="titlepage.mode">
+  <xsl:variable name="years" select="year"/>
+  <xsl:variable name="holders" select="holder"/>
+
+  <p class="{name(.)}">
+    <a href="copyright.html">
+      <xsl:call-template name="gentext.element.name"/>
+    </a>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">copyright</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="copyright.years">
+      <xsl:with-param name="years" select="year"/>
+      <xsl:with-param name="print.ranges" select="1"/>
+      <xsl:with-param name="single.year.ranges"
+                      select="$make.single.year.ranges"/>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="gentext.by"/>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="$holders" mode="titlepage.mode"/>
+    <xsl:text>. </xsl:text>
+    <a href="warranty.html">No Warranty</a>
+    <xsl:text>.</xsl:text>
+  </p>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/tdg-link.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/tdg-link.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/tdg-link.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:include href="docbook-elements.xsl"/>
+
+<xsl:param name="tdg-baseuri" select="'http://docbook.org/tdg/en/html/'"/>
+
+<xsl:template match="sgmltag|tag">
+  <xsl:variable name="tagmarkup">
+    <xsl:apply-imports/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="not(@class) or @class='element'">
+      <xsl:variable name="base-element">
+        <xsl:choose>
+          <xsl:when test="contains(normalize-space(.), ' ')">
+            <xsl:value-of select="substring-before(normalize-space(.), ' ')"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="normalize-space(.)"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:variable name="element"
+                    select="translate($base-element,
+                                      'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
+                                      'abcdefghijklmnopqrstuvwxyz')"/>
+
+      <xsl:variable name="isdocbook">
+        <xsl:call-template name="is-docbook-element">
+          <xsl:with-param name="element" select="$element"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$isdocbook != 0">
+          <a href="{concat($tdg-baseuri, normalize-space($element))}.html">
+            <xsl:copy-of select="$tagmarkup"/>
+          </a>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:copy-of select="$tagmarkup"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$tagmarkup"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/xsl-param-link.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/xsl-param-link.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/xsl-param-link.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,75 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:include href="xsl-params.xsl"/>
+
+<xsl:param name="html-baseuri"
+           select="'http://docbook.sourceforge.net/release/xsl/current/doc/html/'"/>
+
+<xsl:param name="fo-baseuri"
+           select="'http://docbook.sourceforge.net/release/xsl/current/doc/fo/'"/>
+
+<xsl:param name="manpages-baseuri"
+           select="'http://docbook.sourceforge.net/release/xsl/current/doc/manpages/'"/>
+
+<xsl:param name="roundtrip-baseuri"
+           select="'http://docbook.sourceforge.net/release/xsl/current/doc/roundtrip/'"/>
+
+<xsl:template match="parameter">
+  <xsl:variable name="markup">
+    <xsl:apply-imports/>
+  </xsl:variable>
+
+  <xsl:variable name="ishtml">
+    <xsl:call-template name="is-html-parameter">
+      <xsl:with-param name="param" select="normalize-space(.)"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="isfo">
+    <xsl:call-template name="is-fo-parameter">
+      <xsl:with-param name="param" select="normalize-space(.)"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="ismanpages">
+    <xsl:call-template name="is-manpages-parameter">
+      <xsl:with-param name="param" select="normalize-space(.)"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="isroundtrip">
+    <xsl:call-template name="is-roundtrip-parameter">
+      <xsl:with-param name="param" select="normalize-space(.)"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$ishtml != 0">
+      <a href="{concat($html-baseuri, normalize-space(.))}.html">
+        <xsl:copy-of select="$markup"/>
+      </a>
+    </xsl:when>
+    <xsl:when test="$isfo != 0">
+      <a href="{concat($fo-baseuri, normalize-space(.))}.html">
+        <xsl:copy-of select="$markup"/>
+      </a>
+    </xsl:when>
+    <xsl:when test="$ismanpages != 0">
+      <a href="{concat($manpages-baseuri, normalize-space(.))}.html">
+        <xsl:copy-of select="$markup"/>
+      </a>
+    </xsl:when>
+    <xsl:when test="$isroundtrip != 0">
+      <a href="{concat($roundtrip-baseuri, normalize-space(.))}.html">
+        <xsl:copy-of select="$markup"/>
+      </a>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$markup"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/xsl-params.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/xsl-params.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/xsl-params.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,642 @@
+<?xml version="1.0" encoding="utf-8"?>
+<xslt:stylesheet xmlns:xslt="http://www.w3.org/1999/XSL/Transform" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" version="1.0">
+<!-- *           Do not edit this file. -->
+<!-- * It was generated automatically by the build. -->
+<!-- * Edit the make-xsl-params.xsl file instead. -->
+   <xslt:variable name="xsl-html-parameters-list">
+      <simplelist role="param">
+         <member>admon.graphics</member>
+         <member>admon.graphics.extension</member>
+         <member>admon.graphics.path</member>
+         <member>admon.style</member>
+         <member>admon.textlabel</member>
+         <member>annotate.toc</member>
+         <member>annotation.css</member>
+         <member>annotation.graphic.close</member>
+         <member>annotation.graphic.open</member>
+         <member>annotation.js</member>
+         <member>annotation.support</member>
+         <member>appendix.autolabel</member>
+         <member>author.othername.in.middle</member>
+         <member>autotoc.label.in.hyperlink</member>
+         <member>autotoc.label.separator</member>
+         <member>base.dir</member>
+         <member>biblioentry.item.separator</member>
+         <member>bibliography.collection</member>
+         <member>bibliography.numbered</member>
+         <member>blurb.on.titlepage.enabled</member>
+         <member>bridgehead.in.toc</member>
+         <member>callout.defaultcolumn</member>
+         <member>callout.graphics</member>
+         <member>callout.graphics.extension</member>
+         <member>callout.graphics.number.limit</member>
+         <member>callout.graphics.path</member>
+         <member>callout.list.table</member>
+         <member>callout.unicode</member>
+         <member>callout.unicode.number.limit</member>
+         <member>callout.unicode.start.character</member>
+         <member>callouts.extension</member>
+         <member>chapter.autolabel</member>
+         <member>chunk.append</member>
+         <member>chunk.first.sections</member>
+         <member>chunk.quietly</member>
+         <member>chunk.section.depth</member>
+         <member>chunk.separate.lots</member>
+         <member>chunk.toc</member>
+         <member>chunk.tocs.and.lots</member>
+         <member>chunk.tocs.and.lots.has.title</member>
+         <member>citerefentry.link</member>
+         <member>collect.xref.targets</member>
+         <member>component.label.includes.part.label</member>
+         <member>contrib.inline.enabled</member>
+         <member>css.decoration</member>
+         <member>current.docid</member>
+         <member>default.float.class</member>
+         <member>default.image.width</member>
+         <member>default.table.frame</member>
+         <member>default.table.width</member>
+         <member>draft.mode</member>
+         <member>draft.watermark.image</member>
+         <member>ebnf.assignment</member>
+         <member>ebnf.statement.terminator</member>
+         <member>ebnf.table.bgcolor</member>
+         <member>ebnf.table.border</member>
+         <member>eclipse.autolabel</member>
+         <member>eclipse.plugin.id</member>
+         <member>eclipse.plugin.name</member>
+         <member>eclipse.plugin.provider</member>
+         <member>editedby.enabled</member>
+         <member>email.delimiters.enabled</member>
+         <member>emphasis.propagates.style</member>
+         <member>entry.propagates.style</member>
+         <member>firstterm.only.link</member>
+         <member>footer.rule</member>
+         <member>footnote.number.format</member>
+         <member>footnote.number.symbols</member>
+         <member>formal.procedures</member>
+         <member>formal.title.placement</member>
+         <member>funcsynopsis.decoration</member>
+         <member>funcsynopsis.style</member>
+         <member>funcsynopsis.tabular.threshold</member>
+         <member>function.parens</member>
+         <member>generate.id.attributes</member>
+         <member>generate.index</member>
+         <member>generate.legalnotice.link</member>
+         <member>generate.manifest</member>
+         <member>generate.meta.abstract</member>
+         <member>generate.revhistory.link</member>
+         <member>generate.section.toc.level</member>
+         <member>generate.toc</member>
+         <member>glossary.collection</member>
+         <member>glossary.sort</member>
+         <member>glossentry.show.acronym</member>
+         <member>glossterm.auto.link</member>
+         <member>graphic.default.extension</member>
+         <member>graphicsize.extension</member>
+         <member>graphicsize.use.img.src.path</member>
+         <member>header.rule</member>
+         <member>highlight.default.language</member>
+         <member>highlight.source</member>
+         <member>html.append</member>
+         <member>html.base</member>
+         <member>html.cellpadding</member>
+         <member>html.cellspacing</member>
+         <member>html.cleanup</member>
+         <member>html.ext</member>
+         <member>html.extra.head.links</member>
+         <member>html.head.legalnotice.link.multiple</member>
+         <member>html.head.legalnotice.link.types</member>
+         <member>html.longdesc</member>
+         <member>html.longdesc.link</member>
+         <member>html.stylesheet</member>
+         <member>html.stylesheet.type</member>
+         <member>htmlhelp.alias.file</member>
+         <member>htmlhelp.autolabel</member>
+         <member>htmlhelp.button.back</member>
+         <member>htmlhelp.button.forward</member>
+         <member>htmlhelp.button.hideshow</member>
+         <member>htmlhelp.button.home</member>
+         <member>htmlhelp.button.home.url</member>
+         <member>htmlhelp.button.jump1</member>
+         <member>htmlhelp.button.jump1.title</member>
+         <member>htmlhelp.button.jump1.url</member>
+         <member>htmlhelp.button.jump2</member>
+         <member>htmlhelp.button.jump2.title</member>
+         <member>htmlhelp.button.jump2.url</member>
+         <member>htmlhelp.button.locate</member>
+         <member>htmlhelp.button.next</member>
+         <member>htmlhelp.button.options</member>
+         <member>htmlhelp.button.prev</member>
+         <member>htmlhelp.button.print</member>
+         <member>htmlhelp.button.refresh</member>
+         <member>htmlhelp.button.stop</member>
+         <member>htmlhelp.button.zoom</member>
+         <member>htmlhelp.chm</member>
+         <member>htmlhelp.default.topic</member>
+         <member>htmlhelp.display.progress</member>
+         <member>htmlhelp.encoding</member>
+         <member>htmlhelp.enhanced.decompilation</member>
+         <member>htmlhelp.enumerate.images</member>
+         <member>htmlhelp.force.map.and.alias</member>
+         <member>htmlhelp.hhc</member>
+         <member>htmlhelp.hhc.binary</member>
+         <member>htmlhelp.hhc.folders.instead.books</member>
+         <member>htmlhelp.hhc.section.depth</member>
+         <member>htmlhelp.hhc.show.root</member>
+         <member>htmlhelp.hhc.width</member>
+         <member>htmlhelp.hhk</member>
+         <member>htmlhelp.hhp</member>
+         <member>htmlhelp.hhp.tail</member>
+         <member>htmlhelp.hhp.window</member>
+         <member>htmlhelp.hhp.windows</member>
+         <member>htmlhelp.map.file</member>
+         <member>htmlhelp.only</member>
+         <member>htmlhelp.remember.window.position</member>
+         <member>htmlhelp.show.advanced.search</member>
+         <member>htmlhelp.show.favorities</member>
+         <member>htmlhelp.show.menu</member>
+         <member>htmlhelp.show.toolbar.text</member>
+         <member>htmlhelp.title</member>
+         <member>htmlhelp.use.hhk</member>
+         <member>htmlhelp.window.geometry</member>
+         <member>id.warnings</member>
+         <member>ignore.image.scaling</member>
+         <member>img.src.path</member>
+         <member>index.method</member>
+         <member>index.number.separator</member>
+         <member>index.on.role</member>
+         <member>index.on.type</member>
+         <member>index.prefer.titleabbrev</member>
+         <member>index.range.separator</member>
+         <member>index.term.separator</member>
+         <member>inherit.keywords</member>
+         <member>insert.olink.page.number</member>
+         <member>insert.olink.pdf.frag</member>
+         <member>insert.xref.page.number</member>
+         <member>keep.relative.image.uris</member>
+         <member>l10n.gentext.default.language</member>
+         <member>l10n.gentext.language</member>
+         <member>l10n.gentext.use.xref.language</member>
+         <member>l10n.lang.value.rfc.compliant</member>
+         <member>label.from.part</member>
+         <member>linenumbering.everyNth</member>
+         <member>linenumbering.extension</member>
+         <member>linenumbering.separator</member>
+         <member>linenumbering.width</member>
+         <member>link.mailto.url</member>
+         <member>make.graphic.viewport</member>
+         <member>make.single.year.ranges</member>
+         <member>make.valid.html</member>
+         <member>make.year.ranges</member>
+         <member>manifest</member>
+         <member>manifest.in.base.dir</member>
+         <member>manual.toc</member>
+         <member>menuchoice.menu.separator</member>
+         <member>menuchoice.separator</member>
+         <member>navig.graphics</member>
+         <member>navig.graphics.extension</member>
+         <member>navig.graphics.path</member>
+         <member>navig.showtitles</member>
+         <member>nominal.image.depth</member>
+         <member>nominal.image.width</member>
+         <member>nominal.table.width</member>
+         <member>olink.base.uri</member>
+         <member>olink.debug</member>
+         <member>olink.doctitle</member>
+         <member>olink.fragid</member>
+         <member>olink.lang.fallback.sequence</member>
+         <member>olink.outline.ext</member>
+         <member>olink.pubid</member>
+         <member>olink.resolver</member>
+         <member>olink.sysid</member>
+         <member>othercredit.like.author.enabled</member>
+         <member>para.propagates.style</member>
+         <member>part.autolabel</member>
+         <member>phrase.propagates.style</member>
+         <member>pixels.per.inch</member>
+         <member>points.per.em</member>
+         <member>preface.autolabel</member>
+         <member>prefer.internal.olink</member>
+         <member>preferred.mediaobject.role</member>
+         <member>process.empty.source.toc</member>
+         <member>process.source.toc</member>
+         <member>profile.arch</member>
+         <member>profile.attribute</member>
+         <member>profile.condition</member>
+         <member>profile.conformance</member>
+         <member>profile.lang</member>
+         <member>profile.os</member>
+         <member>profile.revision</member>
+         <member>profile.revisionflag</member>
+         <member>profile.role</member>
+         <member>profile.security</member>
+         <member>profile.separator</member>
+         <member>profile.status</member>
+         <member>profile.userlevel</member>
+         <member>profile.value</member>
+         <member>profile.vendor</member>
+         <member>punct.honorific</member>
+         <member>qanda.defaultlabel</member>
+         <member>qanda.in.toc</member>
+         <member>qanda.inherit.numeration</member>
+         <member>qanda.nested.in.toc</member>
+         <member>qandadiv.autolabel</member>
+         <member>refclass.suppress</member>
+         <member>refentry.generate.name</member>
+         <member>refentry.generate.title</member>
+         <member>refentry.separator</member>
+         <member>refentry.xref.manvolnum</member>
+         <member>reference.autolabel</member>
+         <member>root.filename</member>
+         <member>rootid</member>
+         <member>runinhead.default.title.end.punct</member>
+         <member>runinhead.title.end.punct</member>
+         <member>section.autolabel</member>
+         <member>section.autolabel.max.depth</member>
+         <member>section.label.includes.component.label</member>
+         <member>segmentedlist.as.table</member>
+         <member>shade.verbatim</member>
+         <member>show.comments</member>
+         <member>show.revisionflag</member>
+         <member>simplesect.in.toc</member>
+         <member>spacing.paras</member>
+         <member>suppress.footer.navigation</member>
+         <member>suppress.header.navigation</member>
+         <member>suppress.navigation</member>
+         <member>table.borders.with.css</member>
+         <member>table.cell.border.color</member>
+         <member>table.cell.border.style</member>
+         <member>table.cell.border.thickness</member>
+         <member>table.footnote.number.format</member>
+         <member>table.footnote.number.symbols</member>
+         <member>table.frame.border.color</member>
+         <member>table.frame.border.style</member>
+         <member>table.frame.border.thickness</member>
+         <member>tablecolumns.extension</member>
+         <member>target.database.document</member>
+         <member>targets.filename</member>
+         <member>tex.math.delims</member>
+         <member>tex.math.file</member>
+         <member>tex.math.in.alt</member>
+         <member>textdata.default.encoding</member>
+         <member>textinsert.extension</member>
+         <member>toc.list.type</member>
+         <member>toc.max.depth</member>
+         <member>toc.section.depth</member>
+         <member>ulink.target</member>
+         <member>use.embed.for.svg</member>
+         <member>use.extensions</member>
+         <member>use.id.as.filename</member>
+         <member>use.local.olink.style</member>
+         <member>use.role.as.xrefstyle</member>
+         <member>use.role.for.mediaobject</member>
+         <member>use.svg</member>
+         <member>variablelist.as.table</member>
+         <member>variablelist.term.break.after</member>
+         <member>variablelist.term.separator</member>
+         <member>xref.label-page.separator</member>
+         <member>xref.label-title.separator</member>
+         <member>xref.title-page.separator</member>
+         <member>xref.with.number.and.title</member>
+      </simplelist>
+   </xslt:variable>
+   <xslt:variable name="xsl-html-parameters" select="exsl:node-set($xsl-html-parameters-list)/simplelist"/>
+   <xslt:variable name="xsl-fo-parameters-list">
+      <simplelist role="param">
+         <member>admon.graphics</member>
+         <member>admon.graphics.extension</member>
+         <member>admon.graphics.path</member>
+         <member>admon.textlabel</member>
+         <member>alignment</member>
+         <member>appendix.autolabel</member>
+         <member>arbortext.extensions</member>
+         <member>author.othername.in.middle</member>
+         <member>autotoc.label.separator</member>
+         <member>axf.extensions</member>
+         <member>biblioentry.item.separator</member>
+         <member>bibliography.collection</member>
+         <member>bibliography.numbered</member>
+         <member>body.end.indent</member>
+         <member>body.font.family</member>
+         <member>body.font.master</member>
+         <member>body.font.size</member>
+         <member>body.margin.bottom</member>
+         <member>body.margin.top</member>
+         <member>body.start.indent</member>
+         <member>bridgehead.in.toc</member>
+         <member>callout.defaultcolumn</member>
+         <member>callout.graphics</member>
+         <member>callout.graphics.extension</member>
+         <member>callout.graphics.number.limit</member>
+         <member>callout.graphics.path</member>
+         <member>callout.unicode</member>
+         <member>callout.unicode.font</member>
+         <member>callout.unicode.number.limit</member>
+         <member>callout.unicode.start.character</member>
+         <member>callouts.extension</member>
+         <member>chapter.autolabel</member>
+         <member>collect.xref.targets</member>
+         <member>column.count.back</member>
+         <member>column.count.body</member>
+         <member>column.count.front</member>
+         <member>column.count.index</member>
+         <member>column.count.lot</member>
+         <member>column.count.titlepage</member>
+         <member>column.gap.back</member>
+         <member>column.gap.body</member>
+         <member>column.gap.front</member>
+         <member>column.gap.index</member>
+         <member>column.gap.lot</member>
+         <member>column.gap.titlepage</member>
+         <member>component.label.includes.part.label</member>
+         <member>crop.mark.bleed</member>
+         <member>crop.mark.offset</member>
+         <member>crop.mark.width</member>
+         <member>crop.marks</member>
+         <member>current.docid</member>
+         <member>default.float.class</member>
+         <member>default.image.width</member>
+         <member>default.table.width</member>
+         <member>default.units</member>
+         <member>dingbat.font.family</member>
+         <member>double.sided</member>
+         <member>draft.mode</member>
+         <member>draft.watermark.image</member>
+         <member>ebnf.assignment</member>
+         <member>ebnf.statement.terminator</member>
+         <member>email.delimiters.enabled</member>
+         <member>firstterm.only.link</member>
+         <member>footer.column.widths</member>
+         <member>footer.rule</member>
+         <member>footer.table.height</member>
+         <member>footers.on.blank.pages</member>
+         <member>footnote.font.size</member>
+         <member>footnote.number.format</member>
+         <member>footnote.number.symbols</member>
+         <member>fop.extensions</member>
+         <member>fop1.extensions</member>
+         <member>formal.procedures</member>
+         <member>formal.title.placement</member>
+         <member>funcsynopsis.decoration</member>
+         <member>funcsynopsis.style</member>
+         <member>function.parens</member>
+         <member>generate.index</member>
+         <member>generate.section.toc.level</member>
+         <member>generate.toc</member>
+         <member>glossary.as.blocks</member>
+         <member>glossary.collection</member>
+         <member>glossary.sort</member>
+         <member>glossentry.show.acronym</member>
+         <member>glosslist.as.blocks</member>
+         <member>glossterm.auto.link</member>
+         <member>glossterm.separation</member>
+         <member>glossterm.width</member>
+         <member>graphic.default.extension</member>
+         <member>header.column.widths</member>
+         <member>header.rule</member>
+         <member>header.table.height</member>
+         <member>headers.on.blank.pages</member>
+         <member>highlight.default.language</member>
+         <member>highlight.source</member>
+         <member>hyphenate</member>
+         <member>hyphenate.verbatim</member>
+         <member>hyphenate.verbatim.characters</member>
+         <member>ignore.image.scaling</member>
+         <member>img.src.path</member>
+         <member>index.method</member>
+         <member>index.number.separator</member>
+         <member>index.on.role</member>
+         <member>index.on.type</member>
+         <member>index.range.separator</member>
+         <member>index.term.separator</member>
+         <member>insert.link.page.number</member>
+         <member>insert.olink.page.number</member>
+         <member>insert.olink.pdf.frag</member>
+         <member>insert.xref.page.number</member>
+         <member>itemizedlist.label.width</member>
+         <member>keep.relative.image.uris</member>
+         <member>l10n.gentext.default.language</member>
+         <member>l10n.gentext.language</member>
+         <member>l10n.gentext.use.xref.language</member>
+         <member>l10n.lang.value.rfc.compliant</member>
+         <member>label.from.part</member>
+         <member>line-height</member>
+         <member>linenumbering.everyNth</member>
+         <member>linenumbering.extension</member>
+         <member>linenumbering.separator</member>
+         <member>linenumbering.width</member>
+         <member>make.index.markup</member>
+         <member>make.single.year.ranges</member>
+         <member>make.year.ranges</member>
+         <member>margin.note.float.type</member>
+         <member>margin.note.width</member>
+         <member>marker.section.level</member>
+         <member>menuchoice.menu.separator</member>
+         <member>menuchoice.separator</member>
+         <member>monospace.font.family</member>
+         <member>nominal.table.width</member>
+         <member>olink.base.uri</member>
+         <member>olink.debug</member>
+         <member>olink.doctitle</member>
+         <member>olink.lang.fallback.sequence</member>
+         <member>orderedlist.label.width</member>
+         <member>page.height</member>
+         <member>page.height.portrait</member>
+         <member>page.margin.bottom</member>
+         <member>page.margin.inner</member>
+         <member>page.margin.outer</member>
+         <member>page.margin.top</member>
+         <member>page.orientation</member>
+         <member>page.width</member>
+         <member>page.width.portrait</member>
+         <member>paper.type</member>
+         <member>part.autolabel</member>
+         <member>passivetex.extensions</member>
+         <member>preface.autolabel</member>
+         <member>prefer.internal.olink</member>
+         <member>preferred.mediaobject.role</member>
+         <member>process.empty.source.toc</member>
+         <member>process.source.toc</member>
+         <member>profile.arch</member>
+         <member>profile.attribute</member>
+         <member>profile.condition</member>
+         <member>profile.conformance</member>
+         <member>profile.lang</member>
+         <member>profile.os</member>
+         <member>profile.revision</member>
+         <member>profile.revisionflag</member>
+         <member>profile.role</member>
+         <member>profile.security</member>
+         <member>profile.separator</member>
+         <member>profile.status</member>
+         <member>profile.userlevel</member>
+         <member>profile.value</member>
+         <member>profile.vendor</member>
+         <member>punct.honorific</member>
+         <member>qanda.defaultlabel</member>
+         <member>qanda.inherit.numeration</member>
+         <member>qandadiv.autolabel</member>
+         <member>refclass.suppress</member>
+         <member>refentry.generate.name</member>
+         <member>refentry.generate.title</member>
+         <member>refentry.pagebreak</member>
+         <member>refentry.xref.manvolnum</member>
+         <member>reference.autolabel</member>
+         <member>region.after.extent</member>
+         <member>region.before.extent</member>
+         <member>rootid</member>
+         <member>runinhead.default.title.end.punct</member>
+         <member>runinhead.title.end.punct</member>
+         <member>sans.font.family</member>
+         <member>section.autolabel</member>
+         <member>section.autolabel.max.depth</member>
+         <member>section.label.includes.component.label</member>
+         <member>segmentedlist.as.table</member>
+         <member>shade.verbatim</member>
+         <member>show.comments</member>
+         <member>sidebar.float.type</member>
+         <member>sidebar.float.width</member>
+         <member>simplesect.in.toc</member>
+         <member>symbol.font.family</member>
+         <member>table.cell.border.color</member>
+         <member>table.cell.border.style</member>
+         <member>table.cell.border.thickness</member>
+         <member>table.footnote.number.format</member>
+         <member>table.footnote.number.symbols</member>
+         <member>table.frame.border.color</member>
+         <member>table.frame.border.style</member>
+         <member>table.frame.border.thickness</member>
+         <member>tablecolumns.extension</member>
+         <member>target.database.document</member>
+         <member>targets.filename</member>
+         <member>tex.math.delims</member>
+         <member>tex.math.in.alt</member>
+         <member>textdata.default.encoding</member>
+         <member>textinsert.extension</member>
+         <member>title.font.family</member>
+         <member>title.margin.left</member>
+         <member>toc.indent.width</member>
+         <member>toc.max.depth</member>
+         <member>toc.section.depth</member>
+         <member>ulink.footnotes</member>
+         <member>ulink.hyphenate</member>
+         <member>ulink.hyphenate.chars</member>
+         <member>ulink.show</member>
+         <member>use.extensions</member>
+         <member>use.local.olink.style</member>
+         <member>use.role.as.xrefstyle</member>
+         <member>use.role.for.mediaobject</member>
+         <member>use.svg</member>
+         <member>variablelist.as.blocks</member>
+         <member>variablelist.max.termlength</member>
+         <member>variablelist.term.break.after</member>
+         <member>variablelist.term.separator</member>
+         <member>xep.extensions</member>
+         <member>xref.label-page.separator</member>
+         <member>xref.label-title.separator</member>
+         <member>xref.title-page.separator</member>
+         <member>xref.with.number.and.title</member>
+      </simplelist>
+   </xslt:variable>
+   <xslt:variable name="xsl-fo-parameters" select="exsl:node-set($xsl-fo-parameters-list)/simplelist"/>
+   <xslt:variable name="xsl-manpages-parameters-list">
+      <simplelist role="param">
+         <member>email.delimiters.enabled</member>
+         <member>man.break.after.slash</member>
+         <member>man.charmap.enabled</member>
+         <member>man.charmap.subset.profile</member>
+         <member>man.charmap.uri</member>
+         <member>man.charmap.use.subset</member>
+         <member>man.font.funcprototype</member>
+         <member>man.font.funcsynopsisinfo</member>
+         <member>man.font.table.headings</member>
+         <member>man.font.table.title</member>
+         <member>man.hyphenate</member>
+         <member>man.hyphenate.computer.inlines</member>
+         <member>man.hyphenate.filenames</member>
+         <member>man.hyphenate.urls</member>
+         <member>man.indent.blurbs</member>
+         <member>man.indent.lists</member>
+         <member>man.indent.refsect</member>
+         <member>man.indent.verbatims</member>
+         <member>man.indent.width</member>
+         <member>man.justify</member>
+         <member>man.links.are.numbered</member>
+         <member>man.links.are.underlined</member>
+         <member>man.links.list.enabled</member>
+         <member>man.links.list.heading</member>
+         <member>man.output.base.dir</member>
+         <member>man.output.encoding</member>
+         <member>man.output.in.separate.dir</member>
+         <member>man.output.lang.in.name.enabled</member>
+         <member>man.output.manifest.enabled</member>
+         <member>man.output.manifest.filename</member>
+         <member>man.output.quietly</member>
+         <member>man.output.subdirs.enabled</member>
+         <member>man.segtitle.suppress</member>
+         <member>man.string.subst.map</member>
+         <member>man.string.subst.map.local.post</member>
+         <member>man.string.subst.map.local.pre</member>
+         <member>man.subheading.divider</member>
+         <member>man.subheading.divider.enabled</member>
+         <member>man.table.footnotes.divider</member>
+         <member>man.th.extra1.suppress</member>
+         <member>man.th.extra2.max.length</member>
+         <member>man.th.extra2.suppress</member>
+         <member>man.th.extra3.max.length</member>
+         <member>man.th.extra3.suppress</member>
+         <member>man.th.title.max.length</member>
+         <member>refentry.date.profile</member>
+         <member>refentry.date.profile.enabled</member>
+         <member>refentry.manual.fallback.profile</member>
+         <member>refentry.manual.profile</member>
+         <member>refentry.manual.profile.enabled</member>
+         <member>refentry.meta.get.quietly</member>
+         <member>refentry.source.fallback.profile</member>
+         <member>refentry.source.name.profile</member>
+         <member>refentry.source.name.profile.enabled</member>
+         <member>refentry.source.name.suppress</member>
+         <member>refentry.version.profile</member>
+         <member>refentry.version.profile.enabled</member>
+         <member>refentry.version.suppress</member>
+         <member>variablelist.term.break.after</member>
+         <member>variablelist.term.separator</member>
+      </simplelist>
+   </xslt:variable>
+   <xslt:variable name="xsl-manpages-parameters" select="exsl:node-set($xsl-manpages-parameters-list)/simplelist"/>
+   <xslt:variable name="xsl-roundtrip-parameters-list">
+      <simplelist role="param">
+         <member>pages.template</member>
+         <member>wordml.template</member>
+      </simplelist>
+   </xslt:variable>
+   <xslt:variable name="xsl-roundtrip-parameters" select="exsl:node-set($xsl-roundtrip-parameters-list)/simplelist"/>
+   <xslt:template name="is-html-parameter">
+      <xslt:param name="param" select="''"/>
+      <xslt:choose>
+         <xslt:when test="$xsl-html-parameters/member[. = $param]">1</xslt:when>
+         <xslt:otherwise>0</xslt:otherwise>
+      </xslt:choose>
+   </xslt:template>
+   <xslt:template name="is-fo-parameter">
+      <xslt:param name="param" select="''"/>
+      <xslt:choose>
+         <xslt:when test="$xsl-fo-parameters/member[. = $param]">1</xslt:when>
+         <xslt:otherwise>0</xslt:otherwise>
+      </xslt:choose>
+   </xslt:template>
+   <xslt:template name="is-manpages-parameter">
+      <xslt:param name="param" select="''"/>
+      <xslt:choose>
+         <xslt:when test="$xsl-manpages-parameters/member[. = $param]">1</xslt:when>
+         <xslt:otherwise>0</xslt:otherwise>
+      </xslt:choose>
+   </xslt:template>
+   <xslt:template name="is-roundtrip-parameter">
+      <xslt:param name="param" select="''"/>
+      <xslt:choose>
+         <xslt:when test="$xsl-roundtrip-parameters/member[. = $param]">1</xslt:when>
+         <xslt:otherwise>0</xslt:otherwise>
+      </xslt:choose>
+   </xslt:template>
+</xslt:stylesheet>

Added: trunk/docs/docbook/src/main/resources/tools/xsl/build/xsl2jref.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/tools/xsl/build/xsl2jref.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/tools/xsl/build/xsl2jref.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,360 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                xmlns:lxslt="http://xml.apache.org/xslt"
+                exclude-result-prefixes="doc xsl lxslt">
+
+<xsl:include href="../../../html/param.xsl"/>
+<xsl:include href="../../../html/chunker.xsl"/>
+
+<xsl:output
+     method="xml"
+     doctype-public="-//Norman Walsh//DTD JRefEntry V1.1//EN"
+     doctype-system="http://docbook.sourceforge.net/release/jrefentry/1.1/jrefentry.dtd"
+/>
+
+<xsl:preserve-space elements="xsl:variable"/>
+<xsl:strip-space elements="xsl:stylesheet"/>
+
+<!-- ********************************************************************
+     $Id: xsl2jref.xsl 6308 2006-09-19 11:48:11Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:param name="output-file" select="''"/>
+<xsl:param name="stylesheet.result.type" select="'xml'"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="lxslt:*">
+  <!-- nop -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="/">
+  <xsl:choose>
+    <xsl:when test="$output-file = ''">
+      <xsl:message terminate='yes'>
+        <xsl:text>You must set the output-file parameter!</xsl:text>
+      </xsl:message>
+    </xsl:when>
+    <xsl:when test="/xsl:stylesheet/doc:*">
+      <xsl:call-template name="write.chunk">
+        <xsl:with-param name="filename" select="$output-file"/>
+        <xsl:with-param name="method" select="'xml'"/>
+        <xsl:with-param name="encoding" select="'utf-8'"/>
+        <xsl:with-param
+            name="doctype-public"
+            >-//Norman Walsh//DTD JRefEntry V1.1//EN</xsl:with-param>
+        <xsl:with-param
+            name="doctype-system"
+            >http://docbook.sourceforge.net/release/jrefentry/1.1/jrefentry.dtd</xsl:with-param>
+        <xsl:with-param name="content">
+          <xsl:apply-templates/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- nop -->
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*">
+  <xsl:variable name="block-element" select="name(.) = 'para'
+                                             or name(.) = 'sidebar'
+                                             or name(.) = 'variablelist'
+                                             or name(.) = 'itemizedlist'"/>
+  <xsl:if test="$block-element"><xsl:text>&#10;</xsl:text></xsl:if>
+  <xsl:element namespace="" name="{name(.)}">
+    <xsl:apply-templates select="@*" mode="copy-attr"/>
+    <xsl:apply-templates/>
+  </xsl:element>
+  <xsl:if test="$block-element"><xsl:text>&#10;</xsl:text></xsl:if>
+</xsl:template>
+
+<xsl:template match="@*" mode="copy-attr">
+  <xsl:attribute name="{name(.)}">
+    <xsl:value-of select="."/>
+  </xsl:attribute>
+</xsl:template>
+
+<xsl:template match="xsl:*"></xsl:template>
+
+<xsl:template match="xsl:stylesheet">
+  <xsl:choose>
+    <xsl:when test="doc:reference">
+      <reference>
+        <xsl:apply-templates/>
+      </reference>
+      <xsl:text>&#10;</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="xsl:include">
+  <!-- nop -->
+<!--
+  <xsl:apply-templates select="document(@href)/*"/>
+-->
+</xsl:template>
+
+<xsl:template match="@*" mode="copy">
+  <xsl:text> </xsl:text>
+  <xsl:value-of select="name(.)"/>
+  <xsl:text>="</xsl:text>
+  <xsl:value-of select="."/>
+  <xsl:text>"</xsl:text>
+</xsl:template>
+
+<xsl:template match="*" mode="copy">
+  <xsl:variable name="content">
+    <xsl:apply-templates mode="copy"/>
+  </xsl:variable>
+
+  <xsl:text>&lt;</xsl:text>
+  <xsl:value-of select="name(.)"/>
+  <xsl:apply-templates select="@*" mode="copy"/>
+  <xsl:choose>
+    <xsl:when test="$content = ''">
+      <xsl:text>/</xsl:text>
+      <xsl:text>&gt;</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>&gt;</xsl:text>
+      <xsl:copy-of select="$content"/>
+      <xsl:text>&lt;/</xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:text>&gt;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="comment()" mode="copy">
+  <xsl:text>&lt;!--</xsl:text>
+  <xsl:value-of select="."/>
+  <xsl:text>--&gt;</xsl:text>
+</xsl:template>
+
+<xsl:template match="processing-instruction()" mode="copy">
+  <xsl:text>&lt;?</xsl:text>
+  <xsl:value-of select="name(.)"/>
+  <xsl:text> </xsl:text>
+  <xsl:value-of select="."/>
+  <xsl:text>?&gt;</xsl:text>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="doc:reference">
+  <!-- only process the children; doc:reference logically wraps the entire
+       stylesheet, even if it can't syntactically do so. -->
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="doc:variable">
+  <xsl:variable name="name" select="@name"/>
+
+  <xsl:text>&#10;</xsl:text>
+  <refentry id="var.{$name}">
+    <xsl:text>&#10;</xsl:text>
+    <refnamediv>
+      <xsl:text>&#10;</xsl:text>
+      <refname><xsl:value-of select="$name"/></refname>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:apply-templates select="refpurpose"/>
+      <xsl:text>&#10;</xsl:text>
+    </refnamediv>
+    <xsl:text>&#10;</xsl:text>
+    <refsynopsisdiv>
+      <xsl:text>&#10;</xsl:text>
+      <synopsis>
+        <xsl:apply-templates select="../xsl:variable[@name=$name]"
+                             mode="copy-template"/>
+      </synopsis>
+      <xsl:text>&#10;</xsl:text>
+    </refsynopsisdiv>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:apply-templates select="*[name(.)!='refpurpose']"/>
+  </refentry>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="doc:param">
+  <xsl:variable name="name" select="@name"/>
+
+  <xsl:text>&#10;</xsl:text>
+  <refentry id="param.{$name}">
+    <xsl:text>&#10;</xsl:text>
+    <refnamediv>
+      <xsl:text>&#10;</xsl:text>
+      <refname><xsl:value-of select="$name"/></refname>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:apply-templates select="refpurpose"/>
+      <xsl:text>&#10;</xsl:text>
+    </refnamediv>
+    <xsl:text>&#10;</xsl:text>
+    <refsynopsisdiv>
+      <xsl:text>&#10;</xsl:text>
+      <synopsis>
+        <xsl:apply-templates select="../xsl:param[@name=$name]"
+                             mode="copy-template"/>
+      </synopsis>
+      <xsl:text>&#10;</xsl:text>
+    </refsynopsisdiv>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:apply-templates select="*[name(.)!='refpurpose']"/>
+  </refentry>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="doc:template[@name]">
+  <xsl:variable name="name" select="@name"/>
+
+  <xsl:text>&#10;</xsl:text>
+  <refentry id="template.{$name}">
+    <xsl:text>&#10;</xsl:text>
+    <refnamediv>
+      <xsl:text>&#10;</xsl:text>
+      <refname><xsl:value-of select="$name"/></refname>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:apply-templates select="refpurpose"/>
+      <xsl:text>&#10;</xsl:text>
+    </refnamediv>
+    <xsl:text>&#10;</xsl:text>
+    <refsynopsisdiv>
+      <xsl:text>&#10;</xsl:text>
+      <synopsis>
+        <xsl:apply-templates select="../xsl:template[@name=$name]"
+                             mode="copy-template"/>
+      </synopsis>
+      <xsl:text>&#10;</xsl:text>
+    </refsynopsisdiv>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:apply-templates select="*[name(.)!='refpurpose']"/>
+  </refentry>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="doc:template[@match]">
+  <xsl:variable name="match" select="@match"/>
+  <xsl:variable name="mode" select="@mode"/>
+  <xsl:variable name="id" select="@id"/>
+
+  <xsl:text>&#10;</xsl:text>
+  <refentry id="{$id}">
+    <xsl:text>&#10;</xsl:text>
+    <refnamediv>
+      <xsl:text>&#10;</xsl:text>
+      <refname>
+        <xsl:value-of select="$match"/>
+        <xsl:if test="@mode">
+          <xsl:text> (in </xsl:text>
+          <xsl:value-of select="$mode"/>
+          <xsl:text> mode)</xsl:text>
+        </xsl:if>
+      </refname>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:apply-templates select="refpurpose"/>
+      <xsl:text>&#10;</xsl:text>
+    </refnamediv>
+    <xsl:text>&#10;</xsl:text>
+    <refsynopsisdiv>
+      <xsl:text>&#10;</xsl:text>
+      <synopsis>
+        <xsl:choose>
+          <xsl:when test="@mode">
+            <xsl:apply-templates select="../xsl:template[@match=$match and @mode=$mode]"
+                                 mode="copy-template"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="../xsl:template[@match=$match]"
+                                 mode="copy-template"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </synopsis>
+      <xsl:text>&#10;</xsl:text>
+    </refsynopsisdiv>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:apply-templates select="*[name(.)!='refpurpose']"/>
+  </refentry>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="doc:mode">
+  <xsl:variable name="name" select="@mode"/>
+
+  <refentry id="mode.{$name}">
+    <refnamediv>
+      <refname><xsl:value-of select="$name"/> mode</refname>
+      <xsl:apply-templates select="refpurpose"/>
+    </refnamediv>
+    <xsl:apply-templates select="*[name(.)!='refpurpose']"/>
+  </refentry>
+</xsl:template>
+
+<xsl:template match="doc:attribute-set">
+  <xsl:variable name="name" select="@name"/>
+
+  <refentry id="attrset.{$name}">
+    <refnamediv>
+      <refname><xsl:value-of select="$name"/> mode</refname>
+      <xsl:apply-templates select="refpurpose"/>
+    </refnamediv>
+    <xsl:apply-templates select="*[name(.)!='refpurpose']"/>
+  </refentry>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*|text()|comment()|processing-instruction()"
+              mode="copy-template">
+  <!-- suppress -->
+</xsl:template>
+
+<xsl:template match="xsl:param" mode="copy-template">
+  <xsl:text>&#10;</xsl:text>
+  <xsl:apply-templates select="." mode="copy"/>
+</xsl:template>
+
+<xsl:template match="xsl:template" mode="copy-template">
+  <xsl:variable name="content">
+    <xsl:apply-templates mode="copy-template"/>
+  </xsl:variable>
+
+  <xsl:text>&lt;</xsl:text>
+  <xsl:value-of select="name(.)"/>
+  <xsl:apply-templates select="@*" mode="copy"/>
+  <xsl:choose>
+    <xsl:when test="$content = ''">
+      <xsl:text>/</xsl:text>
+      <xsl:text>&gt;</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>&gt;</xsl:text>
+      <xsl:copy-of select="$content"/>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:text>  ...</xsl:text>
+      <xsl:text>&#10;</xsl:text>
+      <xsl:text>&lt;/</xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:text>&gt;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/autolayout.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/autolayout.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/autolayout.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,258 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:output method="xml" indent="no"
+            doctype-public="-//Norman Walsh//DTD Website Autolayout V2.5.0//EN"
+            doctype-system="http://docbook.sourceforge.net/release/website/2.5.0/schema/dtd/autolayout.dtd"
+/>
+
+<xsl:strip-space elements="toc tocentry layout copyright"/>
+
+<xsl:template match="layout">
+  <autolayout>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:apply-templates/>
+  </autolayout>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="style|script|headlink|copyright|config">
+  <xsl:apply-templates select="." mode="copy"/>
+</xsl:template>
+
+<xsl:template match="*" mode="copy">
+  <xsl:element name="{name(.)}">
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="copy"/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="toc">
+  <xsl:if test="not(@page)">
+    <xsl:message terminate="yes">
+      <xsl:text>All toc entries must have a page attribute.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="page" select="document(@page,.)"/>
+
+  <toc>
+    <xsl:call-template name="tocentry"/>
+  </toc>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="tocentry">
+  <tocentry>
+    <xsl:call-template name="tocentry"/>
+  </tocentry>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="notoc">
+  <notoc>
+    <xsl:call-template name="tocentry"/>
+  </notoc>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template name="tocentry">
+  <xsl:if test="@revisionflag">
+    <xsl:attribute name="revisionflag">
+      <xsl:value-of select="@revisionflag"/>
+    </xsl:attribute>
+  </xsl:if>
+  <xsl:choose>
+    <xsl:when test="@href">
+      <xsl:call-template name="tocentry.href"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="tocentry.page"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="tocentry.href">
+  <xsl:if test="not(@href)">
+    <xsl:message terminate="yes">
+      <xsl:text>All toc entries must have an href attribute.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="not(@id)">
+    <xsl:message terminate="yes">
+      <xsl:text>All href toc entries must have an id attribute.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:message>
+    <xsl:text>off site: </xsl:text>
+    <xsl:value-of select="@href"/>
+  </xsl:message>
+
+  <xsl:attribute name="id">
+    <xsl:value-of select="@id"/>
+  </xsl:attribute>
+  <xsl:attribute name="href">
+    <xsl:value-of select="@href"/>
+  </xsl:attribute>
+  <xsl:if test="@tocskip = '1'">
+    <xsl:attribute name="tocskip">
+      <xsl:value-of select="@tocskip"/>
+    </xsl:attribute>
+  </xsl:if>
+
+  <xsl:if test="not(title)">
+    <xsl:message terminate="yes">
+      <xsl:text>Off-site links must provide a title.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:text>&#10;</xsl:text>
+  <xsl:apply-templates select="title|titleabbrev|summary" mode="copy"/>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:apply-templates select="tocentry"/>
+</xsl:template>
+
+<xsl:template name="tocentry.page">
+  <xsl:if test="not(@page)">
+    <xsl:message terminate="yes">
+      <xsl:text>All toc entries must have a page attribute.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="page" select="document(@page,.)"/>
+
+  <xsl:if test="not($page/*[1]/@id)">
+    <xsl:message terminate="yes">
+      <xsl:value-of select="@page"/>
+      <xsl:text>: missing ID.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="id" select="$page/*[1]/@id"/>
+
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="@filename">
+        <xsl:value-of select="@filename"/>
+      </xsl:when>
+      <xsl:when test="/layout/config[@param='default-filename']">
+        <xsl:value-of select="(/layout/config[@param='default-filename'])[1]/@value"/>
+      </xsl:when>
+      <xsl:otherwise>index.html</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="dir">
+    <xsl:apply-templates select="." mode="calculate-dir"/>
+  </xsl:variable>
+
+  <xsl:if test="$filename = ''">
+    <xsl:message terminate="yes">
+      <xsl:value-of select="@page"/>
+      <xsl:text>: missing filename.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:message>
+    <xsl:value-of select="@page"/>
+    <xsl:text>: </xsl:text>
+    <xsl:if test="$dir != ''">
+      <xsl:value-of select="$dir"/>
+    </xsl:if>
+    <xsl:value-of select="$filename"/>
+  </xsl:message>
+
+  <xsl:attribute name="page">
+    <xsl:value-of select="@page"/>
+  </xsl:attribute>
+  <xsl:attribute name="id">
+    <xsl:value-of select="$id"/>
+  </xsl:attribute>
+  <xsl:if test="$dir != ''">
+    <xsl:attribute name="dir">
+      <xsl:value-of select="$dir"/>
+    </xsl:attribute>
+  </xsl:if>
+  <xsl:attribute name="filename">
+    <xsl:value-of select="$filename"/>
+  </xsl:attribute>
+  <xsl:if test="@tocskip = '1'">
+    <xsl:attribute name="tocskip">
+      <xsl:value-of select="@tocskip"/>
+    </xsl:attribute>
+  </xsl:if>
+
+  <xsl:text>&#10;</xsl:text>
+  <xsl:choose>
+    <xsl:when test="title">
+      <xsl:apply-templates select="title" mode="copy"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <title>
+        <xsl:apply-templates select="$page/*[1]/head/title"/>
+      </title>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:text>&#10;</xsl:text>
+
+  <xsl:if test="titleabbrev or $page/*[1]/head/titleabbrev">
+    <xsl:choose>
+      <xsl:when test="titleabbrev">
+        <xsl:apply-templates select="titleabbrev" mode="copy"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <titleabbrev>
+          <xsl:apply-templates select="$page/*[1]/head/titleabbrev"/>
+        </titleabbrev>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:if>
+
+  <xsl:if test="summary or $page/*[1]/head/summary">
+    <xsl:choose>
+      <xsl:when test="summary">
+        <xsl:apply-templates select="summary" mode="copy"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <summary>
+          <xsl:apply-templates select="$page/*[1]/head/summary"/>
+        </summary>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:if>
+
+  <xsl:apply-templates select="tocentry"/>
+</xsl:template>
+
+<xsl:template match="*" mode="calculate-dir">
+  <xsl:choose>
+    <xsl:when test="starts-with(@dir, '/')">
+      <!-- if the directory on this begins with a "/", we're done... -->
+      <xsl:value-of select="substring-after(@dir, '/')"/>
+      <xsl:text>/</xsl:text>
+    </xsl:when>
+
+    <xsl:when test="parent::*">
+      <!-- if there's a parent, try it -->
+      <xsl:apply-templates select="parent::*" mode="calculate-dir"/>
+      <xsl:if test="@dir">
+        <xsl:value-of select="@dir"/>
+        <xsl:text>/</xsl:text>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:if test="@dir">
+        <xsl:value-of select="@dir"/>
+        <xsl:text>/</xsl:text>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/chunk-common.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/chunk-common.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/chunk-common.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,227 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:xweb="xalan://com.nwalsh.xalan.Website"
+                xmlns:sweb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Website"
+                exclude-result-prefixes="sweb xweb"
+                version="1.0">
+
+<xsl:output method="html"/>
+
+<xsl:param name="output-root" select="'.'"/>
+<xsl:param name="dry-run" select="'0'"/>
+<xsl:param name="rebuild-all" select="'0'"/>
+
+<xsl:template match="autolayout">
+  <!-- Regenerate olink database? -->
+  <xsl:if test="$collect.xref.targets = 'yes' or
+                $collect.xref.targets = 'only'">
+    <xsl:apply-templates select="." mode="collect.targets"/>
+  </xsl:if>
+
+  <xsl:if test="$collect.xref.targets != 'only'" >
+    <xsl:apply-templates select="toc|notoc" mode="make"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="toc|tocentry|notoc" mode="make">
+  <xsl:call-template name="make.tocentry"/>
+  <xsl:apply-templates select="tocentry" mode="make"/>
+</xsl:template>
+
+<xsl:template name="make.tocentry">
+  <xsl:variable name="srcFile" select="@page"/>
+
+  <xsl:if test="@page and @href">
+    <xsl:message terminate="yes">
+      <xsl:text>Fail: tocentry has both page and href attributes.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="@filename">
+        <xsl:value-of select="@filename"/>
+      </xsl:when>
+      <xsl:otherwise>index.html</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="dir">
+    <xsl:apply-templates select="." mode="calculate-dir"/>
+  </xsl:variable>
+
+<!--
+  <xsl:message>
+    <xsl:text>!!</xsl:text>
+    <xsl:value-of select="$dir"/>
+    <xsl:text>!!</xsl:text>
+    <xsl:value-of select="$filename-prefix"/>
+    <xsl:text>!!</xsl:text>
+    <xsl:value-of select="$filename"/>
+  </xsl:message>
+-->
+
+  <xsl:variable name="targetFile">
+    <xsl:value-of select="$dir"/>
+    <xsl:value-of select="$filename-prefix"/>
+    <xsl:value-of select="$filename"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('sweb:exists')">
+      <xsl:if test="not(@href) and not(sweb:exists($srcFile))">
+        <xsl:message terminate="yes">
+          <xsl:value-of select="$srcFile"/>
+          <xsl:text> does not exist.</xsl:text>
+        </xsl:message>
+      </xsl:if>
+    </xsl:when>
+    <xsl:when test="function-available('xweb:exists')">
+      <xsl:if test="not(@href) and not(xweb:exists($srcFile))">
+        <xsl:message terminate="yes">
+          <xsl:value-of select="$srcFile"/>
+          <xsl:text> does not exist.</xsl:text>
+        </xsl:message>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message terminate="no">
+        <xsl:value-of select="$srcFile"/>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:variable name="output-file">
+    <xsl:choose>
+      <xsl:when test="@href">
+        <xsl:value-of select="@href"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$output-root"/>
+        <xsl:text>/</xsl:text>
+        <xsl:value-of select="$targetFile"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="needsUpdate">
+    <xsl:choose>
+      <xsl:when test="@href">0</xsl:when>
+      <xsl:when test="function-available('sweb:needsUpdate')">
+        <xsl:choose>
+          <xsl:when test="$rebuild-all != 0
+                          or sweb:needsUpdate($autolayout-file, $output-file)
+                          or sweb:needsUpdate($srcFile, $output-file)">
+            <xsl:text>1</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>0</xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:when test="function-available('xweb:needsUpdate')">
+        <xsl:choose>
+          <xsl:when test="$rebuild-all != 0
+                          or xweb:needsUpdate($autolayout-file, $output-file)
+                          or xweb:needsUpdate($srcFile, $output-file)">
+            <xsl:text>1</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>0</xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$needsUpdate != 0">
+      <xsl:message>
+        <xsl:text>Update: </xsl:text>
+        <xsl:value-of select="$output-file"/>
+        <xsl:text>: </xsl:text>
+        <xsl:value-of select="$srcFile"/>
+      </xsl:message>
+
+      <xsl:variable name="webpage" select="document($srcFile,.)"/>
+      <xsl:variable name="content">
+        <xsl:apply-templates select="$webpage/webpage"/>
+      </xsl:variable>
+
+      <xsl:if test="$dry-run = 0">
+        <xsl:call-template name="write.chunk">
+          <xsl:with-param name="filename" select="$output-file"/>
+          <xsl:with-param name="content" select="$content"/>
+        </xsl:call-template>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>Up-to-date: </xsl:text>
+        <xsl:value-of select="$output-file"/>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="calculate-dir">
+  <xsl:choose>
+    <xsl:when test="@dir">
+      <!-- if there's a directory, use it -->
+      <xsl:choose>
+        <xsl:when test="starts-with(@dir, '/')">
+          <!-- if the directory on this begins with a "/", we're done... -->
+          <xsl:value-of select="substring-after(@dir, '/')"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="@dir"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="parent::*">
+      <!-- if there's a parent, try it -->
+      <xsl:apply-templates select="parent::*" mode="calculate-dir"/>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <!-- nop -->
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="autolayout" mode="collect.targets">
+  <xsl:choose>
+    <xsl:when test="$website.database.document = ''">
+      <xsl:message>
+        Must specify a $website.database.document parameter when
+        $collect.xref.targets is set to 'yes' or 'only'.
+        The xref targets were not collected.
+      </xsl:message>
+    </xsl:when> 
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$website.database.document">
+          <xsl:call-template name="write.chunk">
+            <xsl:with-param name="filename"
+	                    select="$website.database.document"/>
+            <xsl:with-param name="method" select="'xml'"/>
+            <xsl:with-param name="encoding" select="'utf-8'"/>
+            <xsl:with-param name="omit-xml-declaration" select="'no'"/>
+            <xsl:with-param name="indent" select="'yes'"/>
+            <xsl:with-param name="quiet" select="0"/>
+            <xsl:with-param name="content">
+              <targetset>
+                <xsl:apply-templates select="." mode="olink.mode"/>
+              </targetset>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <!-- Else write to standard output -->
+          <xsl:apply-templates select="." mode="olink.mode"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+ 
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/chunk-tabular.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/chunk-tabular.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/chunk-tabular.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:xweb="xalan://com.nwalsh.xalan.Website"
+                xmlns:sweb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Website"
+                exclude-result-prefixes="sweb xweb"
+                version="1.0">
+
+<xsl:import href="tabular.xsl"/>
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunker.xsl"/>
+<xsl:include href="chunk-common.xsl"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/chunk-website.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/chunk-website.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/chunk-website.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:xweb="xalan://com.nwalsh.xalan.Website"
+                xmlns:sweb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Website"
+                exclude-result-prefixes="sweb xweb"
+                version="1.0">
+
+<xsl:import href="website.xsl"/>
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunker.xsl"/>
+<xsl:include href="chunk-common.xsl"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/head.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/head.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/head.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,316 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:template match="head" mode="head.mode">
+  <xsl:variable name="nodes" select="*"/>
+  <head>
+    <meta name="generator" content="Website XSL Stylesheet V{$VERSION}"/>
+    <xsl:if test="$html.stylesheet != ''">
+      <link rel="stylesheet" href="{$html.stylesheet}" type="text/css">
+	<xsl:if test="$html.stylesheet.type != ''">
+	  <xsl:attribute name="type">
+	    <xsl:value-of select="$html.stylesheet.type"/>
+	  </xsl:attribute>
+	</xsl:if>
+      </link>
+    </xsl:if>
+
+    <xsl:variable name="thisid" select="ancestor-or-self::webpage/@id"/>
+    <xsl:variable name="thisrelpath">
+      <xsl:apply-templates select="$autolayout//*[@id=$thisid]" mode="toc-rel-path"/>
+    </xsl:variable>
+
+    <xsl:variable name="topid">
+      <xsl:call-template name="top.page"/>
+    </xsl:variable>
+
+    <xsl:if test="$topid != ''">
+      <link rel="home">
+        <xsl:attribute name="href">
+          <xsl:call-template name="page.uri">
+            <xsl:with-param name="page" select="$autolayout//*[@id=$topid]"/>
+            <xsl:with-param name="relpath" select="$thisrelpath"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:value-of select="$autolayout//*[@id=$topid]/title"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:variable name="upid">
+      <xsl:call-template name="up.page"/>
+    </xsl:variable>
+
+    <xsl:if test="$upid != ''">
+      <link rel="up">
+        <xsl:attribute name="href">
+          <xsl:call-template name="page.uri">
+            <xsl:with-param name="page" select="$autolayout//*[@id=$upid]"/>
+            <xsl:with-param name="relpath" select="$thisrelpath"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:value-of select="$autolayout//*[@id=$upid]/title"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:variable name="previd">
+      <xsl:call-template name="prev.page"/>
+    </xsl:variable>
+
+    <xsl:if test="$previd != ''">
+      <link rel="previous">
+        <xsl:attribute name="href">
+          <xsl:call-template name="page.uri">
+            <xsl:with-param name="page" select="$autolayout//*[@id=$previd]"/>
+            <xsl:with-param name="relpath" select="$thisrelpath"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:value-of select="$autolayout//*[@id=$previd]/title"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:variable name="nextid">
+      <xsl:call-template name="next.page"/>
+    </xsl:variable>
+
+    <xsl:if test="$nextid != ''">
+      <link rel="next">
+        <xsl:attribute name="href">
+          <xsl:call-template name="page.uri">
+            <xsl:with-param name="page" select="$autolayout//*[@id=$nextid]"/>
+            <xsl:with-param name="relpath" select="$thisrelpath"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:value-of select="$autolayout//*[@id=$nextid]/title"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:variable name="firstid">
+      <xsl:call-template name="first.page"/>
+    </xsl:variable>
+
+    <xsl:if test="$firstid != ''">
+      <link rel="first">
+        <xsl:attribute name="href">
+          <xsl:call-template name="page.uri">
+            <xsl:with-param name="page" select="$autolayout//*[@id=$firstid]"/>
+            <xsl:with-param name="relpath" select="$thisrelpath"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:value-of select="$autolayout//*[@id=$firstid]/title"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:variable name="lastid">
+      <xsl:call-template name="last.page"/>
+    </xsl:variable>
+
+    <xsl:if test="$lastid != ''">
+      <link rel="last">
+        <xsl:attribute name="href">
+          <xsl:call-template name="page.uri">
+            <xsl:with-param name="page" select="$autolayout//*[@id=$lastid]"/>
+            <xsl:with-param name="relpath" select="$thisrelpath"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:value-of select="$autolayout//*[@id=$lastid]/title"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:apply-templates select="$autolayout/autolayout/style
+                                 |$autolayout/autolayout/script
+                                 |$autolayout/autolayout/headlink"
+                         mode="head.mode">
+      <xsl:with-param name="webpage" select="ancestor::webpage"/>
+    </xsl:apply-templates>
+    <xsl:apply-templates mode="head.mode"/>
+    <xsl:call-template name="user.head.content">
+      <xsl:with-param name="node" select="ancestor::webpage"/>
+    </xsl:call-template>
+  </head>
+</xsl:template>
+
+<xsl:template match="title" mode="head.mode">
+  <title><xsl:value-of select="."/></title>
+</xsl:template>
+
+<xsl:template match="titleabbrev" mode="head.mode">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="subtitle" mode="head.mode">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="summary" mode="head.mode">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="base" mode="head.mode">
+  <base href="{@href}">
+    <xsl:if test="@target">
+      <xsl:attribute name="target">
+        <xsl:value-of select="@target"/>
+      </xsl:attribute>
+    </xsl:if>
+  </base>
+</xsl:template>
+
+<xsl:template match="keywords" mode="head.mode">
+  <meta name="keyword" content="{.}"/>
+  <meta name="keywords" content="{.}"/>
+</xsl:template>
+
+<xsl:template match="copyright" mode="head.mode">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="author" mode="head.mode">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="edition" mode="head.mode">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="meta" mode="head.mode">
+  <xsl:choose>
+    <xsl:when test="@http-equiv">
+      <meta http-equiv="{@http-equiv}" content="{@content}"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <meta name="{@name}" content="{@content}"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="script" mode="head.mode">
+  <script>
+    <xsl:choose>
+      <xsl:when test="@language">
+	<xsl:attribute name="language">
+	  <xsl:value-of select="@language"/>
+	</xsl:attribute>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:attribute name="language">JavaScript</xsl:attribute>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:choose>
+      <xsl:when test="@type">
+	<xsl:attribute name="type">
+	  <xsl:value-of select="@type"/>
+	</xsl:attribute>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:attribute name="type">text/javascript</xsl:attribute>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:apply-templates/>
+  </script>
+</xsl:template>
+
+<xsl:template match="script[@src]" mode="head.mode" priority="2">
+  <xsl:param name="webpage" select="ancestor::webpage"/>
+  <xsl:variable name="relpath">
+    <xsl:call-template name="root-rel-path">
+      <xsl:with-param name="webpage" select="$webpage"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="language">
+    <xsl:choose>
+      <xsl:when test="@language">
+	<xsl:value-of select="@language"/>
+      </xsl:when>
+      <xsl:otherwise>JavaScript</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:choose>
+      <xsl:when test="@type">
+	<xsl:value-of select="@type"/>
+      </xsl:when>
+      <xsl:otherwise>text/javascript</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <script src="{$relpath}{@src}" language="{$language}" type="{$type}"/>
+</xsl:template>
+
+<xsl:template match="style" mode="head.mode">
+  <style>
+    <xsl:if test="@type">
+      <xsl:attribute name="type">
+	<xsl:value-of select="@type"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:apply-templates/>
+
+  </style>
+</xsl:template>
+
+<xsl:template match="style[@src]" mode="head.mode" priority="2">
+  <xsl:param name="webpage" select="ancestor::webpage"/>
+  <xsl:variable name="relpath">
+    <xsl:call-template name="root-rel-path">
+      <xsl:with-param name="webpage" select="$webpage"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="starts-with(@src, '/')">
+      <link rel="stylesheet" href="{@src}">
+        <xsl:if test="@type">
+          <xsl:attribute name="type">
+            <xsl:value-of select="@type"/>
+          </xsl:attribute>
+        </xsl:if>
+      </link>
+    </xsl:when>
+    <xsl:otherwise>
+      <link rel="stylesheet" href="{$relpath}{@src}">
+        <xsl:if test="@type">
+          <xsl:attribute name="type">
+            <xsl:value-of select="@type"/>
+          </xsl:attribute>
+        </xsl:if>
+      </link>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="headlink" mode="head.mode">
+  <link>
+    <xsl:copy-of select="@*"/>
+  </link>
+</xsl:template>
+
+<xsl:template match="abstract" mode="head.mode">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="revhistory" mode="head.mode">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="rddl:*" mode="head.mode"
+              xmlns:rddl='http://www.rddl.org/'>
+  <!--nop-->
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/makefile-dep.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/makefile-dep.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/makefile-dep.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,143 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:param name="filename-prefix" select="''"/>
+<xsl:param name="depends-file" select="''"/>
+<xsl:param name="output-root" select="''"/>
+<!-- Additional dependencies for target website -->
+<xsl:param name="add-website-depends" select="''"/>
+<!-- Remove output root dir instead removing each html output file.
+     Useful for removing subdirs and none html files: images, css etc. -->
+<xsl:param name="remove-output-root" select="0"/>
+
+<xsl:output method="text"/>
+
+<xsl:template match="autolayout">
+  <xsl:text>website: </xsl:text>
+  <xsl:value-of select="$add-website-depends"/>
+  <xsl:text> </xsl:text>
+  <xsl:apply-templates select="toc" mode="all"/>
+  <xsl:apply-templates select="notoc" mode="all"/>
+  <xsl:text>&#10;&#10;</xsl:text>
+  <xsl:apply-templates select="toc"/>
+  <xsl:apply-templates select="notoc"/>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:text>distclean: clean
+&#9;-rm -f </xsl:text>
+  <xsl:text>autolayout.xml website.database.xml </xsl:text>
+  <xsl:text>&#32;</xsl:text>
+  <xsl:value-of select="$depends-file"/>
+  <xsl:text>&#10;&#10;</xsl:text>
+  <xsl:text>clean:&#10;</xsl:text>
+  <xsl:choose>
+    <xsl:when test="$remove-output-root and not($output-root='')">
+      <xsl:text>&#9;-rm -rf </xsl:text>
+      <xsl:call-template name="output-root"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>&#9;-rm -f </xsl:text>
+      <xsl:apply-templates select="toc" mode="all"/>
+      <xsl:apply-templates select="notoc" mode="all"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:text>&#10;&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="toc">
+<!--
+  <xsl:apply-templates select="." mode="calculate-dir"/>
+-->
+  <xsl:call-template name="output-root"/>
+  <xsl:value-of select="@dir"/>
+  <xsl:value-of select="$filename-prefix"/>
+  <xsl:value-of select="@filename"/>
+  <xsl:text>: </xsl:text>
+  <xsl:value-of select="@page"/>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:apply-templates select=".//tocentry"/>
+</xsl:template>
+
+<xsl:template match="tocentry|notoc">
+<!--
+  <xsl:apply-templates select="." mode="calculate-dir"/>
+-->
+  <xsl:if test="@filename">
+    <xsl:call-template name="output-root"/>
+    <xsl:value-of select="@dir"/>
+    <xsl:value-of select="$filename-prefix"/>
+    <xsl:value-of select="@filename"/>
+    <xsl:text>: </xsl:text>
+    <xsl:value-of select="@page"/>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="toc" mode="all">
+  <xsl:apply-templates select=".//tocentry" mode="all"/>
+<!--
+  <xsl:apply-templates select="." mode="calculate-dir"/>
+-->
+  <xsl:call-template name="output-root"/>
+  <xsl:value-of select="@dir"/>
+  <xsl:value-of select="$filename-prefix"/>
+  <xsl:value-of select="@filename"/>
+  <xsl:text> </xsl:text>
+</xsl:template>
+
+<xsl:template match="tocentry|notoc" mode="all">
+<!--
+  <xsl:apply-templates select="." mode="calculate-dir"/>
+-->
+  <xsl:if test="@filename">
+    <xsl:call-template name="output-root"/>
+    <xsl:value-of select="@dir"/>
+    <xsl:value-of select="$filename-prefix"/>
+    <xsl:value-of select="@filename"/>
+    <xsl:text> </xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="*" mode="calculate-dir">
+  <xsl:choose>
+    <xsl:when test="starts-with(@dir, '/')">
+      <!-- if the directory on this begins with a "/", we're done... -->
+      <xsl:value-of select="substring-after(@dir, '/')"/>
+<!--
+      <xsl:if test="@dir != '/'">
+        <xsl:text>/</xsl:text>
+      </xsl:if>
+-->
+    </xsl:when>
+
+    <xsl:when test="parent::*">
+      <!-- if there's a parent, try it -->
+      <xsl:apply-templates select="parent::*" mode="calculate-dir"/>
+      <xsl:if test="@dir">
+        <xsl:value-of select="@dir"/>
+<!--
+        <xsl:text>/</xsl:text>
+-->
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:if test="@dir">
+        <xsl:value-of select="@dir"/>
+<!--
+        <xsl:text>/</xsl:text>
+-->
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="output-root">
+  <xsl:if test="$output-root != ''">
+    <xsl:value-of select="$output-root"/>
+    <xsl:text>/</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/olink.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/olink.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/olink.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,297 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:param name="website.database.document"
+           select="'website.database.xml'"/>
+
+<xsl:template match="olink">
+  <xsl:choose>
+    <xsl:when test="@targetdoc != '' or @targetptr != ''">
+      <xsl:apply-imports/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="olink-entity"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="olink-entity">
+  <xsl:variable name="xmlfile"
+                select="document(unparsed-entity-uri(@targetdocent),$autolayout)"/>
+  <xsl:variable name="webpage"
+                select="$xmlfile/webpage"/>
+  <xsl:variable name="tocentry"
+                select="$autolayout//*[$webpage/@id=@id]"/>
+
+  <xsl:variable name="dir">
+    <xsl:choose>
+      <xsl:when test="starts-with($tocentry/@dir, '/')">
+        <xsl:value-of select="substring($tocentry/@dir, 2)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$tocentry/@dir"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+<!-- debug
+  <xsl:message>Olink for <xsl:value-of select="unparsed-entity-uri(@targetdocent)"/></xsl:message>
+  <xsl:message>Page id <xsl:value-of select="$webpage/@id"/></xsl:message>
+-->
+
+  <xsl:choose>
+    <xsl:when test="@type = 'embed'">
+      <xsl:apply-templates select="$xmlfile"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- @type = 'replace' or @type = 'new' -->
+      <a>
+        <xsl:if test="@id">
+          <xsl:attribute name="name">
+            <xsl:value-of select="@id"/>
+          </xsl:attribute>
+        </xsl:if>
+
+<!-- debug
+        <xsl:message>
+          <xsl:text>href: </xsl:text>
+          <xsl:call-template name="root-rel-path"/>
+          <xsl:text>::</xsl:text>
+          <xsl:value-of select="$dir"/>
+          <xsl:text>::</xsl:text>
+          <xsl:value-of select="$filename-prefix"/>
+          <xsl:text>::</xsl:text>
+          <xsl:value-of select="$tocentry/@filename"/>
+          <xsl:text>::</xsl:text>
+          <xsl:if test="@localinfo">
+            <xsl:text>#</xsl:text>
+            <xsl:value-of select="@localinfo"/>
+          </xsl:if>
+        </xsl:message>
+-->
+
+        <xsl:attribute name="href">
+          <xsl:call-template name="root-rel-path"/>
+          <xsl:value-of select="$dir"/>
+          <xsl:value-of select="$filename-prefix"/>
+          <xsl:value-of select="$tocentry/@filename"/>
+          <xsl:if test="@localinfo">
+            <xsl:text>#</xsl:text>
+            <xsl:value-of select="@localinfo"/>
+          </xsl:if>
+        </xsl:attribute>
+
+        <xsl:if test="@type = 'new'">
+          <xsl:attribute name="target">_blank</xsl:attribute>
+        </xsl:if>
+
+        <xsl:choose>
+          <xsl:when test="count(node()) = 0">
+            <xsl:apply-templates select="$webpage/head/title"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </a>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- Customize the selection to use both website and offsite databases -->
+<xsl:template name="select.target.database">
+  <xsl:param name="targetdoc.att" select="''"/>
+  <xsl:param name="targetptr.att" select="''"/>
+  <xsl:param name="olink.lang" select="''"/>
+
+  <!-- Is the target in the website database? -->
+  <xsl:variable name="website.olink.key">
+    <xsl:if test="$website.database.document != ''">
+      <xsl:call-template name="select.olink.key">
+        <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/>
+        <xsl:with-param name="targetptr.att" select="$targetptr.att"/>
+        <xsl:with-param name="olink.lang" select="$olink.lang"/>
+        <xsl:with-param name="target.database" 
+                        select="document($website.database.document,/)"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <!-- Is the target in the offsite database? -->
+  <xsl:variable name="offsite.olink.key">
+    <xsl:if test="$target.database.document != ''">
+      <xsl:call-template name="select.olink.key">
+        <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/>
+        <xsl:with-param name="targetptr.att" select="$targetptr.att"/>
+        <xsl:with-param name="olink.lang" select="$olink.lang"/>
+        <xsl:with-param name="target.database" 
+                        select="document($target.database.document,/)"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$website.olink.key != ''">
+      <xsl:value-of select="$website.database.document"/>
+    </xsl:when>
+    <xsl:when test="$offsite.olink.key != ''">
+      <xsl:value-of select="$target.database.document"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- Return a bogus string and let the olink template deal with it
+      <xsl:text>NOMATCHINANYDATABASEDOCUMENT</xsl:text>
+      -->
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- Customize this template to use Website root-relative -->
+<xsl:template name="make.olink.href">
+  <xsl:param name="olink.key" select="''"/>
+  <xsl:param name="target.database"/>
+
+  <xsl:if test="$olink.key != ''">
+
+    <xsl:variable name="targetdoc">
+      <xsl:value-of select="substring-before($olink.key, '/')"/>
+    </xsl:variable>
+  
+    <xsl:variable name="targetptr">
+      <xsl:value-of select="substring-before(substring-after($olink.key, '/'),'/')"/>
+    </xsl:variable>
+  
+    <xsl:variable name="target.href" >
+      <xsl:for-each select="$target.database" >
+        <xsl:value-of select="key('targetptr-key', $olink.key)/@href" />
+      </xsl:for-each>
+    </xsl:variable>
+  
+    <xsl:variable name="target.dir" >
+      <xsl:for-each select="$target.database" >
+        <xsl:value-of select="key('targetdoc-key', $targetdoc)/@dir" />
+      </xsl:for-each>
+    </xsl:variable>
+
+    <xsl:variable name="target.element" >
+      <xsl:for-each select="$target.database" >
+        <xsl:value-of select="key('targetptr-key', $olink.key)/@element" />
+      </xsl:for-each>
+    </xsl:variable>
+
+    <!-- Does the target database use a sitemap? -->
+    <xsl:variable name="use.sitemap">
+      <xsl:choose>
+        <xsl:when test="$target.database//sitemap">1</xsl:when>
+        <xsl:otherwise>0</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+  
+  
+    <!-- Get the baseuri for this targetptr -->
+    <xsl:variable name="baseuri" >
+      <xsl:choose>
+        <!-- Does the database use a sitemap? -->
+        <xsl:when test="$use.sitemap != 0" >
+          <xsl:choose>
+            <!-- Was current.docid parameter set? -->
+            <xsl:when test="$current.docid != ''">
+              <!-- Was it found in the database? -->
+              <xsl:variable name="currentdoc.key" >
+                <xsl:for-each select="$target.database" >
+                  <xsl:value-of select="key('targetdoc-key',
+                                        $current.docid)/@targetdoc" />
+                </xsl:for-each>
+              </xsl:variable>
+              <xsl:choose>
+                <xsl:when test="$currentdoc.key != ''">
+                  <xsl:for-each select="$target.database" >
+                    <xsl:call-template name="targetpath" >
+                      <xsl:with-param name="dirnode" 
+                          select="key('targetdoc-key', $current.docid)/parent::dir"/>
+                      <xsl:with-param name="targetdoc" select="$targetdoc"/>
+                    </xsl:call-template>
+                  </xsl:for-each >
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:message>
+                    <xsl:text>Olink error: cannot compute relative </xsl:text>
+                    <xsl:text>sitemap path because $current.docid '</xsl:text>
+                    <xsl:value-of select="$current.docid"/>
+                    <xsl:text>' not found in target database.</xsl:text>
+                  </xsl:message>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message>
+                <xsl:text>Olink warning: cannot compute relative </xsl:text>
+                <xsl:text>sitemap path without $current.docid parameter</xsl:text>
+              </xsl:message>
+            </xsl:otherwise>
+          </xsl:choose> 
+          <!-- In either case, add baseuri from its document entry-->
+          <xsl:variable name="docbaseuri">
+            <xsl:for-each select="$target.database" >
+              <xsl:value-of select="key('targetdoc-key', $targetdoc)/@baseuri" />
+            </xsl:for-each>
+          </xsl:variable>
+          <xsl:if test="$docbaseuri != ''" >
+            <xsl:value-of select="$docbaseuri"/>
+          </xsl:if>
+        </xsl:when>
+        <!-- No database sitemap in use -->
+        <xsl:otherwise>
+          <!-- compute a root-relative path if current page has a @dir -->
+          <xsl:variable name="root-rel">
+            <xsl:call-template name="root-rel-path"/>
+          </xsl:variable>
+          <xsl:if test="$root-rel != ''">
+            <xsl:value-of select="$root-rel"/>
+          </xsl:if>
+          <!-- Add the target's @dir to the path -->
+          <xsl:if test="$target.dir != ''">
+            <xsl:value-of select="$target.dir"/>
+          </xsl:if>
+          <!-- Just use any baseuri from its document entry -->
+          <xsl:variable name="docbaseuri">
+            <xsl:for-each select="$target.database" >
+              <xsl:value-of select="key('targetdoc-key',
+                                        $targetdoc)/@baseuri" />
+            </xsl:for-each>
+          </xsl:variable>
+          <xsl:if test="$docbaseuri != ''" >
+            <xsl:value-of select="$docbaseuri"/>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+  
+    <!-- Form the href information -->
+    <xsl:if test="$baseuri != ''">
+      <xsl:value-of select="$baseuri"/>
+      <xsl:if test="substring($target.href,1,1) != '#'">
+        <!--xsl:text>/</xsl:text-->
+      </xsl:if>
+    </xsl:if>
+    <xsl:choose>
+      <xsl:when test="$target.element = 'webpage' and
+                      $targetdoc = $targetptr">
+        <!-- Don't output #id because not needed -->
+      </xsl:when>
+      <!-- optionally turn off frag for PDF references -->
+      <xsl:when test="not($insert.olink.pdf.frag = 0 and
+            translate(substring($baseuri, string-length($baseuri) - 3),
+                      'PDF', 'pdf') = '.pdf'
+            and starts-with($target.href, '#') )">
+        <xsl:value-of select="$target.href"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$target.href"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/param.xml
===================================================================
--- trunk/docs/docbook/src/main/resources/website/param.xml	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/param.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,785 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE book
+  PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
+<book>
+<bookinfo>
+<title>Website Parameter Reference</title>
+<releaseinfo role="meta">
+$Id: param.xweb 6228 2006-08-31 23:43:37Z xmldoc $
+</releaseinfo>
+<author>
+  <surname>Walsh</surname>
+  <firstname>Norman</firstname>
+</author>
+<copyright>
+  <year>2002-2005</year>
+  <holder>Norman Walsh</holder>
+</copyright>
+</bookinfo>
+
+<preface id="intro"><title>Introduction</title>
+
+<para>This is reference documentation for all user-configurable
+parameters in the DocBook XSL Website stylesheets (for generating
+output from DocBook Website documents).</para>
+</preface>
+
+<reference id="params">
+<title>Parameters</title>
+
+<refentry id="header.hr">
+<refmeta>
+<refentrytitle>header.hr</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>header.hr</refname>
+<refpurpose>Toggle &lt;HR&gt; after header</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="header.hr.frag">
+&lt;xsl:param name="header.hr" select="1"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>If non-zero, an &lt;HR&gt; is generated at the bottom of each web page,
+before the footer.</para>
+</refsect1>
+</refentry>
+
+<refentry id="footer.hr">
+<refmeta>
+<refentrytitle>footer.hr</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>footer.hr</refname>
+<refpurpose>Toggle &lt;HR&gt; before footer</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="footer.hr.frag">
+&lt;xsl:param name="footer.hr" select="1"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>If non-zero, an &lt;HR&gt; is generated at the bottom of each web page,
+before the footer.</para>
+</refsect1>
+</refentry>
+
+<refentry id="feedback.href">
+<refmeta>
+<refentrytitle>feedback.href</refentrytitle>
+<refmiscinfo role="type">URI</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>feedback.href</refname>
+<refpurpose>HREF (URI) for feedback link</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="feedback.href.frag">
+&lt;xsl:param name="feedback.href"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>The <varname>feedback.href</varname> value is used as the value
+for the <sgmltag class="attribute">href</sgmltag> attribute on the feedback
+link. If <varname>feedback.href</varname>
+is empty, no feedback link is generated.</para>
+</refsect1>
+</refentry>
+
+<refentry id="feedback.with.ids">
+<refmeta>
+<refentrytitle>feedback.with.ids</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>feedback.with.ids</refname>
+<refpurpose>Toggle use of IDs in feedback</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="feedback.with.ids.frag">
+&lt;xsl:param name="feedback.with.ids" select="0"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>If <varname>feedback.with.ids</varname> is non-zero, the ID of the
+current page will be added to the feedback link. This can be used, for
+example, if the <varname>feedback.href</varname> is a CGI script.</para>
+</refsect1>
+</refentry>
+
+<refentry id="feedback.link.text">
+<refmeta>
+<refentrytitle>feedback.link.text</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>feedback.link.text</refname>
+<refpurpose>The text of the feedback link</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="feedback.link.text.frag">
+&lt;xsl:param name="feedback.link.text"&gt;Feedback&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>The contents of this variable is used as the text of the feedback
+link if <varname>feedback.href</varname> is not empty. If
+<varname>feedback.href</varname> is empty, no feedback link is
+generated.</para>
+</refsect1>
+</refentry>
+
+<refentry id="filename-prefix">
+<refmeta>
+<refentrytitle>filename-prefix</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>filename-prefix</refname>
+<refpurpose>Prefix added to all filenames</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="filename-prefix.frag">
+&lt;xsl:param name="filename-prefix" select="''"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>To produce the <quote>text-only</quote> (that is, non-tabular) layout
+of a website simultaneously with the tabular layout, the filenames have to
+be distinguished. That's accomplished by adding the
+<varname>filename-prefix</varname> to the front of each filename.</para>
+</refsect1>
+</refentry>
+
+<refentry id="autolayout-file">
+<refmeta>
+<refentrytitle>autolayout-file</refentrytitle>
+<refmiscinfo role="type">filename</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>autolayout-file</refname>
+<refpurpose>Identifies the autolayout.xml file</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="autolayout-file.frag">
+&lt;xsl:param name="autolayout-file" select="'autolayout.xml'"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>When the source pages are spread over several directories, this
+parameter can be set (for example, from the command line of a batch-mode
+XSLT processor) to indicate the location of the autolayout.xml file.</para>
+<para>FIXME: for browser-based use, there needs to be a PI for this...
+</para>
+</refsect1>
+</refentry>
+
+<refentry id="output-root">
+<refmeta>
+<refentrytitle>output-root</refentrytitle>
+<refmiscinfo role="type">filename</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>output-root</refname>
+<refpurpose>Specifies the root directory of the website</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="output-root.frag">
+&lt;xsl:param name="output-root" select="'.'"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>When using the XSLT processor to manage dependencies and construct
+the website, this parameter can be used to indicate the root directory
+where the resulting pages are placed.</para>
+<para>Only applies when XSLT-based chunking is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="dry-run">
+<refmeta>
+<refentrytitle>dry-run</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>dry-run</refname>
+<refpurpose>Indicates that no files should be produced</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="dry-run.frag">
+&lt;xsl:param name="dry-run" select="'0'"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>When using the XSLT processor to manage dependencies and construct
+the website, this parameter can be used to suppress the generation of
+new and updated files. Effectively, this allows you to see what the
+stylesheet would do, without actually making any changes.</para>
+<para>Only applies when XSLT-based chunking is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="rebuild-all">
+<refmeta>
+<refentrytitle>rebuild-all</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>rebuild-all</refname>
+<refpurpose>Indicates that all files should be produced</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="rebuild-all.frag">
+&lt;xsl:param name="rebuild-all" select="'0'"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>When using the XSLT processor to manage dependencies and construct
+the website, this parameter can be used to regenerate the whole website,
+updating even pages that don't appear to need to be updated.</para>
+<para>The dependency extension only looks at the source documents. So
+if you change something in the stylesheet, for example, that has a global
+effect, you can use this parameter to force the stylesheet to rebuild the
+whole website.
+</para>
+<para>Only applies when XSLT-based chunking is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="nav.table.summary">
+<refmeta>
+<refentrytitle>nav.table.summary</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>nav.table.summary</refname>
+<refpurpose>HTML Table summary attribute value for navigation tables</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="nav.table.summary.frag">
+&lt;xsl:param name="nav.table.summary"&gt;Navigation&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>The value of this parameter is used as the value of the table
+summary attribute for the navigation table.</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="navtocwidth">
+<refmeta>
+<refentrytitle>navtocwidth</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>navtocwidth</refname>
+<refpurpose>Specifies the width of the navigation table TOC</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="navtocwidth.frag">
+&lt;xsl:param name="navtocwidth"&gt;220&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>The width, in pixels, of the navigation column.</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="navbodywidth">
+<refmeta>
+<refentrytitle>navbodywidth</refentrytitle>
+<refmiscinfo role="type">length</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>navbodywidth</refname>
+<refpurpose>Specifies the width of the navigation table body</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="navbodywidth.frag">
+&lt;xsl:param name="navbodywidth"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>The width of the body column.</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="textbgcolor">
+<refmeta>
+<refentrytitle>textbgcolor</refentrytitle>
+<refmiscinfo role="type">color</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>textbgcolor</refname>
+<refpurpose>The background color of the table body</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="textbgcolor.frag">
+&lt;xsl:param name="textbgcolor"&gt;white&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>The background color of the table body.</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="navbgcolor">
+<refmeta>
+<refentrytitle>navbgcolor</refentrytitle>
+<refmiscinfo role="type">color</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>navbgcolor</refname>
+<refpurpose>The background color of the navigation TOC</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="navbgcolor.frag">
+&lt;xsl:param name="navbgcolor"&gt;#4080FF&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>The background color of the navigation TOC.</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="toc.spacer.graphic">
+<refmeta>
+<refentrytitle>toc.spacer.graphic</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.spacer.graphic</refname>
+<refpurpose>Use graphic for TOC spacer?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="toc.spacer.graphic.frag">
+&lt;xsl:param name="toc.spacer.graphic" select="1"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>If non-zero, the indentation in the TOC will be accomplished
+with the graphic identified by <varname>toc.spacer.image</varname>.
+</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="toc.spacer.text">
+<refmeta>
+<refentrytitle>toc.spacer.text</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.spacer.text</refname>
+<refpurpose>The text for spacing the TOC</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="toc.spacer.text.frag">
+&lt;xsl:param name="toc.spacer.text"&gt;   &lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>If <varname>toc.spacer.graphic</varname> is zero, this text string
+will be used to indent the TOC.</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="toc.spacer.image">
+<refmeta>
+<refentrytitle>toc.spacer.image</refentrytitle>
+<refmiscinfo role="type">filename</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.spacer.image</refname>
+<refpurpose>The image for spacing the TOC</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="toc.spacer.image.frag">
+&lt;xsl:param name="toc.spacer.image"&gt;graphics/blank.gif&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>If <varname>toc.spacer.graphic</varname> is non-zero, this image
+will be used to indent the TOC.</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="toc.pointer.graphic">
+<refmeta>
+<refentrytitle>toc.pointer.graphic</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.pointer.graphic</refname>
+<refpurpose>Use graphic for TOC pointer?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="toc.pointer.graphic.frag">
+&lt;xsl:param name="toc.pointer.graphic" select="1"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>If non-zero, the "pointer" in the TOC will be displayed
+with the graphic identified by <varname>toc.pointer.image</varname>.
+</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="toc.pointer.text">
+<refmeta>
+<refentrytitle>toc.pointer.text</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.pointer.text</refname>
+<refpurpose>The text for the "pointer" in the TOC</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="toc.pointer.textfrag">
+&lt;xsl:param name="toc.pointer.text"&gt; &gt; &lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>If <varname>toc.pointer.graphic</varname> is zero, this text string
+will be used to display the "pointer" in the TOC.</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="toc.pointer.image">
+<refmeta>
+<refentrytitle>toc.pointer.image</refentrytitle>
+<refmiscinfo role="type">filename</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.pointer.image</refname>
+<refpurpose>The image for the "pointer" in the TOC</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="toc.pointer.image.frag">
+&lt;xsl:param name="toc.pointer.image"&gt;graphics/arrow.gif&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>If <varname>toc.pointer.graphic</varname> is non-zero, this image
+will be used for the "pointer" in the TOC.</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="toc.blank.graphic">
+<refmeta>
+<refentrytitle>toc.blank.graphic</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.blank.graphic</refname>
+<refpurpose>Use graphic for "blanks" in TOC?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="toc.blank.graphic.frag">
+&lt;xsl:param name="toc.blank.graphic" select="1"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>If non-zero, "blanks" in the the TOC will be accomplished
+with the graphic identified by <varname>toc.spacer.image</varname>.
+</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="toc.blank.text">
+<refmeta>
+<refentrytitle>toc.blank.text</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.blank.text</refname>
+<refpurpose>The text for "blanks" in the TOC</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="toc.blank.text.frag">
+&lt;xsl:param name="toc.blank.text"&gt;   &lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>If <varname>toc.blank.graphic</varname> is zero, this text string
+will be used for "blanks" in the TOC.</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="toc.blank.image">
+<refmeta>
+<refentrytitle>toc.blank.image</refentrytitle>
+<refmiscinfo role="type">filename</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>toc.blank.image</refname>
+<refpurpose>The image for "blanks" in the TOC</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="toc.blank.image.frag">
+&lt;xsl:param name="toc.blank.image"&gt;graphics/blank.gif&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>If <varname>toc.blank.graphic</varname> is non-zero, this image
+will be used to for "blanks" in the TOC.</para>
+<para>Only applies with the tabular presentation is being used.</para>
+</refsect1>
+</refentry>
+
+<refentry id="suppress.homepage.title">
+<refmeta>
+<refentrytitle>suppress.homepage.title</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>suppress.homepage.title</refname>
+<refpurpose>Suppress title on homepage?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="suppress.homepage.title.frag">
+&lt;xsl:param name="suppress.homepage.title" select="'1'"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>FIXME:If non-zero, the title on the homepage is suppressed?</para>
+</refsect1>
+</refentry>
+
+<refentry id="body.attributes">
+<refmeta>
+<refentrytitle>body.attributes</refentrytitle>
+<refmiscinfo role="type">attribute set</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>body.attributes</refname>
+<refpurpose>DEPRECATED</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="body.attributes.frag">
+&lt;xsl:attribute-set name="body.attributes"&gt;
+  &lt;xsl:attribute name="bgcolor"&gt;white&lt;/xsl:attribute&gt;
+  &lt;xsl:attribute name="text"&gt;black&lt;/xsl:attribute&gt;
+  &lt;xsl:attribute name="link"&gt;#0000FF&lt;/xsl:attribute&gt;
+  &lt;xsl:attribute name="vlink"&gt;#840084&lt;/xsl:attribute&gt;
+  &lt;xsl:attribute name="alink"&gt;#0000FF&lt;/xsl:attribute&gt;
+&lt;/xsl:attribute-set&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>DEPRECATED</para>
+</refsect1>
+</refentry>
+
+<refentry id="sequential.links">
+<refmeta>
+<refentrytitle>sequential.links</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>sequential.links</refname>
+<refpurpose>Make sequentional links?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="sequential.links.frag">
+&lt;xsl:param name="sequential.links" select="'0'"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>FIXME</para>
+</refsect1>
+</refentry>
+
+<refentry id="currentpage.marker">
+<refmeta>
+<refentrytitle>currentpage.marker</refentrytitle>
+<refmiscinfo role="type">string</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>currentpage.marker</refname>
+<refpurpose>The text symbol used to mark the current page</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="currentpage.marker.frag">
+&lt;xsl:param name="currentpage.marker" select="'@'"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>FIXME</para>
+</refsect1>
+</refentry>
+
+<refentry id="banner.before.navigation">
+<refmeta>
+<refentrytitle>banner.before.navigation</refentrytitle>
+<refmiscinfo role="type">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>banner.before.navigation</refname>
+<refpurpose>Put banner before navigation?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="banner.before.navigation.frag">
+&lt;xsl:param name="banner.before.navigation" select="1"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>FIXME</para>
+</refsect1>
+</refentry>
+
+<refentry id="table.spacer.image">
+<refmeta>
+<refentrytitle>table.spacer.image</refentrytitle>
+<refmiscinfo role="type">filename</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>table.spacer.image</refname>
+<refpurpose>Invisible pixel for tabular accessibility</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<programlisting id="table.spacer.image.frag">
+&lt;xsl:param name="table.spacer.image" select="'graphics/spacer.gif'"&gt;&lt;/xsl:param&gt;
+</programlisting>
+</refsynopsisdiv>
+
+<refsect1><title>Description</title>
+<para>This is the 1x1 pixel, transparent pixel used for <ulink url="http://diveintoaccessibility.org/day_10_presenting_your_main_content_first.html">the table trick</ulink> to increase the accessibility of the tabular
+website presentation.</para>
+</refsect1>
+</refentry>
+</reference>
+
+<appendix id="stylesheet"><title>The Stylesheet</title>
+
+<para>The <filename>param.xsl</filename> stylesheet is just a wrapper
+around all these parameters.</para>
+
+<programlisting id="top">
+
+&lt;!-- This file is generated from param.xweb; do not edit this file! --&gt;
+
+&lt;xsl:stylesheet exclude-result-prefixes="src" version="1.0"&gt;
+
+&lt;!-- ********************************************************************
+     $Id: param.xweb 6228 2006-08-31 23:43:37Z xmldoc $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheets distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** --&gt;
+
+&lt;src:fragref linkend="autolayout-file.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="header.hr.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="footer.hr.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="feedback.href.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="feedback.with.ids.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="feedback.link.text.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="filename-prefix.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="output-root.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="dry-run.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="rebuild-all.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="nav.table.summary.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="navtocwidth.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="navbodywidth.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="textbgcolor.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="navbgcolor.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="toc.spacer.graphic.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="toc.spacer.text.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="toc.spacer.image.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="toc.pointer.graphic.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="toc.pointer.textfrag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="toc.pointer.image.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="toc.blank.graphic.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="toc.blank.text.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="toc.blank.image.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="suppress.homepage.title.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="body.attributes.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="sequential.links.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="currentpage.marker.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="banner.before.navigation.frag"&gt;&lt;/src:fragref&gt;
+&lt;src:fragref linkend="table.spacer.image.frag"&gt;&lt;/src:fragref&gt;
+
+&lt;/xsl:stylesheet&gt;
+</programlisting>
+
+</appendix>
+
+</book>
+

Added: trunk/docs/docbook/src/main/resources/website/param.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/param.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/param.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This file is generated from param.xweb; do not edit this file! -->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" exclude-result-prefixes="src" version="1.0">
+
+<!-- ********************************************************************
+     $Id: param.xweb 6368 2006-10-19 08:32:25Z xmldoc $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheets distribution.
+     See ../README or http://docbook.sf.net/release/xsl/current/ for
+     copyright and other information.
+
+     ******************************************************************** -->
+
+<xsl:param name="autolayout-file" select="'autolayout.xml'"/>
+<xsl:param name="header.hr" select="1"/>
+<xsl:param name="footer.hr" select="1"/>
+<xsl:param name="feedback.href"/>
+<xsl:param name="feedback.with.ids" select="0"/>
+<xsl:param name="feedback.link.text">Feedback</xsl:param>
+<xsl:param name="filename-prefix" select="''"/>
+<xsl:param name="output-root" select="'.'"/>
+<xsl:param name="dry-run" select="'0'"/>
+<xsl:param name="rebuild-all" select="'0'"/>
+<xsl:param name="nav.table.summary">Navigation</xsl:param>
+<xsl:param name="navtocwidth">220</xsl:param>
+<xsl:param name="navbodywidth"/>
+<xsl:param name="textbgcolor">white</xsl:param>
+<xsl:param name="navbgcolor">#4080FF</xsl:param>
+<xsl:param name="toc.spacer.graphic" select="1"/>
+<xsl:param name="toc.spacer.text">   </xsl:param>
+<xsl:param name="toc.spacer.image">graphics/blank.gif</xsl:param>
+<xsl:param name="toc.pointer.graphic" select="1"/>
+<xsl:param name="toc.pointer.text"> &gt; </xsl:param>
+<xsl:param name="toc.pointer.image">graphics/arrow.gif</xsl:param>
+<xsl:param name="toc.blank.graphic" select="1"/>
+<xsl:param name="toc.blank.text">   </xsl:param>
+<xsl:param name="toc.blank.image">graphics/blank.gif</xsl:param>
+<xsl:param name="suppress.homepage.title" select="'1'"/>
+<xsl:attribute-set name="body.attributes">
+  <xsl:attribute name="bgcolor">white</xsl:attribute>
+  <xsl:attribute name="text">black</xsl:attribute>
+  <xsl:attribute name="link">#0000FF</xsl:attribute>
+  <xsl:attribute name="vlink">#840084</xsl:attribute>
+  <xsl:attribute name="alink">#0000FF</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="sequential.links" select="'0'"/>
+<xsl:param name="currentpage.marker" select="'@'"/>
+<xsl:param name="banner.before.navigation" select="1"/>
+<xsl:param name="table.spacer.image" select="'graphics/spacer.gif'"/>
+
+</xsl:stylesheet>
\ No newline at end of file

Added: trunk/docs/docbook/src/main/resources/website/rss.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/rss.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/rss.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,143 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:rss="http://purl.org/rss/1.0/"
+                xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+                xmlns:cvsf="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.CVS"
+                xmlns:cvs="http://nwalsh.com/rdf/cvs#"
+                xmlns:dc="http://purl.org/dc/elements/1.1/"
+                exclude-result-prefixes="rss rdf cvs dc cvsf"
+                version="1.0">
+
+<xsl:output method="html"/>
+
+<xsl:template match="rss">
+  <xsl:variable name="rss" select="document(@feed, .)"/>
+
+  <div class='rss'>
+    <xsl:choose>
+      <xsl:when test="not($rss)">
+        <xsl:message>RSS Failed: <xsl:value-of select="@feed"/></xsl:message>
+        <xsl:text>[RSS Failed: </xsl:text>
+        <xsl:value-of select="@feed"/>
+      </xsl:when>
+      <xsl:when test="$rss/rdf:RDF">
+        <xsl:apply-templates select="$rss/*/rss:channel"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- is there an otherwise case? -->
+        <xsl:apply-templates select="$rss//rss:channel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
+<xsl:template match="rss:channel">
+  <xsl:variable name="image-resource" select="rss:image/@rdf:resource"/>
+  <xsl:variable name="image" select="//rss:image[@rdf:about = $image-resource]"/>
+
+  <xsl:if test="$image">
+    <xsl:choose>
+      <xsl:when test="$image/rss:link">
+        <a href="{$image/rss:link}">
+          <img src="{$image/rss:url}" alt="{$image/rss:title}" align="right" border="0"/>
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <img src="{$image/rss:url}" alt="{$image/rss:title}" align="right"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+
+  <xsl:apply-templates select="rss:title"/>
+  <xsl:apply-templates select="rss:description"/>
+  <xsl:apply-templates select="rss:items"/>
+
+  <xsl:if test="$image">
+    <br clear="right"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="rss:title">
+  <xsl:param name="wrapper" select="'h3'"/>
+
+  <xsl:element name="{$wrapper}">
+    <xsl:choose>
+      <xsl:when test="../rss:link">
+        <a href="{../rss:link[1]}">
+          <xsl:apply-templates/>
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test="../dc:date|../cvs:date">
+      <xsl:choose>
+        <xsl:when test="../dc:date">
+          <xsl:text> (</xsl:text>
+          <xsl:value-of select="../dc:date[1]"/>
+          <xsl:text>)</xsl:text>
+        </xsl:when>
+        <xsl:when test="function-available('cvsf:localTime')">
+          <xsl:variable name="timeString" select="cvsf:localTime(../cvs:date[1])"/>
+          <xsl:text> (</xsl:text>
+          <xsl:value-of select="substring($timeString, 1, 3)"/>
+          <xsl:text>, </xsl:text>
+          <xsl:value-of select="substring($timeString, 9, 2)"/>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="substring($timeString, 5, 3)"/>
+          <xsl:text> </xsl:text>
+          <xsl:value-of select="substring($timeString, 25, 4)"/>
+          <xsl:text>)</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="../cvs:date[1]"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="rss:description">
+  <p>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<xsl:template match="rss:items">
+  <dl>
+    <xsl:for-each select="rdf:Seq/rdf:li[@rdf:resource and @rdf:resource != '']">
+      <xsl:variable name="resource" select="@rdf:resource"/>
+      <xsl:variable name="item" select="//rss:item[@rdf:about = $resource]"/>
+      <xsl:if test="not($item)">
+        <xsl:message>
+          <xsl:text>RSS Warning: there is no item labelled: </xsl:text>
+          <xsl:value-of select="$resource"/>
+        </xsl:message>
+      </xsl:if>
+      <xsl:if test="count($item) &gt; 1">
+        <xsl:message>
+          <xsl:text>RSS Warning: there is more than one item labelled: </xsl:text>
+          <xsl:value-of select="$resource"/>
+        </xsl:message>
+      </xsl:if>
+      <xsl:apply-templates select="$item"/>
+    </xsl:for-each>
+  </dl>
+</xsl:template>
+
+<xsl:template match="rss:item">
+  <xsl:message>RSS item: <xsl:value-of select="rss:title"/></xsl:message>
+
+  <xsl:apply-templates select="rss:title">
+    <xsl:with-param name="wrapper" select="'dt'"/>
+  </xsl:apply-templates>
+  <xsl:if test="rss:description">
+    <dd>
+      <xsl:apply-templates select="rss:description"/>
+    </dd>
+  </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/tabular.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/tabular.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/tabular.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,213 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:html='http://www.w3.org/1999/xhtml'
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                exclude-result-prefixes="html doc"
+                version="1.0">
+
+<xsl:import href="website-common.xsl"/>
+<xsl:include href="toc-tabular.xsl"/>
+
+<xsl:output method="html"
+            indent="no"
+            doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
+            doctype-system="http://www.w3.org/TR/html4/loose.dtd"
+/>
+
+<xsl:param name="autolayout" select="document($autolayout-file, /*)"/>
+
+<!-- ==================================================================== -->
+
+<!-- Netscape gets badly confused if it sees a CSS style... -->
+<xsl:param name="admon.style" select="''"/>
+<xsl:param name="admon.graphics" select="1"/>
+<xsl:param name="admon.graphics.path">graphics/</xsl:param>
+<xsl:param name="admon.graphics.extension">.gif</xsl:param>
+
+<xsl:attribute-set name="table.properties">
+  <xsl:attribute name="border">0</xsl:attribute>
+  <xsl:attribute name="cellpadding">0</xsl:attribute>
+  <xsl:attribute name="cellspacing">0</xsl:attribute>
+  <xsl:attribute name="width">100%</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="table.navigation.cell.properties">
+  <xsl:attribute name="valign">top</xsl:attribute>
+  <xsl:attribute name="align">left</xsl:attribute>
+  <!-- width is set with $navotocwidth -->
+  <xsl:attribute name="bgcolor">
+    <xsl:choose>
+      <xsl:when test="/webpage/config[@param='navbgcolor']/@value[. != '']">
+        <xsl:value-of select="/webpage/config[@param='navbgcolor']/@value"/>
+      </xsl:when>
+      <xsl:when test="$autolayout/autolayout/config[@param='navbgcolor']/@value[. != '']">
+        <xsl:value-of select="$autolayout/autolayout/config[@param='navbgcolor']/@value"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$navbgcolor"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:attribute-set name="table.body.cell.properties">
+  <xsl:attribute name="valign">top</xsl:attribute>
+  <xsl:attribute name="align">left</xsl:attribute>
+  <!-- width is set with $navobodywidth -->
+  <xsl:attribute name="bgcolor">
+    <xsl:value-of select="$textbgcolor"/>
+  </xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:param name="body.columns" select="2"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="/">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template name="home.navhead">
+  <xsl:text>Navhead</xsl:text>
+</xsl:template>
+
+<xsl:template name="home.navhead.upperright">
+  <xsl:text>Upper-right</xsl:text>
+</xsl:template>
+
+<xsl:template name="home.navhead.cell">
+  <td width="50%" valign="middle" align="left">
+    <xsl:call-template name="home.navhead"/>
+  </td>
+</xsl:template>
+
+<xsl:template name="home.navhead.upperright.cell">
+  <td width="50%" valign="middle" align="right">
+    <xsl:call-template name="home.navhead.upperright"/>
+  </td>
+</xsl:template>
+
+<xsl:template name="home.navhead.separator">
+  <hr/>
+</xsl:template>
+
+<xsl:template match="webpage">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="relpath">
+    <xsl:call-template name="root-rel-path">
+      <xsl:with-param name="webpage" select="."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="tocentry" select="$autolayout/autolayout//*[$id=@id]"/>
+  <xsl:variable name="toc" select="($tocentry/ancestor-or-self::toc
+                                   |$autolayout/autolayout/toc[1])[last()]"/>
+
+  <html>
+    <xsl:apply-templates select="head" mode="head.mode"/>
+    <xsl:apply-templates select="config" mode="head.mode"/>
+    <body class="tabular">
+      <xsl:call-template name="body.attributes"/>
+
+      <div class="{name(.)}">
+        <a name="{$id}"/>
+
+        <xsl:call-template name="allpages.banner"/>
+
+        <table xsl:use-attribute-sets="table.properties" border="0">
+          <xsl:if test="$nav.table.summary!=''">
+            <xsl:attribute name="summary">
+              <xsl:value-of select="normalize-space($nav.table.summary)"/>
+            </xsl:attribute>
+          </xsl:if>
+          <tr>
+            <td xsl:use-attribute-sets="table.navigation.cell.properties">
+              <img src="{$relpath}{$table.spacer.image}" alt=" " width="1" height="1"/>
+            </td>
+            <xsl:call-template name="hspacer">
+              <xsl:with-param name="vspacer" select="1"/>
+            </xsl:call-template>
+            <td rowspan="2" xsl:use-attribute-sets="table.body.cell.properties">
+              <xsl:if test="$navbodywidth != ''">
+                <xsl:attribute name="width">
+                  <xsl:value-of select="$navbodywidth"/>
+                </xsl:attribute>
+              </xsl:if>
+
+              <xsl:if test="$autolayout/autolayout/toc[1]/@id = $id">
+                <table border="0" summary="home page extra headers"
+                       cellpadding="0" cellspacing="0" width="100%">
+                  <tr>
+                    <xsl:call-template name="home.navhead.cell"/>
+                    <xsl:call-template name="home.navhead.upperright.cell"/>
+                  </tr>
+                </table>
+                <xsl:call-template name="home.navhead.separator"/>
+              </xsl:if>
+
+              <xsl:if test="$autolayout/autolayout/toc[1]/@id != $id
+                            or $suppress.homepage.title = 0">
+                <xsl:apply-templates select="./head/title" mode="title.mode"/>
+              </xsl:if>
+
+              <xsl:apply-templates select="child::node()[not(self::webpage)]"/>
+              <xsl:call-template name="process.footnotes"/>
+              <br/>
+            </td>
+          </tr>
+          <tr>
+            <td xsl:use-attribute-sets="table.navigation.cell.properties">
+              <xsl:if test="$navtocwidth != ''">
+                <xsl:attribute name="width">
+                  <xsl:choose>
+                    <xsl:when test="/webpage/config[@param='navtocwidth']/@value[. != '']">
+                      <xsl:value-of select="/webpage/config[@param='navtocwidth']/@value"/>
+                    </xsl:when>
+                    <xsl:when test="$autolayout/autolayout/config[@param='navtocwidth']/@value[. != '']">
+                      <xsl:value-of select="$autolayout/autolayout/config[@param='navtocwidth']/@value"/>
+                    </xsl:when>
+                    <xsl:otherwise>
+                      <xsl:value-of select="$navtocwidth"/>
+                    </xsl:otherwise>
+                  </xsl:choose>
+                </xsl:attribute>
+              </xsl:if>
+              <xsl:choose>
+                <xsl:when test="$toc">
+                  <p class="navtoc">
+                    <xsl:apply-templates select="$toc">
+                      <xsl:with-param name="pageid" select="@id"/>
+                    </xsl:apply-templates>
+                  </p>
+                </xsl:when>
+                <xsl:otherwise>&#160;</xsl:otherwise>
+              </xsl:choose>
+            </td>
+            <xsl:call-template name="hspacer"/>
+          </tr>
+          <xsl:call-template name="webpage.table.footer"/>
+        </table>
+
+        <xsl:call-template name="webpage.footer"/>
+      </div>
+
+    </body>
+  </html>
+</xsl:template>
+
+<xsl:template name="hspacer">
+  <xsl:param name="vspacer" select="0"/>
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="config[@param='filename']" mode="head.mode">
+</xsl:template>
+
+<xsl:template match="webtoc">
+  <!-- nop -->
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/toc-tabular.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/toc-tabular.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/toc-tabular.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,480 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:output method="html"/>
+
+<xsl:param name="nav.graphics" select="1"/>
+<xsl:param name="nav.pointer" select="1"/>
+<xsl:param name="nav.revisionflag" select="1"/>
+
+<xsl:param name="toc.spacer.text">&#160;&#160;&#160;</xsl:param>
+<xsl:param name="toc.spacer.image">graphics/blank.gif</xsl:param>
+
+<xsl:param name="nav.icon.path">graphics/navicons/</xsl:param>
+<xsl:param name="nav.icon.extension">.gif</xsl:param>
+
+<!-- styles: folder, folder16, plusminus, triangle, arrow -->
+<xsl:param name="nav.icon.style">triangle</xsl:param>
+
+<xsl:param name="nav.text.spacer">&#160;</xsl:param>
+<xsl:param name="nav.text.current.open">+</xsl:param>
+<xsl:param name="nav.text.current.page">+</xsl:param>
+<xsl:param name="nav.text.other.open">&#160;</xsl:param>
+<xsl:param name="nav.text.other.closed">&#160;</xsl:param>
+<xsl:param name="nav.text.other.page">&#160;</xsl:param>
+<xsl:param name="nav.text.revisionflag.added">New</xsl:param>
+<xsl:param name="nav.text.revisionflag.changed">Changed</xsl:param>
+<xsl:param name="nav.text.revisionflag.deleted"></xsl:param>
+<xsl:param name="nav.text.revisionflag.off"></xsl:param>
+
+<xsl:param name="nav.text.pointer">&lt;-</xsl:param>
+
+<xsl:param name="toc.expand.depth" select="1"/>
+
+<!-- ==================================================================== --> 
+
+<xsl:template match="toc/title|tocentry/title|titleabbrev">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="toc">
+  <xsl:param name="pageid" select="@id"/>
+
+  <xsl:variable name="relpath">
+    <xsl:call-template name="toc-rel-path">
+      <xsl:with-param name="pageid" select="$pageid"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="homebanner"
+                select="/autolayout/config[@param='homebanner-tabular'][1]"/>
+
+  <xsl:variable name="banner"
+                select="/autolayout/config[@param='banner-tabular'][1]"/>
+
+  <xsl:choose>
+    <xsl:when test="$pageid = @id">
+      <img align="left" border="0">
+        <xsl:attribute name="src">
+          <xsl:value-of select="$relpath"/>
+          <xsl:value-of select="$homebanner/@value"/>
+        </xsl:attribute>
+        <xsl:attribute name="alt">
+          <xsl:value-of select="$homebanner/@altval"/>
+        </xsl:attribute>
+      </img>
+      <br clear="all"/>
+      <br/>
+    </xsl:when>
+    <xsl:otherwise>
+      <a href="{$relpath}{@dir}{$filename-prefix}{@filename}">
+        <img align="left" border="0">
+          <xsl:attribute name="src">
+            <xsl:value-of select="$relpath"/>
+            <xsl:value-of select="$banner/@value"/>
+          </xsl:attribute>
+          <xsl:attribute name="alt">
+            <xsl:value-of select="$banner/@altval"/>
+          </xsl:attribute>
+        </img>
+      </a>
+      <br clear="all"/>
+      <br/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:apply-templates select="tocentry">
+    <xsl:with-param name="pageid" select="$pageid"/>
+    <xsl:with-param name="relpath" select="$relpath"/>
+  </xsl:apply-templates>
+  <br/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="tocentry">
+  <xsl:param name="pageid" select="@id"/>
+  <xsl:param name="toclevel" select="count(ancestor::*)"/>
+  <xsl:param name="relpath" select="''"/>
+  <xsl:param name="revisionflag" select="@revisionflag"/>
+
+  <xsl:variable name="page" select="."/>
+  <xsl:variable name="target"
+                select="($page/descendant-or-self::tocentry[not(@tocskip) or @tocskip = '0']
+                       |$page/following::tocentry[@tocskip and @tocskip='0'])[1]"/>
+
+  <xsl:variable name="depth" select="count(ancestor::*)-1"/>
+
+  <xsl:variable name="isdescendant">
+    <xsl:choose>
+      <xsl:when test="ancestor::*[@id=$pageid]">1</xsl:when>
+      <xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="hasdescendant">
+    <xsl:choose>
+      <xsl:when test="descendant::tocentry != ''">1</xsl:when>
+      <xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="isancestor">
+    <xsl:choose>
+      <xsl:when test="descendant::*[@id=$pageid]">1</xsl:when>
+      <xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="use.toc.expand.depth">
+    <xsl:variable name="config-param" select="ancestor::autolayout/config[@param='toc.expand.depth']/@value"/>
+    <xsl:choose>
+      <!-- toc.expand.depth attribute is not in DTD -->
+      <xsl:when test="ancestor::toc/@toc.expand.depth">
+        <xsl:value-of select="ancestor::toc/@toc.expand.depth"/>
+      </xsl:when>
+      <xsl:when test="floor($config-param) > 0">
+        <xsl:value-of select="$config-param"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$toc.expand.depth"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="is.open">
+    <xsl:choose>
+      <xsl:when test="$pageid = @id
+                      or $isancestor='1'
+                      or $depth &lt; $use.toc.expand.depth">1</xsl:when>
+      <xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- For any entry in the TOC:
+       1. It is the current page
+          a. it is a leaf             current/leaf
+          b. it is an open page       current/open
+       2. It is not the current page
+          a. it is a leaf             other/leaf
+          b. it is an open page       other/open
+          c. it is a closed page      other/closed
+  -->
+
+  <xsl:variable name="preceding-icon">
+    <xsl:value-of select="$relpath"/>
+    <xsl:value-of select="$nav.icon.path"/>
+    <xsl:value-of select="$nav.icon.style"/>
+    <xsl:choose>
+      <xsl:when test="$pageid=@id">
+        <xsl:choose>
+          <xsl:when test="$hasdescendant != 0">
+            <xsl:text>/current/open</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:text>/current/leaf</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:choose>
+          <xsl:when test="$hasdescendant = 0">
+            <xsl:text>/other/leaf</xsl:text>
+          </xsl:when>
+          <xsl:when test="$is.open != 0">
+            <xsl:text>/other/open</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:text>/other/closed</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:value-of select="$nav.icon.extension"/>
+  </xsl:variable>
+
+  <xsl:variable name="preceding-text">
+    <xsl:choose>
+      <xsl:when test="$pageid=@id">
+        <xsl:choose>
+          <xsl:when test="$hasdescendant != 0">
+            <xsl:value-of select="$nav.text.current.open"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$nav.text.current.page"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:choose>
+          <xsl:when test="$isancestor != 0">
+            <xsl:value-of select="$nav.text.other.open"/>
+          </xsl:when>
+          <xsl:when test="$hasdescendant != 0">
+            <xsl:value-of select="$nav.text.other.closed"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$nav.text.other.page"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="following-icon">
+    <xsl:value-of select="$relpath"/>
+    <xsl:value-of select="$nav.icon.path"/>
+    <xsl:value-of select="$nav.icon.style"/>
+    <xsl:text>/current/pointer</xsl:text>
+    <xsl:value-of select="$nav.icon.extension"/>
+  </xsl:variable>
+
+  <xsl:variable name="following-text">
+    <xsl:value-of select="$nav.text.pointer"/>
+  </xsl:variable>
+
+  <xsl:variable name="revisionflag-icon">
+    <xsl:value-of select="$relpath"/>
+    <xsl:value-of select="$nav.icon.path"/>
+    <xsl:value-of select="$nav.icon.style"/>
+    <xsl:text>/</xsl:text>
+    <xsl:value-of select="$revisionflag"/>
+    <xsl:value-of select="$nav.icon.extension"/>
+  </xsl:variable>
+
+  <xsl:variable name="revisionflag-text">
+    <xsl:choose>
+      <xsl:when test="$revisionflag = 'changed'">
+        <xsl:value-of select="$nav.text.revisionflag.changed"/>
+      </xsl:when>
+      <xsl:when test="$revisionflag = 'added'">
+        <xsl:value-of select="$nav.text.revisionflag.added"/>
+      </xsl:when>
+      <xsl:when test="$revisionflag = 'deleted'">
+        <xsl:value-of select="$nav.text.revisionflag.deleted"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$nav.text.revisionflag.off"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <span>
+    <xsl:if test="$toclevel = 2">
+      <xsl:attribute name="class">
+        <xsl:text>toplevel</xsl:text>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$toclevel &gt; 2">
+      <xsl:attribute name="class">
+        <xsl:text>shrink</xsl:text>
+        <xsl:value-of select="$toclevel - 2"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="insert.spacers">
+      <xsl:with-param name="count" select="$toclevel - 1"/>
+      <xsl:with-param name="relpath" select="$relpath"/>
+    </xsl:call-template>
+
+    <xsl:choose>
+      <xsl:when test="$nav.graphics != 0">
+        <xsl:call-template name="link.to.page">
+          <xsl:with-param name="href" select="@href"/>
+          <xsl:with-param name="page" select="$target"/>
+          <xsl:with-param name="relpath" select="$relpath"/>
+          <xsl:with-param name="linktext">
+            <img src="{$preceding-icon}" alt="{$preceding-text}" border="0"/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$preceding-text"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:choose>
+      <xsl:when test="$pageid = @id">
+        <span class="curpage">
+          <xsl:choose>
+            <xsl:when test="titleabbrev">
+              <xsl:apply-templates select="titleabbrev"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="title"/>
+            </xsl:otherwise>
+          </xsl:choose>
+
+          <xsl:if test="$nav.revisionflag != '0' and $revisionflag">
+            <xsl:value-of select="$nav.text.spacer"/>
+            <xsl:choose>
+              <xsl:when test="$nav.graphics = '1'">
+                <img src="{$revisionflag-icon}" alt="{$revisionflag-text}" align="bottom"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:text>(</xsl:text>
+                <xsl:value-of select="$revisionflag-text"/>
+                <xsl:text>)</xsl:text>
+              </xsl:otherwise>
+            </xsl:choose>
+	  </xsl:if>
+
+          <xsl:if test="$nav.pointer != '0'">
+            <xsl:value-of select="$nav.text.spacer"/>
+            <xsl:choose>
+              <xsl:when test="$nav.graphics = '1'">
+                <img src="{$following-icon}" alt="{$following-text}"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select="$following-text"/>
+              </xsl:otherwise>
+            </xsl:choose>
+	  </xsl:if>
+        </span>
+        <br/>
+      </xsl:when>
+      <xsl:otherwise>
+        <span>
+          <xsl:choose>
+            <xsl:when test="$isdescendant='0'">
+              <xsl:choose>
+                <xsl:when test="$isancestor='1'">
+                  <xsl:attribute name="class">ancestor</xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:attribute name="class">otherpage</xsl:attribute>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:when>
+            <xsl:otherwise>
+              <!-- IS a descendant of curpage -->
+              <xsl:attribute name="class">descendant</xsl:attribute>
+            </xsl:otherwise>
+          </xsl:choose>
+
+          <xsl:call-template name="link.to.page">
+            <xsl:with-param name="href" select="@href"/>
+            <xsl:with-param name="page" select="$target"/>
+            <xsl:with-param name="relpath" select="$relpath"/>
+            <xsl:with-param name="linktext">
+              <xsl:choose>
+                <xsl:when test="titleabbrev">
+                  <xsl:apply-templates select="titleabbrev"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:apply-templates select="title"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+          </xsl:call-template>
+
+          <xsl:if test="$nav.revisionflag != '0' and $revisionflag">
+            <xsl:value-of select="$nav.text.spacer"/>
+            <xsl:choose>
+              <xsl:when test="$nav.graphics = '1'">
+                <img src="{$revisionflag-icon}" alt="{$revisionflag-text}"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:text>(</xsl:text>
+                <xsl:value-of select="$revisionflag-text"/>
+                <xsl:text>)</xsl:text>
+              </xsl:otherwise>
+            </xsl:choose>
+	  </xsl:if>
+
+        </span>
+        <br/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </span>
+
+  <xsl:if test="$is.open != 0">
+    <xsl:apply-templates select="tocentry">
+      <xsl:with-param name="pageid" select="$pageid"/>
+      <xsl:with-param name="relpath" select="$relpath"/>
+    </xsl:apply-templates>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="insert.spacers">
+  <xsl:param name="count" select="0"/>
+  <xsl:param name="relpath"/>
+  <xsl:if test="$count>0">
+    <xsl:choose>
+      <xsl:when test="$nav.graphics != 0">
+        <img src="{$relpath}{$toc.spacer.image}" alt="{$toc.spacer.text}"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$toc.spacer.text"/>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:call-template name="insert.spacers">
+      <xsl:with-param name="count" select="$count - 1"/>
+      <xsl:with-param name="relpath" select="$relpath"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="toc|tocentry|notoc" mode="toc-rel-path">
+  <xsl:call-template name="toc-rel-path"/>
+</xsl:template>
+
+<xsl:template name="toc-rel-path">
+  <xsl:param name="pageid" select="@id"/>
+  <xsl:variable name="entry" select="$autolayout//*[@id=$pageid]"/>
+  <xsl:variable name="filename" select="concat($entry/@dir,$entry/@filename)"/>
+
+  <xsl:variable name="slash-count">
+    <xsl:call-template name="toc-directory-depth">
+      <xsl:with-param name="filename" select="$filename"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="depth">
+    <xsl:choose>
+      <xsl:when test="starts-with($filename, '/')">
+        <xsl:value-of select="$slash-count - 1"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$slash-count"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+<!--
+  <xsl:message>
+    <xsl:value-of select="$filename"/>
+    <xsl:text> depth=</xsl:text>
+    <xsl:value-of select="$depth"/>
+  </xsl:message>
+-->
+
+  <xsl:if test="$depth > 0">
+    <xsl:call-template name="copy-string">
+      <xsl:with-param name="string">../</xsl:with-param>
+      <xsl:with-param name="count" select="$depth"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="toc-directory-depth">
+  <xsl:param name="filename"></xsl:param>
+  <xsl:param name="count" select="0"/>
+
+  <xsl:choose>
+    <xsl:when test='contains($filename,"/")'>
+      <xsl:call-template name="toc-directory-depth">
+        <xsl:with-param name="filename"
+                        select="substring-after($filename,'/')"/>
+        <xsl:with-param name="count" select="$count + 1"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$count"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/toc.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/toc.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/toc.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,286 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:output method="html"/>
+
+<xsl:param name="max.toc.width" select="7"/>
+
+<xsl:template match="toc/title|tocentry/title|titleabbrev">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="toc">
+  <xsl:param name="pageid" select="@id"/>
+
+  <xsl:variable name="relpath">
+    <xsl:call-template name="toc-rel-path">
+      <xsl:with-param name="pageid" select="$pageid"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="homebanner"
+                select="/autolayout/config[@param='homebanner'][1]"/>
+
+  <xsl:variable name="banner"
+                select="/autolayout/config[@param='banner'][1]"/>
+
+  <xsl:variable name="homebannertext"
+                select="/autolayout/config[@param='homebannertext'][1]"/>
+
+  <xsl:variable name="bannertext"
+                select="/autolayout/config[@param='bannertext'][1]"/>
+
+  <xsl:choose>
+    <xsl:when test="$pageid = @id">
+      <xsl:choose>
+        <xsl:when test="$homebanner">
+          <img border="0">
+            <xsl:attribute name="src">
+              <xsl:value-of select="$relpath"/>
+              <xsl:value-of select="$homebanner/@value"/>
+            </xsl:attribute>
+            <xsl:attribute name="alt">
+              <xsl:value-of select="$homebanner/@altval"/>
+            </xsl:attribute>
+          </img>
+          <xsl:value-of select="$currentpage.marker"/>
+        </xsl:when>
+        <xsl:when test="$homebannertext">
+          <xsl:value-of select="$homebannertext/@value"/>
+          <xsl:value-of select="$currentpage.marker"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="gentext.nav.home"/>
+          <xsl:value-of select="$currentpage.marker"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <a href="{$relpath}{@dir}{$filename-prefix}{@filename}">
+        <xsl:choose>
+          <xsl:when test="$banner">
+            <img border="0">
+              <xsl:attribute name="src">
+                <xsl:value-of select="$relpath"/>
+                <xsl:value-of select="$banner/@value"/>
+              </xsl:attribute>
+              <xsl:attribute name="alt">
+                <xsl:value-of select="$banner/@altval"/>
+              </xsl:attribute>
+            </img>
+          </xsl:when>
+          <xsl:when test="$bannertext">
+            <xsl:value-of select="$bannertext/@value"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="gentext.nav.home"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </a>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:text> | </xsl:text>
+
+  <xsl:call-template name="process-children">
+    <xsl:with-param name="pageid" select="$pageid"/>
+    <xsl:with-param name="relpath" select="$relpath"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="tocentry">
+  <xsl:param name="pageid" select="@id"/>
+  <xsl:param name="relpath" select="''"/>
+
+  <xsl:if test="preceding-sibling::tocentry">
+    <xsl:text> | </xsl:text>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="$pageid = @id">
+      <xsl:choose>
+        <xsl:when test="titleabbrev">
+          <xsl:apply-templates select="titleabbrev"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="title"/>
+        </xsl:otherwise>
+      </xsl:choose>
+      <xsl:value-of select="$currentpage.marker"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <a>
+        <xsl:attribute name="href">
+          <xsl:choose>
+            <xsl:when test="@href">
+              <xsl:value-of select="@href"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="$relpath"/>
+              <xsl:value-of select="@dir"/>
+              <xsl:value-of select="$filename-prefix"/>
+              <xsl:value-of select="@filename"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:attribute>
+        <xsl:choose>
+          <xsl:when test="titleabbrev">
+            <xsl:apply-templates select="titleabbrev"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="title"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </a>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="toc|tocentry|notoc" mode="toc-rel-path">
+  <xsl:call-template name="toc-rel-path"/>
+</xsl:template>
+
+<xsl:template name="toc-rel-path">
+  <xsl:param name="pageid" select="@id"/>
+  <xsl:variable name="entry" select="$autolayout//*[@id=$pageid]"/>
+  <xsl:variable name="filename" select="concat($entry/@dir,$entry/@filename)"/>
+
+  <xsl:variable name="depth">
+    <xsl:call-template name="toc-directory-depth">
+      <xsl:with-param name="filename" select="$filename"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="$depth > 0">
+    <xsl:call-template name="copy-string">
+      <xsl:with-param name="string">../</xsl:with-param>
+      <xsl:with-param name="count" select="$depth"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="toc-directory-depth">
+  <xsl:param name="filename"></xsl:param>
+  <xsl:param name="count" select="0"/>
+
+  <xsl:choose>
+    <xsl:when test='contains($filename,"/")'>
+      <xsl:call-template name="toc-directory-depth">
+        <xsl:with-param name="filename"
+                        select="substring-after($filename,'/')"/>
+        <xsl:with-param name="count" select="$count + 1"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$count"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process-children">
+  <xsl:param name="pageid" select="@id"/>
+  <xsl:param name="relpath" select="''"/>
+
+  <xsl:choose>
+    <xsl:when test="tocentry[descendant-or-self::*[@id=$pageid]]">
+      <xsl:call-template name="process-tocentry-children">
+        <xsl:with-param name="pageid" select="$pageid"/>
+        <xsl:with-param name="relpath" select="$relpath"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="process-toc-children">
+        <xsl:with-param name="pageid" select="$pageid"/>
+        <xsl:with-param name="relpath" select="$relpath"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process-tocentry-children">
+  <xsl:param name="pageid" select="@id"/>
+  <xsl:param name="relpath" select="''"/>
+
+  <xsl:choose>
+    <xsl:when test="count(tocentry) &gt; $max.toc.width">
+      <xsl:variable name="cur"
+                    select="tocentry[descendant-or-self::*[@id=$pageid]]"/>
+
+      <xsl:variable name="half" select="$max.toc.width div 2"/>
+
+      <xsl:variable name="all-nodes"
+                    select="$cur/preceding-sibling::tocentry[position() &lt; $half]
+                            | $cur
+                            | $cur/following-sibling::tocentry"/>
+
+      <xsl:variable name="nodes"
+                    select="$all-nodes[position() &lt; $max.toc.width]"/>
+
+      <xsl:if test="count($cur/preceding-sibling::tocentry) &gt; $half">
+        <xsl:text>...</xsl:text>
+      </xsl:if>
+      <xsl:apply-templates select="$nodes">
+        <xsl:with-param name="pageid" select="$pageid"/>
+        <xsl:with-param name="relpath" select="$relpath"/>
+      </xsl:apply-templates>
+      <xsl:if test="count($all-nodes) &gt; $max.toc.width">
+        <xsl:text> | ...</xsl:text>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="tocentry">
+        <xsl:with-param name="pageid" select="$pageid"/>
+        <xsl:with-param name="relpath" select="$relpath"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <br/>
+
+  <!-- if the current page isn't in this list, keep digging... -->
+  <xsl:if test="not(tocentry[$pageid=@id])">
+    <xsl:for-each select="tocentry">
+      <xsl:if test="descendant::*[@id=$pageid]">
+        <xsl:call-template name="process-children">
+          <xsl:with-param name="pageid" select="$pageid"/>
+          <xsl:with-param name="relpath" select="$relpath"/>
+        </xsl:call-template>
+      </xsl:if>
+    </xsl:for-each>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="process-toc-children">
+  <xsl:param name="pageid" select="@id"/>
+  <xsl:param name="relpath" select="''"/>
+
+  <xsl:choose>
+    <xsl:when test="count(tocentry) &gt; $max.toc.width">
+      <xsl:variable name="half" select="$max.toc.width div 2"/>
+
+      <xsl:variable name="all-nodes" select="tocentry"/>
+      <xsl:variable name="nodes"
+                    select="$all-nodes[position() &lt; $max.toc.width]"/>
+
+      <xsl:apply-templates select="$nodes">
+        <xsl:with-param name="pageid" select="$pageid"/>
+        <xsl:with-param name="relpath" select="$relpath"/>
+      </xsl:apply-templates>
+
+      <xsl:if test="count($all-nodes) &gt; $max.toc.width">
+        <xsl:text> | ...</xsl:text>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="tocentry">
+        <xsl:with-param name="pageid" select="$pageid"/>
+        <xsl:with-param name="relpath" select="$relpath"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <br/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/website-common.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/website-common.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/website-common.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,813 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:html='http://www.w3.org/1999/xhtml'
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                exclude-result-prefixes="doc html"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: website-common.xsl 4564 2005-04-15 19:09:43Z nwalsh $
+     ********************************************************************
+
+     This file is part of the WebSite distribution.
+     See ../README or http://nwalsh.com/website/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
+<xsl:import href="xbel.xsl"/>
+<xsl:include href="../VERSION"/>
+<xsl:include href="param.xsl"/>
+<xsl:include href="head.xsl"/>
+<xsl:include href="rss.xsl"/>
+<xsl:include href="olink.xsl"/>
+
+<xsl:preserve-space elements="*"/>
+<xsl:strip-space elements="website webpage"/>
+
+<xsl:output method="html"
+            indent="no"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="admon.graphic">
+  <xsl:param name="node" select="."/>
+  <xsl:call-template name="root-rel-path"/>
+  <xsl:value-of select="$admon.graphics.path"/>
+  <xsl:choose>
+    <xsl:when test="name($node)='note'">note</xsl:when>
+    <xsl:when test="name($node)='warning'">warning</xsl:when>
+    <xsl:when test="name($node)='caution'">caution</xsl:when>
+    <xsl:when test="name($node)='tip'">tip</xsl:when>
+    <xsl:when test="name($node)='important'">important</xsl:when>
+    <xsl:otherwise>note</xsl:otherwise>
+  </xsl:choose>
+  <xsl:value-of select="$admon.graphics.extension"/>
+</xsl:template>
+
+<doc:template name="admon.graphic">
+<refpurpose>Select appropriate admonition graphic</refpurpose>
+<refdescription>
+<para>Selects the appropriate admonition graphic file and returns the
+fully qualified path to it.</para>
+</refdescription>
+<refparam>
+<variablelist>
+<varlistentry><term>node</term>
+<listitem>
+<para>The source node to use for the purpose of selection. It should
+be one of the admonition elements (<sgmltag>note</sgmltag>,
+<sgmltag>warning</sgmltag>, etc.). The default node is the context
+node.</para>
+</listitem>
+</varlistentry>
+</variablelist>
+</refparam>
+<refreturns>
+<para>The fully qualified path to the admonition graphic. If the
+<varname>node</varname> is not an admonition element, the
+  <quote>note</quote> graphic is returned.</para>
+</refreturns>
+</doc:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="/">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="allpages.banner"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="webpage.table.footer"/>
+
+<xsl:template name="webpage.footer">
+  <xsl:variable name="page" select="."/>
+  <xsl:variable name="footers" select="$page/config[@param='footer']
+                                       |$page/config[@param='footlink']
+                                       |$autolayout/autolayout/config[@param='footer']
+                                       |$autolayout/autolayout/config[@param='footlink']"/>
+
+  <xsl:variable name="tocentry" select="$autolayout//*[@id=$page/@id]"/>
+  <xsl:variable name="toc" select="($tocentry/ancestor-or-self::toc[1]
+                                   | $autolayout//toc[1])[last()]"/>
+
+  <xsl:variable name="feedback">
+    <xsl:choose>
+      <xsl:when test="$page/config[@param='feedback.href']">
+        <xsl:value-of select="($page/config[@param='feedback.href'])[1]/@value"/>
+      </xsl:when>
+      <xsl:when test="$autolayout/autolayout/config[@param='feedback.href']">
+        <xsl:value-of select="($autolayout/autolayout/config[@param='feedback.href'])[1]/@value"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$feedback.href"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <div class="navfoot">
+    <xsl:if test="$footer.hr != 0"><hr/></xsl:if>
+    <table width="100%" border="0" summary="Footer navigation">
+      <tr>
+        <td width="33%" align="left">
+          <span class="footdate">
+            <xsl:call-template name="rcsdate.format">
+              <xsl:with-param name="rcsdate"
+                              select="$page/config[@param='rcsdate']/@value"/>
+            </xsl:call-template>
+          </span>
+        </td>
+        <td width="34%" align="center">
+          <xsl:choose>
+            <xsl:when test="not($toc)">
+              <xsl:message>
+                <xsl:text>Cannot determine TOC for </xsl:text>
+                <xsl:value-of select="$page/@id"/>
+              </xsl:message>
+            </xsl:when>
+            <xsl:when test="$toc/@id = $page/@id">
+              <!-- nop; this is the home page -->
+            </xsl:when>
+            <xsl:otherwise>
+              <span class="foothome">
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:call-template name="homeuri"/>
+                  </xsl:attribute>
+                  <xsl:call-template name="gentext.nav.home"/>
+                </a>
+                <xsl:if test="$footers">
+                  <xsl:text> | </xsl:text>
+                </xsl:if>
+              </span>
+            </xsl:otherwise>
+          </xsl:choose>
+
+          <xsl:apply-templates select="$footers" mode="footer.link.mode"/>
+        </td>
+        <td width="33%" align="right">
+            <xsl:choose>
+              <xsl:when test="$feedback != ''">
+                <span class="footfeed">
+                  <a>
+                    <xsl:choose>
+                      <xsl:when test="$feedback.with.ids != 0">
+                        <xsl:attribute name="href">
+                          <xsl:value-of select="$feedback"/>
+                          <xsl:value-of select="$page/@id"/>
+                        </xsl:attribute>
+                      </xsl:when>
+                      <xsl:otherwise>
+                        <xsl:attribute name="href">
+                          <xsl:value-of select="$feedback"/>
+                        </xsl:attribute>
+                      </xsl:otherwise>
+                    </xsl:choose>
+                    <xsl:value-of select="$feedback.link.text"/>
+                  </a>
+                </span>
+              </xsl:when>
+              <xsl:otherwise>&#160;</xsl:otherwise>
+            </xsl:choose>
+        </td>
+      </tr>
+      <tr>
+        <td colspan="3" align="right">
+          <span class="footcopy">
+            <xsl:choose>
+              <xsl:when test="head/copyright">
+                <xsl:apply-templates select="head/copyright" mode="footer.mode"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:apply-templates mode="footer.mode"
+                                     select="$autolayout/autolayout/copyright"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </span>
+        </td>
+      </tr>
+      <xsl:if test="$sequential.links != 0">
+        <tr>
+          <xsl:variable name="prev">
+            <xsl:call-template name="prev.page"/>
+          </xsl:variable>
+          <xsl:variable name="next">
+            <xsl:call-template name="next.page"/>
+          </xsl:variable>
+          <xsl:variable name="ptoc"
+                        select="$autolayout/autolayout//*[$prev=@id]"/>
+          <xsl:variable name="ntoc"
+                        select="$autolayout/autolayout//*[$next=@id]"/>
+
+          <td align="left" valign="top">
+            <xsl:choose>
+              <xsl:when test="$prev != ''">
+                <xsl:call-template name="link.to.page">
+                  <xsl:with-param name="frompage" select="$tocentry"/>
+                  <xsl:with-param name="page" select="$ptoc"/>
+                  <xsl:with-param name="linktext" select="'Prev'"/>
+                </xsl:call-template>
+              </xsl:when>
+              <xsl:otherwise>&#160;</xsl:otherwise>
+            </xsl:choose>
+          </td>
+          <td>&#160;</td>
+          <td align="right" valign="top">
+            <xsl:choose>
+              <xsl:when test="$next != ''">
+                <xsl:call-template name="link.to.page">
+                  <xsl:with-param name="frompage" select="$tocentry"/>
+                  <xsl:with-param name="page" select="$ntoc"/>
+                  <xsl:with-param name="linktext" select="'Next'"/>
+                </xsl:call-template>
+              </xsl:when>
+              <xsl:otherwise>&#160;</xsl:otherwise>
+            </xsl:choose>
+          </td>
+        </tr>
+      </xsl:if>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template name="rcsdate.format">
+  <xsl:param name="rcsdate" select="./config[@param='rcsdate']/@value"/>
+  <xsl:value-of select="$rcsdate"/>
+</xsl:template>
+
+<xsl:template match="config" mode="footer.link.mode">
+  <span class="foothome">
+    <xsl:if test="position() &gt; 1">
+      <xsl:text> | </xsl:text>
+    </xsl:if>
+    <xsl:choose>
+      <xsl:when test="@param='footlink'">
+        <xsl:variable name="id" select="@value"/>
+        <xsl:variable name="tocentry"
+                      select="$autolayout//*[@id=$id]"/>
+        <xsl:if test="count($tocentry) != 1">
+          <xsl:message>
+            <xsl:text>Footlink to </xsl:text>
+            <xsl:value-of select="$id"/>
+            <xsl:text> does not id a unique page.</xsl:text>
+          </xsl:message>
+        </xsl:if>
+        <xsl:variable name="dir">
+          <xsl:choose>
+            <xsl:when test="starts-with($tocentry/@dir, '/')">
+              <xsl:value-of select="substring($tocentry/@dir, 2)"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="$tocentry/@dir"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+        <a>
+          <xsl:attribute name="href">
+            <xsl:call-template name="root-rel-path"/>
+            <xsl:value-of select="$dir"/>
+            <xsl:value-of select="$filename-prefix"/>
+            <xsl:value-of select="$tocentry/@filename"/>
+          </xsl:attribute>
+          <xsl:value-of select="@altval"/>
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <a href="{@value}">
+          <xsl:value-of select="@altval"/>
+        </a>
+      </xsl:otherwise>
+    </xsl:choose>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="homeuri">
+  <xsl:param name="page" select="ancestor-or-self::webpage"/>
+  <xsl:variable name="id" select="$page/@id"/>
+  <xsl:variable name="tocentry"
+                select="$autolayout//*[@id=$id]"/>
+  <xsl:variable name="toc" select="$tocentry/ancestor::toc"/>
+  <xsl:variable name="first-toc"
+                select="$autolayout/autolayout/toc[1]"/>
+
+  <xsl:call-template name="root-rel-path"/>
+  <xsl:choose>
+    <xsl:when test="$toc">
+      <xsl:choose>
+        <xsl:when test="starts-with($toc/@dir, '/')">
+          <xsl:value-of select="substring($toc/@dir, 2)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$toc/@dir"/>
+        </xsl:otherwise>
+      </xsl:choose>
+      <xsl:value-of select="$filename-prefix"/>
+      <xsl:value-of select="$toc/@filename"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="starts-with($first-toc/@dir, '/')">
+          <xsl:value-of select="substring($first-toc/@dir, 2)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$first-toc/@dir"/>
+        </xsl:otherwise>
+      </xsl:choose>
+      <xsl:value-of select="$filename-prefix"/>
+      <xsl:value-of select="$first-toc/@filename"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="copyright" mode="footer.mode">
+  <span class="{name(.)}">
+    <xsl:call-template name="gentext.element.name"/>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">copyright</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="year" mode="footer.mode"/>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="holder" mode="footer.mode"/>
+    <xsl:value-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="year" mode="footer.mode">
+  <xsl:apply-templates/><xsl:text>, </xsl:text>
+</xsl:template>
+
+<xsl:template match="year[position()=last()]" mode="footer.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="holder" mode="footer.mode">
+  <xsl:apply-templates/>
+  <xsl:if test="position() != last()">, </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="config">
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="head">
+</xsl:template>
+
+<xsl:template match="head/title" mode="title.mode">
+  <h1><xsl:apply-templates/></h1>
+</xsl:template>
+
+<xsl:template match="head/title">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="directory-depth">
+  <xsl:param name="dir"></xsl:param>
+  <xsl:param name="count" select="0"/>
+
+  <xsl:choose>
+    <xsl:when test='contains($dir,"/")'>
+      <xsl:call-template name="directory-depth">
+        <xsl:with-param name="dir" select="substring-after($dir,'/')"/>
+        <xsl:with-param name="count" select="$count + 1"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test='$dir=""'>
+          <xsl:value-of select="$count"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$count + 1"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="root-rel-path">
+  <xsl:param name="webpage" select="ancestor-or-self::webpage"/>
+  <xsl:variable name="tocentry" select="$autolayout//*[$webpage/@id=@id]"/>
+  <xsl:apply-templates select="$tocentry" mode="toc-rel-path"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="footnote" mode="footnote.number">
+  <xsl:choose>
+    <xsl:when test="ancestor::table|ancestor::informaltable">
+      <xsl:number level="any" from="table|informaltable" format="a"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:number level="any" from="webpage" format="1"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process.footnotes">
+  <!-- we're only interested in footnotes that occur on this page, not
+       on descendants of this page (which will be similarly processed) -->
+  <xsl:variable name="thispage"
+                select="ancestor-or-self::webpage"/>
+  <xsl:variable name="footnotes"
+                select=".//footnote[ancestor-or-self::webpage=$thispage]"/>
+  <xsl:variable name="table.footnotes"
+                select=".//table//footnote[ancestor-or-self::webpage=$thispage]
+                        |.//informaltable//footnote[ancestor-or-self::webpage
+                                    =$thispage]"/>
+
+  <!-- Only bother to do this if there's at least one non-table footnote -->
+  <xsl:if test="count($footnotes)>count($table.footnotes)">
+    <div class="footnotes">
+      <hr width="100" align="left"/>
+      <xsl:apply-templates select="$footnotes" mode="process.footnote.mode"/>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="@*" mode="copy">
+  <xsl:attribute name="{local-name(.)}">
+    <xsl:value-of select="."/>
+  </xsl:attribute>
+</xsl:template>
+
+<xsl:template match="html:*">
+  <xsl:element name="{local-name(.)}" namespace="">
+    <xsl:apply-templates select="@*" mode="copy"/>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="processing-instruction('php')">
+  <xsl:processing-instruction name="php">
+    <xsl:value-of select="."/>
+  </xsl:processing-instruction>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="rddl:*" xmlns:rddl='http://www.rddl.org/'>
+  <xsl:element name="{name(.)}">
+    <xsl:apply-templates select="@*" mode="copy"/>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="section[@rddl]" xmlns:rddl='http://www.rddl.org/'>
+  <xsl:variable name="rddl" select="id(@rddl)"/>
+  <xsl:choose>
+    <xsl:when test="local-name($rddl) != 'resource'">
+      <xsl:message>
+        <xsl:text>Warning: section rddl isn't an rddl:resource: </xsl:text>
+        <xsl:value-of select="@rddl"/>
+      </xsl:message>
+      <xsl:apply-imports/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:element name="{name($rddl)}">
+        <xsl:apply-templates select="$rddl/@*" mode="copy"/>
+        <xsl:apply-imports/>
+      </xsl:element>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="page.uri">
+  <xsl:param name="href" select="''"/>
+  <xsl:param name="page" select="ancestor-or-self::tocentry"/>
+  <xsl:param name="relpath">
+    <xsl:call-template name="toc-rel-path">
+      <xsl:with-param name="pageid" select="$page/@id"/>
+    </xsl:call-template>
+  </xsl:param>
+
+<!--
+  <xsl:message><xsl:value-of select="$page/@id"/>: <xsl:value-of select="$relpath"/></xsl:message>
+-->
+
+  <xsl:variable name="dir">
+    <xsl:choose>
+      <xsl:when test="starts-with($page/@dir, '/')">
+        <xsl:value-of select="substring($page/@dir, 2)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$page/@dir"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="html.href">
+    <xsl:choose>
+      <xsl:when test="$href != ''">
+        <xsl:value-of select="$href"/>
+      </xsl:when>
+      <xsl:when test="$page/@href">
+	<xsl:value-of select="$page/@href"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="concat($relpath,$dir,$filename-prefix)"/>
+        <xsl:value-of select="$page/@filename"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:value-of select="$html.href"/>
+</xsl:template>
+
+<xsl:template name="link.to.page">
+  <xsl:param name="href" select="''"/>
+  <xsl:param name="frompage"/>
+  <xsl:param name="page" select="ancestor-or-self::tocentry"/>
+  <xsl:param name="relpath">
+    <xsl:choose>
+      <xsl:when test="$frompage">
+        <xsl:call-template name="toc-rel-path">
+          <xsl:with-param name="pageid" select="$frompage/@id"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="toc-rel-path">
+          <xsl:with-param name="pageid" select="$page/@id"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:param>
+  <xsl:param name="linktext" select="'???'"/>
+
+  <a>
+    <xsl:attribute name="href">
+      <xsl:call-template name="page.uri">
+        <xsl:with-param name="href" select="$href"/>
+        <xsl:with-param name="page" select="$page"/>
+        <xsl:with-param name="relpath" select="$relpath"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:if test="summary">
+      <xsl:attribute name="title">
+        <xsl:value-of select="normalize-space(string(summary))"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:copy-of select="$linktext"/>
+  </a>
+</xsl:template>
+
+<xsl:template name="next.page">
+  <xsl:param name="page" select="ancestor-or-self::webpage"/>
+  <xsl:variable name="id" select="$page/@id"/>
+  <xsl:variable name="tocentry"
+                select="$autolayout//*[@id=$id]"/>
+  <xsl:variable name="next-following"
+                select="$tocentry/following::tocentry[1]"/>
+  <xsl:variable name="next-child"
+                select="$tocentry/descendant::tocentry[1]"/>
+
+  <xsl:variable name="nextid">
+    <xsl:choose>
+      <xsl:when test="$next-child">
+        <xsl:value-of select="$next-child/@id"/>
+      </xsl:when>
+      <xsl:when test="$next-following">
+        <xsl:value-of select="$next-following/@id"/>
+      </xsl:when>
+      <xsl:otherwise></xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:value-of select="$nextid"/>
+</xsl:template>
+
+<xsl:template name="prev.page">
+  <xsl:param name="page" select="ancestor-or-self::webpage"/>
+  <xsl:variable name="id" select="$page/@id"/>
+  <xsl:variable name="tocentry"
+                select="$autolayout//*[@id=$id]"/>
+  <xsl:variable name="prev-ancestor"
+                select="($tocentry/ancestor::tocentry
+                        |$tocentry/ancestor::toc)[last()]"/>
+  <xsl:variable name="prev-sibling"
+                select="$tocentry/preceding-sibling::tocentry[1]"/>
+
+  <xsl:variable name="previd">
+    <xsl:choose>
+      <xsl:when test="$prev-sibling">
+        <xsl:value-of select="$prev-sibling/@id"/>
+      </xsl:when>
+      <xsl:when test="$prev-ancestor">
+        <xsl:value-of select="$prev-ancestor/@id"/>
+      </xsl:when>
+      <xsl:otherwise></xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:value-of select="$previd"/>
+</xsl:template>
+
+<xsl:template name="top.page">
+  <xsl:param name="page" select="ancestor-or-self::webpage"/>
+  <xsl:variable name="id" select="$page/@id"/>
+  <xsl:variable name="tocentry"
+                select="$autolayout//*[@id=$id]"/>
+
+  <xsl:value-of select="$tocentry/ancestor::toc/@id"/>
+</xsl:template>
+
+<xsl:template name="up.page">
+  <xsl:param name="page" select="ancestor-or-self::webpage"/>
+  <xsl:variable name="id" select="$page/@id"/>
+  <xsl:variable name="tocentry"
+                select="$autolayout//*[@id=$id]"/>
+
+  <xsl:choose>
+    <xsl:when test="$tocentry/ancestor::tocentry">
+      <xsl:value-of select="$tocentry/ancestor::tocentry[1]/@id"/>
+    </xsl:when>
+    <xsl:when test="$tocentry/ancestor::toc">
+      <xsl:value-of select="$tocentry/ancestor::toc[1]/@id"/>
+    </xsl:when>
+    <xsl:otherwise></xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="first.page">
+  <xsl:param name="page" select="ancestor-or-self::webpage"/>
+  <xsl:variable name="id" select="$page/@id"/>
+  <xsl:variable name="tocentry"
+                select="$autolayout//*[@id=$id]"/>
+
+  <xsl:value-of select="$tocentry/preceding-sibling::tocentry[last()]/@id"/>
+</xsl:template>
+
+<xsl:template name="last.page">
+  <xsl:param name="page" select="ancestor-or-self::webpage"/>
+  <xsl:variable name="id" select="$page/@id"/>
+  <xsl:variable name="tocentry"
+                select="$autolayout//*[@id=$id]"/>
+
+  <xsl:variable name="prev-sibling"
+                select="$tocentry/preceding-sibling::tocentry[1]"/>
+
+  <xsl:value-of select="$tocentry/following-sibling::tocentry[last()]/@id"/>
+</xsl:template>
+
+<xsl:template match="autolayout" mode="collect.targets">
+  <targetset>
+    <xsl:apply-templates mode="olink.mode"/>
+  </targetset>
+</xsl:template>
+
+<xsl:template match="toc|tocentry|notoc" mode="olink.mode">
+    <xsl:text>&#10;</xsl:text>
+    <xsl:call-template name="tocentry"/>
+    <xsl:apply-templates select="tocentry" mode="olink.mode"/>
+</xsl:template>
+
+
+<xsl:template name="tocentry">
+  <xsl:choose>
+    <xsl:when test="@href">
+      <!-- no op -->
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="not(@page)">
+        <xsl:message terminate="yes">
+          <xsl:text>All toc entries must have a page attribute.</xsl:text>
+        </xsl:message>
+      </xsl:if>
+    
+      <xsl:variable name="page" select="document(@page,.)"/>
+    
+      <xsl:if test="not($page/*[1]/@id)">
+        <xsl:message terminate="yes">
+          <xsl:value-of select="@page"/>
+          <xsl:text>: missing ID.</xsl:text>
+        </xsl:message>
+      </xsl:if>
+    
+      <xsl:variable name="id" select="$page/*[1]/@id"/>
+    
+      <xsl:variable name="filename">
+        <xsl:choose>
+          <xsl:when test="@filename">
+            <xsl:value-of select="$filename-prefix"/>
+            <xsl:value-of select="@filename"/>
+          </xsl:when>
+          <xsl:when test="/layout/config[@param='default-filename']">
+            <xsl:value-of select="$filename-prefix"/>
+            <xsl:value-of select="(/layout/config[@param='default-filename'])[1]/@value"/>
+          </xsl:when>
+          <xsl:otherwise><xsl:value-of select="$filename-prefix"/>index.html</xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+    
+      <xsl:variable name="dir" select="@dir"/>
+    
+      <xsl:if test="$filename = ''">
+        <xsl:message terminate="yes">
+          <xsl:value-of select="@page"/>
+          <xsl:text>: missing filename.</xsl:text>
+        </xsl:message>
+      </xsl:if>
+    
+    <!--
+      <xsl:message>
+        <xsl:value-of select="@page"/>
+        <xsl:text>: </xsl:text>
+        <xsl:if test="$dir != ''">
+          <xsl:value-of select="$dir"/>
+        </xsl:if>
+        <xsl:value-of select="$filename"/>
+      </xsl:message>
+    -->
+    
+      <document>
+        <xsl:attribute name="targetdoc">
+          <xsl:value-of select="$id"/>
+        </xsl:attribute>
+        <xsl:attribute name="baseuri">
+          <xsl:value-of select="$filename"/>
+        </xsl:attribute>
+        <xsl:if test="$dir != ''">
+          <xsl:attribute name="dir">
+            <xsl:value-of select="$dir"/>
+          </xsl:attribute>
+        </xsl:if>
+    
+        <xsl:apply-templates select="$page" mode="olink.mode"/>
+      </document>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="webpage" mode="olink.mode">
+  <xsl:call-template name="div"/>
+</xsl:template>
+
+<xsl:template match="webpage" mode="xref-to" >
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+  </xsl:apply-templates>
+  <!-- FIXME: What about "in Chapter X"? -->
+</xsl:template>
+
+<xsl:template match="webpage" mode="title.markup">
+  <xsl:param name="allow-anchors" select="0"/>
+  <xsl:apply-templates select="head/title"
+                       mode="title.markup">
+    <xsl:with-param name="allow-anchors" select="$allow-anchors"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:param name="local.l10n.xml" select="document('')" />
+<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0"> 
+  <l:l10n language="en">
+    <l:context name="title">
+      <l:template name="webpage" text="%t"/>
+    </l:context>
+    <l:context name="xref">
+      <l:template name="webpage" text="%t"/>
+    </l:context>
+  </l:l10n>
+  <l:l10n language="de">
+    <l:context name="title">
+      <l:template name="webpage" text="%t"/>
+    </l:context>
+    <l:context name="xref">
+      <l:template name="webpage" text="%t"/>
+    </l:context>
+  </l:l10n>
+  <l:l10n language="fr">
+    <l:context name="title">
+      <l:template name="webpage" text="%t"/>
+    </l:context>
+    <l:context name="xref">
+      <l:template name="webpage" text="%t"/>
+    </l:context>
+  </l:l10n>
+</l:i18n>
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/website-targets.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/website-targets.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/website-targets.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version="1.0">
+
+<xsl:import href="tabular.xsl"/>
+
+<xsl:output method="xml" 
+         indent="no" 
+	 encoding="utf-8"
+         doctype-public="-//Norman Walsh//DTD DocBook OLink Summary V2.0//EN"
+         doctype-system="http://docbook.sourceforge.net/release/xsl/current/common/targetdatabase.dtd"/>
+
+
+<!-- Used only when processing autolayout.xml -->
+<xsl:template match="/">
+  <xsl:apply-templates mode="collect.targets"/>
+</xsl:template>
+
+<xsl:template match="*"/>
+
+<xsl:template match="autolayout" mode="collect.targets">
+  <targetset>
+    <xsl:apply-templates mode="olink.mode"/>
+  </targetset>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/website.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/website.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/website.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,132 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:html='http://www.w3.org/1999/xhtml'
+                xmlns:doc="http://nwalsh.com/xsl/documentation/1.0"
+                exclude-result-prefixes="doc html"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: website.xsl 4389 2005-03-29 19:48:16Z bobstayton $
+     ********************************************************************
+
+     This file is part of the WebSite distribution.
+     See ../README or http://nwalsh.com/website/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:include href="website-common.xsl"/>
+<xsl:include href="toc.xsl"/>
+
+<xsl:output method="html"
+            indent="no"/>
+
+<xsl:param name="autolayout" select="document($autolayout-file,/*[1])"/>
+
+<xsl:attribute-set name="body.attributes"/>
+
+<xsl:template name="body.attributes">
+  <!-- Turn off the template from the stock DocBook XSL -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="webpage">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="tocentry" select="$autolayout/autolayout//*[$id=@id]"/>
+  <xsl:variable name="toc" select="$tocentry/ancestor-or-self::toc"/>
+
+  <html>
+    <xsl:apply-templates select="head" mode="head.mode"/>
+    <xsl:apply-templates select="config" mode="head.mode"/>
+    <body class="website">
+      <xsl:call-template name="body.attributes"/>
+
+      <div class="{name(.)}">
+        <a name="{$id}"/>
+
+        <xsl:if test="$banner.before.navigation != 0">
+          <xsl:call-template name="allpages.banner"/>
+        </xsl:if>
+
+        <xsl:if test="$toc">
+          <div class="navhead">
+            <xsl:apply-templates select="$toc">
+              <xsl:with-param name="pageid" select="@id"/>
+            </xsl:apply-templates>
+            <xsl:if test="$header.hr != 0"><hr/></xsl:if>
+          </div>
+        </xsl:if>
+
+        <xsl:if test="$banner.before.navigation = 0">
+          <xsl:call-template name="allpages.banner"/>
+        </xsl:if>
+
+        <xsl:apply-templates select="./head/title" mode="title.mode"/>
+
+        <xsl:apply-templates select="child::node()[not(self::webpage)]"/>
+
+        <xsl:call-template name="process.footnotes"/>
+
+        <xsl:call-template name="webpage.footer"/>
+      </div>
+    </body>
+  </html>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="webtoc">
+  <xsl:variable name="webpage" select="ancestor::webpage"/>
+  <xsl:variable name="relpath">
+    <xsl:call-template name="root-rel-path">
+      <xsl:with-param name="webpage" select="$webpage"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="pageid" select="$webpage/@id"/>
+
+  <xsl:variable name="pages"
+                select="$autolayout//*[$pageid=@id]/tocentry"/>
+
+  <xsl:if test="count($pages) > 0">
+    <ul class="toc">
+      <xsl:for-each select="$pages">
+        <li>
+          <a>
+            <xsl:attribute name="href">
+              <xsl:choose>
+                <xsl:when test="@href">
+                  <xsl:value-of select="@href"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="$relpath"/>
+                  <xsl:value-of select="@dir"/>
+                  <xsl:value-of select="$filename-prefix"/>
+                  <xsl:value-of select="@filename"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:attribute>
+            <xsl:apply-templates select="title"/>
+          </a>
+          <xsl:if test="summary">
+            <xsl:text>--</xsl:text>
+            <xsl:apply-templates select="summary"/>
+          </xsl:if>
+        </li>
+      </xsl:for-each>
+    </ul>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="toc/summary|tocentry/summary|notoc/summary">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/website/xbel.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/website/xbel.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/website/xbel.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,114 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                version='1.0'>
+
+<!-- ********************************************************************
+     $Id: xbel.xsl 5548 2006-02-08 21:24:11Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:output method="xml"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="xbel">
+  <ul>
+    <xsl:apply-templates/>
+  </ul>
+</xsl:template>
+
+<!-- Only partial support for xbel elements -->
+<xsl:template match="xbel/info|xbel/title|xbel/desc|
+                     xbel/alias|xbel/separator">
+  <!-- No op -->
+</xsl:template>
+
+<xsl:template match="folder">
+  <li>
+    <xsl:apply-templates select="title"/>
+    <ul>
+      <xsl:apply-templates select="folder|bookmark"/>
+    </ul>
+  </li>
+</xsl:template>
+
+<xsl:template match="folder/title">
+    <b><xsl:apply-templates/></b>
+</xsl:template>
+
+<xsl:template match="bookmark">
+  <li>
+    <a href="{@href}" target="_top">
+      <xsl:apply-templates select="title"/>
+    </a>
+  </li>
+</xsl:template>
+
+<xsl:template match="bookmark/title">
+    <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="xbel" mode="dynamic">
+  <ul>
+    <xsl:apply-templates mode="dynamic"/>
+  </ul>
+</xsl:template>
+
+<xsl:template match="info" mode="dynamic">
+</xsl:template>
+
+<xsl:template match="folder" mode="dynamic">
+  <li>
+    <xsl:apply-templates select="title" mode="dynamic"/>
+    <ul style="display:none" id="{@id}">
+      <xsl:apply-templates select="folder|bookmark" mode="dynamic"/>
+    </ul>
+  </li>
+</xsl:template>
+
+<xsl:template match="folder/title" mode="dynamic">
+  <b>
+    <span>
+      <xsl:choose>
+	<xsl:when test="../@id">
+	  <xsl:attribute name="onClick">
+	    <xsl:text>toggleList('</xsl:text>
+	    <xsl:value-of select="../@id"/>
+	    <xsl:text>')</xsl:text>
+	  </xsl:attribute>
+	  <xsl:attribute name="class">exlist</xsl:attribute>
+	  <xsl:attribute name="style">color: blue</xsl:attribute>
+	  <xsl:apply-templates mode="dynamic"/>
+	</xsl:when>
+	<xsl:otherwise>
+	  <xsl:apply-templates mode="dynamic"/>
+	</xsl:otherwise>
+      </xsl:choose>
+    </span>
+  </b>
+</xsl:template>
+
+<xsl:template match="bookmark" mode="dynamic">
+  <li>
+    <a href="{@href}" target="_top">
+      <xsl:apply-templates select="title" mode="dynamic"/>
+    </a>
+  </li>
+</xsl:template>
+
+<xsl:template match="bookmark/title" mode="dynamic">
+    <xsl:apply-templates mode="dynamic"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/admon.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/admon.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/admon.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: admon.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="*" mode="admon.graphic.width">
+  <xsl:param name="node" select="."/>
+  <xsl:text>25</xsl:text>
+</xsl:template>
+
+<xsl:template match="note|important|warning|caution|tip">
+  <xsl:choose>
+    <xsl:when test="$admon.graphics != 0">
+      <xsl:call-template name="graphical.admonition"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="nongraphical.admonition"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="admon.graphic">
+  <xsl:param name="node" select="."/>
+  <xsl:value-of select="$admon.graphics.path"/>
+  <xsl:choose>
+    <xsl:when test="local-name($node)='note'">note</xsl:when>
+    <xsl:when test="local-name($node)='warning'">warning</xsl:when>
+    <xsl:when test="local-name($node)='caution'">caution</xsl:when>
+    <xsl:when test="local-name($node)='tip'">tip</xsl:when>
+    <xsl:when test="local-name($node)='important'">important</xsl:when>
+    <xsl:otherwise>note</xsl:otherwise>
+  </xsl:choose>
+  <xsl:value-of select="$admon.graphics.extension"/>
+</xsl:template>
+
+<xsl:template name="graphical.admonition">
+  <xsl:variable name="admon.type">
+    <xsl:choose>
+      <xsl:when test="local-name(.)='note'">Note</xsl:when>
+      <xsl:when test="local-name(.)='warning'">Warning</xsl:when>
+      <xsl:when test="local-name(.)='caution'">Caution</xsl:when>
+      <xsl:when test="local-name(.)='tip'">Tip</xsl:when>
+      <xsl:when test="local-name(.)='important'">Important</xsl:when>
+      <xsl:otherwise>Note</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="alt">
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="$admon.type"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$admon.style != ''">
+      <xsl:attribute name="style">
+        <xsl:value-of select="$admon.style"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <table border="0">
+      <xsl:attribute name="summary">
+        <xsl:value-of select="$admon.type"/>
+        <xsl:if test="title|info/title">
+          <xsl:text>: </xsl:text>
+          <xsl:value-of select="(title|info/title)[1]"/>
+        </xsl:if>
+      </xsl:attribute>
+      <tr>
+        <td rowspan="2" align="center" valign="top">
+          <xsl:attribute name="width">
+            <xsl:apply-templates select="." mode="admon.graphic.width"/>
+          </xsl:attribute>
+          <img alt="[{$alt}]">
+            <xsl:attribute name="src">
+              <xsl:call-template name="admon.graphic"/>
+            </xsl:attribute>
+          </img>
+        </td>
+        <th align="left">
+          <xsl:call-template name="anchor"/>
+          <xsl:if test="$admon.textlabel != 0 or title or info/title">
+            <xsl:apply-templates select="." mode="object.title.markup"/>
+          </xsl:if>
+        </th>
+      </tr>
+      <tr>
+        <td align="left" valign="top">
+          <xsl:apply-templates/>
+        </td>
+      </tr>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template name="nongraphical.admonition">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$admon.style">
+      <xsl:attribute name="style">
+        <xsl:value-of select="$admon.style"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <h3 class="title">
+      <xsl:call-template name="anchor"/>
+      <xsl:if test="$admon.textlabel != 0 or title or info/title">
+        <xsl:apply-templates select="." mode="object.title.markup"/>
+      </xsl:if>
+    </h3>
+
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="note/title"/>
+<xsl:template match="important/title"/>
+<xsl:template match="warning/title"/>
+<xsl:template match="caution/title"/>
+<xsl:template match="tip/title"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/annotations.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/annotations.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/annotations.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<xsl:template name="add.annotation.links">
+  <xsl:param name="scripts" select="normalize-space($annotation.js)"/>
+  <xsl:choose>
+    <xsl:when test="contains($scripts, ' ')">
+      <script type="text/javascript" src="{substring-before($scripts, ' ')}"/>
+      <xsl:call-template name="add.annotation.links">
+        <xsl:with-param name="scripts" select="substring-after($scripts, ' ')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <script type="text/javascript" src="{$scripts}"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="annotation"/>
+
+<xsl:template name="apply-annotations">
+  <xsl:if test="$annotation.support != 0">
+  <!-- do any annotations apply to the context node? -->
+  <xsl:variable name="id" select="(@id|@xml:id)[1]"/>
+
+  <xsl:variable name="aids">
+    <xsl:for-each select="//annotation">
+      <xsl:if test="@annotates=$id                     or starts-with(@annotates, concat($id, ' '))                     or contains(@annotates, concat(' ', $id, ' '))                     or substring(@annotates, string-length(@annotates)-3)                        = concat(' ', $id)">
+        <xsl:value-of select="generate-id()"/>
+        <xsl:text> </xsl:text>
+      </xsl:if>
+    </xsl:for-each>
+    <xsl:if test="normalize-space(@annotations) != ''">
+      <xsl:call-template name="annotations-pointed-to">
+        <xsl:with-param name="annotations" select="normalize-space(@annotations)"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:if test="$aids != ''">
+    <xsl:call-template name="apply-annotations-by-gid">
+      <xsl:with-param name="gids" select="normalize-space($aids)"/>
+    </xsl:call-template>
+  </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="annotations-pointed-to">
+  <xsl:param name="annotations"/>
+  <xsl:choose>
+    <xsl:when test="contains($annotations, ' ')">
+      <xsl:variable name="a" select="key('id', substring-before($annotations, ' '))"/>
+      <xsl:if test="$a">
+        <xsl:value-of select="generate-id($a)"/>
+        <xsl:text> </xsl:text>
+      </xsl:if>
+      <xsl:call-template name="annotations-pointed-to">
+        <xsl:with-param name="annotations" select="substring-after($annotations, ' ')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="a" select="key('id', $annotations)"/>
+      <xsl:if test="$a">
+        <xsl:value-of select="generate-id($a)"/>
+        <xsl:text> </xsl:text>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="apply-annotations-by-gid">
+  <xsl:param name="gids"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($gids, ' ')">
+      <xsl:variable name="gid" select="substring-before($gids, ' ')"/>
+      <xsl:apply-templates select="key('gid', $gid)" mode="annotation-inline"/>
+      <xsl:call-template name="apply-annotations-by-gid">
+        <xsl:with-param name="gids" select="substring-after($gids, ' ')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="key('gid', $gids)" mode="annotation-inline"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="annotation" mode="annotation-inline">
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="title">
+        <xsl:value-of select="title"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:text>[Annotation #</xsl:text>
+        <xsl:number count="annotation" level="any" format="1"/>
+        <xsl:text>]</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <a id="anch-{generate-id(.)}" href="#annot-{generate-id(.)}" title="{$title}">
+    <xsl:attribute name="onClick">
+      <xsl:text>popup_</xsl:text>
+      <xsl:value-of select="generate-id(.)"/>
+      <xsl:text>.showPopup('anch-</xsl:text>
+      <xsl:value-of select="generate-id(.)"/>
+      <xsl:text>'); return false;</xsl:text>
+    </xsl:attribute>
+    <img src="{$annotation.graphic.open}" border="0" alt="{$title}"/>
+  </a>
+</xsl:template>
+
+<xsl:template match="annotation" mode="annotation-popup">
+  <div class="annotation-nocss">
+    <p>
+      <a id="annot-{generate-id(.)}"/>
+      <xsl:text>Annotation #</xsl:text>
+      <xsl:number count="annotation" level="any" format="1"/>
+      <xsl:text>:</xsl:text>
+    </p>
+  </div>
+
+  <div id="popup-{generate-id(.)}" class="annotation-popup">
+    <xsl:if test="string-length(.) &gt; 300">
+      <xsl:attribute name="style">width:400px</xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="annotation-title"/>
+    <div class="annotation-body">
+      <xsl:apply-templates select="*[local-name(.) != 'title']"/>
+    </div>
+    <div class="annotation-close">
+      <a href="#" onclick="popup_{generate-id(.)}.hidePopup();return false;">
+        <img src="{$annotation.graphic.close}" alt="X" border="0"/>
+      </a>
+    </div>
+  </div>
+</xsl:template>
+
+<xsl:template name="annotation-title">
+  <div class="annotation-title">
+    <xsl:choose>
+      <xsl:when test="title">
+        <xsl:apply-templates select="title/node()"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:text>Annotation</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/autoidx-kimber.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/autoidx-kimber.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/autoidx-kimber.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:k="http://www.isogen.com/functions/com.isogen.saxoni18n.Saxoni18nService" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="k" version="1.0">
+
+<!-- ********************************************************************
+     $Id: autoidx-kimber.xsl 6306 2006-09-18 03:34:03Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- The "kimber" method contributed by Eliot Kimber of Innodata Isogen.  -->
+<!-- ==================================================================== -->
+<!--   *** THIS MODULE ONLY WORKS WITH SAXON 6 OR SAXON 8 ***             -->
+<!-- ==================================================================== -->
+
+
+<xsl:include href="../common/autoidx-kimber.xsl"/>
+
+<!-- Java sort apparently works only on lang part, not country -->
+<xsl:param name="sort.lang">
+  <xsl:choose>
+    <xsl:when test="contains(concat(/*/@lang, /*/@xml:lang), '-')">
+      <xsl:value-of select="substring-before(concat(/*/@lang, /*/@xml:lang), '-')"/>
+    </xsl:when>
+    <xsl:when test="contains(concat(/*/@lang, /*/@xml:lang), '_')">
+      <xsl:value-of select="substring-before(concat(/*/@lang, /*/@xml:lang), '_')"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="concat(/*/@lang, /*/@xml:lang)"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+
+<xsl:template name="generate-kimber-index">
+  <xsl:param name="scope" select="NOTANODE"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:if test="not(contains($vendor, 'SAXON '))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text>
+      <xsl:text>Saxon version 6 or 8 XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="not(function-available('k:getIndexGroupKey'))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text>
+      <xsl:text>Innodata Isogen 
+Java extensions for </xsl:text>
+      <xsl:text>internationalized indexes. 
+Install those </xsl:text>
+      <xsl:text>extensions, or use a different index method.
+</xsl:text>
+      <xsl:text>For more information, see:
+</xsl:text>
+      <xsl:text>http://www.innodata-isogen.com/knowledge_center/tools_downloads/i18nsupport</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="role">
+    <xsl:if test="$index.on.role != 0">
+      <xsl:value-of select="@role"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:if test="$index.on.type != 0">
+      <xsl:value-of select="@type"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="terms" select="//indexterm[count(.|key('k-group',                    k:getIndexGroupKey(concat(/*/@lang, /*/@xml:lang), normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;]))))                    [count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1]) = 1                    and not(@class = 'endofrange')]"/>
+
+  <xsl:variable name="alphabetical" select="$terms[not(starts-with(                 k:getIndexGroupKey(concat(/*/@lang, /*/@xml:lang), normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;]))),                 '#NUMERIC'                 ))]"/>
+
+  <xsl:variable name="others" select="$terms[starts-with(                 k:getIndexGroupKey(concat(/*/@lang, /*/@xml:lang), normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;]))),                 '#NUMERIC'                 )]"/>
+
+  <div class="index">
+    <xsl:if test="$others">
+      <div class="indexdev">
+        <h3>
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'index symbols'"/>
+          </xsl:call-template>
+        </h3>
+        <dl>
+          <xsl:apply-templates select="$others" mode="index-symbol-div">
+            <xsl:with-param name="scope" select="$scope"/>
+            <xsl:with-param name="role" select="$role"/>
+            <xsl:with-param name="type" select="$type"/>
+            <xsl:sort lang="{$sort.lang}" select="k:getIndexGroupSortKey(concat(/*/@lang, /*/@xml:lang),                         k:getIndexGroupKey(concat(/*/@lang, /*/@xml:lang), normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;]))))"/>
+          </xsl:apply-templates>
+        </dl>
+      </div>
+    </xsl:if>
+
+    <xsl:apply-templates select="$alphabetical" mode="index-div-kimber">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort lang="{$sort.lang}" select="k:getIndexGroupSortKey(concat(/*/@lang, /*/@xml:lang),                      k:getIndexGroupKey(concat(/*/@lang, /*/@xml:lang), normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;]))))"/>
+    </xsl:apply-templates>
+  </div>
+
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-div-kimber">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key" select="k:getIndexGroupKey(concat(/*/@lang, /*/@xml:lang), normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])))"/>
+
+  <xsl:variable name="label" select="k:getIndexGroupLabel(concat(/*/@lang, /*/@xml:lang), $key)"/>
+
+  <xsl:if test="key('k-group', $label)[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))]                 [count(.|key('primary', normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]">
+    <div class="indexdiv">
+      <h3>
+        <xsl:value-of select="$label"/>
+      </h3>
+      <dl>
+        <xsl:apply-templates select="key('k-group', $key)[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))]                             [count(.|key('primary', normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))]                             [1])=1]" mode="index-primary">
+          <xsl:sort select="normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;]))" lang="{$sort.lang}"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+        </xsl:apply-templates>
+      </dl>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/autoidx-kosek.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/autoidx-kosek.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/autoidx-kosek.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:i="urn:cz-kosek:functions:index" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" xmlns:func="http://exslt.org/functions" xmlns:k="http://www.isogen.com/functions/com.isogen.saxoni18n.Saxoni18nService" xmlns:exslt="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" extension-element-prefixes="func exslt" exclude-result-prefixes="func exslt i l k" version="1.0">
+
+<!-- ********************************************************************
+     $Id: autoidx-kosek.xsl 6352 2006-10-10 14:10:29Z kosek $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- The "kosek" method contributed by Jirka Kosek. -->
+
+<xsl:include href="../common/autoidx-kosek.xsl"/>
+
+<xsl:template name="generate-kosek-index">
+  <xsl:param name="scope" select="(ancestor::book|/)[last()]"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:if test="contains($vendor, 'libxslt')">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method does not </xsl:text>
+      <xsl:text>work with the xsltproc XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="contains($vendor, 'Saxonica')">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method does not </xsl:text>
+      <xsl:text>work with the Saxon 8 XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="not(function-available('exslt:node-set') or                     function-available('exslt:nodeSet'))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text>
+      <xsl:text>exslt:node-set() function. Use a processor that </xsl:text>
+      <xsl:text>has it, or use a different index method.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="not(function-available('i:group-index'))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method requires the
+</xsl:text>
+      <xsl:text>index extension functions be imported:
+</xsl:text>
+      <xsl:text>  xsl:import href="common/autoidx-kosek.xsl"</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="role">
+    <xsl:if test="$index.on.role != 0">
+      <xsl:value-of select="@role"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:if test="$index.on.type != 0">
+      <xsl:value-of select="@type"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="terms" select="//indexterm[count(.|key('group-code',                                           i:group-index(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;]))))                                           [count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1]) = 1                                     and not(@class = 'endofrange')]"/>
+
+  <div class="index">
+    <xsl:apply-templates select="$terms" mode="index-div-kosek">
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="i:group-index(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])))" data-type="number"/>
+    </xsl:apply-templates>
+  </div>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-div-kosek">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key" select="i:group-index(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])))"/>
+
+  <xsl:variable name="lang">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:variable>
+
+  <xsl:if test="key('group-code', $key)[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))]                 [count(.|key('primary', normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]">
+    <div class="indexdiv">
+      <h3>
+        <xsl:value-of select="i:group-letter($key)"/>
+      </h3>
+      <dl>
+        <xsl:apply-templates select="key('group-code', $key)[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))]                                      [count(.|key('primary', normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1])=1]" mode="index-primary">
+          <xsl:sort select="normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;]))" lang="{$lang}"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+        </xsl:apply-templates>
+      </dl>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/autoidx-ng.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/autoidx-ng.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/autoidx-ng.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: autoidx-ng.xsl 6352 2006-10-10 14:10:29Z kosek $
+     ********************************************************************
+
+     This file is part of the DocBook XSL Stylesheet distribution.
+     See ../README or http://docbook.sf.net/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- You should have this directly in your customization file. -->
+<!-- This file is there only to retain backward compatibility. -->
+<xsl:import href="autoidx-kosek.xsl"/>
+<xsl:param name="index.method">kosek</xsl:param>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/autoidx.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/autoidx.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/autoidx.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,585 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exslt="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" extension-element-prefixes="exslt" exclude-result-prefixes="exslt" version="1.0">
+
+<!-- ********************************************************************
+     $Id: autoidx.xsl 6473 2007-01-06 18:30:43Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- The "basic" method derived from Jeni Tennison's work. -->
+<!-- The "kosek" method contributed by Jirka Kosek. -->
+<!-- The "kimber" method contributed by Eliot Kimber of Innodata Isogen. -->
+
+<xsl:variable name="kimber.imported" select="0"/>
+<xsl:variable name="kosek.imported" select="0"/>
+
+<xsl:key name="letter" match="indexterm" use="translate(substring(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), 1, 1),'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#5!
 19;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#24!
 1;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#
504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&!
 #7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;','AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEE!
 EEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHH
HHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+
+<xsl:key name="primary" match="indexterm" use="normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;]))"/>
+
+<xsl:key name="secondary" match="indexterm" use="concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;])))"/>
+
+<xsl:key name="tertiary" match="indexterm" use="concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = &#34;&#34;])))"/>
+
+<xsl:key name="endofrange" match="indexterm[@class='endofrange']" use="@startref"/>
+
+<xsl:key name="primary-section" match="indexterm[not(secondary) and not(see)]" use="concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, generate-id((ancestor-or-self::set                      |ancestor-or-self::book                      |ancestor-or-self::part                      |ancestor-or-self::reference                      |ancestor-or-self::partintro                      |ancestor-or-self::chapter                      |ancestor-or-self::appendix                      |ancestor-or-self::preface                      |ancestor-or-self::article                      |ancestor-or-self::section                      |ancestor-or-self::sect1                      |ancestor-or-self::sect2                      |ancestor-or-self::sect3                      |ancestor-or-self::sect4                      |ancestor-or-self::sect5                      |ancestor-or-self::refentry                      |ancestor-or-self::refsect1  !
                     |ancestor-or-self::refsect2                      |ancestor-or-self::refsect3                      |ancestor-or-self::simplesect                      |ancestor-or-self::bibliography                      |ancestor-or-self::glossary                      |ancestor-or-self::index                      |ancestor-or-self::webpage)[last()]))"/>
+
+<xsl:key name="secondary-section" match="indexterm[not(tertiary) and not(see)]" use="concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, generate-id((ancestor-or-self::set                      |ancestor-or-self::book                      |ancestor-or-self::part                      |ancestor-or-self::reference                      |ancestor-or-self::partintro                      |ancestor-or-self::chapter                      |ancestor-or-self::appendix                      |ancestor-or-self::preface                      |ancestor-or-self::article                      |ancestor-or-self::section                      |ancestor-or-self::sect1                      |ancestor-or-self::sect2                      |ancestor-or-self::sect3                      |ancestor-or-self::sect4                      |ancestor-or-self!
 ::sect5                      |ancestor-or-self::refentry                      |ancestor-or-self::refsect1                      |ancestor-or-self::refsect2                      |ancestor-or-self::refsect3                      |ancestor-or-self::simplesect                      |ancestor-or-self::bibliography                      |ancestor-or-self::glossary                      |ancestor-or-self::index                      |ancestor-or-self::webpage)[last()]))"/>
+
+<xsl:key name="tertiary-section" match="indexterm[not(see)]" use="concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, generate-id((ancestor-or-self::set                      |ancestor-or-self::book                      |ancestor-or-self::part                      |ancestor-or-self::reference                      |ancestor-or-self::partintro                      |ancestor-or-self::chapter                      |ancestor-or-self::appendix                      |ancestor-or-self::preface                      |ancestor-or-self::article                      |ancestor-or-self::section                      |ancestor-or-self::sect1                      |ancestor-or-self::sect2                      |ancestor-or-self::sect3!
                       |ancestor-or-self::sect4                      |ancestor-or-self::sect5                      |ancestor-or-self::refentry                      |ancestor-or-self::refsect1                      |ancestor-or-self::refsect2                      |ancestor-or-self::refsect3                      |ancestor-or-self::simplesect                      |ancestor-or-self::bibliography                      |ancestor-or-self::glossary                      |ancestor-or-self::index                      |ancestor-or-self::webpage)[last()]))"/>
+
+<xsl:key name="see-also" match="indexterm[seealso]" use="concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, seealso)"/>
+
+<xsl:key name="see" match="indexterm[see]" use="concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, see)"/>
+
+<xsl:key name="sections" match="*[@id or @xml:id]" use="@id|@xml:id"/>
+
+
+<xsl:template name="generate-index">
+  <xsl:param name="scope" select="(ancestor::book|/)[last()]"/>
+
+  <xsl:choose>
+    <xsl:when test="$index.method = 'kosek'">
+      <xsl:call-template name="generate-kosek-index">
+        <xsl:with-param name="scope" select="$scope"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$index.method = 'kimber'">
+      <xsl:call-template name="generate-kimber-index">
+        <xsl:with-param name="scope" select="$scope"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:call-template name="generate-basic-index">
+        <xsl:with-param name="scope" select="$scope"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+      
+<xsl:template name="generate-basic-index">
+  <xsl:param name="scope" select="NOTANODE"/>
+
+  <xsl:variable name="role">
+    <xsl:if test="$index.on.role != 0">
+      <xsl:value-of select="@role"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:if test="$index.on.type != 0">
+      <xsl:value-of select="@type"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="terms" select="//indexterm                         [count(.|key('letter',                           translate(substring(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), 1, 1),                              'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233!
 ;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#773!
 5;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#77
44;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&!
 #355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;',                              'AAAA!
 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBB
CCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ'))                           [count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1]) = 1                           and not(@class = 'endofrange')]"/>
+
+  <xsl:variable name="alphabetical" select="$terms[contains(concat('Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#!
 7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#!
 7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#
211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#36!
 1;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIII!
 IIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMM
NNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ'),                                         substring(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), 1, 1))]"/>
+
+  <xsl:variable name="others" select="$terms[not(contains(concat('Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#78!
 65;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#77!
 48;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#21
1;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;!
 &#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;',                                                  'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGG!
 GGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKK
KKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ'),                                              substring(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), 1, 1)))]"/>
+  <div class="index">
+    <xsl:if test="$others">
+      <div class="indexdiv">
+        <h3>
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'index symbols'"/>
+          </xsl:call-template>
+        </h3>
+        <dl>
+          <xsl:apply-templates select="$others[count(.|key('primary',                                        normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]" mode="index-symbol-div">
+            <xsl:with-param name="position" select="position()"/>                                
+            <xsl:with-param name="scope" select="$scope"/>
+            <xsl:with-param name="role" select="$role"/>
+            <xsl:with-param name="type" select="$type"/>
+            <xsl:sort select="translate(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7!
 702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;!
 &#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7
749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#783!
 1;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFF!
 FFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+          </xsl:apply-templates>
+        </dl>
+      </div>
+    </xsl:if>
+
+    <xsl:apply-templates select="$alphabetical[count(.|key('letter',                                  translate(substring(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), 1, 1),                                            'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202!
 ;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#77!
 36;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7
745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&!
 #356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;','AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA!
 AAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDD
DDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ'))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]" mode="index-div-basic">
+      <xsl:with-param name="position" select="position()"/>
+      <xsl:with-param name="scope" select="$scope"/>
+      <xsl:with-param name="role" select="$role"/>
+      <xsl:with-param name="type" select="$type"/>
+      <xsl:sort select="translate(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#!
 7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;!
 &#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#
7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#!
 217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGG!
 GGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
IJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+    </xsl:apply-templates>
+  </div>
+</xsl:template>
+
+<!-- This template not used if html/autoidx-kosek.xsl is imported -->
+<xsl:template name="generate-kosek-index">
+  <xsl:param name="scope" select="NOTANODE"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:if test="contains($vendor, 'libxslt')">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method does not </xsl:text>
+      <xsl:text>work with the xsltproc XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+
+  <xsl:if test="not(function-available('exslt:node-set') or                     function-available('exslt:nodeSet'))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method requires the </xsl:text>
+      <xsl:text>exslt:node-set() function. Use a processor that </xsl:text>
+      <xsl:text>has it, or use a different index method.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="$kosek.imported = 0">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kosek' index method requires the
+</xsl:text>
+      <xsl:text>kosek index extensions be imported:
+</xsl:text>
+      <xsl:text>  xsl:import href="html/autoidx-kosek.xsl"</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+</xsl:template>
+
+<!-- This template not used if html/autoidx-kimber.xsl is imported -->
+<xsl:template name="generate-kimber-index">
+  <xsl:param name="scope" select="NOTANODE"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+  <xsl:if test="not(contains($vendor, 'SAXON '))">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kimber' index method requires the </xsl:text>
+      <xsl:text>Saxon version 6 or 8 XSLT processor.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="$kimber.imported = 0">
+    <xsl:message terminate="yes">
+      <xsl:text>ERROR: the 'kimber' index method requires the
+</xsl:text>
+      <xsl:text>kimber index extensions be imported:
+</xsl:text>
+      <xsl:text>  xsl:import href="html/autoidx-kimber.xsl"</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-div-basic">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key" select="translate(substring(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), 1, 1),                          'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;!
 &#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#77!
 47;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414
;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;!
 &#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;','AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEE!
 EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHH
HHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+
+  <xsl:if test="key('letter', $key)[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))]                 [count(.|key('primary', normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]">
+    <div class="indexdiv">
+      <xsl:if test="contains(concat('Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#786!
 9;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&#7751;&#775!
 2;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#2
45;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366!
 ;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKK!
 KKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ'), $key)">
+        <h3>
+          <xsl:value-of select="translate($key, 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;!
 &#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;!
 &#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#2
44;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364!
 ;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJ!
 JJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNN
NNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+        </h3>
+      </xsl:if>
+      <dl>
+        <xsl:apply-templates select="key('letter', $key)[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))]                                      [count(.|key('primary', normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])))                                      [count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1])=1]" mode="index-primary">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#770!
 2;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#!
 328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#774
9;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;!
 Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFF!
 GGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+        </xsl:apply-templates>
+      </dl>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-symbol-div">
+  <xsl:param name="scope" select="/"/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key" select="translate(substring(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), 1, 1),                                              'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#28!
 1;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#774!
 4;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#3
28;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;!
 &#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;','AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDD!
 DDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGG
GGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+
+  <xsl:apply-templates select="key('letter', $key)                                [count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][count(.|key('primary', normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])))[1]) = 1]" mode="index-primary">
+    <xsl:with-param name="position" select="position()"/>
+    <xsl:with-param name="scope" select="$scope"/>
+    <xsl:with-param name="role" select="$role"/>
+    <xsl:with-param name="type" select="$type"/>
+    <xsl:sort select="translate(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#77!
 03;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#!
 413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#77
50;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#21!
 7;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGG!
 GGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJ
JJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-primary">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key" select="normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;]))"/>
+  <xsl:variable name="refs" select="key('primary', $key)[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))]"/>
+  <dt>
+    <xsl:value-of select="primary"/>
+    <xsl:for-each select="$refs[generate-id() = generate-id(key('primary-section', concat($key, &#34; &#34;, generate-id((ancestor-or-self::set                      |ancestor-or-self::book                      |ancestor-or-self::part                      |ancestor-or-self::reference                      |ancestor-or-self::partintro                      |ancestor-or-self::chapter                      |ancestor-or-self::appendix                      |ancestor-or-self::preface                      |ancestor-or-self::article                      |ancestor-or-self::section                      |ancestor-or-self::sect1                      |ancestor-or-self::sect2                      |ancestor-or-self::sect3                      |ancestor-or-self::sect4                      |ancestor-or-self::sect5                      |ancestor-or-self::refentry                      |ancestor-or-self::refsect1                      |ancestor-or-self::refsect2                      |ancestor-or-se!
 lf::refsect3                      |ancestor-or-self::simplesect                      |ancestor-or-self::bibliography                      |ancestor-or-self::glossary                      |ancestor-or-self::index                      |ancestor-or-self::webpage)[last()])))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1])]">
+      <xsl:apply-templates select="." mode="reference">
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:apply-templates>
+    </xsl:for-each>
+
+    <xsl:if test="$refs[not(secondary)]/*[self::see]">
+      <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, &#34; &#34;, &#34; &#34;, see))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1])]" mode="index-see">
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+        <xsl:sort select="translate(see, 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;!
 &#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&#7751;!
 &#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#21
3;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;!
 &#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKK!
 KKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNN
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+      </xsl:apply-templates>
+    </xsl:if>
+  </dt>
+  <xsl:if test="$refs/secondary or $refs[not(secondary)]/*[self::seealso]">
+    <dd>
+      <dl>
+        <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, &#34; &#34;, &#34; &#34;, seealso))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1])]" mode="index-seealso">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(seealso, 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&!
 #7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&!
 #7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#24
4;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;!
 &#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJ!
 JKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNN
NNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+        </xsl:apply-templates>
+        <xsl:apply-templates select="$refs[secondary and count(.|key('secondary', concat($key, &#34; &#34;, normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;]))))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]" mode="index-secondary">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;])), 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&!
 #7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#32!
 7;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&
#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7!
 831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFF!
 FFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+        </xsl:apply-templates>
+      </dl>
+    </dd>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-secondary">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key" select="concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;])))"/>
+  <xsl:variable name="refs" select="key('secondary', $key)[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))]"/>
+  <dt>
+    <xsl:value-of select="secondary"/>
+    <xsl:for-each select="$refs[generate-id() = generate-id(key('secondary-section', concat($key, &#34; &#34;, generate-id((ancestor-or-self::set                      |ancestor-or-self::book                      |ancestor-or-self::part                      |ancestor-or-self::reference                      |ancestor-or-self::partintro                      |ancestor-or-self::chapter                      |ancestor-or-self::appendix                      |ancestor-or-self::preface                      |ancestor-or-self::article                      |ancestor-or-self::section                      |ancestor-or-self::sect1                      |ancestor-or-self::sect2                      |ancestor-or-self::sect3                      |ancestor-or-self::sect4                      |ancestor-or-self::sect5                      |ancestor-or-self::refentry                      |ancestor-or-self::refsect1                      |ancestor-or-self::refsect2                      |ancestor-or-!
 self::refsect3                      |ancestor-or-self::simplesect                      |ancestor-or-self::bibliography                      |ancestor-or-self::glossary                      |ancestor-or-self::index                      |ancestor-or-self::webpage)[last()])))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1])]">
+      <xsl:apply-templates select="." mode="reference">
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:apply-templates>
+    </xsl:for-each>
+
+    <xsl:if test="$refs[not(tertiary)]/*[self::see]">
+      <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, &#34; &#34;, see))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1])]" mode="index-see">
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+        <xsl:sort select="translate(see, 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;!
 &#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&#7751;!
 &#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#21
3;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;!
 &#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKK!
 KKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNN
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+      </xsl:apply-templates>
+    </xsl:if>
+  </dt>
+  <xsl:if test="$refs/tertiary or $refs[not(tertiary)]/*[self::seealso]">
+    <dd>
+      <dl>
+        <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, &#34; &#34;, seealso))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1])]" mode="index-seealso">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(seealso, 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&!
 #7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&!
 #7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#24
4;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;!
 &#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJ!
 JKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNN
NNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+        </xsl:apply-templates>
+        <xsl:apply-templates select="$refs[tertiary and count(.|key('tertiary', concat($key, &#34; &#34;, normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = &#34;&#34;]))))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]" mode="index-tertiary">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = &#34;&#34;])), 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7!
 702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;!
 &#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7
749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#783!
 1;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFF!
 FFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIII
IIIIIIIJJJJJJKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+        </xsl:apply-templates>
+      </dl>
+    </dd>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-tertiary">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:variable name="key" select="concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = &#34;&#34;])))"/>
+  <xsl:variable name="refs" select="key('tertiary', $key)[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))]"/>
+  <dt>
+    <xsl:value-of select="tertiary"/>
+    <xsl:for-each select="$refs[generate-id() = generate-id(key('tertiary-section', concat($key, &#34; &#34;, generate-id((ancestor-or-self::set                      |ancestor-or-self::book                      |ancestor-or-self::part                      |ancestor-or-self::reference                      |ancestor-or-self::partintro                      |ancestor-or-self::chapter                      |ancestor-or-self::appendix                      |ancestor-or-self::preface                      |ancestor-or-self::article                      |ancestor-or-self::section                      |ancestor-or-self::sect1                      |ancestor-or-self::sect2                      |ancestor-or-self::sect3                      |ancestor-or-self::sect4                      |ancestor-or-self::sect5                      |ancestor-or-self::refentry                      |ancestor-or-self::refsect1                      |ancestor-or-self::refsect2                      |ancestor-or-s!
 elf::refsect3                      |ancestor-or-self::simplesect                      |ancestor-or-self::bibliography                      |ancestor-or-self::glossary                      |ancestor-or-self::index                      |ancestor-or-self::webpage)[last()])))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1])]">
+      <xsl:apply-templates select="." mode="reference">
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:apply-templates>
+    </xsl:for-each>
+
+    <xsl:if test="$refs/see">
+      <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see', concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, see))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1])]" mode="index-see">
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+        <xsl:sort select="translate(see, 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;!
 &#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&#7751;!
 &#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#21
3;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;!
 &#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKK!
 KKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNN
NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+      </xsl:apply-templates>
+    </xsl:if>
+  </dt>
+  <xsl:if test="$refs/seealso">
+    <dd>
+      <dl>
+        <xsl:apply-templates select="$refs[generate-id() = generate-id(key('see-also', concat(normalize-space(concat(primary/@sortas, primary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(secondary/@sortas, secondary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, normalize-space(concat(tertiary/@sortas, tertiary[not(@sortas) or @sortas = &#34;&#34;])), &#34; &#34;, seealso))[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1])]" mode="index-seealso">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:sort select="translate(seealso, 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&!
 #7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&!
 #7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#24
4;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;!
 &#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJ!
 JKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNN
NNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+        </xsl:apply-templates>
+      </dl>
+    </dd>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="reference">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <xsl:param name="position"/>
+  
+  <xsl:variable name="term.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.term.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="number.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.number.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="range.separator">
+    <xsl:call-template name="index.separator">
+      <xsl:with-param name="key" select="'index.range.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$position = 1">
+      <xsl:value-of select="$term.separator"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$number.separator"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="@zone and string(@zone)">
+      <xsl:call-template name="reference">
+        <xsl:with-param name="zones" select="normalize-space(@zone)"/>
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <a>
+        <xsl:variable name="title">
+          <xsl:choose>
+            <xsl:when test="(ancestor-or-self::set                      |ancestor-or-self::book                      |ancestor-or-self::part                      |ancestor-or-self::reference                      |ancestor-or-self::partintro                      |ancestor-or-self::chapter                      |ancestor-or-self::appendix                      |ancestor-or-self::preface                      |ancestor-or-self::article                      |ancestor-or-self::section                      |ancestor-or-self::sect1                      |ancestor-or-self::sect2                      |ancestor-or-self::sect3                      |ancestor-or-self::sect4                      |ancestor-or-self::sect5                      |ancestor-or-self::refentry                      |ancestor-or-self::refsect1                      |ancestor-or-self::refsect2                      |ancestor-or-self::refsect3                      |ancestor-or-self::simplesect                      |ancesto!
 r-or-self::bibliography                      |ancestor-or-self::glossary                      |ancestor-or-self::index                      |ancestor-or-self::webpage)[last()]/titleabbrev and $index.prefer.titleabbrev != 0">
+              <xsl:apply-templates select="(ancestor-or-self::set                      |ancestor-or-self::book                      |ancestor-or-self::part                      |ancestor-or-self::reference                      |ancestor-or-self::partintro                      |ancestor-or-self::chapter                      |ancestor-or-self::appendix                      |ancestor-or-self::preface                      |ancestor-or-self::article                      |ancestor-or-self::section                      |ancestor-or-self::sect1                      |ancestor-or-self::sect2                      |ancestor-or-self::sect3                      |ancestor-or-self::sect4                      |ancestor-or-self::sect5                      |ancestor-or-self::refentry                      |ancestor-or-self::refsect1                      |ancestor-or-self::refsect2                      |ancestor-or-self::refsect3                      |ancestor-or-self::simplesect               !
        |ancestor-or-self::bibliography                      |ancestor-or-self::glossary                      |ancestor-or-self::index                      |ancestor-or-self::webpage)[last()]" mode="titleabbrev.markup"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="(ancestor-or-self::set                      |ancestor-or-self::book                      |ancestor-or-self::part                      |ancestor-or-self::reference                      |ancestor-or-self::partintro                      |ancestor-or-self::chapter                      |ancestor-or-self::appendix                      |ancestor-or-self::preface                      |ancestor-or-self::article                      |ancestor-or-self::section                      |ancestor-or-self::sect1                      |ancestor-or-self::sect2                      |ancestor-or-self::sect3                      |ancestor-or-self::sect4                      |ancestor-or-self::sect5                      |ancestor-or-self::refentry                      |ancestor-or-self::refsect1                      |ancestor-or-self::refsect2                      |ancestor-or-self::refsect3                      |ancestor-or-self::simplesect               !
        |ancestor-or-self::bibliography                      |ancestor-or-self::glossary                      |ancestor-or-self::index                      |ancestor-or-self::webpage)[last()]" mode="title.markup"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="(ancestor-or-self::set                      |ancestor-or-self::book                      |ancestor-or-self::part                      |ancestor-or-self::reference                      |ancestor-or-self::partintro                      |ancestor-or-self::chapter                      |ancestor-or-self::appendix                      |ancestor-or-self::preface                      |ancestor-or-self::article                      |ancestor-or-self::section                      |ancestor-or-self::sect1                      |ancestor-or-self::sect2                      |ancestor-or-self::sect3                      |ancestor-or-self::sect4                      |ancestor-or-self::sect5                      |ancestor-or-self::refentry                      |ancestor-or-self::refsect1                      |ancestor-or-self::refsect2                      |ancestor-or-self::refsect3                      |ancestor-or-self::simplesect        !
               |ancestor-or-self::bibliography                      |ancestor-or-self::glossary                      |ancestor-or-self::index                      |ancestor-or-self::webpage)[last()]"/>
+            <xsl:with-param name="context" select="//index[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1]"/>
+          </xsl:call-template>
+        </xsl:attribute>
+
+        <xsl:value-of select="$title"/> <!-- text only -->
+      </a>
+
+      <xsl:variable name="id" select="(@id|@xml:id)[1]"/>
+      <xsl:if test="key('endofrange', $id)[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))]">
+        <xsl:apply-templates select="key('endofrange', $id)[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][last()]" mode="reference">
+          <xsl:with-param name="position" select="position()"/>
+          <xsl:with-param name="scope" select="$scope"/>
+          <xsl:with-param name="role" select="$role"/>
+          <xsl:with-param name="type" select="$type"/>
+          <xsl:with-param name="separator" select="$range.separator"/>
+        </xsl:apply-templates>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="reference">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+  <xsl:param name="zones"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($zones, ' ')">
+      <xsl:variable name="zone" select="substring-before($zones, ' ')"/>
+      <xsl:variable name="target" select="key('sections', $zone)[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))]"/>
+
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target[1]"/>
+            <xsl:with-param name="context" select="//index[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1]"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:apply-templates select="$target[1]" mode="index-title-content"/>
+      </a>
+      <xsl:text>, </xsl:text>
+      <xsl:call-template name="reference">
+        <xsl:with-param name="zones" select="substring-after($zones, ' ')"/>
+        <xsl:with-param name="position" select="position()"/>
+        <xsl:with-param name="scope" select="$scope"/>
+        <xsl:with-param name="role" select="$role"/>
+        <xsl:with-param name="type" select="$type"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="zone" select="$zones"/>
+      <xsl:variable name="target" select="key('sections', $zone)[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))]"/>
+
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target[1]"/>
+            <xsl:with-param name="context" select="//index[count(ancestor::node()|$scope) = count(ancestor::node())                 and ($role = @role or $type = @type or                 (string-length($role) = 0 and string-length($type) = 0))][1]"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:apply-templates select="$target[1]" mode="index-title-content"/>
+      </a>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-see">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:text> (</xsl:text>
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'see'"/>
+  </xsl:call-template>
+  <xsl:text> </xsl:text>
+  <xsl:value-of select="see"/>
+  <xsl:text>)</xsl:text>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="index-seealso">
+  <xsl:param name="scope" select="."/>
+  <xsl:param name="role" select="''"/>
+  <xsl:param name="type" select="''"/>
+
+  <xsl:for-each select="seealso">
+    <xsl:sort select="translate(., 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&#7865;&#7866;&#7867;&#7868;&#7869!
 ;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&#7748;&#7749;&#7750;&#7751;&#7752!
 ;&#7753;&#7754;&#7755;Oo&#210;&#242;&#211;&#243;&#212;&#244;&#213;&#24
5;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#361;&#362;&#363;&#364;&#365;&#366;!
 &#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;', 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKKKKKK!
 KKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOO
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+    <dt>
+    <xsl:text>(</xsl:text>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'seealso'"/>
+    </xsl:call-template>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="."/>
+    <xsl:text>)</xsl:text>
+    </dt>
+  </xsl:for-each>
+</xsl:template>
+
+<xsl:template match="*" mode="index-title-content">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="(ancestor-or-self::set                      |ancestor-or-self::book                      |ancestor-or-self::part                      |ancestor-or-self::reference                      |ancestor-or-self::partintro                      |ancestor-or-self::chapter                      |ancestor-or-self::appendix                      |ancestor-or-self::preface                      |ancestor-or-self::article                      |ancestor-or-self::section                      |ancestor-or-self::sect1                      |ancestor-or-self::sect2                      |ancestor-or-self::sect3                      |ancestor-or-self::sect4                      |ancestor-or-self::sect5                      |ancestor-or-self::refentry                      |ancestor-or-self::refsect1                      |ancestor-or-self::refsect2                      |ancestor-or-self::refsect3                      |ancestor-or-self::simplesect                      |an!
 cestor-or-self::bibliography                      |ancestor-or-self::glossary                      |ancestor-or-self::index                      |ancestor-or-self::webpage)[last()]" mode="title.markup"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template name="index.separator">
+  <xsl:param name="key" select="''"/>
+  <xsl:param name="lang">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$key = 'index.term.separator'">
+      <xsl:choose>
+        <!-- Use the override if not blank -->
+        <xsl:when test="$index.term.separator != ''">
+          <xsl:copy-of select="$index.term.separator"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="lang" select="$lang"/>
+            <xsl:with-param name="context">index</xsl:with-param>
+            <xsl:with-param name="name">term-separator</xsl:with-param>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$key = 'index.number.separator'">
+      <xsl:choose>
+        <!-- Use the override if not blank -->
+        <xsl:when test="$index.number.separator != ''">
+          <xsl:copy-of select="$index.number.separator"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="lang" select="$lang"/>
+            <xsl:with-param name="context">index</xsl:with-param>
+            <xsl:with-param name="name">number-separator</xsl:with-param>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="$key = 'index.range.separator'">
+      <xsl:choose>
+        <!-- Use the override if not blank -->
+        <xsl:when test="$index.range.separator != ''">
+          <xsl:copy-of select="$index.range.separator"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="lang" select="$lang"/>
+            <xsl:with-param name="context">index</xsl:with-param>
+            <xsl:with-param name="name">range-separator</xsl:with-param>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/autotoc.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/autotoc.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/autotoc.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,625 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: autotoc.xsl 6462 2007-01-04 09:55:38Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:variable name="toc.listitem.type">
+  <xsl:choose>
+    <xsl:when test="$toc.list.type = 'dl'">dt</xsl:when>
+    <xsl:otherwise>li</xsl:otherwise>
+  </xsl:choose>
+</xsl:variable>
+
+<!-- this is just hack because dl and ul aren't completely isomorphic -->
+<xsl:variable name="toc.dd.type">
+  <xsl:choose>
+    <xsl:when test="$toc.list.type = 'dl'">dd</xsl:when>
+    <xsl:otherwise/>
+  </xsl:choose>
+</xsl:variable>
+
+<xsl:template name="make.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+  <xsl:param name="nodes" select="/NOT-AN-ELEMENT"/>
+
+  <xsl:variable name="nodes.plus" select="$nodes | qandaset"/>
+
+  <xsl:variable name="toc.title">
+    <xsl:if test="$toc.title.p">
+      <p>
+        <b>
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key">TableofContents</xsl:with-param>
+          </xsl:call-template>
+        </b>
+      </p>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$manual.toc != ''">
+      <xsl:variable name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:variable>
+      <xsl:variable name="toc" select="document($manual.toc, .)"/>
+      <xsl:variable name="tocentry" select="$toc//tocentry[@linkend=$id]"/>
+      <xsl:if test="$tocentry and $tocentry/*">
+        <div class="toc">
+          <xsl:copy-of select="$toc.title"/>
+          <xsl:element name="{$toc.list.type}" namespace="http://www.w3.org/1999/xhtml">
+            <xsl:call-template name="manual-toc">
+              <xsl:with-param name="tocentry" select="$tocentry/*[1]"/>
+            </xsl:call-template>
+          </xsl:element>
+        </div>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$qanda.in.toc != 0">
+          <xsl:if test="$nodes.plus">
+            <div class="toc">
+              <xsl:copy-of select="$toc.title"/>
+              <xsl:element name="{$toc.list.type}" namespace="http://www.w3.org/1999/xhtml">
+                <xsl:apply-templates select="$nodes.plus" mode="toc">
+                  <xsl:with-param name="toc-context" select="$toc-context"/>
+                </xsl:apply-templates>
+              </xsl:element>
+            </div>
+          </xsl:if>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$nodes">
+            <div class="toc">
+              <xsl:copy-of select="$toc.title"/>
+              <xsl:element name="{$toc.list.type}" namespace="http://www.w3.org/1999/xhtml">
+                <xsl:apply-templates select="$nodes" mode="toc">
+                  <xsl:with-param name="toc-context" select="$toc-context"/>
+                </xsl:apply-templates>
+              </xsl:element>
+            </div>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="make.lots">
+  <xsl:param name="toc.params" select="''"/>
+  <xsl:param name="toc"/>
+
+  <xsl:if test="contains($toc.params, 'toc')">
+    <xsl:copy-of select="$toc"/>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params, 'figure')">
+    <xsl:call-template name="list.of.titles">
+      <xsl:with-param name="titles" select="'figure'"/>
+      <xsl:with-param name="nodes" select=".//figure"/>
+    </xsl:call-template>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params, 'table')">
+    <xsl:call-template name="list.of.titles">
+      <xsl:with-param name="titles" select="'table'"/>
+      <xsl:with-param name="nodes" select=".//table"/>
+    </xsl:call-template>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params, 'example')">
+    <xsl:call-template name="list.of.titles">
+      <xsl:with-param name="titles" select="'example'"/>
+      <xsl:with-param name="nodes" select=".//example"/>
+    </xsl:call-template>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params, 'equation')">
+    <xsl:call-template name="list.of.titles">
+      <xsl:with-param name="titles" select="'equation'"/>
+      <xsl:with-param name="nodes" select=".//equation[title or info/title]"/>
+    </xsl:call-template>
+  </xsl:if>
+
+  <xsl:if test="contains($toc.params, 'procedure')">
+    <xsl:call-template name="list.of.titles">
+      <xsl:with-param name="titles" select="'procedure'"/>
+      <xsl:with-param name="nodes" select=".//procedure[title]"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="set.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+
+  <xsl:call-template name="make.toc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="toc.title.p" select="$toc.title.p"/>
+    <xsl:with-param name="nodes" select="book|setindex"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="division.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+
+  <xsl:call-template name="make.toc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="toc.title.p" select="$toc.title.p"/>
+    <xsl:with-param name="nodes" select="part|reference                                          |preface|chapter|appendix                                          |article                                          |bibliography|glossary|index                                          |refentry                                          |bridgehead[$bridgehead.in.toc != 0]"/>
+
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="component.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+
+  <xsl:call-template name="make.toc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="toc.title.p" select="$toc.title.p"/>
+    <xsl:with-param name="nodes" select="section|sect1                                          |simplesect[$simplesect.in.toc != 0]                                          |refentry                                          |article|bibliography|glossary                                          |appendix|index                                          |bridgehead[not(@renderas)                                                      and $bridgehead.in.toc != 0]                                          |.//bridgehead[@renderas='sect1'                                                         and $bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="component.toc.separator">
+  <!-- Customize to output something between
+       component.toc and first output -->
+</xsl:template>
+
+<xsl:template name="section.toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="toc.title.p" select="true()"/>
+
+  <xsl:call-template name="make.toc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="toc.title.p" select="$toc.title.p"/>
+    <xsl:with-param name="nodes" select="section|sect1|sect2|sect3|sect4|sect5|refentry                            |bridgehead[$bridgehead.in.toc != 0]"/>
+
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="section.toc.separator">
+  <!-- Customize to output something between
+       section.toc and first output -->
+</xsl:template>
+<!-- ==================================================================== -->
+
+<xsl:template name="subtoc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="nodes" select="NOT-AN-ELEMENT"/>
+
+  <xsl:variable name="nodes.plus" select="$nodes | qandaset"/>
+
+  <xsl:variable name="subtoc">
+    <xsl:element name="{$toc.list.type}" namespace="http://www.w3.org/1999/xhtml">
+      <xsl:choose>
+        <xsl:when test="$qanda.in.toc != 0">
+          <xsl:apply-templates mode="toc" select="$nodes.plus">
+            <xsl:with-param name="toc-context" select="$toc-context"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates mode="toc" select="$nodes">
+            <xsl:with-param name="toc-context" select="$toc-context"/>
+          </xsl:apply-templates>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:element>
+  </xsl:variable>
+
+  <xsl:variable name="depth">
+    <xsl:choose>
+      <xsl:when test="local-name(.) = 'section'">
+        <xsl:value-of select="count(ancestor::section) + 1"/>
+      </xsl:when>
+      <xsl:when test="local-name(.) = 'sect1'">1</xsl:when>
+      <xsl:when test="local-name(.) = 'sect2'">2</xsl:when>
+      <xsl:when test="local-name(.) = 'sect3'">3</xsl:when>
+      <xsl:when test="local-name(.) = 'sect4'">4</xsl:when>
+      <xsl:when test="local-name(.) = 'sect5'">5</xsl:when>
+      <xsl:when test="local-name(.) = 'refsect1'">1</xsl:when>
+      <xsl:when test="local-name(.) = 'refsect2'">2</xsl:when>
+      <xsl:when test="local-name(.) = 'refsect3'">3</xsl:when>
+      <xsl:when test="local-name(.) = 'simplesect'">
+        <!-- sigh... -->
+        <xsl:choose>
+          <xsl:when test="local-name(..) = 'section'">
+            <xsl:value-of select="count(ancestor::section)"/>
+          </xsl:when>
+          <xsl:when test="local-name(..) = 'sect1'">2</xsl:when>
+          <xsl:when test="local-name(..) = 'sect2'">3</xsl:when>
+          <xsl:when test="local-name(..) = 'sect3'">4</xsl:when>
+          <xsl:when test="local-name(..) = 'sect4'">5</xsl:when>
+          <xsl:when test="local-name(..) = 'sect5'">6</xsl:when>
+          <xsl:when test="local-name(..) = 'refsect1'">2</xsl:when>
+          <xsl:when test="local-name(..) = 'refsect2'">3</xsl:when>
+          <xsl:when test="local-name(..) = 'refsect3'">4</xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="depth.from.context" select="count(ancestor::*)-count($toc-context/ancestor::*)"/>
+
+  <xsl:variable name="subtoc.list">
+    <xsl:choose>
+      <xsl:when test="$toc.dd.type = ''">
+        <xsl:copy-of select="$subtoc"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:element name="{$toc.dd.type}" namespace="http://www.w3.org/1999/xhtml">
+          <xsl:copy-of select="$subtoc"/>
+        </xsl:element>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:element name="{$toc.listitem.type}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:call-template name="toc.line">
+      <xsl:with-param name="toc-context" select="$toc-context"/>
+    </xsl:call-template>
+    <xsl:if test="$toc.listitem.type = 'li'                   and $toc.section.depth &gt; $depth and                    ( ($qanda.in.toc = 0 and count($nodes)&gt;0) or                     ($qanda.in.toc != 0 and count($nodes.plus)&gt;0) )                   and $toc.max.depth &gt; $depth.from.context">
+      <xsl:copy-of select="$subtoc.list"/>
+    </xsl:if>
+  </xsl:element>
+  <xsl:if test="$toc.listitem.type != 'li'                 and $toc.section.depth &gt; $depth and                  ( ($qanda.in.toc = 0 and count($nodes)&gt;0) or                   ($qanda.in.toc != 0 and count($nodes.plus)&gt;0) )                 and $toc.max.depth &gt; $depth.from.context">
+    <xsl:copy-of select="$subtoc.list"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="toc.line">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="depth" select="1"/>
+  <xsl:param name="depth.from.context" select="8"/>
+
+ <span>
+  <xsl:attribute name="class"><xsl:value-of select="local-name(.)"/></xsl:attribute>
+
+  <!-- * if $autotoc.label.in.hyperlink is zero, then output the label -->
+  <!-- * before the hyperlinked title (as the DSSSL stylesheet does) -->
+  <xsl:if test="$autotoc.label.in.hyperlink = 0">
+    <xsl:variable name="label">
+      <xsl:apply-templates select="." mode="label.markup"/>
+    </xsl:variable>
+    <xsl:copy-of select="$label"/>
+    <xsl:if test="$label != ''">
+      <xsl:value-of select="$autotoc.label.separator"/>
+    </xsl:if>
+  </xsl:if>
+
+  <a>
+    <xsl:attribute name="href">
+      <xsl:call-template name="href.target">
+        <xsl:with-param name="context" select="$toc-context"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    
+  <!-- * if $autotoc.label.in.hyperlink is non-zero, then output the label -->
+  <!-- * as part of the hyperlinked title -->
+  <xsl:if test="not($autotoc.label.in.hyperlink = 0)">
+    <xsl:variable name="label">
+      <xsl:apply-templates select="." mode="label.markup"/>
+    </xsl:variable>
+    <xsl:copy-of select="$label"/>
+    <xsl:if test="$label != ''">
+      <xsl:value-of select="$autotoc.label.separator"/>
+    </xsl:if>
+  </xsl:if>
+
+    <xsl:apply-templates select="." mode="titleabbrev.markup"/>
+  </a>
+  </span>
+</xsl:template>
+
+<xsl:template match="book" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="part|reference                                          |preface|chapter|appendix                                          |article                                          |bibliography|glossary|index                                          |refentry                                          |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="setindex" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <!-- If the setindex tag is not empty, it should be it in the TOC -->
+  <xsl:if test="* or $generate.index != 0">
+    <xsl:call-template name="subtoc">
+      <xsl:with-param name="toc-context" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="part|reference" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="appendix|chapter|article                                          |index|glossary|bibliography                                          |preface|reference|refentry                                          |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="preface|chapter|appendix|article" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="section|sect1                                          |simplesect[$simplesect.in.toc != 0]                                          |refentry                                          |glossary|bibliography|index                                          |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="sect1" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="sect2                                          |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="sect2" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="sect3                                          |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="sect3" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="sect4                                          |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="sect4" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="sect5                                          |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="sect5" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="simplesect" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="section" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="section                                          |bridgehead[$bridgehead.in.toc != 0]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="bridgehead" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:if test="$bridgehead.in.toc != 0">
+    <xsl:call-template name="subtoc">
+      <xsl:with-param name="toc-context" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="bibliography|glossary" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="index" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <!-- If the index tag is not empty, it should be it in the TOC -->
+  <xsl:if test="* or $generate.index != 0">
+    <xsl:call-template name="subtoc">
+      <xsl:with-param name="toc-context" select="$toc-context"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refentry" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:variable name="refmeta" select=".//refmeta"/>
+  <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/>
+  <xsl:variable name="refnamediv" select=".//refnamediv"/>
+  <xsl:variable name="refname" select="$refnamediv//refname"/>
+  <xsl:variable name="refdesc" select="$refnamediv//refdescriptor"/>
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="$refentrytitle">
+        <xsl:apply-templates select="$refentrytitle[1]" mode="titleabbrev.markup"/>
+      </xsl:when>
+      <xsl:when test="$refdesc">
+        <xsl:apply-templates select="$refdesc" mode="titleabbrev.markup"/>
+      </xsl:when>
+      <xsl:when test="$refname">
+        <xsl:apply-templates select="$refname[1]" mode="titleabbrev.markup"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:element name="{$toc.listitem.type}" namespace="http://www.w3.org/1999/xhtml">
+    <span class="refentrytitle">
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target"/>
+        </xsl:attribute>
+        <xsl:copy-of select="$title"/>
+      </a>
+    </span>
+    <span class="refpurpose">
+      <xsl:if test="$annotate.toc != 0">
+        <!-- * DocBook 5 says inlinemediaobject (among other things) -->
+        <!-- * is allowed in refpurpose; so we need to run -->
+        <!-- * apply-templates on refpurpose here, instead of value-of  -->
+        <xsl:apply-templates select="refnamediv/refpurpose"/>
+      </xsl:if>
+    </span>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="title" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <a>
+    <xsl:attribute name="href">
+      <xsl:call-template name="href.target">
+        <xsl:with-param name="object" select=".."/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:apply-templates/>
+  </a>
+</xsl:template>
+
+<xsl:template name="manual-toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="tocentry"/>
+
+  <!-- be careful, we don't want to change the current document to the other tree! -->
+
+  <xsl:if test="$tocentry">
+    <xsl:variable name="node" select="key('id', $tocentry/@linkend)"/>
+
+    <xsl:element name="{$toc.listitem.type}" namespace="http://www.w3.org/1999/xhtml">
+      <xsl:variable name="label">
+        <xsl:apply-templates select="$node" mode="label.markup"/>
+      </xsl:variable>
+      <xsl:copy-of select="$label"/>
+      <xsl:if test="$label != ''">
+        <xsl:value-of select="$autotoc.label.separator"/>
+      </xsl:if>
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$node"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:apply-templates select="$node" mode="titleabbrev.markup"/>
+      </a>
+    </xsl:element>
+
+    <xsl:if test="$tocentry/*">
+      <xsl:element name="{$toc.list.type}" namespace="http://www.w3.org/1999/xhtml">
+        <xsl:call-template name="manual-toc">
+          <xsl:with-param name="tocentry" select="$tocentry/*[1]"/>
+        </xsl:call-template>
+      </xsl:element>
+    </xsl:if>
+
+    <xsl:if test="$tocentry/following-sibling::*">
+      <xsl:call-template name="manual-toc">
+        <xsl:with-param name="tocentry" select="$tocentry/following-sibling::*[1]"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="list.of.titles">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:param name="titles" select="'table'"/>
+  <xsl:param name="nodes" select=".//table"/>
+
+  <xsl:if test="$nodes">
+    <div class="list-of-{$titles}s">
+      <p>
+        <b>
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key">
+              <xsl:choose>
+                <xsl:when test="$titles='table'">ListofTables</xsl:when>
+                <xsl:when test="$titles='figure'">ListofFigures</xsl:when>
+                <xsl:when test="$titles='equation'">ListofEquations</xsl:when>
+                <xsl:when test="$titles='example'">ListofExamples</xsl:when>
+                <xsl:when test="$titles='procedure'">ListofProcedures</xsl:when>
+                <xsl:otherwise>ListofUnknown</xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+          </xsl:call-template>
+        </b>
+      </p>
+
+      <xsl:element name="{$toc.list.type}" namespace="http://www.w3.org/1999/xhtml">
+        <xsl:apply-templates select="$nodes" mode="toc">
+          <xsl:with-param name="toc-context" select="$toc-context"/>
+        </xsl:apply-templates>
+      </xsl:element>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="figure|table|example|equation|procedure" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:element name="{$toc.listitem.type}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:variable name="label">
+      <xsl:apply-templates select="." mode="label.markup"/>
+    </xsl:variable>
+    <xsl:copy-of select="$label"/>
+    <xsl:if test="$label != ''">
+      <xsl:value-of select="$autotoc.label.separator"/>
+    </xsl:if>
+    <a>
+      <xsl:attribute name="href">
+        <xsl:call-template name="href.target"/>
+      </xsl:attribute>
+      <xsl:apply-templates select="." mode="titleabbrev.markup"/>
+    </a>
+  </xsl:element>
+</xsl:template>
+
+<!-- Used only if qanda.in.toc parameter is non-zero -->
+<xsl:template match="qandaset" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+    <xsl:with-param name="nodes" select="qandadiv | qandaentry"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="qandadiv|qandaentry" mode="toc">
+  <xsl:apply-templates select="." mode="qandatoc.mode"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/biblio.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/biblio.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/biblio.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1210 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: biblio.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="bibliography">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="bibliography.titlepage"/>
+
+    <xsl:apply-templates/>
+
+    <xsl:if test="not(parent::article)">
+      <xsl:call-template name="process.footnotes"/>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="bibliography/bibliographyinfo"/>
+<xsl:template match="bibliography/info"/>
+<xsl:template match="bibliography/title"/>
+<xsl:template match="bibliography/subtitle"/>
+<xsl:template match="bibliography/titleabbrev"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="bibliodiv">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="bibliodiv/title">
+  <h3>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select=".."/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </h3>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="bibliolist">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="blockinfo/title|info/title|title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+    <xsl:apply-templates select="*[not(self::blockinfo)                                    and not(self::info)                                    and not(self::title)                                    and not(self::titleabbrev)                                    and not(self::biblioentry)                                    and not(self::bibliomixed)]"/>
+    <xsl:apply-templates select="biblioentry|bibliomixed"/>
+  </div>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="biblioentry">
+  <xsl:param name="label">
+    <xsl:call-template name="biblioentry.label"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="string(.) = ''">
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
+      <xsl:variable name="entry" select="$bib/bibliography/                                          *[@id=$id or @xml:id=$id][1]"/>
+      <xsl:choose>
+        <xsl:when test="$entry">
+          <xsl:choose>
+            <xsl:when test="$bibliography.numbered != 0">
+              <xsl:apply-templates select="$entry">
+                <xsl:with-param name="label" select="$label"/>
+              </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="$entry"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>No bibliography entry: </xsl:text>
+            <xsl:value-of select="$id"/>
+            <xsl:text> found in </xsl:text>
+            <xsl:value-of select="$bibliography.collection"/>
+          </xsl:message>
+          <div>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+            <xsl:call-template name="anchor"/>
+            <p>
+              <xsl:copy-of select="$label"/>
+              <xsl:text>Error: no bibliography entry: </xsl:text>
+              <xsl:value-of select="$id"/>
+              <xsl:text> found in </xsl:text>
+              <xsl:value-of select="$bibliography.collection"/>
+            </p>
+          </div>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="conditional" select="0"/>
+        </xsl:call-template>
+        <p>
+          <xsl:copy-of select="$label"/>
+          <xsl:apply-templates mode="bibliography.mode"/>
+        </p>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="bibliomixed">
+  <xsl:param name="label">
+    <xsl:call-template name="biblioentry.label"/>
+  </xsl:param>
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="string(.) = ''">
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
+      <xsl:variable name="entry" select="$bib/bibliography/                                          *[@id=$id or @xml:id=$id][1]"/>
+      <xsl:choose>
+        <xsl:when test="$entry">
+          <xsl:choose>
+            <xsl:when test="$bibliography.numbered != 0">
+              <xsl:apply-templates select="$entry">
+                <xsl:with-param name="label" select="$label"/>
+              </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="$entry"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>No bibliography entry: </xsl:text>
+            <xsl:value-of select="$id"/>
+            <xsl:text> found in </xsl:text>
+            <xsl:value-of select="$bibliography.collection"/>
+          </xsl:message>
+          <div>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+            <xsl:call-template name="anchor"/>
+            <p>
+              <xsl:copy-of select="$label"/>
+              <xsl:text>Error: no bibliography entry: </xsl:text>
+              <xsl:value-of select="$id"/>
+              <xsl:text> found in </xsl:text>
+              <xsl:value-of select="$bibliography.collection"/>
+            </p>
+          </div>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="conditional" select="0"/>
+        </xsl:call-template>
+        <p>
+          <xsl:apply-templates select="." mode="class.attribute"/>
+          <xsl:copy-of select="$label"/>
+          <xsl:apply-templates mode="bibliomixed.mode"/>
+        </p>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="biblioentry.label">
+  <xsl:param name="node" select="."/>
+
+  <xsl:choose>
+    <xsl:when test="$bibliography.numbered != 0">
+      <xsl:text>[</xsl:text>
+      <xsl:number from="bibliography" count="biblioentry|bibliomixed" level="any" format="1"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:when test="local-name($node/child::*[1]) = 'abbrev'">
+      <xsl:text>[</xsl:text>
+      <xsl:apply-templates select="$node/abbrev[1]"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:when test="$node/@xreflabel">
+      <xsl:text>[</xsl:text>
+      <xsl:value-of select="$node/@xreflabel"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:when test="$node/@id">
+      <xsl:text>[</xsl:text>
+      <xsl:value-of select="$node/@id"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:when test="$node/@xml:id">
+      <xsl:text>[</xsl:text>
+      <xsl:value-of select="$node/@xml:id"/>
+      <xsl:text>] </xsl:text>
+    </xsl:when>
+    <xsl:otherwise><!-- nop --></xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="bibliography.mode">
+  <xsl:apply-templates select="."/><!-- try the default mode -->
+</xsl:template>
+
+<xsl:template match="abbrev" mode="bibliography.mode">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:apply-templates mode="bibliography.mode"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="abstract" mode="bibliography.mode">
+  <!-- suppressed -->
+</xsl:template>
+
+<xsl:template match="address" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="affiliation" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="shortaffil" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="jobtitle" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="artheader|articleinfo|info" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="artpagenums" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="author" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="person.name"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="authorblurb|personblurb" mode="bibliography.mode">
+  <!-- suppressed -->
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="person.name.list"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="authorinitials" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliomisc" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliomset" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="biblioset" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="biblioset/title|biblioset/citetitle" mode="bibliography.mode">
+  <xsl:variable name="relation" select="../@relation"/>
+  <xsl:choose>
+    <xsl:when test="$relation='article' or @pubwork='article'">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:apply-templates/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <i><xsl:apply-templates/></i>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:copy-of select="$biblioentry.item.separator"/>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="bookbiblio" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="citetitle" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:choose>
+      <xsl:when test="@pubwork = 'article'">
+        <xsl:call-template name="gentext.startquote"/>
+        <xsl:call-template name="inline.charseq"/>
+        <xsl:call-template name="gentext.endquote"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inline.italicseq"/>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="collab" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="collabname" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confgroup" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confdates" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="conftitle" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confnum" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confsponsor" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contractnum" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contractsponsor" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contrib" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="copyright" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'Copyright'"/>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">copyright</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="year" mode="bibliography.mode"/>
+    <xsl:if test="holder">
+      <xsl:call-template name="gentext.space"/>
+      <xsl:apply-templates select="holder" mode="bibliography.mode"/>
+    </xsl:if>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="year" mode="bibliography.mode">
+  <xsl:apply-templates/><xsl:text>, </xsl:text>
+</xsl:template>
+
+<xsl:template match="year[position()=last()]" mode="bibliography.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="holder" mode="bibliography.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="corpauthor" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="corpcredit" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="corpname" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="date" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="edition" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="editor" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="person.name"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="firstname" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="honorific" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="invpartnumber" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="isbn" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="issn" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="issuenum" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="lineage" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="orgname" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="orgdiv" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="othername" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pagenums" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="printhistory" mode="bibliography.mode">
+  <!-- suppressed -->
+</xsl:template>
+
+<xsl:template match="productname" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="productnumber" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="publisher" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="publishername" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pubsnumber" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="bibliography.mode">
+  <!-- suppressed; how could this be represented? -->
+</xsl:template>
+
+<xsl:template match="seriesinfo" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="seriesvolnums" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="surname" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="title" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <i><xsl:apply-templates mode="bibliography.mode"/></i>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="titleabbrev" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="volumenum" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource" mode="bibliography.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliography.mode"/>
+    <xsl:copy-of select="$biblioentry.item.separator"/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="bibliomixed.mode">
+  <xsl:apply-templates select="."/><!-- try the default mode -->
+</xsl:template>
+
+<xsl:template match="abbrev" mode="bibliomixed.mode">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="abstract" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="address" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="affiliation" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="shortaffil" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="jobtitle" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="artpagenums" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="author" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="authorblurb|personblurb" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="authorinitials" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliomisc" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="bibliomset" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliomset/title|bibliomset/citetitle" mode="bibliomixed.mode">
+  <xsl:variable name="relation" select="../@relation"/>
+  <xsl:choose>
+    <xsl:when test="$relation='article' or @pubwork='article'">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:apply-templates/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <i><xsl:apply-templates/></i>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ================================================== -->
+
+<xsl:template match="biblioset" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="citetitle" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:choose>
+      <xsl:when test="@pubwork = 'article'">
+        <xsl:call-template name="gentext.startquote"/>
+        <xsl:call-template name="inline.charseq"/>
+        <xsl:call-template name="gentext.endquote"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inline.italicseq"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </span>
+</xsl:template>
+
+
+<xsl:template match="collab" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confgroup" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contractnum" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contractsponsor" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contrib" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="copyright" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="corpcredit" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="corpname" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="date" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="edition" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="editor" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="firstname" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="honorific" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="indexterm" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="invpartnumber" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="isbn" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="issn" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="issuenum" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="lineage" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="orgname" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="othername" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pagenums" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="printhistory" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="productname" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="productnumber" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="publisher" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="publishername" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pubsnumber" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="bibliomixed.mode">
+  <!-- suppressed; how could this be represented? -->
+</xsl:template>
+
+<xsl:template match="seriesvolnums" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="surname" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="title" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="titleabbrev" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="volumenum" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliocoverage|biblioid|bibliorelation|bibliosource" mode="bibliomixed.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="bibliomixed.mode"/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/block.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/block.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/block.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,432 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: block.xsl 6439 2006-11-18 20:10:32Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<!-- What should we do about styling blockinfo? -->
+
+<xsl:template match="blockinfo|info">
+  <!-- suppress -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="block.object">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="para">
+  <xsl:call-template name="paragraph">
+    <xsl:with-param name="class">
+      <xsl:if test="@role and $para.propagates.style != 0">
+        <xsl:value-of select="@role"/>
+      </xsl:if>
+    </xsl:with-param>
+    <xsl:with-param name="content">
+      <xsl:if test="position() = 1 and parent::listitem">
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="node" select="parent::listitem"/>
+        </xsl:call-template>
+      </xsl:if>
+
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="paragraph">
+  <xsl:param name="class" select="''"/>
+  <xsl:param name="content"/>
+
+  <xsl:variable name="p">
+    <p>
+      <xsl:call-template name="dir"/>
+      <xsl:if test="$class != ''">
+        <xsl:apply-templates select="." mode="class.attribute">
+          <xsl:with-param name="class" select="$class"/>
+        </xsl:apply-templates>
+      </xsl:if>
+      <xsl:copy-of select="$content"/>
+    </p>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$html.cleanup != 0">
+      <xsl:call-template name="unwrap.p">
+        <xsl:with-param name="p" select="$p"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$p"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="simpara">
+  <!-- see also listitem/simpara in lists.xsl -->
+  <p>
+    <xsl:if test="@role and $para.propagates.style != 0">
+      <xsl:apply-templates select="." mode="class.attribute">
+        <xsl:with-param name="class" select="@role"/>
+      </xsl:apply-templates>
+    </xsl:if>
+
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<xsl:template match="formalpara">
+  <xsl:call-template name="paragraph">
+    <xsl:with-param name="class">
+      <xsl:if test="@role and $para.propagates.style != 0">
+        <xsl:value-of select="@role"/>
+      </xsl:if>
+    </xsl:with-param>
+    <xsl:with-param name="content">
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- Only use title from info -->
+<xsl:template match="formalpara/info">
+  <xsl:apply-templates select="title"/>
+</xsl:template>
+
+<xsl:template match="formalpara/title|formalpara/info/title">
+  <xsl:variable name="titleStr">
+      <xsl:apply-templates/>
+  </xsl:variable>
+  <xsl:variable name="lastChar">
+    <xsl:if test="$titleStr != ''">
+      <xsl:value-of select="substring($titleStr,string-length($titleStr),1)"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <b>
+    <xsl:copy-of select="$titleStr"/>
+    <xsl:if test="$lastChar != ''                   and not(contains($runinhead.title.end.punct, $lastChar))">
+      <xsl:value-of select="$runinhead.default.title.end.punct"/>
+    </xsl:if>
+    <xsl:text>&#160;</xsl:text>
+  </b>
+</xsl:template>
+
+<xsl:template match="formalpara/para">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="blockquote">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="@lang or @xml:lang">
+      <xsl:call-template name="language.attribute"/>
+    </xsl:if>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:choose>
+      <xsl:when test="attribution">
+        <table border="0" width="100%" cellspacing="0" cellpadding="0" class="blockquote" summary="Block quote">
+          <tr>
+            <td width="10%" valign="top">&#160;</td>
+            <td width="80%" valign="top">
+              <xsl:apply-templates select="child::*[local-name(.)!='attribution']"/>
+            </td>
+            <td width="10%" valign="top">&#160;</td>
+          </tr>
+          <tr>
+            <td width="10%" valign="top">&#160;</td>
+            <td colspan="2" align="right" valign="top">
+              <xsl:text>--</xsl:text>
+              <xsl:apply-templates select="attribution"/>
+            </td>
+          </tr>
+        </table>
+      </xsl:when>
+      <xsl:otherwise>
+        <blockquote>
+          <xsl:apply-templates select="." mode="class.attribute"/>
+          <xsl:apply-templates/>
+        </blockquote>
+      </xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
+<xsl:template match="blockquote/title|blockquote/info/title">
+  <div class="blockquote-title">
+    <p>
+      <b>
+        <xsl:apply-templates/>
+      </b>
+    </p>
+  </div>
+</xsl:template>
+
+<xsl:template match="epigraph">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+      <xsl:apply-templates select="para|simpara|formalpara|literallayout"/>
+      <xsl:if test="attribution">
+        <div class="attribution">
+          <span>--<xsl:apply-templates select="attribution"/></span>
+        </div>
+      </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="attribution">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="abstract|sidebar">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="formal.object.heading">
+      <xsl:with-param name="title">
+        <xsl:apply-templates select="." mode="title.markup">
+          <xsl:with-param name="allow-anchors" select="'1'"/>
+        </xsl:apply-templates>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="abstract/title|sidebar/title">
+</xsl:template>
+
+<xsl:template match="sidebar/sidebarinfo|sidebar/info"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="msgset">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msgentry">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="simplemsgentry">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="msg">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="msgmain">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msgmain/title">
+  <b><xsl:apply-templates/></b>
+</xsl:template>
+
+<xsl:template match="msgsub">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msgsub/title">
+  <b><xsl:apply-templates/></b>
+</xsl:template>
+
+<xsl:template match="msgrel">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msgrel/title">
+  <b><xsl:apply-templates/></b>
+</xsl:template>
+
+<xsl:template match="msgtext">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="msginfo">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="msglevel">
+  <p>
+    <b>
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'msgset'"/>
+        <xsl:with-param name="name" select="'MsgLevel'"/>
+      </xsl:call-template>
+    </b>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<xsl:template match="msgorig">
+  <p>
+    <b>
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'msgset'"/>
+        <xsl:with-param name="name" select="'MsgOrig'"/>
+      </xsl:call-template>
+    </b>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<xsl:template match="msgaud">
+  <p>
+    <b>
+      <xsl:call-template name="gentext.template">
+        <xsl:with-param name="context" select="'msgset'"/>
+        <xsl:with-param name="name" select="'MsgAud'"/>
+      </xsl:call-template>
+    </b>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<xsl:template match="msgexplan">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<xsl:template match="msgexplan/title">
+  <p><b><xsl:apply-templates/></b></p>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="revhistory">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <table border="0" width="100%" summary="Revision history">
+      <tr>
+        <th align="left" valign="top" colspan="3">
+          <b>
+            <xsl:call-template name="gentext">
+              <xsl:with-param name="key" select="'RevHistory'"/>
+            </xsl:call-template>
+          </b>
+        </th>
+      </tr>
+      <xsl:apply-templates/>
+    </table>
+  </div>
+</xsl:template>
+
+<xsl:template match="revhistory/revision">
+  <xsl:variable name="revnumber" select="revnumber"/>
+  <xsl:variable name="revdate" select="date"/>
+  <xsl:variable name="revauthor" select="authorinitials|author"/>
+  <xsl:variable name="revremark" select="revremark|revdescription"/>
+  <tr>
+    <td align="left">
+      <xsl:if test="$revnumber">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'Revision'"/>
+        </xsl:call-template>
+        <xsl:call-template name="gentext.space"/>
+        <xsl:apply-templates select="$revnumber"/>
+      </xsl:if>
+    </td>
+    <td align="left">
+      <xsl:apply-templates select="$revdate"/>
+    </td>
+    <xsl:choose>
+      <xsl:when test="count($revauthor)=0">
+        <td align="left">
+          <xsl:call-template name="dingbat">
+            <xsl:with-param name="dingbat">nbsp</xsl:with-param>
+          </xsl:call-template>
+        </td>
+      </xsl:when>
+      <xsl:otherwise>
+        <td align="left">
+          <xsl:for-each select="$revauthor">
+            <xsl:apply-templates select="."/>
+            <xsl:if test="position() != last()">
+              <xsl:text>, </xsl:text>
+            </xsl:if>
+          </xsl:for-each>
+        </td>
+      </xsl:otherwise>
+    </xsl:choose>
+  </tr>
+  <xsl:if test="$revremark">
+    <tr>
+      <td align="left" colspan="3">
+        <xsl:apply-templates select="$revremark"/>
+      </td>
+    </tr>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="revision/revnumber">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/date">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/authorinitials">
+  <xsl:text>, </xsl:text>
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/authorinitials[1]" priority="2">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/revremark">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="revision/revdescription">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="ackno">
+  <p>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="highlights">
+  <xsl:call-template name="block.object"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/callout.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/callout.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/callout.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,187 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim" xmlns:xverb="xalan://com.nwalsh.xalan.Verbatim" xmlns:lxslt="http://xml.apache.org/xslt" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="sverb xverb lxslt" version="1.0">
+
+<!-- ********************************************************************
+     $Id: callout.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<lxslt:component prefix="xverb" functions="insertCallouts"/>
+
+<xsl:template match="programlistingco|screenco">
+  <xsl:variable name="verbatim" select="programlisting|screen"/>
+
+  <xsl:choose>
+    <xsl:when test="$use.extensions != '0'                     and $callouts.extension != '0'">
+      <xsl:variable name="rtf">
+        <xsl:apply-templates select="$verbatim">
+          <xsl:with-param name="suppress-numbers" select="'1'"/>
+        </xsl:apply-templates>
+      </xsl:variable>
+
+      <xsl:variable name="rtf-with-callouts">
+        <xsl:choose>
+          <xsl:when test="function-available('sverb:insertCallouts')">
+            <xsl:copy-of select="sverb:insertCallouts(areaspec,$rtf)"/>
+          </xsl:when>
+          <xsl:when test="function-available('xverb:insertCallouts')">
+            <xsl:copy-of select="xverb:insertCallouts(areaspec,$rtf)"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:message terminate="yes">
+              <xsl:text>No insertCallouts function is available.</xsl:text>
+            </xsl:message>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$verbatim/@linenumbering = 'numbered'                         and $linenumbering.extension != '0'">
+          <div>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+            <xsl:call-template name="number.rtf.lines">
+              <xsl:with-param name="rtf" select="$rtf-with-callouts"/>
+              <xsl:with-param name="pi.context" select="programlisting|screen"/>
+            </xsl:call-template>
+            <xsl:apply-templates select="calloutlist"/>
+          </div>
+        </xsl:when>
+        <xsl:otherwise>
+          <div>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+            <xsl:copy-of select="$rtf-with-callouts"/>
+            <xsl:apply-templates select="calloutlist"/>
+          </div>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates/>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="areaspec|areaset|area">
+</xsl:template>
+
+<xsl:template match="areaset" mode="conumber">
+  <xsl:number count="area|areaset" format="1"/>
+</xsl:template>
+
+<xsl:template match="area" mode="conumber">
+  <xsl:number count="area|areaset" format="1"/>
+</xsl:template>
+
+<xsl:template match="co" name="co">
+  <!-- Support a single linkend in HTML -->
+  <xsl:variable name="targets" select="key('id', @linkends)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+  <xsl:choose>
+    <xsl:when test="$target">
+      <a>
+        <xsl:if test="@id or @xml:id">
+          <xsl:attribute name="id">
+            <xsl:value-of select="(@id|@xml:id)[1]"/>
+          </xsl:attribute>
+        </xsl:if>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:apply-templates select="." mode="callout-bug"/>
+      </a>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates select="." mode="callout-bug"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="coref">
+  <!-- tricky; this relies on the fact that we can process the "co" that's -->
+  <!-- "over there" as if it were "right here" -->
+
+  <xsl:variable name="co" select="key('id', @linkend)"/>
+  <xsl:choose>
+    <xsl:when test="not($co)">
+      <xsl:message>
+        <xsl:text>Error: coref link is broken: </xsl:text>
+        <xsl:value-of select="@linkend"/>
+      </xsl:message>
+    </xsl:when>
+    <xsl:when test="local-name($co) != 'co'">
+      <xsl:message>
+        <xsl:text>Error: coref doesn't point to a co: </xsl:text>
+        <xsl:value-of select="@linkend"/>
+      </xsl:message>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="$co"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="co" mode="callout-bug">
+  <xsl:call-template name="callout-bug">
+    <xsl:with-param name="conum">
+      <xsl:number count="co" level="any" from="programlisting|screen|literallayout|synopsis" format="1"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="callout-bug">
+  <xsl:param name="conum" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="$callout.graphics != 0                     and $conum &lt;= $callout.graphics.number.limit">
+      <img src="{$callout.graphics.path}{$conum}{$callout.graphics.extension}" alt="{$conum}" border="0"/>
+    </xsl:when>
+    <xsl:when test="$callout.unicode != 0                     and $conum &lt;= $callout.unicode.number.limit">
+      <xsl:choose>
+        <xsl:when test="$callout.unicode.start.character = 10102">
+          <xsl:choose>
+            <xsl:when test="$conum = 1">&#10102;</xsl:when>
+            <xsl:when test="$conum = 2">&#10103;</xsl:when>
+            <xsl:when test="$conum = 3">&#10104;</xsl:when>
+            <xsl:when test="$conum = 4">&#10105;</xsl:when>
+            <xsl:when test="$conum = 5">&#10106;</xsl:when>
+            <xsl:when test="$conum = 6">&#10107;</xsl:when>
+            <xsl:when test="$conum = 7">&#10108;</xsl:when>
+            <xsl:when test="$conum = 8">&#10109;</xsl:when>
+            <xsl:when test="$conum = 9">&#10110;</xsl:when>
+            <xsl:when test="$conum = 10">&#10111;</xsl:when>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>Don't know how to generate Unicode callouts </xsl:text>
+            <xsl:text>when $callout.unicode.start.character is </xsl:text>
+            <xsl:value-of select="$callout.unicode.start.character"/>
+          </xsl:message>
+          <xsl:text>(</xsl:text>
+          <xsl:value-of select="$conum"/>
+          <xsl:text>)</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>(</xsl:text>
+      <xsl:value-of select="$conum"/>
+      <xsl:text>)</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/changebars.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/changebars.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/changebars.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: changebars.xsl 4271 2005-02-01 07:33:38Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+<xsl:import href="docbook.xsl"/>
+
+<xsl:param name="show.revisionflag" select="'1'"/>
+
+<xsl:template name="system.head.content">
+<xsl:param name="node" select="."/>
+
+<style type="text/css">
+<xsl:text>
+div.added    { background-color: #ffff99; }
+div.deleted  { text-decoration: line-through;
+               background-color: #FF7F7F; }
+div.changed  { background-color: #99ff99; }
+div.off      {  }
+
+span.added   { background-color: #ffff99; }
+span.deleted { text-decoration: line-through;
+               background-color: #FF7F7F; }
+span.changed { background-color: #99ff99; }
+span.off     {  }
+</xsl:text>
+</style>
+</xsl:template>
+
+<xsl:template match="*[@revisionflag]">
+  <xsl:choose>
+    <xsl:when test="local-name(.) = 'para'                     or local-name(.) = 'simpara'                     or local-name(.) = 'formalpara'                     or local-name(.) = 'section'                     or local-name(.) = 'sect1'                     or local-name(.) = 'sect2'                     or local-name(.) = 'sect3'                     or local-name(.) = 'sect4'                     or local-name(.) = 'sect5'                     or local-name(.) = 'chapter'                     or local-name(.) = 'preface'                     or local-name(.) = 'itemizedlist'                     or local-name(.) = 'varlistentry'                     or local-name(.) = 'glossary'                     or local-name(.) = 'bibliography'                     or local-name(.) = 'index'                     or local-name(.) = 'appendix'">
+      <div class="{@revisionflag}">
+	<xsl:apply-imports/>
+      </div>
+    </xsl:when>
+    <xsl:when test="local-name(.) = 'phrase'                     or local-name(.) = 'ulink'                     or local-name(.) = 'link'                     or local-name(.) = 'filename'                     or local-name(.) = 'literal'                     or local-name(.) = 'member'                     or local-name(.) = 'glossterm'                     or local-name(.) = 'sgmltag'                     or local-name(.) = 'quote'                     or local-name(.) = 'emphasis'                     or local-name(.) = 'command'                     or local-name(.) = 'xref'">
+      <span class="{@revisionflag}">
+	<xsl:apply-imports/>
+      </span>
+    </xsl:when>
+    <xsl:when test="local-name(.) = 'listitem'                     or local-name(.) = 'entry'                     or local-name(.) = 'title'">
+      <!-- nop; these are handled directly in the stylesheet -->
+      <xsl:apply-imports/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+	<xsl:text>Revisionflag on unexpected element: </xsl:text>
+	<xsl:value-of select="local-name(.)"/>
+	<xsl:text> (Assuming block)</xsl:text>
+      </xsl:message>
+      <div class="{@revisionflag}">
+	<xsl:apply-imports/>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/chunk-code.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/chunk-code.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/chunk-code.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,782 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="exsl cf ng db">
+
+<!-- ********************************************************************
+     $Id: chunk-code.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:param name="onechunk" select="0"/>
+<xsl:param name="refentry.separator" select="0"/>
+<xsl:param name="chunk.fast" select="0"/>
+
+<xsl:key name="genid" match="*" use="generate-id()"/>
+
+<!-- ==================================================================== -->
+
+<xsl:variable name="chunk.hierarchy">
+  <xsl:if test="$chunk.fast != 0">
+    <xsl:choose>
+      <xsl:when test="function-available('exsl:node-set')">
+        <xsl:message>Computing chunks...</xsl:message>
+        <xsl:apply-templates select="/*" mode="find.chunks"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:message>
+          <xsl:text>Fast chunking requires exsl:node-set(). </xsl:text>
+          <xsl:text>Using "slow" chunking.</xsl:text>
+        </xsl:message>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:variable>
+
+<xsl:template match="*" mode="find.chunks">
+  <xsl:variable name="chunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$chunk != 0">
+      <cf:div id="{generate-id()}">
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates select="*" mode="find.chunks"/>
+      </cf:div>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="*" mode="find.chunks"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process-chunk-element">
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$chunk.fast != 0 and function-available('exsl:node-set')">
+      <xsl:variable name="chunks" select="exsl:node-set($chunk.hierarchy)//cf:div"/>
+      <xsl:variable name="genid" select="generate-id()"/>
+
+      <xsl:variable name="div" select="$chunks[@id=$genid or @xml:id=$genid]"/>
+
+      <xsl:variable name="prevdiv" select="($div/preceding-sibling::cf:div|$div/preceding::cf:div|$div/parent::cf:div)[last()]"/>
+      <xsl:variable name="prev" select="key('genid', ($prevdiv/@id|$prevdiv/@xml:id)[1])"/>
+
+      <xsl:variable name="nextdiv" select="($div/following-sibling::cf:div|$div/following::cf:div|$div/cf:div)[1]"/>
+      <xsl:variable name="next" select="key('genid', ($nextdiv/@id|$nextdiv/@xml:id)[1])"/>
+
+      <xsl:choose>
+        <xsl:when test="$onechunk != 0 and parent::*">
+          <xsl:copy-of select="$content"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="process-chunk">
+            <xsl:with-param name="prev" select="$prev"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$onechunk != 0 and not(parent::*)">
+          <xsl:call-template name="chunk-all-sections">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$onechunk != 0">
+          <xsl:copy-of select="$content"/>
+        </xsl:when>
+        <xsl:when test="$chunk.first.sections = 0">
+          <xsl:call-template name="chunk-first-section-with-parent">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="chunk-all-sections">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process-chunk">
+  <xsl:param name="prev" select="."/>
+  <xsl:param name="next" select="."/>
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:variable name="chunkfn">
+    <xsl:if test="$ischunk='1'">
+      <xsl:apply-templates mode="chunk-filename" select="."/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:if test="$ischunk='0'">
+    <xsl:message>
+      <xsl:text>Error </xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:text> is not a chunk!</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="filename">
+    <xsl:call-template name="make-relative-filename">
+      <xsl:with-param name="base.dir" select="$base.dir"/>
+      <xsl:with-param name="base.name" select="$chunkfn"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename" select="$filename"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="chunk-element-content">
+        <xsl:with-param name="prev" select="$prev"/>
+        <xsl:with-param name="next" select="$next"/>
+        <xsl:with-param name="content" select="$content"/>
+      </xsl:call-template>
+    </xsl:with-param>
+    <xsl:with-param name="quiet" select="$chunk.quietly"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="chunk-first-section-with-parent">
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <!-- These xpath expressions are really hairy. The trick is to pick sections -->
+  <!-- that are not first children and are not the children of first children -->
+
+  <!-- Break these variables into pieces to work around
+       http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6063 -->
+
+  <xsl:variable name="prev-v1" select="(ancestor::sect1[$chunk.section.depth &gt; 0                                and preceding-sibling::sect1][1]               |ancestor::sect2[$chunk.section.depth &gt; 1                                and preceding-sibling::sect2                                and parent::sect1[preceding-sibling::sect1]][1]               |ancestor::sect3[$chunk.section.depth &gt; 2                                and preceding-sibling::sect3                                and parent::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |ancestor::sect4[$chunk.section.depth &gt; 3                                and preceding-sibling::sect4                                and parent::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |!
 ancestor::sect5[$chunk.section.depth &gt; 4                                and preceding-sibling::sect5                                and parent::sect4[preceding-sibling::sect4]                                and ancestor::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |ancestor::section[$chunk.section.depth &gt; count(ancestor::section)                                 and not(ancestor::section[not(preceding-sibling::section)])][1])[last()]"/>
+
+  <xsl:variable name="prev-v2" select="(preceding::sect1[$chunk.section.depth &gt; 0                                and preceding-sibling::sect1][1]               |preceding::sect2[$chunk.section.depth &gt; 1                                and preceding-sibling::sect2                                and parent::sect1[preceding-sibling::sect1]][1]               |preceding::sect3[$chunk.section.depth &gt; 2                                and preceding-sibling::sect3                                and parent::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |preceding::sect4[$chunk.section.depth &gt; 3                                and preceding-sibling::sect4                                and parent::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]            !
    |preceding::sect5[$chunk.section.depth &gt; 4                                and preceding-sibling::sect5                                and parent::sect4[preceding-sibling::sect4]                                and ancestor::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |preceding::section[$chunk.section.depth &gt; count(ancestor::section)                                  and preceding-sibling::section                                  and not(ancestor::section[not(preceding-sibling::section)])][1])[last()]"/>
+
+  <xsl:variable name="prev" select="(preceding::book[1]              |preceding::preface[1]              |preceding::chapter[1]              |preceding::appendix[1]              |preceding::part[1]              |preceding::reference[1]              |preceding::refentry[1]              |preceding::colophon[1]              |preceding::article[1]              |preceding::bibliography[parent::article or parent::book or parent::part][1]              |preceding::glossary[parent::article or parent::book or parent::part][1]              |preceding::index[$generate.index != 0]                                [parent::article or parent::book or parent::part][1]              |preceding::setindex[$generate.index != 0][1]              |ancestor::set              |ancestor::book[1]              |ancestor::preface[1]              |ancestor::chapter[1]              |ancestor::appendix[1]              |ancestor::part[1]              |ancestor::reference[1]              |ancestor::article[1] !
              |$prev-v1              |$prev-v2)[last()]"/>
+
+  <xsl:variable name="next-v1" select="(following::sect1[$chunk.section.depth &gt; 0                                and preceding-sibling::sect1][1]               |following::sect2[$chunk.section.depth &gt; 1                                and preceding-sibling::sect2                                and parent::sect1[preceding-sibling::sect1]][1]               |following::sect3[$chunk.section.depth &gt; 2                                and preceding-sibling::sect3                                and parent::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |following::sect4[$chunk.section.depth &gt; 3                                and preceding-sibling::sect4                                and parent::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]            !
    |following::sect5[$chunk.section.depth &gt; 4                                and preceding-sibling::sect5                                and parent::sect4[preceding-sibling::sect4]                                and ancestor::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |following::section[$chunk.section.depth &gt; count(ancestor::section)                                  and preceding-sibling::section                                  and not(ancestor::section[not(preceding-sibling::section)])][1])[1]"/>
+
+  <xsl:variable name="next-v2" select="(descendant::sect1[$chunk.section.depth &gt; 0                                and preceding-sibling::sect1][1]               |descendant::sect2[$chunk.section.depth &gt; 1                                and preceding-sibling::sect2                                and parent::sect1[preceding-sibling::sect1]][1]               |descendant::sect3[$chunk.section.depth &gt; 2                                and preceding-sibling::sect3                                and parent::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |descendant::sect4[$chunk.section.depth &gt; 3                                and preceding-sibling::sect4                                and parent::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]        !
        |descendant::sect5[$chunk.section.depth &gt; 4                                and preceding-sibling::sect5                                and parent::sect4[preceding-sibling::sect4]                                and ancestor::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |descendant::section[$chunk.section.depth &gt; count(ancestor::section)                                  and preceding-sibling::section                                  and not(ancestor::section[not(preceding-sibling::section)])])[1]"/>
+
+  <xsl:variable name="next" select="(following::book[1]              |following::preface[1]              |following::chapter[1]              |following::appendix[1]              |following::part[1]              |following::reference[1]              |following::refentry[1]              |following::colophon[1]              |following::bibliography[parent::article or parent::book or parent::part][1]              |following::glossary[parent::article or parent::book or parent::part][1]              |following::index[$generate.index != 0]                                [parent::article or parent::book or parent::part][1]              |following::article[1]              |following::setindex[$generate.index != 0][1]              |descendant::book[1]              |descendant::preface[1]              |descendant::chapter[1]              |descendant::appendix[1]              |descendant::article[1]              |descendant::bibliography[parent::article or parent::book or parent::part]!
 [1]              |descendant::glossary[parent::article or parent::book or parent::part][1]              |descendant::index[$generate.index != 0]                                [parent::article or parent::book or parent::part][1]              |descendant::colophon[1]              |descendant::setindex[$generate.index != 0][1]              |descendant::part[1]              |descendant::reference[1]              |descendant::refentry[1]              |$next-v1              |$next-v2)[1]"/>
+
+  <xsl:call-template name="process-chunk">
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="chunk-all-sections">
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:variable name="prev-v1" select="(preceding::sect1[$chunk.section.depth &gt; 0][1]              |preceding::sect2[$chunk.section.depth &gt; 1][1]              |preceding::sect3[$chunk.section.depth &gt; 2][1]              |preceding::sect4[$chunk.section.depth &gt; 3][1]              |preceding::sect5[$chunk.section.depth &gt; 4][1]              |preceding::section[$chunk.section.depth &gt; count(ancestor::section)][1])[last()]"/>
+
+  <xsl:variable name="prev-v2" select="(ancestor::sect1[$chunk.section.depth &gt; 0][1]              |ancestor::sect2[$chunk.section.depth &gt; 1][1]              |ancestor::sect3[$chunk.section.depth &gt; 2][1]              |ancestor::sect4[$chunk.section.depth &gt; 3][1]              |ancestor::sect5[$chunk.section.depth &gt; 4][1]              |ancestor::section[$chunk.section.depth &gt; count(ancestor::section)][1])[last()]"/>
+
+  <xsl:variable name="prev" select="(preceding::book[1]              |preceding::preface[1]              |preceding::chapter[1]              |preceding::appendix[1]              |preceding::part[1]              |preceding::reference[1]              |preceding::refentry[1]              |preceding::colophon[1]              |preceding::article[1]              |preceding::bibliography[parent::article or parent::book or parent::part][1]              |preceding::glossary[parent::article or parent::book or parent::part][1]              |preceding::index[$generate.index != 0]                                [parent::article or parent::book or parent::part][1]              |preceding::setindex[$generate.index != 0][1]              |ancestor::set              |ancestor::book[1]              |ancestor::preface[1]              |ancestor::chapter[1]              |ancestor::appendix[1]              |ancestor::part[1]              |ancestor::reference[1]              |ancestor::article[1] !
              |$prev-v1              |$prev-v2)[last()]"/>
+
+  <xsl:variable name="next-v1" select="(following::sect1[$chunk.section.depth &gt; 0][1]              |following::sect2[$chunk.section.depth &gt; 1][1]              |following::sect3[$chunk.section.depth &gt; 2][1]              |following::sect4[$chunk.section.depth &gt; 3][1]              |following::sect5[$chunk.section.depth &gt; 4][1]              |following::section[$chunk.section.depth &gt; count(ancestor::section)][1])[1]"/>
+
+  <xsl:variable name="next-v2" select="(descendant::sect1[$chunk.section.depth &gt; 0][1]              |descendant::sect2[$chunk.section.depth &gt; 1][1]              |descendant::sect3[$chunk.section.depth &gt; 2][1]              |descendant::sect4[$chunk.section.depth &gt; 3][1]              |descendant::sect5[$chunk.section.depth &gt; 4][1]              |descendant::section[$chunk.section.depth                                    &gt; count(ancestor::section)][1])[1]"/>
+
+  <xsl:variable name="next" select="(following::book[1]              |following::preface[1]              |following::chapter[1]              |following::appendix[1]              |following::part[1]              |following::reference[1]              |following::refentry[1]              |following::colophon[1]              |following::bibliography[parent::article or parent::book or parent::part][1]              |following::glossary[parent::article or parent::book or parent::part][1]              |following::index[$generate.index != 0]                                [parent::article or parent::book][1]              |following::article[1]              |following::setindex[$generate.index != 0][1]              |descendant::book[1]              |descendant::preface[1]              |descendant::chapter[1]              |descendant::appendix[1]              |descendant::article[1]              |descendant::bibliography[parent::article or parent::book][1]              |descendant::gl!
 ossary[parent::article or parent::book or parent::part][1]              |descendant::index[$generate.index != 0]                                [parent::article or parent::book][1]              |descendant::colophon[1]              |descendant::setindex[$generate.index != 0][1]              |descendant::part[1]              |descendant::reference[1]              |descendant::refentry[1]              |$next-v1              |$next-v2)[1]"/>
+
+  <xsl:call-template name="process-chunk">
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="/">
+  <xsl:choose>
+    <!-- include extra test for Xalan quirk -->
+    <xsl:when test="(function-available('exsl:node-set') or                      contains(system-property('xsl:vendor'),                        'Apache Software Foundation'))                     and (*/self::ng:* or */self::db:*)">
+      <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document,
+           toss the namespace and continue. Someday we'll reverse this logic
+           and add the namespace to documents that don't have one.
+           But not before the whole stylesheet has been converted to use
+           namespaces. i.e., don't hold your breath -->
+      <xsl:message>Stripping namespace from DocBook 5 document.</xsl:message>
+      <xsl:variable name="nons">
+        <xsl:apply-templates mode="stripNS"/>
+      </xsl:variable>
+      <xsl:message>Processing stripped document.</xsl:message>
+      <xsl:apply-templates select="exsl:node-set($nons)"/>
+    </xsl:when>
+    <!-- Can't process unless namespace removed -->
+    <xsl:when test="*/self::ng:* or */self::db:*">
+      <xsl:message terminate="yes">
+        <xsl:text>Unable to strip the namespace from DB5 document,</xsl:text>
+        <xsl:text> cannot proceed.</xsl:text>
+      </xsl:message>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$rootid != ''">
+          <xsl:choose>
+            <xsl:when test="count(key('id',$rootid)) = 0">
+              <xsl:message terminate="yes">
+                <xsl:text>ID '</xsl:text>
+                <xsl:value-of select="$rootid"/>
+                <xsl:text>' not found in document.</xsl:text>
+              </xsl:message>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:if test="$collect.xref.targets = 'yes' or                             $collect.xref.targets = 'only'">
+                <xsl:apply-templates select="key('id', $rootid)" mode="collect.targets"/>
+              </xsl:if>
+              <xsl:if test="$collect.xref.targets != 'only'">
+                <xsl:apply-templates select="key('id',$rootid)" mode="process.root"/>
+                <xsl:if test="$tex.math.in.alt != ''">
+                  <xsl:apply-templates select="key('id',$rootid)" mode="collect.tex.math"/>
+                </xsl:if>
+                <xsl:if test="$generate.manifest != 0">
+                  <xsl:call-template name="generate.manifest">
+                    <xsl:with-param name="node" select="key('id',$rootid)"/>
+                  </xsl:call-template>
+                </xsl:if>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$collect.xref.targets = 'yes' or                         $collect.xref.targets = 'only'">
+            <xsl:apply-templates select="/" mode="collect.targets"/>
+          </xsl:if>
+          <xsl:if test="$collect.xref.targets != 'only'">
+            <xsl:apply-templates select="/" mode="process.root"/>
+            <xsl:if test="$tex.math.in.alt != ''">
+              <xsl:apply-templates select="/" mode="collect.tex.math"/>
+            </xsl:if>
+            <xsl:if test="$generate.manifest != 0">
+              <xsl:call-template name="generate.manifest">
+                <xsl:with-param name="node" select="/"/>
+              </xsl:call-template>
+            </xsl:if>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="process.root">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="set|book|part|preface|chapter|appendix                      |article                      |reference|refentry                      |book/glossary|article/glossary|part/glossary                      |book/bibliography|article/bibliography|part/bibliography                      |colophon">
+  <xsl:choose>
+    <xsl:when test="$onechunk != 0 and parent::*">
+      <xsl:apply-imports/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="process-chunk-element"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="sect1|sect2|sect3|sect4|sect5|section">
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="not(parent::*)">
+      <xsl:call-template name="process-chunk-element"/>
+    </xsl:when>
+    <xsl:when test="$ischunk = 0">
+      <xsl:apply-imports/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="process-chunk-element"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="setindex                      |book/index                      |article/index                      |part/index">
+  <!-- some implementations use completely empty index tags to indicate -->
+  <!-- where an automatically generated index should be inserted. so -->
+  <!-- if the index is completely empty, skip it. -->
+  <xsl:if test="count(*)&gt;0 or $generate.index != '0'">
+    <xsl:call-template name="process-chunk-element"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="make.lots">
+  <xsl:param name="toc.params" select="''"/>
+  <xsl:param name="toc"/>
+
+  <xsl:variable name="lots">
+    <xsl:if test="contains($toc.params, 'toc')">
+      <xsl:copy-of select="$toc"/>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'figure')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'figure'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'figure'"/>
+                <xsl:with-param name="nodes" select=".//figure"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'figure'"/>
+            <xsl:with-param name="nodes" select=".//figure"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'table')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'table'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'table'"/>
+                <xsl:with-param name="nodes" select=".//table"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'table'"/>
+            <xsl:with-param name="nodes" select=".//table"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'example')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'example'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'example'"/>
+                <xsl:with-param name="nodes" select=".//example"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'example'"/>
+            <xsl:with-param name="nodes" select=".//example"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'equation')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'equation'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'equation'"/>
+                <xsl:with-param name="nodes" select=".//equation"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'equation'"/>
+            <xsl:with-param name="nodes" select=".//equation"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'procedure')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'procedure'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'procedure'"/>
+                <xsl:with-param name="nodes" select=".//procedure[title]"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'procedure'"/>
+            <xsl:with-param name="nodes" select=".//procedure[title]"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:if test="string($lots) != ''">
+    <xsl:choose>
+      <xsl:when test="$chunk.tocs.and.lots != 0 and not(parent::*)">
+        <xsl:call-template name="write.chunk">
+          <xsl:with-param name="filename">
+            <xsl:call-template name="make-relative-filename">
+              <xsl:with-param name="base.dir" select="$base.dir"/>
+              <xsl:with-param name="base.name">
+                <xsl:call-template name="dbhtml-dir"/>
+                <xsl:apply-templates select="." mode="recursive-chunk-filename">
+                  <xsl:with-param name="recursive" select="true()"/>
+                </xsl:apply-templates>
+                <xsl:text>-toc</xsl:text>
+                <xsl:value-of select="$html.ext"/>
+              </xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="content">
+            <xsl:call-template name="chunk-element-content">
+              <xsl:with-param name="prev" select="/foo"/>
+              <xsl:with-param name="next" select="/foo"/>
+              <xsl:with-param name="nav.context" select="'toc'"/>
+              <xsl:with-param name="content">
+                <xsl:if test="$chunk.tocs.and.lots.has.title != 0">
+                  <h1>
+                    <xsl:apply-templates select="." mode="object.title.markup"/>
+                  </h1>
+                </xsl:if>
+                <xsl:copy-of select="$lots"/>
+              </xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="quiet" select="$chunk.quietly"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$lots"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="make.lot.chunk">
+  <xsl:param name="type" select="''"/>
+  <xsl:param name="lot"/>
+
+  <xsl:if test="string($lot) != ''">
+    <xsl:variable name="filename">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.dir" select="$base.dir"/>
+        <xsl:with-param name="base.name">
+          <xsl:call-template name="dbhtml-dir"/>
+          <xsl:value-of select="$type"/>
+          <xsl:text>-toc</xsl:text>
+          <xsl:value-of select="$html.ext"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="href">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.name">
+          <xsl:call-template name="dbhtml-dir"/>
+          <xsl:value-of select="$type"/>
+          <xsl:text>-toc</xsl:text>
+          <xsl:value-of select="$html.ext"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:call-template name="write.chunk">
+      <xsl:with-param name="filename" select="$filename"/>
+      <xsl:with-param name="content">
+        <xsl:call-template name="chunk-element-content">
+          <xsl:with-param name="prev" select="/foo"/>
+          <xsl:with-param name="next" select="/foo"/>
+          <xsl:with-param name="nav.context" select="'toc'"/>
+          <xsl:with-param name="content">
+            <xsl:copy-of select="$lot"/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:with-param>
+      <xsl:with-param name="quiet" select="$chunk.quietly"/>
+    </xsl:call-template>
+    <!-- And output a link to this file -->
+    <div>
+      <xsl:attribute name="class">
+        <xsl:text>ListofTitles</xsl:text>
+      </xsl:attribute>
+      <a href="{$href}">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key">
+            <xsl:choose>
+              <xsl:when test="$type='table'">ListofTables</xsl:when>
+              <xsl:when test="$type='figure'">ListofFigures</xsl:when>
+              <xsl:when test="$type='equation'">ListofEquations</xsl:when>
+              <xsl:when test="$type='example'">ListofExamples</xsl:when>
+              <xsl:when test="$type='procedure'">ListofProcedures</xsl:when>
+              <xsl:otherwise>ListofUnknown</xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+      </a>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="in.other.chunk">
+  <xsl:param name="chunk" select="."/>
+  <xsl:param name="node" select="."/>
+
+  <xsl:variable name="is.chunk">
+    <xsl:call-template name="chunk">
+      <xsl:with-param name="node" select="$node"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+<!--
+  <xsl:message>
+    <xsl:text>in.other.chunk: </xsl:text>
+    <xsl:value-of select="name($chunk)"/>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="name($node)"/>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="$chunk = $node"/>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="$is.chunk"/>
+  </xsl:message>
+-->
+
+  <xsl:choose>
+    <xsl:when test="$chunk = $node">0</xsl:when>
+    <xsl:when test="$is.chunk = 1">1</xsl:when>
+    <xsl:when test="count($node) = 0">0</xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="in.other.chunk">
+        <xsl:with-param name="chunk" select="$chunk"/>
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="count.footnotes.in.this.chunk">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="footnotes" select="$node//footnote"/>
+  <xsl:param name="count" select="0"/>
+
+<!--
+  <xsl:message>
+    <xsl:text>count.footnotes.in.this.chunk: </xsl:text>
+    <xsl:value-of select="name($node)"/>
+  </xsl:message>
+-->
+
+  <xsl:variable name="in.other.chunk">
+    <xsl:call-template name="in.other.chunk">
+      <xsl:with-param name="chunk" select="$node"/>
+      <xsl:with-param name="node" select="$footnotes[1]"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="count($footnotes) = 0">
+      <xsl:value-of select="$count"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$in.other.chunk != 0">
+          <xsl:call-template name="count.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="$count"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$footnotes[1]/ancestor::table                         |$footnotes[1]/ancestor::informaltable">
+          <xsl:call-template name="count.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="$count"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="count.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="$count + 1"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process.footnotes.in.this.chunk">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="footnotes" select="$node//footnote"/>
+
+<!--
+  <xsl:message>process.footnotes.in.this.chunk</xsl:message>
+-->
+
+  <xsl:variable name="in.other.chunk">
+    <xsl:call-template name="in.other.chunk">
+      <xsl:with-param name="chunk" select="$node"/>
+      <xsl:with-param name="node" select="$footnotes[1]"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="count($footnotes) = 0">
+      <!-- nop -->
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$in.other.chunk != 0">
+          <xsl:call-template name="process.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$footnotes[1]/ancestor::table                         |$footnotes[1]/ancestor::informaltable">
+          <xsl:call-template name="process.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$footnotes[1]" mode="process.footnote.mode"/>
+          <xsl:call-template name="process.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process.footnotes">
+  <xsl:variable name="footnotes" select=".//footnote"/>
+  <xsl:variable name="fcount">
+    <xsl:call-template name="count.footnotes.in.this.chunk">
+      <xsl:with-param name="node" select="."/>
+      <xsl:with-param name="footnotes" select="$footnotes"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+<!--
+  <xsl:message>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text> fcount: </xsl:text>
+    <xsl:value-of select="$fcount"/>
+  </xsl:message>
+-->
+
+  <!-- Only bother to do this if there's at least one non-table footnote -->
+  <xsl:if test="$fcount &gt; 0">
+    <div class="footnotes">
+      <br/>
+      <hr width="100" align="left"/>
+      <xsl:call-template name="process.footnotes.in.this.chunk">
+        <xsl:with-param name="node" select="."/>
+        <xsl:with-param name="footnotes" select="$footnotes"/>
+      </xsl:call-template>
+    </div>
+  </xsl:if>
+
+  <!-- FIXME: When chunking, only the annotations actually used
+              in this chunk should be referenced. I don't think it
+              does any harm to reference them all, but it adds
+              unnecessary bloat to each chunk. -->
+  <xsl:if test="$annotation.support != 0 and //annotation">
+    <div class="annotation-list">
+      <div class="annotation-nocss">
+        <p>The following annotations are from this essay. You are seeing
+        them here because your browser doesn&#8217;t support the user-interface
+        techniques used to make them appear as &#8216;popups&#8217; on modern browsers.</p>
+      </div>
+
+      <xsl:apply-templates select="//annotation" mode="annotation-popup"/>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="process.chunk.footnotes">
+  <xsl:variable name="is.chunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+  <xsl:if test="$is.chunk = 1">
+    <xsl:call-template name="process.footnotes"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<!-- Resolve xml:base attributes -->
+<xsl:template match="@fileref">
+  <!-- need a check for absolute urls -->
+  <xsl:choose>
+    <xsl:when test="contains(., ':')">
+      <!-- it has a uri scheme so it is an absolute uri -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:when test="$keep.relative.image.uris != 0">
+      <!-- leave it alone -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- its a relative uri -->
+      <xsl:call-template name="relative-uri">
+        <xsl:with-param name="destdir">
+          <xsl:call-template name="dbhtml-dir">
+            <xsl:with-param name="context" select=".."/>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/chunk-common.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/chunk-common.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/chunk-common.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1169 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: chunk-common.xsl 6403 2006-11-12 08:23:54Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template name="chunk">
+  <xsl:param name="node" select="."/>
+  <!-- returns 1 if $node is a chunk -->
+
+  <!-- ==================================================================== -->
+  <!-- What's a chunk?
+
+       The root element
+       appendix
+       article
+       bibliography  in article or part or book
+       book
+       chapter
+       colophon
+       glossary      in article or part or book
+       index         in article or part or book
+       part
+       preface
+       refentry
+       reference
+       sect{1,2,3,4,5}  if position()>1 && depth < chunk.section.depth
+       section          if position()>1 && depth < chunk.section.depth
+       set
+       setindex
+                                                                            -->
+  <!-- ==================================================================== -->
+
+<!--
+  <xsl:message>
+    <xsl:text>chunk: </xsl:text>
+    <xsl:value-of select="name($node)"/>
+    <xsl:text>(</xsl:text>
+    <xsl:value-of select="$node/@id"/>
+    <xsl:text>)</xsl:text>
+    <xsl:text> csd: </xsl:text>
+    <xsl:value-of select="$chunk.section.depth"/>
+    <xsl:text> cfs: </xsl:text>
+    <xsl:value-of select="$chunk.first.sections"/>
+    <xsl:text> ps: </xsl:text>
+    <xsl:value-of select="count($node/parent::section)"/>
+    <xsl:text> prs: </xsl:text>
+    <xsl:value-of select="count($node/preceding-sibling::section)"/>
+  </xsl:message>
+-->
+
+  <xsl:choose>
+    <xsl:when test="not($node/parent::*)">1</xsl:when>
+
+    <xsl:when test="local-name($node) = 'sect1'                     and $chunk.section.depth &gt;= 1                     and ($chunk.first.sections != 0                          or count($node/preceding-sibling::sect1) &gt; 0)">
+      <xsl:text>1</xsl:text>
+    </xsl:when>
+    <xsl:when test="local-name($node) = 'sect2'                     and $chunk.section.depth &gt;= 2                     and ($chunk.first.sections != 0                          or count($node/preceding-sibling::sect2) &gt; 0)">
+      <xsl:call-template name="chunk">
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="local-name($node) = 'sect3'                     and $chunk.section.depth &gt;= 3                     and ($chunk.first.sections != 0                          or count($node/preceding-sibling::sect3) &gt; 0)">
+      <xsl:call-template name="chunk">
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="local-name($node) = 'sect4'                     and $chunk.section.depth &gt;= 4                     and ($chunk.first.sections != 0                          or count($node/preceding-sibling::sect4) &gt; 0)">
+      <xsl:call-template name="chunk">
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="local-name($node) = 'sect5'                     and $chunk.section.depth &gt;= 5                     and ($chunk.first.sections != 0                          or count($node/preceding-sibling::sect5) &gt; 0)">
+      <xsl:call-template name="chunk">
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="local-name($node) = 'section'                     and $chunk.section.depth &gt;= count($node/ancestor::section)+1                     and ($chunk.first.sections != 0                          or count($node/preceding-sibling::section) &gt; 0)">
+      <xsl:call-template name="chunk">
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:when test="local-name($node)='preface'">1</xsl:when>
+    <xsl:when test="local-name($node)='chapter'">1</xsl:when>
+    <xsl:when test="local-name($node)='appendix'">1</xsl:when>
+    <xsl:when test="local-name($node)='article'">1</xsl:when>
+    <xsl:when test="local-name($node)='part'">1</xsl:when>
+    <xsl:when test="local-name($node)='reference'">1</xsl:when>
+    <xsl:when test="local-name($node)='refentry'">1</xsl:when>
+    <xsl:when test="local-name($node)='index' and ($generate.index != 0 or count($node/*) &gt; 0)                     and (local-name($node/parent::*) = 'article'                     or local-name($node/parent::*) = 'book'                     or local-name($node/parent::*) = 'part'                     )">1</xsl:when>
+    <xsl:when test="local-name($node)='bibliography'                     and (local-name($node/parent::*) = 'article'                     or local-name($node/parent::*) = 'book'                     or local-name($node/parent::*) = 'part'                     )">1</xsl:when>
+    <xsl:when test="local-name($node)='glossary'                     and (local-name($node/parent::*) = 'article'                     or local-name($node/parent::*) = 'book'                     or local-name($node/parent::*) = 'part'                     )">1</xsl:when>
+    <xsl:when test="local-name($node)='colophon'">1</xsl:when>
+    <xsl:when test="local-name($node)='book'">1</xsl:when>
+    <xsl:when test="local-name($node)='set'">1</xsl:when>
+    <xsl:when test="local-name($node)='setindex'">1</xsl:when>
+    <xsl:when test="local-name($node)='legalnotice'                     and $generate.legalnotice.link != 0">1</xsl:when>
+    <xsl:otherwise>0</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="chunk-filename">
+  <!-- returns the filename of a chunk -->
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:variable name="fn">
+    <xsl:apply-templates select="." mode="recursive-chunk-filename"/>
+  </xsl:variable>
+
+  <!--
+  <xsl:message>
+    <xsl:value-of select="$ischunk"/>
+    <xsl:text> (</xsl:text>
+    <xsl:value-of select="local-name(.)"/>
+    <xsl:text>) </xsl:text>
+    <xsl:value-of select="$fn"/>
+    <xsl:text>, </xsl:text>
+    <xsl:call-template name="dbhtml-dir"/>
+  </xsl:message>
+  -->
+
+  <!-- 2003-11-25 by ndw:
+       The following test used to read test="$ischunk != 0 and $fn != ''"
+       I've removed the ischunk part of the test so that href.to.uri and
+       href.from.uri will be fully qualified even if the source or target
+       isn't a chunk. I *think* that if $fn != '' then it's appropriate
+       to put the directory on the front, even if the element isn't a
+       chunk. I could be wrong. -->
+
+  <xsl:if test="$fn != ''">
+    <xsl:call-template name="dbhtml-dir"/>
+  </xsl:if>
+
+  <xsl:value-of select="$fn"/>
+  <!-- You can't add the html.ext here because dbhtml filename= may already -->
+  <!-- have added it. It really does have to be handled in the recursive template -->
+</xsl:template>
+
+<xsl:template match="*" mode="recursive-chunk-filename">
+  <xsl:param name="recursive" select="false()"/>
+
+  <!-- returns the filename of a chunk -->
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:variable name="dbhtml-filename">
+    <xsl:call-template name="dbhtml-filename"/>
+  </xsl:variable>
+
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="$dbhtml-filename != ''">
+        <xsl:value-of select="$dbhtml-filename"/>
+      </xsl:when>
+      <!-- if this is the root element, use the root.filename -->
+      <xsl:when test="not(parent::*) and $root.filename != ''">
+        <xsl:value-of select="$root.filename"/>
+        <xsl:value-of select="$html.ext"/>
+      </xsl:when>
+      <!-- Special case -->
+      <xsl:when test="self::legalnotice and $generate.legalnotice.link != 0">
+        <xsl:variable name="id">
+          <xsl:call-template name="object.id"/>
+        </xsl:variable>
+        <xsl:value-of select="concat('ln-',$id,$html.ext)"/>
+      </xsl:when>
+      <!-- if there's no dbhtml filename, and if we're to use IDs as -->
+      <!-- filenames, then use the ID to generate the filename. -->
+      <xsl:when test="(@id or @xml:id) and $use.id.as.filename != 0">
+        <xsl:value-of select="(@id|@xml:id)[1]"/>
+        <xsl:value-of select="$html.ext"/>
+      </xsl:when>
+      <xsl:otherwise/>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$ischunk='0'">
+      <!-- if called on something that isn't a chunk, walk up... -->
+      <xsl:choose>
+        <xsl:when test="count(parent::*)&gt;0">
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="$recursive"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <!-- unless there is no up, in which case return "" -->
+        <xsl:otherwise/>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="not($recursive) and $filename != ''">
+      <!-- if this chunk has an explicit name, use it -->
+      <xsl:value-of select="$filename"/>
+    </xsl:when>
+
+    <xsl:when test="self::set">
+      <xsl:value-of select="$root.filename"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::book">
+      <xsl:text>bk</xsl:text>
+      <xsl:number level="any" format="01"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::article">
+      <xsl:if test="/set">
+        <!-- in a set, make sure we inherit the right book info... -->
+        <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+          <xsl:with-param name="recursive" select="true()"/>
+        </xsl:apply-templates>
+      </xsl:if>
+
+      <xsl:text>ar</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::preface">
+      <xsl:if test="/set">
+        <!-- in a set, make sure we inherit the right book info... -->
+        <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+          <xsl:with-param name="recursive" select="true()"/>
+        </xsl:apply-templates>
+      </xsl:if>
+
+      <xsl:text>pr</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::chapter">
+      <xsl:if test="/set">
+        <!-- in a set, make sure we inherit the right book info... -->
+        <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+          <xsl:with-param name="recursive" select="true()"/>
+        </xsl:apply-templates>
+      </xsl:if>
+
+      <xsl:text>ch</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::appendix">
+      <xsl:if test="/set">
+        <!-- in a set, make sure we inherit the right book info... -->
+        <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+          <xsl:with-param name="recursive" select="true()"/>
+        </xsl:apply-templates>
+      </xsl:if>
+
+      <xsl:text>ap</xsl:text>
+      <xsl:number level="any" format="a" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::part">
+      <xsl:choose>
+        <xsl:when test="/set">
+          <!-- in a set, make sure we inherit the right book info... -->
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>pt</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::reference">
+      <xsl:choose>
+        <xsl:when test="/set">
+          <!-- in a set, make sure we inherit the right book info... -->
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>rn</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::refentry">
+      <xsl:choose>
+        <xsl:when test="parent::reference">
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>re</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::colophon">
+      <xsl:choose>
+        <xsl:when test="/set">
+          <!-- in a set, make sure we inherit the right book info... -->
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>co</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::sect1                     or self::sect2                     or self::sect3                     or self::sect4                     or self::sect5                     or self::section">
+      <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+        <xsl:with-param name="recursive" select="true()"/>
+      </xsl:apply-templates>
+      <xsl:text>s</xsl:text>
+      <xsl:number format="01"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::bibliography">
+      <xsl:choose>
+        <xsl:when test="/set">
+          <!-- in a set, make sure we inherit the right book info... -->
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>bi</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::glossary">
+      <xsl:choose>
+        <xsl:when test="/set">
+          <!-- in a set, make sure we inherit the right book info... -->
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>go</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::index">
+      <xsl:choose>
+        <xsl:when test="/set">
+          <!-- in a set, make sure we inherit the right book info... -->
+          <xsl:apply-templates mode="recursive-chunk-filename" select="parent::*">
+            <xsl:with-param name="recursive" select="true()"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+        </xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:text>ix</xsl:text>
+      <xsl:number level="any" format="01" from="book"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="self::setindex">
+      <xsl:text>si</xsl:text>
+      <xsl:number level="any" format="01" from="set"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:text>chunk-filename-error-</xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:number level="any" format="01" from="set"/>
+      <xsl:if test="not($recursive)">
+        <xsl:value-of select="$html.ext"/>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="href.target.uri">
+  <xsl:param name="object" select="."/>
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk">
+      <xsl:with-param name="node" select="$object"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:apply-templates mode="chunk-filename" select="$object"/>
+
+  <xsl:if test="$ischunk='0'">
+    <xsl:text>#</xsl:text>
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$object"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="href.target">
+  <xsl:param name="context" select="."/>
+  <xsl:param name="object" select="."/>
+
+  <xsl:variable name="href.to.uri">
+    <xsl:call-template name="href.target.uri">
+      <xsl:with-param name="object" select="$object"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="href.from.uri">
+    <xsl:call-template name="href.target.uri">
+      <xsl:with-param name="object" select="$context"/>
+    </xsl:call-template>
+  </xsl:variable>
+  
+  <!--
+  <xsl:message>href.to.uri: <xsl:value-of select="$href.to.uri"/></xsl:message>
+  <xsl:message>href.from.uri: <xsl:value-of select="$href.from.uri"/></xsl:message>
+  -->
+
+  <xsl:variable name="href.to">
+    <xsl:call-template name="trim.common.uri.paths">
+      <xsl:with-param name="uriA" select="$href.to.uri"/>
+      <xsl:with-param name="uriB" select="$href.from.uri"/>
+      <xsl:with-param name="return" select="'A'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="href.from">
+    <xsl:call-template name="trim.common.uri.paths">
+      <xsl:with-param name="uriA" select="$href.to.uri"/>
+      <xsl:with-param name="uriB" select="$href.from.uri"/>
+      <xsl:with-param name="return" select="'B'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="depth">
+    <xsl:call-template name="count.uri.path.depth">
+      <xsl:with-param name="filename" select="$href.from"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="href">
+    <xsl:call-template name="copy-string">
+      <xsl:with-param name="string" select="'../'"/>
+      <xsl:with-param name="count" select="$depth"/>
+    </xsl:call-template>
+    <xsl:value-of select="$href.to"/>
+  </xsl:variable>
+
+  <!--
+  <xsl:message>
+    <xsl:text>In </xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text> (</xsl:text>
+    <xsl:value-of select="$href.from"/>
+    <xsl:text>,</xsl:text>
+    <xsl:value-of select="$depth"/>
+    <xsl:text>) </xsl:text>
+    <xsl:value-of select="name($object)"/>
+    <xsl:text> href=</xsl:text>
+    <xsl:value-of select="$href"/>
+  </xsl:message>
+  -->
+
+  <xsl:value-of select="$href"/>
+</xsl:template>
+
+<!-- Returns the complete olink href value if found -->
+<!-- Must take into account any dbhtml dir of the chunk containing the olink -->
+<xsl:template name="make.olink.href">
+  <xsl:param name="olink.key" select="''"/>
+  <xsl:param name="target.database"/>
+
+  <xsl:if test="$olink.key != ''">
+    <xsl:variable name="target.href">
+      <xsl:for-each select="$target.database">
+        <xsl:value-of select="key('targetptr-key', $olink.key)/@href"/>
+      </xsl:for-each>
+    </xsl:variable>
+  
+    <!-- an olink starting point may be in a subdirectory, so need
+         the "from" reference point to compute a relative path -->
+
+    <xsl:variable name="from.href">
+      <xsl:call-template name="olink.from.uri">
+        <xsl:with-param name="target.database" select="$target.database"/>
+        <xsl:with-param name="object" select="."/>
+        <xsl:with-param name="object.targetdoc" select="$current.docid"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <!-- If the from.href has directory path, then must "../" upward
+         to document level -->
+    <xsl:variable name="upward.from.path">
+      <xsl:call-template name="upward.path">
+        <xsl:with-param name="path" select="$from.href"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="targetdoc">
+      <xsl:value-of select="substring-before($olink.key, '/')"/>
+    </xsl:variable>
+  
+    <!-- Does the target database use a sitemap? -->
+    <xsl:variable name="use.sitemap">
+      <xsl:choose>
+        <xsl:when test="$target.database//sitemap">1</xsl:when>
+        <xsl:otherwise>0</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+  
+  
+    <!-- Get the baseuri for this targetptr -->
+    <xsl:variable name="baseuri">
+      <xsl:choose>
+        <!-- Does the database use a sitemap? -->
+        <xsl:when test="$use.sitemap != 0">
+          <xsl:choose>
+            <!-- Was current.docid parameter set? -->
+            <xsl:when test="$current.docid != ''">
+              <!-- Was it found in the database? -->
+              <xsl:variable name="currentdoc.key">
+                <xsl:for-each select="$target.database">
+                  <xsl:value-of select="key('targetdoc-key',                                         $current.docid)/@targetdoc"/>
+                </xsl:for-each>
+              </xsl:variable>
+              <xsl:choose>
+                <xsl:when test="$currentdoc.key != ''">
+                  <xsl:for-each select="$target.database">
+                    <xsl:call-template name="targetpath">
+                      <xsl:with-param name="dirnode" select="key('targetdoc-key', $current.docid)/parent::dir"/>
+                      <xsl:with-param name="targetdoc" select="$targetdoc"/>
+                    </xsl:call-template>
+                  </xsl:for-each>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:message>
+                    <xsl:text>Olink error: cannot compute relative </xsl:text>
+                    <xsl:text>sitemap path because $current.docid '</xsl:text>
+                    <xsl:value-of select="$current.docid"/>
+                    <xsl:text>' not found in target database.</xsl:text>
+                  </xsl:message>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message>
+                <xsl:text>Olink warning: cannot compute relative </xsl:text>
+                <xsl:text>sitemap path without $current.docid parameter</xsl:text>
+              </xsl:message>
+            </xsl:otherwise>
+          </xsl:choose> 
+          <!-- In either case, add baseuri from its document entry-->
+          <xsl:variable name="docbaseuri">
+            <xsl:for-each select="$target.database">
+              <xsl:value-of select="key('targetdoc-key', $targetdoc)/@baseuri"/>
+            </xsl:for-each>
+          </xsl:variable>
+          <xsl:if test="$docbaseuri != ''">
+            <xsl:value-of select="$docbaseuri"/>
+          </xsl:if>
+        </xsl:when>
+        <!-- No database sitemap in use -->
+        <xsl:otherwise>
+          <!-- Just use any baseuri from its document entry -->
+          <xsl:variable name="docbaseuri">
+            <xsl:for-each select="$target.database">
+              <xsl:value-of select="key('targetdoc-key', $targetdoc)/@baseuri"/>
+            </xsl:for-each>
+          </xsl:variable>
+          <xsl:if test="$docbaseuri != ''">
+            <xsl:value-of select="$docbaseuri"/>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+  
+    <!-- Form the href information -->
+    <xsl:if test="not(contains($baseuri, ':'))">
+      <!-- if not an absolute uri, add upward path from olink chunk -->
+      <xsl:value-of select="$upward.from.path"/>
+    </xsl:if>
+
+    <xsl:if test="$baseuri != ''">
+      <xsl:value-of select="$baseuri"/>
+      <xsl:if test="substring($target.href,1,1) != '#'">
+        <!--xsl:text>/</xsl:text-->
+      </xsl:if>
+    </xsl:if>
+    <!-- optionally turn off frag for PDF references -->
+    <xsl:if test="not($insert.olink.pdf.frag = 0 and           translate(substring($baseuri, string-length($baseuri) - 3),                     'PDF', 'pdf') = '.pdf'           and starts-with($target.href, '#') )">
+      <xsl:value-of select="$target.href"/>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<!-- Computes "../" to reach top -->
+<xsl:template name="upward.path">
+  <xsl:param name="path" select="''"/>
+  <xsl:choose> 
+    <!-- Don't bother with absolute uris -->
+    <xsl:when test="contains($path, ':')"/>
+    <xsl:when test="starts-with($path, '/')"/>
+    <xsl:when test="contains($path, '/')">
+      <xsl:text>../</xsl:text>
+      <xsl:call-template name="upward.path">
+        <xsl:with-param name="path" select="substring-after($path, '/')"/>
+      </xsl:call-template>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="html.head">
+  <xsl:param name="prev" select="/foo"/>
+  <xsl:param name="next" select="/foo"/>
+  <xsl:variable name="this" select="."/>
+  <xsl:variable name="home" select="/*[1]"/>
+  <xsl:variable name="up" select="parent::*"/>
+
+  <head>
+    <xsl:call-template name="system.head.content"/>
+    <xsl:call-template name="head.content"/>
+
+    <xsl:if test="$home">
+      <link rel="start">
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$home"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:apply-templates select="$home" mode="object.title.markup.textonly"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:if test="$up">
+      <link rel="up">
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$up"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:apply-templates select="$up" mode="object.title.markup.textonly"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:if test="$prev">
+      <link rel="prev">
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$prev"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:apply-templates select="$prev" mode="object.title.markup.textonly"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:if test="$next">
+      <link rel="next">
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$next"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:attribute name="title">
+          <xsl:apply-templates select="$next" mode="object.title.markup.textonly"/>
+        </xsl:attribute>
+      </link>
+    </xsl:if>
+
+    <xsl:if test="$html.extra.head.links != 0">
+      <xsl:for-each select="//part                             |//reference                             |//preface                             |//chapter                             |//article                             |//refentry                             |//appendix[not(parent::article)]|appendix                             |//glossary[not(parent::article)]|glossary                             |//index[not(parent::article)]|index">
+        <link rel="{local-name(.)}">
+          <xsl:attribute name="href">
+            <xsl:call-template name="href.target">
+              <xsl:with-param name="context" select="$this"/>
+              <xsl:with-param name="object" select="."/>
+            </xsl:call-template>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+            <xsl:apply-templates select="." mode="object.title.markup.textonly"/>
+          </xsl:attribute>
+        </link>
+      </xsl:for-each>
+
+      <xsl:for-each select="section|sect1|refsection|refsect1">
+        <link>
+          <xsl:attribute name="rel">
+            <xsl:choose>
+              <xsl:when test="local-name($this) = 'section'                               or local-name($this) = 'refsection'">
+                <xsl:value-of select="'subsection'"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select="'section'"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:attribute>
+          <xsl:attribute name="href">
+            <xsl:call-template name="href.target">
+              <xsl:with-param name="context" select="$this"/>
+              <xsl:with-param name="object" select="."/>
+            </xsl:call-template>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+            <xsl:apply-templates select="." mode="object.title.markup.textonly"/>
+          </xsl:attribute>
+        </link>
+      </xsl:for-each>
+
+      <xsl:for-each select="sect2|sect3|sect4|sect5|refsect2|refsect3">
+        <link rel="subsection">
+          <xsl:attribute name="href">
+            <xsl:call-template name="href.target">
+              <xsl:with-param name="context" select="$this"/>
+              <xsl:with-param name="object" select="."/>
+            </xsl:call-template>
+          </xsl:attribute>
+          <xsl:attribute name="title">
+            <xsl:apply-templates select="." mode="object.title.markup.textonly"/>
+          </xsl:attribute>
+        </link>
+      </xsl:for-each>
+    </xsl:if>
+
+    <!-- * if we have a legalnotice and user wants it output as a -->
+    <!-- * separate page and $html.head.legalnotice.link.types is -->
+    <!-- * non-empty, we generate a link or links for each value in -->
+    <!-- * $html.head.legalnotice.link.types -->
+    <xsl:if test="//legalnotice                   and not($generate.legalnotice.link = 0)                   and not($html.head.legalnotice.link.types = '')">
+      <xsl:call-template name="make.legalnotice.head.links"/>
+    </xsl:if>
+
+    <xsl:call-template name="user.head.content"/>
+  </head>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="header.navigation">
+  <xsl:param name="prev" select="/foo"/>
+  <xsl:param name="next" select="/foo"/>
+  <xsl:param name="nav.context"/>
+
+  <xsl:variable name="home" select="/*[1]"/>
+  <xsl:variable name="up" select="parent::*"/>
+
+  <xsl:variable name="row1" select="$navig.showtitles != 0"/>
+  <xsl:variable name="row2" select="count($prev) &gt; 0                                     or (count($up) &gt; 0                                          and generate-id($up) != generate-id($home)                                         and $navig.showtitles != 0)                                     or count($next) &gt; 0"/>
+
+  <xsl:if test="$suppress.navigation = '0' and $suppress.header.navigation = '0'">
+    <div class="navheader">
+      <xsl:if test="$row1 or $row2">
+        <table width="100%" summary="Navigation header">
+          <xsl:if test="$row1">
+            <tr>
+              <th colspan="3" align="center">
+                <xsl:apply-templates select="." mode="object.title.markup"/>
+              </th>
+            </tr>
+          </xsl:if>
+
+          <xsl:if test="$row2">
+            <tr>
+              <td width="20%" align="left">
+                <xsl:if test="count($prev)&gt;0">
+                  <a accesskey="p">
+                    <xsl:attribute name="href">
+                      <xsl:call-template name="href.target">
+                        <xsl:with-param name="object" select="$prev"/>
+                      </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:call-template name="navig.content">
+                      <xsl:with-param name="direction" select="'prev'"/>
+                    </xsl:call-template>
+                  </a>
+                </xsl:if>
+                <xsl:text>&#160;</xsl:text>
+              </td>
+              <th width="60%" align="center">
+                <xsl:choose>
+                  <xsl:when test="count($up) &gt; 0                                   and generate-id($up) != generate-id($home)                                   and $navig.showtitles != 0">
+                    <xsl:apply-templates select="$up" mode="object.title.markup"/>
+                  </xsl:when>
+                  <xsl:otherwise>&#160;</xsl:otherwise>
+                </xsl:choose>
+              </th>
+              <td width="20%" align="right">
+                <xsl:text>&#160;</xsl:text>
+                <xsl:if test="count($next)&gt;0">
+                  <a accesskey="n">
+                    <xsl:attribute name="href">
+                      <xsl:call-template name="href.target">
+                        <xsl:with-param name="object" select="$next"/>
+                      </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:call-template name="navig.content">
+                      <xsl:with-param name="direction" select="'next'"/>
+                    </xsl:call-template>
+                  </a>
+                </xsl:if>
+              </td>
+            </tr>
+          </xsl:if>
+        </table>
+      </xsl:if>
+      <xsl:if test="$header.rule != 0">
+        <hr/>
+      </xsl:if>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="footer.navigation">
+  <xsl:param name="prev" select="/foo"/>
+  <xsl:param name="next" select="/foo"/>
+  <xsl:param name="nav.context"/>
+
+  <xsl:variable name="home" select="/*[1]"/>
+  <xsl:variable name="up" select="parent::*"/>
+
+  <xsl:variable name="row1" select="count($prev) &gt; 0                                     or count($up) &gt; 0                                     or count($next) &gt; 0"/>
+
+  <xsl:variable name="row2" select="($prev and $navig.showtitles != 0)                                     or (generate-id($home) != generate-id(.)                                         or $nav.context = 'toc')                                     or ($chunk.tocs.and.lots != 0                                         and $nav.context != 'toc')                                     or ($next and $navig.showtitles != 0)"/>
+
+  <xsl:if test="$suppress.navigation = '0' and $suppress.footer.navigation = '0'">
+    <div class="navfooter">
+      <xsl:if test="$footer.rule != 0">
+        <hr/>
+      </xsl:if>
+
+      <xsl:if test="$row1 or $row2">
+        <table width="100%" summary="Navigation footer">
+          <xsl:if test="$row1">
+            <tr>
+              <td width="40%" align="left">
+                <xsl:if test="count($prev)&gt;0">
+                  <a accesskey="p">
+                    <xsl:attribute name="href">
+                      <xsl:call-template name="href.target">
+                        <xsl:with-param name="object" select="$prev"/>
+                      </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:call-template name="navig.content">
+                      <xsl:with-param name="direction" select="'prev'"/>
+                    </xsl:call-template>
+                  </a>
+                </xsl:if>
+                <xsl:text>&#160;</xsl:text>
+              </td>
+              <td width="20%" align="center">
+                <xsl:choose>
+                  <xsl:when test="count($up)&gt;0                                   and generate-id($up) != generate-id($home)">
+                    <a accesskey="u">
+                      <xsl:attribute name="href">
+                        <xsl:call-template name="href.target">
+                          <xsl:with-param name="object" select="$up"/>
+                        </xsl:call-template>
+                      </xsl:attribute>
+                      <xsl:call-template name="navig.content">
+                        <xsl:with-param name="direction" select="'up'"/>
+                      </xsl:call-template>
+                    </a>
+                  </xsl:when>
+                  <xsl:otherwise>&#160;</xsl:otherwise>
+                </xsl:choose>
+              </td>
+              <td width="40%" align="right">
+                <xsl:text>&#160;</xsl:text>
+                <xsl:if test="count($next)&gt;0">
+                  <a accesskey="n">
+                    <xsl:attribute name="href">
+                      <xsl:call-template name="href.target">
+                        <xsl:with-param name="object" select="$next"/>
+                      </xsl:call-template>
+                    </xsl:attribute>
+                    <xsl:call-template name="navig.content">
+                      <xsl:with-param name="direction" select="'next'"/>
+                    </xsl:call-template>
+                  </a>
+                </xsl:if>
+              </td>
+            </tr>
+          </xsl:if>
+
+          <xsl:if test="$row2">
+            <tr>
+              <td width="40%" align="left" valign="top">
+                <xsl:if test="$navig.showtitles != 0">
+                  <xsl:apply-templates select="$prev" mode="object.title.markup"/>
+                </xsl:if>
+                <xsl:text>&#160;</xsl:text>
+              </td>
+              <td width="20%" align="center">
+                <xsl:choose>
+                  <xsl:when test="$home != . or $nav.context = 'toc'">
+                    <a accesskey="h">
+                      <xsl:attribute name="href">
+                        <xsl:call-template name="href.target">
+                          <xsl:with-param name="object" select="$home"/>
+                        </xsl:call-template>
+                      </xsl:attribute>
+                      <xsl:call-template name="navig.content">
+                        <xsl:with-param name="direction" select="'home'"/>
+                      </xsl:call-template>
+                    </a>
+                    <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
+                      <xsl:text>&#160;|&#160;</xsl:text>
+                    </xsl:if>
+                  </xsl:when>
+                  <xsl:otherwise>&#160;</xsl:otherwise>
+                </xsl:choose>
+
+                <xsl:if test="$chunk.tocs.and.lots != 0 and $nav.context != 'toc'">
+                  <a accesskey="t">
+                    <xsl:attribute name="href">
+                      <xsl:apply-templates select="/*[1]" mode="recursive-chunk-filename">
+                        <xsl:with-param name="recursive" select="true()"/>
+                      </xsl:apply-templates>
+                      <xsl:text>-toc</xsl:text>
+                      <xsl:value-of select="$html.ext"/>
+                    </xsl:attribute>
+                    <xsl:call-template name="gentext">
+                      <xsl:with-param name="key" select="'nav-toc'"/>
+                    </xsl:call-template>
+                  </a>
+                </xsl:if>
+              </td>
+              <td width="40%" align="right" valign="top">
+                <xsl:text>&#160;</xsl:text>
+                <xsl:if test="$navig.showtitles != 0">
+                  <xsl:apply-templates select="$next" mode="object.title.markup"/>
+                </xsl:if>
+              </td>
+            </tr>
+          </xsl:if>
+        </table>
+      </xsl:if>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="navig.content">
+    <xsl:param name="direction" select="next"/>
+    <xsl:variable name="navtext">
+        <xsl:choose>
+            <xsl:when test="$direction = 'prev'">
+                <xsl:call-template name="gentext.nav.prev"/>
+            </xsl:when>
+            <xsl:when test="$direction = 'next'">
+                <xsl:call-template name="gentext.nav.next"/>
+            </xsl:when>
+            <xsl:when test="$direction = 'up'">
+                <xsl:call-template name="gentext.nav.up"/>
+            </xsl:when>
+            <xsl:when test="$direction = 'home'">
+                <xsl:call-template name="gentext.nav.home"/>
+            </xsl:when>
+            <xsl:otherwise>
+                <xsl:text>xxx</xsl:text>
+            </xsl:otherwise>
+        </xsl:choose>
+    </xsl:variable>
+
+    <xsl:choose>
+        <xsl:when test="$navig.graphics != 0">
+            <img>
+                <xsl:attribute name="src">
+                    <xsl:value-of select="$navig.graphics.path"/>
+                    <xsl:value-of select="$direction"/>
+                    <xsl:value-of select="$navig.graphics.extension"/>
+                </xsl:attribute>
+                <xsl:attribute name="alt">
+                    <xsl:value-of select="$navtext"/>
+                </xsl:attribute>
+            </img>
+        </xsl:when>
+        <xsl:otherwise>
+            <xsl:value-of select="$navtext"/>
+        </xsl:otherwise>
+    </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- * The following template assumes that the first legalnotice -->
+<!-- * instance found in a document applies to the contents of the -->
+<!-- * entire document. It generates an HTML link in each chunk, back -->
+<!-- * to the file containing the contents of the first legalnotice. -->
+<!-- * -->
+<!-- * Actually, it may generate multiple link instances in each chunk, -->
+<!-- * because it walks through the space-separated list of link -->
+<!-- * types specified in the $html.head.legalnotice.link.types param, -->
+<!-- * popping off link types and generating links for them until it -->
+<!-- * depletes the list. -->
+  
+<xsl:template name="make.legalnotice.head.links">
+  <!-- * the following ID is used as part of the legalnotice filename; -->
+  <!-- * we need it in order to construct the filename for use in the -->
+  <!-- * value of the href attribute on the link -->
+  <xsl:param name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="(//legalnotice)[1]"/>
+    </xsl:call-template>
+  </xsl:param>
+  <xsl:param name="linktype">
+    <xsl:choose>
+      <xsl:when test="contains($html.head.legalnotice.link.types, ' ')">
+        <xsl:value-of select="normalize-space(                     substring-before($html.head.legalnotice.link.types, ' '))"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$html.head.legalnotice.link.types"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:param>
+  <xsl:param name="remaining.linktypes" select="concat(               normalize-space(               substring-after($html.head.legalnotice.link.types, ' ')),' ')"/>
+  <xsl:if test="not($linktype = '')">
+    <link rel="{$linktype}">
+      <xsl:attribute name="href">
+        <xsl:value-of select="concat('ln-',$id,$html.ext)"/>
+      </xsl:attribute>
+      <xsl:attribute name="title">
+        <xsl:apply-templates select="(//legalnotice)[1]" mode="object.title.markup.textonly"/>
+      </xsl:attribute>
+    </link>
+    <xsl:call-template name="make.legalnotice.head.links">
+      <!-- * pop the next value off the list of link types -->
+      <xsl:with-param name="linktype" select="substring-before($remaining.linktypes, ' ')"/>
+      <!-- * remove the link type from the list of remaining link types -->
+      <xsl:with-param name="remaining.linktypes" select="substring-after($remaining.linktypes, ' ')"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="processing-instruction('dbhtml')">
+  <!-- nop -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="chunk-element-content">
+  <xsl:param name="prev"/>
+  <xsl:param name="next"/>
+  <xsl:param name="nav.context"/>
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:call-template name="user.preroot"/>
+
+  <html>
+    <xsl:call-template name="html.head">
+      <xsl:with-param name="prev" select="$prev"/>
+      <xsl:with-param name="next" select="$next"/>
+    </xsl:call-template>
+
+    <body>
+      <xsl:call-template name="body.attributes"/>
+      <xsl:call-template name="user.header.navigation"/>
+
+      <xsl:call-template name="header.navigation">
+        <xsl:with-param name="prev" select="$prev"/>
+        <xsl:with-param name="next" select="$next"/>
+        <xsl:with-param name="nav.context" select="$nav.context"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="user.header.content"/>
+
+      <xsl:copy-of select="$content"/>
+
+      <xsl:call-template name="user.footer.content"/>
+
+      <xsl:call-template name="footer.navigation">
+        <xsl:with-param name="prev" select="$prev"/>
+        <xsl:with-param name="next" select="$next"/>
+        <xsl:with-param name="nav.context" select="$nav.context"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="user.footer.navigation"/>
+    </body>
+  </html>
+  <xsl:value-of select="$chunk.append"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/chunk.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/chunk.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/chunk.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="exsl">
+
+<!-- ********************************************************************
+     $Id: chunk.xsl 3202 2003-11-30 19:42:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="docbook.xsl"/>
+<xsl:import href="chunk-common.xsl"/>
+<xsl:include href="manifest.xsl"/>
+
+<!-- Why is chunk-code now xsl:included?
+
+Suppose you want to customize *both* the chunking algorithm used *and* the
+presentation of some elements that may be chunks. In order to do that, you
+must get the order of imports "just right". The answer is to make your own
+copy of this file, where you replace the initial import of "docbook.xsl"
+with an import of your own base.xsl (that does its own import of docbook.xsl).
+
+Put the templates for changing the presentation of elements in your base.xsl.
+
+Put the templates that control chunking after the include of chunk-code.xsl.
+
+Voila! (Man I hope we can do this better in XSLT 2.0)
+
+-->
+
+<xsl:include href="chunk-code.xsl"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/chunker.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/chunker.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/chunker.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,302 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://icl.com/saxon" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:redirect="http://xml.apache.org/xalan/redirect" xmlns:exsl="http://exslt.org/common" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="doc" extension-element-prefixes="saxon redirect lxslt exsl">
+
+<!-- ********************************************************************
+     $Id: chunker.xsl 6403 2006-11-12 08:23:54Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- This stylesheet works with XSLT implementations that support -->
+<!-- exsl:document, saxon:output, or Xalan's redirect:write -->
+<!-- Note: Only Saxon 6.4.2 or later is supported. -->
+
+<xsl:param name="chunker.output.method" select="'xml'"/>
+<xsl:param name="chunker.output.encoding" select="'UTF-8'"/>
+<xsl:param name="chunker.output.indent" select="'no'"/>
+<xsl:param name="chunker.output.omit-xml-declaration" select="'no'"/>
+<xsl:param name="chunker.output.standalone" select="'no'"/>
+<xsl:param name="chunker.output.doctype-public" select="'-//W3C//DTD XHTML 1.0 Transitional//EN'"/>
+<xsl:param name="chunker.output.doctype-system" select="'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'"/>
+<xsl:param name="chunker.output.media-type" select="''"/>
+<xsl:param name="chunker.output.cdata-section-elements" select="''"/>
+<xsl:param name="chunker.output.quiet" select="0"/>
+
+<xsl:param name="saxon.character.representation" select="'entity;decimal'"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="make-relative-filename">
+  <xsl:param name="base.dir" select="'./'"/>
+  <xsl:param name="base.name" select="''"/>
+
+  <xsl:choose>
+    <!-- put Saxon first to work around a bug in libxslt -->
+    <xsl:when test="element-available('saxon:output')">
+      <!-- Saxon doesn't make the chunks relative -->
+      <xsl:value-of select="concat($base.dir,$base.name)"/>
+    </xsl:when>
+    <xsl:when test="element-available('exsl:document')">
+      <!-- EXSL document does make the chunks relative, I think -->
+      <xsl:choose>
+        <xsl:when test="count(parent::*) = 0">
+          <xsl:value-of select="concat($base.dir,$base.name)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$base.name"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:when test="element-available('redirect:write')">
+      <!-- Xalan doesn't make the chunks relative -->
+      <xsl:value-of select="concat($base.dir,$base.name)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message terminate="yes">
+        <xsl:text>Don't know how to chunk with </xsl:text>
+        <xsl:value-of select="system-property('xsl:vendor')"/>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="write.chunk">
+  <xsl:param name="filename" select="''"/>
+  <xsl:param name="quiet" select="$chunker.output.quiet"/>
+  <xsl:param name="suppress-context-node-name" select="0"/>
+  <xsl:param name="message-prolog"/>
+  <xsl:param name="message-epilog"/>
+
+  <xsl:param name="method" select="$chunker.output.method"/>
+  <xsl:param name="encoding" select="$chunker.output.encoding"/>
+  <xsl:param name="indent" select="$chunker.output.indent"/>
+  <xsl:param name="omit-xml-declaration" select="$chunker.output.omit-xml-declaration"/>
+  <xsl:param name="standalone" select="$chunker.output.standalone"/>
+  <xsl:param name="doctype-public" select="$chunker.output.doctype-public"/>
+  <xsl:param name="doctype-system" select="$chunker.output.doctype-system"/>
+  <xsl:param name="media-type" select="$chunker.output.media-type"/>
+  <xsl:param name="cdata-section-elements" select="$chunker.output.cdata-section-elements"/>
+
+  <xsl:param name="content"/>
+
+  <xsl:if test="$quiet = 0">
+    <xsl:message>
+      <xsl:if test="not($message-prolog = '')">
+        <xsl:value-of select="$message-prolog"/>
+      </xsl:if>
+      <xsl:text>Writing </xsl:text>
+      <xsl:value-of select="$filename"/>
+      <xsl:if test="name(.) != '' and $suppress-context-node-name = 0">
+        <xsl:text> for </xsl:text>
+        <xsl:value-of select="name(.)"/>
+        <xsl:if test="@id or @xml:id">
+          <xsl:text>(</xsl:text>
+          <xsl:value-of select="(@id|@xml:id)[1]"/>
+          <xsl:text>)</xsl:text>
+        </xsl:if>
+      </xsl:if>
+      <xsl:if test="not($message-epilog = '')">
+        <xsl:value-of select="$message-epilog"/>
+      </xsl:if>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="element-available('exsl:document')">
+      <xsl:choose>
+        <!-- Handle the permutations ... -->
+        <xsl:when test="$media-type != ''">
+          <xsl:choose>
+            <xsl:when test="$doctype-public != '' and $doctype-system != ''">
+              <exsl:document href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" media-type="{$media-type}" doctype-public="{$doctype-public}" doctype-system="{$doctype-system}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:when>
+            <xsl:when test="$doctype-public != '' and $doctype-system = ''">
+              <exsl:document href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" media-type="{$media-type}" doctype-public="{$doctype-public}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:when>
+            <xsl:when test="$doctype-public = '' and $doctype-system != ''">
+              <exsl:document href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" media-type="{$media-type}" doctype-system="{$doctype-system}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:when>
+            <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> -->
+              <exsl:document href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" media-type="{$media-type}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:choose>
+            <xsl:when test="$doctype-public != '' and $doctype-system != ''">
+              <exsl:document href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" doctype-public="{$doctype-public}" doctype-system="{$doctype-system}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:when>
+            <xsl:when test="$doctype-public != '' and $doctype-system = ''">
+              <exsl:document href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" doctype-public="{$doctype-public}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:when>
+            <xsl:when test="$doctype-public = '' and $doctype-system != ''">
+              <exsl:document href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" doctype-system="{$doctype-system}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:when>
+            <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> -->
+              <exsl:document href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </exsl:document>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="element-available('saxon:output')">
+      <xsl:choose>
+        <!-- Handle the permutations ... -->
+        <xsl:when test="$media-type != ''">
+          <xsl:choose>
+            <xsl:when test="$doctype-public != '' and $doctype-system != ''">
+              <saxon:output saxon:character-representation="{$saxon.character.representation}" href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" media-type="{$media-type}" doctype-public="{$doctype-public}" doctype-system="{$doctype-system}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:when>
+            <xsl:when test="$doctype-public != '' and $doctype-system = ''">
+              <saxon:output saxon:character-representation="{$saxon.character.representation}" href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" media-type="{$media-type}" doctype-public="{$doctype-public}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:when>
+            <xsl:when test="$doctype-public = '' and $doctype-system != ''">
+              <saxon:output saxon:character-representation="{$saxon.character.representation}" href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" media-type="{$media-type}" doctype-system="{$doctype-system}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:when>
+            <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> -->
+              <saxon:output saxon:character-representation="{$saxon.character.representation}" href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" media-type="{$media-type}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:choose>
+            <xsl:when test="$doctype-public != '' and $doctype-system != ''">
+              <saxon:output saxon:character-representation="{$saxon.character.representation}" href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" doctype-public="{$doctype-public}" doctype-system="{$doctype-system}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:when>
+            <xsl:when test="$doctype-public != '' and $doctype-system = ''">
+              <saxon:output saxon:character-representation="{$saxon.character.representation}" href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" doctype-public="{$doctype-public}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:when>
+            <xsl:when test="$doctype-public = '' and $doctype-system != ''">
+              <saxon:output saxon:character-representation="{$saxon.character.representation}" href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" doctype-system="{$doctype-system}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:when>
+            <xsl:otherwise><!-- $doctype-public = '' and $doctype-system = ''"> -->
+              <saxon:output saxon:character-representation="{$saxon.character.representation}" href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" omit-xml-declaration="{$omit-xml-declaration}" cdata-section-elements="{$cdata-section-elements}" standalone="{$standalone}">
+                <xsl:copy-of select="$content"/>
+              </saxon:output>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="element-available('redirect:write')">
+      <!-- Xalan uses redirect -->
+      <redirect:write file="{$filename}">
+        <xsl:copy-of select="$content"/>
+      </redirect:write>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <!-- it doesn't matter since we won't be making chunks... -->
+      <xsl:message terminate="yes">
+        <xsl:text>Can't make chunks with </xsl:text>
+        <xsl:value-of select="system-property('xsl:vendor')"/>
+        <xsl:text>'s processor.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="write.chunk.with.doctype">
+  <xsl:param name="filename" select="''"/>
+  <xsl:param name="quiet" select="$chunker.output.quiet"/>
+
+  <xsl:param name="method" select="$chunker.output.method"/>
+  <xsl:param name="encoding" select="$chunker.output.encoding"/>
+  <xsl:param name="indent" select="$chunker.output.indent"/>
+  <xsl:param name="omit-xml-declaration" select="$chunker.output.omit-xml-declaration"/>
+  <xsl:param name="standalone" select="$chunker.output.standalone"/>
+  <xsl:param name="doctype-public" select="$chunker.output.doctype-public"/>
+  <xsl:param name="doctype-system" select="$chunker.output.doctype-system"/>
+  <xsl:param name="media-type" select="$chunker.output.media-type"/>
+  <xsl:param name="cdata-section-elements" select="$chunker.output.cdata-section-elements"/>
+
+  <xsl:param name="content"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename" select="$filename"/>
+    <xsl:with-param name="quiet" select="$quiet"/>
+    <xsl:with-param name="method" select="$method"/>
+    <xsl:with-param name="encoding" select="$encoding"/>
+    <xsl:with-param name="indent" select="$indent"/>
+    <xsl:with-param name="omit-xml-declaration" select="$omit-xml-declaration"/>
+    <xsl:with-param name="standalone" select="$standalone"/>
+    <xsl:with-param name="doctype-public" select="$doctype-public"/>
+    <xsl:with-param name="doctype-system" select="$doctype-system"/>
+    <xsl:with-param name="media-type" select="$media-type"/>
+    <xsl:with-param name="cdata-section-elements" select="$cdata-section-elements"/>
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="write.text.chunk">
+  <xsl:param name="filename" select="''"/>
+  <xsl:param name="quiet" select="$chunker.output.quiet"/>
+  <xsl:param name="suppress-context-node-name" select="0"/>
+  <xsl:param name="message-prolog"/>
+  <xsl:param name="message-epilog"/>
+  <xsl:param name="method" select="'text'"/>
+  <xsl:param name="encoding" select="$chunker.output.encoding"/>
+  <xsl:param name="media-type" select="$chunker.output.media-type"/>
+  <xsl:param name="content"/>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename" select="$filename"/>
+    <xsl:with-param name="quiet" select="$quiet"/>
+    <xsl:with-param name="suppress-context-node-name" select="$suppress-context-node-name"/>
+    <xsl:with-param name="message-prolog" select="$message-prolog"/>
+    <xsl:with-param name="message-epilog" select="$message-epilog"/>
+    <xsl:with-param name="method" select="$method"/>
+    <xsl:with-param name="encoding" select="$encoding"/>
+    <xsl:with-param name="indent" select="'no'"/>
+    <xsl:with-param name="omit-xml-declaration" select="'no'"/>
+    <xsl:with-param name="standalone" select="'no'"/>
+    <xsl:with-param name="doctype-public"/>
+    <xsl:with-param name="doctype-system"/>
+    <xsl:with-param name="media-type" select="$media-type"/>
+    <xsl:with-param name="cdata-section-elements"/>
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+</xsl:template>
+
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/chunkfast.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/chunkfast.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/chunkfast.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="cf exsl">
+
+<!-- ********************************************************************
+     $Id: chunkfast.xsl 6445 2006-11-26 07:01:22Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="chunk.xsl"/>
+<xsl:param name="chunk.fast" select="1"/>
+
+<xsl:variable name="chunks" select="exsl:node-set($chunk.hierarchy)//cf:div"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process-chunk-element">
+  <xsl:choose>
+    <xsl:when test="$chunk.fast != 0 and function-available('exsl:node-set')">
+      <xsl:variable name="genid" select="generate-id()"/>
+
+      <xsl:variable name="div" select="$chunks[@id=$genid or @xml:id=$genid]"/>
+
+      <xsl:variable name="prevdiv" select="($div/preceding-sibling::cf:div|$div/preceding::cf:div|$div/parent::cf:div)[last()]"/>
+      <xsl:variable name="prev" select="key('genid', ($prevdiv/@id|$prevdiv/@xml:id)[1])"/>
+
+      <xsl:variable name="nextdiv" select="($div/following-sibling::cf:div|$div/following::cf:div|$div/cf:div)[1]"/>
+      <xsl:variable name="next" select="key('genid', ($nextdiv/@id|$nextdiv/@xml:id)[1])"/>
+
+      <xsl:choose>
+        <xsl:when test="$onechunk != 0 and parent::*">
+          <xsl:apply-imports/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="process-chunk">
+            <xsl:with-param name="prev" select="$prev"/>
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$onechunk != 0 and not(parent::*)">
+          <xsl:call-template name="chunk-all-sections"/>
+        </xsl:when>
+        <xsl:when test="$onechunk != 0">
+          <xsl:apply-imports/>
+        </xsl:when>
+        <xsl:when test="$chunk.first.sections = 0">
+          <xsl:call-template name="chunk-first-section-with-parent"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="chunk-all-sections"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/chunktoc.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/chunktoc.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/chunktoc.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,462 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="doc">
+
+<!-- ********************************************************************
+     $Id: chunktoc.xsl 4879 2005-05-31 07:46:52Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="docbook.xsl"/>
+<xsl:import href="chunk-common.xsl"/>
+
+<xsl:template name="chunk">
+  <xsl:param name="node" select="."/>
+  <!-- returns 1 if $node is a chunk -->
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$node"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="chunks" select="document($chunk.toc,/)"/>
+
+  <xsl:choose>
+    <xsl:when test="$chunks//tocentry[@linkend=$id]">1</xsl:when>
+    <xsl:otherwise>0</xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="chunk-filename">
+  <!-- returns the filename of a chunk -->
+
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="chunks" select="document($chunk.toc,/)"/>
+
+  <xsl:variable name="chunk" select="$chunks//tocentry[@linkend=$id]"/>
+  <xsl:variable name="filename">
+    <xsl:call-template name="dbhtml-filename">
+      <xsl:with-param name="pis" select="$chunk/processing-instruction('dbhtml')"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$chunk">
+      <xsl:value-of select="$filename"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="parent::*" mode="chunk-filename"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process-chunk">
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:variable name="chunks" select="document($chunk.toc,/)"/>
+
+  <xsl:variable name="chunk" select="$chunks//tocentry[@linkend=$id]"/>
+  <xsl:variable name="prev-id" select="($chunk/preceding::tocentry                          |$chunk/ancestor::tocentry)[last()]/@linkend"/>
+  <xsl:variable name="next-id" select="($chunk/following::tocentry                          |$chunk/child::tocentry)[1]/@linkend"/>
+
+  <xsl:variable name="prev" select="key('id',$prev-id)"/>
+  <xsl:variable name="next" select="key('id',$next-id)"/>
+
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:variable name="chunkfn">
+    <xsl:if test="$ischunk='1'">
+      <xsl:apply-templates mode="chunk-filename" select="."/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="filename">
+    <xsl:call-template name="make-relative-filename">
+      <xsl:with-param name="base.dir" select="$base.dir"/>
+      <xsl:with-param name="base.name" select="$chunkfn"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$ischunk = 0">
+      <xsl:apply-imports/>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:call-template name="write.chunk">
+        <xsl:with-param name="filename" select="$filename"/>
+        <xsl:with-param name="content">
+          <xsl:call-template name="chunk-element-content">
+            <xsl:with-param name="prev" select="$prev"/>
+            <xsl:with-param name="next" select="$next"/>
+          </xsl:call-template>
+        </xsl:with-param>
+        <xsl:with-param name="quiet" select="$chunk.quietly"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="set">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="book">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="book/appendix">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="book/glossary">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="book/bibliography">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="dedication" mode="dedication">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="preface|chapter">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="part|reference">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="refentry">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="colophon">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="article">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="article/appendix">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="article/glossary">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="article/bibliography">
+  <xsl:call-template name="process-chunk"/>
+</xsl:template>
+
+<xsl:template match="sect1|sect2|sect3|sect4|sect5|section">
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$ischunk != 0">
+      <xsl:call-template name="process-chunk"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-imports/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="setindex                      |book/index                      |article/index">
+  <!-- some implementations use completely empty index tags to indicate -->
+  <!-- where an automatically generated index should be inserted. so -->
+  <!-- if the index is completely empty, skip it. -->
+  <xsl:if test="count(*)&gt;0 or $generate.index != '0'">
+    <xsl:call-template name="process-chunk"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="/">
+  <xsl:choose>
+    <xsl:when test="$chunk.toc = ''">
+      <xsl:message terminate="yes">
+        <xsl:text>The chunk.toc file is not set.</xsl:text>
+      </xsl:message>
+    </xsl:when>
+
+    <xsl:when test="$rootid != ''">
+      <xsl:choose>
+        <xsl:when test="count(key('id',$rootid)) = 0">
+          <xsl:message terminate="yes">
+            <xsl:text>ID '</xsl:text>
+            <xsl:value-of select="$rootid"/>
+            <xsl:text>' not found in document.</xsl:text>
+          </xsl:message>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="key('id',$rootid)"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:apply-templates select="/" mode="process.root"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="process.root">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template name="make.lots">
+  <xsl:param name="toc.params" select="''"/>
+  <xsl:param name="toc"/>
+
+  <xsl:variable name="lots">
+    <xsl:if test="contains($toc.params, 'toc')">
+      <xsl:copy-of select="$toc"/>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'figure')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'figure'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'figure'"/>
+                <xsl:with-param name="nodes" select=".//figure"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'figure'"/>
+            <xsl:with-param name="nodes" select=".//figure"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'table')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'table'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'table'"/>
+                <xsl:with-param name="nodes" select=".//table"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'table'"/>
+            <xsl:with-param name="nodes" select=".//table"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'example')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'example'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'example'"/>
+                <xsl:with-param name="nodes" select=".//example"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'example'"/>
+            <xsl:with-param name="nodes" select=".//example"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'equation')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'equation'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'equation'"/>
+                <xsl:with-param name="nodes" select=".//equation"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'equation'"/>
+            <xsl:with-param name="nodes" select=".//equation"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'procedure')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'procedure'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'procedure'"/>
+                <xsl:with-param name="nodes" select=".//procedure[title]"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'procedure'"/>
+            <xsl:with-param name="nodes" select=".//procedure[title]"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:if test="string($lots) != ''">
+    <xsl:choose>
+      <xsl:when test="$chunk.tocs.and.lots != 0 and not(parent::*)">
+        <xsl:call-template name="write.chunk">
+          <xsl:with-param name="filename">
+            <xsl:call-template name="make-relative-filename">
+              <xsl:with-param name="base.dir" select="$base.dir"/>
+              <xsl:with-param name="base.name">
+                <xsl:call-template name="dbhtml-dir"/>
+                <xsl:apply-templates select="." mode="recursive-chunk-filename">
+                  <xsl:with-param name="recursive" select="true()"/>
+                </xsl:apply-templates>
+                <xsl:text>-toc</xsl:text>
+                <xsl:value-of select="$html.ext"/>
+              </xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="content">
+            <xsl:call-template name="chunk-element-content">
+              <xsl:with-param name="prev" select="/foo"/>
+              <xsl:with-param name="next" select="/foo"/>
+              <xsl:with-param name="nav.context" select="'toc'"/>
+              <xsl:with-param name="content">
+                <h1>
+                  <xsl:apply-templates select="." mode="object.title.markup"/>
+                </h1>
+                <xsl:copy-of select="$lots"/>
+              </xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="quiet" select="$chunk.quietly"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$lots"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="make.lot.chunk">
+  <xsl:param name="type" select="''"/>
+  <xsl:param name="lot"/>
+
+  <xsl:if test="string($lot) != ''">
+    <xsl:variable name="filename">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.dir" select="$base.dir"/>
+        <xsl:with-param name="base.name">
+          <xsl:call-template name="dbhtml-dir"/>
+          <xsl:value-of select="$type"/>
+          <xsl:text>-toc</xsl:text>
+          <xsl:value-of select="$html.ext"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="href">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.name">
+          <xsl:call-template name="dbhtml-dir"/>
+          <xsl:value-of select="$type"/>
+          <xsl:text>-toc</xsl:text>
+          <xsl:value-of select="$html.ext"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:call-template name="write.chunk">
+      <xsl:with-param name="filename" select="$filename"/>
+      <xsl:with-param name="content">
+        <xsl:call-template name="chunk-element-content">
+          <xsl:with-param name="prev" select="/foo"/>
+          <xsl:with-param name="next" select="/foo"/>
+          <xsl:with-param name="nav.context" select="'toc'"/>
+          <xsl:with-param name="content">
+            <xsl:copy-of select="$lot"/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:with-param>
+      <xsl:with-param name="quiet" select="$chunk.quietly"/>
+    </xsl:call-template>
+    <!-- And output a link to this file -->
+    <div>
+      <xsl:attribute name="class">
+        <xsl:text>ListofTitles</xsl:text>
+      </xsl:attribute>
+      <a href="{$href}">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key">
+            <xsl:choose>
+              <xsl:when test="$type='table'">ListofTables</xsl:when>
+              <xsl:when test="$type='figure'">ListofFigures</xsl:when>
+              <xsl:when test="$type='equation'">ListofEquations</xsl:when>
+              <xsl:when test="$type='example'">ListofExamples</xsl:when>
+              <xsl:when test="$type='procedure'">ListofProcedures</xsl:when>
+              <xsl:otherwise>ListofUnknown</xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+      </a>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/component.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/component.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/component.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,373 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: component.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template name="component.title">
+  <xsl:param name="node" select="."/>
+
+  <xsl:variable name="level">
+    <xsl:choose>
+      <xsl:when test="ancestor::section">
+        <xsl:value-of select="count(ancestor::section)+1"/>
+      </xsl:when>
+      <xsl:when test="ancestor::sect5">6</xsl:when>
+      <xsl:when test="ancestor::sect4">5</xsl:when>
+      <xsl:when test="ancestor::sect3">4</xsl:when>
+      <xsl:when test="ancestor::sect2">3</xsl:when>
+      <xsl:when test="ancestor::sect1">2</xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- Let's handle the case where a component (bibliography, for example)
+       occurs inside a section; will we need parameters for this? -->
+
+  <xsl:element name="h{$level+1}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:attribute name="class">title</xsl:attribute>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select="$node"/>
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates select="$node" mode="object.title.markup">
+      <xsl:with-param name="allow-anchors" select="1"/>
+    </xsl:apply-templates>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template name="component.subtitle">
+  <xsl:param name="node" select="."/>
+  <xsl:variable name="subtitle" select="($node/docinfo/subtitle                         |$node/info/subtitle                         |$node/prefaceinfo/subtitle                         |$node/chapterinfo/subtitle                         |$node/appendixinfo/subtitle                         |$node/articleinfo/subtitle                         |$node/artheader/subtitle                         |$node/subtitle)[1]"/>
+
+  <xsl:if test="$subtitle">
+    <h3 class="subtitle">
+      <i>
+        <xsl:apply-templates select="$node" mode="object.subtitle.markup"/>
+      </i>
+    </h3>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="component.separator">
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="dedication" mode="dedication">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:call-template name="dedication.titlepage"/>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="dedication/title|dedication/info/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.title">
+    <xsl:with-param name="node" select="ancestor::dedication[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="dedication/subtitle|dedication/info/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.subtitle">
+    <xsl:with-param name="node" select="ancestor::dedication[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="dedication"/> <!-- see mode="dedication" -->
+<xsl:template match="dedication/title"/>
+<xsl:template match="dedication/subtitle"/>
+<xsl:template match="dedication/titleabbrev"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="colophon">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="component.separator"/>
+    <xsl:call-template name="component.title"/>
+    <xsl:call-template name="component.subtitle"/>
+
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="colophon/title"/>
+<xsl:template match="colophon/subtitle"/>
+<xsl:template match="colophon/titleabbrev"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="preface">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="component.separator"/>
+    <xsl:call-template name="preface.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')">
+      <xsl:call-template name="component.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="component.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="preface/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.title">
+    <xsl:with-param name="node" select="ancestor::preface[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="preface/subtitle                      |preface/prefaceinfo/subtitle                      |preface/info/subtitle                      |preface/docinfo/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.subtitle">
+    <xsl:with-param name="node" select="ancestor::preface[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="preface/docinfo|prefaceinfo"/>
+<xsl:template match="preface/info"/>
+<xsl:template match="preface/title"/>
+<xsl:template match="preface/titleabbrev"/>
+<xsl:template match="preface/subtitle"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="chapter">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="component.separator"/>
+    <xsl:call-template name="chapter.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:if test="contains($toc.params, 'toc')">
+      <xsl:call-template name="component.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="component.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="chapter/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.title">
+    <xsl:with-param name="node" select="ancestor::chapter[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="chapter/subtitle                      |chapter/chapterinfo/subtitle                      |chapter/info/subtitle                      |chapter/docinfo/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.subtitle">
+    <xsl:with-param name="node" select="ancestor::chapter[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="chapter/docinfo|chapterinfo"/>
+<xsl:template match="chapter/info"/>
+<xsl:template match="chapter/title"/>
+<xsl:template match="chapter/titleabbrev"/>
+<xsl:template match="chapter/subtitle"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="appendix">
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="parent::article and $ischunk = 0">
+        <xsl:call-template name="section.heading">
+          <xsl:with-param name="level" select="1"/>
+          <xsl:with-param name="title">
+            <xsl:apply-templates select="." mode="object.title.markup"/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="component.separator"/>
+        <xsl:call-template name="appendix.titlepage"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')">
+      <xsl:call-template name="component.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="component.toc.separator"/>
+    </xsl:if>
+
+    <xsl:apply-templates/>
+
+    <xsl:if test="not(parent::article) or $ischunk != 0">
+      <xsl:call-template name="process.footnotes"/>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="appendix/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.title">
+    <xsl:with-param name="node" select="ancestor::appendix[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="appendix/subtitle                      |appendix/appendixinfo/subtitle                      |appendix/info/subtitle                      |appendix/docinfo/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.subtitle">
+    <xsl:with-param name="node" select="ancestor::appendix[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="appendix/docinfo|appendixinfo"/>
+<xsl:template match="appendix/info"/>
+<xsl:template match="appendix/title"/>
+<xsl:template match="appendix/titleabbrev"/>
+<xsl:template match="appendix/subtitle"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="article">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="article.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:call-template name="make.lots">
+      <xsl:with-param name="toc.params" select="$toc.params"/>
+      <xsl:with-param name="toc">
+        <xsl:call-template name="component.toc">
+          <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="article/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.title">
+    <xsl:with-param name="node" select="ancestor::article[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="article/subtitle                      |article/articleinfo/subtitle                      |article/info/subtitle                      |article/artheader/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="component.subtitle">
+    <xsl:with-param name="node" select="ancestor::article[1]"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="article/artheader|article/articleinfo"/>
+<xsl:template match="article/info"/>
+<xsl:template match="article/title"/>
+<xsl:template match="article/titleabbrev"/>
+<xsl:template match="article/subtitle"/>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/db5strip.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/db5strip.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/db5strip.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="db ng exsl" version="1.0">
+
+<xsl:import href="docbook.xsl"/>
+
+<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+
+<xsl:template match="/">
+  <xsl:choose>
+    <!-- include extra test for Xalan quirk -->
+    <xsl:when test="(function-available('exsl:node-set') or                      contains(system-property('xsl:vendor'),                        'Apache Software Foundation'))                     and (*/self::ng:* or */self::db:*)">
+      <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document,
+	   toss the namespace and continue. Someday we'll reverse this logic
+	   and add the namespace to documents that don't have one.
+	   But not before the whole stylesheet has been converted to use
+	   namespaces. i.e., don't hold your breath -->
+      <xsl:message>Stripping namespace from DocBook 5 document.</xsl:message>
+      <xsl:apply-templates mode="stripNS"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message terminate="yes">
+	<xsl:text>Cannot strip without exsl:node-set.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/division.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/division.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/division.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,226 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: division.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="set">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="set.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:call-template name="make.lots">
+      <xsl:with-param name="toc.params" select="$toc.params"/>
+      <xsl:with-param name="toc">
+        <xsl:call-template name="set.toc">
+          <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="set/setinfo"/>
+<xsl:template match="set/title"/>
+<xsl:template match="set/titleabbrev"/>
+<xsl:template match="set/subtitle"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="book">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="book.titlepage"/>
+
+    <xsl:apply-templates select="dedication" mode="dedication"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:call-template name="make.lots">
+      <xsl:with-param name="toc.params" select="$toc.params"/>
+      <xsl:with-param name="toc">
+        <xsl:call-template name="division.toc">
+          <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="book/bookinfo"/>
+<xsl:template match="book/info"/>
+<xsl:template match="book/title"/>
+<xsl:template match="book/titleabbrev"/>
+<xsl:template match="book/subtitle"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="part">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="part.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:if test="not(partintro) and contains($toc.params, 'toc')">
+      <xsl:call-template name="division.toc"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="part" mode="make.part.toc">
+  <xsl:call-template name="division.toc"/>
+</xsl:template>
+
+<xsl:template match="reference" mode="make.part.toc">
+  <xsl:call-template name="division.toc"/>
+</xsl:template>
+
+<xsl:template match="part/docinfo"/>
+<xsl:template match="part/partinfo"/>
+<xsl:template match="part/info"/>
+<xsl:template match="part/title"/>
+<xsl:template match="part/titleabbrev"/>
+<xsl:template match="part/subtitle"/>
+
+<xsl:template match="partintro">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="partintro.titlepage"/>
+    <xsl:apply-templates/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="node" select="parent::*"/>
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+    <xsl:if test="contains($toc.params, 'toc')">
+      <!-- not ancestor::part because partintro appears in reference -->
+      <xsl:apply-templates select="parent::*" mode="make.part.toc"/>
+    </xsl:if>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="partintro/title"/>
+<xsl:template match="partintro/titleabbrev"/>
+<xsl:template match="partintro/subtitle"/>
+
+<xsl:template match="partintro/title" mode="partintro.title.mode">
+  <h2>
+    <xsl:apply-templates/>
+  </h2>
+</xsl:template>
+
+<xsl:template match="partintro/subtitle" mode="partintro.title.mode">
+  <h3>
+    <i><xsl:apply-templates/></i>
+  </h3>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="book" mode="division.number">
+  <xsl:number from="set" count="book" format="1."/>
+</xsl:template>
+
+<xsl:template match="part" mode="division.number">
+  <xsl:number from="book" count="part" format="I."/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="division.title">
+  <xsl:param name="node" select="."/>
+
+  <h1>
+    <xsl:attribute name="class">title</xsl:attribute>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select="$node"/>
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates select="$node" mode="object.title.markup">
+      <xsl:with-param name="allow-anchors" select="1"/>
+    </xsl:apply-templates>
+  </h1>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/docbook.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/docbook.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/docbook.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,424 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="db ng exsl" version="1.0">
+
+<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+
+<!-- ********************************************************************
+     $Id: docbook.xsl 6536 2007-01-21 08:37:12Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:include href="../VERSION"/>
+<xsl:include href="param.xsl"/>
+<xsl:include href="../lib/lib.xsl"/>
+<xsl:include href="../common/l10n.xsl"/>
+<xsl:include href="../common/common.xsl"/>
+<xsl:include href="../common/labels.xsl"/>
+<xsl:include href="../common/titles.xsl"/>
+<xsl:include href="../common/subtitles.xsl"/>
+<xsl:include href="../common/gentext.xsl"/>
+<xsl:include href="../common/targets.xsl"/>
+<xsl:include href="../common/olink.xsl"/>
+<xsl:include href="../common/pi.xsl"/>
+<xsl:include href="autotoc.xsl"/>
+<xsl:include href="autoidx.xsl"/>
+<xsl:include href="lists.xsl"/>
+<xsl:include href="callout.xsl"/>
+<xsl:include href="verbatim.xsl"/>
+<xsl:include href="graphics.xsl"/>
+<xsl:include href="xref.xsl"/>
+<xsl:include href="formal.xsl"/>
+<xsl:include href="table.xsl"/>
+<xsl:include href="htmltbl.xsl"/>
+<xsl:include href="sections.xsl"/>
+<xsl:include href="inline.xsl"/>
+<xsl:include href="footnote.xsl"/>
+<xsl:include href="html.xsl"/>
+<xsl:include href="info.xsl"/>
+<xsl:include href="keywords.xsl"/>
+<xsl:include href="division.xsl"/>
+<xsl:include href="toc.xsl"/>
+<xsl:include href="index.xsl"/>
+<xsl:include href="refentry.xsl"/>
+<xsl:include href="math.xsl"/>
+<xsl:include href="admon.xsl"/>
+<xsl:include href="component.xsl"/>
+<xsl:include href="biblio.xsl"/>
+<xsl:include href="glossary.xsl"/>
+<xsl:include href="block.xsl"/>
+<xsl:include href="task.xsl"/>
+<xsl:include href="qandaset.xsl"/>
+<xsl:include href="synop.xsl"/>
+<xsl:include href="titlepage.xsl"/>
+<xsl:include href="titlepage.templates.xsl"/>
+<xsl:include href="pi.xsl"/>
+<xsl:include href="ebnf.xsl"/>
+<xsl:include href="chunker.xsl"/>
+<xsl:include href="html-rtf.xsl"/>
+<xsl:include href="annotations.xsl"/>
+<xsl:include href="../common/stripns.xsl"/>
+
+<xsl:param name="stylesheet.result.type" select="'xhtml'"/>
+<xsl:param name="htmlhelp.output" select="0"/>
+
+<!-- ==================================================================== -->
+
+<xsl:key name="id" match="*" use="@id|@xml:id"/>
+<xsl:key name="gid" match="*" use="generate-id()"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*">
+  <xsl:message>
+    <xsl:text>Element </xsl:text>
+    <xsl:value-of select="local-name(.)"/>
+    <xsl:text> in namespace '</xsl:text>
+    <xsl:value-of select="namespace-uri(.)"/>
+    <xsl:text>' encountered</xsl:text>
+    <xsl:if test="parent::*">
+      <xsl:text> in </xsl:text>
+      <xsl:value-of select="name(parent::*)"/>
+    </xsl:if>
+    <xsl:text>, but no template matches.</xsl:text>
+  </xsl:message>
+
+  <span class="ERROR">
+    <xsl:text>&lt;</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text>&gt;</xsl:text>
+    <xsl:apply-templates/>
+    <xsl:text>&lt;/</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text>&gt;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="text()">
+  <xsl:value-of select="."/>
+</xsl:template>
+
+<xsl:template name="body.attributes">
+<!-- no apply-templates; make it empty -->
+</xsl:template>
+
+<xsl:template name="head.content">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="title">
+    <xsl:apply-templates select="$node" mode="object.title.markup.textonly"/>
+  </xsl:param>
+
+  <title>
+    <xsl:copy-of select="$title"/>
+  </title>
+
+  <xsl:if test="$html.stylesheet != ''">
+    <xsl:call-template name="output.html.stylesheets">
+      <xsl:with-param name="stylesheets" select="normalize-space($html.stylesheet)"/>
+    </xsl:call-template>
+  </xsl:if>
+
+  <xsl:if test="$link.mailto.url != ''">
+    <link rev="made" href="{$link.mailto.url}"/>
+  </xsl:if>
+
+  <xsl:if test="$html.base != ''">
+    <base href="{$html.base}"/>
+  </xsl:if>
+
+  <meta name="generator" content="DocBook {$DistroTitle} V{$VERSION}"/>
+
+  <xsl:if test="$generate.meta.abstract != 0">
+    <xsl:variable name="info" select="(articleinfo                                       |bookinfo                                       |prefaceinfo                                       |chapterinfo                                       |appendixinfo                                       |sectioninfo                                       |sect1info                                       |sect2info                                       |sect3info                                       |sect4info                                       |sect5info                                       |referenceinfo                                       |refentryinfo                                       |partinfo                                       |info                                       |docinfo)[1]"/>
+    <xsl:if test="$info and $info/abstract">
+      <meta name="description">
+        <xsl:attribute name="content">
+          <xsl:for-each select="$info/abstract[1]/*">
+            <xsl:value-of select="normalize-space(.)"/>
+            <xsl:if test="position() &lt; last()">
+              <xsl:text> </xsl:text>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:attribute>
+      </meta>
+    </xsl:if>
+  </xsl:if>
+
+  <xsl:if test="($draft.mode = 'yes' or                 ($draft.mode = 'maybe' and                 ancestor-or-self::*[@status][1]/@status = 'draft'))                 and $draft.watermark.image != ''">
+    <style type="text/css"><xsl:text>
+body { background-image: url('</xsl:text>
+<xsl:value-of select="$draft.watermark.image"/><xsl:text>');
+       background-repeat: no-repeat;
+       background-position: top left;
+       /* The following properties make the watermark "fixed" on the page. */
+       /* I think that's just a bit too distracting for the reader... */
+       /* background-attachment: fixed; */
+       /* background-position: center center; */
+     }</xsl:text>
+    </style>
+  </xsl:if>
+  <xsl:apply-templates select="." mode="head.keywords.content"/>
+</xsl:template>
+
+<xsl:template name="output.html.stylesheets">
+  <xsl:param name="stylesheets" select="''"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($stylesheets, ' ')">
+      <link rel="stylesheet" href="{substring-before($stylesheets, ' ')}">
+        <xsl:if test="$html.stylesheet.type != ''">
+          <xsl:attribute name="type">
+            <xsl:value-of select="$html.stylesheet.type"/>
+          </xsl:attribute>
+        </xsl:if>
+      </link>
+      <xsl:call-template name="output.html.stylesheets">
+        <xsl:with-param name="stylesheets" select="substring-after($stylesheets, ' ')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$stylesheets != ''">
+      <link rel="stylesheet" href="{$stylesheets}">
+        <xsl:if test="$html.stylesheet.type != ''">
+          <xsl:attribute name="type">
+            <xsl:value-of select="$html.stylesheet.type"/>
+          </xsl:attribute>
+        </xsl:if>
+      </link>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="head.keywords.content">
+  <xsl:apply-templates select="chapterinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="appendixinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="prefaceinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="bookinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="setinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="articleinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="artheader/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect1info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect2info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect3info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect4info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect5info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sectioninfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refsect1info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refsect2info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refsect3info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="bibliographyinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="glossaryinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="indexinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refentryinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="partinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="referenceinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="docinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="info/keywordset" mode="html.header"/>
+
+  <xsl:if test="$inherit.keywords != 0                 and parent::*">
+    <xsl:apply-templates select="parent::*" mode="head.keywords.content"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="system.head.content">
+  <xsl:param name="node" select="."/>
+
+  <!-- FIXME: When chunking, only the annotations actually used
+              in this chunk should be referenced. I don't think it
+              does any harm to reference them all, but it adds
+              unnecessary bloat to each chunk. -->
+  <xsl:if test="$annotation.support != 0 and //annotation">
+    <xsl:call-template name="add.annotation.links"/>
+    <script type="text/javascript">
+      <xsl:text>
+// Create PopupWindow objects</xsl:text>
+      <xsl:for-each select="//annotation">
+        <xsl:text>
+var popup_</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text> = new PopupWindow("popup-</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text>");
+</xsl:text>
+        <xsl:text>popup_</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text>.offsetY = 15;
+</xsl:text>
+        <xsl:text>popup_</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text>.autoHide();
+</xsl:text>
+      </xsl:for-each>
+    </script>
+
+    <style type="text/css">
+      <xsl:value-of select="$annotation.css"/>
+    </style>
+  </xsl:if>
+
+  <!-- system.head.content is like user.head.content, except that
+       it is called before head.content. This is important because it
+       means, for example, that <style> elements output by system.head.content
+       have a lower CSS precedence than the users stylesheet. -->
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="user.preroot">
+  <!-- Pre-root output, can be used to output comments and PIs. -->
+  <!-- This must not output any element content! -->
+</xsl:template>
+
+<xsl:template name="user.head.content">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.header.navigation">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.header.content">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.footer.content">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.footer.navigation">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template match="/">
+  <xsl:choose>
+    <!-- include extra test for Xalan quirk -->
+    <xsl:when test="(function-available('exsl:node-set') or                      contains(system-property('xsl:vendor'),                        'Apache Software Foundation'))                     and (*/self::ng:* or */self::db:*)">
+      <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document,
+           toss the namespace and continue. Someday we'll reverse this logic
+           and add the namespace to documents that don't have one.
+           But not before the whole stylesheet has been converted to use
+           namespaces. i.e., don't hold your breath -->
+      <xsl:message>Stripping namespace from DocBook 5 document.</xsl:message>
+      <xsl:variable name="nons">
+        <xsl:apply-templates mode="stripNS"/>
+      </xsl:variable>
+      <!--
+      <xsl:message>Saving stripped document.</xsl:message>
+      <xsl:call-template name="write.chunk">
+        <xsl:with-param name="filename" select="'/tmp/stripped.xml'"/>
+        <xsl:with-param name="method" select="'xml'"/>
+        <xsl:with-param name="content">
+          <xsl:copy-of select="exsl:node-set($nons)"/>
+        </xsl:with-param>
+      </xsl:call-template>
+      -->
+      <xsl:message>Processing stripped document.</xsl:message>
+      <xsl:apply-templates select="exsl:node-set($nons)"/>
+    </xsl:when>
+    <!-- Can't process unless namespace removed -->
+    <xsl:when test="*/self::ng:* or */self::db:*">
+      <xsl:message terminate="yes">
+        <xsl:text>Unable to strip the namespace from DB5 document,</xsl:text>
+        <xsl:text> cannot proceed.</xsl:text>
+      </xsl:message>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$rootid != ''">
+          <xsl:choose>
+            <xsl:when test="count(key('id',$rootid)) = 0">
+              <xsl:message terminate="yes">
+                <xsl:text>ID '</xsl:text>
+                <xsl:value-of select="$rootid"/>
+                <xsl:text>' not found in document.</xsl:text>
+              </xsl:message>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:if test="$collect.xref.targets = 'yes' or                             $collect.xref.targets = 'only'">
+                <xsl:apply-templates select="key('id', $rootid)" mode="collect.targets"/>
+              </xsl:if>
+              <xsl:if test="$collect.xref.targets != 'only'">
+                <xsl:apply-templates select="key('id',$rootid)" mode="process.root"/>
+                <xsl:if test="$tex.math.in.alt != ''">
+                  <xsl:apply-templates select="key('id',$rootid)" mode="collect.tex.math"/>
+                </xsl:if>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$collect.xref.targets = 'yes' or                         $collect.xref.targets = 'only'">
+            <xsl:apply-templates select="/" mode="collect.targets"/>
+          </xsl:if>
+          <xsl:if test="$collect.xref.targets != 'only'">
+            <xsl:apply-templates select="/" mode="process.root"/>
+            <xsl:if test="$tex.math.in.alt != ''">
+              <xsl:apply-templates select="/" mode="collect.tex.math"/>
+            </xsl:if>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="process.root">
+  <xsl:variable name="doc" select="self::*"/>
+
+  <xsl:call-template name="user.preroot"/>
+  <xsl:call-template name="root.messages"/>
+
+  <html>
+    <head>
+      <xsl:call-template name="system.head.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+      <xsl:call-template name="head.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+      <xsl:call-template name="user.head.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+    </head>
+    <body>
+      <xsl:call-template name="body.attributes"/>
+      <xsl:call-template name="user.header.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+      <xsl:apply-templates select="."/>
+      <xsl:call-template name="user.footer.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+    </body>
+  </html>
+  <xsl:value-of select="$html.append"/>
+</xsl:template>
+
+<xsl:template name="root.messages">
+  <!-- redefine this any way you'd like to output messages -->
+  <!-- DO NOT OUTPUT ANYTHING FROM THIS TEMPLATE -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="chunk">
+  <xsl:param name="node" select="."/>
+
+  <!-- The default is that we are not chunking... -->
+  <xsl:text>0</xsl:text>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/ebnf.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/ebnf.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/ebnf.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,328 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="doc" version="1.0">
+
+<!-- ********************************************************************
+     $Id: ebnf.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<doc:reference xmlns="">
+<referenceinfo xmlns="http://www.w3.org/1999/xhtml">
+<releaseinfo role="meta">
+$Id: ebnf.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+</releaseinfo>
+<author><surname>Walsh</surname>
+<firstname>Norman</firstname></author>
+<copyright><year>1999</year><year>2000</year>
+<holder>Norman Walsh</holder>
+</copyright>
+</referenceinfo>
+<title xmlns="http://www.w3.org/1999/xhtml">HTML EBNF Reference</title>
+
+<partintro xmlns="http://www.w3.org/1999/xhtml">
+<section><title>Introduction</title>
+
+<para>This is technical reference documentation for the DocBook XSL
+Stylesheets; it documents (some of) the parameters, templates, and
+other elements of the stylesheets.</para>
+
+<para>This reference describes the templates and parameters relevant
+to formatting EBNF markup.</para>
+
+<para>This is not intended to be <quote>user</quote> documentation.
+It is provided for developers writing customization layers for the
+stylesheets, and for anyone who's interested in <quote>how it
+works</quote>.</para>
+
+<para>Although I am trying to be thorough, this documentation is known
+to be incomplete. Don't forget to read the source, too :-)</para>
+</section>
+</partintro>
+</doc:reference>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="productionset">
+  <table width="100%" cellpadding="5">
+    <xsl:if test="$ebnf.table.bgcolor != ''">
+      <xsl:attribute name="bgcolor">
+        <xsl:value-of select="$ebnf.table.bgcolor"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="$ebnf.table.border != 0">
+      <xsl:attribute name="border">1</xsl:attribute>
+    </xsl:if>
+    <xsl:attribute name="class">
+      <xsl:value-of select="local-name(.)"/>
+    </xsl:attribute>
+    <xsl:attribute name="summary">
+      <xsl:text>EBNF</xsl:text>
+      <xsl:if test="title">
+        <xsl:text> for </xsl:text>
+        <xsl:value-of select="title"/>
+      </xsl:if>
+    </xsl:attribute>
+
+    <xsl:if test="title">
+      <tr>
+        <th align="left" valign="top">
+          <xsl:apply-templates select="." mode="class.attribute"/>
+          <xsl:apply-templates select="title"/>
+        </th>
+      </tr>
+    </xsl:if>
+    <tr>
+      <td>
+        <table border="0" width="99%" cellpadding="0">
+          <xsl:if test="$ebnf.table.bgcolor != ''">
+            <xsl:attribute name="bgcolor">
+              <xsl:value-of select="$ebnf.table.bgcolor"/>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:attribute name="class">
+            <xsl:value-of select="local-name(.)"/>
+          </xsl:attribute>
+          <xsl:attribute name="summary">EBNF productions</xsl:attribute>
+          <xsl:apply-templates select="production|productionrecap"/>
+        </table>
+      </td>
+    </tr>
+  </table>
+</xsl:template>
+
+<xsl:template match="productionset/title">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="production">
+  <xsl:param name="recap" select="false()"/>
+  <tr>
+    <td align="left" valign="top" width="3%">
+      <xsl:text>[</xsl:text>
+      <xsl:number count="production" level="any"/>
+      <xsl:text>]</xsl:text>
+    </td>
+    <td align="right" valign="top" width="10%">
+      <xsl:choose>
+        <xsl:when test="$recap">
+          <a>
+            <xsl:attribute name="href">
+              <xsl:call-template name="href.target">
+                <xsl:with-param name="object" select="."/>
+              </xsl:call-template>
+            </xsl:attribute>
+            <xsl:apply-templates select="lhs"/>
+          </a>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="anchor"/>
+          <xsl:apply-templates select="lhs"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </td>
+    <td valign="top" width="5%" align="center">
+      <xsl:copy-of select="$ebnf.assignment"/>
+    </td>
+    <td valign="top" width="52%">
+      <xsl:apply-templates select="rhs"/>
+      <xsl:copy-of select="$ebnf.statement.terminator"/>
+    </td>
+    <td align="left" valign="top" width="30%">
+      <xsl:choose>
+        <xsl:when test="rhs/lineannotation|constraint">
+          <xsl:apply-templates select="rhs/lineannotation" mode="rhslo"/>
+          <xsl:apply-templates select="constraint"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>&#160;</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </td>
+  </tr>
+</xsl:template>
+
+<xsl:template match="productionrecap">
+  <xsl:variable name="targets" select="key('id', at linkend)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:if test="count($targets)=0">
+    <xsl:message>
+      <xsl:text>Error: no ID for productionrecap linkend: </xsl:text>
+      <xsl:value-of select="@linkend"/>
+      <xsl:text>.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="count($targets)&gt;1">
+    <xsl:message>
+      <xsl:text>Warning: multiple "IDs" for productionrecap linkend: </xsl:text>
+      <xsl:value-of select="@linkend"/>
+      <xsl:text>.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:apply-templates select="$target">
+    <xsl:with-param name="recap" select="true()"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="lhs">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="rhs">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::rhs">
+    <xsl:text> |</xsl:text>
+    <br/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="nonterminal">
+  <xsl:variable name="linkend">
+    <xsl:call-template name="xpointer.idref">
+      <xsl:with-param name="xpointer" select="@def"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="check.id.unique">
+    <xsl:with-param name="linkend" select="$linkend"/>
+  </xsl:call-template>
+
+  <xsl:call-template name="check.idref.targets">
+    <xsl:with-param name="linkend" select="$linkend"/>
+    <xsl:with-param name="element-list">production</xsl:with-param>
+  </xsl:call-template>
+
+  <!-- If you don't provide content, you can't point outside this doc. -->
+  <xsl:choose>
+    <xsl:when test="*|text()"><!--nop--></xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$linkend = ''">
+        <xsl:message>
+          <xsl:text>Non-terminals with no content must point to </xsl:text>
+          <xsl:text>production elements in the current document.</xsl:text>
+        </xsl:message>
+        <xsl:message>
+          <xsl:text>Invalid xpointer for empty nt: </xsl:text>
+          <xsl:value-of select="@def"/>
+        </xsl:message>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:variable name="href">
+    <xsl:choose>
+      <xsl:when test="$linkend != ''">
+        <xsl:variable name="targets" select="key('id',$linkend)"/>
+        <xsl:variable name="target" select="$targets[1]"/>
+        <xsl:call-template name="href.target">
+          <xsl:with-param name="object" select="$target"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="@def"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <a href="{$href}">
+    <xsl:choose>
+      <xsl:when test="*|text()">
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:choose>
+          <xsl:when test="$linkend != ''">
+            <xsl:variable name="targets" select="key('id',$linkend)"/>
+            <xsl:variable name="target" select="$targets[1]"/>
+            <xsl:apply-templates select="$target/lhs"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:text>???</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </a>
+</xsl:template>
+
+<xsl:template match="rhs/lineannotation">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="rhs/lineannotation" mode="rhslo">
+  <xsl:text>/*&#160;</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>&#160;*/</xsl:text>
+  <br/>
+</xsl:template>
+
+<xsl:template match="constraint">
+  <xsl:call-template name="check.id.unique">
+    <xsl:with-param name="linkend" select="@linkend"/>
+  </xsl:call-template>
+
+  <xsl:call-template name="check.idref.targets">
+    <xsl:with-param name="linkend" select="@linkend"/>
+    <xsl:with-param name="element-list">constraintdef</xsl:with-param>
+  </xsl:call-template>
+
+  <xsl:variable name="href">
+    <xsl:variable name="targets" select="key('id', at linkend)"/>
+    <xsl:variable name="target" select="$targets[1]"/>
+    <xsl:call-template name="href.target">
+      <xsl:with-param name="object" select="$target"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:text>[&#160;</xsl:text>
+
+  <xsl:choose>
+    <xsl:when test="@role">
+      <xsl:value-of select="@role"/>
+      <xsl:text>: </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="targets" select="key('id', at linkend)"/>
+      <xsl:variable name="target" select="$targets[1]"/>
+      <xsl:if test="$target/@role">
+        <xsl:value-of select="$target/@role"/>
+        <xsl:text>: </xsl:text>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <a href="{$href}">
+    <xsl:variable name="targets" select="key('id', at linkend)"/>
+    <xsl:variable name="target" select="$targets[1]"/>
+    <xsl:apply-templates select="$target" mode="title.markup"/>
+  </a>
+  <xsl:text>&#160;]</xsl:text>
+  <xsl:if test="following-sibling::constraint">
+    <br/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="constraintdef">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="constraintdef/title">
+  <p><b><xsl:apply-templates/></b></p>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/footnote.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/footnote.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/footnote.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,280 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="exsl" version="1.0">
+
+<!-- ********************************************************************
+     $Id: footnote.xsl 6439 2006-11-18 20:10:32Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="footnote">
+  <xsl:variable name="name">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+  <xsl:variable name="href">
+    <xsl:text>#ftn.</xsl:text>
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="ancestor::tgroup">
+      <sup>
+        <xsl:text>[</xsl:text>
+        <a id="{$name}" href="{$href}">
+          <xsl:apply-templates select="." mode="footnote.number"/>
+        </a>
+        <xsl:text>]</xsl:text>
+      </sup>
+    </xsl:when>
+    <xsl:otherwise>
+      <sup>
+        <xsl:text>[</xsl:text>
+        <a id="{$name}" href="{$href}">
+          <xsl:apply-templates select="." mode="footnote.number"/>
+        </a>
+        <xsl:text>]</xsl:text>
+      </sup>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="footnoteref">
+  <xsl:variable name="targets" select="key('id', at linkend)"/>
+  <xsl:variable name="footnote" select="$targets[1]"/>
+  <xsl:variable name="href">
+    <xsl:text>#ftn.</xsl:text>
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$footnote"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <sup>
+    <xsl:text>[</xsl:text>
+    <a href="{$href}">
+      <xsl:apply-templates select="$footnote" mode="footnote.number"/>
+    </a>
+    <xsl:text>]</xsl:text>
+  </sup>
+</xsl:template>
+
+<xsl:template match="footnote" mode="footnote.number">
+  <xsl:choose>
+    <xsl:when test="string-length(@label) != 0">
+      <xsl:value-of select="@label"/>
+    </xsl:when>
+    <xsl:when test="ancestor::tgroup">
+      <xsl:variable name="tfnum">
+        <xsl:number level="any" from="table|informaltable" format="1"/>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="string-length($table.footnote.number.symbols) &gt;= $tfnum">
+          <xsl:value-of select="substring($table.footnote.number.symbols, $tfnum, 1)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:number level="any" from="tgroup" format="{$table.footnote.number.format}"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="pfoot" select="preceding::footnote[not(@label)]"/>
+      <xsl:variable name="ptfoot" select="preceding::tgroup//footnote"/>
+      <xsl:variable name="fnum" select="count($pfoot) - count($ptfoot) + 1"/>
+
+      <xsl:choose>
+        <xsl:when test="string-length($footnote.number.symbols) &gt;= $fnum">
+          <xsl:value-of select="substring($footnote.number.symbols, $fnum, 1)"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:number value="$fnum" format="{$footnote.number.format}"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="footnote/para[1]|footnote/simpara[1]" priority="2">
+  <!-- this only works if the first thing in a footnote is a para, -->
+  <!-- which is ok, because it usually is. -->
+  <xsl:variable name="name">
+    <xsl:text>ftn.</xsl:text>
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="ancestor::footnote"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="href">
+    <xsl:text>#</xsl:text>
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="ancestor::footnote"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <p>
+    <xsl:if test="@role and $para.propagates.style != 0">
+      <xsl:apply-templates select="." mode="class.attribute">
+        <xsl:with-param name="class" select="@role"/>
+      </xsl:apply-templates>
+    </xsl:if>
+    <sup>
+      <xsl:text>[</xsl:text>
+      <a id="{$name}" href="{$href}">
+        <xsl:apply-templates select="ancestor::footnote" mode="footnote.number"/>
+      </a>
+      <xsl:text>] </xsl:text>
+    </sup>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="footnote.body.number">
+  <xsl:variable name="name">
+    <xsl:text>ftn.</xsl:text>
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="ancestor::footnote"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="href">
+    <xsl:text>#</xsl:text>
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="ancestor::footnote"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="footnote.mark">
+    <sup>
+      <xsl:text>[</xsl:text>
+      <a id="{$name}" href="{$href}">
+        <xsl:apply-templates select="ancestor::footnote" mode="footnote.number"/>
+      </a>
+      <xsl:text>] </xsl:text>
+    </sup>
+  </xsl:variable>
+
+  <xsl:variable name="html">
+    <xsl:apply-templates select="."/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set')">
+      <xsl:variable name="html-nodes" select="exsl:node-set($html)"/>
+      <xsl:choose>
+        <xsl:when test="$html-nodes//p">
+          <xsl:apply-templates select="$html-nodes" mode="insert.html.p">
+            <xsl:with-param name="mark" select="$footnote.mark"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$html-nodes" mode="insert.html.text">
+            <xsl:with-param name="mark" select="$footnote.mark"/>
+          </xsl:apply-templates>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$html"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!--
+<xsl:template name="count-element-from">
+  <xsl:param name="from" select=".."/>
+  <xsl:param name="to" select="."/>
+  <xsl:param name="count" select="0"/>
+  <xsl:param name="list" select="$from/following::*[local-name(.)=local-name($to)]
+                                 |$from/descendant-or-self::*[local-name(.)=local-name($to)]"/>
+
+  <xsl:choose>
+    <xsl:when test="not($list)">
+      <xsl:text>-1</xsl:text>
+    </xsl:when>
+    <xsl:when test="$list[1] = $to">
+      <xsl:value-of select="$count + 1"/>
+    </xsl:when>
+    <xsl:otherwise>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+-->
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.footnotes">
+  <xsl:variable name="footnotes" select=".//footnote"/>
+  <xsl:variable name="table.footnotes" select=".//tgroup//footnote"/>
+
+  <!-- Only bother to do this if there's at least one non-table footnote -->
+  <xsl:if test="count($footnotes)&gt;count($table.footnotes)">
+    <div class="footnotes">
+      <br/>
+      <hr width="100" align="left"/>
+      <xsl:apply-templates select="$footnotes" mode="process.footnote.mode"/>
+    </div>
+  </xsl:if>
+
+  <xsl:if test="$annotation.support != 0 and //annotation">
+    <div class="annotation-list">
+      <div class="annotation-nocss">
+	<p>The following annotations are from this essay. You are seeing
+	them here because your browser doesn&#8217;t support the user-interface
+	techniques used to make them appear as &#8216;popups&#8217; on modern browsers.</p>
+      </div>
+
+      <xsl:apply-templates select="//annotation" mode="annotation-popup"/>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="process.chunk.footnotes">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="footnote" name="process.footnote" mode="process.footnote.mode">
+  <xsl:choose>
+    <xsl:when test="local-name(*[1]) = 'para' or local-name(*[1]) = 'simpara'">
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates/>
+      </div>
+    </xsl:when>
+
+    <xsl:when test="$html.cleanup != 0 and function-available('exsl:node-set')">
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates select="*[1]" mode="footnote.body.number"/>
+        <xsl:apply-templates select="*[position() &gt; 1]"/>
+      </div>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>Warning: footnote number may not be generated </xsl:text>
+        <xsl:text>correctly; </xsl:text>
+        <xsl:value-of select="local-name(*[1])"/>
+        <xsl:text> unexpected as first child of footnote.</xsl:text>
+      </xsl:message>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates/>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="tgroup//footnote" mode="process.footnote.mode">
+</xsl:template>
+
+<xsl:template match="footnote" mode="table.footnote.mode">
+  <xsl:call-template name="process.footnote"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/formal.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/formal.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/formal.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,384 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: formal.xsl 6403 2006-11-12 08:23:54Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:param name="formal.object.break.after">1</xsl:param>
+
+<xsl:template name="formal.object">
+  <xsl:param name="placement" select="'before'"/>
+  <xsl:param name="class" select="local-name(.)"/>
+
+  <xsl:call-template name="id.warning"/>
+
+  <xsl:variable name="content">
+    <div class="{$class}">
+      <xsl:call-template name="anchor">
+        <xsl:with-param name="conditional" select="0"/>
+      </xsl:call-template>
+    
+      <xsl:choose>
+        <xsl:when test="$placement = 'before'">
+          <xsl:call-template name="formal.object.heading"/>
+          <div class="{$class}-contents">
+            <xsl:apply-templates/>
+          </div>
+          <!-- HACK: This doesn't belong inside formal.object; it 
+               should be done by the table template, but I want 
+               the link to be inside the DIV, so... -->
+          <xsl:if test="local-name(.) = 'table'">
+            <xsl:call-template name="table.longdesc"/>
+          </xsl:if>
+    
+          <xsl:if test="$spacing.paras != 0"><p/></xsl:if>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$spacing.paras != 0"><p/></xsl:if>
+          <div class="{$class}-contents"><xsl:apply-templates/></div>
+          <!-- HACK: This doesn't belong inside formal.object; it 
+               should be done by the table template, but I want 
+               the link to be inside the DIV, so... -->
+          <xsl:if test="local-name(.) = 'table'">
+            <xsl:call-template name="table.longdesc"/>
+          </xsl:if>
+    
+          <xsl:call-template name="formal.object.heading"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </div>
+    <xsl:if test="not($formal.object.break.after = '0')">
+      <br class="{$class}-break"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="floatstyle">
+    <xsl:call-template name="floatstyle"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$floatstyle != ''">
+      <xsl:call-template name="floater">
+        <xsl:with-param name="class"><xsl:value-of select="$class"/>-float</xsl:with-param>
+        <xsl:with-param name="floatstyle" select="$floatstyle"/>
+        <xsl:with-param name="content" select="$content"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$content"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="formal.object.heading">
+  <xsl:param name="object" select="."/>
+  <xsl:param name="title">
+    <xsl:apply-templates select="$object" mode="object.title.markup">
+      <xsl:with-param name="allow-anchors" select="1"/>
+    </xsl:apply-templates>
+  </xsl:param>
+
+  <p class="title">
+    <b>
+      <xsl:copy-of select="$title"/>
+    </b>
+  </p>
+</xsl:template>
+
+<xsl:template name="informal.object">
+  <xsl:param name="class" select="local-name(.)"/>
+
+  <xsl:variable name="content">
+    <div class="{$class}">
+      <xsl:if test="$spacing.paras != 0"><p/></xsl:if>
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+  
+      <!-- HACK: This doesn't belong inside formal.object; it 
+           should be done by the table template, but I want 
+           the link to be inside the DIV, so... -->
+      <xsl:if test="local-name(.) = 'informaltable'">
+        <xsl:call-template name="table.longdesc"/>
+      </xsl:if>
+  
+      <xsl:if test="$spacing.paras != 0"><p/></xsl:if>
+    </div>
+  </xsl:variable>
+
+  <xsl:variable name="floatstyle">
+    <xsl:call-template name="floatstyle"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$floatstyle != ''">
+      <xsl:call-template name="floater">
+        <xsl:with-param name="class"><xsl:value-of select="$class"/>-float</xsl:with-param>
+        <xsl:with-param name="floatstyle" select="$floatstyle"/>
+        <xsl:with-param name="content" select="$content"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$content"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="semiformal.object">
+  <xsl:param name="placement" select="'before'"/>
+  <xsl:param name="class" select="local-name(.)"/>
+
+  <xsl:choose>
+    <xsl:when test="title">
+      <xsl:call-template name="formal.object">
+        <xsl:with-param name="placement" select="$placement"/>
+        <xsl:with-param name="class" select="$class"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="informal.object">
+        <xsl:with-param name="class" select="$class"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="figure">
+  <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement),                                         concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="formal.object">
+    <xsl:with-param name="placement" select="$placement"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="table">
+  <xsl:choose>
+    <xsl:when test="tgroup|mediaobject|graphic">
+      <xsl:call-template name="calsTable"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy>
+        <xsl:copy-of select="@*[not(local-name()='id')]"/>
+        <xsl:attribute name="id">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+        <xsl:call-template name="htmlTable"/>
+      </xsl:copy>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="calsTable">
+  <xsl:if test="tgroup/tbody/tr                 |tgroup/thead/tr                 |tgroup/tfoot/tr">
+    <xsl:message terminate="yes">Broken table: tr descendent of CALS Table.</xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement),                                         concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="formal.object">
+    <xsl:with-param name="placement" select="$placement"/>
+    <xsl:with-param name="class">
+      <xsl:choose>
+        <xsl:when test="@tabstyle">
+          <!-- hack, this will only ever occur on table, not example -->
+          <xsl:value-of select="@tabstyle"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="local-name(.)"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="htmlTable">
+  <xsl:if test="tgroup/tbody/row                 |tgroup/thead/row                 |tgroup/tfoot/row">
+    <xsl:message terminate="yes">Broken table: row descendent of HTML table.</xsl:message>
+  </xsl:if>
+
+  <xsl:apply-templates mode="htmlTable"/>
+</xsl:template>
+
+<xsl:template match="example">
+  <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement),                      concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="formal.object">
+    <xsl:with-param name="placement" select="$placement"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="equation">
+  <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement),                                       concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="formal.object">
+    <xsl:with-param name="placement" select="$placement"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="figure/title"/>
+<xsl:template match="figure/titleabbrev"/>
+<xsl:template match="table/title"/>
+<xsl:template match="table/titleabbrev"/>
+<xsl:template match="table/textobject"/>
+<xsl:template match="example/title"/>
+<xsl:template match="example/titleabbrev"/>
+<xsl:template match="equation/title"/>
+<xsl:template match="equation/titleabbrev"/>
+
+<xsl:template match="informalfigure">
+  <xsl:call-template name="informal.object"/>
+</xsl:template>
+
+<xsl:template match="informalexample">
+  <xsl:call-template name="informal.object"/>
+</xsl:template>
+
+<xsl:template match="informaltable">
+  <xsl:choose>
+    <xsl:when test="tgroup|mediaobject|graphic">
+      <xsl:call-template name="informal.object">
+        <xsl:with-param name="class">
+          <xsl:choose>
+            <xsl:when test="@tabstyle">
+              <xsl:value-of select="@tabstyle"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="local-name(.)"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <table>
+        <xsl:copy-of select="@*"/>
+        <xsl:call-template name="htmlTable"/>
+      </table>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="informaltable/textobject"/>
+
+<xsl:template name="table.longdesc">
+  <!-- HACK: This doesn't belong inside formal.objectt; it should be done by -->
+  <!-- the table template, but I want the link to be inside the DIV, so... -->
+  <xsl:variable name="longdesc.uri">
+    <xsl:call-template name="longdesc.uri">
+      <xsl:with-param name="mediaobject" select="."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="irrelevant">
+    <!-- write.longdesc returns the filename ... -->
+    <xsl:call-template name="write.longdesc">
+      <xsl:with-param name="mediaobject" select="."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="$html.longdesc != 0 and $html.longdesc.link != 0                 and textobject[not(phrase)]">
+    <xsl:call-template name="longdesc.link">
+      <xsl:with-param name="longdesc.uri" select="$longdesc.uri"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="informalequation">
+  <xsl:call-template name="informal.object"/>
+</xsl:template>
+
+<xsl:template name="floatstyle">
+  <xsl:if test="(@float and @float != '0') or @floatstyle != ''">
+    <xsl:choose>
+      <xsl:when test="@floatstyle != ''">
+        <xsl:value-of select="@floatstyle"/>
+      </xsl:when>
+      <xsl:when test="@float = '1'">
+        <xsl:value-of select="$default.float.class"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="@float"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="floater">
+  <xsl:param name="content"/>
+  <xsl:param name="class" select="'float'"/>
+  <xsl:param name="floatstyle" select="'left'"/>
+
+  <div class="{$class}">
+    <xsl:if test="$floatstyle = 'left' or $floatstyle = 'right'">
+      <xsl:attribute name="style">
+        <xsl:text>float: </xsl:text>
+        <xsl:value-of select="$floatstyle"/>
+        <xsl:text>;</xsl:text>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:copy-of select="$content"/>
+  </div>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/glossary.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/glossary.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/glossary.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,458 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: glossary.xsl 6468 2007-01-06 18:14:07Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="glossary">
+  <xsl:call-template name="id.warning"/>
+  
+  <xsl:variable name="language">
+    <xsl:call-template name="l10n.language"/>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="glossary.titlepage"/>
+
+    <xsl:choose>
+      <xsl:when test="glossdiv">
+        <xsl:apply-templates select="(glossdiv[1]/preceding-sibling::*)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="(glossentry[1]/preceding-sibling::*)"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:choose>
+      <xsl:when test="glossdiv">
+        <xsl:apply-templates select="glossdiv"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <dl>
+          <xsl:choose>
+            <xsl:when test="$glossary.sort != 0">
+              <xsl:apply-templates select="glossentry">
+                <xsl:sort lang="$language" select="translate(glossterm, 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#78!
 64;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#6!
 27;&#7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#2
42;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360!
 ;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;',                                              'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGG!
 GGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJ
JKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+              </xsl:apply-templates>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="glossentry"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </dl>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test="not(parent::article)">
+      <xsl:call-template name="process.footnotes"/>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="glossary/glossaryinfo"/>
+<xsl:template match="glossary/info"/>
+<xsl:template match="glossary/title"/>
+<xsl:template match="glossary/subtitle"/>
+<xsl:template match="glossary/titleabbrev"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="glosslist">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="blockinfo/title|info/title|title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+    <dl>
+      <xsl:choose>
+        <xsl:when test="$glossary.sort != 0">
+          <xsl:apply-templates select="glossentry">
+            <xsl:sort lang="$language" select="translate(glossterm, 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&!
 #7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&!
 #7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&
#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#3!
 61;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;',                                          'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGG!
 GGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKK
KKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="glossentry"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </dl>
+  </div>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="glossdiv">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates select="(glossentry[1]/preceding-sibling::*)"/>
+
+    <dl>
+      <xsl:choose>
+        <xsl:when test="$glossary.sort != 0">
+          <xsl:apply-templates select="glossentry">
+            <xsl:sort lang="$language" select="translate(glossterm, 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&!
 #7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&!
 #7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&
#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#3!
 61;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;',                                          'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGG!
 GGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKK
KKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="glossentry"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </dl>
+  </div>
+</xsl:template>
+
+<xsl:template match="glossdiv/title">
+  <h3>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </h3>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!--
+GlossEntry ::=
+  GlossTerm, Acronym?, Abbrev?,
+  (IndexTerm)*,
+  RevHistory?,
+  (GlossSee | GlossDef+)
+-->
+
+<xsl:template match="glossentry">
+  <xsl:choose>
+    <xsl:when test="$glossentry.show.acronym = 'primary'">
+      <dt>
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="conditional">
+            <xsl:choose>
+              <xsl:when test="$glossterm.auto.link != 0">0</xsl:when>
+              <xsl:otherwise>1</xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+
+        <xsl:choose>
+          <xsl:when test="acronym|abbrev">
+            <xsl:apply-templates select="acronym|abbrev"/>
+            <xsl:text> (</xsl:text>
+            <xsl:apply-templates select="glossterm"/>
+            <xsl:text>)</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="glossterm"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </dt>
+    </xsl:when>
+    <xsl:when test="$glossentry.show.acronym = 'yes'">
+      <dt>
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="conditional">
+            <xsl:choose>
+              <xsl:when test="$glossterm.auto.link != 0">0</xsl:when>
+              <xsl:otherwise>1</xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+
+        <xsl:apply-templates select="glossterm"/>
+
+        <xsl:if test="acronym|abbrev">
+          <xsl:text> (</xsl:text>
+          <xsl:apply-templates select="acronym|abbrev"/>
+          <xsl:text>)</xsl:text>
+        </xsl:if>
+      </dt>
+    </xsl:when>
+    <xsl:otherwise>
+      <dt>
+        <xsl:call-template name="anchor">
+          <xsl:with-param name="conditional">
+            <xsl:choose>
+              <xsl:when test="$glossterm.auto.link != 0">0</xsl:when>
+              <xsl:otherwise>1</xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+
+        <xsl:apply-templates select="glossterm"/>
+      </dt>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:apply-templates select="indexterm|revhistory|glosssee|glossdef"/>
+</xsl:template>
+
+<xsl:template match="glossentry/glossterm">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::glossterm">, </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/acronym">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::acronym|following-sibling::abbrev">, </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/abbrev">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::acronym|following-sibling::abbrev">, </xsl:if>
+</xsl:template>
+
+<xsl:template match="glossentry/revhistory">
+</xsl:template>
+
+<xsl:template match="glossentry/glosssee">
+  <xsl:variable name="otherterm" select="@otherterm"/>
+  <xsl:variable name="targets" select="key('id', $otherterm)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <dd>
+    <p>
+      <xsl:variable name="template">
+        <xsl:call-template name="gentext.template">
+          <xsl:with-param name="context" select="'glossary'"/>
+          <xsl:with-param name="name" select="'see'"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="title">
+        <xsl:choose>
+          <xsl:when test="$target">
+            <a>
+              <xsl:attribute name="href">
+                <xsl:call-template name="href.target">
+                  <xsl:with-param name="object" select="$target"/>
+                </xsl:call-template>
+              </xsl:attribute>
+              <xsl:apply-templates select="$target" mode="xref-to"/>
+            </a>
+          </xsl:when>
+          <xsl:when test="$otherterm != '' and not($target)">
+            <xsl:message>
+              <xsl:text>Warning: glosssee @otherterm reference not found: </xsl:text>
+              <xsl:value-of select="$otherterm"/>
+            </xsl:message>
+            <xsl:apply-templates/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:call-template name="substitute-markup">
+        <xsl:with-param name="template" select="$template"/>
+        <xsl:with-param name="title" select="$title"/>
+      </xsl:call-template>
+      <xsl:text>.</xsl:text>
+    </p>
+  </dd>
+</xsl:template>
+
+<xsl:template match="glossentry/glossdef">
+  <dd>
+    <xsl:apply-templates select="*[local-name(.) != 'glossseealso']"/>
+    <xsl:if test="glossseealso">
+      <p>
+        <xsl:variable name="template">
+          <xsl:call-template name="gentext.template">
+            <xsl:with-param name="context" select="'glossary'"/>
+            <xsl:with-param name="name" select="'seealso'"/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:variable name="title">
+          <xsl:apply-templates select="glossseealso"/>
+        </xsl:variable>
+        <xsl:call-template name="substitute-markup">
+          <xsl:with-param name="template" select="$template"/>
+          <xsl:with-param name="title" select="$title"/>
+        </xsl:call-template>
+      </p>
+    </xsl:if>
+  </dd>
+</xsl:template>
+
+<xsl:template match="glossseealso">
+  <xsl:variable name="otherterm" select="@otherterm"/>
+  <xsl:variable name="targets" select="key('id', $otherterm)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:choose>
+    <xsl:when test="$target">
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:apply-templates select="$target" mode="xref-to"/>
+      </a>
+    </xsl:when>
+    <xsl:when test="$otherterm != '' and not($target)">
+      <xsl:message>
+        <xsl:text>Warning: glossseealso @otherterm reference not found: </xsl:text>
+        <xsl:value-of select="$otherterm"/>
+      </xsl:message>
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="position() = last()">
+      <xsl:text>.</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>, </xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- Glossary collection -->
+
+<xsl:template match="glossary[@role='auto']" priority="2">
+  <xsl:variable name="terms" select="//glossterm[not(parent::glossdef)]|//firstterm"/>
+  <xsl:variable name="collection" select="document($glossary.collection, .)"/>
+
+  <xsl:call-template name="id.warning"/>
+
+  <xsl:if test="$glossary.collection = ''">
+    <xsl:message>
+      <xsl:text>Warning: processing automatic glossary </xsl:text>
+      <xsl:text>without a glossary.collection file.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:if test="not($collection) and $glossary.collection != ''">
+    <xsl:message>
+      <xsl:text>Warning: processing automatic glossary but unable to </xsl:text>
+      <xsl:text>open glossary.collection file '</xsl:text>
+      <xsl:value-of select="$glossary.collection"/>
+      <xsl:text>'</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="glossary.titlepage"/>
+
+    <xsl:choose>
+      <xsl:when test="glossdiv and $collection//glossdiv">
+        <xsl:for-each select="$collection//glossdiv">
+          <!-- first see if there are any in this div -->
+          <xsl:variable name="exist.test">
+            <xsl:for-each select="glossentry">
+              <xsl:variable name="cterm" select="glossterm"/>
+              <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+                <xsl:value-of select="glossterm"/>
+              </xsl:if>
+            </xsl:for-each>
+          </xsl:variable>
+
+          <xsl:if test="$exist.test != ''">
+            <xsl:apply-templates select="." mode="auto-glossary">
+              <xsl:with-param name="terms" select="$terms"/>
+            </xsl:apply-templates>
+          </xsl:if>
+        </xsl:for-each>
+      </xsl:when>
+      <xsl:otherwise>
+        <dl>
+          <xsl:choose>
+            <xsl:when test="$glossary.sort != 0">
+              <xsl:for-each select="$collection//glossentry">
+                <xsl:sort lang="$language" select="translate(glossterm, 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#78!
 64;&#7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#6!
 27;&#7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#2
42;&#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360!
 ;&#361;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;',                                              'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGG!
 GGGGGGGGGGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJ
JKKKKKKKKKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+                <xsl:variable name="cterm" select="glossterm"/>
+                <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+                  <xsl:apply-templates select="." mode="auto-glossary"/>
+                </xsl:if>
+              </xsl:for-each>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:for-each select="$collection//glossentry">
+                <xsl:variable name="cterm" select="glossterm"/>
+                <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+                  <xsl:apply-templates select="." mode="auto-glossary"/>
+                </xsl:if>
+              </xsl:for-each>
+            </xsl:otherwise>
+          </xsl:choose>
+        </dl>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test="not(parent::article)">
+      <xsl:call-template name="process.footnotes"/>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="auto-glossary">
+  <!-- pop back out to the default mode for most elements -->
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="glossdiv" mode="auto-glossary">
+  <xsl:param name="terms" select="."/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates select="(glossentry[1]/preceding-sibling::*)"/>
+
+    <dl>
+      <xsl:choose>
+        <xsl:when test="$glossary.sort != 0">
+          <xsl:for-each select="glossentry">
+            <xsl:sort lang="$language" select="translate(glossterm, 'Aa&#192;&#224;&#193;&#225;&#194;&#226;&#195;&#227;&#196;&#228;&#197;&#229;&#256;&#257;&#258;&#259;&#260;&#261;&#461;&#462;&#478;&#479;&#480;&#481;&#506;&#507;&#512;&#513;&#514;&#515;&#550;&#551;&#7680;&#7681;&#7834;&#7840;&#7841;&#7842;&#7843;&#7844;&#7845;&#7846;&#7847;&#7848;&#7849;&#7850;&#7851;&#7852;&#7853;&#7854;&#7855;&#7856;&#7857;&#7858;&#7859;&#7860;&#7861;&#7862;&#7863;Bb&#384;&#385;&#595;&#386;&#387;&#7682;&#7683;&#7684;&#7685;&#7686;&#7687;Cc&#199;&#231;&#262;&#263;&#264;&#265;&#266;&#267;&#268;&#269;&#391;&#392;&#597;&#7688;&#7689;Dd&#270;&#271;&#272;&#273;&#394;&#599;&#395;&#396;&#453;&#498;&#545;&#598;&#7690;&#7691;&#7692;&#7693;&#7694;&#7695;&#7696;&#7697;&#7698;&#7699;Ee&#200;&#232;&#201;&#233;&#202;&#234;&#203;&#235;&#274;&#275;&#276;&#277;&#278;&#279;&#280;&#281;&#282;&#283;&#516;&#517;&#518;&#519;&#552;&#553;&#7700;&#7701;&#7702;&#7703;&#7704;&#7705;&#7706;&#7707;&#7708;&#7709;&#7864;&!
 #7865;&#7866;&#7867;&#7868;&#7869;&#7870;&#7871;&#7872;&#7873;&#7874;&#7875;&#7876;&#7877;&#7878;&#7879;Ff&#401;&#402;&#7710;&#7711;Gg&#284;&#285;&#286;&#287;&#288;&#289;&#290;&#291;&#403;&#608;&#484;&#485;&#486;&#487;&#500;&#501;&#7712;&#7713;Hh&#292;&#293;&#294;&#295;&#542;&#543;&#614;&#7714;&#7715;&#7716;&#7717;&#7718;&#7719;&#7720;&#7721;&#7722;&#7723;&#7830;Ii&#204;&#236;&#205;&#237;&#206;&#238;&#207;&#239;&#296;&#297;&#298;&#299;&#300;&#301;&#302;&#303;&#304;&#407;&#616;&#463;&#464;&#520;&#521;&#522;&#523;&#7724;&#7725;&#7726;&#7727;&#7880;&#7881;&#7882;&#7883;Jj&#308;&#309;&#496;&#669;Kk&#310;&#311;&#408;&#409;&#488;&#489;&#7728;&#7729;&#7730;&#7731;&#7732;&#7733;Ll&#313;&#314;&#315;&#316;&#317;&#318;&#319;&#320;&#321;&#322;&#410;&#456;&#564;&#619;&#620;&#621;&#7734;&#7735;&#7736;&#7737;&#7738;&#7739;&#7740;&#7741;Mm&#625;&#7742;&#7743;&#7744;&#7745;&#7746;&#7747;Nn&#209;&#241;&#323;&#324;&#325;&#326;&#327;&#328;&#413;&#626;&#414;&#544;&#459;&#504;&#505;&#565;&#627;&!
 #7748;&#7749;&#7750;&#7751;&#7752;&#7753;&#7754;&#7755;Oo&#210;&#242;&
#211;&#243;&#212;&#244;&#213;&#245;&#214;&#246;&#216;&#248;&#332;&#333;&#334;&#335;&#336;&#337;&#415;&#416;&#417;&#465;&#466;&#490;&#491;&#492;&#493;&#510;&#511;&#524;&#525;&#526;&#527;&#554;&#555;&#556;&#557;&#558;&#559;&#560;&#561;&#7756;&#7757;&#7758;&#7759;&#7760;&#7761;&#7762;&#7763;&#7884;&#7885;&#7886;&#7887;&#7888;&#7889;&#7890;&#7891;&#7892;&#7893;&#7894;&#7895;&#7896;&#7897;&#7898;&#7899;&#7900;&#7901;&#7902;&#7903;&#7904;&#7905;&#7906;&#7907;Pp&#420;&#421;&#7764;&#7765;&#7766;&#7767;Qq&#672;Rr&#340;&#341;&#342;&#343;&#344;&#345;&#528;&#529;&#530;&#531;&#636;&#637;&#638;&#7768;&#7769;&#7770;&#7771;&#7772;&#7773;&#7774;&#7775;Ss&#346;&#347;&#348;&#349;&#350;&#351;&#352;&#353;&#536;&#537;&#642;&#7776;&#7777;&#7778;&#7779;&#7780;&#7781;&#7782;&#7783;&#7784;&#7785;Tt&#354;&#355;&#356;&#357;&#358;&#359;&#427;&#428;&#429;&#430;&#648;&#538;&#539;&#566;&#7786;&#7787;&#7788;&#7789;&#7790;&#7791;&#7792;&#7793;&#7831;Uu&#217;&#249;&#218;&#250;&#219;&#251;&#220;&#252;&#360;&#3!
 61;&#362;&#363;&#364;&#365;&#366;&#367;&#368;&#369;&#370;&#371;&#431;&#432;&#467;&#468;&#469;&#470;&#471;&#472;&#473;&#474;&#475;&#476;&#532;&#533;&#534;&#535;&#7794;&#7795;&#7796;&#7797;&#7798;&#7799;&#7800;&#7801;&#7802;&#7803;&#7908;&#7909;&#7910;&#7911;&#7912;&#7913;&#7914;&#7915;&#7916;&#7917;&#7918;&#7919;&#7920;&#7921;Vv&#434;&#651;&#7804;&#7805;&#7806;&#7807;Ww&#372;&#373;&#7808;&#7809;&#7810;&#7811;&#7812;&#7813;&#7814;&#7815;&#7816;&#7817;&#7832;Xx&#7818;&#7819;&#7820;&#7821;Yy&#221;&#253;&#255;&#376;&#374;&#375;&#435;&#436;&#562;&#563;&#7822;&#7823;&#7833;&#7922;&#7923;&#7924;&#7925;&#7926;&#7927;&#7928;&#7929;Zz&#377;&#378;&#379;&#380;&#381;&#382;&#437;&#438;&#548;&#549;&#656;&#657;&#7824;&#7825;&#7826;&#7827;&#7828;&#7829;&#7829;',                                          'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBBBCCCCCCCCCCCCCCCCCDDDDDDDDDDDDDDDDDDDDDDDDEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEFFFFFFGGGGGGGGGGGGGGGGGG!
 GGHHHHHHHHHHHHHHHHHHHHIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIJJJJJJKKKKKKK
KKKKKKKLLLLLLLLLLLLLLLLLLLLLLLLLLMMMMMMMMMNNNNNNNNNNNNNNNNNNNNNNNNNNNOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOPPPPPPPPQQQRRRRRRRRRRRRRRRRRRRRRRRSSSSSSSSSSSSSSSSSSSSSSSTTTTTTTTTTTTTTTTTTTTTTTTTUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUVVVVVVVVWWWWWWWWWWWWWWWXXXXXXYYYYYYYYYYYYYYYYYYYYYYYZZZZZZZZZZZZZZZZZZZZZ')"/>
+            <xsl:variable name="cterm" select="glossterm"/>
+            <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+              <xsl:apply-templates select="." mode="auto-glossary"/>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:for-each select="glossentry">
+            <xsl:variable name="cterm" select="glossterm"/>
+            <xsl:if test="$terms[@baseform = $cterm or . = $cterm]">
+              <xsl:apply-templates select="." mode="auto-glossary"/>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:otherwise>
+      </xsl:choose>
+    </dl>
+  </div>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/graphics.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/graphics.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/graphics.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1398 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:stext="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.TextFactory" xmlns:simg="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.ImageIntrinsics" xmlns:ximg="xalan://com.nwalsh.xalan.ImageIntrinsics" xmlns:xtext="xalan://com.nwalsh.xalan.Text" xmlns:lxslt="http://xml.apache.org/xslt" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xlink stext xtext lxslt simg ximg" extension-element-prefixes="stext xtext" version="1.0">
+
+<!-- ********************************************************************
+     $Id: graphics.xsl 6533 2007-01-20 08:51:43Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     Contributors:
+     Colin Paul Adams, <colin at colina.demon.co.uk>
+
+     ******************************************************************** -->
+
+<lxslt:component prefix="xtext" elements="insertfile"/>
+<lxslt:component prefix="ximg" functions="new getWidth getDepth"/>
+
+<!-- ==================================================================== -->
+<!-- Graphic format tests for the HTML backend -->
+
+<xsl:template name="is.graphic.format">
+  <xsl:param name="format"/>
+  <xsl:if test="$format = 'SVG'                 or $format = 'PNG'                 or $format = 'JPG'                 or $format = 'JPEG'                 or $format = 'linespecific'                 or $format = 'GIF'                 or $format = 'GIF87a'                 or $format = 'GIF89a'                 or $format = 'BMP'">1</xsl:if>
+</xsl:template>
+
+<xsl:template name="is.graphic.extension">
+  <xsl:param name="ext"/>
+  <xsl:variable name="lcext" select="translate($ext,                                        'ABCDEFGHIJKLMNOPQRSTUVWXYZ',                                        'abcdefghijklmnopqrstuvwxyz')"/>
+  <xsl:if test="$lcext = 'svg'              or $lcext = 'png'              or $lcext = 'jpeg'              or $lcext = 'jpg'              or $lcext = 'avi'              or $lcext = 'mpg'              or $lcext = 'mpeg'              or $lcext = 'qt'              or $lcext = 'gif'              or $lcext = 'bmp'">1</xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="screenshot">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="screeninfo">
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.image">
+  <!-- When this template is called, the current node should be  -->
+  <!-- a graphic, inlinegraphic, imagedata, or videodata. All    -->
+  <!-- those elements have the same set of attributes, so we can -->
+  <!-- handle them all in one place.                             -->
+  <xsl:param name="tag" select="'img'"/>
+  <xsl:param name="alt"/>
+  <xsl:param name="longdesc"/>
+
+  <!-- The HTML img element only supports the notion of content-area
+       scaling; it doesn't support the distinction between a
+       content-area and a viewport-area, so we have to make some
+       compromises.
+
+       1. If only the content-area is specified, everything is fine.
+          (If you ask for a three inch image, that's what you'll get.)
+
+       2. If only the viewport-area is provided:
+          - If scalefit=1, treat it as both the content-area and
+            the viewport-area. (If you ask for an image in a five inch
+            area, we'll make the image five inches to fill that area.)
+          - If scalefit=0, ignore the viewport-area specification.
+
+          Note: this is not quite the right semantic and has the additional
+          problem that it can result in anamorphic scaling, which scalefit
+          should never cause.
+
+       3. If both the content-area and the viewport-area is specified
+          on a graphic element, ignore the viewport-area.
+          (If you ask for a three inch image in a five inch area, we'll assume
+           it's better to give you a three inch image in an unspecified area
+           than a five inch image in a five inch area.
+
+       Relative units also cause problems. As a general rule, the stylesheets
+       are operating too early and too loosely coupled with the rendering engine
+       to know things like the current font size or the actual dimensions of
+       an image. Therefore:
+
+       1. We use a fixed size for pixels, $pixels.per.inch
+
+       2. We use a fixed size for "em"s, $points.per.em
+
+       Percentages are problematic. In the following discussion, we speak
+       of width and contentwidth, but the same issues apply to depth and
+       contentdepth
+
+       1. A width of 50% means "half of the available space for the image."
+          That's fine. But note that in HTML, this is a dynamic property and
+          the image size will vary if the browser window is resized.
+
+       2. A contentwidth of 50% means "half of the actual image width". But
+          the stylesheets have no way to assess the image's actual size. Treating
+          this as a width of 50% is one possibility, but it produces behavior
+          (dynamic scaling) that seems entirely out of character with the
+          meaning.
+
+          Instead, the stylesheets define a $nominal.image.width
+          and convert percentages to actual values based on that nominal size.
+
+       Scale can be problematic. Scale applies to the contentwidth, so
+       a scale of 50 when a contentwidth is not specified is analagous to a
+       width of 50%. (If a contentwidth is specified, the scaling factor can
+       be applied to that value and no problem exists.)
+
+       If scale is specified but contentwidth is not supplied, the
+       nominal.image.width is used to calculate a base size
+       for scaling.
+
+       Warning: as a consequence of these decisions, unless the aspect ratio
+       of your image happens to be exactly the same as (nominal width / nominal height),
+       specifying contentwidth="50%" and contentdepth="50%" is NOT going to
+       scale the way you expect (or really, the way it should).
+
+       Don't do that. In fact, a percentage value is not recommended for content
+       size at all. Use scale instead.
+
+       Finally, align and valign are troublesome. Horizontal alignment is now
+       supported by wrapping the image in a <div align="{@align}"> (in block
+       contexts!). I can't think of anything (practical) to do about vertical
+       alignment.
+  -->
+
+  <xsl:variable name="width-units">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0"/>
+      <xsl:when test="@width">
+        <xsl:call-template name="length-units">
+          <xsl:with-param name="length" select="@width"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:when test="not(@depth) and $default.image.width != ''">
+        <xsl:call-template name="length-units">
+          <xsl:with-param name="length" select="$default.image.width"/>
+        </xsl:call-template>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="width">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0"/>
+      <xsl:when test="@width">
+        <xsl:choose>
+          <xsl:when test="$width-units = '%'">
+            <xsl:value-of select="@width"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="length-spec">
+              <xsl:with-param name="length" select="@width"/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:when test="not(@depth) and $default.image.width != ''">
+        <xsl:value-of select="$default.image.width"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="scalefit">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0">0</xsl:when>
+      <xsl:when test="@contentwidth or @contentdepth">0</xsl:when>
+      <xsl:when test="@scale">0</xsl:when>
+      <xsl:when test="@scalefit"><xsl:value-of select="@scalefit"/></xsl:when>
+      <xsl:when test="$width != '' or @depth">1</xsl:when>
+      <xsl:otherwise>0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="scale">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0">1.0</xsl:when>
+      <xsl:when test="@contentwidth or @contentdepth">1.0</xsl:when>
+      <xsl:when test="@scale">
+        <xsl:value-of select="@scale div 100.0"/>
+      </xsl:when>
+      <xsl:otherwise>1.0</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="local-name(.) = 'graphic'                       or local-name(.) = 'inlinegraphic'">
+        <!-- handle legacy graphic and inlinegraphic by new template --> 
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select="."/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- imagedata, videodata, audiodata -->
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select=".."/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="output_filename">
+    <xsl:choose>
+      <xsl:when test="@entityref">
+        <xsl:value-of select="$filename"/>
+      </xsl:when>
+      <!--
+        Moved test for $keep.relative.image.uris to template below:
+            <xsl:template match="@fileref">
+      -->
+      <xsl:otherwise>
+        <xsl:value-of select="$filename"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="img.src.path.pi">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="../processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'img.src.path'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="filename.for.graphicsize">
+    <xsl:choose>
+      <xsl:when test="$img.src.path.pi != ''">
+        <xsl:value-of select="concat($img.src.path.pi, $filename)"/>
+      </xsl:when>
+      <xsl:when test="$img.src.path != '' and                       $graphicsize.use.img.src.path != 0 and                       $tag = 'img' and                       not(starts-with($filename, '/')) and                       not(contains($filename, '://'))">
+        <xsl:value-of select="concat($img.src.path, $filename)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$filename"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="realintrinsicwidth">
+    <!-- This funny compound test works around a bug in XSLTC -->
+    <xsl:choose>
+      <xsl:when test="$use.extensions != 0 and $graphicsize.extension != 0">
+        <xsl:choose>
+          <xsl:when test="function-available('simg:getWidth')">
+            <xsl:value-of select="simg:getWidth(simg:new($filename.for.graphicsize),                                                 $nominal.image.width)"/>
+          </xsl:when>
+          <xsl:when test="function-available('ximg:getWidth')">
+            <xsl:value-of select="ximg:getWidth(ximg:new($filename.for.graphicsize),                                                 $nominal.image.width)"/>
+          </xsl:when>
+          <xsl:otherwise>
+           <xsl:value-of select="0"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="0"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="intrinsicwidth">
+    <xsl:choose>
+      <xsl:when test="$realintrinsicwidth = 0">
+       <xsl:value-of select="$nominal.image.width"/>
+      </xsl:when>
+      <xsl:otherwise>
+       <xsl:value-of select="$realintrinsicwidth"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="intrinsicdepth">
+    <!-- This funny compound test works around a bug in XSLTC -->
+    <xsl:choose>
+      <xsl:when test="$use.extensions != 0 and $graphicsize.extension != 0">
+        <xsl:choose>
+          <xsl:when test="function-available('simg:getDepth')">
+            <xsl:value-of select="simg:getDepth(simg:new($filename.for.graphicsize),                                                 $nominal.image.depth)"/>
+          </xsl:when>
+          <xsl:when test="function-available('ximg:getDepth')">
+            <xsl:value-of select="ximg:getDepth(ximg:new($filename.for.graphicsize),                                                 $nominal.image.depth)"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$nominal.image.depth"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$nominal.image.depth"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="contentwidth">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0"/>
+      <xsl:when test="@contentwidth">
+        <xsl:variable name="units">
+          <xsl:call-template name="length-units">
+            <xsl:with-param name="length" select="@contentwidth"/>
+          </xsl:call-template>
+        </xsl:variable>
+
+        <xsl:choose>
+          <xsl:when test="$units = '%'">
+            <xsl:variable name="cmagnitude">
+              <xsl:call-template name="length-magnitude">
+                <xsl:with-param name="length" select="@contentwidth"/>
+              </xsl:call-template>
+            </xsl:variable>
+            <xsl:value-of select="$intrinsicwidth * $cmagnitude div 100.0"/>
+            <xsl:text>px</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="length-spec">
+              <xsl:with-param name="length" select="@contentwidth"/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$intrinsicwidth"/>
+        <xsl:text>px</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="scaled.contentwidth">
+    <xsl:if test="$contentwidth != ''">
+      <xsl:variable name="cwidth.in.points">
+        <xsl:call-template name="length-in-points">
+          <xsl:with-param name="length" select="$contentwidth"/>
+          <xsl:with-param name="pixels.per.inch" select="$pixels.per.inch"/>
+          <xsl:with-param name="em.size" select="$points.per.em"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:value-of select="$cwidth.in.points div 72.0 * $pixels.per.inch * $scale"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="html.width">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0"/>
+      <xsl:when test="$width-units = '%'">
+        <xsl:value-of select="$width"/>
+      </xsl:when>
+      <xsl:when test="$width != ''">
+        <xsl:variable name="width.in.points">
+          <xsl:call-template name="length-in-points">
+            <xsl:with-param name="length" select="$width"/>
+            <xsl:with-param name="pixels.per.inch" select="$pixels.per.inch"/>
+            <xsl:with-param name="em.size" select="$points.per.em"/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:value-of select="round($width.in.points div 72.0 * $pixels.per.inch)"/>
+      </xsl:when>
+      <xsl:otherwise/>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="contentdepth">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0"/>
+      <xsl:when test="@contentdepth">
+        <xsl:variable name="units">
+          <xsl:call-template name="length-units">
+            <xsl:with-param name="length" select="@contentdepth"/>
+          </xsl:call-template>
+        </xsl:variable>
+
+        <xsl:choose>
+          <xsl:when test="$units = '%'">
+            <xsl:variable name="cmagnitude">
+              <xsl:call-template name="length-magnitude">
+                <xsl:with-param name="length" select="@contentdepth"/>
+              </xsl:call-template>
+            </xsl:variable>
+            <xsl:value-of select="$intrinsicdepth * $cmagnitude div 100.0"/>
+            <xsl:text>px</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:call-template name="length-spec">
+              <xsl:with-param name="length" select="@contentdepth"/>
+            </xsl:call-template>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$intrinsicdepth"/>
+        <xsl:text>px</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="scaled.contentdepth">
+    <xsl:if test="$contentdepth != ''">
+      <xsl:variable name="cdepth.in.points">
+        <xsl:call-template name="length-in-points">
+          <xsl:with-param name="length" select="$contentdepth"/>
+          <xsl:with-param name="pixels.per.inch" select="$pixels.per.inch"/>
+          <xsl:with-param name="em.size" select="$points.per.em"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:value-of select="$cdepth.in.points div 72.0 * $pixels.per.inch * $scale"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="depth-units">
+    <xsl:if test="@depth">
+      <xsl:call-template name="length-units">
+        <xsl:with-param name="length" select="@depth"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="depth">
+    <xsl:if test="@depth">
+      <xsl:choose>
+        <xsl:when test="$depth-units = '%'">
+          <xsl:value-of select="@depth"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="length-spec">
+            <xsl:with-param name="length" select="@depth"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="html.depth">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0"/>
+      <xsl:when test="$depth-units = '%'">
+        <xsl:value-of select="$depth"/>
+      </xsl:when>
+      <xsl:when test="@depth and @depth != ''">
+        <xsl:variable name="depth.in.points">
+          <xsl:call-template name="length-in-points">
+            <xsl:with-param name="length" select="$depth"/>
+            <xsl:with-param name="pixels.per.inch" select="$pixels.per.inch"/>
+            <xsl:with-param name="em.size" select="$points.per.em"/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:value-of select="round($depth.in.points div 72.0 * $pixels.per.inch)"/>
+      </xsl:when>
+      <xsl:otherwise/>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="viewport">
+    <xsl:choose>
+      <xsl:when test="$ignore.image.scaling != 0">0</xsl:when>
+      <xsl:when test="local-name(.) = 'inlinegraphic'                       or ancestor::inlinemediaobject                       or ancestor::inlineequation">0</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$make.graphic.viewport"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+<!--
+  <xsl:message>=====================================
+scale: <xsl:value-of select="$scale"/>, <xsl:value-of select="$scalefit"/>
+ at contentwidth <xsl:value-of select="@contentwidth"/>
+$contentwidth <xsl:value-of select="$contentwidth"/>
+scaled.contentwidth: <xsl:value-of select="$scaled.contentwidth"/>
+ at width: <xsl:value-of select="@width"/>
+width: <xsl:value-of select="$width"/>
+html.width: <xsl:value-of select="$html.width"/>
+ at contentdepth <xsl:value-of select="@contentdepth"/>
+$contentdepth <xsl:value-of select="$contentdepth"/>
+scaled.contentdepth: <xsl:value-of select="$scaled.contentdepth"/>
+ at depth: <xsl:value-of select="@depth"/>
+depth: <xsl:value-of select="$depth"/>
+html.depth: <xsl:value-of select="$html.depth"/>
+align: <xsl:value-of select="@align"/>
+valign: <xsl:value-of select="@valign"/></xsl:message>
+-->
+
+  <xsl:variable name="scaled" select="@width|@depth|@contentwidth|@contentdepth                         |@scale|@scalefit"/>
+
+  <xsl:variable name="img">
+    <xsl:choose>
+      <xsl:when test="@format = 'SVG'">
+        <object data="{$output_filename}" type="image/svg+xml">
+          <xsl:call-template name="process.image.attributes">
+            <!--xsl:with-param name="alt" select="$alt"/ there's no alt here-->
+            <xsl:with-param name="html.depth" select="$html.depth"/>
+            <xsl:with-param name="html.width" select="$html.width"/>
+            <xsl:with-param name="longdesc" select="$longdesc"/>
+            <xsl:with-param name="scale" select="$scale"/>
+            <xsl:with-param name="scalefit" select="$scalefit"/>
+            <xsl:with-param name="scaled.contentdepth" select="$scaled.contentdepth"/>
+            <xsl:with-param name="scaled.contentwidth" select="$scaled.contentwidth"/>
+            <xsl:with-param name="viewport" select="$viewport"/>
+          </xsl:call-template>
+          <xsl:if test="@align">
+            <xsl:attribute name="align">
+                <xsl:choose>
+                  <xsl:when test="@align = 'center'">middle</xsl:when>
+                  <xsl:otherwise>
+                    <xsl:value-of select="@align"/>
+                  </xsl:otherwise>
+                </xsl:choose>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:if test="$use.embed.for.svg != 0">
+            <embed src="{$output_filename}" type="image/svg+xml">
+              <xsl:call-template name="process.image.attributes">
+                <!--xsl:with-param name="alt" select="$alt"/ there's no alt here -->
+                <xsl:with-param name="html.depth" select="$html.depth"/>
+                <xsl:with-param name="html.width" select="$html.width"/>
+                <xsl:with-param name="longdesc" select="$longdesc"/>
+                <xsl:with-param name="scale" select="$scale"/>
+                <xsl:with-param name="scalefit" select="$scalefit"/>
+                <xsl:with-param name="scaled.contentdepth" select="$scaled.contentdepth"/>
+                <xsl:with-param name="scaled.contentwidth" select="$scaled.contentwidth"/>
+                <xsl:with-param name="viewport" select="$viewport"/>
+              </xsl:call-template>
+            </embed>
+          </xsl:if>
+        </object>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:element name="{$tag}" namespace="http://www.w3.org/1999/xhtml">
+         <xsl:if test="$tag = 'img' and ../../self::imageobjectco">
+           <xsl:variable name="mapname">
+             <xsl:call-template name="object.id">
+               <xsl:with-param name="object" select="../../areaspec"/>
+             </xsl:call-template>
+           </xsl:variable>
+           <xsl:choose>
+             <xsl:when test="$scaled">
+              <!-- It might be possible to handle some scaling; needs -->
+              <!-- more investigation -->
+              <xsl:message>
+                <xsl:text>Warning: imagemaps not supported </xsl:text>
+                <xsl:text>on scaled images</xsl:text>
+              </xsl:message>
+             </xsl:when>
+             <xsl:otherwise>
+              <xsl:attribute name="border">0</xsl:attribute>
+              <xsl:attribute name="usemap">
+                <xsl:value-of select="concat('#', $mapname)"/>
+              </xsl:attribute>
+             </xsl:otherwise>
+           </xsl:choose>
+         </xsl:if>
+
+          <xsl:attribute name="src">
+           <xsl:choose>
+             <xsl:when test="$img.src.path != '' and                            $tag = 'img' and                              not(starts-with($output_filename, '/')) and                            not(contains($output_filename, '://'))">
+               <xsl:value-of select="$img.src.path"/>
+             </xsl:when>
+           </xsl:choose>
+            <xsl:value-of select="$output_filename"/>
+          </xsl:attribute>
+
+          <xsl:if test="@align">
+            <xsl:attribute name="align">
+              <xsl:choose>
+                <xsl:when test="@align = 'center'">middle</xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="@align"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:attribute>
+          </xsl:if>
+
+          <xsl:call-template name="process.image.attributes">
+            <xsl:with-param name="alt">
+              <xsl:choose>
+                <xsl:when test="$alt != ''">
+                  <xsl:copy-of select="$alt"/>
+                </xsl:when>
+                <xsl:when test="ancestor::figure">
+                  <xsl:value-of select="normalize-space(ancestor::figure/title)"/>
+                </xsl:when>
+              </xsl:choose>
+            </xsl:with-param>
+            <xsl:with-param name="html.depth" select="$html.depth"/>
+            <xsl:with-param name="html.width" select="$html.width"/>
+            <xsl:with-param name="longdesc" select="$longdesc"/>
+            <xsl:with-param name="scale" select="$scale"/>
+            <xsl:with-param name="scalefit" select="$scalefit"/>
+            <xsl:with-param name="scaled.contentdepth" select="$scaled.contentdepth"/>
+            <xsl:with-param name="scaled.contentwidth" select="$scaled.contentwidth"/>
+            <xsl:with-param name="viewport" select="$viewport"/>
+          </xsl:call-template>
+        </xsl:element>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="bgcolor">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="../processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'background-color'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="use.viewport" select="$viewport != 0                         and ($html.width != ''                              or ($html.depth != '' and $depth-units != '%')                              or $bgcolor != ''                              or @valign)"/>
+
+  <xsl:choose>
+    <xsl:when test="$use.viewport">
+      <table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0">
+        <xsl:if test="$html.width != ''">
+          <xsl:attribute name="width">
+            <xsl:value-of select="$html.width"/>
+          </xsl:attribute>
+        </xsl:if>
+        <tr>
+          <xsl:if test="$html.depth != '' and $depth-units != '%'">
+            <!-- don't do this for percentages because browsers get confused -->
+            <xsl:choose>
+              <xsl:when test="$css.decoration != 0">
+                <xsl:attribute name="style">
+                  <xsl:text>height: </xsl:text>
+                  <xsl:value-of select="$html.depth"/>
+                  <xsl:text>px</xsl:text>
+                </xsl:attribute>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:attribute name="height">
+                  <xsl:value-of select="$html.depth"/>
+                </xsl:attribute>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:if>
+          <td>
+            <xsl:if test="$bgcolor != ''">
+              <xsl:choose>
+                <xsl:when test="$css.decoration != 0">
+                  <xsl:attribute name="style">
+                    <xsl:text>background-color: </xsl:text>
+                    <xsl:value-of select="$bgcolor"/>
+                  </xsl:attribute>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:attribute name="bgcolor">
+                    <xsl:value-of select="$bgcolor"/>
+                  </xsl:attribute>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:if>
+            <xsl:if test="@align">
+              <xsl:attribute name="align">
+                <xsl:value-of select="@align"/>
+              </xsl:attribute>
+            </xsl:if>
+            <xsl:if test="@valign">
+              <xsl:attribute name="valign">
+                <xsl:value-of select="@valign"/>
+              </xsl:attribute>
+            </xsl:if>
+            <xsl:copy-of select="$img"/>
+          </td>
+        </tr>
+      </table>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$img"/>
+    </xsl:otherwise>
+  </xsl:choose>
+
+  <xsl:if test="$tag = 'img' and ../../self::imageobjectco and not($scaled)">
+    <xsl:variable name="mapname">
+      <xsl:call-template name="object.id">
+        <xsl:with-param name="object" select="../../areaspec"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <map name="{$mapname}">
+      <xsl:for-each select="../../areaspec//area">
+        <xsl:variable name="units">
+          <xsl:choose>
+            <xsl:when test="@units = 'other' and @otherunits">
+              <xsl:value-of select="@otherunits"/>
+            </xsl:when>
+            <xsl:when test="@units">
+              <xsl:value-of select="@units"/>
+            </xsl:when>
+            <!-- areaspec|areaset/area -->
+            <xsl:when test="../@units = 'other' and ../@otherunits">
+              <xsl:value-of select="../@otherunits"/>
+            </xsl:when>
+            <xsl:when test="../@units">
+              <xsl:value-of select="../@units"/>
+            </xsl:when>
+            <!-- areaspec/areaset/area -->
+            <xsl:when test="../../@units = 'other' and ../../@otherunits">
+              <xsl:value-of select="../@otherunits"/>
+            </xsl:when>
+            <xsl:when test="../../@units">
+              <xsl:value-of select="../../@units"/>
+            </xsl:when>
+            <xsl:otherwise>calspair</xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+ 
+        <xsl:choose>
+          <xsl:when test="$units = 'calspair' or                           $units = 'imagemap'">
+            <xsl:variable name="coords" select="normalize-space(@coords)"/>
+
+            <area shape="rect">
+              <xsl:variable name="linkends">
+                <xsl:choose>
+                  <xsl:when test="@linkends">
+                    <xsl:value-of select="normalize-space(@linkends)"/>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <xsl:value-of select="normalize-space(../@linkends)"/>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </xsl:variable>
+ 
+              <xsl:variable name="href">
+                <xsl:choose>
+                  <xsl:when test="@xlink:href">
+                    <xsl:value-of select="@xlink:href"/>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <xsl:value-of select="../@xlink:href"/>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </xsl:variable>
+ 
+              <xsl:choose>
+                <xsl:when test="$linkends != ''">
+                  <xsl:variable name="linkend">
+                    <xsl:choose>
+                      <xsl:when test="contains($linkends, ' ')">
+                        <xsl:value-of select="substring-before($linkends, ' ')"/>
+                      </xsl:when>
+                      <xsl:otherwise>
+                        <xsl:value-of select="$linkends"/>
+                      </xsl:otherwise>
+                    </xsl:choose>
+                  </xsl:variable>
+                  
+                  <xsl:variable name="target" select="key('id', $linkend)[1]"/>
+                 
+                  <xsl:if test="$target">
+                    <xsl:attribute name="href">
+                      <xsl:call-template name="href.target">
+                        <xsl:with-param name="object" select="$target"/>
+                      </xsl:call-template>
+                    </xsl:attribute>
+                  </xsl:if>
+                </xsl:when>
+                <xsl:when test="$href != ''">
+                  <xsl:attribute name="href">
+                    <xsl:value-of select="$href"/>
+                  </xsl:attribute>
+                </xsl:when>
+              </xsl:choose>
+ 
+              <xsl:if test="alt">
+                <xsl:attribute name="alt">
+                  <xsl:value-of select="alt[1]"/>
+                </xsl:attribute>
+              </xsl:if>
+ 
+              <xsl:attribute name="coords">
+                <xsl:choose>
+                  <xsl:when test="$units = 'calspair'">
+
+                    <xsl:variable name="p1" select="substring-before($coords, ' ')"/>
+                    <xsl:variable name="p2" select="substring-after($coords, ' ')"/>
+         
+                    <xsl:variable name="x1" select="substring-before($p1,',')"/>
+                    <xsl:variable name="y1" select="substring-after($p1,',')"/>
+                    <xsl:variable name="x2" select="substring-before($p2,',')"/>
+                    <xsl:variable name="y2" select="substring-after($p2,',')"/>
+         
+                    <xsl:variable name="x1p" select="$x1 div 100.0"/>
+                    <xsl:variable name="y1p" select="$y1 div 100.0"/>
+                    <xsl:variable name="x2p" select="$x2 div 100.0"/>
+                    <xsl:variable name="y2p" select="$y2 div 100.0"/>
+         
+         <!--
+                    <xsl:message>
+                      <xsl:text>units: </xsl:text>
+                      <xsl:value-of select="$units"/>
+                      <xsl:text> </xsl:text>
+                      <xsl:value-of select="$x1p"/><xsl:text>, </xsl:text>
+                      <xsl:value-of select="$y1p"/><xsl:text>, </xsl:text>
+                      <xsl:value-of select="$x2p"/><xsl:text>, </xsl:text>
+                      <xsl:value-of select="$y2p"/><xsl:text>, </xsl:text>
+                    </xsl:message>
+         
+                    <xsl:message>
+                      <xsl:text>      </xsl:text>
+                      <xsl:value-of select="$intrinsicwidth"/>
+                      <xsl:text>, </xsl:text>
+                      <xsl:value-of select="$intrinsicdepth"/>
+                    </xsl:message>
+         
+                    <xsl:message>
+                      <xsl:text>      </xsl:text>
+                      <xsl:value-of select="$units"/>
+                      <xsl:text> </xsl:text>
+                      <xsl:value-of 
+                            select="round($x1p * $intrinsicwidth div 100.0)"/>
+                      <xsl:text>,</xsl:text>
+                      <xsl:value-of select="round($intrinsicdepth
+                                       - ($y2p * $intrinsicdepth div 100.0))"/>
+                      <xsl:text>,</xsl:text>
+                      <xsl:value-of select="round($x2p * 
+                                            $intrinsicwidth div 100.0)"/>
+                      <xsl:text>,</xsl:text>
+                      <xsl:value-of select="round($intrinsicdepth
+                                       - ($y1p * $intrinsicdepth div 100.0))"/>
+                    </xsl:message>
+         -->
+                    <xsl:value-of select="round($x1p * $intrinsicwidth div 100.0)"/>
+                    <xsl:text>,</xsl:text>
+                    <xsl:value-of select="round($intrinsicdepth                                         - ($y2p * $intrinsicdepth div 100.0))"/>
+                    <xsl:text>,</xsl:text>
+                    <xsl:value-of select="round($x2p * $intrinsicwidth div 100.0)"/>
+                    <xsl:text>,</xsl:text>
+                    <xsl:value-of select="round($intrinsicdepth                                       - ($y1p * $intrinsicdepth div 100.0))"/>
+                  </xsl:when>
+                  <xsl:otherwise>
+                    <xsl:copy-of select="$coords"/>
+                  </xsl:otherwise>
+                </xsl:choose>
+              </xsl:attribute>
+            </area>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:message>
+              <xsl:text>Warning: only calspair or </xsl:text>
+              <xsl:text>otherunits='imagemap' supported </xsl:text>
+              <xsl:text>in imageobjectco</xsl:text>
+            </xsl:message>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:for-each>
+    </map>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="process.image.attributes">
+  <xsl:param name="alt"/>
+  <xsl:param name="html.width"/>
+  <xsl:param name="html.depth"/>
+  <xsl:param name="longdesc"/>
+  <xsl:param name="scale"/>
+  <xsl:param name="scalefit"/>
+  <xsl:param name="scaled.contentdepth"/>
+  <xsl:param name="scaled.contentwidth"/>
+  <xsl:param name="viewport"/>
+
+  <xsl:choose>
+    <xsl:when test="@contentwidth or @contentdepth">
+      <!-- ignore @width/@depth, @scale, and @scalefit if specified -->
+      <xsl:if test="@contentwidth">
+        <xsl:attribute name="width">
+          <xsl:value-of select="$scaled.contentwidth"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="@contentdepth">
+        <xsl:attribute name="height">
+          <xsl:value-of select="$scaled.contentdepth"/>
+        </xsl:attribute>
+      </xsl:if>
+    </xsl:when>
+
+    <xsl:when test="number($scale) != 1.0">
+      <!-- scaling is always uniform, so we only have to specify one dimension -->
+      <!-- ignore @scalefit if specified -->
+      <xsl:attribute name="width">
+        <xsl:value-of select="$scaled.contentwidth"/>
+      </xsl:attribute>
+    </xsl:when>
+
+    <xsl:when test="$scalefit != 0">
+      <xsl:choose>
+        <xsl:when test="contains($html.width, '%')">
+          <xsl:choose>
+            <xsl:when test="$viewport != 0">
+              <!-- The *viewport* will be scaled, so use 100% here! -->
+              <xsl:attribute name="width">
+                <xsl:value-of select="'100%'"/>
+              </xsl:attribute>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:attribute name="width">
+                <xsl:value-of select="$html.width"/>
+              </xsl:attribute>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+
+        <xsl:when test="contains($html.depth, '%')">
+          <!-- HTML doesn't deal with this case very well...do nothing -->
+        </xsl:when>
+
+        <xsl:when test="$scaled.contentwidth != '' and $html.width != ''                         and $scaled.contentdepth != '' and $html.depth != ''">
+          <!-- scalefit should not be anamorphic; figure out which direction -->
+          <!-- has the limiting scale factor and scale in that direction -->
+          <xsl:choose>
+            <xsl:when test="$html.width div $scaled.contentwidth &gt;                             $html.depth div $scaled.contentdepth">
+              <xsl:attribute name="height">
+                <xsl:value-of select="$html.depth"/>
+              </xsl:attribute>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:attribute name="width">
+                <xsl:value-of select="$html.width"/>
+              </xsl:attribute>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+
+        <xsl:when test="$scaled.contentwidth != '' and $html.width != ''">
+          <xsl:attribute name="width">
+            <xsl:value-of select="$html.width"/>
+          </xsl:attribute>
+        </xsl:when>
+
+        <xsl:when test="$scaled.contentdepth != '' and $html.depth != ''">
+          <xsl:attribute name="height">
+            <xsl:value-of select="$html.depth"/>
+          </xsl:attribute>
+        </xsl:when>
+      </xsl:choose>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:if test="$alt != ''">
+    <xsl:attribute name="alt">
+      <xsl:value-of select="normalize-space($alt)"/>
+    </xsl:attribute>
+  </xsl:if>
+
+  <xsl:if test="$longdesc != ''">
+    <xsl:attribute name="longdesc">
+      <xsl:value-of select="$longdesc"/>
+    </xsl:attribute>
+  </xsl:if>
+
+  <xsl:if test="@align and $viewport = 0">
+    <xsl:attribute name="align">
+      <xsl:choose>
+        <xsl:when test="@align = 'center'">middle</xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="@align"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="graphic">
+  <xsl:choose>
+    <xsl:when test="parent::inlineequation">
+      <xsl:call-template name="anchor"/>
+      <xsl:call-template name="process.image"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <div>
+        <xsl:if test="@align">
+          <xsl:attribute name="align">
+            <xsl:value-of select="@align"/>
+          </xsl:attribute>
+        </xsl:if>
+        <xsl:call-template name="anchor"/>
+        <xsl:call-template name="process.image"/>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="inlinegraphic">
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="@entityref">
+        <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="@fileref"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="anchor"/>
+
+  <xsl:choose>
+    <xsl:when test="@format='linespecific'">
+      <xsl:choose>
+        <xsl:when test="$use.extensions != '0'                         and $textinsert.extension != '0'">
+          <xsl:choose>
+            <xsl:when test="element-available('stext:insertfile')">
+              <stext:insertfile href="{$filename}" encoding="{$textdata.default.encoding}"/>
+            </xsl:when>
+            <xsl:when test="element-available('xtext:insertfile')">
+              <xtext:insertfile href="{$filename}"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message terminate="yes">
+                <xsl:text>No insertfile extension available.</xsl:text>
+              </xsl:message>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" href="{$filename}"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="process.image"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="mediaobject|mediaobjectco">
+
+  <xsl:variable name="olist" select="imageobject|imageobjectco                      |videoobject|audioobject                      |textobject"/>
+
+  <xsl:variable name="object.index">
+    <xsl:call-template name="select.mediaobject.index">
+      <xsl:with-param name="olist" select="$olist"/>
+      <xsl:with-param name="count" select="1"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="object" select="$olist[position() = $object.index]"/>
+
+  <xsl:variable name="align">
+    <xsl:value-of select="$object/descendant::imagedata[@align][1]/@align"/>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$align != '' ">
+      <xsl:attribute name="align">
+        <xsl:value-of select="$align"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:apply-templates select="$object"/>
+    <xsl:apply-templates select="caption"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="inlinemediaobject">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="select.mediaobject"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="programlisting/inlinemediaobject                      |screen/inlinemediaobject" priority="2">
+  <!-- the additional span causes problems in some cases -->
+  <xsl:call-template name="select.mediaobject"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="imageobjectco">
+  <xsl:call-template name="anchor"/>
+  <xsl:apply-templates select="imageobject"/>
+  <xsl:apply-templates select="calloutlist"/>
+</xsl:template>
+
+<xsl:template match="imageobject">
+  <xsl:choose>
+    <xsl:when xmlns:svg="http://www.w3.org/2000/svg" test="svg:*">
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="imagedata"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="imagedata">
+  <xsl:variable name="filename">
+    <xsl:call-template name="mediaobject.filename">
+      <xsl:with-param name="object" select=".."/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="@format='linespecific'">
+      <xsl:choose>
+        <xsl:when test="$use.extensions != '0'                         and $textinsert.extension != '0'">
+          <xsl:choose>
+            <xsl:when test="element-available('stext:insertfile')">
+              <stext:insertfile href="{$filename}" encoding="{$textdata.default.encoding}"/>
+            </xsl:when>
+            <xsl:when test="element-available('xtext:insertfile')">
+              <xtext:insertfile href="{$filename}"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message terminate="yes">
+                <xsl:text>No insertfile extension available.</xsl:text>
+              </xsl:message>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" href="{$filename}"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="longdesc.uri">
+        <xsl:call-template name="longdesc.uri">
+          <xsl:with-param name="mediaobject" select="ancestor::imageobject/parent::*"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="phrases" select="ancestor::mediaobject/textobject[phrase]                             |ancestor::inlinemediaobject/textobject[phrase]                             |ancestor::mediaobjectco/textobject[phrase]"/>
+
+      <xsl:call-template name="process.image">
+        <xsl:with-param name="alt">
+          <xsl:apply-templates select="$phrases[not(@role) or @role!='tex'][1]"/>
+        </xsl:with-param>
+        <xsl:with-param name="longdesc">
+          <xsl:call-template name="write.longdesc">
+            <xsl:with-param name="mediaobject" select="ancestor::imageobject/parent::*"/>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:call-template>
+
+      <xsl:if test="$html.longdesc != 0 and $html.longdesc.link != 0                     and ancestor::imageobject/parent::*/textobject[not(phrase)]">
+        <xsl:call-template name="longdesc.link">
+          <xsl:with-param name="longdesc.uri" select="$longdesc.uri"/>
+        </xsl:call-template>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="longdesc.uri">
+  <xsl:param name="mediaobject" select="."/>
+
+  <xsl:if test="$html.longdesc">
+    <xsl:if test="$mediaobject/textobject[not(phrase)]">
+      <xsl:variable name="image-id">
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select="$mediaobject"/>
+        </xsl:call-template>
+      </xsl:variable>
+      <xsl:variable name="dbhtml.dir">
+        <xsl:call-template name="dbhtml-dir"/>
+      </xsl:variable>
+      <xsl:variable name="filename">
+        <xsl:call-template name="make-relative-filename">
+          <xsl:with-param name="base.dir">
+            <xsl:choose>
+              <xsl:when test="$dbhtml.dir != ''">
+                <xsl:value-of select="$dbhtml.dir"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select="$base.dir"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+          <xsl:with-param name="base.name" select="concat('ld-',$image-id,$html.ext)"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:value-of select="$filename"/>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="write.longdesc">
+  <xsl:param name="mediaobject" select="."/>
+  <xsl:if test="$html.longdesc != 0 and $mediaobject/textobject[not(phrase)]">
+    <xsl:variable name="filename">
+      <xsl:call-template name="longdesc.uri">
+        <xsl:with-param name="mediaobject" select="$mediaobject"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:value-of select="$filename"/>
+
+    <xsl:call-template name="write.chunk">
+      <xsl:with-param name="filename" select="$filename"/>
+      <xsl:with-param name="quiet" select="$chunk.quietly"/>
+      <xsl:with-param name="content">
+      <xsl:call-template name="user.preroot"/>
+        <html>
+          <head>
+            <xsl:call-template name="system.head.content"/>
+            <xsl:call-template name="head.content">
+              <xsl:with-param name="title" select="'Long Description'"/>
+            </xsl:call-template>
+            <xsl:call-template name="user.head.content"/>
+          </head>
+          <body>
+            <xsl:call-template name="body.attributes"/>
+            <xsl:for-each select="$mediaobject/textobject[not(phrase)]">
+              <xsl:apply-templates select="./*"/>
+            </xsl:for-each>
+          </body>
+        </html>
+        <xsl:value-of select="$chunk.append"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="longdesc.link">
+  <xsl:param name="longdesc.uri" select="''"/>
+
+  <xsl:variable name="this.uri">
+    <xsl:call-template name="make-relative-filename">
+      <xsl:with-param name="base.dir" select="$base.dir"/>
+      <xsl:with-param name="base.name">
+        <xsl:call-template name="href.target.uri"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="href.to">
+    <xsl:call-template name="trim.common.uri.paths">
+      <xsl:with-param name="uriA" select="$longdesc.uri"/>
+      <xsl:with-param name="uriB" select="$this.uri"/>
+      <xsl:with-param name="return" select="'A'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <div class="longdesc-link" align="right">
+    <br clear="all"/>
+    <span class="longdesc-link">
+      <xsl:text>[</xsl:text>
+      <a href="{$href.to}" target="longdesc">D</a>
+      <xsl:text>]</xsl:text>
+    </span>
+  </div>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="videoobject">
+  <xsl:apply-templates select="videodata"/>
+</xsl:template>
+
+<xsl:template match="videodata">
+  <xsl:call-template name="process.image">
+    <xsl:with-param name="tag" select="'embed'"/>
+    <xsl:with-param name="alt">
+      <xsl:apply-templates select="(../../textobject/phrase)[1]"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="audioobject">
+  <xsl:apply-templates select="audiodata"/>
+</xsl:template>
+
+<xsl:template match="audiodata">
+  <xsl:call-template name="process.image">
+    <xsl:with-param name="tag" select="'embed'"/>
+    <xsl:with-param name="alt">
+      <xsl:apply-templates select="(../../textobject/phrase)[1]"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="textobject">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="textdata">
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="@entityref">
+        <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates select="@fileref"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="encoding">
+    <xsl:choose>
+      <xsl:when test="@encoding">
+        <xsl:value-of select="@encoding"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$textdata.default.encoding"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$use.extensions != '0'                     and $textinsert.extension != '0'">
+      <xsl:choose>
+        <xsl:when test="element-available('stext:insertfile')">
+          <stext:insertfile href="{$filename}" encoding="{$encoding}"/>
+        </xsl:when>
+        <xsl:when test="element-available('xtext:insertfile')">
+          <xtext:insertfile href="{$filename}"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message terminate="yes">
+            <xsl:text>No insertfile extension available.</xsl:text>
+          </xsl:message>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" href="{$filename}"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="caption">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="@align = 'right' or @align = 'left' or @align='center'">
+      <xsl:attribute name="align"><xsl:value-of select="@align"/></xsl:attribute>
+    </xsl:if>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- "Support" for SVG -->
+
+<xsl:template xmlns:svg="http://www.w3.org/2000/svg" match="svg:*">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates/>
+  </xsl:copy>
+</xsl:template>
+
+
+<!-- The following works sometimes, but needs to take into account
+             1. When there is no /*/@xml:base
+             2. When the chunks are going somewhere else
+<xsl:variable name="relpath">
+  <xsl:call-template name="relative-uri">
+    <xsl:with-param name="filename" select="@fileref"/>
+  </xsl:call-template>
+</xsl:variable>
+
+<xsl:choose>
+  <xsl:when test="/*/@xml:base
+                  and starts-with($relpath,/*/@xml:base)">
+    <xsl:value-of select="substring-after($relpath,/*/@xml:base)"/>
+  </xsl:when>
+  <xsl:otherwise>
+    <xsl:value-of select="@fileref"/>
+  </xsl:otherwise>
+</xsl:choose>
+<xsl:value-of select="@fileref"/>
+      </xsl:when>
+-->
+<!-- Resolve xml:base attributes -->
+<xsl:template match="@fileref">
+  <!-- need a check for absolute urls -->
+  <xsl:choose>
+    <xsl:when test="contains(., ':')">
+      <!-- it has a uri scheme so it is an absolute uri -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:when test="$keep.relative.image.uris != 0">
+      <!-- leave it alone -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- its a relative uri that needs xml:base processing -->
+      <xsl:call-template name="relative-uri">
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/highlight.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/highlight.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/highlight.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xslthl="http://xslthl.sf.net" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xslthl" version="1.0">
+
+<!-- ********************************************************************
+     $Id: inline.xsl 5953 2006-05-08 04:23:10Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="xslthl:keyword">
+  <b class="hl-keyword"><xsl:apply-templates/></b>
+</xsl:template>
+
+<xsl:template match="xslthl:string">
+  <b class="hl-string"><i><span class="ERROR"><xsl:apply-templates/></span></i></b>
+</xsl:template>
+
+<xsl:template match="xslthl:comment">
+  <i class="hl-comment"><span class="ERROR"><xsl:apply-templates/></span></i>
+</xsl:template>
+
+<xsl:template match="xslthl:tag">
+  <b class="hl-tag"><span class="ERROR"><xsl:apply-templates/></span></b>
+</xsl:template>
+
+<xsl:template match="xslthl:attribute">
+  <span class="hl-attribute"><span class="ERROR"><xsl:apply-templates/></span></span>
+</xsl:template>
+
+<xsl:template match="xslthl:value">
+  <span class="hl-value"><span class="ERROR"><xsl:apply-templates/></span></span>
+</xsl:template>
+
+<xsl:template match="xslthl:html">
+  <b><i><span class="ERROR"><xsl:apply-templates/></span></i></b>
+</xsl:template>
+
+<xsl:template match="xslthl:xslt">
+  <b><span class="ERROR"><xsl:apply-templates/></span></b>
+</xsl:template>
+
+<xsl:template match="xslthl:section">
+  <b><xsl:apply-templates/></b>
+</xsl:template>
+
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/html-rtf.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/html-rtf.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/html-rtf.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,321 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns:set="http://exslt.org/sets" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="exsl set" version="1.0">
+
+<!-- ********************************************************************
+     $Id: html-rtf.xsl 6403 2006-11-12 08:23:54Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- This module contains templates that match against HTML nodes. It is used
+     to post-process result tree fragments for some sorts of cleanup.
+     These templates can only ever be fired by a processor that supports
+     exslt:node-set(). -->
+
+<!-- ==================================================================== -->
+
+<!-- insert.html.p mode templates insert a particular RTF at the beginning
+     of the first paragraph in the primary RTF. -->
+
+<xsl:template match="/" mode="insert.html.p">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:apply-templates mode="insert.html.p">
+    <xsl:with-param name="mark" select="$mark"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.html.p">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="insert.html.p">
+      <xsl:with-param name="mark" select="$mark"/>
+    </xsl:apply-templates>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template xmlns:html="http://www.w3.org/1999/xhtml" match="html:p|p" mode="insert.html.p">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:if test="not(preceding::p|preceding::html:p)">
+      <xsl:copy-of select="$mark"/>
+    </xsl:if>
+    <xsl:apply-templates mode="insert.html.p">
+      <xsl:with-param name="mark" select="$mark"/>
+    </xsl:apply-templates>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="text()|processing-instruction()|comment()" mode="insert.html.p">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- insert.html.text mode templates insert a particular RTF at the beginning
+     of the first text-node in the primary RTF. -->
+
+<xsl:template match="/" mode="insert.html.text">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:apply-templates mode="insert.html.text">
+    <xsl:with-param name="mark" select="$mark"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.html.text">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="insert.html.text">
+      <xsl:with-param name="mark" select="$mark"/>
+    </xsl:apply-templates>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="text()|processing-instruction()|comment()" mode="insert.html.text">
+  <xsl:param name="mark" select="'?'"/>
+
+  <xsl:if test="not(preceding::text())">
+    <xsl:copy-of select="$mark"/>
+  </xsl:if>
+
+  <xsl:copy/>
+</xsl:template>
+
+<xsl:template match="processing-instruction()|comment()" mode="insert.html.text">
+  <xsl:param name="mark" select="'?'"/>
+  <xsl:copy/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- unwrap.p mode templates remove blocks from HTML p elements (and
+     other places where blocks aren't allowed) -->
+
+<xsl:template name="unwrap.p">
+  <xsl:param name="p"/>
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set')                     and function-available('set:leading')                     and function-available('set:trailing')">
+      <xsl:apply-templates select="exsl:node-set($p)" mode="unwrap.p"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$p"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template xmlns:html="http://www.w3.org/1999/xhtml" match="html:p|p" mode="unwrap.p">
+  <!-- xmlns:html is necessary for the xhtml stylesheet case -->
+  <xsl:variable name="blocks" select="address|blockquote|div|hr|h1|h2|h3|h4|h5|h6                         |layer|p|pre|table|dl|menu|ol|ul|form                         |html:address|html:blockquote|html:div|html:hr                         |html:h1|html:h2|html:h3|html:h4|html:h5|html:h6                         |html:layer|html:p|html:pre|html:table|html:dl                         |html:menu|html:ol|html:ul|html:form"/>
+  <xsl:choose>
+    <xsl:when test="$blocks">
+      <xsl:call-template name="unwrap.p.nodes">
+        <xsl:with-param name="wrap" select="."/>
+        <xsl:with-param name="first" select="1"/>
+        <xsl:with-param name="nodes" select="node()"/>
+        <xsl:with-param name="blocks" select="$blocks"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy>
+        <xsl:copy-of select="@*"/>
+        <xsl:apply-templates mode="unwrap.p"/>
+      </xsl:copy>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="unwrap.p">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="unwrap.p"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="text()|processing-instruction()|comment()" mode="unwrap.p">
+  <xsl:copy/>
+</xsl:template>
+
+<xsl:template name="unwrap.p.nodes">
+  <xsl:param name="wrap" select="."/>
+  <xsl:param name="first" select="0"/>
+  <xsl:param name="nodes"/>
+  <xsl:param name="blocks"/>
+  <xsl:variable name="block" select="$blocks[1]"/>
+
+  <!-- This template should never get called if these functions aren't available -->
+  <!-- but this test is still necessary so that processors don't choke on the -->
+  <!-- function calls if they don't support the set: functions -->
+  <xsl:if test="function-available('set:leading')                 and function-available('set:trailing')">
+    <xsl:choose>
+      <xsl:when test="$blocks">
+        <xsl:variable name="leading" select="set:leading($nodes,$block)"/>
+        <xsl:variable name="trailing" select="set:trailing($nodes,$block)"/>
+
+        <xsl:if test="(($wrap/@id or $wrap/@xml:id)                          and $first = 1) or $leading">
+          <xsl:element name="{local-name($wrap)}" namespace="http://www.w3.org/1999/xhtml">
+            <xsl:for-each select="$wrap/@*">
+              <xsl:if test="$first != 0 or local-name(.) != 'id'">
+                <xsl:copy/>
+              </xsl:if>
+            </xsl:for-each>
+            <xsl:apply-templates select="$leading" mode="unwrap.p"/>
+          </xsl:element>
+        </xsl:if>
+
+        <xsl:apply-templates select="$block" mode="unwrap.p"/>
+
+        <xsl:if test="$trailing">
+          <xsl:call-template name="unwrap.p.nodes">
+            <xsl:with-param name="wrap" select="$wrap"/>
+            <xsl:with-param name="nodes" select="$trailing"/>
+            <xsl:with-param name="blocks" select="$blocks[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:if>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <xsl:if test="(($wrap/@id or $wrap/@xml:id) and $first = 1) or $nodes">
+          <xsl:element name="{local-name($wrap)}" namespace="http://www.w3.org/1999/xhtml">
+            <xsl:for-each select="$wrap/@*">
+              <xsl:if test="$first != 0 or local-name(.) != 'id'">
+                <xsl:copy/>
+              </xsl:if>
+            </xsl:for-each>
+            <xsl:apply-templates select="$nodes" mode="unwrap.p"/>
+          </xsl:element>
+        </xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- make.verbatim.mode replaces spaces and newlines -->
+
+<xsl:template match="/" mode="make.verbatim.mode">
+  <xsl:apply-templates mode="make.verbatim.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="make.verbatim.mode">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="make.verbatim.mode"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="processing-instruction()|comment()" mode="make.verbatim.mode">
+  <xsl:copy/>
+</xsl:template>
+
+<xsl:template match="text()" mode="make.verbatim.mode">
+  <xsl:variable name="text" select="translate(., ' ', '&#160;')"/>
+
+  <xsl:choose>
+    <xsl:when test="not(contains($text, '&#xA;'))">
+      <xsl:value-of select="$text"/>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:variable name="len" select="string-length($text)"/>
+
+      <xsl:choose>
+        <xsl:when test="$len = 1">
+          <br/><xsl:text>
+</xsl:text>
+        </xsl:when>
+
+        <xsl:otherwise>
+          <xsl:variable name="half" select="$len div 2"/>
+          <xsl:call-template name="make-verbatim-recursive">
+            <xsl:with-param name="text" select="substring($text, 1, $half)"/>
+          </xsl:call-template>
+          <xsl:call-template name="make-verbatim-recursive">
+            <xsl:with-param name="text" select="substring($text, ($half + 1), $len)"/>
+          </xsl:call-template>
+    	</xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="make-verbatim-recursive">
+  <xsl:param name="text" select="''"/>
+
+  <xsl:choose>
+    <xsl:when test="not(contains($text, '&#xA;'))">
+      <xsl:value-of select="$text"/>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:variable name="len" select="string-length($text)"/>
+
+      <xsl:choose>
+        <xsl:when test="$len = 1">
+          <br/><xsl:text>
+</xsl:text>
+        </xsl:when>
+
+        <xsl:otherwise>
+    	  <xsl:variable name="half" select="$len div 2"/>
+          <xsl:call-template name="make-verbatim-recursive">
+    	    <xsl:with-param name="text" select="substring($text, 1, $half)"/>
+    	  </xsl:call-template>
+    	  <xsl:call-template name="make-verbatim-recursive">
+    	    <xsl:with-param name="text" select="substring($text, ($half + 1), $len)"/>
+    	  </xsl:call-template>
+    	</xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- remove.empty.div mode templates remove empty blocks -->
+
+<xsl:template name="remove.empty.div">
+  <xsl:param name="div"/>
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set')">
+      <xsl:apply-templates select="exsl:node-set($div)" mode="remove.empty.div"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$div"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template xmlns:html="http://www.w3.org/1999/xhtml" match="html:p|p|html:div|div" mode="remove.empty.div">
+  <xsl:if test="node()">
+    <xsl:copy>
+      <xsl:copy-of select="@*"/>
+      <xsl:apply-templates mode="remove.empty.div"/>
+    </xsl:copy>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="*" mode="remove.empty.div">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="remove.empty.div"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="text()|processing-instruction()|comment()" mode="remove.empty.div">
+  <xsl:copy/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/html.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/html.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/html.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,227 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: html.xsl 6435 2006-11-18 09:13:40Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- The generate.html.title template is currently used for generating HTML -->
+<!-- "title" attributes for some inline elements only, but not for any -->
+<!-- block elements. It is called in eleven places in the inline.xsl -->
+<!-- file. But it's called by all the inline.* templates (e.g., -->
+<!-- inline.boldseq), which in turn are called by other (element) -->
+<!-- templates, so it results, currently, in supporting generation of the -->
+<!-- HTML "title" attribute for a total of about 92 elements. -->
+<!-- You can use mode="html.title.attribute" to get a title for -->
+<!-- an element specified by a param, including targets of cross references. -->
+<xsl:template name="generate.html.title">
+  <xsl:apply-templates select="." mode="html.title.attribute"/>
+</xsl:template>
+
+<!-- Generate a title attribute for the context node -->
+<xsl:template match="*" mode="html.title.attribute">
+  <xsl:variable name="is.title">
+    <xsl:call-template name="gentext.template.exists">
+      <xsl:with-param name="context" select="'title'"/>
+      <xsl:with-param name="name" select="local-name(.)"/>
+      <xsl:with-param name="lang">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="is.title-numbered">
+    <xsl:call-template name="gentext.template.exists">
+      <xsl:with-param name="context" select="'title-numbered'"/>
+      <xsl:with-param name="name" select="local-name(.)"/>
+      <xsl:with-param name="lang">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="is.title-unnumbered">
+    <xsl:call-template name="gentext.template.exists">
+      <xsl:with-param name="context" select="'title-unnumbered'"/>
+      <xsl:with-param name="name" select="local-name(.)"/>
+      <xsl:with-param name="lang">
+        <xsl:call-template name="l10n.language"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="gentext.title">
+    <xsl:if test="$is.title != 0 or                   $is.title-numbered != 0 or                   $is.title-unnumbered != 0">
+      <xsl:apply-templates select="." mode="object.title.markup.textonly"/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="string-length($gentext.title) != 0">
+      <xsl:attribute name="title">
+        <xsl:value-of select="$gentext.title"/>
+      </xsl:attribute>
+    </xsl:when>
+    <!-- Fall back to alt if available -->
+    <xsl:when test="alt">
+      <xsl:attribute name="title">
+        <xsl:value-of select="normalize-space(alt)"/>
+      </xsl:attribute>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="dir">
+  <xsl:param name="inherit" select="0"/>
+
+  <xsl:variable name="dir">
+    <xsl:choose>
+      <xsl:when test="@dir">
+        <xsl:value-of select="@dir"/>
+      </xsl:when>
+      <xsl:when test="$inherit != 0">
+        <xsl:value-of select="ancestor::*/@dir[1]"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:if test="$dir != ''">
+    <xsl:attribute name="dir">
+      <xsl:value-of select="$dir"/>
+    </xsl:attribute>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="anchor">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="conditional" select="1"/>
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="$node"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:if test="$conditional = 0 or $node/@id or $node/@xml:id">
+    <a id="{$id}"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="href.target.uri">
+  <xsl:param name="context" select="."/>
+  <xsl:param name="object" select="."/>
+  <xsl:text>#</xsl:text>
+  <xsl:call-template name="object.id">
+    <xsl:with-param name="object" select="$object"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="href.target">
+  <xsl:param name="context" select="."/>
+  <xsl:param name="object" select="."/>
+  <xsl:text>#</xsl:text>
+  <xsl:call-template name="object.id">
+    <xsl:with-param name="object" select="$object"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="href.target.with.base.dir">
+  <xsl:param name="context" select="."/>
+  <xsl:param name="object" select="."/>
+  <xsl:if test="$manifest.in.base.dir = 0">
+    <xsl:value-of select="$base.dir"/>
+  </xsl:if>
+  <xsl:call-template name="href.target">
+    <xsl:with-param name="context" select="$context"/>
+    <xsl:with-param name="object" select="$object"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="dingbat">
+  <xsl:param name="dingbat">bullet</xsl:param>
+  <xsl:call-template name="dingbat.characters">
+    <xsl:with-param name="dingbat" select="$dingbat"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="dingbat.characters">
+  <!-- now that I'm using the real serializer, all that dingbat malarky -->
+  <!-- isn't necessary anymore... -->
+  <xsl:param name="dingbat">bullet</xsl:param>
+  <xsl:choose>
+    <xsl:when test="$dingbat='bullet'">&#8226;</xsl:when>
+    <xsl:when test="$dingbat='copyright'">&#169;</xsl:when>
+    <xsl:when test="$dingbat='trademark'">&#8482;</xsl:when>
+    <xsl:when test="$dingbat='trade'">&#8482;</xsl:when>
+    <xsl:when test="$dingbat='registered'">&#174;</xsl:when>
+    <xsl:when test="$dingbat='service'">(SM)</xsl:when>
+    <xsl:when test="$dingbat='nbsp'">&#160;</xsl:when>
+    <xsl:when test="$dingbat='ldquo'">&#8220;</xsl:when>
+    <xsl:when test="$dingbat='rdquo'">&#8221;</xsl:when>
+    <xsl:when test="$dingbat='lsquo'">&#8216;</xsl:when>
+    <xsl:when test="$dingbat='rsquo'">&#8217;</xsl:when>
+    <xsl:when test="$dingbat='em-dash'">&#8212;</xsl:when>
+    <xsl:when test="$dingbat='mdash'">&#8212;</xsl:when>
+    <xsl:when test="$dingbat='en-dash'">&#8211;</xsl:when>
+    <xsl:when test="$dingbat='ndash'">&#8211;</xsl:when>
+    <xsl:otherwise>
+      <xsl:text>&#8226;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="id.warning">
+  <xsl:if test="$id.warnings != 0 and not(@id) and not(@xml:id) and parent::*">
+    <xsl:variable name="title">
+      <xsl:choose>
+        <xsl:when test="title">
+          <xsl:value-of select="title[1]"/>
+        </xsl:when>
+        <xsl:when test="substring(local-name(*[1]),                                   string-length(local-name(*[1])-3) = 'info')                         and *[1]/title">
+          <xsl:value-of select="*[1]/title[1]"/>
+        </xsl:when>
+        <xsl:when test="refmeta/refentrytitle">
+          <xsl:value-of select="refmeta/refentrytitle"/>
+        </xsl:when>
+        <xsl:when test="refnamediv/refname">
+          <xsl:value-of select="refnamediv/refname[1]"/>
+        </xsl:when>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:message>
+      <xsl:text>ID recommended on </xsl:text>
+      <xsl:value-of select="local-name(.)"/>
+      <xsl:if test="$title != ''">
+        <xsl:text>: </xsl:text>
+        <xsl:choose>
+          <xsl:when test="string-length($title) &gt; 40">
+            <xsl:value-of select="substring($title,1,40)"/>
+            <xsl:text>...</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$title"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:if>
+    </xsl:message>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="*" mode="class.attribute">
+  <xsl:param name="class" select="local-name(.)"/>
+  <!-- permit customization of class attributes -->
+  <!-- Use element name by default -->
+  <xsl:attribute name="class">
+    <xsl:value-of select="$class"/>
+  </xsl:attribute>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/html2xhtml.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/html2xhtml.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/html2xhtml.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,181 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                xmlns:exsl="http://exslt.org/common"
+                exclude-result-prefixes="exsl"
+                version="1.0">
+
+<xsl:include href="http://docbook.sourceforge.net/release/xsl/current/lib/lib.xsl"/>
+<xsl:output method="xml" encoding="US-ASCII"/>
+<xsl:preserve-space elements="*"/>
+
+<xsl:template match="/">
+  <xsl:text>&#10;</xsl:text>
+  <xsl:comment>This file was created automatically by html2xhtml</xsl:comment>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:comment>from the HTML stylesheets. Do not edit this file.</xsl:comment>
+  <xsl:text>&#10;</xsl:text>
+  <xsl:apply-templates/>
+  <xsl:text>&#10;</xsl:text>
+</xsl:template>
+
+<xsl:template match="xsl:stylesheet" >
+  <xsl:variable name="a">
+      <xsl:element name="dummy" namespace="http://www.w3.org/1999/xhtml"/>
+  </xsl:variable>
+    <xsl:copy>
+      <xsl:copy-of select="exsl:node-set($a)//namespace::*"/>
+      <xsl:copy-of select="@*"/>
+      <xsl:apply-templates/>
+   </xsl:copy>
+</xsl:template>
+
+<!-- Make sure we override some templates and parameters appropriately for XHTML -->
+<xsl:template match="xsl:output">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="method">xml</xsl:attribute>
+    <xsl:attribute name="encoding">UTF-8</xsl:attribute>
+    <xsl:attribute name="doctype-public">-//W3C//DTD XHTML 1.0 Transitional//EN</xsl:attribute>
+    <xsl:attribute name="doctype-system">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:import">
+  <xsl:copy>
+    <xsl:attribute name="href">
+      <xsl:call-template name="string.subst">
+        <xsl:with-param name="string" select="@href"/>
+        <xsl:with-param name="target">/html/</xsl:with-param>
+        <xsl:with-param name="replacement">/xhtml/</xsl:with-param>
+      </xsl:call-template>
+    </xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='stylesheet.result.type']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">'xhtml'</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='make.valid.html']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">1</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='output.method']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">'xml'</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='chunker.output.method']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">'xml'</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='chunker.output.encoding']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">'UTF-8'</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='chunker.output.doctype-public']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">'-//W3C//DTD XHTML 1.0 Transitional//EN'</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:param[@name='chunker.output.doctype-system']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="select">'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'</xsl:attribute>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:attribute[@name='name']">
+  <xsl:choose>
+    <xsl:when test="ancestor::a">
+      <xsl:copy>
+        <xsl:copy-of select="@*"/>
+        <xsl:attribute name="name">id</xsl:attribute>
+        <xsl:apply-templates/>
+      </xsl:copy>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy>
+        <xsl:copy-of select="@*"/>
+        <xsl:apply-templates/>
+      </xsl:copy>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="xsl:element">
+  <!-- make sure literal xsl:element declarations propagate the right namespace -->
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:attribute name="namespace">http://www.w3.org/1999/xhtml</xsl:attribute>
+    <xsl:apply-templates/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="xsl:template[@name='body.attributes']">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:text>&#10;</xsl:text>
+    <xsl:comment> no apply-templates; make it empty </xsl:comment>
+    <xsl:text>&#10;</xsl:text>
+  </xsl:copy>
+</xsl:template>
+
+<!-- this only occurs in docbook.xsl to identify errors -->
+<xsl:template match="font">
+  <span class="ERROR" xmlns="http://www.w3.org/1999/xhtml">
+    <xsl:apply-templates/>
+  </span>
+</xsl:template>
+
+<!-- this only occurs in docbook.xsl to identify errors -->
+<xsl:template match="a[@name]">
+  <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:attribute name="id"><xsl:value-of select="@name"/></xsl:attribute>
+    <xsl:for-each select="@*">
+      <xsl:if test="local-name(.) != 'name'">
+        <xsl:attribute name="{name(.)}"><xsl:value-of select="."/></xsl:attribute>
+      </xsl:if>
+    </xsl:for-each>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="*">
+  <xsl:choose>
+    <xsl:when test="namespace-uri(.) = ''">
+      <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml">
+        <xsl:copy-of select="@*"/>
+        <xsl:apply-templates/>
+      </xsl:element>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy>
+        <xsl:copy-of select="@*"/>
+        <xsl:apply-templates/>
+      </xsl:copy>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="comment()|processing-instruction()|text()">
+  <xsl:copy/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/htmltbl.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/htmltbl.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/htmltbl.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: htmltbl.xsl 3202 2003-11-30 19:42:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="colgroup" mode="htmlTable">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="htmlTable"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="col" mode="htmlTable">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="caption" mode="htmlTable">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+
+    <xsl:apply-templates select=".." mode="object.title.markup">
+      <xsl:with-param name="allow-anchors" select="1"/>
+    </xsl:apply-templates>
+
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="thead|tbody|tgroup|tr" mode="htmlTable">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates mode="htmlTable"/>
+  </xsl:copy>
+</xsl:template>
+
+<xsl:template match="th|td" mode="htmlTable">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates/> <!-- *not* mode=htmlTable -->
+  </xsl:copy>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/index.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/index.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/index.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,224 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: index.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="index">
+  <!-- some implementations use completely empty index tags to indicate -->
+  <!-- where an automatically generated index should be inserted. so -->
+  <!-- if the index is completely empty, skip it. Unless generate.index -->
+  <!-- is non-zero, in which case, this is where the automatically -->
+  <!-- generated index should go. -->
+
+  <xsl:call-template name="id.warning"/>
+
+  <xsl:if test="count(*)&gt;0 or $generate.index != '0'">
+    <div>
+      <xsl:apply-templates select="." mode="class.attribute"/>
+      <xsl:if test="$generate.id.attributes != 0">
+        <xsl:attribute name="id">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </xsl:if>
+
+      <xsl:call-template name="index.titlepage"/>
+      <xsl:choose>
+	<xsl:when test="indexdiv">
+	  <xsl:apply-templates/>
+	</xsl:when>
+	<xsl:otherwise>
+	  <xsl:apply-templates select="*[not(self::indexentry)]"/>
+	  <!-- Because it's actually valid for Index to have neither any -->
+	  <!-- Indexdivs nor any Indexentries, we need to check and make -->
+	  <!-- sure that at least one Indexentry exists, and generate a -->
+	  <!-- wrapper dl if there is at least one; otherwise, do nothing. -->
+	  <xsl:if test="indexentry">
+	    <!-- The indexentry template assumes a parent dl wrapper has -->
+	    <!-- been generated; for Indexes that have Indexdivs, the dl -->
+	    <!-- wrapper is generated by the indexdiv template; however, -->
+	    <!-- for Indexes that lack Indexdivs, if we don't generate a -->
+	    <!-- dl here, HTML output will not be valid. -->
+	    <dl>
+	      <xsl:apply-templates select="indexentry"/>
+	    </dl>
+	  </xsl:if>
+	</xsl:otherwise>
+      </xsl:choose>
+
+      <xsl:if test="count(indexentry) = 0 and count(indexdiv) = 0">
+        <xsl:call-template name="generate-index">
+          <xsl:with-param name="scope" select="(ancestor::book|/)[last()]"/>
+        </xsl:call-template>
+      </xsl:if>
+
+      <xsl:if test="not(parent::article)">
+        <xsl:call-template name="process.footnotes"/>
+      </xsl:if>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="setindex">
+  <!-- some implementations use completely empty index tags to indicate -->
+  <!-- where an automatically generated index should be inserted. so -->
+  <!-- if the index is completely empty, skip it. Unless generate.index -->
+  <!-- is non-zero, in which case, this is where the automatically -->
+  <!-- generated index should go. -->
+
+  <xsl:call-template name="id.warning"/>
+
+  <xsl:if test="count(*)&gt;0 or $generate.index != '0'">
+    <div>
+      <xsl:apply-templates select="." mode="class.attribute"/>
+      <xsl:if test="$generate.id.attributes != 0">
+        <xsl:attribute name="id">
+          <xsl:call-template name="object.id"/>
+        </xsl:attribute>
+      </xsl:if>
+
+      <xsl:call-template name="setindex.titlepage"/>
+      <xsl:apply-templates/>
+
+      <xsl:if test="count(indexentry) = 0 and count(indexdiv) = 0">
+        <xsl:call-template name="generate-index">
+          <xsl:with-param name="scope" select="/"/>
+        </xsl:call-template>
+      </xsl:if>
+
+      <xsl:if test="not(parent::article)">
+        <xsl:call-template name="process.footnotes"/>
+      </xsl:if>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="index/indexinfo"/>
+<xsl:template match="index/info"/>
+<xsl:template match="index/title"/>
+<xsl:template match="index/subtitle"/>
+<xsl:template match="index/titleabbrev"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="indexdiv">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates select="*[not(self::indexentry)]"/>
+    <dl>
+      <xsl:apply-templates select="indexentry"/>
+    </dl>
+  </div>
+</xsl:template>
+
+<xsl:template match="indexdiv/title">
+  <h3>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </h3>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="indexterm">
+  <!-- this one must have a name, even if it doesn't have an ID -->
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <a id="{$id}" class="indexterm"/>
+</xsl:template>
+
+<xsl:template match="primary|secondary|tertiary|see|seealso">
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="indexentry">
+  <xsl:apply-templates select="primaryie"/>
+</xsl:template>
+
+<xsl:template match="primaryie">
+  <dt>
+    <xsl:apply-templates/>
+  </dt>
+  <xsl:choose>
+    <xsl:when test="following-sibling::secondaryie">
+      <dd>
+        <dl>
+          <xsl:apply-templates select="following-sibling::secondaryie"/>
+        </dl>
+      </dd>
+    </xsl:when>
+    <xsl:when test="following-sibling::seeie                     |following-sibling::seealsoie">
+      <dd>
+        <dl>
+          <xsl:apply-templates select="following-sibling::seeie                                        |following-sibling::seealsoie"/>
+        </dl>
+      </dd>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="secondaryie">
+  <dt>
+    <xsl:apply-templates/>
+  </dt>
+  <xsl:choose>
+    <xsl:when test="following-sibling::tertiaryie">
+      <dd>
+        <dl>
+          <xsl:apply-templates select="following-sibling::tertiaryie"/>
+        </dl>
+      </dd>
+    </xsl:when>
+    <xsl:when test="following-sibling::seeie                     |following-sibling::seealsoie">
+      <dd>
+        <dl>
+          <xsl:apply-templates select="following-sibling::seeie                                        |following-sibling::seealsoie"/>
+        </dl>
+      </dd>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="tertiaryie">
+  <dt>
+    <xsl:apply-templates/>
+  </dt>
+  <xsl:if test="following-sibling::seeie                 |following-sibling::seealsoie">
+    <dd>
+      <dl>
+        <xsl:apply-templates select="following-sibling::seeie                                      |following-sibling::seealsoie"/>
+      </dl>
+    </dd>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="seeie|seealsoie">
+  <dt>
+    <xsl:apply-templates/>
+  </dt>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/info.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/info.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/info.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: info.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- These templates define the "default behavior" for info
+     elements.  Even if you don't process the *info wrappers,
+     some of these elements are needed because the elements are
+     processed from named templates that are called with modes.
+     Since modes aren't sticky, these rules apply. 
+     (TODO: clarify this comment) -->
+
+<!-- ==================================================================== -->
+<!-- called from named templates in a given mode -->
+
+<xsl:template match="corpauthor">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="jobtitle">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/inline.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/inline.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/inline.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1368 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:suwl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.UnwrapLinks" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xlink suwl" version="1.0">
+
+<!-- ********************************************************************
+     $Id: inline.xsl 6451 2006-12-13 09:21:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+<xsl:template name="simple.xlink">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="content">
+    <xsl:apply-templates/>
+  </xsl:param>
+  <xsl:param name="a.target"/>
+  <xsl:param name="linkend" select="$node/@linkend"/>
+  <xsl:param name="xhref" select="$node/@xlink:href"/>
+
+  <xsl:variable name="link">
+    <xsl:choose>
+      <xsl:when test="$xhref and                        (not($node/@xlink:type) or                             $node/@xlink:type='simple')">
+
+        <!-- Is it a local idref or a uri? -->
+        <xsl:variable name="is.idref">
+          <xsl:choose>
+            <!-- if the href starts with # and does not contain an "(" -->
+            <!-- or if the href starts with #xpointer(id(, it's just an ID -->
+            <xsl:when test="starts-with($xhref,'#')                             and (not(contains($xhref,'('))                             or starts-with($xhref,                                        '#xpointer(id('))">1</xsl:when>
+            <xsl:otherwise>0</xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+
+        <xsl:choose>
+          <xsl:when test="$is.idref = 1">
+
+            <xsl:variable name="idref">
+              <xsl:call-template name="xpointer.idref">
+                <xsl:with-param name="xpointer" select="$xhref"/>
+              </xsl:call-template>
+            </xsl:variable>
+
+            <xsl:variable name="targets" select="key('id',$idref)"/>
+            <xsl:variable name="target" select="$targets[1]"/>
+
+            <xsl:call-template name="check.id.unique">
+              <xsl:with-param name="linkend" select="$idref"/>
+            </xsl:call-template>
+
+            <xsl:choose>
+              <xsl:when test="count($target) = 0">
+                <xsl:message>
+                  <xsl:text>XLink to nonexistent id: </xsl:text>
+                  <xsl:value-of select="$idref"/>
+                </xsl:message>
+                <xsl:copy-of select="$content"/>
+              </xsl:when>
+
+              <xsl:otherwise>
+                <a>
+                  <xsl:attribute name="href">
+                    <xsl:call-template name="href.target">
+                      <xsl:with-param name="object" select="$target"/>
+                    </xsl:call-template>
+                  </xsl:attribute>
+
+                  <xsl:choose>
+                    <xsl:when test="$node/@xlink.title">
+                      <xsl:attribute name="title">
+                        <xsl:value-of select="$node/@xlink:title"/>
+                      </xsl:attribute>
+                    </xsl:when>
+                    <xsl:otherwise>
+                      <xsl:apply-templates select="$target" mode="html.title.attribute"/>
+                    </xsl:otherwise>
+                  </xsl:choose>
+
+                  <xsl:if test="$a.target">
+                    <xsl:attribute name="target">
+                      <xsl:value-of select="$a.target"/>
+                    </xsl:attribute>
+                  </xsl:if>
+
+                  <xsl:copy-of select="$content"/>
+
+                </a>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:when>
+
+          <!-- otherwise it's a URI -->
+          <xsl:otherwise>
+            <a>
+              <xsl:attribute name="href">
+                <xsl:value-of select="$xhref"/>
+              </xsl:attribute>
+              <xsl:if test="$node/@xlink.title">
+                <xsl:attribute name="title">
+                  <xsl:value-of select="$node/@xlink:title"/>
+                </xsl:attribute>
+              </xsl:if>
+              <xsl:copy-of select="$content"/>
+            </a>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+
+      <xsl:when test="$linkend">
+        <xsl:variable name="targets" select="key('id',$linkend)"/>
+        <xsl:variable name="target" select="$targets[1]"/>
+
+        <xsl:call-template name="check.id.unique">
+          <xsl:with-param name="linkend" select="$linkend"/>
+        </xsl:call-template>
+
+        <a>
+          <xsl:attribute name="href">
+            <xsl:call-template name="href.target">
+              <xsl:with-param name="object" select="$target"/>
+            </xsl:call-template>
+          </xsl:attribute>
+
+          <xsl:apply-templates select="$target" mode="html.title.attribute"/>
+
+          <xsl:copy-of select="$content"/>
+          
+        </a>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$content"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('suwl:unwrapLinks')">
+      <xsl:copy-of select="suwl:unwrapLinks($link)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$link"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="inline.charseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <!-- * if you want output from the inline.charseq template wrapped in -->
+  <!-- * something other than a Span, call the template with some value -->
+  <!-- * for the 'wrapper-name' param -->
+  <xsl:param name="wrapper-name">span</xsl:param>
+  <xsl:element name="{$wrapper-name}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:attribute name="class">
+      <xsl:value-of select="local-name(.)"/>
+    </xsl:attribute>
+    <xsl:call-template name="dir"/>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:copy-of select="$content"/>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template name="inline.monoseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir"/>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:copy-of select="$content"/>
+    <xsl:call-template name="apply-annotations"/>
+  </code>
+</xsl:template>
+
+<xsl:template name="inline.boldseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+
+  <span>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:call-template name="dir"/>
+
+    <!-- don't put <strong> inside figure, example, or table titles -->
+    <xsl:choose>
+      <xsl:when test="local-name(..) = 'title'                       and (local-name(../..) = 'figure'                       or local-name(../..) = 'example'                       or local-name(../..) = 'table')">
+        <xsl:copy-of select="$content"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <strong>
+          <xsl:apply-templates select="." mode="class.attribute"/>
+          <xsl:copy-of select="$content"/>
+        </strong>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:call-template name="apply-annotations"/>
+  </span>
+</xsl:template>
+
+<xsl:template name="inline.italicseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <em>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:call-template name="dir"/>
+    <xsl:copy-of select="$content"/>
+    <xsl:call-template name="apply-annotations"/>
+  </em>
+</xsl:template>
+
+<xsl:template name="inline.boldmonoseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <!-- don't put <strong> inside figure, example, or table titles -->
+  <!-- or other titles that may already be represented with <strong>'s. -->
+  <xsl:choose>
+    <xsl:when test="local-name(..) = 'title'                     and (local-name(../..) = 'figure'                          or local-name(../..) = 'example'                          or local-name(../..) = 'table'                          or local-name(../..) = 'formalpara')">
+      <code>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:call-template name="generate.html.title"/>
+        <xsl:call-template name="dir"/>
+        <xsl:copy-of select="$content"/>
+        <xsl:call-template name="apply-annotations"/>
+      </code>
+    </xsl:when>
+    <xsl:otherwise>
+      <strong>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <code>
+          <xsl:call-template name="generate.html.title"/>
+          <xsl:call-template name="dir"/>
+          <xsl:copy-of select="$content"/>
+        </code>
+        <xsl:call-template name="apply-annotations"/>
+      </strong>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="inline.italicmonoseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <em>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <code>
+      <xsl:call-template name="generate.html.title"/>
+      <xsl:call-template name="dir"/>
+      <xsl:copy-of select="$content"/>
+      <xsl:call-template name="apply-annotations"/>
+    </code>
+  </em>
+</xsl:template>
+
+<xsl:template name="inline.superscriptseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <sup>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:call-template name="dir"/>
+    <xsl:copy-of select="$content"/>
+    <xsl:call-template name="apply-annotations"/>
+  </sup>
+</xsl:template>
+
+<xsl:template name="inline.subscriptseq">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+  <sub>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:call-template name="dir"/>
+    <xsl:copy-of select="$content"/>
+    <xsl:call-template name="apply-annotations"/>
+  </sub>
+</xsl:template>
+
+<!-- ==================================================================== -->
+<!-- some special cases -->
+
+<xsl:template match="author">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:call-template name="person.name"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="editor">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:call-template name="person.name"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="othercredit">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:call-template name="person.name"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="authorinitials">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="accel">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="action">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="application">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="classname">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="exceptionname">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="interfacename">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="methodname">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="command">
+  <xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="computeroutput">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="constant">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="database">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="date">
+  <!-- should this support locale-specific formatting? how? -->
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="errorcode">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="errorname">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="errortype">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="errortext">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="envar">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="filename">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="function">
+  <xsl:choose>
+    <xsl:when test="$function.parens != '0'                     and (parameter or function or replaceable)">
+      <xsl:variable name="nodes" select="text()|*"/>
+      <xsl:call-template name="inline.monoseq">
+        <xsl:with-param name="content">
+          <xsl:call-template name="simple.xlink">
+            <xsl:with-param name="content">
+              <xsl:apply-templates select="$nodes[1]"/>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:call-template>
+      <xsl:text>(</xsl:text>
+      <xsl:apply-templates select="$nodes[position()&gt;1]"/>
+      <xsl:text>)</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+     <xsl:call-template name="inline.monoseq"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="function/parameter" priority="2">
+  <xsl:call-template name="inline.italicmonoseq"/>
+  <xsl:if test="following-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="function/replaceable" priority="2">
+  <xsl:call-template name="inline.italicmonoseq"/>
+  <xsl:if test="following-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="guibutton">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guiicon">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guilabel">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guimenu">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guimenuitem">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="guisubmenu">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="hardware">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="interface">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="interfacedefinition">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="keycap">
+  <xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="keycode">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="keysym">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="literal">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="code">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="medialabel">
+  <xsl:call-template name="inline.italicseq"/>
+</xsl:template>
+
+<xsl:template match="shortcut">
+  <xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="mousebutton">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="option">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="package">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="parameter">
+  <xsl:call-template name="inline.italicmonoseq"/>
+</xsl:template>
+
+<xsl:template match="property">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="prompt">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="replaceable" priority="1">
+  <xsl:call-template name="inline.italicmonoseq"/>
+</xsl:template>
+
+<xsl:template match="returnvalue">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="structfield">
+  <xsl:call-template name="inline.italicmonoseq"/>
+</xsl:template>
+
+<xsl:template match="structname">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="symbol">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="systemitem">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="token">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="type">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="userinput">
+  <xsl:call-template name="inline.boldmonoseq"/>
+</xsl:template>
+
+<xsl:template match="abbrev">
+  <xsl:call-template name="inline.charseq">
+    <xsl:with-param name="wrapper-name">abbr</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="acronym">
+  <xsl:call-template name="inline.charseq">
+    <xsl:with-param name="wrapper-name">acronym</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="citerefentry">
+  <xsl:choose>
+    <xsl:when test="$citerefentry.link != '0'">
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="generate.citerefentry.link"/>
+        </xsl:attribute>
+        <xsl:call-template name="inline.charseq"/>
+      </a>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="inline.charseq"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="generate.citerefentry.link">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template name="x.generate.citerefentry.link">
+  <xsl:text>http://example.com/cgi-bin/man.cgi?</xsl:text>
+  <xsl:value-of select="refentrytitle"/>
+  <xsl:text>(</xsl:text>
+  <xsl:value-of select="manvolnum"/>
+  <xsl:text>)</xsl:text>
+</xsl:template>
+
+<xsl:template match="citetitle">
+  <xsl:choose>
+    <xsl:when test="@pubwork = 'article'">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:call-template name="inline.charseq"/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="inline.italicseq"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="emphasis">
+  <span>
+    <xsl:choose>
+      <xsl:when test="@role and $emphasis.propagates.style != 0">
+        <xsl:apply-templates select="." mode="class.attribute">
+          <xsl:with-param name="class" select="@role"/>
+        </xsl:apply-templates>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:attribute name="class">
+          <xsl:text>emphasis</xsl:text>
+        </xsl:attribute>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:choose>
+          <xsl:when test="@role = 'bold' or @role='strong'">
+            <!-- backwards compatibility: make bold into b elements, but -->
+            <!-- don't put bold inside figure, example, or table titles -->
+            <xsl:choose>
+              <xsl:when test="local-name(..) = 'title'                               and (local-name(../..) = 'figure'                               or local-name(../..) = 'example'                               or local-name(../..) = 'table')">
+                <xsl:apply-templates/>
+              </xsl:when>
+              <xsl:otherwise>
+                <strong><xsl:apply-templates/></strong>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:when>
+          <xsl:when test="@role and $emphasis.propagates.style != 0">
+            <xsl:apply-templates/>
+          </xsl:when>
+          <xsl:otherwise>
+            <em><xsl:apply-templates/></em>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </span>
+</xsl:template>
+
+<xsl:template match="foreignphrase">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="@lang or @xml:lang">
+      <xsl:call-template name="language.attribute"/>
+    </xsl:if>
+    <xsl:call-template name="inline.italicseq"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="markup">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="phrase">
+  <span>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:if test="@lang or @xml:lang">
+      <xsl:call-template name="language.attribute"/>
+    </xsl:if>
+    <xsl:if test="@role and $phrase.propagates.style != 0">
+      <xsl:apply-templates select="." mode="class.attribute">
+        <xsl:with-param name="class" select="@role"/>
+      </xsl:apply-templates>
+    </xsl:if>
+    <xsl:call-template name="dir"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="quote">
+  <xsl:variable name="depth">
+    <xsl:call-template name="dot.count">
+      <xsl:with-param name="string">
+        <xsl:number level="multiple"/>
+      </xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:choose>
+    <xsl:when test="$depth mod 2 = 0">
+      <xsl:call-template name="gentext.startquote"/>
+      <xsl:call-template name="inline.charseq"/>
+      <xsl:call-template name="gentext.endquote"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="gentext.nestedstartquote"/>
+      <xsl:call-template name="inline.charseq"/>
+      <xsl:call-template name="gentext.nestedendquote"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="varname">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<xsl:template match="wordasword">
+  <xsl:call-template name="inline.italicseq"/>
+</xsl:template>
+
+<xsl:template match="lineannotation">
+  <em>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="inline.charseq"/>
+  </em>
+</xsl:template>
+
+<xsl:template match="superscript">
+  <xsl:call-template name="inline.superscriptseq"/>
+</xsl:template>
+
+<xsl:template match="subscript">
+  <xsl:call-template name="inline.subscriptseq"/>
+</xsl:template>
+
+<xsl:template match="trademark">
+  <xsl:call-template name="inline.charseq"/>
+  <xsl:choose>
+    <xsl:when test="@class = 'copyright'                     or @class = 'registered'">
+      <xsl:call-template name="dingbat">
+        <xsl:with-param name="dingbat" select="@class"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="@class = 'service'">
+      <sup>SM</sup>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="dingbat">
+        <xsl:with-param name="dingbat" select="'trademark'"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="firstterm">
+  <xsl:call-template name="glossterm">
+    <xsl:with-param name="firstterm" select="1"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="glossterm" name="glossterm">
+  <xsl:param name="firstterm" select="0"/>
+
+  <!-- To avoid extra <a name=""> anchor from inline.italicseq -->
+  <xsl:variable name="content">
+    <xsl:apply-templates/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="($firstterm.only.link = 0 or $firstterm = 1) and @linkend">
+      <xsl:variable name="targets" select="key('id', at linkend)"/>
+      <xsl:variable name="target" select="$targets[1]"/>
+
+      <xsl:call-template name="check.id.unique">
+        <xsl:with-param name="linkend" select="@linkend"/>
+      </xsl:call-template>
+
+      <xsl:choose>
+        <xsl:when test="$target">
+          <a>
+            <xsl:if test="@id or @xml:id">
+              <xsl:attribute name="id">
+                <xsl:value-of select="(@id|@xml:id)[1]"/>
+              </xsl:attribute>
+            </xsl:if>
+
+            <xsl:attribute name="href">
+              <xsl:call-template name="href.target">
+                <xsl:with-param name="object" select="$target"/>
+              </xsl:call-template>
+            </xsl:attribute>
+
+            <xsl:call-template name="inline.italicseq">
+              <xsl:with-param name="content" select="$content"/>
+            </xsl:call-template>
+          </a>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="inline.italicseq">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="not(@linkend)                     and ($firstterm.only.link = 0 or $firstterm = 1)                     and ($glossterm.auto.link != 0)                     and $glossary.collection != ''">
+      <xsl:variable name="term">
+        <xsl:choose>
+          <xsl:when test="@baseform"><xsl:value-of select="@baseform"/></xsl:when>
+          <xsl:otherwise><xsl:value-of select="."/></xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:variable name="cterm" select="(document($glossary.collection,.)//glossentry[glossterm=$term])[1]"/>
+
+      <!-- HACK HACK HACK! But it works... -->
+      <!-- You'd need to do more work if you wanted to chunk on glossdiv, though -->
+
+      <xsl:variable name="glossary" select="//glossary[@role='auto']"/>
+
+      <xsl:if test="count($glossary) != 1">
+        <xsl:message>
+          <xsl:text>Warning: glossary.collection specified, but there are </xsl:text>
+          <xsl:value-of select="count($glossary)"/>
+          <xsl:text> automatic glossaries</xsl:text>
+        </xsl:message>
+      </xsl:if>
+
+      <xsl:variable name="glosschunk">
+        <xsl:call-template name="href.target">
+          <xsl:with-param name="object" select="$glossary"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="chunkbase">
+        <xsl:choose>
+          <xsl:when test="contains($glosschunk, '#')">
+            <xsl:value-of select="substring-before($glosschunk, '#')"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$glosschunk"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="not($cterm)">
+          <xsl:message>
+            <xsl:text>There's no entry for </xsl:text>
+            <xsl:value-of select="$term"/>
+            <xsl:text> in </xsl:text>
+            <xsl:value-of select="$glossary.collection"/>
+          </xsl:message>
+          <xsl:call-template name="inline.italicseq"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:variable name="id">
+            <xsl:call-template name="object.id">
+              <xsl:with-param name="object" select="$cterm"/>
+            </xsl:call-template>
+          </xsl:variable>
+          <a href="{$chunkbase}#{$id}">
+            <xsl:call-template name="inline.italicseq">
+              <xsl:with-param name="content" select="$content"/>
+            </xsl:call-template>
+          </a>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="not(@linkend)                     and ($firstterm.only.link = 0 or $firstterm = 1)                     and $glossterm.auto.link != 0">
+      <xsl:variable name="term">
+        <xsl:choose>
+          <xsl:when test="@baseform">
+            <xsl:value-of select="normalize-space(@baseform)"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="normalize-space(.)"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+      <xsl:variable name="targets" select="//glossentry[normalize-space(glossterm)=$term                               or normalize-space(glossterm/@baseform)=$term]"/>
+      <xsl:variable name="target" select="$targets[1]"/>
+
+      <xsl:choose>
+        <xsl:when test="count($targets)=0">
+          <xsl:message>
+            <xsl:text>Error: no glossentry for glossterm: </xsl:text>
+            <xsl:value-of select="."/>
+            <xsl:text>.</xsl:text>
+          </xsl:message>
+          <xsl:call-template name="inline.italicseq"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <a>
+            <xsl:if test="@id or @xml:id">
+              <xsl:attribute name="id">
+                <xsl:value-of select="(@id|@xml:id)[1]"/>
+              </xsl:attribute>
+            </xsl:if>
+
+            <xsl:attribute name="href">
+              <xsl:call-template name="href.target">
+                <xsl:with-param name="object" select="$target"/>
+              </xsl:call-template>
+            </xsl:attribute>
+
+            <xsl:call-template name="inline.italicseq">
+              <xsl:with-param name="content" select="$content"/>
+            </xsl:call-template>
+          </a>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:call-template name="inline.italicseq"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="termdef">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:call-template name="gentext.template">
+      <xsl:with-param name="context" select="'termdef'"/>
+      <xsl:with-param name="name" select="'prefix'"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+    <xsl:call-template name="gentext.template">
+      <xsl:with-param name="context" select="'termdef'"/>
+      <xsl:with-param name="name" select="'suffix'"/>
+    </xsl:call-template>
+  </span>
+</xsl:template>
+
+<xsl:template match="sgmltag|tag">
+  <xsl:call-template name="format.sgmltag"/>
+</xsl:template>
+
+<xsl:template name="format.sgmltag">
+  <xsl:param name="class">
+    <xsl:choose>
+      <xsl:when test="@class">
+        <xsl:value-of select="@class"/>
+      </xsl:when>
+      <xsl:otherwise>element</xsl:otherwise>
+    </xsl:choose>
+  </xsl:param>
+
+  <xsl:variable name="content">
+    <xsl:choose>
+      <xsl:when test="$class='attribute'">
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:when test="$class='attvalue'">
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:when test="$class='element'">
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:when test="$class='endtag'">
+        <xsl:text>&lt;/</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>&gt;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='genentity'">
+        <xsl:text>&amp;</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='numcharref'">
+        <xsl:text>&amp;#</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='paramentity'">
+        <xsl:text>%</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='pi'">
+        <xsl:text>&lt;?</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>&gt;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='xmlpi'">
+        <xsl:text>&lt;?</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>?&gt;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='starttag'">
+        <xsl:text>&lt;</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>&gt;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='emptytag'">
+        <xsl:text>&lt;</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>/&gt;</xsl:text>
+      </xsl:when>
+      <xsl:when test="$class='sgmlcomment' or $class='comment'">
+        <xsl:text>&lt;!--</xsl:text>
+        <xsl:apply-templates/>
+        <xsl:text>--&gt;</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute">
+      <xsl:with-param name="class" select="concat('sgmltag-', $class)"/>
+    </xsl:apply-templates>
+    <xsl:call-template name="generate.html.title"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content" select="$content"/>
+    </xsl:call-template>
+  </code>
+</xsl:template>
+
+<xsl:template match="email">
+  <xsl:call-template name="inline.monoseq">
+    <xsl:with-param name="content">
+      <xsl:if test="not($email.delimiters.enabled = 0)">
+        <xsl:text>&lt;</xsl:text>
+      </xsl:if>
+      <a>
+        <xsl:attribute name="href">
+          <xsl:text>mailto:</xsl:text>
+          <xsl:value-of select="."/>
+        </xsl:attribute>
+        <xsl:apply-templates/>
+      </a>
+      <xsl:if test="not($email.delimiters.enabled = 0)">
+        <xsl:text>&gt;</xsl:text>
+      </xsl:if>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="keycombo">
+  <xsl:variable name="action" select="@action"/>
+  <xsl:variable name="joinchar">
+    <xsl:choose>
+      <xsl:when test="$action='seq'"><xsl:text> </xsl:text></xsl:when>
+      <xsl:when test="$action='simul'">+</xsl:when>
+      <xsl:when test="$action='press'">-</xsl:when>
+      <xsl:when test="$action='click'">-</xsl:when>
+      <xsl:when test="$action='double-click'">-</xsl:when>
+      <xsl:when test="$action='other'"/>
+      <xsl:otherwise>-</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:for-each select="*">
+    <xsl:if test="position()&gt;1"><xsl:value-of select="$joinchar"/></xsl:if>
+    <xsl:apply-templates select="."/>
+  </xsl:for-each>
+</xsl:template>
+
+<xsl:template match="uri">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="menuchoice">
+  <xsl:variable name="shortcut" select="./shortcut"/>
+  <xsl:call-template name="process.menuchoice"/>
+  <xsl:if test="$shortcut">
+    <xsl:text> (</xsl:text>
+    <xsl:apply-templates select="$shortcut"/>
+    <xsl:text>)</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="process.menuchoice">
+  <xsl:param name="nodelist" select="guibutton|guiicon|guilabel|guimenu|guimenuitem|guisubmenu|interface"/><!-- not(shortcut) -->
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="$count&gt;count($nodelist)"/>
+    <xsl:when test="$count=1">
+      <xsl:apply-templates select="$nodelist[$count=position()]"/>
+      <xsl:call-template name="process.menuchoice">
+        <xsl:with-param name="nodelist" select="$nodelist"/>
+        <xsl:with-param name="count" select="$count+1"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="node" select="$nodelist[$count=position()]"/>
+      <xsl:choose>
+        <xsl:when test="local-name($node)='guimenuitem'                         or local-name($node)='guisubmenu'">
+          <xsl:value-of select="$menuchoice.menu.separator"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$menuchoice.separator"/>
+        </xsl:otherwise>
+      </xsl:choose>
+      <xsl:apply-templates select="$node"/>
+      <xsl:call-template name="process.menuchoice">
+        <xsl:with-param name="nodelist" select="$nodelist"/>
+        <xsl:with-param name="count" select="$count+1"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="optional">
+  <xsl:value-of select="$arg.choice.opt.open.str"/>
+  <xsl:call-template name="inline.charseq"/>
+  <xsl:value-of select="$arg.choice.opt.close.str"/>
+</xsl:template>
+
+<xsl:template match="citation">
+  <!-- todo: integrate with bibliography collection -->
+  <xsl:variable name="targets" select="(//biblioentry | //bibliomixed)[abbrev = string(current())]"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:choose>
+    <!-- try automatic linking based on match to abbrev -->
+    <xsl:when test="$target and not(xref) and not(link)">
+
+      <xsl:text>[</xsl:text>
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target"/>
+          </xsl:call-template>
+        </xsl:attribute>
+
+        <xsl:call-template name="inline.charseq"/>
+      </a>
+      <xsl:text>]</xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>[</xsl:text>
+      <xsl:call-template name="inline.charseq"/>
+      <xsl:text>]</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="comment[parent::answer|parent::appendix|parent::article|parent::bibliodiv|                                   parent::bibliography|parent::blockquote|parent::caution|parent::chapter|                                   parent::glossary|parent::glossdiv|parent::important|parent::index|                                   parent::indexdiv|parent::listitem|parent::note|parent::orderedlist|                                   parent::partintro|parent::preface|parent::procedure|parent::qandadiv|                                   parent::qandaset|parent::question|parent::refentry|parent::refnamediv|                                   parent::refsect1|parent::refsect2|parent::refsect3|parent::refsection|                                   parent::refsynopsisdiv|parent::sect1|parent::sect2|parent::sect3|parent::sect4|                                   parent::sect5|parent::section|parent::setindex|parent::sidebar|                                   parent::simplesect|par!
 ent::taskprerequisites|parent::taskrelated|                                   parent::tasksummary|parent::warning]|remark[parent::answer|parent::appendix|parent::article|parent::bibliodiv|                                   parent::bibliography|parent::blockquote|parent::caution|parent::chapter|                                   parent::glossary|parent::glossdiv|parent::important|parent::index|                                   parent::indexdiv|parent::listitem|parent::note|parent::orderedlist|                                   parent::partintro|parent::preface|parent::procedure|parent::qandadiv|                                   parent::qandaset|parent::question|parent::refentry|parent::refnamediv|                                   parent::refsect1|parent::refsect2|parent::refsect3|parent::refsection|                                   parent::refsynopsisdiv|parent::sect1|parent::sect2|parent::sect3|parent::sect4|                                   parent::sect5|parent::secti!
 on|parent::setindex|parent::sidebar|                                  
 parent::simplesect|parent::taskprerequisites|parent::taskrelated|                                   parent::tasksummary|parent::warning]">
+  <xsl:if test="$show.comments != 0">
+    <p class="remark"><i><xsl:call-template name="inline.charseq"/></i></p>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="comment|remark">
+  <xsl:if test="$show.comments != 0">
+    <em><xsl:call-template name="inline.charseq"/></em>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="productname">
+  <xsl:call-template name="inline.charseq"/>
+  <xsl:if test="@class">
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat" select="@class"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="productnumber">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="pob|street|city|state|postcode|country|otheraddr">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="phone|fax">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<!-- in Addresses, for example -->
+<xsl:template match="honorific|firstname|surname|lineage|othername">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="person">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates select="personname"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="personname">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:call-template name="person.name"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="org">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="orgname">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="orgdiv">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="affiliation">
+  <xsl:param name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:call-template name="person.name"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="apply-annotations"/>
+  </xsl:param>
+
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$content"/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="beginpage">
+  <!-- does nothing; this *is not* markup to force a page break. -->
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/keywords.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/keywords.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/keywords.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: keywords.xsl 1243 2002-03-14 18:43:42Z nwalsh $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="keywordset"/>
+<xsl:template match="subjectset"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="keywordset" mode="html.header">
+  <meta name="keywords">
+    <xsl:attribute name="content">
+      <xsl:apply-templates select="keyword" mode="html.header"/>
+    </xsl:attribute>
+  </meta>
+</xsl:template>
+
+<xsl:template match="keyword" mode="html.header">
+  <xsl:apply-templates/>
+  <xsl:if test="following-sibling::keyword">, </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/lists.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/lists.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/lists.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1043 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: lists.xsl 6439 2006-11-18 20:10:32Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="itemizedlist">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <!-- Preserve order of PIs and comments -->
+    <xsl:apply-templates select="*[not(self::listitem                   or self::title                   or self::titleabbrev)]                 |comment()[not(preceding-sibling::listitem)]                 |processing-instruction()[not(preceding-sibling::listitem)]"/>
+
+    <ul>
+      <xsl:if test="$css.decoration != 0">
+        <xsl:attribute name="type">
+          <xsl:call-template name="list.itemsymbol"/>
+        </xsl:attribute>
+      </xsl:if>
+
+      <xsl:if test="@spacing='compact'">
+        <xsl:attribute name="compact">
+          <xsl:value-of select="@spacing"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:apply-templates select="listitem                     |comment()[preceding-sibling::listitem]                     |processing-instruction()[preceding-sibling::listitem]"/>
+    </ul>
+  </div>
+</xsl:template>
+
+<xsl:template match="itemizedlist/title">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="itemizedlist/listitem">
+  <xsl:variable name="mark" select="../@mark"/>
+  <xsl:variable name="override" select="@override"/>
+
+  <xsl:variable name="usemark">
+    <xsl:choose>
+      <xsl:when test="$override != ''">
+        <xsl:value-of select="$override"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$mark"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="cssmark">
+    <xsl:choose>
+      <xsl:when test="$usemark = 'opencircle'">circle</xsl:when>
+      <xsl:when test="$usemark = 'bullet'">disc</xsl:when>
+      <xsl:when test="$usemark = 'box'">square</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$usemark"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <li>
+    <xsl:if test="$css.decoration = '1' and $cssmark != ''">
+      <xsl:attribute name="style">
+        <xsl:text>list-style-type: </xsl:text>
+        <xsl:value-of select="$cssmark"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <!-- we can't just drop the anchor in since some browsers (Opera)
+         get confused about line breaks if we do. So if the first child
+         is a para, assume the para will put in the anchor. Otherwise,
+         put the anchor in anyway. -->
+    <xsl:if test="local-name(child::*[1]) != 'para'">
+      <xsl:call-template name="anchor"/>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+        <div class="{@revisionflag}">
+          <xsl:apply-templates/>
+        </div>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </li>
+</xsl:template>
+
+<xsl:template match="orderedlist">
+  <xsl:variable name="start">
+    <xsl:call-template name="orderedlist-starting-number"/>
+  </xsl:variable>
+
+  <xsl:variable name="numeration">
+    <xsl:call-template name="list.numeration"/>
+  </xsl:variable>
+
+  <xsl:variable name="type">
+    <xsl:choose>
+      <xsl:when test="$numeration='arabic'">1</xsl:when>
+      <xsl:when test="$numeration='loweralpha'">a</xsl:when>
+      <xsl:when test="$numeration='lowerroman'">i</xsl:when>
+      <xsl:when test="$numeration='upperalpha'">A</xsl:when>
+      <xsl:when test="$numeration='upperroman'">I</xsl:when>
+      <!-- What!? This should never happen -->
+      <xsl:otherwise>
+        <xsl:message>
+          <xsl:text>Unexpected numeration: </xsl:text>
+          <xsl:value-of select="$numeration"/>
+        </xsl:message>
+        <xsl:value-of select="1"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:if test="title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <!-- Preserve order of PIs and comments -->
+    <xsl:apply-templates select="*[not(self::listitem                   or self::title                   or self::titleabbrev)]                 |comment()[not(preceding-sibling::listitem)]                 |processing-instruction()[not(preceding-sibling::listitem)]"/>
+
+    <ol>
+      <xsl:if test="$start != '1'">
+        <xsl:attribute name="start">
+          <xsl:value-of select="$start"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="$numeration != ''">
+        <xsl:attribute name="type">
+          <xsl:value-of select="$type"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="@spacing='compact'">
+        <xsl:attribute name="compact">
+          <xsl:value-of select="@spacing"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:apply-templates select="listitem                     |comment()[preceding-sibling::listitem]                     |processing-instruction()[preceding-sibling::listitem]"/>
+    </ol>
+  </div>
+</xsl:template>
+
+<xsl:template match="orderedlist/title">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="orderedlist/listitem">
+  <li>
+    <xsl:if test="@override">
+      <xsl:attribute name="value">
+        <xsl:value-of select="@override"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <!-- we can't just drop the anchor in since some browsers (Opera)
+         get confused about line breaks if we do. So if the first child
+         is a para, assume the para will put in the anchor. Otherwise,
+         put the anchor in anyway. -->
+    <xsl:if test="local-name(child::*[1]) != 'para'">
+      <xsl:call-template name="anchor"/>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+        <div class="{@revisionflag}">
+          <xsl:apply-templates/>
+        </div>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </li>
+</xsl:template>
+
+<xsl:template match="variablelist">
+  <xsl:variable name="pi-presentation">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'list-presentation'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="presentation">
+    <xsl:choose>
+      <xsl:when test="$pi-presentation != ''">
+        <xsl:value-of select="$pi-presentation"/>
+      </xsl:when>
+      <xsl:when test="$variablelist.as.table != 0">
+        <xsl:value-of select="'table'"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="'list'"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="list-width">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'list-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="term-width">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'term-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="table-summary">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'table-summary'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="$presentation = 'table'">
+        <!-- Preserve order of PIs and comments -->
+        <xsl:apply-templates select="*[not(self::varlistentry                     or self::title                     or self::titleabbrev)]                   |comment()[not(preceding-sibling::varlistentry)]                   |processing-instruction()[not(preceding-sibling::varlistentry)]"/>
+        <table border="0">
+          <xsl:if test="$list-width != ''">
+            <xsl:attribute name="width">
+              <xsl:value-of select="$list-width"/>
+            </xsl:attribute>
+          </xsl:if>
+          <xsl:if test="$table-summary != ''">
+            <xsl:attribute name="summary">
+              <xsl:value-of select="$table-summary"/>
+            </xsl:attribute>
+          </xsl:if>
+          <col align="left" valign="top">
+            <xsl:if test="$term-width != ''">
+              <xsl:attribute name="width">
+                <xsl:value-of select="$term-width"/>
+              </xsl:attribute>
+            </xsl:if>
+          </col>
+          <tbody>
+            <xsl:apply-templates mode="varlist-table" select="varlistentry                       |comment()[preceding-sibling::varlistentry]                       |processing-instruction()[preceding-sibling::varlistentry]"/>
+          </tbody>
+        </table>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- Preserve order of PIs and comments -->
+        <xsl:apply-templates select="*[not(self::varlistentry                     or self::title                     or self::titleabbrev)]                   |comment()[not(preceding-sibling::varlistentry)]                   |processing-instruction()[not(preceding-sibling::varlistentry)]"/>
+        <dl>
+          <xsl:apply-templates select="varlistentry                       |comment()[preceding-sibling::varlistentry]                       |processing-instruction()[preceding-sibling::varlistentry]"/>
+        </dl>
+      </xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
+<xsl:template match="variablelist/title">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="itemizedlist/titleabbrev|orderedlist/titleabbrev">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="variablelist/titleabbrev">
+  <!--nop-->
+</xsl:template>
+
+<xsl:template match="listitem" mode="xref">
+  <xsl:number format="1"/>
+</xsl:template>
+
+<xsl:template match="listitem/simpara" priority="2">
+  <!-- If a listitem contains only a single simpara, don't output
+       the <p> wrapper; this has the effect of creating an li
+       with simple text content. -->
+  <xsl:choose>
+    <xsl:when test="not(preceding-sibling::*)                     and not (following-sibling::*)">
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <p>
+        <xsl:if test="@role and $para.propagates.style != 0">
+           <xsl:apply-templates select="." mode="class.attribute">
+             <xsl:with-param name="class" select="@role"/>
+           </xsl:apply-templates>
+        </xsl:if>
+
+        <xsl:call-template name="anchor"/>
+        <xsl:apply-templates/>
+      </p>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="varlistentry">
+  <dt>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates select="term"/>
+  </dt>
+  <dd>
+    <xsl:apply-templates select="listitem"/>
+  </dd>
+</xsl:template>
+
+<xsl:template match="varlistentry" mode="varlist-table">
+  <xsl:variable name="presentation">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="../processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'term-presentation'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="separator">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="../processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'term-separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <tr>
+    <xsl:call-template name="tr.attributes">
+      <xsl:with-param name="rownum">
+        <xsl:number from="variablelist" count="varlistentry"/>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <td>
+      <xsl:call-template name="anchor"/>
+      <xsl:choose>
+        <xsl:when test="$presentation = 'bold'">
+          <b>
+            <xsl:apply-templates select="term"/>
+            <xsl:value-of select="$separator"/>
+          </b>
+        </xsl:when>
+        <xsl:when test="$presentation = 'italic'">
+          <i>
+            <xsl:apply-templates select="term"/>
+            <xsl:value-of select="$separator"/>
+          </i>
+        </xsl:when>
+        <xsl:when test="$presentation = 'bold-italic'">
+          <b>
+            <i>
+              <xsl:apply-templates select="term"/>
+              <xsl:value-of select="$separator"/>
+            </i>
+          </b>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="term"/>
+          <xsl:value-of select="$separator"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </td>
+    <td>
+      <xsl:apply-templates select="listitem"/>
+    </td>
+  </tr>
+</xsl:template>
+
+<xsl:template match="varlistentry/term">
+  <span class="term">
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:choose>
+      <xsl:when test="position() = last()"/> <!-- do nothing -->
+      <xsl:otherwise>
+        <!-- * if we have multiple terms in the same varlistentry, generate -->
+        <!-- * a separator (", " by default) and/or an additional line -->
+        <!-- * break after each one except the last -->
+        <xsl:value-of select="$variablelist.term.separator"/>
+        <xsl:if test="not($variablelist.term.break.after = '0')">
+          <br/>
+        </xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </span>
+</xsl:template>
+
+<xsl:template match="varlistentry/listitem">
+  <xsl:choose>
+    <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+      <div class="{@revisionflag}">
+        <xsl:apply-templates/>
+      </div>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="simplelist">
+  <!-- with no type specified, the default is 'vert' -->
+  <xsl:call-template name="anchor"/>
+  <table class="simplelist" border="0" summary="Simple list">
+    <xsl:call-template name="simplelist.vert">
+      <xsl:with-param name="cols">
+        <xsl:choose>
+          <xsl:when test="@columns">
+            <xsl:value-of select="@columns"/>
+          </xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </table>
+</xsl:template>
+
+<xsl:template match="simplelist[@type='inline']">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+  <!-- if dbchoice PI exists, use that to determine the choice separator -->
+  <!-- (that is, equivalent of "and" or "or" in current locale), or literal -->
+  <!-- value of "choice" otherwise -->
+  <xsl:variable name="localized-choice-separator">
+    <xsl:choose>
+      <xsl:when test="processing-instruction('dbchoice')">
+	<xsl:call-template name="select.choice.separator"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<!-- empty -->
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:for-each select="member">
+    <xsl:call-template name="simple.xlink">
+      <xsl:with-param name="content">
+        <xsl:apply-templates/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:choose>
+      <xsl:when test="position() = last()"/> <!-- do nothing -->
+      <xsl:otherwise>
+	<xsl:text>, </xsl:text>
+	<xsl:if test="position() = last() - 1">
+	  <xsl:if test="$localized-choice-separator != ''">
+	    <xsl:value-of select="$localized-choice-separator"/>
+	    <xsl:text> </xsl:text>
+	  </xsl:if>
+	</xsl:if>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:for-each>
+  </span>
+</xsl:template>
+
+<xsl:template match="simplelist[@type='horiz']">
+  <xsl:call-template name="anchor"/>
+  <table class="simplelist" border="0" summary="Simple list">
+    <xsl:call-template name="simplelist.horiz">
+      <xsl:with-param name="cols">
+        <xsl:choose>
+          <xsl:when test="@columns">
+            <xsl:value-of select="@columns"/>
+          </xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </table>
+</xsl:template>
+
+<xsl:template match="simplelist[@type='vert']">
+  <xsl:call-template name="anchor"/>
+  <table class="simplelist" border="0" summary="Simple list">
+    <xsl:call-template name="simplelist.vert">
+      <xsl:with-param name="cols">
+        <xsl:choose>
+          <xsl:when test="@columns">
+            <xsl:value-of select="@columns"/>
+          </xsl:when>
+          <xsl:otherwise>1</xsl:otherwise>
+        </xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+  </table>
+</xsl:template>
+
+<xsl:template name="simplelist.horiz">
+  <xsl:param name="cols">1</xsl:param>
+  <xsl:param name="cell">1</xsl:param>
+  <xsl:param name="members" select="./member"/>
+
+  <xsl:if test="$cell &lt;= count($members)">
+    <tr>
+      <xsl:call-template name="tr.attributes">
+        <xsl:with-param name="row" select="$members[1]"/>
+        <xsl:with-param name="rownum" select="(($cell - 1) div $cols) + 1"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="simplelist.horiz.row">
+        <xsl:with-param name="cols" select="$cols"/>
+        <xsl:with-param name="cell" select="$cell"/>
+        <xsl:with-param name="members" select="$members"/>
+      </xsl:call-template>
+   </tr>
+    <xsl:call-template name="simplelist.horiz">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="cell" select="$cell + $cols"/>
+      <xsl:with-param name="members" select="$members"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="simplelist.horiz.row">
+  <xsl:param name="cols">1</xsl:param>
+  <xsl:param name="cell">1</xsl:param>
+  <xsl:param name="members" select="./member"/>
+  <xsl:param name="curcol">1</xsl:param>
+
+  <xsl:if test="$curcol &lt;= $cols">
+    <td>
+      <xsl:choose>
+        <xsl:when test="$members[position()=$cell]">
+          <xsl:apply-templates select="$members[position()=$cell]"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>&#160;</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </td>
+    <xsl:call-template name="simplelist.horiz.row">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="cell" select="$cell+1"/>
+      <xsl:with-param name="members" select="$members"/>
+      <xsl:with-param name="curcol" select="$curcol+1"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="simplelist.vert">
+  <xsl:param name="cols">1</xsl:param>
+  <xsl:param name="cell">1</xsl:param>
+  <xsl:param name="members" select="./member"/>
+  <xsl:param name="rows" select="floor((count($members)+$cols - 1) div $cols)"/>
+
+  <xsl:if test="$cell &lt;= $rows">
+    <tr>
+      <xsl:call-template name="tr.attributes">
+        <xsl:with-param name="row" select="$members[1]"/>
+        <xsl:with-param name="rownum" select="$cell"/>
+      </xsl:call-template>
+
+      <xsl:call-template name="simplelist.vert.row">
+        <xsl:with-param name="cols" select="$cols"/>
+        <xsl:with-param name="rows" select="$rows"/>
+        <xsl:with-param name="cell" select="$cell"/>
+        <xsl:with-param name="members" select="$members"/>
+      </xsl:call-template>
+    </tr>
+    <xsl:call-template name="simplelist.vert">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="cell" select="$cell+1"/>
+      <xsl:with-param name="members" select="$members"/>
+      <xsl:with-param name="rows" select="$rows"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="simplelist.vert.row">
+  <xsl:param name="cols">1</xsl:param>
+  <xsl:param name="rows">1</xsl:param>
+  <xsl:param name="cell">1</xsl:param>
+  <xsl:param name="members" select="./member"/>
+  <xsl:param name="curcol">1</xsl:param>
+
+  <xsl:if test="$curcol &lt;= $cols">
+    <td>
+      <xsl:choose>
+        <xsl:when test="$members[position()=$cell]">
+          <xsl:apply-templates select="$members[position()=$cell]"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:text>&#160;</xsl:text>
+        </xsl:otherwise>
+      </xsl:choose>
+    </td>
+    <xsl:call-template name="simplelist.vert.row">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="rows" select="$rows"/>
+      <xsl:with-param name="cell" select="$cell+$rows"/>
+      <xsl:with-param name="members" select="$members"/>
+      <xsl:with-param name="curcol" select="$curcol+1"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="member">
+  <xsl:call-template name="anchor"/>
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="content">
+      <xsl:apply-templates/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="procedure">
+  <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement),                                         concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- Preserve order of PIs and comments -->
+  <xsl:variable name="preamble" select="*[not(self::step                   or self::title                   or self::titleabbrev)]                 |comment()[not(preceding-sibling::step)]                 |processing-instruction()[not(preceding-sibling::step)]"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="conditional">
+        <xsl:choose>
+	  <xsl:when test="title">0</xsl:when>
+	  <xsl:otherwise>1</xsl:otherwise>
+	</xsl:choose>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <xsl:if test="title and $placement = 'before'">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="$preamble"/>
+
+    <xsl:choose>
+      <xsl:when test="count(step) = 1">
+        <ul>
+          <xsl:apply-templates select="step                     |comment()[preceding-sibling::step]                     |processing-instruction()[preceding-sibling::step]"/>
+        </ul>
+      </xsl:when>
+      <xsl:otherwise>
+        <ol>
+          <xsl:attribute name="type">
+            <xsl:value-of select="substring($procedure.step.numeration.formats,1,1)"/>
+          </xsl:attribute>
+          <xsl:apply-templates select="step                     |comment()[preceding-sibling::step]                     |processing-instruction()[preceding-sibling::step]"/>
+        </ol>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test="title and $placement != 'before'">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="procedure/title">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="substeps">
+  <xsl:variable name="numeration">
+    <xsl:call-template name="procedure.step.numeration"/>
+  </xsl:variable>
+
+  <xsl:call-template name="anchor"/>
+
+  <ol type="{$numeration}">
+    <xsl:apply-templates/>
+  </ol>
+</xsl:template>
+
+<xsl:template match="step">
+  <li>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </li>
+</xsl:template>
+
+<xsl:template match="stepalternatives">
+  <xsl:call-template name="anchor"/>
+  <ul>
+    <xsl:apply-templates/>
+  </ul>
+</xsl:template>
+
+<xsl:template match="step/title">
+  <p class="title">
+    <b>
+      <xsl:apply-templates/>
+    </b>
+  </p>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="segmentedlist">
+  <xsl:variable name="presentation">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'list-presentation'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:choose>
+      <xsl:when test="$presentation = 'table'">
+        <xsl:apply-templates select="." mode="seglist-table"/>
+      </xsl:when>
+      <xsl:when test="$presentation = 'list'">
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:when test="$segmentedlist.as.table != 0">
+        <xsl:apply-templates select="." mode="seglist-table"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:apply-templates/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
+<xsl:template match="segmentedlist/title">
+  <div class="title">
+    <strong><span class="title"><xsl:apply-templates/></span></strong>
+  </div>
+</xsl:template>
+
+<xsl:template match="segtitle">
+</xsl:template>
+
+<xsl:template match="segtitle" mode="segtitle-in-seg">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="seglistitem">
+  <div class="seglistitem">
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="seg">
+  <xsl:variable name="segnum" select="count(preceding-sibling::seg)+1"/>
+  <xsl:variable name="seglist" select="ancestor::segmentedlist"/>
+  <xsl:variable name="segtitles" select="$seglist/segtitle"/>
+
+  <!--
+     Note: segtitle is only going to be the right thing in a well formed
+     SegmentedList.  If there are too many Segs or too few SegTitles,
+     you'll get something odd...maybe an error
+  -->
+
+  <div class="seg">
+    <strong>
+      <span class="segtitle">
+        <xsl:apply-templates select="$segtitles[$segnum=position()]" mode="segtitle-in-seg"/>
+        <xsl:text>: </xsl:text>
+      </span>
+    </strong>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="segmentedlist" mode="seglist-table">
+  <xsl:variable name="table-summary">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'table-summary'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="list-width">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'list-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:apply-templates select="title"/>
+
+  <table border="0">
+    <xsl:if test="$list-width != ''">
+      <xsl:attribute name="width">
+        <xsl:value-of select="$list-width"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="$table-summary != ''">
+      <xsl:attribute name="summary">
+        <xsl:value-of select="$table-summary"/>
+      </xsl:attribute>
+    </xsl:if>
+    <thead>
+      <tr class="segtitle">
+        <xsl:call-template name="tr.attributes">
+          <xsl:with-param name="row" select="segtitle[1]"/>
+          <xsl:with-param name="rownum" select="1"/>
+        </xsl:call-template>
+        <xsl:apply-templates select="segtitle" mode="seglist-table"/>
+      </tr>
+    </thead>
+    <tbody>
+      <xsl:apply-templates select="seglistitem" mode="seglist-table"/>
+    </tbody>
+  </table>
+</xsl:template>
+
+<xsl:template match="segtitle" mode="seglist-table">
+  <th><xsl:apply-templates/></th>
+</xsl:template>
+
+<xsl:template match="seglistitem" mode="seglist-table">
+  <xsl:variable name="seglinum">
+    <xsl:number from="segmentedlist" count="seglistitem"/>
+  </xsl:variable>
+
+  <tr class="seglistitem">
+    <xsl:call-template name="tr.attributes">
+      <xsl:with-param name="rownum" select="$seglinum + 1"/>
+    </xsl:call-template>
+    <xsl:apply-templates mode="seglist-table"/>
+  </tr>
+</xsl:template>
+
+<xsl:template match="seg" mode="seglist-table">
+  <td class="seg"><xsl:apply-templates/></td>
+</xsl:template>
+
+<xsl:template match="seg[1]" mode="seglist-table">
+  <td class="seg">
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select="ancestor::seglistitem"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </td>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="calloutlist">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:if test="title|info/title">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <!-- Preserve order of PIs and comments -->
+    <xsl:apply-templates select="*[not(self::callout or self::title or self::titleabbrev)]                    |comment()[not(preceding-sibling::callout)]      |processing-instruction()[not(preceding-sibling::callout)]"/>
+
+    <xsl:choose>
+      <xsl:when test="$callout.list.table != 0">
+        <table border="0" summary="Callout list">
+	  <xsl:apply-templates select="callout            |comment()[preceding-sibling::calllout]     |processing-instruction()[preceding-sibling::callout]"/>
+	</table>
+      </xsl:when>
+      <xsl:otherwise>
+	<dl compact="compact">
+	  <xsl:apply-templates select="callout            |comment()[preceding-sibling::calllout]     |processing-instruction()[preceding-sibling::callout]"/>
+	</dl>
+      </xsl:otherwise>
+    </xsl:choose>
+  </div>
+</xsl:template>
+
+<xsl:template match="calloutlist/title">
+</xsl:template>
+
+<xsl:template match="callout">
+  <xsl:choose>
+    <xsl:when test="$callout.list.table != 0">
+      <tr>
+        <xsl:call-template name="tr.attributes">
+          <xsl:with-param name="rownum">
+            <xsl:number from="calloutlist" count="callout"/>
+          </xsl:with-param>
+        </xsl:call-template>
+
+        <td width="5%" valign="top" align="left">
+          <xsl:call-template name="anchor"/>
+          <xsl:call-template name="callout.arearefs">
+            <xsl:with-param name="arearefs" select="@arearefs"/>
+          </xsl:call-template>
+        </td>
+        <td valign="top" align="left">
+          <xsl:apply-templates/>
+        </td>
+      </tr>
+    </xsl:when>
+    <xsl:otherwise>
+      <dt>
+        <xsl:call-template name="anchor"/>
+        <xsl:call-template name="callout.arearefs">
+          <xsl:with-param name="arearefs" select="@arearefs"/>
+        </xsl:call-template>
+      </dt>
+      <dd><xsl:apply-templates/></dd>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="callout/simpara" priority="2">
+  <!-- If a callout contains only a single simpara, don't output
+       the <p> wrapper; this has the effect of creating an li
+       with simple text content. -->
+  <xsl:choose>
+    <xsl:when test="not(preceding-sibling::*)                     and not (following-sibling::*)">
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+    </xsl:when>
+    <xsl:otherwise>
+      <p>
+        <xsl:if test="@role and $para.propagates.style != 0">
+          <xsl:apply-templates select="." mode="class.attribute">
+            <xsl:with-param name="class" select="@role"/>
+          </xsl:apply-templates>
+        </xsl:if>
+
+        <xsl:call-template name="anchor"/>
+        <xsl:apply-templates/>
+      </p>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="callout.arearefs">
+  <xsl:param name="arearefs"/>
+  <xsl:if test="$arearefs!=''">
+    <xsl:choose>
+      <xsl:when test="substring-before($arearefs,' ')=''">
+        <xsl:call-template name="callout.arearef">
+          <xsl:with-param name="arearef" select="$arearefs"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="callout.arearef">
+          <xsl:with-param name="arearef" select="substring-before($arearefs,' ')"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:call-template name="callout.arearefs">
+      <xsl:with-param name="arearefs" select="substring-after($arearefs,' ')"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="callout.arearef">
+  <xsl:param name="arearef"/>
+  <xsl:variable name="targets" select="key('id',$arearef)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:call-template name="check.id.unique">
+    <xsl:with-param name="linkend" select="$arearef"/>
+  </xsl:call-template>
+
+  <xsl:choose>
+    <xsl:when test="count($target)=0">
+      <xsl:text>???</xsl:text>
+    </xsl:when>
+    <xsl:when test="local-name($target)='co'">
+      <a>
+        <xsl:attribute name="href">
+          <xsl:text>#</xsl:text>
+          <xsl:value-of select="$arearef"/>
+        </xsl:attribute>
+        <xsl:apply-templates select="$target" mode="callout-bug"/>
+      </a>
+      <xsl:text> </xsl:text>
+    </xsl:when>
+    <xsl:when test="local-name($target)='areaset'">
+      <xsl:call-template name="callout-bug">
+        <xsl:with-param name="conum">
+          <xsl:apply-templates select="$target" mode="conumber"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="local-name($target)='area'">
+      <xsl:choose>
+        <xsl:when test="$target/parent::areaset">
+          <xsl:call-template name="callout-bug">
+            <xsl:with-param name="conum">
+              <xsl:apply-templates select="$target/parent::areaset" mode="conumber"/>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="callout-bug">
+            <xsl:with-param name="conum">
+              <xsl:apply-templates select="$target" mode="conumber"/>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text>???</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/maketoc.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/maketoc.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/maketoc.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="doc">
+
+<!-- ********************************************************************
+     $Id: maketoc.xsl 6403 2006-11-12 08:23:54Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="docbook.xsl"/>
+<xsl:import href="chunk.xsl"/>
+
+<xsl:output method="xml" indent="no" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+
+<xsl:param name="toc.list.type" select="'tocentry'"/>
+
+<!-- refentry in autotoc.xsl does not use subtoc, so must
+     handle it explicitly here. -->
+<xsl:template match="refentry" mode="toc">
+  <xsl:param name="toc-context" select="."/>
+
+  <xsl:call-template name="subtoc">
+    <xsl:with-param name="toc-context" select="$toc-context"/>
+  </xsl:call-template>
+</xsl:template>
+
+
+<xsl:template name="subtoc">
+  <xsl:param name="nodes" select="NOT-AN-ELEMENT"/>
+  <xsl:variable name="filename">
+    <xsl:apply-templates select="." mode="chunk-filename"/>
+  </xsl:variable>
+
+  <xsl:variable name="chunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:if test="$chunk != 0">
+    <xsl:call-template name="indent-spaces"/>
+    <xsl:variable name="id">
+      <xsl:call-template name="object.id"/>
+    </xsl:variable>
+    <tocentry linkend="{$id}">
+      <xsl:processing-instruction name="dbhtml">
+        <xsl:text>filename="</xsl:text>
+        <xsl:value-of select="$filename"/>
+        <xsl:text>"</xsl:text>
+      </xsl:processing-instruction>
+      <xsl:text>
+</xsl:text>
+      <xsl:apply-templates mode="toc" select="$nodes"/>
+      <xsl:call-template name="indent-spaces"/>
+    </tocentry>
+    <xsl:text>
+</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="indent-spaces">
+  <xsl:param name="node" select="."/>
+  <xsl:text>  </xsl:text>
+  <xsl:if test="$node/parent::*">
+    <xsl:call-template name="indent-spaces">
+      <xsl:with-param name="node" select="$node/parent::*"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="/" priority="-1">
+  <xsl:text>
+</xsl:text>
+  <toc role="chunk-toc">
+    <xsl:text>
+</xsl:text>
+    <xsl:apply-templates select="/" mode="toc"/>
+  </toc>
+  <xsl:text>
+</xsl:text>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/manifest.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/manifest.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/manifest.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="doc">
+
+<!-- ********************************************************************
+     $Id: manifest.xsl 4856 2005-05-26 07:27:34Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:variable name="manifest.base.dir">
+</xsl:variable>
+
+<xsl:template name="generate.manifest">
+  <xsl:param name="node" select="/"/>
+  <xsl:call-template name="write.text.chunk">
+    <xsl:with-param name="filename">
+      <xsl:if test="$manifest.in.base.dir != 0">
+        <xsl:value-of select="$base.dir"/>
+      </xsl:if>
+      <xsl:value-of select="$manifest"/>
+    </xsl:with-param>
+    <xsl:with-param name="method" select="'text'"/>
+    <xsl:with-param name="content">
+      <xsl:apply-templates select="$node" mode="enumerate-files"/>
+    </xsl:with-param>
+    <xsl:with-param name="encoding" select="$chunker.output.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="set|book|part|preface|chapter|appendix                      |article                      |reference|refentry                      |sect1|sect2|sect3|sect4|sect5                      |section                      |book/glossary|article/glossary|part/glossary                      |book/bibliography|article/bibliography|part/bibliography                      |colophon" mode="enumerate-files">
+  <xsl:variable name="ischunk"><xsl:call-template name="chunk"/></xsl:variable>
+  <xsl:if test="$ischunk='1'">
+    <xsl:call-template name="make-relative-filename">
+      <xsl:with-param name="base.dir">
+        <xsl:if test="$manifest.in.base.dir = 0">
+          <xsl:value-of select="$base.dir"/>
+        </xsl:if>
+      </xsl:with-param>
+      <xsl:with-param name="base.name">
+        <xsl:apply-templates mode="chunk-filename" select="."/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:text>
+</xsl:text>
+  </xsl:if>
+  <xsl:apply-templates select="*" mode="enumerate-files"/>
+</xsl:template>
+
+<xsl:template match="book/index|article/index|part/index" mode="enumerate-files">
+  <xsl:if test="$htmlhelp.output != 1">
+    <xsl:variable name="ischunk"><xsl:call-template name="chunk"/></xsl:variable>
+    <xsl:if test="$ischunk='1'">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.dir">
+          <xsl:if test="$manifest.in.base.dir = 0">
+            <xsl:value-of select="$base.dir"/>
+          </xsl:if>
+        </xsl:with-param>
+        <xsl:with-param name="base.name">
+          <xsl:apply-templates mode="chunk-filename" select="."/>
+        </xsl:with-param>
+      </xsl:call-template>
+      <xsl:text>
+</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="*" mode="enumerate-files"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="enumerate-files">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+  <xsl:if test="$generate.legalnotice.link != 0">
+    <xsl:call-template name="make-relative-filename">
+      <xsl:with-param name="base.dir">
+        <xsl:if test="$manifest.in.base.dir = 0">
+          <xsl:value-of select="$base.dir"/>
+        </xsl:if>
+      </xsl:with-param>
+      <xsl:with-param name="base.name">
+        <xsl:apply-templates mode="chunk-filename" select="."/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:text>
+</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="mediaobject[imageobject] | inlinemediaobject[imageobject]" mode="enumerate-files">
+  <xsl:variable name="longdesc.uri">
+    <xsl:call-template name="longdesc.uri">
+      <xsl:with-param name="mediaobject" select="."/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="mediaobject" select="."/>
+
+  <xsl:if test="$html.longdesc != 0 and $mediaobject/textobject[not(phrase)]">
+    <xsl:call-template name="longdesc.uri">
+      <xsl:with-param name="mediaobject" select="$mediaobject"/>
+    </xsl:call-template>
+    <xsl:text>
+</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="text()" mode="enumerate-files">
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/math.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/math.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/math.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,285 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="mml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: math.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="inlineequation">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="alt">
+</xsl:template>
+
+<xsl:template match="mathphrase">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </span>
+</xsl:template>
+
+<!-- "Support" for MathML -->
+
+<xsl:template match="mml:*">
+  <xsl:copy>
+    <xsl:copy-of select="@*"/>
+    <xsl:apply-templates/>
+  </xsl:copy>
+</xsl:template>
+
+<!-- Support for TeX math in alt -->
+
+<xsl:template match="*" mode="collect.tex.math">
+  <xsl:call-template name="write.text.chunk">
+    <xsl:with-param name="filename" select="$tex.math.file"/>
+    <xsl:with-param name="method" select="'text'"/>
+    <xsl:with-param name="content">
+      <xsl:choose>
+        <xsl:when test="$tex.math.in.alt = 'plain'">
+          <xsl:call-template name="tex.math.plain.head"/>
+          <xsl:apply-templates select="." mode="collect.tex.math.plain"/>
+          <xsl:call-template name="tex.math.plain.tail"/>
+        </xsl:when>
+        <xsl:when test="$tex.math.in.alt = 'latex'">
+          <xsl:call-template name="tex.math.latex.head"/>
+          <xsl:apply-templates select="." mode="collect.tex.math.latex"/>
+          <xsl:call-template name="tex.math.latex.tail"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            Unsupported TeX math notation: 
+            <xsl:value-of select="$tex.math.in.alt"/>
+          </xsl:message>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:with-param>
+    <xsl:with-param name="encoding" select="$chunker.output.encoding"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- PlainTeX -->
+
+<xsl:template name="tex.math.plain.head">
+  <xsl:text>\nopagenumbers 
+</xsl:text>
+</xsl:template>
+
+<xsl:template name="tex.math.plain.tail">
+  <xsl:text>\bye 
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="inlineequation" mode="collect.tex.math.plain">
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="graphic">
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select="graphic"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="select.mediaobject.filename">
+          <xsl:with-param name="olist" select="inlinemediaobject/*"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:variable name="output.delims">
+    <xsl:call-template name="tex.math.output.delims"/>
+  </xsl:variable>
+  <xsl:variable name="tex" select="alt[@role='tex'] | inlinemediaobject/textobject[@role='tex']"/>
+  <xsl:if test="$tex">
+    <xsl:text>\special{dvi2bitmap outputfile </xsl:text>
+    <xsl:value-of select="$filename"/>
+    <xsl:text>} 
+</xsl:text>
+    <xsl:if test="$output.delims != 0">
+      <xsl:text>$</xsl:text>
+    </xsl:if>
+    <xsl:value-of select="$tex"/>
+    <xsl:if test="$output.delims != 0">
+      <xsl:text>$ 
+</xsl:text>
+    </xsl:if>
+    <xsl:text>\vfill\eject 
+</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="equation|informalequation" mode="collect.tex.math.plain">
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="graphic">
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select="graphic"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="select.mediaobject.filename">
+          <xsl:with-param name="olist" select="mediaobject/*"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:variable name="output.delims">
+    <xsl:call-template name="tex.math.output.delims"/>
+  </xsl:variable>
+  <xsl:variable name="tex" select="alt[@role='tex'] | mediaobject/textobject[@role='tex']"/>
+  <xsl:if test="$tex">
+    <xsl:text>\special{dvi2bitmap outputfile </xsl:text>
+    <xsl:value-of select="$filename"/>
+    <xsl:text>} 
+</xsl:text>
+    <xsl:if test="$output.delims != 0">
+      <xsl:text>$$</xsl:text>
+    </xsl:if>
+    <xsl:value-of select="$tex"/>
+    <xsl:if test="$output.delims != 0">
+      <xsl:text>$$ 
+</xsl:text>
+    </xsl:if>
+    <xsl:text>\vfill\eject 
+</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="text()" mode="collect.tex.math.plain"/>
+
+<!-- LaTeX -->
+
+<xsl:template name="tex.math.latex.head">
+  <xsl:text>\documentclass{article} 
+</xsl:text>
+  <xsl:text>\pagestyle{empty} 
+</xsl:text>
+  <xsl:text>\begin{document} 
+</xsl:text>
+</xsl:template>
+
+<xsl:template name="tex.math.latex.tail">
+  <xsl:text>\end{document} 
+</xsl:text>
+</xsl:template>
+
+<xsl:template match="inlineequation" mode="collect.tex.math.latex">
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="graphic">
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select="graphic"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="select.mediaobject.filename">
+          <xsl:with-param name="olist" select="inlinemediaobject/*"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:variable name="output.delims">
+    <xsl:call-template name="tex.math.output.delims"/>
+  </xsl:variable>
+  <xsl:variable name="tex" select="alt[@role='tex'] | inlinemediaobject/textobject[@role='tex']"/>
+  <xsl:if test="$tex">
+    <xsl:text>\special{dvi2bitmap outputfile </xsl:text>
+    <xsl:value-of select="$filename"/>
+    <xsl:text>} 
+</xsl:text>
+    <xsl:if test="$output.delims != 0">  
+      <xsl:text>$</xsl:text>
+    </xsl:if>
+    <xsl:value-of select="$tex"/>
+    <xsl:if test="$output.delims != 0">  
+      <xsl:text>$ 
+</xsl:text>
+    </xsl:if>
+    <xsl:text>\newpage 
+</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="equation|informalequation" mode="collect.tex.math.latex">
+  <xsl:variable name="filename">
+    <xsl:choose>
+      <xsl:when test="graphic">
+        <xsl:call-template name="mediaobject.filename">
+          <xsl:with-param name="object" select="graphic"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="select.mediaobject.filename">
+          <xsl:with-param name="olist" select="mediaobject/*"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:variable name="output.delims">
+    <xsl:call-template name="tex.math.output.delims"/>
+  </xsl:variable>
+  <xsl:variable name="tex" select="alt[@role='tex'] | mediaobject/textobject[@role='tex']"/>
+  <xsl:if test="$tex">
+    <xsl:text>\special{dvi2bitmap outputfile </xsl:text>
+    <xsl:value-of select="$filename"/>
+    <xsl:text>} 
+</xsl:text>
+    <xsl:if test="$output.delims != 0">
+      <xsl:text>$$</xsl:text>
+    </xsl:if>
+    <xsl:value-of select="$tex"/>
+    <xsl:if test="$output.delims != 0">
+      <xsl:text>$$ 
+</xsl:text>
+    </xsl:if>
+    <xsl:text>\newpage 
+</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="text()" mode="collect.tex.math.latex"/>
+
+<!-- Extracting image filename from mediaobject and graphic elements -->
+
+<xsl:template name="select.mediaobject.filename">
+  <xsl:param name="olist" select="imageobject|imageobjectco                      |videoobject|audioobject|textobject"/>
+
+  <xsl:variable name="mediaobject.index">
+    <xsl:call-template name="select.mediaobject.index">
+      <xsl:with-param name="olist" select="$olist"/>
+      <xsl:with-param name="count" select="1"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="$mediaobject.index != ''">
+    <xsl:call-template name="mediaobject.filename">
+      <xsl:with-param name="object" select="$olist[position() = $mediaobject.index]"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="tex.math.output.delims">
+  <xsl:variable name="pi.delims">
+    <xsl:call-template name="pi-attribute">
+      <xsl:with-param name="pis" select=".//processing-instruction('dbtex')"/>
+      <xsl:with-param name="attribute" select="'delims'"/>
+    </xsl:call-template>
+  </xsl:variable>
+  <xsl:variable name="result">
+    <xsl:choose>
+      <xsl:when test="$pi.delims = 'no'">0</xsl:when>
+      <xsl:when test="$pi.delims = '' and $tex.math.delims = 0">0</xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:value-of select="$result"/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/oldchunker.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/oldchunker.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/oldchunker.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,176 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:saxon="http://icl.com/saxon" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:redirect="http://xml.apache.org/xalan/redirect" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" version="1.1" exclude-result-prefixes="doc" extension-element-prefixes="saxon redirect lxslt">
+
+<!-- ********************************************************************
+     $Id: oldchunker.xsl 6306 2006-09-18 03:34:03Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- This stylesheet works with Saxon and Xalan; for XT use xtchunker.xsl -->
+
+<!-- ==================================================================== -->
+
+<xsl:param name="default.encoding" select="'ISO-8859-1'" doc:type="string"/>
+
+<doc:param xmlns="" name="default.encoding">
+<refpurpose xmlns="http://www.w3.org/1999/xhtml">Encoding used in generated HTML pages</refpurpose>
+<refdescription xmlns="http://www.w3.org/1999/xhtml">
+<para>This encoding is used in files generated by chunking stylesheet. Currently
+only Saxon is able to change output encoding.
+</para>
+</refdescription>
+</doc:param>
+
+<!-- ==================================================================== -->
+
+<xsl:param name="saxon.character.representation" select="'entity;decimal'" doc:type="string"/>
+
+<doc:param xmlns="" name="saxon.character.representation">
+<refpurpose xmlns="http://www.w3.org/1999/xhtml">Saxon character representation used in generated HTML pages</refpurpose>
+<refdescription xmlns="http://www.w3.org/1999/xhtml">
+<para>This character representation is used in files generated by chunking stylesheet. If
+you want to suppress entity references for characters with direct representation 
+in default.encoding, set this parameter to value <literal>native</literal>. 
+</para>
+</refdescription>
+</doc:param>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="make-relative-filename">
+  <xsl:param name="base.dir" select="'./'"/>
+  <xsl:param name="base.name" select="''"/>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($vendor, 'SAXON')">
+      <!-- Saxon doesn't make the chunks relative -->
+      <xsl:value-of select="concat($base.dir,$base.name)"/>
+    </xsl:when>
+    <xsl:when test="contains($vendor, 'Apache')">
+      <!-- Xalan doesn't make the chunks relative -->
+      <xsl:value-of select="concat($base.dir,$base.name)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message terminate="yes">
+        <xsl:text>Chunking isn't supported with </xsl:text>
+        <xsl:value-of select="$vendor"/>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="write.chunk">
+  <xsl:param name="filename" select="''"/>
+  <xsl:param name="method" select="'html'"/>
+  <xsl:param name="encoding" select="$default.encoding"/>
+  <xsl:param name="indent" select="'no'"/>
+  <xsl:param name="content" select="''"/>
+
+  <xsl:message>
+    <xsl:text>Writing </xsl:text>
+    <xsl:value-of select="$filename"/>
+    <xsl:if test="name(.) != ''">
+      <xsl:text> for </xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:if test="@id">
+        <xsl:text>(</xsl:text>
+        <xsl:value-of select="@id"/>
+        <xsl:text>)</xsl:text>
+      </xsl:if>
+    </xsl:if>
+  </xsl:message>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($vendor, 'SAXON 6.2')">
+      <!-- Saxon 6.2.x uses xsl:document -->
+      <xsl:document href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" saxon:character-representation="{$saxon.character.representation}">
+        <xsl:copy-of select="$content"/>
+      </xsl:document>
+    </xsl:when>
+    <xsl:when test="contains($vendor, 'SAXON')">
+      <!-- Saxon uses saxon:output -->
+      <saxon:output file="{$filename}" href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" saxon:character-representation="{$saxon.character.representation}">
+        <xsl:copy-of select="$content"/>
+      </saxon:output>
+    </xsl:when>
+    <xsl:when test="contains($vendor, 'Apache')">
+      <!-- Xalan uses redirect -->
+      <redirect:write file="{$filename}">
+        <xsl:copy-of select="$content"/>
+      </redirect:write>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- it doesn't matter since we won't be making chunks... -->
+      <xsl:message terminate="yes">
+        <xsl:text>Can't make chunks with </xsl:text>
+        <xsl:value-of select="$vendor"/>
+        <xsl:text>'s processor.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="write.chunk.with.doctype">
+  <xsl:param name="filename" select="''"/>
+  <xsl:param name="method" select="'html'"/>
+  <xsl:param name="encoding" select="$default.encoding"/>
+  <xsl:param name="indent" select="'no'"/>
+  <xsl:param name="doctype-public" select="''"/>
+  <xsl:param name="doctype-system" select="''"/>
+  <xsl:param name="content" select="''"/>
+
+  <xsl:message>
+    <xsl:text>Writing </xsl:text>
+    <xsl:value-of select="$filename"/>
+    <xsl:if test="name(.) != ''">
+      <xsl:text> for </xsl:text>
+      <xsl:value-of select="name(.)"/>
+    </xsl:if>
+  </xsl:message>
+
+  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($vendor, 'SAXON 6.2')">
+      <!-- Saxon 6.2.x uses xsl:document -->
+      <xsl:document href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" doctype-public="{$doctype-public}" doctype-system="{$doctype-system}" saxon:character-representation="{$saxon.character.representation}">
+        <xsl:copy-of select="$content"/>
+      </xsl:document>
+    </xsl:when>
+    <xsl:when test="contains($vendor, 'SAXON')">
+      <!-- Saxon uses saxon:output -->
+      <saxon:output file="{$filename}" href="{$filename}" method="{$method}" encoding="{$encoding}" indent="{$indent}" doctype-public="{$doctype-public}" doctype-system="{$doctype-system}" saxon:character-representation="{$saxon.character.representation}">
+        <xsl:copy-of select="$content"/>
+      </saxon:output>
+    </xsl:when>
+    <xsl:when test="contains($vendor, 'Apache')">
+      <!-- Xalan uses redirect -->
+      <redirect:write file="{$filename}">
+        <xsl:copy-of select="$content"/>
+      </redirect:write>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- it doesn't matter since we won't be making chunks... -->
+      <xsl:message terminate="yes">
+        <xsl:text>Can't make chunks with </xsl:text>
+        <xsl:value-of select="$vendor"/>
+        <xsl:text>'s processor.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/onechunk.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/onechunk.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/onechunk.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="doc">
+
+<!-- ********************************************************************
+     $Id: onechunk.xsl 3202 2003-11-30 19:42:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="chunk.xsl"/>
+
+<!-- Ok, using the onechunk parameter makes this all work again. -->
+<!-- It does have the disadvantage that it only works for documents that have -->
+<!-- a root element that is considered a chunk by the chunk.xsl stylesheet. -->
+<!-- Ideally, onechunk would let anything be a chunk. But not today. -->
+
+<xsl:param name="onechunk" select="1"/>
+<xsl:param name="suppress.navigation">1</xsl:param>
+
+<xsl:template name="href.target.uri">
+  <xsl:param name="object" select="."/>
+  <xsl:text>#</xsl:text>
+  <xsl:call-template name="object.id">
+    <xsl:with-param name="object" select="$object"/>
+  </xsl:call-template>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/param.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/param.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/param.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,400 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<!-- This file is generated from param.xweb; do not edit this file! --><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="src" version="1.0">
+
+<!-- ********************************************************************
+     $Id: param.xweb 6462 2007-01-04 09:55:38Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:param name="admon.graphics.extension" select="'.png'"/>
+<xsl:param name="admon.graphics" select="0"/>
+<xsl:param name="admon.graphics.path">images/</xsl:param>
+<xsl:param name="admon.style">
+  <xsl:text>margin-left: 0.5in; margin-right: 0.5in;</xsl:text>
+</xsl:param>
+<xsl:param name="admon.textlabel" select="1"/>
+<xsl:param name="annotate.toc" select="1"/>
+<xsl:param name="annotation.css">
+/* ======================================================================
+   Annotations
+*/
+
+div.annotation-list  { visibility: hidden;
+                     }
+
+div.annotation-nocss { position: absolute;
+                       visibility: hidden;
+                     }
+
+div.annotation-popup { position: absolute;
+                       z-index: 4;
+                       visibility: hidden;
+                       padding: 0px;
+                       margin: 2px;
+                       border-style: solid;
+                       border-width: 1px;
+                       width: 200px;
+		       background-color: white;
+                     }
+
+div.annotation-title { padding: 1px;
+                       font-weight: bold;
+                       border-bottom-style: solid;
+                       border-bottom-width: 1px;
+		       color: white;
+		       background-color: black;
+                     }
+
+div.annotation-body  { padding: 2px;
+                     }
+
+div.annotation-body p { margin-top: 0px;
+                        padding-top: 0px;
+                      }
+
+div.annotation-close { position: absolute;
+                       top: 2px;
+                       right: 2px;
+                     }
+</xsl:param>
+<xsl:param name="annotation.js" select="'http://docbook.sourceforge.net/release/script/AnchorPosition.js             http://docbook.sourceforge.net/release/script/PopupWindow.js'"/>
+<xsl:param name="annotation.graphic.open" select="'http://docbook.sourceforge.net/release/images/annot-open.png'"/>
+<xsl:param name="annotation.graphic.close" select="'http://docbook.sourceforge.net/release/images/annot-close.png'"/>
+<xsl:param name="annotation.support" select="0"/>
+<xsl:param name="appendix.autolabel" select="'A'"/>
+<xsl:param name="author.othername.in.middle" select="1"/>
+<xsl:param name="autotoc.label.separator" select="'. '"/>
+<xsl:param name="autotoc.label.in.hyperlink" select="1"/>
+<xsl:param name="base.dir" select="''"/>
+<xsl:param name="biblioentry.item.separator">. </xsl:param>
+<xsl:param name="bibliography.collection" select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"/>
+<xsl:param name="bibliography.numbered" select="0"/>
+<xsl:param name="blurb.on.titlepage.enabled">0</xsl:param>
+<xsl:param name="bridgehead.in.toc" select="0"/>
+<xsl:param name="callout.defaultcolumn" select="'60'"/>
+<xsl:param name="callout.graphics.extension" select="'.png'"/>
+<xsl:param name="callout.graphics" select="'1'"/>
+<xsl:param name="callout.graphics.number.limit" select="'15'"/>
+<xsl:param name="callout.graphics.path" select="'images/callouts/'"/>
+<xsl:param name="callout.list.table" select="'1'"/>
+<xsl:param name="callout.unicode" select="0"/>
+<xsl:param name="callout.unicode.number.limit" select="'10'"/>
+<xsl:param name="callout.unicode.start.character" select="10102"/>
+<xsl:param name="callouts.extension" select="'1'"/>
+<xsl:param name="chapter.autolabel" select="1"/>
+<xsl:param name="chunk.append"/>
+<xsl:param name="chunk.first.sections" select="0"/>
+<xsl:param name="chunk.quietly" select="0"/>
+<xsl:param name="chunk.section.depth" select="1"/>
+<xsl:param name="chunk.toc" select="''"/>
+<xsl:param name="chunk.tocs.and.lots" select="0"/>
+<xsl:param name="chunk.tocs.and.lots.has.title" select="1"/>
+<xsl:param name="chunk.separate.lots" select="0"/>
+<xsl:param name="citerefentry.link" select="'0'"/>
+<xsl:param name="collect.xref.targets" select="'no'"/>
+<xsl:param name="component.label.includes.part.label" select="0"/>
+<xsl:param name="contrib.inline.enabled">1</xsl:param>
+<xsl:param name="css.decoration" select="1"/>
+<xsl:param name="current.docid" select="''"/> 
+<xsl:param name="default.float.class">
+  <xsl:choose>
+    <xsl:when test="contains($stylesheet.result.type,'html')">left</xsl:when>
+    <xsl:otherwise>before</xsl:otherwise>
+  </xsl:choose>
+</xsl:param>
+<xsl:param name="default.image.width" select="''"/>
+<xsl:param name="default.table.width" select="''"/>
+<xsl:param name="default.table.frame" select="'all'"/>
+<xsl:param name="draft.mode" select="'maybe'"/>
+<xsl:param name="draft.watermark.image" select="'http://docbook.sourceforge.net/release/images/draft.png'"/>
+<xsl:param name="ebnf.table.bgcolor" select="'#F5DCB3'"/>
+<xsl:param name="ebnf.table.border" select="1"/>
+<xsl:param name="ebnf.assignment">
+<code>::=</code>
+</xsl:param>
+
+<xsl:param name="ebnf.statement.terminator"/>
+
+<xsl:param name="eclipse.autolabel" select="0"/>
+<xsl:param name="eclipse.plugin.name">DocBook Online Help Sample</xsl:param>
+<xsl:param name="eclipse.plugin.id">com.example.help</xsl:param>
+<xsl:param name="eclipse.plugin.provider">Example provider</xsl:param>
+<xsl:param name="editedby.enabled">1</xsl:param>
+<xsl:param name="email.delimiters.enabled">1</xsl:param>
+<xsl:param name="emphasis.propagates.style" select="1"/>
+<xsl:param name="entry.propagates.style" select="1"/>
+<xsl:param name="firstterm.only.link" select="0"/>
+<xsl:param name="footer.rule" select="1"/>
+<xsl:param name="footnote.number.format" select="'1'"/>
+<xsl:param name="footnote.number.symbols" select="''"/>
+<xsl:param name="formal.procedures" select="1"/>
+<xsl:param name="formal.title.placement">
+figure before
+example before
+equation before
+table before
+procedure before
+task before
+</xsl:param>
+<xsl:param name="funcsynopsis.decoration" select="1"/>
+<xsl:param name="funcsynopsis.style">kr</xsl:param>
+<xsl:param name="funcsynopsis.tabular.threshold" select="40"/>
+<xsl:param name="function.parens">0</xsl:param>
+<xsl:param name="generate.id.attributes" select="0"/>
+<xsl:param name="generate.index" select="1"/>
+<xsl:param name="generate.legalnotice.link" select="0"/>
+<xsl:param name="generate.revhistory.link" select="0"/>
+<xsl:param name="generate.manifest" select="0"/>
+<xsl:param name="generate.meta.abstract" select="1"/>
+<xsl:param name="generate.section.toc.level" select="0"/>
+<xsl:param name="generate.toc">
+appendix  toc,title
+article/appendix  nop
+article   toc,title
+book      toc,title,figure,table,example,equation
+chapter   toc,title
+part      toc,title
+preface   toc,title
+qandadiv  toc
+qandaset  toc
+reference toc,title
+sect1     toc
+sect2     toc
+sect3     toc
+sect4     toc
+sect5     toc
+section   toc
+set       toc,title
+</xsl:param>
+
+<xsl:param name="glossary.collection" select="''"/>
+<xsl:param name="glossary.sort" select="0"/>
+<xsl:param name="glossentry.show.acronym" select="'no'"/>
+<xsl:param name="glossterm.auto.link" select="0"/>
+<xsl:param name="graphic.default.extension"/>
+<xsl:param name="graphicsize.extension" select="1"/>
+<xsl:param name="graphicsize.use.img.src.path" select="0"/>
+<xsl:param name="header.rule" select="1"/>
+<xsl:param name="highlight.default.language" select="''"/>
+<xsl:param name="highlight.source" select="0"/>
+<xsl:param name="html.append"/>
+<xsl:param name="html.base"/>
+<xsl:param name="html.cellpadding" select="''"/>
+<xsl:param name="html.cellspacing" select="''"/>
+<xsl:param name="html.cleanup" select="1"/>
+<xsl:param name="html.ext" select="'.html'"/>
+<xsl:param name="html.extra.head.links" select="0"/>
+<xsl:param name="html.head.legalnotice.link.types">copyright</xsl:param>
+<xsl:param name="html.head.legalnotice.link.multiple" select="1"/>
+<xsl:param name="html.longdesc" select="1"/>
+<xsl:param name="html.longdesc.link" select="$html.longdesc"/>
+<xsl:param name="html.stylesheet" select="''"/>
+<xsl:param name="html.stylesheet.type">text/css</xsl:param>
+<xsl:param name="htmlhelp.alias.file" select="'alias.h'"/>
+<xsl:param name="htmlhelp.autolabel" select="0"/>
+<xsl:param name="htmlhelp.button.back" select="1"/>
+<xsl:param name="htmlhelp.button.forward" select="0"/>
+<xsl:param name="htmlhelp.button.hideshow" select="1"/>
+<xsl:param name="htmlhelp.button.home" select="0"/>
+<xsl:param name="htmlhelp.button.home.url"/>
+<xsl:param name="htmlhelp.button.jump1" select="0"/>
+<xsl:param name="htmlhelp.button.jump1.title" select="'User1'"/>
+<xsl:param name="htmlhelp.button.jump1.url"/>
+<xsl:param name="htmlhelp.button.jump2" select="0"/>
+<xsl:param name="htmlhelp.button.jump2.title" select="'User2'"/>
+<xsl:param name="htmlhelp.button.jump2.url"/>
+<xsl:param name="htmlhelp.button.locate" select="0"/>
+<xsl:param name="htmlhelp.button.next" select="1"/>
+<xsl:param name="htmlhelp.button.options" select="1"/>
+<xsl:param name="htmlhelp.button.prev" select="1"/>
+<xsl:param name="htmlhelp.button.print" select="1"/>
+<xsl:param name="htmlhelp.button.refresh" select="0"/>
+<xsl:param name="htmlhelp.button.stop" select="0"/>
+<xsl:param name="htmlhelp.button.zoom" select="0"/>
+<xsl:param name="htmlhelp.chm" select="'htmlhelp.chm'"/>
+<xsl:param name="htmlhelp.default.topic" select="''"/>
+<xsl:param name="htmlhelp.display.progress" select="1"/>
+<xsl:param name="htmlhelp.encoding" select="'iso-8859-1'"/>
+<xsl:param name="htmlhelp.enhanced.decompilation" select="0"/>
+<xsl:param name="htmlhelp.enumerate.images" select="0"/>
+<xsl:param name="htmlhelp.force.map.and.alias" select="0"/>
+<xsl:param name="htmlhelp.hhc.binary" select="1"/>
+<xsl:param name="htmlhelp.hhc.folders.instead.books" select="1"/>
+<xsl:param name="htmlhelp.hhc" select="'toc.hhc'"/>
+<xsl:param name="htmlhelp.hhc.section.depth" select="5"/>
+<xsl:param name="htmlhelp.hhc.show.root" select="1"/>
+<xsl:param name="htmlhelp.hhc.width"/>
+<xsl:param name="htmlhelp.hhk" select="'index.hhk'"/>
+<xsl:param name="htmlhelp.hhp" select="'htmlhelp.hhp'"/>
+<xsl:param name="htmlhelp.hhp.tail"/>
+<xsl:param name="htmlhelp.hhp.window" select="'Main'"/>
+<xsl:param name="htmlhelp.hhp.windows"/>
+<xsl:param name="htmlhelp.map.file" select="'context.h'"/>
+<xsl:param name="htmlhelp.only" select="0"/>
+<xsl:param name="htmlhelp.remember.window.position" select="0"/>
+<xsl:param name="htmlhelp.show.advanced.search" select="0"/>
+<xsl:param name="htmlhelp.show.favorities" select="0"/>
+<xsl:param name="htmlhelp.show.menu" select="0"/>
+<xsl:param name="htmlhelp.show.toolbar.text" select="1"/>
+<xsl:param name="htmlhelp.title" select="''"/>
+<xsl:param name="htmlhelp.use.hhk" select="0"/>
+<xsl:param name="htmlhelp.window.geometry"/>
+<xsl:param name="img.src.path"/>
+<xsl:param name="id.warnings" select="1"/>
+<xsl:param name="index.method" select="'basic'"/>
+<xsl:param name="index.on.role" select="0"/>
+<xsl:param name="index.on.type" select="0"/>
+<xsl:param name="index.number.separator" select="''"/>
+<xsl:param name="index.term.separator" select="''"/>
+<xsl:param name="index.range.separator" select="''"/>
+<xsl:param name="index.prefer.titleabbrev" select="0"/>
+<xsl:param name="ignore.image.scaling" select="0"/>
+<xsl:param name="inherit.keywords" select="'1'"/>
+<xsl:param name="insert.xref.page.number">no</xsl:param>
+<xsl:param name="keep.relative.image.uris" select="1"/>
+
+<xsl:param name="l10n.gentext.default.language" select="'en'"/>
+<xsl:param name="l10n.gentext.language" select="''"/>
+<xsl:param name="l10n.gentext.use.xref.language" select="0"/>
+<xsl:param name="l10n.lang.value.rfc.compliant" select="1"/>
+<xsl:param name="label.from.part" select="'0'"/>
+<xsl:param name="linenumbering.everyNth" select="'5'"/>
+<xsl:param name="linenumbering.extension" select="'1'"/>
+<xsl:param name="linenumbering.separator" select="' '"/>
+<xsl:param name="linenumbering.width" select="'3'"/>
+<xsl:param name="link.mailto.url"/>
+<xsl:param name="make.graphic.viewport" select="1"/>
+<xsl:param name="make.single.year.ranges" select="0"/>
+<xsl:param name="make.valid.html" select="1"/>
+<xsl:param name="make.year.ranges" select="0"/>
+<xsl:param name="manifest" select="'HTML.manifest'"/>
+<xsl:param name="manifest.in.base.dir" select="0"/>
+<xsl:param name="manual.toc" select="''"/>
+<xsl:param name="menuchoice.menu.separator"> &#8594; </xsl:param>
+<xsl:param name="menuchoice.separator" select="'+'"/>
+<xsl:param name="navig.graphics.extension" select="'.gif'"/>
+<xsl:param name="navig.graphics" select="0"/>
+<xsl:param name="navig.graphics.path">images/</xsl:param>
+<xsl:param name="navig.showtitles">1</xsl:param>
+<xsl:param name="nominal.image.depth" select="4 * $pixels.per.inch"/>
+<xsl:param name="nominal.image.width" select="6 * $pixels.per.inch"/>
+<xsl:param name="nominal.table.width" select="'6in'"/>
+<xsl:param name="olink.base.uri" select="''"/> 
+<xsl:param name="olink.debug" select="0"/>
+<xsl:attribute-set name="olink.properties">
+  <xsl:attribute name="show-destination">replace</xsl:attribute>
+</xsl:attribute-set>
+<xsl:param name="insert.olink.page.number">no</xsl:param>
+<xsl:param name="insert.olink.pdf.frag" select="0"/>
+<xsl:param name="prefer.internal.olink" select="0"/>
+<xsl:param name="olink.lang.fallback.sequence" select="''"/> 
+<xsl:param name="olink.doctitle" select="'no'"/> 
+<xsl:param name="olink.fragid" select="'fragid='"/>
+<xsl:param name="olink.outline.ext" select="'.olink'"/>
+<xsl:param name="olink.pubid" select="'pubid='"/>
+<xsl:param name="olink.resolver" select="'/cgi-bin/olink'"/>
+<xsl:param name="olink.sysid" select="'sysid='"/>
+<xsl:param name="othercredit.like.author.enabled">0</xsl:param>
+<xsl:param name="para.propagates.style" select="1"/>
+<xsl:param name="part.autolabel" select="'I'"/>
+<xsl:param name="phrase.propagates.style" select="1"/>
+<xsl:param name="pixels.per.inch" select="90"/>
+<xsl:param name="points.per.em" select="10"/>
+<xsl:param name="preface.autolabel" select="0"/>
+<xsl:param name="preferred.mediaobject.role"/>
+<xsl:param name="process.empty.source.toc" select="0"/>
+<xsl:param name="process.source.toc" select="0"/>
+<xsl:param name="profile.arch" select="''"/>
+<xsl:param name="profile.attribute" select="''"/>
+<xsl:param name="profile.condition" select="''"/>
+<xsl:param name="profile.conformance" select="''"/>
+<xsl:param name="profile.lang" select="''"/>
+<xsl:param name="profile.os" select="''"/>
+<xsl:param name="profile.revision" select="''"/>
+<xsl:param name="profile.revisionflag" select="''"/>
+<xsl:param name="profile.role" select="''"/>
+<xsl:param name="profile.security" select="''"/>
+<xsl:param name="profile.separator" select="';'"/>
+<xsl:param name="profile.status" select="''"/>
+<xsl:param name="profile.userlevel" select="''"/>
+<xsl:param name="profile.value" select="''"/>
+<xsl:param name="profile.vendor" select="''"/>
+<xsl:param name="punct.honorific" select="'.'"/>
+<xsl:param name="qanda.defaultlabel">number</xsl:param>
+<xsl:param name="qanda.inherit.numeration" select="1"/>
+<xsl:param name="qanda.in.toc" select="0"/>
+<xsl:param name="qanda.nested.in.toc" select="0"/>
+<xsl:param name="qandadiv.autolabel" select="1"/>
+<xsl:param name="refentry.generate.name" select="1"/>
+<xsl:param name="refentry.generate.title" select="0"/>
+<xsl:param name="refentry.separator" select="'1'"/>
+<xsl:param name="refentry.xref.manvolnum" select="1"/>
+<xsl:param name="reference.autolabel" select="'I'"/>
+<xsl:param name="refclass.suppress" select="0"/>
+<xsl:param name="root.filename" select="'index'"/>
+<xsl:param name="rootid" select="''"/>
+<xsl:param name="runinhead.default.title.end.punct" select="'.'"/>
+<xsl:param name="runinhead.title.end.punct" select="'.!?:'"/>
+<xsl:param name="section.autolabel" select="0"/>
+<xsl:param name="section.autolabel.max.depth" select="8"/>
+<xsl:param name="section.label.includes.component.label" select="0"/>
+<xsl:param name="segmentedlist.as.table" select="0"/>
+<xsl:param name="shade.verbatim" select="0"/>
+<xsl:attribute-set name="shade.verbatim.style">
+  <xsl:attribute name="border">0</xsl:attribute>
+  <xsl:attribute name="bgcolor">#E0E0E0</xsl:attribute>
+</xsl:attribute-set>
+
+<xsl:param name="show.comments">1</xsl:param>
+<xsl:param name="show.revisionflag">0</xsl:param>
+<xsl:param name="simplesect.in.toc" select="0"/>
+<xsl:param name="spacing.paras" select="'0'"/>
+<xsl:param name="suppress.footer.navigation">0</xsl:param>
+<xsl:param name="suppress.header.navigation">0</xsl:param>
+<xsl:param name="suppress.navigation">0</xsl:param>
+<xsl:param name="table.borders.with.css" select="0"/>
+<xsl:param name="table.cell.border.color" select="''"/>
+
+<xsl:param name="table.cell.border.style" select="'solid'"/>
+<xsl:param name="table.cell.border.thickness" select="'0.5pt'"/>
+<xsl:param name="table.footnote.number.format" select="'a'"/>
+<xsl:param name="table.footnote.number.symbols" select="''"/>
+<xsl:param name="table.frame.border.color" select="''"/>
+
+<xsl:param name="table.frame.border.style" select="'solid'"/>
+<xsl:param name="table.frame.border.thickness" select="'0.5pt'"/>
+<xsl:param name="tablecolumns.extension" select="'1'"/>
+<xsl:param name="target.database.document" select="''"/>
+<xsl:param name="targets.filename" select="'target.db'"/>
+<xsl:param name="textdata.default.encoding" select="''"/>
+<xsl:param name="tex.math.delims" select="'1'"/>
+<xsl:param name="tex.math.file" select="'tex-math-equations.tex'"/>
+<xsl:param name="tex.math.in.alt" select="''"/>
+<xsl:param name="textinsert.extension" select="'1'"/>
+<xsl:param name="toc.list.type">dl</xsl:param>
+<xsl:param name="toc.section.depth">2</xsl:param>
+<xsl:param name="toc.max.depth">8</xsl:param>
+<xsl:param name="ulink.target" select="'_top'"/>
+<xsl:param name="use.embed.for.svg" select="0"/>
+<xsl:param name="use.extensions" select="'0'"/>
+<xsl:param name="use.id.as.filename" select="'0'"/>
+<xsl:param name="use.local.olink.style" select="0"/> 
+<xsl:param name="use.role.as.xrefstyle" select="1"/>
+<xsl:param name="use.role.for.mediaobject" select="1"/>
+<xsl:param name="use.svg" select="1"/>
+<xsl:param name="variablelist.as.table" select="0"/>
+<xsl:param name="variablelist.term.separator">, </xsl:param>
+<xsl:param name="variablelist.term.break.after">0</xsl:param>
+<xsl:param name="xref.with.number.and.title" select="1"/>
+<xsl:param name="xref.label-title.separator">: </xsl:param>
+<xsl:param name="xref.label-page.separator"><xsl:text> </xsl:text></xsl:param>
+<xsl:param name="xref.title-page.separator"><xsl:text> </xsl:text></xsl:param>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/pi.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/pi.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/pi.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,252 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: pi.xsl 5937 2006-05-07 02:22:41Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:template match="processing-instruction()">
+</xsl:template>
+
+<xsl:template match="processing-instruction('dbhtml')">
+  <!-- nop -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="dbhtml-attribute">
+  <xsl:param name="pis" select="processing-instruction('dbhtml')"/>
+  <xsl:param name="attribute">filename</xsl:param>
+
+  <xsl:call-template name="pi-attribute">
+    <xsl:with-param name="pis" select="$pis"/>
+    <xsl:with-param name="attribute" select="$attribute"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="dbhtml-filename">
+  <xsl:param name="pis" select="./processing-instruction('dbhtml')"/>
+  <xsl:call-template name="dbhtml-attribute">
+    <xsl:with-param name="pis" select="$pis"/>
+    <xsl:with-param name="attribute">filename</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<!--
+<xsl:template name="dbhtml-dir">
+  <xsl:param name="pis" select="./processing-instruction('dbhtml')"/>
+  <xsl:call-template name="dbhtml-attribute">
+    <xsl:with-param name="pis" select="$pis"/>
+    <xsl:with-param name="attribute">dir</xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+-->
+
+<xsl:template name="dbhtml-dir">
+  <xsl:param name="context" select="."/>
+
+  <!-- directories are now inherited from previous levels -->
+
+  <xsl:variable name="ppath">
+    <xsl:if test="$context/parent::*">
+      <xsl:call-template name="dbhtml-dir">
+        <xsl:with-param name="context" select="$context/parent::*"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="path">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="$context/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute">dir</xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$path = ''">
+      <xsl:if test="$ppath != ''">
+        <xsl:value-of select="$ppath"/>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$ppath != ''">
+        <xsl:value-of select="$ppath"/>
+        <xsl:if test="substring($ppath, string-length($ppath), 1) != '/'">
+          <xsl:text>/</xsl:text>
+        </xsl:if>
+      </xsl:if>
+      <xsl:value-of select="$path"/>
+      <xsl:text>/</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.cmdsynopsis.list">
+  <xsl:param name="cmdsynopses"/><!-- empty node list by default -->
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="$count&gt;count($cmdsynopses)"/>
+    <xsl:otherwise>
+      <xsl:variable name="cmdsyn" select="$cmdsynopses[$count]"/>
+
+       <dt>
+       <a>
+         <xsl:attribute name="href">
+           <xsl:call-template name="object.id">
+             <xsl:with-param name="object" select="$cmdsyn"/>
+           </xsl:call-template>
+         </xsl:attribute>
+
+         <xsl:choose>
+           <xsl:when test="$cmdsyn/@xreflabel">
+             <xsl:call-template name="xref.xreflabel">
+               <xsl:with-param name="target" select="$cmdsyn"/>
+             </xsl:call-template>
+           </xsl:when>
+           <xsl:otherwise>
+             <xsl:apply-templates select="$cmdsyn" mode="xref-to">
+               <xsl:with-param name="target" select="$cmdsyn"/>
+             </xsl:apply-templates>
+           </xsl:otherwise>
+         </xsl:choose>
+       </a>
+       </dt>
+
+        <xsl:call-template name="process.cmdsynopsis.list">
+          <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/>
+          <xsl:with-param name="count" select="$count+1"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+</xsl:template>
+
+<xsl:template match="processing-instruction('dbcmdlist')">
+  <xsl:variable name="cmdsynopses" select="..//cmdsynopsis"/>
+
+  <xsl:if test="count($cmdsynopses)&lt;1">
+    <xsl:message><xsl:text>No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep?</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <dl>
+    <xsl:call-template name="process.cmdsynopsis.list">
+      <xsl:with-param name="cmdsynopses" select="$cmdsynopses"/>
+    </xsl:call-template>
+  </dl>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.funcsynopsis.list">
+  <xsl:param name="funcsynopses"/><!-- empty node list by default -->
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="$count&gt;count($funcsynopses)"/>
+    <xsl:otherwise>
+      <xsl:variable name="cmdsyn" select="$funcsynopses[$count]"/>
+
+       <dt>
+       <a>
+         <xsl:attribute name="href">
+           <xsl:call-template name="object.id">
+             <xsl:with-param name="object" select="$cmdsyn"/>
+           </xsl:call-template>
+         </xsl:attribute>
+
+         <xsl:choose>
+           <xsl:when test="$cmdsyn/@xreflabel">
+             <xsl:call-template name="xref.xreflabel">
+               <xsl:with-param name="target" select="$cmdsyn"/>
+             </xsl:call-template>
+           </xsl:when>
+           <xsl:otherwise>
+              <xsl:apply-templates select="$cmdsyn" mode="xref-to">
+                <xsl:with-param name="target" select="$cmdsyn"/>
+              </xsl:apply-templates>
+           </xsl:otherwise>
+         </xsl:choose>
+       </a>
+       </dt>
+
+        <xsl:call-template name="process.funcsynopsis.list">
+          <xsl:with-param name="funcsynopses" select="$funcsynopses"/>
+          <xsl:with-param name="count" select="$count+1"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+</xsl:template>
+
+<xsl:template match="processing-instruction('dbfunclist')">
+  <xsl:variable name="funcsynopses" select="..//funcsynopsis"/>
+
+  <xsl:if test="count($funcsynopses)&lt;1">
+    <xsl:message><xsl:text>No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep?</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <dl>
+    <xsl:call-template name="process.funcsynopsis.list">
+      <xsl:with-param name="funcsynopses" select="$funcsynopses"/>
+    </xsl:call-template>
+  </dl>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- Copy well-formed external HTML content to the output. -->
+<!-- An optional <html> wrapper will be removed before content is copied 
+     to support multiple elements in output without a wrapper.
+     No other processing is done to the content. -->
+<xsl:template match="processing-instruction('dbhtml-include')">
+  <xsl:param name="href">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="."/>
+      <xsl:with-param name="attribute">href</xsl:with-param>
+    </xsl:call-template>
+  </xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$href != ''">
+      <xsl:variable name="content" select="document($href,/)"/>
+      <xsl:choose>
+        <xsl:when test="$content/*">
+          <xsl:choose>
+            <xsl:when test="$content/*[1][self::html]">
+              <!-- include just the children of html wrapper -->
+              <xsl:copy-of select="$content/*[1]/node()"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:copy-of select="$content"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>ERROR: dbhtml-include processing instruction </xsl:text>
+            <xsl:text>href has no content.</xsl:text>
+          </xsl:message>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+        <xsl:text>ERROR: dbhtml-include processing instruction has </xsl:text>
+        <xsl:text>missing or empty href value.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/profile-chunk-code.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/profile-chunk-code.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/profile-chunk-code.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,765 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<!--This file was created automatically by xsl2profile--><!--from the DocBook XSL stylesheets. Do not edit this file.--><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns:cf="http://docbook.sourceforge.net/xmlns/chunkfast/1.0" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exslt="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" version="1.0" exclude-result-prefixes="exsl cf ng db exslt">
+
+<!-- ********************************************************************
+     $Id: chunk-code.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:param name="onechunk" select="0"/>
+<xsl:param name="refentry.separator" select="0"/>
+<xsl:param name="chunk.fast" select="0"/>
+
+<xsl:key name="genid" match="*" use="generate-id()"/>
+
+<!-- ==================================================================== -->
+
+<xsl:variable name="chunk.hierarchy">
+  <xsl:if test="$chunk.fast != 0">
+    <xsl:choose>
+      <xsl:when test="function-available('exsl:node-set')">
+        <xsl:message>Computing chunks...</xsl:message>
+        <xsl:apply-templates select="/*" mode="find.chunks"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:message>
+          <xsl:text>Fast chunking requires exsl:node-set(). </xsl:text>
+          <xsl:text>Using "slow" chunking.</xsl:text>
+        </xsl:message>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:variable>
+
+<xsl:template match="*" mode="find.chunks">
+  <xsl:variable name="chunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$chunk != 0">
+      <cf:div id="{generate-id()}">
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates select="*" mode="find.chunks"/>
+      </cf:div>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="*" mode="find.chunks"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process-chunk-element">
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$chunk.fast != 0 and function-available('exsl:node-set')">
+      <xsl:variable name="chunks" select="exsl:node-set($chunk.hierarchy)//cf:div"/>
+      <xsl:variable name="genid" select="generate-id()"/>
+
+      <xsl:variable name="div" select="$chunks[@id=$genid or @xml:id=$genid]"/>
+
+      <xsl:variable name="prevdiv" select="($div/preceding-sibling::cf:div|$div/preceding::cf:div|$div/parent::cf:div)[last()]"/>
+      <xsl:variable name="prev" select="key('genid', ($prevdiv/@id|$prevdiv/@xml:id)[1])"/>
+
+      <xsl:variable name="nextdiv" select="($div/following-sibling::cf:div|$div/following::cf:div|$div/cf:div)[1]"/>
+      <xsl:variable name="next" select="key('genid', ($nextdiv/@id|$nextdiv/@xml:id)[1])"/>
+
+      <xsl:choose>
+        <xsl:when test="$onechunk != 0 and parent::*">
+          <xsl:copy-of select="$content"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="process-chunk">
+            <xsl:with-param name="prev" select="$prev"/>
+            <xsl:with-param name="next" select="$next"/>
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$onechunk != 0 and not(parent::*)">
+          <xsl:call-template name="chunk-all-sections">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$onechunk != 0">
+          <xsl:copy-of select="$content"/>
+        </xsl:when>
+        <xsl:when test="$chunk.first.sections = 0">
+          <xsl:call-template name="chunk-first-section-with-parent">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="chunk-all-sections">
+            <xsl:with-param name="content" select="$content"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process-chunk">
+  <xsl:param name="prev" select="."/>
+  <xsl:param name="next" select="."/>
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:variable name="chunkfn">
+    <xsl:if test="$ischunk='1'">
+      <xsl:apply-templates mode="chunk-filename" select="."/>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:if test="$ischunk='0'">
+    <xsl:message>
+      <xsl:text>Error </xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:text> is not a chunk!</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="filename">
+    <xsl:call-template name="make-relative-filename">
+      <xsl:with-param name="base.dir" select="$base.dir"/>
+      <xsl:with-param name="base.name" select="$chunkfn"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="write.chunk">
+    <xsl:with-param name="filename" select="$filename"/>
+    <xsl:with-param name="content">
+      <xsl:call-template name="chunk-element-content">
+        <xsl:with-param name="prev" select="$prev"/>
+        <xsl:with-param name="next" select="$next"/>
+        <xsl:with-param name="content" select="$content"/>
+      </xsl:call-template>
+    </xsl:with-param>
+    <xsl:with-param name="quiet" select="$chunk.quietly"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="chunk-first-section-with-parent">
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <!-- These xpath expressions are really hairy. The trick is to pick sections -->
+  <!-- that are not first children and are not the children of first children -->
+
+  <!-- Break these variables into pieces to work around
+       http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6063 -->
+
+  <xsl:variable name="prev-v1" select="(ancestor::sect1[$chunk.section.depth &gt; 0                                and preceding-sibling::sect1][1]               |ancestor::sect2[$chunk.section.depth &gt; 1                                and preceding-sibling::sect2                                and parent::sect1[preceding-sibling::sect1]][1]               |ancestor::sect3[$chunk.section.depth &gt; 2                                and preceding-sibling::sect3                                and parent::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |ancestor::sect4[$chunk.section.depth &gt; 3                                and preceding-sibling::sect4                                and parent::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |!
 ancestor::sect5[$chunk.section.depth &gt; 4                                and preceding-sibling::sect5                                and parent::sect4[preceding-sibling::sect4]                                and ancestor::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |ancestor::section[$chunk.section.depth &gt; count(ancestor::section)                                 and not(ancestor::section[not(preceding-sibling::section)])][1])[last()]"/>
+
+  <xsl:variable name="prev-v2" select="(preceding::sect1[$chunk.section.depth &gt; 0                                and preceding-sibling::sect1][1]               |preceding::sect2[$chunk.section.depth &gt; 1                                and preceding-sibling::sect2                                and parent::sect1[preceding-sibling::sect1]][1]               |preceding::sect3[$chunk.section.depth &gt; 2                                and preceding-sibling::sect3                                and parent::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |preceding::sect4[$chunk.section.depth &gt; 3                                and preceding-sibling::sect4                                and parent::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]            !
    |preceding::sect5[$chunk.section.depth &gt; 4                                and preceding-sibling::sect5                                and parent::sect4[preceding-sibling::sect4]                                and ancestor::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |preceding::section[$chunk.section.depth &gt; count(ancestor::section)                                  and preceding-sibling::section                                  and not(ancestor::section[not(preceding-sibling::section)])][1])[last()]"/>
+
+  <xsl:variable name="prev" select="(preceding::book[1]              |preceding::preface[1]              |preceding::chapter[1]              |preceding::appendix[1]              |preceding::part[1]              |preceding::reference[1]              |preceding::refentry[1]              |preceding::colophon[1]              |preceding::article[1]              |preceding::bibliography[parent::article or parent::book or parent::part][1]              |preceding::glossary[parent::article or parent::book or parent::part][1]              |preceding::index[$generate.index != 0]                                [parent::article or parent::book or parent::part][1]              |preceding::setindex[$generate.index != 0][1]              |ancestor::set              |ancestor::book[1]              |ancestor::preface[1]              |ancestor::chapter[1]              |ancestor::appendix[1]              |ancestor::part[1]              |ancestor::reference[1]              |ancestor::article[1] !
              |$prev-v1              |$prev-v2)[last()]"/>
+
+  <xsl:variable name="next-v1" select="(following::sect1[$chunk.section.depth &gt; 0                                and preceding-sibling::sect1][1]               |following::sect2[$chunk.section.depth &gt; 1                                and preceding-sibling::sect2                                and parent::sect1[preceding-sibling::sect1]][1]               |following::sect3[$chunk.section.depth &gt; 2                                and preceding-sibling::sect3                                and parent::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |following::sect4[$chunk.section.depth &gt; 3                                and preceding-sibling::sect4                                and parent::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]            !
    |following::sect5[$chunk.section.depth &gt; 4                                and preceding-sibling::sect5                                and parent::sect4[preceding-sibling::sect4]                                and ancestor::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |following::section[$chunk.section.depth &gt; count(ancestor::section)                                  and preceding-sibling::section                                  and not(ancestor::section[not(preceding-sibling::section)])][1])[1]"/>
+
+  <xsl:variable name="next-v2" select="(descendant::sect1[$chunk.section.depth &gt; 0                                and preceding-sibling::sect1][1]               |descendant::sect2[$chunk.section.depth &gt; 1                                and preceding-sibling::sect2                                and parent::sect1[preceding-sibling::sect1]][1]               |descendant::sect3[$chunk.section.depth &gt; 2                                and preceding-sibling::sect3                                and parent::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |descendant::sect4[$chunk.section.depth &gt; 3                                and preceding-sibling::sect4                                and parent::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]        !
        |descendant::sect5[$chunk.section.depth &gt; 4                                and preceding-sibling::sect5                                and parent::sect4[preceding-sibling::sect4]                                and ancestor::sect3[preceding-sibling::sect3]                                and ancestor::sect2[preceding-sibling::sect2]                                and ancestor::sect1[preceding-sibling::sect1]][1]               |descendant::section[$chunk.section.depth &gt; count(ancestor::section)                                  and preceding-sibling::section                                  and not(ancestor::section[not(preceding-sibling::section)])])[1]"/>
+
+  <xsl:variable name="next" select="(following::book[1]              |following::preface[1]              |following::chapter[1]              |following::appendix[1]              |following::part[1]              |following::reference[1]              |following::refentry[1]              |following::colophon[1]              |following::bibliography[parent::article or parent::book or parent::part][1]              |following::glossary[parent::article or parent::book or parent::part][1]              |following::index[$generate.index != 0]                                [parent::article or parent::book or parent::part][1]              |following::article[1]              |following::setindex[$generate.index != 0][1]              |descendant::book[1]              |descendant::preface[1]              |descendant::chapter[1]              |descendant::appendix[1]              |descendant::article[1]              |descendant::bibliography[parent::article or parent::book or parent::part]!
 [1]              |descendant::glossary[parent::article or parent::book or parent::part][1]              |descendant::index[$generate.index != 0]                                [parent::article or parent::book or parent::part][1]              |descendant::colophon[1]              |descendant::setindex[$generate.index != 0][1]              |descendant::part[1]              |descendant::reference[1]              |descendant::refentry[1]              |$next-v1              |$next-v2)[1]"/>
+
+  <xsl:call-template name="process-chunk">
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template name="chunk-all-sections">
+  <xsl:param name="content">
+    <xsl:apply-imports/>
+  </xsl:param>
+
+  <xsl:variable name="prev-v1" select="(preceding::sect1[$chunk.section.depth &gt; 0][1]              |preceding::sect2[$chunk.section.depth &gt; 1][1]              |preceding::sect3[$chunk.section.depth &gt; 2][1]              |preceding::sect4[$chunk.section.depth &gt; 3][1]              |preceding::sect5[$chunk.section.depth &gt; 4][1]              |preceding::section[$chunk.section.depth &gt; count(ancestor::section)][1])[last()]"/>
+
+  <xsl:variable name="prev-v2" select="(ancestor::sect1[$chunk.section.depth &gt; 0][1]              |ancestor::sect2[$chunk.section.depth &gt; 1][1]              |ancestor::sect3[$chunk.section.depth &gt; 2][1]              |ancestor::sect4[$chunk.section.depth &gt; 3][1]              |ancestor::sect5[$chunk.section.depth &gt; 4][1]              |ancestor::section[$chunk.section.depth &gt; count(ancestor::section)][1])[last()]"/>
+
+  <xsl:variable name="prev" select="(preceding::book[1]              |preceding::preface[1]              |preceding::chapter[1]              |preceding::appendix[1]              |preceding::part[1]              |preceding::reference[1]              |preceding::refentry[1]              |preceding::colophon[1]              |preceding::article[1]              |preceding::bibliography[parent::article or parent::book or parent::part][1]              |preceding::glossary[parent::article or parent::book or parent::part][1]              |preceding::index[$generate.index != 0]                                [parent::article or parent::book or parent::part][1]              |preceding::setindex[$generate.index != 0][1]              |ancestor::set              |ancestor::book[1]              |ancestor::preface[1]              |ancestor::chapter[1]              |ancestor::appendix[1]              |ancestor::part[1]              |ancestor::reference[1]              |ancestor::article[1] !
              |$prev-v1              |$prev-v2)[last()]"/>
+
+  <xsl:variable name="next-v1" select="(following::sect1[$chunk.section.depth &gt; 0][1]              |following::sect2[$chunk.section.depth &gt; 1][1]              |following::sect3[$chunk.section.depth &gt; 2][1]              |following::sect4[$chunk.section.depth &gt; 3][1]              |following::sect5[$chunk.section.depth &gt; 4][1]              |following::section[$chunk.section.depth &gt; count(ancestor::section)][1])[1]"/>
+
+  <xsl:variable name="next-v2" select="(descendant::sect1[$chunk.section.depth &gt; 0][1]              |descendant::sect2[$chunk.section.depth &gt; 1][1]              |descendant::sect3[$chunk.section.depth &gt; 2][1]              |descendant::sect4[$chunk.section.depth &gt; 3][1]              |descendant::sect5[$chunk.section.depth &gt; 4][1]              |descendant::section[$chunk.section.depth                                    &gt; count(ancestor::section)][1])[1]"/>
+
+  <xsl:variable name="next" select="(following::book[1]              |following::preface[1]              |following::chapter[1]              |following::appendix[1]              |following::part[1]              |following::reference[1]              |following::refentry[1]              |following::colophon[1]              |following::bibliography[parent::article or parent::book or parent::part][1]              |following::glossary[parent::article or parent::book or parent::part][1]              |following::index[$generate.index != 0]                                [parent::article or parent::book][1]              |following::article[1]              |following::setindex[$generate.index != 0][1]              |descendant::book[1]              |descendant::preface[1]              |descendant::chapter[1]              |descendant::appendix[1]              |descendant::article[1]              |descendant::bibliography[parent::article or parent::book][1]              |descendant::gl!
 ossary[parent::article or parent::book or parent::part][1]              |descendant::index[$generate.index != 0]                                [parent::article or parent::book][1]              |descendant::colophon[1]              |descendant::setindex[$generate.index != 0][1]              |descendant::part[1]              |descendant::reference[1]              |descendant::refentry[1]              |$next-v1              |$next-v2)[1]"/>
+
+  <xsl:call-template name="process-chunk">
+    <xsl:with-param name="prev" select="$prev"/>
+    <xsl:with-param name="next" select="$next"/>
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xslo:include xmlns:xslo="http://www.w3.org/1999/XSL/Transform" href="../profiling/profile-mode.xsl"/><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-content"><xslo:choose><xslo:when test="*/self::ng:* or */self::db:*"><xslo:message>Stripping NS from DocBook 5/NG document.</xslo:message><xslo:variable name="stripped-content"><xslo:apply-templates select="/" mode="stripNS"/></xslo:variable><xslo:message>Processing stripped document.</xslo:message><xslo:apply-templates select="exslt:node-set($stripped-content)" mode="profile"/></xslo:when><xslo:otherwise><xslo:apply-templates select="/" mode="profile"/></xslo:otherwise></xslo:choose></xslo:variable><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-nodes" select="exslt:node-set($profiled-content)"/><xsl:template match="/">
+  <xsl:choose>
+    <!-- include extra test for Xalan quirk -->
+    <xsl:when test="false()"/>
+    <!-- Can't process unless namespace removed -->
+    <xsl:when test="false()"/>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$rootid != ''">
+          <xsl:choose>
+            <xsl:when test="count($profiled-nodes//*[@id=$rootid]) = 0">
+              <xsl:message terminate="yes">
+                <xsl:text>ID '</xsl:text>
+                <xsl:value-of select="$rootid"/>
+                <xsl:text>' not found in document.</xsl:text>
+              </xsl:message>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:if test="$collect.xref.targets = 'yes' or                             $collect.xref.targets = 'only'">
+                <xsl:apply-templates select="key('id', $rootid)" mode="collect.targets"/>
+              </xsl:if>
+              <xsl:if test="$collect.xref.targets != 'only'">
+                <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="process.root"/>
+                <xsl:if test="$tex.math.in.alt != ''">
+                  <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="collect.tex.math"/>
+                </xsl:if>
+                <xsl:if test="$generate.manifest != 0">
+                  <xsl:call-template name="generate.manifest">
+                    <xsl:with-param name="node" select="key('id',$rootid)"/>
+                  </xsl:call-template>
+                </xsl:if>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$collect.xref.targets = 'yes' or                         $collect.xref.targets = 'only'">
+            <xsl:apply-templates select="$profiled-nodes" mode="collect.targets"/>
+          </xsl:if>
+          <xsl:if test="$collect.xref.targets != 'only'">
+            <xsl:apply-templates select="$profiled-nodes" mode="process.root"/>
+            <xsl:if test="$tex.math.in.alt != ''">
+              <xsl:apply-templates select="$profiled-nodes" mode="collect.tex.math"/>
+            </xsl:if>
+            <xsl:if test="$generate.manifest != 0">
+              <xsl:call-template name="generate.manifest">
+                <xsl:with-param name="node" select="$profiled-nodes"/>
+              </xsl:call-template>
+            </xsl:if>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="process.root">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="set|book|part|preface|chapter|appendix                      |article                      |reference|refentry                      |book/glossary|article/glossary|part/glossary                      |book/bibliography|article/bibliography|part/bibliography                      |colophon">
+  <xsl:choose>
+    <xsl:when test="$onechunk != 0 and parent::*">
+      <xsl:apply-imports/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="process-chunk-element"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="sect1|sect2|sect3|sect4|sect5|section">
+  <xsl:variable name="ischunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="not(parent::*)">
+      <xsl:call-template name="process-chunk-element"/>
+    </xsl:when>
+    <xsl:when test="$ischunk = 0">
+      <xsl:apply-imports/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="process-chunk-element"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="setindex                      |book/index                      |article/index                      |part/index">
+  <!-- some implementations use completely empty index tags to indicate -->
+  <!-- where an automatically generated index should be inserted. so -->
+  <!-- if the index is completely empty, skip it. -->
+  <xsl:if test="count(*)&gt;0 or $generate.index != '0'">
+    <xsl:call-template name="process-chunk-element"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="make.lots">
+  <xsl:param name="toc.params" select="''"/>
+  <xsl:param name="toc"/>
+
+  <xsl:variable name="lots">
+    <xsl:if test="contains($toc.params, 'toc')">
+      <xsl:copy-of select="$toc"/>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'figure')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'figure'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'figure'"/>
+                <xsl:with-param name="nodes" select=".//figure"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'figure'"/>
+            <xsl:with-param name="nodes" select=".//figure"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'table')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'table'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'table'"/>
+                <xsl:with-param name="nodes" select=".//table"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'table'"/>
+            <xsl:with-param name="nodes" select=".//table"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'example')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'example'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'example'"/>
+                <xsl:with-param name="nodes" select=".//example"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'example'"/>
+            <xsl:with-param name="nodes" select=".//example"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'equation')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'equation'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'equation'"/>
+                <xsl:with-param name="nodes" select=".//equation"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'equation'"/>
+            <xsl:with-param name="nodes" select=".//equation"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+
+    <xsl:if test="contains($toc.params, 'procedure')">
+      <xsl:choose>
+        <xsl:when test="$chunk.separate.lots != '0'">
+          <xsl:call-template name="make.lot.chunk">
+            <xsl:with-param name="type" select="'procedure'"/>
+            <xsl:with-param name="lot">
+              <xsl:call-template name="list.of.titles">
+                <xsl:with-param name="titles" select="'procedure'"/>
+                <xsl:with-param name="nodes" select=".//procedure[title]"/>
+              </xsl:call-template>
+            </xsl:with-param>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="list.of.titles">
+            <xsl:with-param name="titles" select="'procedure'"/>
+            <xsl:with-param name="nodes" select=".//procedure[title]"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:if test="string($lots) != ''">
+    <xsl:choose>
+      <xsl:when test="$chunk.tocs.and.lots != 0 and not(parent::*)">
+        <xsl:call-template name="write.chunk">
+          <xsl:with-param name="filename">
+            <xsl:call-template name="make-relative-filename">
+              <xsl:with-param name="base.dir" select="$base.dir"/>
+              <xsl:with-param name="base.name">
+                <xsl:call-template name="dbhtml-dir"/>
+                <xsl:apply-templates select="." mode="recursive-chunk-filename">
+                  <xsl:with-param name="recursive" select="true()"/>
+                </xsl:apply-templates>
+                <xsl:text>-toc</xsl:text>
+                <xsl:value-of select="$html.ext"/>
+              </xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="content">
+            <xsl:call-template name="chunk-element-content">
+              <xsl:with-param name="prev" select="/foo"/>
+              <xsl:with-param name="next" select="/foo"/>
+              <xsl:with-param name="nav.context" select="'toc'"/>
+              <xsl:with-param name="content">
+                <xsl:if test="$chunk.tocs.and.lots.has.title != 0">
+                  <h1>
+                    <xsl:apply-templates select="." mode="object.title.markup"/>
+                  </h1>
+                </xsl:if>
+                <xsl:copy-of select="$lots"/>
+              </xsl:with-param>
+            </xsl:call-template>
+          </xsl:with-param>
+          <xsl:with-param name="quiet" select="$chunk.quietly"/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$lots"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="make.lot.chunk">
+  <xsl:param name="type" select="''"/>
+  <xsl:param name="lot"/>
+
+  <xsl:if test="string($lot) != ''">
+    <xsl:variable name="filename">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.dir" select="$base.dir"/>
+        <xsl:with-param name="base.name">
+          <xsl:call-template name="dbhtml-dir"/>
+          <xsl:value-of select="$type"/>
+          <xsl:text>-toc</xsl:text>
+          <xsl:value-of select="$html.ext"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="href">
+      <xsl:call-template name="make-relative-filename">
+        <xsl:with-param name="base.name">
+          <xsl:call-template name="dbhtml-dir"/>
+          <xsl:value-of select="$type"/>
+          <xsl:text>-toc</xsl:text>
+          <xsl:value-of select="$html.ext"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:call-template name="write.chunk">
+      <xsl:with-param name="filename" select="$filename"/>
+      <xsl:with-param name="content">
+        <xsl:call-template name="chunk-element-content">
+          <xsl:with-param name="prev" select="/foo"/>
+          <xsl:with-param name="next" select="/foo"/>
+          <xsl:with-param name="nav.context" select="'toc'"/>
+          <xsl:with-param name="content">
+            <xsl:copy-of select="$lot"/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:with-param>
+      <xsl:with-param name="quiet" select="$chunk.quietly"/>
+    </xsl:call-template>
+    <!-- And output a link to this file -->
+    <div>
+      <xsl:attribute name="class">
+        <xsl:text>ListofTitles</xsl:text>
+      </xsl:attribute>
+      <a href="{$href}">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key">
+            <xsl:choose>
+              <xsl:when test="$type='table'">ListofTables</xsl:when>
+              <xsl:when test="$type='figure'">ListofFigures</xsl:when>
+              <xsl:when test="$type='equation'">ListofEquations</xsl:when>
+              <xsl:when test="$type='example'">ListofExamples</xsl:when>
+              <xsl:when test="$type='procedure'">ListofProcedures</xsl:when>
+              <xsl:otherwise>ListofUnknown</xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:call-template>
+      </a>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="in.other.chunk">
+  <xsl:param name="chunk" select="."/>
+  <xsl:param name="node" select="."/>
+
+  <xsl:variable name="is.chunk">
+    <xsl:call-template name="chunk">
+      <xsl:with-param name="node" select="$node"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+<!--
+  <xsl:message>
+    <xsl:text>in.other.chunk: </xsl:text>
+    <xsl:value-of select="name($chunk)"/>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="name($node)"/>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="$chunk = $node"/>
+    <xsl:text> </xsl:text>
+    <xsl:value-of select="$is.chunk"/>
+  </xsl:message>
+-->
+
+  <xsl:choose>
+    <xsl:when test="$chunk = $node">0</xsl:when>
+    <xsl:when test="$is.chunk = 1">1</xsl:when>
+    <xsl:when test="count($node) = 0">0</xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="in.other.chunk">
+        <xsl:with-param name="chunk" select="$chunk"/>
+        <xsl:with-param name="node" select="$node/parent::*"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="count.footnotes.in.this.chunk">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="footnotes" select="$node//footnote"/>
+  <xsl:param name="count" select="0"/>
+
+<!--
+  <xsl:message>
+    <xsl:text>count.footnotes.in.this.chunk: </xsl:text>
+    <xsl:value-of select="name($node)"/>
+  </xsl:message>
+-->
+
+  <xsl:variable name="in.other.chunk">
+    <xsl:call-template name="in.other.chunk">
+      <xsl:with-param name="chunk" select="$node"/>
+      <xsl:with-param name="node" select="$footnotes[1]"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="count($footnotes) = 0">
+      <xsl:value-of select="$count"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$in.other.chunk != 0">
+          <xsl:call-template name="count.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="$count"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$footnotes[1]/ancestor::table                         |$footnotes[1]/ancestor::informaltable">
+          <xsl:call-template name="count.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="$count"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="count.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+            <xsl:with-param name="count" select="$count + 1"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process.footnotes.in.this.chunk">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="footnotes" select="$node//footnote"/>
+
+<!--
+  <xsl:message>process.footnotes.in.this.chunk</xsl:message>
+-->
+
+  <xsl:variable name="in.other.chunk">
+    <xsl:call-template name="in.other.chunk">
+      <xsl:with-param name="chunk" select="$node"/>
+      <xsl:with-param name="node" select="$footnotes[1]"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="count($footnotes) = 0">
+      <!-- nop -->
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$in.other.chunk != 0">
+          <xsl:call-template name="process.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:when test="$footnotes[1]/ancestor::table                         |$footnotes[1]/ancestor::informaltable">
+          <xsl:call-template name="process.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="$footnotes[1]" mode="process.footnote.mode"/>
+          <xsl:call-template name="process.footnotes.in.this.chunk">
+            <xsl:with-param name="node" select="$node"/>
+            <xsl:with-param name="footnotes" select="$footnotes[position() &gt; 1]"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="process.footnotes">
+  <xsl:variable name="footnotes" select=".//footnote"/>
+  <xsl:variable name="fcount">
+    <xsl:call-template name="count.footnotes.in.this.chunk">
+      <xsl:with-param name="node" select="."/>
+      <xsl:with-param name="footnotes" select="$footnotes"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+<!--
+  <xsl:message>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text> fcount: </xsl:text>
+    <xsl:value-of select="$fcount"/>
+  </xsl:message>
+-->
+
+  <!-- Only bother to do this if there's at least one non-table footnote -->
+  <xsl:if test="$fcount &gt; 0">
+    <div class="footnotes">
+      <br/>
+      <hr width="100" align="left"/>
+      <xsl:call-template name="process.footnotes.in.this.chunk">
+        <xsl:with-param name="node" select="."/>
+        <xsl:with-param name="footnotes" select="$footnotes"/>
+      </xsl:call-template>
+    </div>
+  </xsl:if>
+
+  <!-- FIXME: When chunking, only the annotations actually used
+              in this chunk should be referenced. I don't think it
+              does any harm to reference them all, but it adds
+              unnecessary bloat to each chunk. -->
+  <xsl:if test="$annotation.support != 0 and //annotation">
+    <div class="annotation-list">
+      <div class="annotation-nocss">
+        <p>The following annotations are from this essay. You are seeing
+        them here because your browser doesn&#8217;t support the user-interface
+        techniques used to make them appear as &#8216;popups&#8217; on modern browsers.</p>
+      </div>
+
+      <xsl:apply-templates select="//annotation" mode="annotation-popup"/>
+    </div>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template name="process.chunk.footnotes">
+  <xsl:variable name="is.chunk">
+    <xsl:call-template name="chunk"/>
+  </xsl:variable>
+  <xsl:if test="$is.chunk = 1">
+    <xsl:call-template name="process.footnotes"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<!-- Resolve xml:base attributes -->
+<xsl:template match="@fileref">
+  <!-- need a check for absolute urls -->
+  <xsl:choose>
+    <xsl:when test="contains(., ':')">
+      <!-- it has a uri scheme so it is an absolute uri -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:when test="$keep.relative.image.uris != 0">
+      <!-- leave it alone -->
+      <xsl:value-of select="."/>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- its a relative uri -->
+      <xsl:call-template name="relative-uri">
+        <xsl:with-param name="destdir">
+          <xsl:call-template name="dbhtml-dir">
+            <xsl:with-param name="context" select=".."/>
+          </xsl:call-template>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/profile-chunk.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/profile-chunk.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/profile-chunk.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="exsl">
+
+<!-- ********************************************************************
+     $Id: profile-chunk.xsl 3202 2003-11-30 19:42:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="docbook.xsl"/>
+<xsl:import href="chunk-common.xsl"/>
+<xsl:include href="manifest.xsl"/>
+
+<!-- Why is chunk-code now xsl:included?
+
+Suppose you want to customize *both* the chunking algorithm used *and* the
+presentation of some elements that may be chunks. In order to do that, you
+must get the order of imports "just right". The answer is to make your own
+copy of this file, where you replace the initial import of "docbook.xsl"
+with an import of your own base.xsl (that does its own import of docbook.xsl).
+
+Put the templates for changing the presentation of elements in your base.xsl.
+
+Put the templates that control chunking after the include of chunk-code.xsl.
+
+Voila! (Man I hope we can do this better in XSLT 2.0)
+
+-->
+
+<xsl:include href="profile-chunk-code.xsl"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/profile-docbook.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/profile-docbook.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/profile-docbook.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,397 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<!--This file was created automatically by xsl2profile--><!--from the DocBook XSL stylesheets. Do not edit this file.--><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns:exslt="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exslt:dummy="dummy" ng:dummy="dummy" db:dummy="dummy" extension-element-prefixes="exslt" exclude-result-prefixes="db ng exsl exslt" version="1.0">
+
+<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
+
+<!-- ********************************************************************
+     $Id: docbook.xsl 6536 2007-01-21 08:37:12Z xmldoc $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:include href="../VERSION"/>
+<xsl:include href="param.xsl"/>
+<xsl:include href="../lib/lib.xsl"/>
+<xsl:include href="../common/l10n.xsl"/>
+<xsl:include href="../common/common.xsl"/>
+<xsl:include href="../common/labels.xsl"/>
+<xsl:include href="../common/titles.xsl"/>
+<xsl:include href="../common/subtitles.xsl"/>
+<xsl:include href="../common/gentext.xsl"/>
+<xsl:include href="../common/targets.xsl"/>
+<xsl:include href="../common/olink.xsl"/>
+<xsl:include href="../common/pi.xsl"/>
+<xsl:include href="autotoc.xsl"/>
+<xsl:include href="autoidx.xsl"/>
+<xsl:include href="lists.xsl"/>
+<xsl:include href="callout.xsl"/>
+<xsl:include href="verbatim.xsl"/>
+<xsl:include href="graphics.xsl"/>
+<xsl:include href="xref.xsl"/>
+<xsl:include href="formal.xsl"/>
+<xsl:include href="table.xsl"/>
+<xsl:include href="htmltbl.xsl"/>
+<xsl:include href="sections.xsl"/>
+<xsl:include href="inline.xsl"/>
+<xsl:include href="footnote.xsl"/>
+<xsl:include href="html.xsl"/>
+<xsl:include href="info.xsl"/>
+<xsl:include href="keywords.xsl"/>
+<xsl:include href="division.xsl"/>
+<xsl:include href="toc.xsl"/>
+<xsl:include href="index.xsl"/>
+<xsl:include href="refentry.xsl"/>
+<xsl:include href="math.xsl"/>
+<xsl:include href="admon.xsl"/>
+<xsl:include href="component.xsl"/>
+<xsl:include href="biblio.xsl"/>
+<xsl:include href="glossary.xsl"/>
+<xsl:include href="block.xsl"/>
+<xsl:include href="task.xsl"/>
+<xsl:include href="qandaset.xsl"/>
+<xsl:include href="synop.xsl"/>
+<xsl:include href="titlepage.xsl"/>
+<xsl:include href="titlepage.templates.xsl"/>
+<xsl:include href="pi.xsl"/>
+<xsl:include href="ebnf.xsl"/>
+<xsl:include href="chunker.xsl"/>
+<xsl:include href="html-rtf.xsl"/>
+<xsl:include href="annotations.xsl"/>
+<xsl:include href="../common/stripns.xsl"/>
+
+<xsl:param name="stylesheet.result.type" select="'xhtml'"/>
+<xsl:param name="htmlhelp.output" select="0"/>
+
+<!-- ==================================================================== -->
+
+<xsl:key name="id" match="*" use="@id|@xml:id"/>
+<xsl:key name="gid" match="*" use="generate-id()"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*">
+  <xsl:message>
+    <xsl:text>Element </xsl:text>
+    <xsl:value-of select="local-name(.)"/>
+    <xsl:text> in namespace '</xsl:text>
+    <xsl:value-of select="namespace-uri(.)"/>
+    <xsl:text>' encountered</xsl:text>
+    <xsl:if test="parent::*">
+      <xsl:text> in </xsl:text>
+      <xsl:value-of select="name(parent::*)"/>
+    </xsl:if>
+    <xsl:text>, but no template matches.</xsl:text>
+  </xsl:message>
+
+  <span class="ERROR">
+    <xsl:text>&lt;</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text>&gt;</xsl:text>
+    <xsl:apply-templates/>
+    <xsl:text>&lt;/</xsl:text>
+    <xsl:value-of select="name(.)"/>
+    <xsl:text>&gt;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="text()">
+  <xsl:value-of select="."/>
+</xsl:template>
+
+<xsl:template name="body.attributes">
+<!-- no apply-templates; make it empty -->
+</xsl:template>
+
+<xsl:template name="head.content">
+  <xsl:param name="node" select="."/>
+  <xsl:param name="title">
+    <xsl:apply-templates select="$node" mode="object.title.markup.textonly"/>
+  </xsl:param>
+
+  <title>
+    <xsl:copy-of select="$title"/>
+  </title>
+
+  <xsl:if test="$html.stylesheet != ''">
+    <xsl:call-template name="output.html.stylesheets">
+      <xsl:with-param name="stylesheets" select="normalize-space($html.stylesheet)"/>
+    </xsl:call-template>
+  </xsl:if>
+
+  <xsl:if test="$link.mailto.url != ''">
+    <link rev="made" href="{$link.mailto.url}"/>
+  </xsl:if>
+
+  <xsl:if test="$html.base != ''">
+    <base href="{$html.base}"/>
+  </xsl:if>
+
+  <meta name="generator" content="DocBook {$DistroTitle} V{$VERSION}"/>
+
+  <xsl:if test="$generate.meta.abstract != 0">
+    <xsl:variable name="info" select="(articleinfo                                       |bookinfo                                       |prefaceinfo                                       |chapterinfo                                       |appendixinfo                                       |sectioninfo                                       |sect1info                                       |sect2info                                       |sect3info                                       |sect4info                                       |sect5info                                       |referenceinfo                                       |refentryinfo                                       |partinfo                                       |info                                       |docinfo)[1]"/>
+    <xsl:if test="$info and $info/abstract">
+      <meta name="description">
+        <xsl:attribute name="content">
+          <xsl:for-each select="$info/abstract[1]/*">
+            <xsl:value-of select="normalize-space(.)"/>
+            <xsl:if test="position() &lt; last()">
+              <xsl:text> </xsl:text>
+            </xsl:if>
+          </xsl:for-each>
+        </xsl:attribute>
+      </meta>
+    </xsl:if>
+  </xsl:if>
+
+  <xsl:if test="($draft.mode = 'yes' or                 ($draft.mode = 'maybe' and                 ancestor-or-self::*[@status][1]/@status = 'draft'))                 and $draft.watermark.image != ''">
+    <style type="text/css"><xsl:text>
+body { background-image: url('</xsl:text>
+<xsl:value-of select="$draft.watermark.image"/><xsl:text>');
+       background-repeat: no-repeat;
+       background-position: top left;
+       /* The following properties make the watermark "fixed" on the page. */
+       /* I think that's just a bit too distracting for the reader... */
+       /* background-attachment: fixed; */
+       /* background-position: center center; */
+     }</xsl:text>
+    </style>
+  </xsl:if>
+  <xsl:apply-templates select="." mode="head.keywords.content"/>
+</xsl:template>
+
+<xsl:template name="output.html.stylesheets">
+  <xsl:param name="stylesheets" select="''"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($stylesheets, ' ')">
+      <link rel="stylesheet" href="{substring-before($stylesheets, ' ')}">
+        <xsl:if test="$html.stylesheet.type != ''">
+          <xsl:attribute name="type">
+            <xsl:value-of select="$html.stylesheet.type"/>
+          </xsl:attribute>
+        </xsl:if>
+      </link>
+      <xsl:call-template name="output.html.stylesheets">
+        <xsl:with-param name="stylesheets" select="substring-after($stylesheets, ' ')"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:when test="$stylesheets != ''">
+      <link rel="stylesheet" href="{$stylesheets}">
+        <xsl:if test="$html.stylesheet.type != ''">
+          <xsl:attribute name="type">
+            <xsl:value-of select="$html.stylesheet.type"/>
+          </xsl:attribute>
+        </xsl:if>
+      </link>
+    </xsl:when>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template match="*" mode="head.keywords.content">
+  <xsl:apply-templates select="chapterinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="appendixinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="prefaceinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="bookinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="setinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="articleinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="artheader/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect1info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect2info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect3info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect4info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sect5info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="sectioninfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refsect1info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refsect2info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refsect3info/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="bibliographyinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="glossaryinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="indexinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="refentryinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="partinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="referenceinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="docinfo/keywordset" mode="html.header"/>
+  <xsl:apply-templates select="info/keywordset" mode="html.header"/>
+
+  <xsl:if test="$inherit.keywords != 0                 and parent::*">
+    <xsl:apply-templates select="parent::*" mode="head.keywords.content"/>
+  </xsl:if>
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="system.head.content">
+  <xsl:param name="node" select="."/>
+
+  <!-- FIXME: When chunking, only the annotations actually used
+              in this chunk should be referenced. I don't think it
+              does any harm to reference them all, but it adds
+              unnecessary bloat to each chunk. -->
+  <xsl:if test="$annotation.support != 0 and //annotation">
+    <xsl:call-template name="add.annotation.links"/>
+    <script type="text/javascript">
+      <xsl:text>
+// Create PopupWindow objects</xsl:text>
+      <xsl:for-each select="//annotation">
+        <xsl:text>
+var popup_</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text> = new PopupWindow("popup-</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text>");
+</xsl:text>
+        <xsl:text>popup_</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text>.offsetY = 15;
+</xsl:text>
+        <xsl:text>popup_</xsl:text>
+        <xsl:value-of select="generate-id(.)"/>
+        <xsl:text>.autoHide();
+</xsl:text>
+      </xsl:for-each>
+    </script>
+
+    <style type="text/css">
+      <xsl:value-of select="$annotation.css"/>
+    </style>
+  </xsl:if>
+
+  <!-- system.head.content is like user.head.content, except that
+       it is called before head.content. This is important because it
+       means, for example, that <style> elements output by system.head.content
+       have a lower CSS precedence than the users stylesheet. -->
+</xsl:template>
+
+<!-- ============================================================ -->
+
+<xsl:template name="user.preroot">
+  <!-- Pre-root output, can be used to output comments and PIs. -->
+  <!-- This must not output any element content! -->
+</xsl:template>
+
+<xsl:template name="user.head.content">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.header.navigation">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.header.content">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.footer.content">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xsl:template name="user.footer.navigation">
+  <xsl:param name="node" select="."/>
+</xsl:template>
+
+<xslo:include xmlns:xslo="http://www.w3.org/1999/XSL/Transform" href="../profiling/profile-mode.xsl"/><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-content"><xslo:choose><xslo:when test="*/self::ng:* or */self::db:*"><xslo:message>Stripping NS from DocBook 5/NG document.</xslo:message><xslo:variable name="stripped-content"><xslo:apply-templates select="/" mode="stripNS"/></xslo:variable><xslo:message>Processing stripped document.</xslo:message><xslo:apply-templates select="exslt:node-set($stripped-content)" mode="profile"/></xslo:when><xslo:otherwise><xslo:apply-templates select="/" mode="profile"/></xslo:otherwise></xslo:choose></xslo:variable><xslo:variable xmlns:xslo="http://www.w3.org/1999/XSL/Transform" name="profiled-nodes" select="exslt:node-set($profiled-content)"/><xsl:template match="/">
+  <xsl:choose>
+    <!-- include extra test for Xalan quirk -->
+    <xsl:when test="false()"/>
+    <!-- Can't process unless namespace removed -->
+    <xsl:when test="false()"/>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$rootid != ''">
+          <xsl:choose>
+            <xsl:when test="count($profiled-nodes//*[@id=$rootid]) = 0">
+              <xsl:message terminate="yes">
+                <xsl:text>ID '</xsl:text>
+                <xsl:value-of select="$rootid"/>
+                <xsl:text>' not found in document.</xsl:text>
+              </xsl:message>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:if test="$collect.xref.targets = 'yes' or                             $collect.xref.targets = 'only'">
+                <xsl:apply-templates select="key('id', $rootid)" mode="collect.targets"/>
+              </xsl:if>
+              <xsl:if test="$collect.xref.targets != 'only'">
+                <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="process.root"/>
+                <xsl:if test="$tex.math.in.alt != ''">
+                  <xsl:apply-templates select="$profiled-nodes//*[@id=$rootid]" mode="collect.tex.math"/>
+                </xsl:if>
+              </xsl:if>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:if test="$collect.xref.targets = 'yes' or                         $collect.xref.targets = 'only'">
+            <xsl:apply-templates select="$profiled-nodes" mode="collect.targets"/>
+          </xsl:if>
+          <xsl:if test="$collect.xref.targets != 'only'">
+            <xsl:apply-templates select="$profiled-nodes" mode="process.root"/>
+            <xsl:if test="$tex.math.in.alt != ''">
+              <xsl:apply-templates select="$profiled-nodes" mode="collect.tex.math"/>
+            </xsl:if>
+          </xsl:if>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="process.root">
+  <xsl:variable name="doc" select="self::*"/>
+
+  <xsl:call-template name="user.preroot"/>
+  <xsl:call-template name="root.messages"/>
+
+  <html>
+    <head>
+      <xsl:call-template name="system.head.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+      <xsl:call-template name="head.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+      <xsl:call-template name="user.head.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+    </head>
+    <body>
+      <xsl:call-template name="body.attributes"/>
+      <xsl:call-template name="user.header.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+      <xsl:apply-templates select="."/>
+      <xsl:call-template name="user.footer.content">
+        <xsl:with-param name="node" select="$doc"/>
+      </xsl:call-template>
+    </body>
+  </html>
+  <xsl:value-of select="$html.append"/>
+</xsl:template>
+
+<xsl:template name="root.messages">
+  <!-- redefine this any way you'd like to output messages -->
+  <!-- DO NOT OUTPUT ANYTHING FROM THIS TEMPLATE -->
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="chunk">
+  <xsl:param name="node" select="."/>
+
+  <!-- The default is that we are not chunking... -->
+  <xsl:text>0</xsl:text>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/profile-onechunk.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/profile-onechunk.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/profile-onechunk.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="doc">
+
+<!-- ********************************************************************
+     $Id: profile-onechunk.xsl 3202 2003-11-30 19:42:23Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:import href="profile-chunk.xsl"/>
+
+<!-- Ok, using the onechunk parameter makes this all work again. -->
+<!-- It does have the disadvantage that it only works for documents that have -->
+<!-- a root element that is considered a chunk by the chunk.xsl stylesheet. -->
+<!-- Ideally, onechunk would let anything be a chunk. But not today. -->
+
+<xsl:param name="onechunk" select="1"/>
+<xsl:param name="suppress.navigation">1</xsl:param>
+
+<xsl:template name="href.target.uri">
+  <xsl:param name="object" select="."/>
+  <xsl:text>#</xsl:text>
+  <xsl:call-template name="object.id">
+    <xsl:with-param name="object" select="$object"/>
+  </xsl:call-template>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/qandaset.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/qandaset.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/qandaset.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,389 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="doc" version="1.0">
+
+<!-- ********************************************************************
+     $Id: qandaset.xsl 6480 2007-01-07 23:35:19Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="qandaset">
+  <xsl:variable name="title" select="(blockinfo/title|info/title|title)[1]"/>
+  <xsl:variable name="preamble" select="*[local-name(.) != 'title'                                           and local-name(.) != 'titleabbrev'                                           and local-name(.) != 'qandadiv'                                           and local-name(.) != 'qandaentry']"/>
+  <xsl:variable name="toc">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'toc'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="toc.params">
+    <xsl:call-template name="find.path.params">
+      <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates select="$title"/>
+    <xsl:if test="((contains($toc.params, 'toc') and $toc != '0') or $toc = '1')                   and not(ancestor::answer and not($qanda.nested.in.toc=0))">
+      <xsl:call-template name="process.qanda.toc"/>
+    </xsl:if>
+    <xsl:apply-templates select="$preamble"/>
+    <xsl:call-template name="process.qandaset"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="qandaset/blockinfo/title|                      qandaset/info/title|                      qandaset/title">
+  <xsl:variable name="qalevel">
+    <xsl:call-template name="qanda.section.level"/>
+  </xsl:variable>
+  <xsl:element name="h{string(number($qalevel)+1)}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:attribute name="class">
+      <xsl:value-of select="local-name(.)"/>
+    </xsl:attribute>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select=".."/>
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="qandaset/blockinfo|qandaset/info">
+  <!-- what should this template really do? -->
+  <xsl:apply-templates select="legalnotice" mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="qandadiv">
+  <xsl:variable name="preamble" select="*[local-name(.) != 'title'                                           and local-name(.) != 'titleabbrev'                                           and local-name(.) != 'qandadiv'                                           and local-name(.) != 'qandaentry']"/>
+
+  <xsl:if test="blockinfo/title|info/title|title">
+    <tr class="qandadiv">
+      <td align="left" valign="top" colspan="2">
+        <xsl:apply-templates select="(blockinfo/title|info/title|title)[1]"/>
+      </td>
+    </tr>
+  </xsl:if>
+
+  <xsl:variable name="toc">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'toc'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="toc.params">
+    <xsl:call-template name="find.path.params">
+      <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:if test="(contains($toc.params, 'toc') and $toc != '0') or $toc = '1'">
+    <tr class="toc">
+      <td align="left" valign="top" colspan="2">
+        <xsl:call-template name="process.qanda.toc"/>
+      </td>
+    </tr>
+  </xsl:if>
+  <xsl:if test="$preamble">
+    <tr class="toc">
+      <td align="left" valign="top" colspan="2">
+        <xsl:apply-templates select="$preamble"/>
+      </td>
+    </tr>
+  </xsl:if>
+  <xsl:apply-templates select="qandadiv|qandaentry"/>
+</xsl:template>
+
+<xsl:template match="qandadiv/blockinfo/title|                      qandadiv/info/title|                      qandadiv/title">
+  <xsl:variable name="qalevel">
+    <xsl:call-template name="qandadiv.section.level"/>
+  </xsl:variable>
+
+  <xsl:element name="h{string(number($qalevel)+1)}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:attribute name="class">
+      <xsl:value-of select="local-name(.)"/>
+    </xsl:attribute>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="node" select=".."/>
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates select="parent::qandadiv" mode="label.markup"/>
+    <xsl:if test="$qandadiv.autolabel != 0">
+      <xsl:apply-templates select="." mode="intralabel.punctuation"/>
+      <xsl:text> </xsl:text>
+    </xsl:if>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="qandaentry">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="question">
+  <xsl:variable name="deflabel">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+        <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]                               /@defaultlabel"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$qanda.defaultlabel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <tr>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <td align="left" valign="top">
+      <xsl:call-template name="anchor">
+        <xsl:with-param name="node" select=".."/>
+        <xsl:with-param name="conditional" select="0"/>
+      </xsl:call-template>
+      <xsl:call-template name="anchor">
+        <xsl:with-param name="conditional" select="0"/>
+      </xsl:call-template>
+
+      <xsl:variable name="label.content">
+        <xsl:apply-templates select="." mode="label.markup"/>
+        <xsl:if test="$deflabel = 'number' and not(label)">
+          <xsl:apply-templates select="." mode="intralabel.punctuation"/>
+        </xsl:if>
+      </xsl:variable>
+
+      <xsl:if test="string-length($label.content) &gt; 0">
+        <b>
+          <xsl:copy-of select="$label.content"/>
+        </b>
+      </xsl:if>
+    </td>
+    <td align="left" valign="top">
+      <xsl:choose>
+        <xsl:when test="$deflabel = 'none' and not(label)">
+          <b><xsl:apply-templates select="*[local-name(.) != 'label']"/></b>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="*[local-name(.) != 'label']"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </td>
+  </tr>
+</xsl:template>
+
+<xsl:template match="answer">
+  <xsl:variable name="deflabel">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+        <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]                               /@defaultlabel"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$qanda.defaultlabel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <tr class="{local-name(.)}">
+    <td align="left" valign="top">
+      <xsl:call-template name="anchor"/>
+      <xsl:variable name="answer.label">
+        <xsl:apply-templates select="." mode="label.markup"/>
+      </xsl:variable>
+      <xsl:if test="string-length($answer.label) &gt; 0">
+        <b>
+          <xsl:copy-of select="$answer.label"/>
+        </b>
+      </xsl:if>
+    </td>
+    <td align="left" valign="top">
+      <xsl:apply-templates select="*[local-name(.) != 'label'         and local-name(.) != 'qandaentry']"/>
+      <!-- * handle nested answer/qandaentry instances -->
+      <!-- * (bug 1509043 from Daniel Leidert) -->
+      <xsl:if test="descendant::question">
+        <xsl:call-template name="process.qandaset"/>
+      </xsl:if>
+    </td>
+  </tr>
+</xsl:template>
+
+<xsl:template match="label">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.qanda.toc">
+  <!-- * if user wants nested qandaset and qandaentry in main Qandaset TOC, -->
+  <!-- * then don't also include the nested stuff in the sub TOCs -->
+  <dl>
+    <xsl:apply-templates select="qandadiv" mode="qandatoc.mode"/>
+    <xsl:apply-templates select="qandaset|qandaentry" mode="qandatoc.mode"/>
+  </dl>
+</xsl:template>
+
+<xsl:template match="qandadiv" mode="qandatoc.mode">
+  <dt><xsl:apply-templates select="title" mode="qandatoc.mode"/></dt>
+  <dd><xsl:call-template name="process.qanda.toc"/></dd>
+</xsl:template>
+
+<xsl:template match="qandadiv/blockinfo/title|                      qandadiv/info/title|                      qandadiv/title" mode="qandatoc.mode">
+  <xsl:variable name="qalevel">
+    <xsl:call-template name="qandadiv.section.level"/>
+  </xsl:variable>
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id">
+      <xsl:with-param name="object" select="parent::*"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:apply-templates select="parent::qandadiv" mode="label.markup"/>
+  <xsl:value-of select="$autotoc.label.separator"/>
+  <xsl:text> </xsl:text>
+  <a>
+    <xsl:attribute name="href">
+      <xsl:call-template name="href.target">
+        <xsl:with-param name="object" select="parent::*"/>
+      </xsl:call-template>
+    </xsl:attribute>
+    <xsl:apply-templates/>
+  </a>
+</xsl:template>
+
+<xsl:template match="qandaset" mode="qandatoc.mode">
+  <xsl:for-each select="qandaentry">
+    <xsl:apply-templates select="." mode="qandatoc.mode"/>
+  </xsl:for-each>
+</xsl:template>
+
+<xsl:template match="qandaentry" mode="qandatoc.mode">
+  <xsl:apply-templates select="question" mode="qandatoc.mode"/>
+</xsl:template>
+
+<xsl:template match="question" mode="qandatoc.mode">
+  <xsl:variable name="firstch">
+    <xsl:apply-templates select="(*[local-name(.)!='label'])[1]"/>
+  </xsl:variable>
+  <xsl:variable name="deflabel">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*[@defaultlabel]">
+        <xsl:value-of select="(ancestor-or-self::*[@defaultlabel])[last()]                               /@defaultlabel"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$qanda.defaultlabel"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <dt>
+    <xsl:apply-templates select="." mode="label.markup"/>
+    <xsl:if test="$deflabel = 'number' and not(label)">
+      <xsl:apply-templates select="." mode="intralabel.punctuation"/>
+    </xsl:if>
+    <xsl:text> </xsl:text>
+    <a>
+      <xsl:attribute name="href">
+        <xsl:call-template name="href.target">
+          <xsl:with-param name="object" select=".."/>
+        </xsl:call-template>
+      </xsl:attribute>
+      <xsl:value-of select="$firstch"/>
+    </a>
+  </dt>
+  <!-- * include nested qandaset/qandaentry in TOC if user wants it -->
+  <xsl:if test="not($qanda.nested.in.toc = 0)">
+    <xsl:apply-templates select="following-sibling::answer" mode="qandatoc.mode"/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="answer" mode="qandatoc.mode">
+  <xsl:if test="descendant::question">
+    <dd>
+      <xsl:call-template name="process.qanda.toc"/>
+    </dd>
+  </xsl:if>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="process.qandaset">
+
+  <xsl:variable name="label-width">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'label-width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="table-summary">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'table-summary'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="cellpadding">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'cellpadding'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="cellspacing">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'cellspacing'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <table border="0" summary="Q and A Set">
+    <xsl:if test="$table-summary != ''">
+      <xsl:attribute name="summary">
+        <xsl:value-of select="$table-summary"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$cellpadding != ''">
+      <xsl:attribute name="cellpadding">
+        <xsl:value-of select="$cellpadding"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$cellspacing != ''">
+      <xsl:attribute name="cellspacing">
+        <xsl:value-of select="$cellspacing"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <col align="left">
+      <xsl:attribute name="width">
+        <xsl:choose>
+          <xsl:when test="$label-width != ''">
+            <xsl:value-of select="$label-width"/>
+          </xsl:when>
+          <xsl:otherwise>1%</xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </col>
+    <tbody>
+      <xsl:apply-templates select="qandaentry|qandadiv"/>
+    </tbody>
+  </table>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="no.wrapper.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/refentry.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/refentry.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/refentry.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,307 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: refentry.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="reference">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$generate.id.attributes != 0">
+      <xsl:attribute name="id">
+        <xsl:call-template name="object.id"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:call-template name="reference.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="not(partintro) and contains($toc.params, 'toc')">
+      <xsl:call-template name="division.toc"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="reference" mode="division.number">
+  <xsl:number from="book" count="reference" format="I."/>
+</xsl:template>
+
+<xsl:template match="reference/docinfo"/>
+<xsl:template match="reference/referenceinfo"/>
+<xsl:template match="reference/title"/>
+<xsl:template match="reference/subtitle"/>
+<xsl:template match="reference/titleabbrev"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="refentry.title">
+  <xsl:param name="node" select="."/>
+  <xsl:variable name="refmeta" select="$node//refmeta"/>
+  <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/>
+  <xsl:variable name="refnamediv" select="$node//refnamediv"/>
+  <xsl:variable name="refname" select="$refnamediv//refname"/>
+  <xsl:variable name="refdesc" select="$refnamediv//refdescriptor"/>
+  <xsl:variable name="title">
+    <xsl:choose>
+      <xsl:when test="$refentrytitle">
+        <xsl:apply-templates select="$refentrytitle[1]" mode="title"/>
+      </xsl:when>
+      <xsl:when test="$refdesc">
+	<xsl:apply-templates select="$refdesc[1]" mode="title"/>
+      </xsl:when>
+      <xsl:when test="$refname">
+        <xsl:apply-templates select="$refname[1]" mode="title"/>
+      </xsl:when>
+      <xsl:otherwise/>
+    </xsl:choose>
+  </xsl:variable>
+
+  <h1 class="title">
+    <xsl:copy-of select="$title"/>
+  </h1>
+</xsl:template>
+
+<xsl:template match="refentry">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:if test="$refentry.separator != 0 and preceding-sibling::refentry">
+      <div class="refentry.separator">
+        <hr/>
+      </div>
+    </xsl:if>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:call-template name="refentry.titlepage"/>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refentry/docinfo|refentry/refentryinfo"/>
+<xsl:template match="refentry/info"/>
+
+<xsl:template match="refentrytitle|refname|refdescriptor" mode="title">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="refmeta">
+</xsl:template>
+
+<xsl:template match="manvolnum">
+  <xsl:if test="$refentry.xref.manvolnum != 0">
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates/>
+    <xsl:text>)</xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refmiscinfo">
+</xsl:template>
+
+<xsl:template match="refentrytitle">
+  <xsl:call-template name="inline.charseq"/>
+</xsl:template>
+
+<xsl:template match="refnamediv">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:choose>
+      <xsl:when test="preceding-sibling::refnamediv">
+	<!-- no title on secondary refnamedivs! -->
+      </xsl:when>
+      <xsl:when test="$refentry.generate.name != 0">
+        <h2>
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'RefName'"/>
+          </xsl:call-template>
+        </h2>
+      </xsl:when>
+      <xsl:when test="$refentry.generate.title != 0">
+        <h2>
+          <xsl:choose>
+            <xsl:when test="../refmeta/refentrytitle">
+              <xsl:apply-templates select="../refmeta/refentrytitle"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:apply-templates select="refname[1]"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </h2>
+      </xsl:when>
+    </xsl:choose>
+
+    <p>
+      <xsl:apply-templates/>
+    </p>
+  </div>
+</xsl:template>
+
+<xsl:template match="refname">
+  <xsl:if test="not(preceding-sibling::refdescriptor)">
+    <xsl:apply-templates/>
+    <xsl:if test="following-sibling::refname">
+      <xsl:text>, </xsl:text>
+    </xsl:if>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refpurpose">
+  <xsl:if test="node()">
+    <xsl:text> </xsl:text>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">em-dash</xsl:with-param>
+    </xsl:call-template>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates/>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refdescriptor">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="refclass">
+  <xsl:if test="$refclass.suppress = 0">
+  <p>
+    <b>
+      <xsl:if test="@role">
+        <xsl:value-of select="@role"/>
+        <xsl:text>: </xsl:text>
+      </xsl:if>
+      <xsl:apply-templates/>
+    </b>
+  </p>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="refsynopsisdiv">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="anchor"/>
+    <h2>
+      <xsl:choose>
+        <xsl:when test="refsynopsisdiv/title|title">
+          <xsl:apply-templates select="(refsynopsisdiv/title|title)[1]" mode="titlepage.mode"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="gentext">
+            <xsl:with-param name="key" select="'RefSynopsisDiv'"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </h2>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refsynopsisdivinfo"/>
+
+<xsl:template match="refsynopsisdiv/title">
+</xsl:template>
+
+<xsl:template match="refsynopsisdiv/title" mode="titlepage.mode">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="refsection|refsect1|refsect2|refsect3">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="refsection/title">
+  <!-- the ID is output in the block.object call for refsect1 -->
+  <xsl:variable name="level" select="count(ancestor-or-self::refsection)"/>
+  <xsl:variable name="refsynopsisdiv">
+    <xsl:text>0</xsl:text>
+    <xsl:if test="ancestor::refsynopsisdiv">1</xsl:if>
+  </xsl:variable>
+  <xsl:variable name="hlevel">
+    <xsl:choose>
+      <xsl:when test="$level+$refsynopsisdiv &gt; 5">6</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$level+1+$refsynopsisdiv"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:element name="h{$hlevel}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="refsect1/title">
+  <!-- the ID is output in the block.object call for refsect1 -->
+  <h2>
+    <xsl:apply-templates/>
+  </h2>
+</xsl:template>
+
+<xsl:template match="refsect2/title">
+  <!-- the ID is output in the block.object call for refsect2 -->
+  <h3>
+    <xsl:apply-templates/>
+  </h3>
+</xsl:template>
+
+<xsl:template match="refsect3/title">
+  <!-- the ID is output in the block.object call for refsect3 -->
+  <h4>
+    <xsl:apply-templates/>
+  </h4>
+</xsl:template>
+
+<xsl:template match="refsectioninfo|refsection/info"/>
+<xsl:template match="refsect1info|refsect1/info"/>
+<xsl:template match="refsect2info|refsect2/info"/>
+<xsl:template match="refsect3info|refsect3/info"/>
+
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/sections.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/sections.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/sections.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,545 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: sections.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="section">
+  <xsl:variable name="depth" select="count(ancestor::section)+1"/>
+
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:call-template name="section.titlepage"/>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')                   and $depth &lt;= $generate.section.toc.level">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.chunk.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template name="section.title">
+  <!-- the context node should be the title of a section when called -->
+  <xsl:variable name="section" select="(ancestor::section                                         |ancestor::simplesect                                         |ancestor::sect1                                         |ancestor::sect2                                         |ancestor::sect3                                         |ancestor::sect4                                         |ancestor::sect5)[last()]"/>
+
+  <xsl:variable name="renderas">
+    <xsl:choose>
+      <xsl:when test="$section/@renderas = 'sect1'">1</xsl:when>
+      <xsl:when test="$section/@renderas = 'sect2'">2</xsl:when>
+      <xsl:when test="$section/@renderas = 'sect3'">3</xsl:when>
+      <xsl:when test="$section/@renderas = 'sect4'">4</xsl:when>
+      <xsl:when test="$section/@renderas = 'sect5'">5</xsl:when>
+      <xsl:otherwise><xsl:value-of select="''"/></xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="level">
+    <xsl:choose>
+      <xsl:when test="$renderas != ''">
+        <xsl:value-of select="$renderas"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="section.level">
+          <xsl:with-param name="node" select="$section"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="section.heading">
+    <xsl:with-param name="section" select="$section"/>
+    <xsl:with-param name="level" select="$level"/>
+    <xsl:with-param name="title">
+      <xsl:apply-templates select="$section" mode="object.title.markup">
+        <xsl:with-param name="allow-anchors" select="1"/>
+      </xsl:apply-templates>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="section/title                     |section/info/title                     |sectioninfo/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="sect1">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+
+    <xsl:choose>
+      <xsl:when test="@renderas = 'sect2'">
+        <xsl:call-template name="sect2.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect3'">
+        <xsl:call-template name="sect3.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect4'">
+        <xsl:call-template name="sect4.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect5'">
+        <xsl:call-template name="sect5.titlepage"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="sect1.titlepage"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')                   and $generate.section.toc.level &gt;= 1">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.chunk.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="sect1/title                     |sect1/info/title                     |sect1info/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="sect2">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+
+    <xsl:choose>
+      <xsl:when test="@renderas = 'sect1'">
+        <xsl:call-template name="sect1.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect3'">
+        <xsl:call-template name="sect3.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect4'">
+        <xsl:call-template name="sect4.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect5'">
+        <xsl:call-template name="sect5.titlepage"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="sect2.titlepage"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')                   and $generate.section.toc.level &gt;= 2">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.chunk.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="sect2/title                     |sect2/info/title                     |sect2info/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="sect3">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+
+    <xsl:choose>
+      <xsl:when test="@renderas = 'sect1'">
+        <xsl:call-template name="sect1.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect2'">
+        <xsl:call-template name="sect2.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect4'">
+        <xsl:call-template name="sect4.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect5'">
+        <xsl:call-template name="sect5.titlepage"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="sect3.titlepage"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')                   and $generate.section.toc.level &gt;= 3">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.chunk.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="sect3/title                     |sect3/info/title                     |sect3info/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="sect4">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+
+    <xsl:choose>
+      <xsl:when test="@renderas = 'sect1'">
+        <xsl:call-template name="sect1.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect2'">
+        <xsl:call-template name="sect2.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect3'">
+        <xsl:call-template name="sect3.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect5'">
+        <xsl:call-template name="sect5.titlepage"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="sect4.titlepage"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')                   and $generate.section.toc.level &gt;= 4">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.chunk.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="sect4/title                     |sect4/info/title                     |sect4info/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="sect5">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+
+    <xsl:choose>
+      <xsl:when test="@renderas = 'sect1'">
+        <xsl:call-template name="sect1.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect2'">
+        <xsl:call-template name="sect2.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect3'">
+        <xsl:call-template name="sect3.titlepage"/>
+      </xsl:when>
+      <xsl:when test="@renderas = 'sect4'">
+        <xsl:call-template name="sect4.titlepage"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="sect5.titlepage"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="toc.params">
+      <xsl:call-template name="find.path.params">
+        <xsl:with-param name="table" select="normalize-space($generate.toc)"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:if test="contains($toc.params, 'toc')                   and $generate.section.toc.level &gt;= 5">
+      <xsl:call-template name="section.toc">
+        <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/>
+      </xsl:call-template>
+      <xsl:call-template name="section.toc.separator"/>
+    </xsl:if>
+    <xsl:apply-templates/>
+    <xsl:call-template name="process.chunk.footnotes"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="sect5/title                     |sect5/info/title                     |sect5info/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="simplesect">
+  <xsl:call-template name="id.warning"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="dir">
+      <xsl:with-param name="inherit" select="1"/>
+    </xsl:call-template>
+    <xsl:call-template name="language.attribute"/>
+    <xsl:call-template name="simplesect.titlepage"/>
+    <xsl:apply-templates/>
+  </div>
+</xsl:template>
+
+<xsl:template match="simplesect/title|simplesect/info/title" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.title"/>
+</xsl:template>
+
+<xsl:template match="section/title"/>
+<xsl:template match="section/titleabbrev"/>
+<xsl:template match="section/subtitle"/>
+<xsl:template match="sectioninfo"/>
+<xsl:template match="section/info"/>
+
+<xsl:template match="sect1/title"/>
+<xsl:template match="sect1/titleabbrev"/>
+<xsl:template match="sect1/subtitle"/>
+<xsl:template match="sect1info"/>
+<xsl:template match="sect1/info"/>
+
+<xsl:template match="sect2/title"/>
+<xsl:template match="sect2/subtitle"/>
+<xsl:template match="sect2/titleabbrev"/>
+<xsl:template match="sect2info"/>
+<xsl:template match="sect2/info"/>
+
+<xsl:template match="sect3/title"/>
+<xsl:template match="sect3/subtitle"/>
+<xsl:template match="sect3/titleabbrev"/>
+<xsl:template match="sect3info"/>
+<xsl:template match="sect3/info"/>
+
+<xsl:template match="sect4/title"/>
+<xsl:template match="sect4/subtitle"/>
+<xsl:template match="sect4/titleabbrev"/>
+<xsl:template match="sect4info"/>
+<xsl:template match="sect4/info"/>
+
+<xsl:template match="sect5/title"/>
+<xsl:template match="sect5/subtitle"/>
+<xsl:template match="sect5/titleabbrev"/>
+<xsl:template match="sect5info"/>
+<xsl:template match="sect5/info"/>
+
+<xsl:template match="simplesect/title"/>
+<xsl:template match="simplesect/subtitle"/>
+<xsl:template match="simplesect/titleabbrev"/>
+<xsl:template match="simplesect/info"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="section.heading">
+  <xsl:param name="section" select="."/>
+  <xsl:param name="level" select="1"/>
+  <xsl:param name="allow-anchors" select="1"/>
+  <xsl:param name="title"/>
+  <xsl:param name="class" select="'title'"/>
+
+  <xsl:variable name="id">
+    <xsl:choose>
+      <!-- if title is in an *info wrapper, get the grandparent -->
+      <xsl:when test="contains(local-name(..), 'info')">
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select="../.."/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select=".."/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- HTML H level is one higher than section level -->
+  <xsl:variable name="hlevel">
+    <xsl:choose>
+      <!-- highest valid HTML H level is H6; so anything nested deeper
+           than 5 levels down just becomes H6 -->
+      <xsl:when test="$level &gt; 5">6</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$level + 1"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+  <xsl:element name="h{$hlevel}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:attribute name="class"><xsl:value-of select="$class"/></xsl:attribute>
+    <xsl:if test="$css.decoration != '0'">
+      <xsl:if test="$hlevel&lt;3">
+        <xsl:attribute name="style">clear: both</xsl:attribute>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="$allow-anchors != 0">
+      <xsl:call-template name="anchor">
+        <xsl:with-param name="node" select="$section"/>
+        <xsl:with-param name="conditional" select="0"/>
+      </xsl:call-template>
+    </xsl:if>
+    <xsl:copy-of select="$title"/>
+  </xsl:element>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="bridgehead">
+  <xsl:variable name="container" select="(ancestor::appendix                         |ancestor::article                         |ancestor::bibliography                         |ancestor::chapter                         |ancestor::glossary                         |ancestor::glossdiv                         |ancestor::index                         |ancestor::partintro                         |ancestor::preface                         |ancestor::refsect1                         |ancestor::refsect2                         |ancestor::refsect3                         |ancestor::sect1                         |ancestor::sect2                         |ancestor::sect3                         |ancestor::sect4                         |ancestor::sect5                         |ancestor::section                         |ancestor::setindex                         |ancestor::simplesect)[last()]"/>
+
+  <xsl:variable name="clevel">
+    <xsl:choose>
+      <xsl:when test="local-name($container) = 'appendix'                       or local-name($container) = 'chapter'                       or local-name($container) = 'article'                       or local-name($container) = 'bibliography'                       or local-name($container) = 'glossary'                       or local-name($container) = 'index'                       or local-name($container) = 'partintro'                       or local-name($container) = 'preface'                       or local-name($container) = 'setindex'">1</xsl:when>
+      <xsl:when test="local-name($container) = 'glossdiv'">
+        <xsl:value-of select="count(ancestor::glossdiv)+1"/>
+      </xsl:when>
+      <xsl:when test="local-name($container) = 'sect1'                       or local-name($container) = 'sect2'                       or local-name($container) = 'sect3'                       or local-name($container) = 'sect4'                       or local-name($container) = 'sect5'                       or local-name($container) = 'refsect1'                       or local-name($container) = 'refsect2'                       or local-name($container) = 'refsect3'                       or local-name($container) = 'section'                       or local-name($container) = 'simplesect'">
+        <xsl:variable name="slevel">
+          <xsl:call-template name="section.level">
+            <xsl:with-param name="node" select="$container"/>
+          </xsl:call-template>
+        </xsl:variable>
+        <xsl:value-of select="$slevel + 1"/>
+      </xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <!-- HTML H level is one higher than section level -->
+  <xsl:variable name="hlevel">
+    <xsl:choose>
+      <xsl:when test="@renderas = 'sect1'">2</xsl:when>
+      <xsl:when test="@renderas = 'sect2'">3</xsl:when>
+      <xsl:when test="@renderas = 'sect3'">4</xsl:when>
+      <xsl:when test="@renderas = 'sect4'">5</xsl:when>
+      <xsl:when test="@renderas = 'sect5'">6</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$clevel + 1"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:element name="h{$hlevel}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:call-template name="anchor">
+      <xsl:with-param name="conditional" select="0"/>
+    </xsl:call-template>
+    <xsl:apply-templates/>
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="section/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template match="simplesect/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template match="sect1/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template match="sect2/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template match="sect3/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template match="sect4/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template match="sect5/subtitle" mode="titlepage.mode" priority="2">
+  <xsl:call-template name="section.subtitle"/>
+</xsl:template>
+
+<xsl:template name="section.subtitle">
+  <!-- the context node should be the subtitle of a section when called -->
+  <xsl:variable name="section" select="(ancestor::section                                         |ancestor::simplesect                                         |ancestor::sect1                                         |ancestor::sect2                                         |ancestor::sect3                                         |ancestor::sect4                                         |ancestor::sect5)[last()]"/>
+
+  <xsl:variable name="level">
+    <xsl:call-template name="section.level">
+      <xsl:with-param name="node" select="$section"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:call-template name="section.heading">
+    <xsl:with-param name="section" select=".."/>
+    <xsl:with-param name="allow-anchors" select="0"/>
+    <!-- subtitle heading level one higher than section level -->
+    <xsl:with-param name="level" select="$level + 1"/>
+    <xsl:with-param name="class" select="'subtitle'"/>
+    <xsl:with-param name="title">
+      <xsl:apply-templates select="$section" mode="object.subtitle.markup">
+        <xsl:with-param name="allow-anchors" select="0"/>
+      </xsl:apply-templates>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/synop.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/synop.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/synop.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1531 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: synop.xsl 6446 2006-12-01 07:57:40Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<!-- synopsis is in verbatim -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="cmdsynopsis">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <p>
+      <xsl:call-template name="anchor"/>
+      <xsl:apply-templates/>
+    </p>
+  </div>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis/command">
+  <br/>
+  <xsl:call-template name="inline.monoseq"/>
+  <xsl:text> </xsl:text>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis/command[1]" priority="2">
+  <xsl:call-template name="inline.monoseq"/>
+  <xsl:text> </xsl:text>
+</xsl:template>
+
+<xsl:template match="group|arg" name="group-or-arg">
+  <xsl:variable name="choice" select="@choice"/>
+  <xsl:variable name="rep" select="@rep"/>
+  <xsl:variable name="sepchar">
+    <xsl:choose>
+      <xsl:when test="ancestor-or-self::*/@sepchar">
+        <xsl:value-of select="ancestor-or-self::*/@sepchar"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:text> </xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:if test="preceding-sibling::*">
+    <xsl:value-of select="$sepchar"/>
+  </xsl:if>
+  <xsl:choose>
+    <xsl:when test="$choice='plain'">
+      <xsl:value-of select="$arg.choice.plain.open.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='req'">
+      <xsl:value-of select="$arg.choice.req.open.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='opt'">
+      <xsl:value-of select="$arg.choice.opt.open.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.choice.def.open.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:apply-templates/>
+  <xsl:choose>
+    <xsl:when test="$rep='repeat'">
+      <xsl:value-of select="$arg.rep.repeat.str"/>
+    </xsl:when>
+    <xsl:when test="$rep='norepeat'">
+      <xsl:value-of select="$arg.rep.norepeat.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.rep.def.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:choose>
+    <xsl:when test="$choice='plain'">
+      <xsl:value-of select="$arg.choice.plain.close.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='req'">
+      <xsl:value-of select="$arg.choice.req.close.str"/>
+    </xsl:when>
+    <xsl:when test="$choice='opt'">
+      <xsl:value-of select="$arg.choice.opt.close.str"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$arg.choice.def.close.str"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="group/arg">
+  <xsl:variable name="choice" select="@choice"/>
+  <xsl:variable name="rep" select="@rep"/>
+  <xsl:if test="preceding-sibling::*">
+    <xsl:value-of select="$arg.or.sep"/>
+  </xsl:if>
+  <xsl:call-template name="group-or-arg"/>
+</xsl:template>
+
+<xsl:template match="sbr">
+  <br/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="synopfragmentref">
+  <xsl:variable name="target" select="key('id', at linkend)"/>
+  <xsl:variable name="snum">
+    <xsl:apply-templates select="$target" mode="synopfragment.number"/>
+  </xsl:variable>
+  <i>
+    <a href="#{@linkend}">
+      <xsl:text>(</xsl:text>
+      <xsl:value-of select="$snum"/>
+      <xsl:text>)</xsl:text>
+    </a>
+    <xsl:text>&#160;</xsl:text>
+    <xsl:apply-templates/>
+  </i>
+</xsl:template>
+
+<xsl:template match="synopfragment" mode="synopfragment.number">
+  <xsl:number format="1"/>
+</xsl:template>
+
+<xsl:template match="synopfragment">
+  <xsl:variable name="snum">
+    <xsl:apply-templates select="." mode="synopfragment.number"/>
+  </xsl:variable>
+  <p>
+    <xsl:variable name="id">
+      <xsl:call-template name="object.id"/>
+    </xsl:variable>
+    <a id="{$id}">
+      <xsl:text>(</xsl:text>
+      <xsl:value-of select="$snum"/>
+      <xsl:text>)</xsl:text>
+    </a>
+    <xsl:text> </xsl:text>
+    <xsl:apply-templates/>
+  </p>
+</xsl:template>
+
+<xsl:template match="funcsynopsis">
+  <xsl:call-template name="informal.object"/>
+</xsl:template>
+
+<xsl:template match="funcsynopsisinfo">
+  <pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates/>
+  </pre>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype -->
+<!--
+
+funcprototype ::= (funcdef,
+                   (void|varargs|paramdef+))
+
+funcdef       ::= (#PCDATA|type|replaceable|function)*
+
+paramdef      ::= (#PCDATA|type|replaceable|parameter|funcparams)*
+-->
+
+<xsl:template match="funcprototype">
+  <xsl:variable name="html-style">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="ancestor::funcsynopsis//processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'funcsynopsis-style'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="style">
+    <xsl:choose>
+      <xsl:when test="$html-style != ''">
+        <xsl:value-of select="$html-style"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$funcsynopsis.style"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+<!--
+  <xsl:variable name="tabular-p"
+                select="$funcsynopsis.tabular.threshold &gt; 0
+                        and string-length(.) &gt; $funcsynopsis.tabular.threshold"/>
+-->
+
+  <xsl:variable name="tabular-p" select="true()"/>
+
+  <xsl:choose>
+    <xsl:when test="$style = 'kr' and $tabular-p">
+      <xsl:apply-templates select="." mode="kr-tabular"/>
+    </xsl:when>
+    <xsl:when test="$style = 'kr'">
+      <xsl:apply-templates select="." mode="kr-nontabular"/>
+    </xsl:when>
+    <xsl:when test="$style = 'ansi' and $tabular-p">
+      <xsl:apply-templates select="." mode="ansi-tabular"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="." mode="ansi-nontabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype: kr, non-tabular -->
+
+<xsl:template match="funcprototype" mode="kr-nontabular">
+  <p>
+    <xsl:apply-templates mode="kr-nontabular"/>
+    <xsl:if test="paramdef">
+      <br/>
+      <xsl:apply-templates select="paramdef" mode="kr-funcsynopsis-mode"/>
+    </xsl:if>
+  </p>
+</xsl:template>
+
+<xsl:template match="funcdef" mode="kr-nontabular">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="kr-nontabular"/>
+    <xsl:text>(</xsl:text>
+  </code>
+</xsl:template>
+
+<xsl:template match="funcdef/function" mode="kr-nontabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <b class="fsfunc"><xsl:apply-templates mode="kr-nontabular"/></b>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="kr-nontabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="void" mode="kr-nontabular">
+  <code>)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="varargs" mode="kr-nontabular">
+  <xsl:text>...</xsl:text>
+  <code>)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="kr-nontabular">
+  <xsl:apply-templates select="parameter" mode="kr-nontabular"/>
+  <xsl:choose>
+    <xsl:when test="following-sibling::*">
+      <xsl:text>, </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>)</code>
+      <xsl:text>;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="kr-nontabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="kr-nontabular"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="kr-nontabular"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="kr-funcsynopsis-mode">
+  <xsl:if test="preceding-sibling::paramdef"><br/></xsl:if>
+  <code>
+    <xsl:apply-templates mode="kr-funcsynopsis-mode"/>
+  </code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="kr-funcsynopsis-mode">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="kr-funcsynopsis-mode"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="kr-funcsynopsis-mode"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="funcparams" mode="kr-funcsynopsis-mode">
+  <code>(</code>
+  <xsl:apply-templates mode="kr-funcsynopsis-mode"/>
+  <code>)</code>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype: kr, tabular -->
+
+<xsl:template match="funcprototype" mode="kr-tabular">
+  <table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0" style="padding-bottom: 1em">
+    <tr>
+      <td>
+        <xsl:apply-templates select="funcdef" mode="kr-tabular"/>
+      </td>
+      <xsl:apply-templates select="(void|varargs|paramdef)[1]" mode="kr-tabular"/>
+    </tr>
+    <xsl:for-each select="(void|varargs|paramdef)[preceding-sibling::*[not(self::funcdef)]]">
+      <tr>
+        <td>&#160;</td>
+        <xsl:apply-templates select="." mode="kr-tabular"/>
+      </tr>
+    </xsl:for-each>
+  </table>
+  <xsl:if test="paramdef">
+    <table border="0" summary="Function argument synopsis" cellspacing="0" cellpadding="0">
+      <xsl:if test="following-sibling::funcprototype">
+        <xsl:attribute name="style">padding-bottom: 1em</xsl:attribute>
+      </xsl:if>
+      <xsl:apply-templates select="paramdef" mode="kr-tabular-funcsynopsis-mode"/>
+    </table>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="funcdef" mode="kr-tabular">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="kr-tabular"/>
+    <xsl:text>(</xsl:text>
+  </code>
+</xsl:template>
+
+<xsl:template match="funcdef/function" mode="kr-tabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <b class="fsfunc"><xsl:apply-templates mode="kr-nontabular"/></b>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="kr-tabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="void" mode="kr-tabular">
+  <td>
+    <code>)</code>
+    <xsl:text>;</xsl:text>
+  </td>
+  <td>&#160;</td>
+</xsl:template>
+
+<xsl:template match="varargs" mode="kr-tabular">
+  <td>
+    <xsl:text>...</xsl:text>
+    <code>)</code>
+    <xsl:text>;</xsl:text>
+  </td>
+  <td>&#160;</td>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="kr-tabular">
+  <td>
+    <xsl:apply-templates select="parameter" mode="kr-tabular"/>
+    <xsl:choose>
+      <xsl:when test="following-sibling::*">
+	<xsl:text>, </xsl:text>
+      </xsl:when>
+      <xsl:otherwise>
+	<code>)</code>
+	<xsl:text>;</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </td>
+  <td>&#160;</td>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="kr-tabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="kr-tabular"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="kr-tabular"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="kr-tabular-funcsynopsis-mode">
+  <xsl:variable name="type">
+    <xsl:choose>
+      <xsl:when test="type">
+	<xsl:apply-templates select="type" mode="kr-tabular-funcsynopsis-mode"/>
+      </xsl:when>
+      <xsl:when test="normalize-space(parameter/preceding-sibling::node()[not(self::parameter)]) != ''">
+	<xsl:copy-of select="parameter/preceding-sibling::node()[not(self::parameter)]"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <tr>
+    <xsl:choose>
+      <xsl:when test="$type != '' and funcparams">
+        <td>
+	  <code>
+	    <xsl:copy-of select="$type"/>
+	  </code>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td>
+	  <code>
+	    <xsl:choose>
+	      <xsl:when test="type">
+		<xsl:apply-templates select="type/following-sibling::*" mode="kr-tabular-funcsynopsis-mode"/>
+	      </xsl:when>
+	      <xsl:otherwise>
+		<xsl:apply-templates select="*" mode="kr-tabular-funcsynopsis-mode"/>
+	      </xsl:otherwise>
+	    </xsl:choose>
+	  </code>
+        </td>
+      </xsl:when>
+
+      <xsl:when test="funcparams">
+        <td colspan="2">
+	  <code>
+	    <xsl:apply-templates mode="kr-tabular-funcsynopsis-mode"/>
+	  </code>
+        </td>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <td>
+	  <code>
+	    <xsl:apply-templates select="parameter/preceding-sibling::node()[not(self::parameter)]" mode="kr-tabular-funcsynopsis-mode"/>
+	  </code>
+          <xsl:text>&#160;</xsl:text>
+        </td>
+        <td>
+	  <code>
+	    <xsl:apply-templates select="parameter" mode="kr-tabular"/>
+	    <xsl:apply-templates select="parameter/following-sibling::*[not(self::parameter)]" mode="kr-tabular-funcsynopsis-mode"/>
+	    <xsl:text>;</xsl:text>
+	  </code>
+        </td>
+      </xsl:otherwise>
+    </xsl:choose>
+  </tr>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="kr-tabular-funcsynopsis-mode">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="kr-tabular-funcsynopsis-mode"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="kr-tabular-funcsynopsis-mode"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="funcparams" mode="kr-tabular-funcsynopsis-mode">
+  <code>(</code>
+  <xsl:apply-templates mode="kr-tabular-funcsynopsis-mode"/>
+  <code>)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype: ansi, non-tabular -->
+
+<xsl:template match="funcprototype" mode="ansi-nontabular">
+  <p>
+    <xsl:apply-templates mode="ansi-nontabular"/>
+  </p>
+</xsl:template>
+
+<xsl:template match="funcdef" mode="ansi-nontabular">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="ansi-nontabular"/>
+    <xsl:text>(</xsl:text>
+  </code>
+</xsl:template>
+
+<xsl:template match="funcdef/function" mode="ansi-nontabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <b class="fsfunc"><xsl:apply-templates mode="ansi-nontabular"/></b>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="ansi-nontabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="void" mode="ansi-nontabular">
+  <code>void)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="varargs" mode="ansi-nontabular">
+  <xsl:text>...</xsl:text>
+  <code>)</code>
+  <xsl:text>;</xsl:text>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="ansi-nontabular">
+  <xsl:apply-templates mode="ansi-nontabular"/>
+  <xsl:choose>
+    <xsl:when test="following-sibling::*">
+      <xsl:text>, </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>)</code>
+      <xsl:text>;</xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="ansi-nontabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="ansi-nontabular"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="ansi-nontabular"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="funcparams" mode="ansi-nontabular">
+  <code>(</code>
+  <xsl:apply-templates mode="ansi-nontabular"/>
+  <code>)</code>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- funcprototype: ansi, tabular -->
+
+<xsl:template match="funcprototype" mode="ansi-tabular">
+  <table border="0" summary="Function synopsis" cellspacing="0" cellpadding="0">
+    <xsl:if test="following-sibling::funcprototype">
+      <xsl:attribute name="style">padding-bottom: 1em</xsl:attribute>
+    </xsl:if>
+    <tr>
+      <td>
+        <xsl:apply-templates select="funcdef" mode="ansi-tabular"/>
+      </td>
+      <xsl:apply-templates select="(void|varargs|paramdef)[1]" mode="ansi-tabular"/>
+    </tr>
+    <xsl:for-each select="(void|varargs|paramdef)[preceding-sibling::*[not(self::funcdef)]]">
+      <tr>
+        <td>&#160;</td>
+        <xsl:apply-templates select="." mode="ansi-tabular"/>
+      </tr>
+    </xsl:for-each>
+  </table>
+</xsl:template>
+
+<xsl:template match="funcdef" mode="ansi-tabular">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="ansi-tabular"/>
+    <xsl:text>(</xsl:text>
+  </code>
+</xsl:template>
+
+<xsl:template match="funcdef/function" mode="ansi-tabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <b class="fsfunc"><xsl:apply-templates mode="ansi-nontabular"/></b>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="kr-tabular"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="void" mode="ansi-tabular">
+  <td>
+    <code>void)</code>
+    <xsl:text>;</xsl:text>
+  </td>
+  <td>&#160;</td>
+</xsl:template>
+
+<xsl:template match="varargs" mode="ansi-tabular">
+  <td>
+    <xsl:text>...</xsl:text>
+    <code>)</code>
+    <xsl:text>;</xsl:text>
+  </td>
+  <td>&#160;</td>
+</xsl:template>
+
+<xsl:template match="paramdef" mode="ansi-tabular">
+  <xsl:variable name="type">
+    <xsl:choose>
+      <xsl:when test="type">
+	<xsl:apply-templates select="type" mode="ansi-tabular"/>
+      </xsl:when>
+      <xsl:when test="normalize-space(parameter/preceding-sibling::node()[not(self::parameter)]) != ''">
+	<xsl:copy-of select="parameter/preceding-sibling::node()[not(self::parameter)]"/>
+      </xsl:when>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$type != '' and funcparams">
+      <td>
+	<xsl:copy-of select="$type"/>
+        <xsl:text>&#160;</xsl:text>
+      </td>
+      <td>
+	<xsl:choose>
+	  <xsl:when test="type">
+	    <xsl:apply-templates select="type/following-sibling::*" mode="ansi-tabular"/>
+	  </xsl:when>
+	  <xsl:otherwise>
+	    <xsl:apply-templates select="*" mode="ansi-tabular"/>
+	  </xsl:otherwise>
+	</xsl:choose>
+        <xsl:choose>
+          <xsl:when test="following-sibling::*">
+            <xsl:text>, </xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <code>)</code>
+            <xsl:text>;</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </td>
+    </xsl:when>
+    <xsl:otherwise>
+      <td>
+        <xsl:apply-templates select="parameter/preceding-sibling::node()[not(self::parameter)]" mode="ansi-tabular"/>
+        <xsl:text>&#160;</xsl:text>
+      </td>
+      <td>
+        <xsl:apply-templates select="parameter" mode="ansi-tabular"/>
+        <xsl:apply-templates select="parameter/following-sibling::*[not(self::parameter)]" mode="ansi-tabular"/>
+        <xsl:choose>
+          <xsl:when test="following-sibling::*">
+            <xsl:text>, </xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <code>)</code>
+            <xsl:text>;</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </td>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="paramdef/parameter" mode="ansi-tabular">
+  <xsl:choose>
+    <xsl:when test="$funcsynopsis.decoration != 0">
+      <var class="pdparam">
+        <xsl:apply-templates mode="ansi-tabular"/>
+      </var>
+    </xsl:when>
+    <xsl:otherwise>
+      <code>
+	<xsl:apply-templates mode="ansi-tabular"/>
+      </code>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="funcparams" mode="ansi-tabular">
+  <code>(</code>
+  <xsl:apply-templates/>
+  <code>)</code>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:variable name="default-classsynopsis-language">java</xsl:variable>
+
+<xsl:template match="classsynopsis                      |fieldsynopsis                      |methodsynopsis                      |constructorsynopsis                      |destructorsynopsis">
+  <xsl:param name="language">
+    <xsl:choose>
+      <xsl:when test="@language">
+	<xsl:value-of select="@language"/>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:value-of select="$default-classsynopsis-language"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$language='java' or $language='Java'">
+      <xsl:apply-templates select="." mode="java"/>
+    </xsl:when>
+    <xsl:when test="$language='perl' or $language='Perl'">
+      <xsl:apply-templates select="." mode="perl"/>
+    </xsl:when>
+    <xsl:when test="$language='idl' or $language='IDL'">
+      <xsl:apply-templates select="." mode="idl"/>
+    </xsl:when>
+    <xsl:when test="$language='cpp' or $language='c++' or $language='C++'">
+      <xsl:apply-templates select="." mode="cpp"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message>
+	<xsl:text>Unrecognized language on </xsl:text>
+        <xsl:value-of select="local-name(.)"/>
+        <xsl:text>: </xsl:text>
+	<xsl:value-of select="$language"/>
+      </xsl:message>
+      <xsl:apply-templates select=".">
+	<xsl:with-param name="language" select="$default-classsynopsis-language"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="synop-break">
+  <xsl:if test="parent::classsynopsis                 or (following-sibling::fieldsynopsis                     |following-sibling::methodsynopsis                     |following-sibling::constructorsynopsis                     |following-sibling::destructorsynopsis)">
+    <br/>
+  </xsl:if>
+</xsl:template>
+
+
+<!-- ===== Java ======================================================== -->
+
+<xsl:template match="classsynopsis" mode="java">
+  <pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates select="ooclass[1]" mode="java"/>
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text> extends</xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="java"/>
+      <xsl:if test="oointerface|ooexception">
+        <br/>
+	<xsl:text>&#160;&#160;&#160;&#160;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="oointerface">
+      <xsl:text>implements</xsl:text>
+      <xsl:apply-templates select="oointerface" mode="java"/>
+      <xsl:if test="ooexception">
+        <br/>
+	<xsl:text>&#160;&#160;&#160;&#160;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="ooexception">
+      <xsl:text>throws</xsl:text>
+      <xsl:apply-templates select="ooexception" mode="java"/>
+    </xsl:if>
+    <xsl:text>&#160;{</xsl:text>
+    <br/>
+    <xsl:apply-templates select="constructorsynopsis                                  |destructorsynopsis                                  |fieldsynopsis                                  |methodsynopsis                                  |classsynopsisinfo" mode="java"/>
+    <xsl:text>}</xsl:text>
+  </pre>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="java">
+  <xsl:apply-templates mode="java"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="java">
+  <xsl:choose>
+    <xsl:when test="preceding-sibling::*">
+      <xsl:text>, </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:text> </xsl:text>
+    </xsl:otherwise>
+  </xsl:choose>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text>&#160;</xsl:text>
+    </xsl:if>
+  </span>
+</xsl:template>
+
+<xsl:template match="classname" mode="java">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="java">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="java">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="java">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&#160;&#160;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates mode="java"/>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+    <xsl:text>&#160;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="varname" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+    <xsl:text>&#160;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="initializer" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>=&#160;</xsl:text>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="void" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>void&#160;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodname" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="java">
+  <xsl:param name="indent">0</xsl:param>
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>,</xsl:text>
+    <br/>
+    <xsl:if test="$indent &gt; 0">
+      <xsl:call-template name="copy-string">
+	<xsl:with-param name="string">&#160;</xsl:with-param>
+	<xsl:with-param name="count" select="$indent + 1"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="parameter" mode="java">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="java"/>
+  </span>
+</xsl:template>
+
+<xsl:template mode="java" match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="decl">
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&#160;&#160;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="$start-modifiers" mode="java"/>
+
+    <!-- type -->
+    <xsl:if test="local-name($notmod[1]) != 'methodname'">
+      <xsl:apply-templates select="$notmod[1]" mode="java"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="methodname" mode="java"/>
+  </xsl:variable>
+
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:copy-of select="$decl"/>
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates select="methodparam" mode="java">
+      <xsl:with-param name="indent" select="string-length($decl)"/>
+    </xsl:apply-templates>
+    <xsl:text>)</xsl:text>
+    <xsl:if test="exceptionname">
+      <br/>
+      <xsl:text>&#160;&#160;&#160;&#160;throws&#160;</xsl:text>
+      <xsl:apply-templates select="exceptionname" mode="java"/>
+    </xsl:if>
+    <xsl:if test="modifier[preceding-sibling::*[local-name(.) != 'modifier']]">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="$end-modifiers" mode="java"/>
+    </xsl:if>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ===== C++ ========================================================= -->
+
+<xsl:template match="classsynopsis" mode="cpp">
+  <pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates select="ooclass[1]" mode="cpp"/>
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text>: </xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="cpp"/>
+      <xsl:if test="oointerface|ooexception">
+        <br/>
+	<xsl:text>&#160;&#160;&#160;&#160;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="oointerface">
+      <xsl:text> implements</xsl:text>
+      <xsl:apply-templates select="oointerface" mode="cpp"/>
+      <xsl:if test="ooexception">
+        <br/>
+	<xsl:text>&#160;&#160;&#160;&#160;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="ooexception">
+      <xsl:text> throws</xsl:text>
+      <xsl:apply-templates select="ooexception" mode="cpp"/>
+    </xsl:if>
+    <xsl:text>&#160;{</xsl:text>
+    <br/>
+    <xsl:apply-templates select="constructorsynopsis                                  |destructorsynopsis                                  |fieldsynopsis                                  |methodsynopsis                                  |classsynopsisinfo" mode="cpp"/>
+    <xsl:text>}</xsl:text>
+  </pre>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="cpp">
+  <xsl:apply-templates mode="cpp"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="cpp">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text>&#160;</xsl:text>
+    </xsl:if>
+  </span>
+</xsl:template>
+
+<xsl:template match="classname" mode="cpp">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="cpp">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="cpp">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="cpp">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&#160;&#160;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates mode="cpp"/>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+    <xsl:text>&#160;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="varname" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+    <xsl:text>&#160;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="initializer" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>=&#160;</xsl:text>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="void" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>void&#160;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodname" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="cpp">
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="parameter" mode="cpp">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="cpp"/>
+  </span>
+</xsl:template>
+
+<xsl:template mode="cpp" match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&#160;&#160;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="$start-modifiers" mode="cpp"/>
+
+    <!-- type -->
+    <xsl:if test="local-name($notmod[1]) != 'methodname'">
+      <xsl:apply-templates select="$notmod[1]" mode="cpp"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="methodname" mode="cpp"/>
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates select="methodparam" mode="cpp"/>
+    <xsl:text>)</xsl:text>
+    <xsl:if test="exceptionname">
+      <br/>
+      <xsl:text>&#160;&#160;&#160;&#160;throws&#160;</xsl:text>
+      <xsl:apply-templates select="exceptionname" mode="cpp"/>
+    </xsl:if>
+    <xsl:if test="modifier[preceding-sibling::*[local-name(.) != 'modifier']]">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="$end-modifiers" mode="cpp"/>
+    </xsl:if>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ===== IDL ========================================================= -->
+
+<xsl:template match="classsynopsis" mode="idl">
+  <pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>interface </xsl:text>
+    <xsl:apply-templates select="ooclass[1]" mode="idl"/>
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text>: </xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="idl"/>
+      <xsl:if test="oointerface|ooexception">
+        <br/>
+	<xsl:text>&#160;&#160;&#160;&#160;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="oointerface">
+      <xsl:text> implements</xsl:text>
+      <xsl:apply-templates select="oointerface" mode="idl"/>
+      <xsl:if test="ooexception">
+        <br/>
+	<xsl:text>&#160;&#160;&#160;&#160;</xsl:text>
+      </xsl:if>
+    </xsl:if>
+    <xsl:if test="ooexception">
+      <xsl:text> throws</xsl:text>
+      <xsl:apply-templates select="ooexception" mode="idl"/>
+    </xsl:if>
+    <xsl:text>&#160;{</xsl:text>
+    <br/>
+    <xsl:apply-templates select="constructorsynopsis                                  |destructorsynopsis                                  |fieldsynopsis                                  |methodsynopsis                                  |classsynopsisinfo" mode="idl"/>
+    <xsl:text>}</xsl:text>
+  </pre>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="idl">
+  <xsl:apply-templates mode="idl"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="idl">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text>&#160;</xsl:text>
+    </xsl:if>
+  </span>
+</xsl:template>
+
+<xsl:template match="classname" mode="idl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="idl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="idl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="idl">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&#160;&#160;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates mode="idl"/>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+    <xsl:text>&#160;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="varname" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+    <xsl:text>&#160;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="initializer" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>=&#160;</xsl:text>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="void" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>void&#160;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodname" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="idl">
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="parameter" mode="idl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="idl"/>
+  </span>
+</xsl:template>
+
+<xsl:template mode="idl" match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&#160;&#160;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates select="$start-modifiers" mode="idl"/>
+
+    <!-- type -->
+    <xsl:if test="local-name($notmod[1]) != 'methodname'">
+      <xsl:apply-templates select="$notmod[1]" mode="idl"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="methodname" mode="idl"/>
+    <xsl:text>(</xsl:text>
+    <xsl:apply-templates select="methodparam" mode="idl"/>
+    <xsl:text>)</xsl:text>
+    <xsl:if test="exceptionname">
+      <br/>
+      <xsl:text>&#160;&#160;&#160;&#160;raises(</xsl:text>
+      <xsl:apply-templates select="exceptionname" mode="idl"/>
+      <xsl:text>)</xsl:text>
+    </xsl:if>
+    <xsl:if test="modifier[preceding-sibling::*[local-name(.) != 'modifier']]">
+      <xsl:text> </xsl:text>
+      <xsl:apply-templates select="$end-modifiers" mode="idl"/>
+    </xsl:if>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ===== Perl ======================================================== -->
+
+<xsl:template match="classsynopsis" mode="perl">
+  <pre>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>package </xsl:text>
+    <xsl:apply-templates select="ooclass[1]" mode="perl"/>
+    <xsl:text>;</xsl:text>
+    <br/>
+
+    <xsl:if test="ooclass[preceding-sibling::*]">
+      <xsl:text>@ISA = (</xsl:text>
+      <xsl:apply-templates select="ooclass[preceding-sibling::*]" mode="perl"/>
+      <xsl:text>);</xsl:text>
+      <br/>
+    </xsl:if>
+
+    <xsl:apply-templates select="constructorsynopsis                                  |destructorsynopsis                                  |fieldsynopsis                                  |methodsynopsis                                  |classsynopsisinfo" mode="perl"/>
+  </pre>
+</xsl:template>
+
+<xsl:template match="classsynopsisinfo" mode="perl">
+  <xsl:apply-templates mode="perl"/>
+</xsl:template>
+
+<xsl:template match="ooclass|oointerface|ooexception" mode="perl">
+  <xsl:if test="preceding-sibling::*">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modifier|package" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+    <xsl:if test="following-sibling::*">
+      <xsl:text>&#160;</xsl:text>
+    </xsl:if>
+  </span>
+</xsl:template>
+
+<xsl:template match="classname" mode="perl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'classname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="interfacename" mode="perl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'interfacename'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="exceptionname" mode="perl">
+  <xsl:if test="local-name(preceding-sibling::*[1]) = 'exceptionname'">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="fieldsynopsis" mode="perl">
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="parent::classsynopsis">
+      <xsl:text>&#160;&#160;</xsl:text>
+    </xsl:if>
+    <xsl:apply-templates mode="perl"/>
+    <xsl:text>;</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<xsl:template match="type" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+    <xsl:text>&#160;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="varname" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+    <xsl:text>&#160;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="initializer" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>=&#160;</xsl:text>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="void" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>void&#160;</xsl:text>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodname" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="methodparam" mode="perl">
+  <xsl:if test="preceding-sibling::methodparam">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="parameter" mode="perl">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="perl"/>
+  </span>
+</xsl:template>
+
+<xsl:template mode="perl" match="constructorsynopsis|destructorsynopsis|methodsynopsis">
+  <xsl:variable name="start-modifiers" select="modifier[following-sibling::*[local-name(.) != 'modifier']]"/>
+  <xsl:variable name="notmod" select="*[local-name(.) != 'modifier']"/>
+  <xsl:variable name="end-modifiers" select="modifier[preceding-sibling::*[local-name(.) != 'modifier']]"/>
+
+  <code>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:text>sub </xsl:text>
+
+    <xsl:apply-templates select="methodname" mode="perl"/>
+    <xsl:text> { ... };</xsl:text>
+  </code>
+  <xsl:call-template name="synop-break"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- * DocBook 5 allows linking elements (link, olink, and xref) -->
+<!-- * within the OO *synopsis elements (classsynopsis, fieldsynopsis, -->
+<!-- * methodsynopsis, constructorsynopsis, destructorsynopsis) and -->
+<!-- * their children. So we need to have mode="java|cpp|idl|perl" -->
+<!-- * per-mode matches for those linking elements in order for them -->
+<!-- * to be processed as expected. -->
+
+<xsl:template match="link|olink|xref" mode="java">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="link|olink|xref" mode="cpp">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="link|olink|xref" mode="idl">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="link|olink|xref" mode="perl">
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/table.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/table.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/table.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1113 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:stbl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Table" xmlns:xtbl="xalan://com.nwalsh.xalan.Table" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:ptbl="http://nwalsh.com/xslt/ext/xsltproc/python/Table" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="doc stbl xtbl lxslt ptbl" version="1.0">
+
+<xsl:include href="../common/table.xsl"/>
+
+<!-- ********************************************************************
+     $Id: table.xsl 6439 2006-11-18 20:10:32Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<lxslt:component prefix="xtbl" functions="adjustColumnWidths"/>
+
+<xsl:template name="empty.table.cell">
+  <xsl:param name="colnum" select="0"/>
+
+  <xsl:variable name="rowsep">
+    <xsl:choose>
+      <!-- If this is the last row, rowsep never applies. -->
+      <xsl:when test="not(ancestor-or-self::row[1]/following-sibling::row                           or ancestor-or-self::thead/following-sibling::tbody                           or ancestor-or-self::tbody/preceding-sibling::tfoot)">
+        <xsl:value-of select="0"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inherited.table.attribute">
+          <xsl:with-param name="entry" select="NOT-AN-ELEMENT-NAME"/>
+          <xsl:with-param name="row" select="ancestor-or-self::row[1]"/>
+          <xsl:with-param name="colnum" select="$colnum"/>
+          <xsl:with-param name="attribute" select="'rowsep'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="colsep">
+    <xsl:choose>
+      <!-- If this is the last column, colsep never applies. -->
+      <xsl:when test="number($colnum) &gt;= ancestor::tgroup/@cols">0</xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inherited.table.attribute">
+          <xsl:with-param name="entry" select="NOT-AN-ELEMENT-NAME"/>
+          <xsl:with-param name="row" select="ancestor-or-self::row[1]"/>
+          <xsl:with-param name="colnum" select="$colnum"/>
+          <xsl:with-param name="attribute" select="'colsep'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <td class="auto-generated">
+    <xsl:if test="$table.borders.with.css != 0">
+      <xsl:attribute name="style">
+        <xsl:if test="$colsep &gt; 0">
+          <xsl:call-template name="border">
+            <xsl:with-param name="side" select="'right'"/>
+          </xsl:call-template>
+        </xsl:if>
+        <xsl:if test="$rowsep &gt; 0">
+          <xsl:call-template name="border">
+            <xsl:with-param name="side" select="'bottom'"/>
+          </xsl:call-template>
+        </xsl:if>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:text>&#160;</xsl:text>
+  </td>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="border">
+  <xsl:param name="side" select="'left'"/>
+  <xsl:param name="padding" select="0"/>
+  <xsl:param name="style" select="$table.cell.border.style"/>
+  <xsl:param name="color" select="$table.cell.border.color"/>
+  <xsl:param name="thickness" select="$table.cell.border.thickness"/>
+
+  <!-- Note: Some browsers (mozilla) require at least a width and style. -->
+
+  <xsl:choose>
+    <xsl:when test="($thickness != ''                      and $style != ''                      and $color != '')                     or ($thickness != ''                         and $style != '')                     or ($thickness != '')">
+      <!-- use the compound property if we can: -->
+      <!-- it saves space and probably works more reliably -->
+      <xsl:text>border-</xsl:text>
+      <xsl:value-of select="$side"/>
+      <xsl:text>: </xsl:text>
+      <xsl:value-of select="$thickness"/>
+      <xsl:text> </xsl:text>
+      <xsl:value-of select="$style"/>
+      <xsl:text> </xsl:text>
+      <xsl:value-of select="$color"/>
+      <xsl:text>; </xsl:text>
+    </xsl:when>
+    <xsl:otherwise>
+      <!-- we need to specify the styles individually -->
+      <xsl:if test="$thickness != ''">
+        <xsl:text>border-</xsl:text>
+        <xsl:value-of select="$side"/>
+        <xsl:text>-width: </xsl:text>
+        <xsl:value-of select="$thickness"/>
+        <xsl:text>; </xsl:text>
+      </xsl:if>
+
+      <xsl:if test="$style != ''">
+        <xsl:text>border-</xsl:text>
+        <xsl:value-of select="$side"/>
+        <xsl:text>-style: </xsl:text>
+        <xsl:value-of select="$style"/>
+        <xsl:text>; </xsl:text>
+      </xsl:if>
+
+      <xsl:if test="$color != ''">
+        <xsl:text>border-</xsl:text>
+        <xsl:value-of select="$side"/>
+        <xsl:text>-color: </xsl:text>
+        <xsl:value-of select="$color"/>
+        <xsl:text>; </xsl:text>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="tgroup" name="tgroup">
+  <xsl:if test="not(@cols) or @cols = '' or string(number(@cols)) = 'NaN'">
+    <xsl:message terminate="yes">
+      <xsl:text>Error: CALS tables must specify the number of columns.</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:variable name="summary">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'table-summary'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="cellspacing">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'cellspacing'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="cellpadding">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="processing-instruction('dbhtml')[1]"/>
+      <xsl:with-param name="attribute" select="'cellpadding'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <table>
+    <xsl:choose>
+      <!-- If there's a textobject/phrase for the table summary, use it -->
+      <xsl:when test="../textobject/phrase">
+        <xsl:attribute name="summary">
+          <xsl:value-of select="../textobject/phrase"/>
+        </xsl:attribute>
+      </xsl:when>
+
+      <!-- If there's a <?dbhtml table-summary="foo"?> PI, use it for
+           the HTML table summary attribute -->
+      <xsl:when test="$summary != ''">
+        <xsl:attribute name="summary">
+          <xsl:value-of select="$summary"/>
+        </xsl:attribute>
+      </xsl:when>
+
+      <!-- Otherwise, if there's a title, use that -->
+      <xsl:when test="../title">
+        <xsl:attribute name="summary">
+          <xsl:value-of select="string(../title)"/>
+        </xsl:attribute>
+      </xsl:when>
+
+      <!-- Otherwise, forget the whole idea -->
+      <xsl:otherwise><!-- nevermind --></xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:if test="$cellspacing != '' or $html.cellspacing != ''">
+      <xsl:attribute name="cellspacing">
+        <xsl:choose>
+          <xsl:when test="$cellspacing != ''">
+            <xsl:value-of select="$cellspacing"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$html.cellspacing"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$cellpadding != '' or $html.cellpadding != ''">
+      <xsl:attribute name="cellpadding">
+        <xsl:choose>
+          <xsl:when test="$cellpadding != ''">
+            <xsl:value-of select="$cellpadding"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$html.cellpadding"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="../@pgwide=1 or local-name(.) = 'entrytbl'">
+      <xsl:attribute name="width">100%</xsl:attribute>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="$table.borders.with.css != 0">
+        <xsl:attribute name="border">0</xsl:attribute>
+        <xsl:choose>
+          <xsl:when test="../@frame='all' or (not(../@frame) and $default.table.frame='all')">
+            <xsl:attribute name="style">
+              <xsl:text>border-collapse: collapse;</xsl:text>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'top'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'bottom'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'left'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'right'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:when test="../@frame='topbot' or (not(../@frame) and $default.table.frame='topbot')">
+            <xsl:attribute name="style">
+              <xsl:text>border-collapse: collapse;</xsl:text>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'top'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'bottom'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:when test="../@frame='top' or (not(../@frame) and $default.table.frame='top')">
+            <xsl:attribute name="style">
+              <xsl:text>border-collapse: collapse;</xsl:text>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'top'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:when test="../@frame='bottom' or (not(../@frame) and $default.table.frame='bottom')">
+            <xsl:attribute name="style">
+              <xsl:text>border-collapse: collapse;</xsl:text>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'bottom'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:when test="../@frame='sides' or (not(../@frame) and $default.table.frame='sides')">
+            <xsl:attribute name="style">
+              <xsl:text>border-collapse: collapse;</xsl:text>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'left'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'right'"/>
+                <xsl:with-param name="style" select="$table.frame.border.style"/>
+                <xsl:with-param name="color" select="$table.frame.border.color"/>
+                <xsl:with-param name="thickness" select="$table.frame.border.thickness"/>
+              </xsl:call-template>
+            </xsl:attribute>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:attribute name="style">
+              <xsl:text>border-collapse: collapse;</xsl:text>
+            </xsl:attribute>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:when test="../@frame='none' or (not(../@frame) and $default.table.frame='none') or local-name(.) = 'entrytbl'">
+        <xsl:attribute name="border">0</xsl:attribute>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:attribute name="border">1</xsl:attribute>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:variable name="colgroup">
+      <colgroup>
+        <xsl:call-template name="generate.colgroup">
+          <xsl:with-param name="cols" select="@cols"/>
+        </xsl:call-template>
+      </colgroup>
+    </xsl:variable>
+
+    <xsl:variable name="explicit.table.width">
+      <xsl:call-template name="dbhtml-attribute">
+        <xsl:with-param name="pis" select="../processing-instruction('dbhtml')[1]"/>
+        <xsl:with-param name="attribute" select="'table-width'"/>
+      </xsl:call-template>
+    </xsl:variable>
+
+    <xsl:variable name="table.width">
+      <xsl:choose>
+        <xsl:when test="$explicit.table.width != ''">
+          <xsl:value-of select="$explicit.table.width"/>
+        </xsl:when>
+        <xsl:when test="$default.table.width = ''">
+          <xsl:text>100%</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="$default.table.width"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+
+    <xsl:if test="$default.table.width != ''                   or $explicit.table.width != ''">
+      <xsl:attribute name="width">
+        <xsl:choose>
+          <xsl:when test="contains($table.width, '%')">
+            <xsl:value-of select="$table.width"/>
+          </xsl:when>
+          <xsl:when test="$use.extensions != 0                           and $tablecolumns.extension != 0">
+            <xsl:choose>
+              <xsl:when test="function-available('stbl:convertLength')">
+                <xsl:value-of select="stbl:convertLength($table.width)"/>
+              </xsl:when>
+              <xsl:when test="function-available('xtbl:convertLength')">
+                <xsl:value-of select="xtbl:convertLength($table.width)"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:message terminate="yes">
+                  <xsl:text>No convertLength function available.</xsl:text>
+                </xsl:message>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$table.width"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:choose>
+      <xsl:when test="$use.extensions != 0                       and $tablecolumns.extension != 0">
+        <xsl:choose>
+          <xsl:when test="function-available('stbl:adjustColumnWidths')">
+            <xsl:copy-of select="stbl:adjustColumnWidths($colgroup)"/>
+          </xsl:when>
+          <xsl:when test="function-available('xtbl:adjustColumnWidths')">
+            <xsl:copy-of select="xtbl:adjustColumnWidths($colgroup)"/>
+          </xsl:when>
+          <xsl:when test="function-available('ptbl:adjustColumnWidths')">
+            <xsl:copy-of select="ptbl:adjustColumnWidths($colgroup)"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:message terminate="yes">
+              <xsl:text>No adjustColumnWidths function available.</xsl:text>
+            </xsl:message>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:copy-of select="$colgroup"/>
+      </xsl:otherwise>
+    </xsl:choose>
+
+    <xsl:apply-templates select="thead"/>
+    <xsl:apply-templates select="tfoot"/>
+    <xsl:apply-templates select="tbody"/>
+
+    <xsl:if test=".//footnote">
+      <tbody class="footnotes">
+        <tr>
+          <td colspan="{@cols}">
+            <xsl:apply-templates select=".//footnote" mode="table.footnote.mode"/>
+          </td>
+        </tr>
+      </tbody>
+    </xsl:if>
+  </table>
+</xsl:template>
+
+<xsl:template match="tgroup/processing-instruction('dbhtml')">
+  <xsl:variable name="summary">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="."/>
+      <xsl:with-param name="attribute" select="'table-summary'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <!-- Suppress the table-summary PI -->
+  <xsl:if test="$summary = ''">
+    <xsl:processing-instruction name="dbhtml">
+      <xsl:value-of select="."/>
+    </xsl:processing-instruction>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="colspec"/>
+
+<xsl:template match="spanspec"/>
+
+<xsl:template match="thead|tfoot">
+  <xsl:element name="{local-name(.)}" namespace="http://www.w3.org/1999/xhtml">
+    <xsl:if test="@align">
+      <xsl:attribute name="align">
+        <xsl:value-of select="@align"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@char">
+      <xsl:attribute name="char">
+        <xsl:value-of select="@char"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@charoff">
+      <xsl:attribute name="charoff">
+        <xsl:value-of select="@charoff"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@valign">
+      <xsl:attribute name="valign">
+        <xsl:value-of select="@valign"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:apply-templates select="row[1]">
+      <xsl:with-param name="spans">
+        <xsl:call-template name="blank.spans">
+          <xsl:with-param name="cols" select="../@cols"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:apply-templates>
+
+  </xsl:element>
+</xsl:template>
+
+<xsl:template match="tbody">
+  <tbody>
+    <xsl:if test="@align">
+      <xsl:attribute name="align">
+        <xsl:value-of select="@align"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@char">
+      <xsl:attribute name="char">
+        <xsl:value-of select="@char"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@charoff">
+      <xsl:attribute name="charoff">
+        <xsl:value-of select="@charoff"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@valign">
+      <xsl:attribute name="valign">
+        <xsl:value-of select="@valign"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:apply-templates select="row[1]">
+      <xsl:with-param name="spans">
+        <xsl:call-template name="blank.spans">
+          <xsl:with-param name="cols" select="../@cols"/>
+        </xsl:call-template>
+      </xsl:with-param>
+    </xsl:apply-templates>
+
+  </tbody>
+</xsl:template>
+
+<xsl:template match="row">
+  <xsl:param name="spans"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($spans, '0')">
+      <xsl:call-template name="normal-row">
+	<xsl:with-param name="spans" select="$spans"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <!--
+      <xsl:message>
+	<xsl:text>Ignoring row: </xsl:text>
+	<xsl:value-of select="$spans"/>
+	<xsl:text> = </xsl:text>
+	<xsl:call-template name="consume-row">
+	  <xsl:with-param name="spans" select="$spans"/>
+	</xsl:call-template>
+      </xsl:message>
+      -->
+
+      <xsl:if test="normalize-space(.//text()) != ''">
+	<xsl:message>Warning: overlapped row contains content!</xsl:message>
+      </xsl:if>
+
+      <tr><xsl:comment> This row intentionally left blank </xsl:comment></tr>
+
+      <xsl:apply-templates select="following-sibling::row[1]">
+	<xsl:with-param name="spans">
+	  <xsl:call-template name="consume-row">
+	    <xsl:with-param name="spans" select="$spans"/>
+	  </xsl:call-template>
+	</xsl:with-param>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="normal-row">
+  <xsl:param name="spans"/>
+
+  <xsl:variable name="row-height">
+    <xsl:if test="processing-instruction('dbhtml')">
+      <xsl:call-template name="dbhtml-attribute">
+        <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+        <xsl:with-param name="attribute" select="'row-height'"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="bgcolor">
+    <xsl:if test="processing-instruction('dbhtml')">
+      <xsl:call-template name="dbhtml-attribute">
+	<xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+	<xsl:with-param name="attribute" select="'bgcolor'"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:variable name="class">
+    <xsl:if test="processing-instruction('dbhtml')">
+      <xsl:call-template name="dbhtml-attribute">
+	<xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+	<xsl:with-param name="attribute" select="'class'"/>
+      </xsl:call-template>
+    </xsl:if>
+  </xsl:variable>
+
+  <tr>
+    <xsl:call-template name="tr.attributes">
+      <xsl:with-param name="rownum">
+        <xsl:number from="tgroup" count="row"/>
+      </xsl:with-param>
+    </xsl:call-template>
+
+    <xsl:if test="$row-height != ''">
+      <xsl:attribute name="height">
+        <xsl:value-of select="$row-height"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$bgcolor != ''">
+      <xsl:attribute name="bgcolor">
+        <xsl:value-of select="$bgcolor"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$class != ''">
+      <xsl:attribute name="class">
+        <xsl:value-of select="$class"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:if test="$table.borders.with.css != 0">
+      <xsl:if test="@rowsep = 1 and following-sibling::row">
+        <xsl:attribute name="style">
+          <xsl:call-template name="border">
+            <xsl:with-param name="side" select="'bottom'"/>
+          </xsl:call-template>
+        </xsl:attribute>
+      </xsl:if>
+    </xsl:if>
+
+    <xsl:if test="@align">
+      <xsl:attribute name="align">
+        <xsl:value-of select="@align"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@char">
+      <xsl:attribute name="char">
+        <xsl:value-of select="@char"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@charoff">
+      <xsl:attribute name="charoff">
+        <xsl:value-of select="@charoff"/>
+      </xsl:attribute>
+    </xsl:if>
+    <xsl:if test="@valign">
+      <xsl:attribute name="valign">
+        <xsl:value-of select="@valign"/>
+      </xsl:attribute>
+    </xsl:if>
+
+    <xsl:apply-templates select="(entry|entrytbl)[1]">
+      <xsl:with-param name="spans" select="$spans"/>
+    </xsl:apply-templates>
+  </tr>
+
+  <xsl:if test="following-sibling::row">
+    <xsl:variable name="nextspans">
+      <xsl:apply-templates select="(entry|entrytbl)[1]" mode="span">
+        <xsl:with-param name="spans" select="$spans"/>
+      </xsl:apply-templates>
+    </xsl:variable>
+
+    <xsl:apply-templates select="following-sibling::row[1]">
+      <xsl:with-param name="spans" select="$nextspans"/>
+    </xsl:apply-templates>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="entry|entrytbl" name="entry">
+  <xsl:param name="col" select="1"/>
+  <xsl:param name="spans"/>
+
+  <xsl:variable name="cellgi">
+    <xsl:choose>
+      <xsl:when test="ancestor::thead">th</xsl:when>
+      <xsl:when test="ancestor::tfoot">th</xsl:when>
+      <xsl:otherwise>td</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="empty.cell" select="count(node()) = 0"/>
+
+  <xsl:variable name="named.colnum">
+    <xsl:call-template name="entry.colnum"/>
+  </xsl:variable>
+
+  <xsl:variable name="entry.colnum">
+    <xsl:choose>
+      <xsl:when test="$named.colnum &gt; 0">
+        <xsl:value-of select="$named.colnum"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$col"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="entry.colspan">
+    <xsl:choose>
+      <xsl:when test="@spanname or @namest">
+        <xsl:call-template name="calculate.colspan"/>
+      </xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="following.spans">
+    <xsl:call-template name="calculate.following.spans">
+      <xsl:with-param name="colspan" select="$entry.colspan"/>
+      <xsl:with-param name="spans" select="$spans"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="rowsep">
+    <xsl:choose>
+      <!-- If this is the last row, rowsep never applies. -->
+      <xsl:when test="ancestor::entrytbl                       and not (ancestor-or-self::row[1]/following-sibling::row)">
+        <xsl:value-of select="0"/>
+      </xsl:when>
+      <xsl:when test="not(ancestor-or-self::row[1]/following-sibling::row                           or ancestor-or-self::thead/following-sibling::tbody                           or ancestor-or-self::tbody/preceding-sibling::tfoot)">
+        <xsl:value-of select="0"/>
+      </xsl:when>
+      <xsl:when test="@morerows and not(@morerows &lt;                   count(ancestor-or-self::row[1]/following-sibling::row))">
+        <xsl:value-of select="0"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inherited.table.attribute">
+          <xsl:with-param name="entry" select="."/>
+          <xsl:with-param name="colnum" select="$entry.colnum"/>
+          <xsl:with-param name="attribute" select="'rowsep'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="colsep">
+    <xsl:choose>
+      <!-- If this is the last column, colsep never applies. -->
+      <xsl:when test="$following.spans = ''">0</xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="inherited.table.attribute">
+          <xsl:with-param name="entry" select="."/>
+          <xsl:with-param name="colnum" select="$entry.colnum"/>
+          <xsl:with-param name="attribute" select="'colsep'"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="valign">
+    <xsl:call-template name="inherited.table.attribute">
+      <xsl:with-param name="entry" select="."/>
+      <xsl:with-param name="colnum" select="$entry.colnum"/>
+      <xsl:with-param name="attribute" select="'valign'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="align">
+    <xsl:call-template name="inherited.table.attribute">
+      <xsl:with-param name="entry" select="."/>
+      <xsl:with-param name="colnum" select="$entry.colnum"/>
+      <xsl:with-param name="attribute" select="'align'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="char">
+    <xsl:call-template name="inherited.table.attribute">
+      <xsl:with-param name="entry" select="."/>
+      <xsl:with-param name="colnum" select="$entry.colnum"/>
+      <xsl:with-param name="attribute" select="'char'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="charoff">
+    <xsl:call-template name="inherited.table.attribute">
+      <xsl:with-param name="entry" select="."/>
+      <xsl:with-param name="colnum" select="$entry.colnum"/>
+      <xsl:with-param name="attribute" select="'charoff'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$spans != '' and not(starts-with($spans,'0:'))">
+      <xsl:call-template name="entry">
+        <xsl:with-param name="col" select="$col+1"/>
+        <xsl:with-param name="spans" select="substring-after($spans,':')"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:when test="number($entry.colnum) &gt; $col">
+      <xsl:call-template name="empty.table.cell"/>
+      <xsl:call-template name="entry">
+        <xsl:with-param name="col" select="$col+1"/>
+        <xsl:with-param name="spans" select="substring-after($spans,':')"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:variable name="bgcolor">
+        <xsl:if test="processing-instruction('dbhtml')">
+          <xsl:call-template name="dbhtml-attribute">
+            <xsl:with-param name="pis" select="processing-instruction('dbhtml')"/>
+            <xsl:with-param name="attribute" select="'bgcolor'"/>
+          </xsl:call-template>
+        </xsl:if>
+      </xsl:variable>
+
+      <xsl:element name="{$cellgi}" namespace="http://www.w3.org/1999/xhtml">
+        <xsl:if test="$bgcolor != ''">
+          <xsl:attribute name="bgcolor">
+            <xsl:value-of select="$bgcolor"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$entry.propagates.style != 0 and @role">
+          <xsl:apply-templates select="." mode="class.attribute">
+            <xsl:with-param name="class" select="@role"/>
+          </xsl:apply-templates>
+        </xsl:if>
+
+        <xsl:if test="$show.revisionflag and @revisionflag">
+          <xsl:attribute name="class">
+            <xsl:value-of select="@revisionflag"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$table.borders.with.css != 0">
+          <xsl:attribute name="style">
+            <xsl:if test="$colsep &gt; 0">
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'right'"/>
+              </xsl:call-template>
+            </xsl:if>
+            <xsl:if test="$rowsep &gt; 0">
+              <xsl:call-template name="border">
+                <xsl:with-param name="side" select="'bottom'"/>
+              </xsl:call-template>
+            </xsl:if>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="@morerows &gt; 0">
+          <xsl:attribute name="rowspan">
+            <xsl:value-of select="1+ at morerows"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$entry.colspan &gt; 1">
+          <xsl:attribute name="colspan">
+            <xsl:value-of select="$entry.colspan"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$align != ''">
+          <xsl:attribute name="align">
+            <xsl:value-of select="$align"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$valign != ''">
+          <xsl:attribute name="valign">
+            <xsl:value-of select="$valign"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$char != ''">
+          <xsl:attribute name="char">
+            <xsl:value-of select="$char"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="$charoff != ''">
+          <xsl:attribute name="charoff">
+            <xsl:value-of select="$charoff"/>
+          </xsl:attribute>
+        </xsl:if>
+
+        <xsl:if test="not(preceding-sibling::*) and                      (ancestor::row[1]/@id or ancestor::row[1]/@xml:id)">
+          <xsl:call-template name="anchor">
+            <xsl:with-param name="node" select="ancestor::row[1]"/>
+          </xsl:call-template>
+        </xsl:if>
+
+        <xsl:call-template name="anchor"/>
+
+        <xsl:choose>
+          <xsl:when test="$empty.cell">
+            <xsl:text>&#160;</xsl:text>
+          </xsl:when>
+          <xsl:when test="self::entrytbl">
+            <xsl:call-template name="tgroup"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:element>
+
+      <xsl:choose>
+        <xsl:when test="following-sibling::entry|following-sibling::entrytbl">
+          <xsl:apply-templates select="(following-sibling::entry                                        |following-sibling::entrytbl)[1]">
+            <xsl:with-param name="col" select="$col+$entry.colspan"/>
+            <xsl:with-param name="spans" select="$following.spans"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="finaltd">
+            <xsl:with-param name="spans" select="$following.spans"/>
+            <xsl:with-param name="col" select="$col+$entry.colspan"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="entry|entrytbl" name="sentry" mode="span">
+  <xsl:param name="col" select="1"/>
+  <xsl:param name="spans"/>
+
+  <xsl:variable name="entry.colnum">
+    <xsl:call-template name="entry.colnum"/>
+  </xsl:variable>
+
+  <xsl:variable name="entry.colspan">
+    <xsl:choose>
+      <xsl:when test="@spanname or @namest">
+        <xsl:call-template name="calculate.colspan"/>
+      </xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="following.spans">
+    <xsl:call-template name="calculate.following.spans">
+      <xsl:with-param name="colspan" select="$entry.colspan"/>
+      <xsl:with-param name="spans" select="$spans"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$spans != '' and not(starts-with($spans,'0:'))">
+      <xsl:value-of select="substring-before($spans,':')-1"/>
+      <xsl:text>:</xsl:text>
+      <xsl:call-template name="sentry">
+        <xsl:with-param name="col" select="$col+1"/>
+        <xsl:with-param name="spans" select="substring-after($spans,':')"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:when test="number($entry.colnum) &gt; $col">
+      <xsl:text>0:</xsl:text>
+      <xsl:call-template name="sentry">
+        <xsl:with-param name="col" select="$col+$entry.colspan"/>
+        <xsl:with-param name="spans" select="$following.spans"/>
+      </xsl:call-template>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:call-template name="copy-string">
+        <xsl:with-param name="count" select="$entry.colspan"/>
+        <xsl:with-param name="string">
+          <xsl:choose>
+            <xsl:when test="@morerows">
+              <xsl:value-of select="@morerows"/>
+            </xsl:when>
+            <xsl:otherwise>0</xsl:otherwise>
+          </xsl:choose>
+          <xsl:text>:</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+
+      <xsl:choose>
+        <xsl:when test="following-sibling::entry|following-sibling::entrytbl">
+          <xsl:apply-templates select="(following-sibling::entry                                         |following-sibling::entrytbl)[1]" mode="span">
+            <xsl:with-param name="col" select="$col+$entry.colspan"/>
+            <xsl:with-param name="spans" select="$following.spans"/>
+          </xsl:apply-templates>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="sfinaltd">
+            <xsl:with-param name="spans" select="$following.spans"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="generate.colgroup">
+  <xsl:param name="cols" select="1"/>
+  <xsl:param name="count" select="1"/>
+  <xsl:choose>
+    <xsl:when test="$count &gt; $cols"/>
+    <xsl:otherwise>
+      <xsl:call-template name="generate.col">
+        <xsl:with-param name="countcol" select="$count"/>
+      </xsl:call-template>
+      <xsl:call-template name="generate.colgroup">
+        <xsl:with-param name="cols" select="$cols"/>
+        <xsl:with-param name="count" select="$count+1"/>
+      </xsl:call-template>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="generate.col">
+  <xsl:param name="countcol">1</xsl:param>
+  <xsl:param name="colspecs" select="./colspec"/>
+  <xsl:param name="count">1</xsl:param>
+  <xsl:param name="colnum">1</xsl:param>
+
+  <xsl:choose>
+    <xsl:when test="$count&gt;count($colspecs)">
+      <col/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:variable name="colspec" select="$colspecs[$count=position()]"/>
+      <xsl:variable name="colspec.colnum">
+        <xsl:choose>
+          <xsl:when test="$colspec/@colnum">
+            <xsl:value-of select="$colspec/@colnum"/>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$colnum"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$colspec.colnum=$countcol">
+          <col>
+            <xsl:if test="$colspec/@colwidth                           and $use.extensions != 0                           and $tablecolumns.extension != 0">
+              <xsl:attribute name="width">
+	        <xsl:choose>
+		  <xsl:when test="normalize-space($colspec/@colwidth) = '*'">
+                    <xsl:value-of select="'1*'"/>
+		  </xsl:when>
+		  <xsl:otherwise>
+                    <xsl:value-of select="$colspec/@colwidth"/>
+		  </xsl:otherwise>
+		</xsl:choose>
+              </xsl:attribute>
+            </xsl:if>
+
+            <xsl:choose>
+              <xsl:when test="$colspec/@align">
+                <xsl:attribute name="align">
+                  <xsl:value-of select="$colspec/@align"/>
+                </xsl:attribute>
+              </xsl:when>
+              <!-- Suggested by Pavel ZAMPACH <zampach at nemcb.cz> -->
+              <xsl:when test="$colspecs/ancestor::tgroup/@align">
+                <xsl:attribute name="align">
+                  <xsl:value-of select="$colspecs/ancestor::tgroup/@align"/>
+                </xsl:attribute>
+              </xsl:when>
+            </xsl:choose>
+
+            <xsl:if test="$colspec/@char">
+              <xsl:attribute name="char">
+                <xsl:value-of select="$colspec/@char"/>
+              </xsl:attribute>
+            </xsl:if>
+            <xsl:if test="$colspec/@charoff">
+              <xsl:attribute name="charoff">
+                <xsl:value-of select="$colspec/@charoff"/>
+              </xsl:attribute>
+            </xsl:if>
+          </col>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="generate.col">
+            <xsl:with-param name="countcol" select="$countcol"/>
+            <xsl:with-param name="colspecs" select="$colspecs"/>
+            <xsl:with-param name="count" select="$count+1"/>
+            <xsl:with-param name="colnum">
+              <xsl:choose>
+                <xsl:when test="$colspec/@colnum">
+                  <xsl:value-of select="$colspec/@colnum + 1"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="$colnum + 1"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:with-param>
+           </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="colspec.colwidth">
+  <!-- when this macro is called, the current context must be an entry -->
+  <xsl:param name="colname"/>
+  <!-- .. = row, ../.. = thead|tbody, ../../.. = tgroup -->
+  <xsl:param name="colspecs" select="../../../../tgroup/colspec"/>
+  <xsl:param name="count">1</xsl:param>
+  <xsl:choose>
+    <xsl:when test="$count&gt;count($colspecs)"/>
+    <xsl:otherwise>
+      <xsl:variable name="colspec" select="$colspecs[$count=position()]"/>
+      <xsl:choose>
+        <xsl:when test="$colspec/@colname=$colname">
+          <xsl:value-of select="$colspec/@colwidth"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="colspec.colwidth">
+            <xsl:with-param name="colname" select="$colname"/>
+            <xsl:with-param name="colspecs" select="$colspecs"/>
+            <xsl:with-param name="count" select="$count+1"/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="tr.attributes">
+  <xsl:param name="row" select="."/>
+  <xsl:param name="rownum" select="0"/>
+
+  <!-- by default, do nothing. But you might want to say:
+
+  <xsl:if test="$rownum mod 2 = 0">
+    <xsl:attribute name="class">oddrow</xsl:attribute>
+  </xsl:if>
+
+  -->
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/task.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/task.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/task.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: task.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="task">
+  <xsl:variable name="param.placement" select="substring-after(normalize-space($formal.title.placement),                                         concat(local-name(.), ' '))"/>
+
+  <xsl:variable name="placement">
+    <xsl:choose>
+      <xsl:when test="contains($param.placement, ' ')">
+        <xsl:value-of select="substring-before($param.placement, ' ')"/>
+      </xsl:when>
+      <xsl:when test="$param.placement = ''">before</xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$param.placement"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="preamble" select="*[not(self::title                               or self::titleabbrev)]"/>
+
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+
+    <xsl:if test="title and $placement = 'before'">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+
+    <xsl:apply-templates select="$preamble"/>
+
+    <xsl:if test="title and $placement != 'before'">
+      <xsl:call-template name="formal.object.heading"/>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="task/title">
+  <!-- nop -->
+</xsl:template>
+
+<xsl:template match="tasksummary">
+  <xsl:call-template name="semiformal.object"/>
+</xsl:template>
+
+<xsl:template match="tasksummary/title"/>
+
+<xsl:template match="taskprerequisites">
+  <xsl:call-template name="semiformal.object"/>
+</xsl:template>
+
+<xsl:template match="taskprerequisites/title"/>
+
+<xsl:template match="taskrelated">
+  <xsl:call-template name="semiformal.object"/>
+</xsl:template>
+
+<xsl:template match="taskrelated/title"/>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/titlepage.templates.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/titlepage.templates.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/titlepage.templates.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,3622 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" version="1.0" exclude-result-prefixes="exsl">
+
+<!-- This stylesheet was created by template/titlepage.xsl; do not edit it by hand. -->
+
+<xsl:template name="article.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="articleinfo/title">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/title"/>
+    </xsl:when>
+    <xsl:when test="artheader/title">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="articleinfo/subtitle">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="artheader/subtitle">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/corpauthor"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/corpauthor"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/authorgroup"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/authorgroup"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/author"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/author"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/othercredit"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/othercredit"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/releaseinfo"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/releaseinfo"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/copyright"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/copyright"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/legalnotice"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/legalnotice"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/pubdate"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/pubdate"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revision"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revision"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/revhistory"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/revhistory"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="articleinfo/abstract"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="artheader/abstract"/>
+  <xsl:apply-templates mode="article.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="article.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="article.titlepage.separator"><hr/>
+</xsl:template>
+
+<xsl:template name="article.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="article.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="article.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="article.titlepage.before.recto"/>
+      <xsl:call-template name="article.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="article.titlepage.before.verso"/>
+      <xsl:call-template name="article.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="article.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="article.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="article.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="article.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="article.titlepage.recto.style">
+<xsl:apply-templates select="." mode="article.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="set.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="setinfo/title">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="setinfo/subtitle">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/corpauthor"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/authorgroup"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/author"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/othercredit"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/releaseinfo"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/copyright"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/legalnotice"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/pubdate"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revision"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/revhistory"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="setinfo/abstract"/>
+  <xsl:apply-templates mode="set.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="set.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="set.titlepage.separator"><hr/>
+</xsl:template>
+
+<xsl:template name="set.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="set.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="set.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="set.titlepage.before.recto"/>
+      <xsl:call-template name="set.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="set.titlepage.before.verso"/>
+      <xsl:call-template name="set.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="set.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="set.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="set.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="set.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="set.titlepage.recto.style">
+<xsl:apply-templates select="." mode="set.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="book.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="bookinfo/title">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="bookinfo/subtitle">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/corpauthor"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/authorgroup"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/author"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/othercredit"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/releaseinfo"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/copyright"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/legalnotice"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/pubdate"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revision"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/revhistory"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="bookinfo/abstract"/>
+  <xsl:apply-templates mode="book.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="book.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="book.titlepage.separator"><hr/>
+</xsl:template>
+
+<xsl:template name="book.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="book.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="book.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="book.titlepage.before.recto"/>
+      <xsl:call-template name="book.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="book.titlepage.before.verso"/>
+      <xsl:call-template name="book.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="book.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="book.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="book.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="book.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="book.titlepage.recto.style">
+<xsl:apply-templates select="." mode="book.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="part.titlepage.recto">
+  <div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:call-template name="division.title">
+<xsl:with-param name="node" select="ancestor-or-self::part[1]"/>
+</xsl:call-template></div>
+  <xsl:choose>
+    <xsl:when test="partinfo/subtitle">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/corpauthor"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/authorgroup"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/author"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/othercredit"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/releaseinfo"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/copyright"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/legalnotice"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/pubdate"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revision"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/revhistory"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="partinfo/abstract"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="part.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="part.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="part.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="part.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="part.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="part.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="part.titlepage.before.recto"/>
+      <xsl:call-template name="part.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="part.titlepage.before.verso"/>
+      <xsl:call-template name="part.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="part.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="part.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="part.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="part.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="part.titlepage.recto.style">
+<xsl:apply-templates select="." mode="part.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="partintroinfo/title">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="partintroinfo/subtitle">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/corpauthor"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/authorgroup"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/author"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/othercredit"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/releaseinfo"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/copyright"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/legalnotice"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/pubdate"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revision"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/revhistory"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="partintroinfo/abstract"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="partintro.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="partintro.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="partintro.titlepage">
+  <div>
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="partintro.titlepage.before.recto"/>
+      <xsl:call-template name="partintro.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="partintro.titlepage.before.verso"/>
+      <xsl:call-template name="partintro.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="partintro.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="partintro.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="partintro.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="partintro.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="partintro.titlepage.recto.style">
+<xsl:apply-templates select="." mode="partintro.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="reference.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="referenceinfo/title">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="referenceinfo/subtitle">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/corpauthor"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/authorgroup"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/author"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/othercredit"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/releaseinfo"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/copyright"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/legalnotice"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/pubdate"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revision"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/revhistory"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="referenceinfo/abstract"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="reference.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="reference.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="reference.titlepage.separator"><hr/>
+</xsl:template>
+
+<xsl:template name="reference.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="reference.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="reference.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="reference.titlepage.before.recto"/>
+      <xsl:call-template name="reference.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="reference.titlepage.before.verso"/>
+      <xsl:call-template name="reference.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="reference.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="reference.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="reference.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="reference.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="reference.titlepage.recto.style">
+<xsl:apply-templates select="." mode="reference.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="refentry.titlepage.recto">
+</xsl:template>
+
+<xsl:template name="refentry.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="refentry.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="refentry.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="refentry.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="refentry.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="refentry.titlepage.before.recto"/>
+      <xsl:call-template name="refentry.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="refentry.titlepage.before.verso"/>
+      <xsl:call-template name="refentry.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="refentry.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="refentry.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="refentry.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.recto">
+  <div xsl:use-attribute-sets="dedication.titlepage.recto.style">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::dedication[1]"/>
+</xsl:call-template></div>
+  <xsl:choose>
+    <xsl:when test="dedicationinfo/subtitle">
+      <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="dedicationinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="dedication.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="dedication.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="dedication.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="dedication.titlepage.before.recto"/>
+      <xsl:call-template name="dedication.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="dedication.titlepage.before.verso"/>
+      <xsl:call-template name="dedication.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="dedication.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="dedication.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="dedication.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="dedication.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="dedication.titlepage.recto.style">
+<xsl:apply-templates select="." mode="dedication.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="preface.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="prefaceinfo/title">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="prefaceinfo/subtitle">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/corpauthor"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/authorgroup"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/author"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/othercredit"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/releaseinfo"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/copyright"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/legalnotice"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/pubdate"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revision"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/revhistory"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="prefaceinfo/abstract"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="preface.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="preface.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="preface.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="preface.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="preface.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="preface.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="preface.titlepage.before.recto"/>
+      <xsl:call-template name="preface.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="preface.titlepage.before.verso"/>
+      <xsl:call-template name="preface.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="preface.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="preface.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="preface.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="preface.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="preface.titlepage.recto.style">
+<xsl:apply-templates select="." mode="preface.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="chapterinfo/title">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="chapterinfo/subtitle">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/corpauthor"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/authorgroup"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/author"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/othercredit"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/releaseinfo"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/copyright"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/legalnotice"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/pubdate"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revision"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/revhistory"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="chapterinfo/abstract"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="chapter.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="chapter.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="chapter.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="chapter.titlepage.before.recto"/>
+      <xsl:call-template name="chapter.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="chapter.titlepage.before.verso"/>
+      <xsl:call-template name="chapter.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="chapter.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="chapter.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="chapter.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="chapter.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="chapter.titlepage.recto.style">
+<xsl:apply-templates select="." mode="chapter.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="appendixinfo/title">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="appendixinfo/subtitle">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/corpauthor"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/authorgroup"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/author"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/othercredit"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/releaseinfo"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/copyright"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/legalnotice"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/pubdate"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revision"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/revhistory"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="appendixinfo/abstract"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="appendix.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="appendix.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="appendix.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="appendix.titlepage.before.recto"/>
+      <xsl:call-template name="appendix.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="appendix.titlepage.before.verso"/>
+      <xsl:call-template name="appendix.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="appendix.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="appendix.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="appendix.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="appendix.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="appendix.titlepage.recto.style">
+<xsl:apply-templates select="." mode="appendix.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="section.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sectioninfo/title">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sectioninfo/subtitle">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/corpauthor"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/authorgroup"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/author"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/othercredit"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/releaseinfo"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/copyright"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/legalnotice"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/pubdate"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revision"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/revhistory"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="sectioninfo/abstract"/>
+  <xsl:apply-templates mode="section.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="section.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="section.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="section.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="section.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="section.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="section.titlepage.before.recto"/>
+      <xsl:call-template name="section.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="section.titlepage.before.verso"/>
+      <xsl:call-template name="section.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="section.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="section.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="section.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="section.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="section.titlepage.recto.style">
+<xsl:apply-templates select="." mode="section.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect1info/title">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect1info/subtitle">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/corpauthor"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/authorgroup"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/author"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/othercredit"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/releaseinfo"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/copyright"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/legalnotice"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/pubdate"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revision"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/revhistory"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="sect1info/abstract"/>
+  <xsl:apply-templates mode="sect1.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect1.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect1.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect1.titlepage.before.recto"/>
+      <xsl:call-template name="sect1.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect1.titlepage.before.verso"/>
+      <xsl:call-template name="sect1.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="sect1.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="sect1.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect1.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect1.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect1.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect1.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect2info/title">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect2info/subtitle">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/corpauthor"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/authorgroup"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/author"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/othercredit"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/releaseinfo"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/copyright"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/legalnotice"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/pubdate"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revision"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/revhistory"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="sect2info/abstract"/>
+  <xsl:apply-templates mode="sect2.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect2.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect2.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect2.titlepage.before.recto"/>
+      <xsl:call-template name="sect2.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect2.titlepage.before.verso"/>
+      <xsl:call-template name="sect2.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="sect2.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="sect2.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect2.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect2.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect2.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect2.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect3info/title">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect3info/subtitle">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/corpauthor"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/authorgroup"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/author"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/othercredit"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/releaseinfo"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/copyright"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/legalnotice"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/pubdate"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revision"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/revhistory"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="sect3info/abstract"/>
+  <xsl:apply-templates mode="sect3.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect3.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect3.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect3.titlepage.before.recto"/>
+      <xsl:call-template name="sect3.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect3.titlepage.before.verso"/>
+      <xsl:call-template name="sect3.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="sect3.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="sect3.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect3.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect3.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect3.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect3.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect4info/title">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect4info/subtitle">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/corpauthor"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/authorgroup"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/author"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/othercredit"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/releaseinfo"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/copyright"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/legalnotice"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/pubdate"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revision"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/revhistory"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="sect4info/abstract"/>
+  <xsl:apply-templates mode="sect4.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect4.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect4.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect4.titlepage.before.recto"/>
+      <xsl:call-template name="sect4.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect4.titlepage.before.verso"/>
+      <xsl:call-template name="sect4.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="sect4.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="sect4.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect4.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect4.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect4.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect4.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="sect5info/title">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="sect5info/subtitle">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/corpauthor"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/authorgroup"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/author"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/othercredit"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/releaseinfo"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/copyright"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/legalnotice"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/pubdate"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revision"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/revhistory"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="sect5info/abstract"/>
+  <xsl:apply-templates mode="sect5.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="sect5.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="sect5.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="sect5.titlepage.before.recto"/>
+      <xsl:call-template name="sect5.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="sect5.titlepage.before.verso"/>
+      <xsl:call-template name="sect5.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="sect5.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="sect5.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="sect5.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="sect5.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="sect5.titlepage.recto.style">
+<xsl:apply-templates select="." mode="sect5.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.recto">
+  <xsl:choose>
+    <xsl:when test="simplesectinfo/title">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/title"/>
+    </xsl:when>
+    <xsl:when test="docinfo/title">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/title"/>
+    </xsl:when>
+    <xsl:when test="info/title">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/title"/>
+    </xsl:when>
+    <xsl:when test="title">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="title"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:choose>
+    <xsl:when test="simplesectinfo/subtitle">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/corpauthor"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/corpauthor"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/corpauthor"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/authorgroup"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/authorgroup"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/authorgroup"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/author"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/author"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/author"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/othercredit"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/othercredit"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/othercredit"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/releaseinfo"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/releaseinfo"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/releaseinfo"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/copyright"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/copyright"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/copyright"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/legalnotice"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/legalnotice"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/legalnotice"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/pubdate"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/pubdate"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/pubdate"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revision"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revision"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revision"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/revhistory"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/revhistory"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/revhistory"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="simplesectinfo/abstract"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="docinfo/abstract"/>
+  <xsl:apply-templates mode="simplesect.titlepage.recto.auto.mode" select="info/abstract"/>
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.separator"><xsl:if test="count(parent::*)='0'"><hr/></xsl:if>
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="simplesect.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="simplesect.titlepage.before.recto"/>
+      <xsl:call-template name="simplesect.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="simplesect.titlepage.before.verso"/>
+      <xsl:call-template name="simplesect.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="simplesect.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="simplesect.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="simplesect.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="title" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="author" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="copyright" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revision" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template match="abstract" mode="simplesect.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="simplesect.titlepage.recto.style">
+<xsl:apply-templates select="." mode="simplesect.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.recto">
+  <div xsl:use-attribute-sets="bibliography.titlepage.recto.style">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::bibliography[1]"/>
+</xsl:call-template></div>
+  <xsl:choose>
+    <xsl:when test="bibliographyinfo/subtitle">
+      <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="bibliographyinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="bibliography.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="bibliography.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="bibliography.titlepage.before.recto"/>
+      <xsl:call-template name="bibliography.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="bibliography.titlepage.before.verso"/>
+      <xsl:call-template name="bibliography.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="bibliography.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="bibliography.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="bibliography.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="bibliography.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="bibliography.titlepage.recto.style">
+<xsl:apply-templates select="." mode="bibliography.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.recto">
+  <div xsl:use-attribute-sets="glossary.titlepage.recto.style">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::glossary[1]"/>
+</xsl:call-template></div>
+  <xsl:choose>
+    <xsl:when test="glossaryinfo/subtitle">
+      <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="glossaryinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="glossary.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="glossary.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="glossary.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="glossary.titlepage.before.recto"/>
+      <xsl:call-template name="glossary.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="glossary.titlepage.before.verso"/>
+      <xsl:call-template name="glossary.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="glossary.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="glossary.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="glossary.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="glossary.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="glossary.titlepage.recto.style">
+<xsl:apply-templates select="." mode="glossary.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="index.titlepage.recto">
+  <div xsl:use-attribute-sets="index.titlepage.recto.style">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::index[1]"/>
+</xsl:call-template></div>
+  <xsl:choose>
+    <xsl:when test="indexinfo/subtitle">
+      <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="indexinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="index.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="index.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="index.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="index.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="index.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="index.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="index.titlepage.before.recto"/>
+      <xsl:call-template name="index.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="index.titlepage.before.verso"/>
+      <xsl:call-template name="index.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="index.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="index.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="index.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="index.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="index.titlepage.recto.style">
+<xsl:apply-templates select="." mode="index.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.recto">
+  <div xsl:use-attribute-sets="setindex.titlepage.recto.style">
+<xsl:call-template name="component.title">
+<xsl:with-param name="node" select="ancestor-or-self::setindex[1]"/>
+</xsl:call-template></div>
+  <xsl:choose>
+    <xsl:when test="setindexinfo/subtitle">
+      <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="setindexinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="docinfo/subtitle">
+      <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="docinfo/subtitle"/>
+    </xsl:when>
+    <xsl:when test="info/subtitle">
+      <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="info/subtitle"/>
+    </xsl:when>
+    <xsl:when test="subtitle">
+      <xsl:apply-templates mode="setindex.titlepage.recto.auto.mode" select="subtitle"/>
+    </xsl:when>
+  </xsl:choose>
+
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.verso">
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.separator">
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.before.recto">
+</xsl:template>
+
+<xsl:template name="setindex.titlepage.before.verso">
+</xsl:template>
+
+<xsl:template name="setindex.titlepage">
+  <div class="titlepage">
+    <xsl:variable name="recto.content">
+      <xsl:call-template name="setindex.titlepage.before.recto"/>
+      <xsl:call-template name="setindex.titlepage.recto"/>
+    </xsl:variable>
+    <xsl:variable name="recto.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($recto.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($recto.content) != '') or ($recto.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$recto.content"/></div>
+    </xsl:if>
+    <xsl:variable name="verso.content">
+      <xsl:call-template name="setindex.titlepage.before.verso"/>
+      <xsl:call-template name="setindex.titlepage.verso"/>
+    </xsl:variable>
+    <xsl:variable name="verso.elements.count">
+      <xsl:choose>
+        <xsl:when test="function-available('exsl:node-set')"><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:when test="contains(system-property('xsl:vendor'), 'Apache Software Foundation')">
+          <!--Xalan quirk--><xsl:value-of select="count(exsl:node-set($verso.content)/*)"/></xsl:when>
+        <xsl:otherwise>1</xsl:otherwise>
+      </xsl:choose>
+    </xsl:variable>
+    <xsl:if test="(normalize-space($verso.content) != '') or ($verso.elements.count &gt; 0)">
+      <div><xsl:copy-of select="$verso.content"/></div>
+    </xsl:if>
+    <xsl:call-template name="setindex.titlepage.separator"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="*" mode="setindex.titlepage.recto.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="*" mode="setindex.titlepage.verso.mode">
+  <!-- if an element isn't found in this mode, -->
+  <!-- try the generic titlepage.mode -->
+  <xsl:apply-templates select="." mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="subtitle" mode="setindex.titlepage.recto.auto.mode">
+<div xsl:use-attribute-sets="setindex.titlepage.recto.style">
+<xsl:apply-templates select="." mode="setindex.titlepage.recto.mode"/>
+</div>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/titlepage.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/titlepage.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/titlepage.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,950 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: titlepage.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:attribute-set name="book.titlepage.recto.style"/>
+<xsl:attribute-set name="book.titlepage.verso.style"/>
+
+<xsl:attribute-set name="article.titlepage.recto.style"/>
+<xsl:attribute-set name="article.titlepage.verso.style"/>
+
+<xsl:attribute-set name="set.titlepage.recto.style"/>
+<xsl:attribute-set name="set.titlepage.verso.style"/>
+
+<xsl:attribute-set name="part.titlepage.recto.style"/>
+<xsl:attribute-set name="part.titlepage.verso.style"/>
+
+<xsl:attribute-set name="partintro.titlepage.recto.style"/>
+<xsl:attribute-set name="partintro.titlepage.verso.style"/>
+
+<xsl:attribute-set name="reference.titlepage.recto.style"/>
+<xsl:attribute-set name="reference.titlepage.verso.style"/>
+
+<xsl:attribute-set name="refentry.titlepage.recto.style"/>
+<xsl:attribute-set name="refentry.titlepage.verso.style"/>
+
+<xsl:attribute-set name="dedication.titlepage.recto.style"/>
+<xsl:attribute-set name="dedication.titlepage.verso.style"/>
+
+<xsl:attribute-set name="preface.titlepage.recto.style"/>
+<xsl:attribute-set name="preface.titlepage.verso.style"/>
+
+<xsl:attribute-set name="chapter.titlepage.recto.style"/>
+<xsl:attribute-set name="chapter.titlepage.verso.style"/>
+
+<xsl:attribute-set name="appendix.titlepage.recto.style"/>
+<xsl:attribute-set name="appendix.titlepage.verso.style"/>
+
+<xsl:attribute-set name="bibliography.titlepage.recto.style"/>
+<xsl:attribute-set name="bibliography.titlepage.verso.style"/>
+
+<xsl:attribute-set name="glossary.titlepage.recto.style"/>
+<xsl:attribute-set name="glossary.titlepage.verso.style"/>
+
+<xsl:attribute-set name="index.titlepage.recto.style"/>
+<xsl:attribute-set name="index.titlepage.verso.style"/>
+
+<xsl:attribute-set name="setindex.titlepage.recto.style"/>
+<xsl:attribute-set name="setindex.titlepage.verso.style"/>
+
+<xsl:attribute-set name="section.titlepage.recto.style"/>
+<xsl:attribute-set name="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect1.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect1.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect2.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect2.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect3.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect3.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect4.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect4.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="sect5.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="sect5.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="simplesect.titlepage.recto.style" use-attribute-sets="section.titlepage.recto.style"/>
+<xsl:attribute-set name="simplesect.titlepage.verso.style" use-attribute-sets="section.titlepage.verso.style"/>
+
+<xsl:attribute-set name="table.of.contents.titlepage.recto.style"/>
+<xsl:attribute-set name="table.of.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.tables.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.tables.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.figures.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.figures.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.equations.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.equations.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.examples.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.examples.contents.titlepage.verso.style"/>
+
+<xsl:attribute-set name="list.of.unknowns.titlepage.recto.style"/>
+<xsl:attribute-set name="list.of.unknowns.contents.titlepage.verso.style"/>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="titlepage.mode">
+  <!-- if an element isn't found in this mode, try the default mode -->
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="abbrev" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="abstract" mode="titlepage.mode">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:call-template name="formal.object.heading">
+      <xsl:with-param name="title">
+        <xsl:apply-templates select="." mode="title.markup"/>
+      </xsl:with-param>
+    </xsl:call-template>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="abstract/title" mode="titlepage.mode">
+</xsl:template>
+
+<xsl:template match="address" mode="titlepage.mode">
+  <xsl:param name="suppress-numbers" select="'0'"/>
+
+  <xsl:variable name="rtf">
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$suppress-numbers = '0'                     and @linenumbering = 'numbered'                     and $use.extensions != '0'                     and $linenumbering.extension != '0'">
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:call-template name="paragraph">
+          <xsl:with-param name="content">
+            <xsl:call-template name="number.rtf.lines">
+              <xsl:with-param name="rtf" select="$rtf"/>
+            </xsl:call-template>
+          </xsl:with-param>
+        </xsl:call-template>
+      </div>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:call-template name="paragraph">
+          <xsl:with-param name="content">
+            <xsl:call-template name="make-verbatim">
+              <xsl:with-param name="rtf" select="$rtf"/>
+            </xsl:call-template>
+          </xsl:with-param>
+        </xsl:call-template>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="affiliation" mode="titlepage.mode">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="artpagenums" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="author|editor" mode="titlepage.mode">
+  <xsl:call-template name="credits.div"/>
+</xsl:template>
+
+<xsl:template name="credits.div">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:if test="self::editor[position()=1] and not($editedby.enabled = 0)">
+      <h4 class="editedby"><xsl:call-template name="gentext.edited.by"/></h4>
+    </xsl:if>
+    <h3>
+      <xsl:apply-templates select="." mode="class.attribute"/>
+      <xsl:call-template name="person.name"/>
+    </h3>
+    <xsl:if test="not($contrib.inline.enabled = 0)">
+      <xsl:apply-templates mode="titlepage.mode" select="./contrib"/>
+    </xsl:if>
+    <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+    <xsl:apply-templates mode="titlepage.mode" select="./email"/>
+    <xsl:if test="not($blurb.on.titlepage.enabled = 0)">
+      <xsl:choose>
+        <xsl:when test="$contrib.inline.enabled = 0">
+          <xsl:apply-templates mode="titlepage.mode" select="./contrib|./authorblurb|./personblurb"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates mode="titlepage.mode" select="./authorblurb|./personblurb"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </div>
+</xsl:template>
+
+<xsl:template match="authorblurb|personblurb" mode="titlepage.mode">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="titlepage.mode">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="anchor"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="authorinitials" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="bibliomisc" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="bibliomset" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="collab" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="collabname" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confgroup" mode="titlepage.mode">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="confdates" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confsponsor" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="conftitle" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="confnum" mode="titlepage.mode">
+  <!-- suppress -->
+</xsl:template>
+
+<xsl:template match="contractnum" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contractsponsor" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="contrib" mode="titlepage.mode">
+  <xsl:choose>
+    <xsl:when test="not($contrib.inline.enabled = 0)">
+      <span>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <xsl:apply-templates mode="titlepage.mode"/>
+      </span>
+    </xsl:when>
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <p><xsl:apply-templates mode="titlepage.mode"/></p>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="copyright" mode="titlepage.mode">
+  <p>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'Copyright'"/>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="dingbat">
+      <xsl:with-param name="dingbat">copyright</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="copyright.years">
+      <xsl:with-param name="years" select="year"/>
+      <xsl:with-param name="print.ranges" select="$make.year.ranges"/>
+      <xsl:with-param name="single.year.ranges" select="$make.single.year.ranges"/>
+    </xsl:call-template>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:apply-templates select="holder" mode="titlepage.mode"/>
+  </p>
+</xsl:template>
+
+<xsl:template match="year" mode="titlepage.mode">
+  <xsl:choose>
+    <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+      <span class="{@revisionflag}">
+        <xsl:apply-templates mode="titlepage.mode"/>
+      </span>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="titlepage.mode"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="holder" mode="titlepage.mode">
+  <xsl:choose>
+    <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+      <span class="{@revisionflag}">
+        <xsl:apply-templates mode="titlepage.mode"/>
+      </span>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates mode="titlepage.mode"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:if test="position() &lt; last()">
+    <xsl:text>, </xsl:text>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="corpauthor" mode="titlepage.mode">
+  <h3>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </h3>
+</xsl:template>
+
+<xsl:template match="corpcredit" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="corpname" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="date" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="edition" mode="titlepage.mode">
+  <p>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <xsl:call-template name="gentext.space"/>
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key" select="'Edition'"/>
+    </xsl:call-template>
+  </p>
+</xsl:template>
+
+<xsl:template match="email" mode="titlepage.mode">
+  <!-- use the normal e-mail handling code -->
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="firstname" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="graphic" mode="titlepage.mode">
+  <!-- use the normal graphic handling code -->
+  <xsl:apply-templates select="."/>
+</xsl:template>
+
+<xsl:template match="honorific" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="isbn" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="issn" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="biblioid" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="itermset" mode="titlepage.mode">
+</xsl:template>
+
+<xsl:template match="invpartnumber" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="issuenum" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="jobtitle" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="keywordset" mode="titlepage.mode">
+</xsl:template>
+
+<xsl:template match="legalnotice" mode="titlepage.mode">
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+  <xsl:choose>
+    <xsl:when test="$generate.legalnotice.link != 0">
+      <xsl:variable name="filename">
+        <xsl:call-template name="make-relative-filename">
+          <xsl:with-param name="base.dir" select="$base.dir"/>
+	  <xsl:with-param name="base.name">
+            <xsl:apply-templates mode="chunk-filename" select="."/>
+	  </xsl:with-param>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="title">
+        <xsl:apply-templates select="." mode="title.markup"/>
+      </xsl:variable>
+
+      <xsl:variable name="href">
+        <xsl:apply-templates mode="chunk-filename" select="."/>
+      </xsl:variable>
+
+      <a href="{$href}">
+        <xsl:copy-of select="$title"/>
+      </a>
+
+      <xsl:call-template name="write.chunk">
+        <xsl:with-param name="filename" select="$filename"/>
+        <xsl:with-param name="quiet" select="$chunk.quietly"/>
+        <xsl:with-param name="content">
+        <xsl:call-template name="user.preroot"/>
+          <html>
+            <head>
+              <xsl:call-template name="system.head.content"/>
+              <xsl:call-template name="head.content"/>
+              <xsl:call-template name="user.head.content"/>
+            </head>
+            <body>
+              <xsl:call-template name="body.attributes"/>
+              <div>
+                <xsl:apply-templates select="." mode="class.attribute"/>
+                <xsl:apply-templates mode="titlepage.mode"/>
+              </div>
+            </body>
+          </html>
+          <xsl:value-of select="$chunk.append"/>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <a id="{$id}"/>
+        <xsl:apply-templates mode="titlepage.mode"/>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="legalnotice/title" mode="titlepage.mode">
+  <p class="legalnotice-title"><b><xsl:apply-templates/></b></p>
+</xsl:template>
+
+<xsl:template match="lineage" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="modespec" mode="titlepage.mode">
+</xsl:template>
+
+<xsl:template match="orgdiv" mode="titlepage.mode">
+  <xsl:if test="preceding-sibling::*[1][self::orgname]">
+    <xsl:text> </xsl:text>
+  </xsl:if>
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="orgname" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="titlepage.mode">
+<xsl:choose>
+  <xsl:when test="not($othercredit.like.author.enabled = 0)">
+  <xsl:variable name="contrib" select="string(contrib)"/>
+  <xsl:choose>
+    <xsl:when test="contrib">
+      <xsl:if test="not(preceding-sibling::othercredit[string(contrib)=$contrib])">
+        <xsl:call-template name="paragraph">
+          <xsl:with-param name="class" select="local-name(.)"/>
+          <xsl:with-param name="content">
+            <xsl:apply-templates mode="titlepage.mode" select="contrib"/>
+            <xsl:text>: </xsl:text>
+            <xsl:call-template name="person.name"/>
+            <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+            <xsl:apply-templates select="following-sibling::othercredit[string(contrib)=$contrib]" mode="titlepage.othercredits"/>
+          </xsl:with-param>
+        </xsl:call-template>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:call-template name="paragraph">
+        <xsl:with-param name="class" select="local-name(.)"/>
+        <xsl:with-param name="content">
+          <xsl:call-template name="person.name"/>
+        </xsl:with-param>
+      </xsl:call-template>
+      <xsl:apply-templates mode="titlepage.mode" select="./affiliation"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  </xsl:when>
+  <xsl:otherwise>
+    <xsl:call-template name="credits.div"/>
+  </xsl:otherwise>
+</xsl:choose>
+</xsl:template>
+
+<xsl:template match="othercredit" mode="titlepage.othercredits">
+  <xsl:text>, </xsl:text>
+  <xsl:call-template name="person.name"/>
+</xsl:template>
+
+<xsl:template match="othername" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pagenums" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="printhistory" mode="titlepage.mode">
+  <div>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </div>
+</xsl:template>
+
+<xsl:template match="productname" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="productnumber" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pubdate" mode="titlepage.mode">
+  <xsl:call-template name="paragraph">
+    <xsl:with-param name="class" select="local-name(.)"/>
+    <xsl:with-param name="content">
+      <xsl:apply-templates mode="titlepage.mode"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="publisher" mode="titlepage.mode">
+  <xsl:call-template name="paragraph">
+    <xsl:with-param name="class" select="local-name(.)"/>
+    <xsl:with-param name="content">
+      <xsl:apply-templates mode="titlepage.mode"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="publishername" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="pubsnumber" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="releaseinfo" mode="titlepage.mode">
+  <xsl:call-template name="paragraph">
+    <xsl:with-param name="class" select="local-name(.)"/>
+    <xsl:with-param name="content">
+      <xsl:apply-templates mode="titlepage.mode"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="revhistory" mode="titlepage.mode">
+  <xsl:variable name="numcols">
+    <xsl:choose>
+      <xsl:when test=".//authorinitials|.//author">3</xsl:when>
+      <xsl:otherwise>2</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="id"><xsl:call-template name="object.id"/></xsl:variable>
+
+  <xsl:variable name="title">
+    <xsl:call-template name="gentext">
+      <xsl:with-param name="key">RevHistory</xsl:with-param>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="contents">
+    <div>
+      <xsl:apply-templates select="." mode="class.attribute"/>
+      <table border="1" width="100%" summary="Revision history">
+        <tr>
+          <th align="left" valign="top" colspan="{$numcols}">
+            <b>
+              <xsl:call-template name="gentext">
+                <xsl:with-param name="key" select="'RevHistory'"/>
+              </xsl:call-template>
+            </b>
+          </th>
+        </tr>
+        <xsl:apply-templates mode="titlepage.mode">
+          <xsl:with-param name="numcols" select="$numcols"/>
+        </xsl:apply-templates>
+      </table>
+    </div>
+  </xsl:variable>
+  
+  <xsl:choose>
+    <xsl:when test="$generate.revhistory.link != 0">
+      <xsl:variable name="filename">
+        <xsl:call-template name="make-relative-filename">
+          <xsl:with-param name="base.dir" select="$base.dir"/>
+          <xsl:with-param name="base.name" select="concat($id,$html.ext)"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <a href="{concat($id,$html.ext)}">
+        <xsl:copy-of select="$title"/>
+      </a>
+
+      <xsl:call-template name="write.chunk">
+        <xsl:with-param name="filename" select="$filename"/>
+        <xsl:with-param name="quiet" select="$chunk.quietly"/>
+        <xsl:with-param name="content">
+        <xsl:call-template name="user.preroot"/>
+          <html>
+            <head>
+              <xsl:call-template name="system.head.content"/>
+              <xsl:call-template name="head.content">
+                <xsl:with-param name="title">
+                    <xsl:value-of select="$title"/>
+                    <xsl:if test="../../title">
+                        <xsl:value-of select="concat(' (', ../../title, ')')"/>
+                    </xsl:if>
+                </xsl:with-param>
+              </xsl:call-template>
+              <xsl:call-template name="user.head.content"/>
+            </head>
+            <body>
+              <xsl:call-template name="body.attributes"/>
+              <xsl:copy-of select="$contents"/>
+            </body>
+          </html>
+          <xsl:text>
+</xsl:text>
+        </xsl:with-param>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$contents"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="revhistory/revision" mode="titlepage.mode">
+  <xsl:param name="numcols" select="'3'"/>
+  <xsl:variable name="revnumber" select="revnumber"/>
+  <xsl:variable name="revdate" select="date"/>
+  <xsl:variable name="revauthor" select="authorinitials|author"/>
+  <xsl:variable name="revremark" select="revremark|revdescription"/>
+  <tr>
+    <td align="left">
+      <xsl:if test="$revnumber">
+        <xsl:call-template name="gentext">
+          <xsl:with-param name="key" select="'Revision'"/>
+        </xsl:call-template>
+        <xsl:call-template name="gentext.space"/>
+        <xsl:apply-templates select="$revnumber[1]" mode="titlepage.mode"/>
+      </xsl:if>
+    </td>
+    <td align="left">
+      <xsl:apply-templates select="$revdate[1]" mode="titlepage.mode"/>
+    </td>
+    <xsl:choose>
+      <xsl:when test="$revauthor">
+        <td align="left">
+          <xsl:for-each select="$revauthor">
+            <xsl:apply-templates select="." mode="titlepage.mode"/>
+            <xsl:if test="position() != last()">
+	      <xsl:text>, </xsl:text>
+	    </xsl:if>
+	  </xsl:for-each>
+        </td>
+      </xsl:when>
+      <xsl:when test="$numcols &gt; 2">
+        <td>&#160;</td>
+      </xsl:when>
+      <xsl:otherwise/>
+    </xsl:choose>
+  </tr>
+  <xsl:if test="$revremark">
+    <tr>
+      <td align="left" colspan="{$numcols}">
+        <xsl:apply-templates select="$revremark[1]" mode="titlepage.mode"/>
+      </td>
+    </tr>
+  </xsl:if>
+</xsl:template>
+
+<xsl:template match="revision/revnumber" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/date" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/authorinitials" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/author" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/revremark" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="revision/revdescription" mode="titlepage.mode">
+  <xsl:apply-templates mode="titlepage.mode"/>
+</xsl:template>
+
+<xsl:template match="seriesvolnums" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="shortaffil" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="subjectset" mode="titlepage.mode">
+</xsl:template>
+
+<xsl:template match="subtitle" mode="titlepage.mode">
+  <h2>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+  </h2>
+</xsl:template>
+
+<xsl:template match="surname" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<xsl:template match="title" mode="titlepage.mode">
+  <xsl:variable name="id">
+    <xsl:choose>
+      <!-- if title is in an *info wrapper, get the grandparent -->
+      <xsl:when test="contains(local-name(..), 'info')">
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select="../.."/>
+        </xsl:call-template>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:call-template name="object.id">
+          <xsl:with-param name="object" select=".."/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <h1>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <a id="{$id}"/>
+    <xsl:choose>
+      <xsl:when test="$show.revisionflag != 0 and @revisionflag">
+	<span class="{@revisionflag}">
+	  <xsl:apply-templates mode="titlepage.mode"/>
+	</span>
+      </xsl:when>
+      <xsl:otherwise>
+	<xsl:apply-templates mode="titlepage.mode"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </h1>
+</xsl:template>
+
+<xsl:template match="titleabbrev" mode="titlepage.mode">
+  <!-- nop; title abbreviations don't belong on the title page! -->
+</xsl:template>
+
+<xsl:template match="volumenum" mode="titlepage.mode">
+  <span>
+    <xsl:apply-templates select="." mode="class.attribute"/>
+    <xsl:apply-templates mode="titlepage.mode"/>
+    <br/>
+  </span>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/toc.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/toc.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/toc.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,163 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
+
+<!-- ********************************************************************
+     $Id: toc.xsl 1243 2002-03-14 18:43:42Z nwalsh $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="toc">
+  <xsl:choose>
+    <xsl:when test="*">
+      <xsl:if test="$process.source.toc != 0">
+        <!-- if the toc isn't empty, process it -->
+        <xsl:element name="{$toc.list.type}" namespace="http://www.w3.org/1999/xhtml">
+          <xsl:apply-templates/>
+        </xsl:element>
+      </xsl:if>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:if test="$process.empty.source.toc != 0">
+        <xsl:choose>
+          <xsl:when test="parent::section                           or parent::sect1                           or parent::sect2                           or parent::sect3                           or parent::sect4                           or parent::sect5">
+            <xsl:apply-templates select="parent::*" mode="toc.for.section"/>
+          </xsl:when>
+          <xsl:when test="parent::article">
+            <xsl:apply-templates select="parent::*" mode="toc.for.component"/>
+          </xsl:when>
+          <xsl:when test="parent::book                           or parent::part">
+            <xsl:apply-templates select="parent::*" mode="toc.for.division"/>
+          </xsl:when>
+          <xsl:when test="parent::set">
+            <xsl:apply-templates select="parent::*" mode="toc.for.set"/>
+          </xsl:when>
+          <!-- there aren't any other contexts that allow toc -->
+          <xsl:otherwise>
+            <xsl:message>
+              <xsl:text>I don't know how to make a TOC in this context!</xsl:text>
+            </xsl:message>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="tocpart|tocchap                      |toclevel1|toclevel2|toclevel3|toclevel4|toclevel5">
+  <xsl:variable name="sub-toc">
+    <xsl:if test="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5">
+      <xsl:choose>
+        <xsl:when test="$toc.list.type = 'dl'">
+          <dd>
+            <xsl:element name="{$toc.list.type}" namespace="http://www.w3.org/1999/xhtml">
+              <xsl:apply-templates select="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/>
+            </xsl:element>
+          </dd>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:element name="{$toc.list.type}" namespace="http://www.w3.org/1999/xhtml">
+            <xsl:apply-templates select="tocchap|toclevel1|toclevel2|toclevel3|toclevel4|toclevel5"/>
+          </xsl:element>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:if>
+  </xsl:variable>
+
+  <xsl:apply-templates select="tocentry[position() != last()]"/>
+
+  <xsl:choose>
+    <xsl:when test="$toc.list.type = 'dl'">
+      <dt>
+        <xsl:apply-templates select="tocentry[position() = last()]"/>
+      </dt>
+      <xsl:copy-of select="$sub-toc"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <li>
+        <xsl:apply-templates select="tocentry[position() = last()]"/>
+        <xsl:copy-of select="$sub-toc"/>
+      </li>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="tocentry|tocfront|tocback">
+  <xsl:choose>
+    <xsl:when test="$toc.list.type = 'dl'">
+      <dt>
+        <xsl:call-template name="tocentry-content"/>
+      </dt>
+    </xsl:when>
+    <xsl:otherwise>
+      <li>
+        <xsl:call-template name="tocentry-content"/>
+      </li>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="tocentry[position() = last()]" priority="2">
+  <xsl:call-template name="tocentry-content"/>
+</xsl:template>
+
+<xsl:template name="tocentry-content">
+  <xsl:variable name="targets" select="key('id', at linkend)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+
+  <xsl:choose>
+    <xsl:when test="@linkend">
+      <xsl:call-template name="check.id.unique">
+        <xsl:with-param name="linkend" select="@linkend"/>
+      </xsl:call-template>
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:apply-templates/>
+      </a>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="toc.for.section">
+  <xsl:call-template name="section.toc"/>
+</xsl:template>
+
+<xsl:template match="*" mode="toc.for.component">
+  <xsl:call-template name="component.toc"/>
+</xsl:template>
+
+<xsl:template match="*" mode="toc.for.section">
+  <xsl:call-template name="section.toc"/>
+</xsl:template>
+
+<xsl:template match="*" mode="toc.for.division">
+  <xsl:call-template name="division.toc"/>
+</xsl:template>
+
+<xsl:template match="*" mode="toc.for.set">
+  <xsl:call-template name="set.toc"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="lot|lotentry">
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/verbatim.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/verbatim.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/verbatim.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,357 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sverb="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.Verbatim" xmlns:xverb="xalan://com.nwalsh.xalan.Verbatim" xmlns:lxslt="http://xml.apache.org/xslt" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="sverb xverb lxslt exsl" version="1.0">
+
+<!-- ********************************************************************
+     $Id: verbatim.xsl 6434 2006-11-18 09:00:48Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<xsl:include href="../highlighting/common.xsl"/>
+<xsl:include href="highlight.xsl"/>
+
+<lxslt:component prefix="xverb" functions="numberLines"/>
+
+<xsl:template match="programlisting|screen|synopsis">
+  <xsl:param name="suppress-numbers" select="'0'"/>
+  <xsl:variable name="id">
+    <xsl:call-template name="object.id"/>
+  </xsl:variable>
+
+  <xsl:call-template name="anchor"/>
+
+  <xsl:if test="$shade.verbatim != 0">
+    <xsl:message>
+      <xsl:text>The shade.verbatim parameter is deprecated. </xsl:text>
+      <xsl:text>Use CSS instead,</xsl:text>
+    </xsl:message>
+    <xsl:message>
+      <xsl:text>for example: pre.</xsl:text>
+      <xsl:value-of select="local-name(.)"/>
+      <xsl:text> { background-color: #E0E0E0; }</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="$suppress-numbers = '0'       and @linenumbering = 'numbered'       and $use.extensions != '0'       and $linenumbering.extension != '0'">
+      <xsl:variable name="rtf">
+	<xsl:call-template name="apply-highlighting"/>
+      </xsl:variable>
+      <pre>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+	<xsl:call-template name="number.rtf.lines">
+	  <xsl:with-param name="rtf" select="$rtf"/>
+	</xsl:call-template>
+      </pre>
+    </xsl:when>
+    <xsl:otherwise>
+      <pre>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+	<xsl:call-template name="apply-highlighting"/>
+      </pre>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="literallayout">
+  <xsl:param name="suppress-numbers" select="'0'"/>
+
+  <xsl:variable name="rtf">
+    <xsl:apply-templates/>
+  </xsl:variable>
+
+  <xsl:if test="$shade.verbatim != 0 and @class='monospaced'">
+    <xsl:message>
+      <xsl:text>The shade.verbatim parameter is deprecated. </xsl:text>
+      <xsl:text>Use CSS instead,</xsl:text>
+    </xsl:message>
+    <xsl:message>
+      <xsl:text>for example: pre.</xsl:text>
+      <xsl:value-of select="local-name(.)"/>
+      <xsl:text> { background-color: #E0E0E0; }</xsl:text>
+    </xsl:message>
+  </xsl:if>
+
+  <xsl:choose>
+    <xsl:when test="$suppress-numbers = '0'       and @linenumbering = 'numbered'       and $use.extensions != '0'       and $linenumbering.extension != '0'">
+      <xsl:choose>
+	<xsl:when test="@class='monospaced'">
+          <pre>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+	    <xsl:call-template name="number.rtf.lines">
+	      <xsl:with-param name="rtf" select="$rtf"/>
+	    </xsl:call-template>
+	  </pre>
+	</xsl:when>
+	<xsl:otherwise>
+          <div>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+	    <p>
+	      <xsl:call-template name="number.rtf.lines">
+		<xsl:with-param name="rtf" select="$rtf"/>
+	      </xsl:call-template>
+	    </p>
+	  </div>
+	</xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+	<xsl:when test="@class='monospaced'">
+          <pre>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+	    <xsl:copy-of select="$rtf"/>
+	  </pre>
+	</xsl:when>
+	<xsl:otherwise>
+          <div>
+            <xsl:apply-templates select="." mode="class.attribute"/>
+	    <p>
+	      <xsl:call-template name="make-verbatim">
+		<xsl:with-param name="rtf" select="$rtf"/>
+	      </xsl:call-template>
+	    </p>
+	  </div>
+	</xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="address">
+  <xsl:param name="suppress-numbers" select="'0'"/>
+
+  <xsl:variable name="rtf">
+    <xsl:apply-templates/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$suppress-numbers = '0'                     and @linenumbering = 'numbered'                     and $use.extensions != '0'                     and $linenumbering.extension != '0'">
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <p>
+          <xsl:call-template name="number.rtf.lines">
+            <xsl:with-param name="rtf" select="$rtf"/>
+          </xsl:call-template>
+        </p>
+      </div>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <div>
+        <xsl:apply-templates select="." mode="class.attribute"/>
+        <p>
+          <xsl:call-template name="make-verbatim">
+            <xsl:with-param name="rtf" select="$rtf"/>
+          </xsl:call-template>
+        </p>
+      </div>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="number.rtf.lines">
+  <xsl:param name="rtf" select="''"/>
+  <xsl:param name="pi.context" select="."/>
+
+  <!-- Save the global values -->
+  <xsl:variable name="global.linenumbering.everyNth" select="$linenumbering.everyNth"/>
+
+  <xsl:variable name="global.linenumbering.separator" select="$linenumbering.separator"/>
+
+  <xsl:variable name="global.linenumbering.width" select="$linenumbering.width"/>
+
+  <!-- Extract the <?dbhtml linenumbering.*?> PI values -->
+  <xsl:variable name="pi.linenumbering.everyNth">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="$pi.context/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'linenumbering.everyNth'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="pi.linenumbering.separator">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="$pi.context/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'linenumbering.separator'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:variable name="pi.linenumbering.width">
+    <xsl:call-template name="dbhtml-attribute">
+      <xsl:with-param name="pis" select="$pi.context/processing-instruction('dbhtml')"/>
+      <xsl:with-param name="attribute" select="'linenumbering.width'"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <!-- Construct the 'in-context' values -->
+  <xsl:variable name="linenumbering.everyNth">
+    <xsl:choose>
+      <xsl:when test="$pi.linenumbering.everyNth != ''">
+        <xsl:value-of select="$pi.linenumbering.everyNth"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$global.linenumbering.everyNth"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="linenumbering.separator">
+    <xsl:choose>
+      <xsl:when test="$pi.linenumbering.separator != ''">
+        <xsl:value-of select="$pi.linenumbering.separator"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$global.linenumbering.separator"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="linenumbering.width">
+    <xsl:choose>
+      <xsl:when test="$pi.linenumbering.width != ''">
+        <xsl:value-of select="$pi.linenumbering.width"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$global.linenumbering.width"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="linenumbering.startinglinenumber">
+    <xsl:choose>
+      <xsl:when test="$pi.context/@startinglinenumber">
+        <xsl:value-of select="$pi.context/@startinglinenumber"/>
+      </xsl:when>
+      <xsl:when test="$pi.context/@continuation='continues'">
+        <xsl:variable name="lastLine">
+          <xsl:choose>
+            <xsl:when test="$pi.context/self::programlisting">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings" select="preceding::programlisting[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$pi.context/self::screen">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings" select="preceding::screen[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$pi.context/self::literallayout">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings" select="preceding::literallayout[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$pi.context/self::address">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings" select="preceding::address[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:when test="$pi.context/self::synopsis">
+              <xsl:call-template name="lastLineNumber">
+                <xsl:with-param name="listings" select="preceding::synopsis[@linenumbering='numbered']"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message>
+                <xsl:text>Unexpected verbatim environment: </xsl:text>
+                <xsl:value-of select="local-name($pi.context)"/>
+              </xsl:message>
+              <xsl:value-of select="0"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+
+        <xsl:value-of select="$lastLine + 1"/>
+      </xsl:when>
+      <xsl:otherwise>1</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('sverb:numberLines')">
+      <xsl:copy-of select="sverb:numberLines($rtf)"/>
+    </xsl:when>
+    <xsl:when test="function-available('xverb:numberLines')">
+      <xsl:copy-of select="xverb:numberLines($rtf)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:message terminate="yes">
+        <xsl:text>No numberLines function available.</xsl:text>
+      </xsl:message>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="make-verbatim">
+  <xsl:param name="rtf"/>
+
+  <!-- I want to make this RTF verbatim. There are two possibilities: either
+       I have access to the exsl:node-set extension function and I can "do it right"
+       or I have to rely on CSS. -->
+
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set')">
+      <xsl:apply-templates select="exsl:node-set($rtf)" mode="make.verbatim.mode"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <span style="white-space: pre;">
+        <xsl:copy-of select="$rtf"/>
+      </span>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ======================================================================== -->
+
+<xsl:template name="lastLineNumber">
+  <xsl:param name="listings"/>
+  <xsl:param name="number" select="0"/>
+
+  <xsl:variable name="lines">
+    <xsl:call-template name="countLines">
+      <xsl:with-param name="listing" select="string($listings[1])"/>
+    </xsl:call-template>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="not($listings)">
+      <xsl:value-of select="$number"/>
+    </xsl:when>
+    <xsl:when test="$listings[1]/@startinglinenumber">
+      <xsl:value-of select="$number + $listings[1]/@startinglinenumber + $lines - 1"/>
+    </xsl:when>
+    <xsl:when test="$listings[1]/@continuation='continues'">
+      <xsl:call-template name="lastLineNumber">
+        <xsl:with-param name="listings" select="listings[position() &gt; 1]"/>
+        <xsl:with-param name="number" select="$number + $lines"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$lines"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template name="countLines">
+  <xsl:param name="listing"/>
+  <xsl:param name="count" select="1"/>
+
+  <xsl:choose>
+    <xsl:when test="contains($listing, '&#xA;')">
+      <xsl:call-template name="countLines">
+        <xsl:with-param name="listing" select="substring-after($listing, '&#xA;')"/>
+        <xsl:with-param name="count" select="$count + 1"/>
+      </xsl:call-template>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:value-of select="$count"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/docbook/src/main/resources/xhtml/xref.xsl
===================================================================
--- trunk/docs/docbook/src/main/resources/xhtml/xref.xsl	                        (rev 0)
+++ trunk/docs/docbook/src/main/resources/xhtml/xref.xsl	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,1242 @@
+<?xml version="1.0" encoding="US-ASCII"?>
+<!--This file was created automatically by html2xhtml-->
+<!--from the HTML stylesheets. Do not edit this file.-->
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:suwl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.UnwrapLinks" xmlns:exsl="http://exslt.org/common" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="suwl exsl" version="1.0">
+
+<!-- ********************************************************************
+     $Id: xref.xsl 6422 2006-11-17 08:22:56Z bobstayton $
+     ********************************************************************
+
+     This file is part of the XSL DocBook Stylesheet distribution.
+     See ../README or http://nwalsh.com/docbook/xsl/ for copyright
+     and other information.
+
+     ******************************************************************** -->
+
+<!-- ==================================================================== -->
+
+<xsl:template match="anchor">
+  <xsl:call-template name="anchor"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="xref" name="xref">
+  <xsl:param name="xhref" select="@xlink:href"/>
+  <!-- is the @xlink:href a local idref link? -->
+  <xsl:param name="xlink.idref">
+    <xsl:if test="starts-with($xhref,'#')                   and (not(contains($xhref,'('))                   or starts-with($xhref, '#xpointer(id('))">
+      <xsl:call-template name="xpointer.idref">
+        <xsl:with-param name="xpointer" select="$xhref"/>
+      </xsl:call-template>
+   </xsl:if>
+  </xsl:param>
+  <xsl:param name="xlink.targets" select="key('id',$xlink.idref)"/>
+  <xsl:param name="linkend.targets" select="key('id', at linkend)"/>
+  <xsl:param name="target" select="($xlink.targets | $linkend.targets)[1]"/>
+
+  <xsl:variable name="xrefstyle">
+    <xsl:choose>
+      <xsl:when test="@role and not(@xrefstyle)                        and $use.role.as.xrefstyle != 0">
+        <xsl:value-of select="@role"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="@xrefstyle"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="anchor"/>
+
+  <xsl:variable name="content">
+    <xsl:choose>
+  
+      <xsl:when test="@endterm">
+        <xsl:variable name="etargets" select="key('id', at endterm)"/>
+        <xsl:variable name="etarget" select="$etargets[1]"/>
+        <xsl:choose>
+          <xsl:when test="count($etarget) = 0">
+            <xsl:message>
+              <xsl:value-of select="count($etargets)"/>
+              <xsl:text>Endterm points to nonexistent ID: </xsl:text>
+              <xsl:value-of select="@endterm"/>
+            </xsl:message>
+            <xsl:text>???</xsl:text>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:apply-templates select="$etarget" mode="endterm"/>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+  
+      <xsl:when test="$target/@xreflabel">
+        <xsl:call-template name="xref.xreflabel">
+          <xsl:with-param name="target" select="$target"/>
+        </xsl:call-template>
+      </xsl:when>
+  
+      <xsl:when test="$target">
+        <xsl:if test="not(parent::citation)">
+          <xsl:apply-templates select="$target" mode="xref-to-prefix"/>
+        </xsl:if>
+  
+        <xsl:apply-templates select="$target" mode="xref-to">
+          <xsl:with-param name="referrer" select="."/>
+          <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+        </xsl:apply-templates>
+  
+        <xsl:if test="not(parent::citation)">
+          <xsl:apply-templates select="$target" mode="xref-to-suffix"/>
+        </xsl:if>
+      </xsl:when>
+
+      <xsl:otherwise>
+        <xsl:message>
+          <xsl:text>ERROR: xref linking to </xsl:text>
+          <xsl:value-of select="@linkend|@xlink:href"/>
+          <xsl:text> has no generated link text.</xsl:text>
+        </xsl:message>
+        <xsl:text>???</xsl:text>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="content" select="$content"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<!-- biblioref handled largely like an xref -->
+<!-- To be done: add support for begin, end, and units attributes -->
+<xsl:template match="biblioref">
+  <xsl:variable name="targets" select="key('id', at linkend)"/>
+  <xsl:variable name="target" select="$targets[1]"/>
+  <xsl:variable name="refelem" select="local-name($target)"/>
+
+  <xsl:call-template name="check.id.unique">
+    <xsl:with-param name="linkend" select="@linkend"/>
+  </xsl:call-template>
+
+  <xsl:call-template name="anchor"/>
+
+  <xsl:choose>
+    <xsl:when test="count($target) = 0">
+      <xsl:message>
+        <xsl:text>XRef to nonexistent id: </xsl:text>
+        <xsl:value-of select="@linkend"/>
+      </xsl:message>
+      <xsl:text>???</xsl:text>
+    </xsl:when>
+
+    <xsl:when test="@endterm">
+      <xsl:variable name="href">
+        <xsl:call-template name="href.target">
+          <xsl:with-param name="object" select="$target"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="etargets" select="key('id', at endterm)"/>
+      <xsl:variable name="etarget" select="$etargets[1]"/>
+      <xsl:choose>
+        <xsl:when test="count($etarget) = 0">
+          <xsl:message>
+            <xsl:value-of select="count($etargets)"/>
+            <xsl:text>Endterm points to nonexistent ID: </xsl:text>
+            <xsl:value-of select="@endterm"/>
+          </xsl:message>
+          <a href="{$href}">
+            <xsl:text>???</xsl:text>
+          </a>
+        </xsl:when>
+        <xsl:otherwise>
+          <a href="{$href}">
+            <xsl:apply-templates select="$etarget" mode="endterm"/>
+          </a>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+
+    <xsl:when test="$target/@xreflabel">
+      <a>
+        <xsl:attribute name="href">
+          <xsl:call-template name="href.target">
+            <xsl:with-param name="object" select="$target"/>
+          </xsl:call-template>
+        </xsl:attribute>
+        <xsl:call-template name="xref.xreflabel">
+          <xsl:with-param name="target" select="$target"/>
+        </xsl:call-template>
+      </a>
+    </xsl:when>
+
+    <xsl:otherwise>
+      <xsl:variable name="href">
+        <xsl:call-template name="href.target">
+          <xsl:with-param name="object" select="$target"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:if test="not(parent::citation)">
+        <xsl:apply-templates select="$target" mode="xref-to-prefix"/>
+      </xsl:if>
+
+      <a href="{$href}">
+        <xsl:if test="$target/title or $target/*/title">
+          <xsl:attribute name="title">
+            <xsl:apply-templates select="$target" mode="xref-title"/>
+          </xsl:attribute>
+        </xsl:if>
+        <xsl:apply-templates select="$target" mode="xref-to">
+          <xsl:with-param name="referrer" select="."/>
+          <xsl:with-param name="xrefstyle">
+            <xsl:choose>
+              <xsl:when test="@role and not(@xrefstyle) and $use.role.as.xrefstyle != 0">
+                <xsl:value-of select="@role"/>
+              </xsl:when>
+              <xsl:otherwise>
+                <xsl:value-of select="@xrefstyle"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:with-param>
+        </xsl:apply-templates>
+      </a>
+
+      <xsl:if test="not(parent::citation)">
+        <xsl:apply-templates select="$target" mode="xref-to-suffix"/>
+      </xsl:if>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="endterm">
+  <!-- Process the children of the endterm element -->
+  <xsl:variable name="endterm">
+    <xsl:apply-templates select="child::node()"/>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('exsl:node-set')">
+      <xsl:apply-templates select="exsl:node-set($endterm)" mode="remove-ids"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$endterm"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="remove-ids">
+  <xsl:choose>
+    <!-- handle html or xhtml -->
+    <xsl:when test="local-name(.) = 'a'                     and (namespace-uri(.) = ''                          or namespace-uri(.) = 'http://www.w3.org/1999/xhtml')">
+      <xsl:choose>
+        <xsl:when test="(@name and count(@*) = 1)                         or (@id and count(@*) = 1)                         or (@xml:id and count(@*) = 1)                         or (@xml:id and @name and count(@*) = 2)                         or (@id and @name and count(@*) = 2)">
+          <xsl:message>suppress anchor</xsl:message>
+          <!-- suppress the whole thing -->
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:copy>
+            <xsl:for-each select="@*">
+              <xsl:choose>
+                <xsl:when test="local-name(.) != 'name' and local-name(.) != 'id'">
+                  <xsl:copy/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:message>removing <xsl:value-of select="local-name(.)"/></xsl:message>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:for-each>
+          </xsl:copy>
+          <xsl:apply-templates mode="remove-ids"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy>
+        <xsl:for-each select="@*">
+          <xsl:choose>
+            <xsl:when test="local-name(.) != 'id'">
+              <xsl:copy/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:message>removing <xsl:value-of select="local-name(.)"/></xsl:message>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:for-each>
+        <xsl:apply-templates mode="remove-ids"/>
+      </xsl:copy>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="xref-to-prefix"/>
+<xsl:template match="*" mode="xref-to-suffix"/>
+
+<xsl:template match="*" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:if test="$verbose">
+    <xsl:message>
+      <xsl:text>Don't know what gentext to create for xref to: "</xsl:text>
+      <xsl:value-of select="name(.)"/>
+      <xsl:text>", ("</xsl:text>
+      <xsl:value-of select="(@id|@xml:id)[1]"/>
+      <xsl:text>")</xsl:text>
+    </xsl:message>
+  </xsl:if>
+  <xsl:text>???</xsl:text>
+</xsl:template>
+
+<xsl:template match="title" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <!-- if you xref to a title, xref to the parent... -->
+  <xsl:choose>
+    <!-- FIXME: how reliable is this? -->
+    <xsl:when test="contains(local-name(parent::*), 'info')">
+      <xsl:apply-templates select="parent::*[2]" mode="xref-to">
+        <xsl:with-param name="referrer" select="$referrer"/>
+        <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+        <xsl:with-param name="verbose" select="$verbose"/>
+      </xsl:apply-templates>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="parent::*" mode="xref-to">
+        <xsl:with-param name="referrer" select="$referrer"/>
+        <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+        <xsl:with-param name="verbose" select="$verbose"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="abstract|authorblurb|personblurb|bibliodiv|bibliomset                      |biblioset|blockquote|calloutlist|caution|colophon                      |constraintdef|formalpara|glossdiv|important|indexdiv                      |itemizedlist|legalnotice|lot|msg|msgexplan|msgmain                      |msgrel|msgset|msgsub|note|orderedlist|partintro                      |productionset|qandadiv|refsynopsisdiv|segmentedlist                      |set|setindex|sidebar|tip|toc|variablelist|warning" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <!-- catch-all for things with (possibly optional) titles -->
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="author|editor|othercredit|personname" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:call-template name="person.name"/>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:call-template name="person.name.list"/>
+</xsl:template>
+
+<xsl:template match="figure|example|table|equation" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="procedure" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="task" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis" mode="xref-to">
+  <xsl:apply-templates select="(.//command)[1]" mode="xref"/>
+</xsl:template>
+
+<xsl:template match="funcsynopsis" mode="xref-to">
+  <xsl:apply-templates select="(.//function)[1]" mode="xref"/>
+</xsl:template>
+
+<xsl:template match="dedication|preface|chapter|appendix|article" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="bibliography" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="biblioentry|bibliomixed" mode="xref-to-prefix">
+  <xsl:text>[</xsl:text>
+</xsl:template>
+
+<xsl:template match="biblioentry|bibliomixed" mode="xref-to-suffix">
+  <xsl:text>]</xsl:text>
+</xsl:template>
+
+<xsl:template match="biblioentry|bibliomixed" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <!-- handles both biblioentry and bibliomixed -->
+  <xsl:choose>
+    <xsl:when test="string(.) = ''">
+      <xsl:variable name="bib" select="document($bibliography.collection,.)"/>
+      <xsl:variable name="id" select="(@id|@xml:id)[1]"/>
+      <xsl:variable name="entry" select="$bib/bibliography/                                     *[@id=$id or @xml:id=$id][1]"/>
+      <xsl:choose>
+        <xsl:when test="$entry">
+          <xsl:choose>
+            <xsl:when test="$bibliography.numbered != 0">
+              <xsl:number from="bibliography" count="biblioentry|bibliomixed" level="any" format="1"/>
+            </xsl:when>
+            <xsl:when test="local-name($entry/*[1]) = 'abbrev'">
+              <xsl:apply-templates select="$entry/*[1]"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="(@id|@xml:id)[1]"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:message>
+            <xsl:text>No bibliography entry: </xsl:text>
+            <xsl:value-of select="$id"/>
+            <xsl:text> found in </xsl:text>
+            <xsl:value-of select="$bibliography.collection"/>
+          </xsl:message>
+          <xsl:value-of select="(@id|@xml:id)[1]"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:choose>
+        <xsl:when test="$bibliography.numbered != 0">
+          <xsl:number from="bibliography" count="biblioentry|bibliomixed" level="any" format="1"/>
+        </xsl:when>
+        <xsl:when test="local-name(*[1]) = 'abbrev'">
+          <xsl:apply-templates select="*[1]"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:value-of select="(@id|@xml:id)[1]"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="glossary" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="glossentry" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+  <xsl:choose>
+    <xsl:when test="$glossentry.show.acronym = 'primary'">
+      <xsl:choose>
+        <xsl:when test="acronym|abbrev">
+          <xsl:apply-templates select="(acronym|abbrev)[1]"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates select="glossterm[1]" mode="xref-to">
+            <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+            <xsl:with-param name="referrer" select="$referrer"/>
+            <xsl:with-param name="verbose" select="$verbose"/>
+          </xsl:apply-templates>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="glossterm[1]" mode="xref-to">
+        <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+        <xsl:with-param name="referrer" select="$referrer"/>
+        <xsl:with-param name="verbose" select="$verbose"/>
+      </xsl:apply-templates>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="glossterm" mode="xref-to">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="index" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="listitem" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="section|simplesect                      |sect1|sect2|sect3|sect4|sect5                      |refsect1|refsect2|refsect3|refsection" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+  <!-- FIXME: What about "in Chapter X"? -->
+</xsl:template>
+
+<xsl:template match="bridgehead" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+  <!-- FIXME: What about "in Chapter X"? -->
+</xsl:template>
+
+<xsl:template match="qandaset" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="qandadiv" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="qandaentry" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="question[1]" mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="question|answer" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="part|reference" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="refentry" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:choose>
+    <xsl:when test="refmeta/refentrytitle">
+      <xsl:apply-templates select="refmeta/refentrytitle"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:apply-templates select="refnamediv/refname[1]"/>
+    </xsl:otherwise>
+  </xsl:choose>
+  <xsl:apply-templates select="refmeta/manvolnum"/>
+</xsl:template>
+
+<xsl:template match="refnamediv" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="refname[1]" mode="xref-to">
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="refname" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates mode="xref-to"/>
+</xsl:template>
+
+<xsl:template match="step" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'Step'"/>
+  </xsl:call-template>
+  <xsl:text> </xsl:text>
+  <xsl:apply-templates select="." mode="number"/>
+</xsl:template>
+
+<xsl:template match="varlistentry" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="term[1]" mode="xref-to">
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="varlistentry/term" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <!-- to avoid the comma that will be generated if there are several terms -->
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="co" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:apply-templates select="." mode="callout-bug"/>
+</xsl:template>
+
+<!-- This is currently not working, because there is no corresponding ID generated by Java extensions for processing callouts
+<xsl:template match="area|areaset" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+
+  <xsl:call-template name="callout-bug">
+    <xsl:with-param name="conum">
+      <xsl:apply-templates select="." mode="conumber"/>
+    </xsl:with-param>
+  </xsl:call-template>
+</xsl:template>
+-->
+
+<xsl:template match="book" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:apply-templates select="." mode="object.xref.markup">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<xsl:template match="para" mode="xref-to">
+  <xsl:param name="referrer"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="verbose" select="1"/>
+
+  <xsl:variable name="context" select="(ancestor::simplesect                                        |ancestor::section                                        |ancestor::sect1                                        |ancestor::sect2                                        |ancestor::sect3                                        |ancestor::sect4                                        |ancestor::sect5                                        |ancestor::refsection                                        |ancestor::refsect1                                        |ancestor::refsect2                                        |ancestor::refsect3                                        |ancestor::chapter                                        |ancestor::appendix                                        |ancestor::preface                                        |ancestor::partintro                                        |ancestor::dedication                                        |ancestor::colop!
 hon                                        |ancestor::bibliography                                        |ancestor::index                                        |ancestor::glossary                                        |ancestor::glossentry                                        |ancestor::listitem                                        |ancestor::varlistentry)[last()]"/>
+
+  <xsl:apply-templates select="$context" mode="xref-to">
+    <xsl:with-param name="purpose" select="'xref'"/>
+    <xsl:with-param name="xrefstyle" select="$xrefstyle"/>
+    <xsl:with-param name="referrer" select="$referrer"/>
+    <xsl:with-param name="verbose" select="$verbose"/>
+  </xsl:apply-templates>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="xref-title">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="object.title.markup"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="author" mode="xref-title">
+  <xsl:variable name="title">
+    <xsl:call-template name="person.name"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="authorgroup" mode="xref-title">
+  <xsl:variable name="title">
+    <xsl:call-template name="person.name.list"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="cmdsynopsis" mode="xref-title">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="(.//command)[1]" mode="xref"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="funcsynopsis" mode="xref-title">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="(.//function)[1]" mode="xref"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="biblioentry|bibliomixed" mode="xref-title">
+  <!-- handles both biblioentry and bibliomixed -->
+  <xsl:variable name="title">
+    <xsl:text>[</xsl:text>
+    <xsl:choose>
+      <xsl:when test="local-name(*[1]) = 'abbrev'">
+        <xsl:apply-templates select="*[1]"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="(@id|@xml:id)[1]"/>
+      </xsl:otherwise>
+    </xsl:choose>
+    <xsl:text>]</xsl:text>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<xsl:template match="step" mode="xref-title">
+  <xsl:call-template name="gentext">
+    <xsl:with-param name="key" select="'Step'"/>
+  </xsl:call-template>
+  <xsl:text> </xsl:text>
+  <xsl:apply-templates select="." mode="number"/>
+</xsl:template>
+
+<xsl:template match="co" mode="xref-title">
+  <xsl:variable name="title">
+    <xsl:apply-templates select="." mode="callout-bug"/>
+  </xsl:variable>
+
+  <xsl:value-of select="$title"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="link" name="link">
+  <xsl:param name="linkend" select="@linkend"/>
+  <xsl:param name="a.target"/>
+
+  <xsl:variable name="content">
+    <xsl:call-template name="anchor"/>
+    <xsl:choose>
+      <xsl:when test="count(child::node()) &gt; 0">
+        <!-- If it has content, use it -->
+        <xsl:apply-templates/>
+      </xsl:when>
+      <xsl:otherwise>
+        <!-- else look for an endterm -->
+        <xsl:choose>
+          <xsl:when test="@endterm">
+            <xsl:variable name="etargets" select="key('id', at endterm)"/>
+            <xsl:variable name="etarget" select="$etargets[1]"/>
+            <xsl:choose>
+              <xsl:when test="count($etarget) = 0">
+                <xsl:message>
+                  <xsl:value-of select="count($etargets)"/>
+                  <xsl:text>Endterm points to nonexistent ID: </xsl:text>
+                  <xsl:value-of select="@endterm"/>
+                </xsl:message>
+                <xsl:text>???</xsl:text>
+              </xsl:when>
+              <xsl:otherwise>
+                  <xsl:apply-templates select="$etarget" mode="endterm"/>
+              </xsl:otherwise>
+            </xsl:choose>
+          </xsl:when>
+
+          <xsl:otherwise>
+            <xsl:message>
+              <xsl:text>Link element has no content and no Endterm. </xsl:text>
+              <xsl:text>Nothing to show in the link to </xsl:text>
+              <xsl:value-of select="(@xlink:href|@linkend)[1]"/>
+            </xsl:message>
+            <xsl:text>???</xsl:text>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:call-template name="simple.xlink">
+    <xsl:with-param name="node" select="."/>
+    <xsl:with-param name="linkend" select="$linkend"/>
+    <xsl:with-param name="content" select="$content"/>
+    <xsl:with-param name="a.target" select="$a.target"/>
+  </xsl:call-template>
+
+</xsl:template>
+
+<xsl:template match="ulink" name="ulink">
+  <xsl:param name="url" select="@url"/>
+  <xsl:variable name="link">
+    <a>
+      <xsl:if test="@id or @xml:id">
+        <xsl:attribute name="id">
+          <xsl:value-of select="(@id|@xml:id)[1]"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:attribute name="href"><xsl:value-of select="$url"/></xsl:attribute>
+      <xsl:if test="$ulink.target != ''">
+        <xsl:attribute name="target">
+          <xsl:value-of select="$ulink.target"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:choose>
+        <xsl:when test="count(child::node())=0">
+          <xsl:value-of select="$url"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:apply-templates/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </a>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="function-available('suwl:unwrapLinks')">
+      <xsl:copy-of select="suwl:unwrapLinks($link)"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$link"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="olink" name="olink">
+
+  <xsl:call-template name="anchor"/>
+
+  <xsl:variable name="localinfo" select="@localinfo"/>
+
+  <xsl:choose>
+    <!-- olinks resolved by stylesheet and target database -->
+    <xsl:when test="@targetdoc or @targetptr">
+      <xsl:variable name="targetdoc.att" select="@targetdoc"/>
+      <xsl:variable name="targetptr.att" select="@targetptr"/>
+
+      <xsl:variable name="olink.lang">
+        <xsl:call-template name="l10n.language">
+          <xsl:with-param name="xref-context" select="true()"/>
+        </xsl:call-template>
+      </xsl:variable>
+    
+      <xsl:variable name="target.database.filename">
+        <xsl:call-template name="select.target.database">
+          <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/>
+          <xsl:with-param name="targetptr.att" select="$targetptr.att"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+        </xsl:call-template>
+      </xsl:variable>
+    
+      <xsl:variable name="target.database" select="document($target.database.filename,/)"/>
+    
+      <xsl:if test="$olink.debug != 0">
+        <xsl:message>
+          <xsl:text>Olink debug: root element of target.database '</xsl:text>
+          <xsl:value-of select="$target.database.filename"/>
+          <xsl:text>' is '</xsl:text>
+          <xsl:value-of select="local-name($target.database/*[1])"/>
+          <xsl:text>'.</xsl:text>
+        </xsl:message>
+      </xsl:if>
+    
+      <xsl:variable name="olink.key">
+        <xsl:call-template name="select.olink.key">
+          <xsl:with-param name="targetdoc.att" select="$targetdoc.att"/>
+          <xsl:with-param name="targetptr.att" select="$targetptr.att"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+        </xsl:call-template>
+      </xsl:variable>
+    
+      <xsl:if test="string-length($olink.key) = 0">
+        <xsl:message>
+          <xsl:text>Error: unresolved olink: </xsl:text>
+          <xsl:text>targetdoc/targetptr = '</xsl:text>
+          <xsl:value-of select="$targetdoc.att"/>
+          <xsl:text>/</xsl:text>
+          <xsl:value-of select="$targetptr.att"/>
+          <xsl:text>'.</xsl:text>
+        </xsl:message>
+      </xsl:if>
+
+      <xsl:variable name="href">
+        <xsl:call-template name="make.olink.href">
+          <xsl:with-param name="olink.key" select="$olink.key"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="hottext">
+        <xsl:call-template name="olink.hottext">
+          <xsl:with-param name="target.database" select="$target.database"/>
+          <xsl:with-param name="olink.key" select="$olink.key"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="olink.docname.citation">
+        <xsl:call-template name="olink.document.citation">
+          <xsl:with-param name="olink.key" select="$olink.key"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:variable name="olink.page.citation">
+        <xsl:call-template name="olink.page.citation">
+          <xsl:with-param name="olink.key" select="$olink.key"/>
+          <xsl:with-param name="target.database" select="$target.database"/>
+          <xsl:with-param name="olink.lang" select="$olink.lang"/>
+        </xsl:call-template>
+      </xsl:variable>
+
+      <xsl:choose>
+        <xsl:when test="$href != ''">
+          <a href="{$href}" class="olink">
+            <xsl:copy-of select="$hottext"/>
+          </a>
+          <xsl:copy-of select="$olink.page.citation"/>
+          <xsl:copy-of select="$olink.docname.citation"/>
+        </xsl:when>
+        <xsl:otherwise>
+          <span class="olink"><xsl:copy-of select="$hottext"/></span>
+          <xsl:copy-of select="$olink.page.citation"/>
+          <xsl:copy-of select="$olink.docname.citation"/>
+        </xsl:otherwise>
+      </xsl:choose>
+
+    </xsl:when>
+
+    <!-- Or use old olink mechanism -->
+    <xsl:otherwise>
+      <xsl:variable name="href">
+        <xsl:choose>
+          <xsl:when test="@linkmode">
+            <!-- use the linkmode to get the base URI, use localinfo as fragid -->
+            <xsl:variable name="modespec" select="key('id', at linkmode)"/>
+            <xsl:if test="count($modespec) != 1                           or local-name($modespec) != 'modespec'">
+              <xsl:message>Warning: olink linkmode pointer is wrong.</xsl:message>
+            </xsl:if>
+            <xsl:value-of select="$modespec"/>
+            <xsl:if test="@localinfo">
+              <xsl:text>#</xsl:text>
+              <xsl:value-of select="@localinfo"/>
+            </xsl:if>
+          </xsl:when>
+          <xsl:when test="@type = 'href'">
+            <xsl:call-template name="olink.outline">
+              <xsl:with-param name="outline.base.uri" select="unparsed-entity-uri(@targetdocent)"/>
+              <xsl:with-param name="localinfo" select="@localinfo"/>
+              <xsl:with-param name="return" select="'href'"/>
+            </xsl:call-template>
+          </xsl:when>
+          <xsl:otherwise>
+            <xsl:value-of select="$olink.resolver"/>
+            <xsl:text>?</xsl:text>
+            <xsl:value-of select="$olink.sysid"/>
+            <xsl:value-of select="unparsed-entity-uri(@targetdocent)"/>
+            <!-- XSL gives no access to the public identifier (grumble...) -->
+            <xsl:if test="@localinfo">
+              <xsl:text>&amp;</xsl:text>
+              <xsl:value-of select="$olink.fragid"/>
+              <xsl:value-of select="@localinfo"/>
+            </xsl:if>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:variable>
+    
+      <xsl:choose>
+        <xsl:when test="$href != ''">
+          <a href="{$href}" class="olink">
+            <xsl:call-template name="olink.hottext"/>
+          </a>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="olink.hottext"/>
+        </xsl:otherwise>
+      </xsl:choose>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="pagenumber.markup">
+  <!-- no-op in HTML -->
+</xsl:template>
+
+
+<xsl:template name="olink.outline">
+  <xsl:param name="outline.base.uri"/>
+  <xsl:param name="localinfo"/>
+  <xsl:param name="return" select="href"/>
+
+  <xsl:variable name="outline-file" select="concat($outline.base.uri,                                $olink.outline.ext)"/>
+
+  <xsl:variable name="outline" select="document($outline-file,.)/div"/>
+
+  <xsl:variable name="node-href">
+    <xsl:choose>
+      <xsl:when test="$localinfo != ''">
+        <xsl:variable name="node" select="$outline//                                    *[@id=$localinfo or @xml:id=$localinfo]"/>
+        <xsl:value-of select="$node/@href"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$outline/@href"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:variable name="node-xref">
+    <xsl:choose>
+      <xsl:when test="$localinfo != ''">
+        <xsl:variable name="node" select="$outline//                                *[@id=$localinfo or @xml:id=$localinfo]"/>
+        <xsl:copy-of select="$node/xref"/>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:value-of select="$outline/xref"/>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <xsl:choose>
+    <xsl:when test="$return = 'href'">
+      <xsl:value-of select="$node-href"/>
+    </xsl:when>
+    <xsl:when test="$return = 'xref'">
+      <xsl:value-of select="$node-xref"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$node-xref"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template name="xref.xreflabel">
+  <!-- called to process an xreflabel...you might use this to make  -->
+  <!-- xreflabels come out in the right font for different targets, -->
+  <!-- for example. -->
+  <xsl:param name="target" select="."/>
+  <xsl:value-of select="$target/@xreflabel"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="title" mode="xref">
+  <xsl:apply-templates/>
+</xsl:template>
+
+<xsl:template match="command" mode="xref">
+  <xsl:call-template name="inline.boldseq"/>
+</xsl:template>
+
+<xsl:template match="function" mode="xref">
+  <xsl:call-template name="inline.monoseq"/>
+</xsl:template>
+
+<!-- ==================================================================== -->
+
+<xsl:template match="*" mode="insert.title.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="title"/>
+
+  <xsl:choose>
+    <!-- FIXME: what about the case where titleabbrev is inside the info? -->
+    <xsl:when test="$purpose = 'xref' and titleabbrev">
+      <xsl:apply-templates select="." mode="titleabbrev.markup"/>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$title"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="chapter|appendix" mode="insert.title.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="title"/>
+
+  <xsl:choose>
+    <xsl:when test="$purpose = 'xref'">
+      <i>
+        <xsl:copy-of select="$title"/>
+      </i>
+    </xsl:when>
+    <xsl:otherwise>
+      <xsl:copy-of select="$title"/>
+    </xsl:otherwise>
+  </xsl:choose>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.subtitle.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="subtitle"/>
+
+  <xsl:copy-of select="$subtitle"/>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.label.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="label"/>
+
+  <xsl:copy-of select="$label"/>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.pagenumber.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="pagenumber"/>
+
+  <xsl:copy-of select="$pagenumber"/>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.direction.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="direction"/>
+
+  <xsl:copy-of select="$direction"/>
+</xsl:template>
+
+<xsl:template match="*" mode="insert.olink.docname.markup">
+  <xsl:param name="purpose"/>
+  <xsl:param name="xrefstyle"/>
+  <xsl:param name="docname"/>
+
+  <span class="olinkdocname">
+    <xsl:copy-of select="$docname"/>
+  </span>
+
+</xsl:template>
+
+</xsl:stylesheet>

Added: trunk/docs/maven-docbook-plugin/pom.xml
===================================================================
--- trunk/docs/maven-docbook-plugin/pom.xml	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/pom.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,142 @@
+<?xml version="1.0"?>
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+	<parent>
+		<artifactId>docs</artifactId>
+		<groupId>org.ajax4jsf</groupId>
+		<version>1.1.2-SNAPSHOT</version>
+	</parent>
+
+    <groupId>org.ajax4jsf.docs</groupId>
+    <artifactId>maven-docbook-plugin</artifactId>
+    <packaging>maven-plugin</packaging>
+
+    <name>DocBook XML Transformations</name>
+    <description>Plugin for generating documentation from DocBook sources and either standard or custom XSL stylesheets.</description>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.ajax4jsf.docs</groupId>
+            <artifactId>docbook</artifactId>
+            <version>${project.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven</groupId>
+            <artifactId>maven-plugin-api</artifactId>
+            <version>2.0</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven.reporting</groupId>
+            <artifactId>maven-reporting-api</artifactId>
+            <version>2.0.4</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven.reporting</groupId>
+            <artifactId>maven-reporting-impl</artifactId>
+            <version>2.0.4</version>
+        </dependency>
+        <dependency>
+            <groupId>plexus</groupId>
+            <artifactId>plexus-utils</artifactId>
+            <version>1.0.1</version>
+        </dependency>
+        <dependency>
+            <groupId>avalon-framework</groupId>
+            <artifactId>avalon-framework</artifactId>
+            <version>4.1.5</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven.doxia</groupId>
+            <artifactId>doxia-core</artifactId>
+            <version>${doxiaVersion}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven.doxia</groupId>
+            <artifactId>doxia-decoration-model</artifactId>
+            <version>${doxiaSiteVersion}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.codehaus.plexus</groupId>
+                    <artifactId>plexus-component-api</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.codehaus.plexus</groupId>
+                    <artifactId>plexus-container-default</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven.doxia</groupId>
+            <artifactId>doxia-site-renderer</artifactId>
+            <version>${doxiaSiteVersion}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.codehaus.plexus</groupId>
+                    <artifactId>plexus-component-api</artifactId>
+                </exclusion>
+                <exclusion>
+                    <groupId>org.codehaus.plexus</groupId>
+                    <artifactId>plexus-container-default</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>xml-resolver</groupId>
+            <artifactId>xml-resolver</artifactId>
+            <version>1.1</version>
+        </dependency>
+        <dependency>
+            <groupId>xerces</groupId>
+            <artifactId>xercesImpl</artifactId>
+            <version>2.8.0</version>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>xerces</groupId>
+            <artifactId>xmlParserAPIs</artifactId>
+            <version>2.6.2</version>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>saxon</groupId>
+            <artifactId>saxon</artifactId>
+            <version>6.5.3</version>
+        </dependency>
+        <dependency>
+            <groupId>fop</groupId>
+            <artifactId>fop</artifactId>
+            <version>0.93</version>
+            <classifier>jdk14</classifier>
+        </dependency>
+        <dependency>
+            <groupId>batik</groupId>
+            <artifactId>batik-1.5-fop</artifactId>
+            <version>0.20-5</version>
+        </dependency>
+        <dependency>
+            <groupId>javax.media</groupId>
+            <artifactId>jai-core</artifactId>
+            <version>1.1.3</version>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>com.sun.media</groupId>
+            <artifactId>jai-codec</artifactId>
+            <version>1.1.3</version>
+            <scope>runtime</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-resources-plugin</artifactId>
+            <version>2.2</version>
+        </dependency>
+    </dependencies>
+
+    <properties>
+        <doxiaVersion>1.0-alpha-8</doxiaVersion>
+        <doxiaSiteVersion>1.0-alpha-8</doxiaSiteVersion>
+    </properties>
+
+</project>

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/AbstractDocBookMojo.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/AbstractDocBookMojo.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/AbstractDocBookMojo.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,89 @@
+package org.jboss.maven.plugin.docbook.gen;
+
+import java.io.File;
+
+import org.apache.maven.plugin.AbstractMojo;
+import org.apache.maven.plugin.MojoExecutionException;
+import org.apache.maven.plugin.MojoFailureException;
+import org.apache.maven.project.MavenProject;
+import org.jboss.maven.plugin.docbook.gen.render.Formatting;
+import org.jboss.maven.plugin.docbook.gen.render.RenderingException;
+import org.jboss.maven.plugin.docbook.gen.util.FormatType;
+import org.jboss.maven.plugin.docbook.gen.xslt.XSLTException;
+
+/**
+ * Basic support for the various DocBook mojos in this package.  Mainly, we are
+ * defining common configuration attributes of the packaging.
+ *
+ * @author Steve Ebersole
+ */
+public abstract class AbstractDocBookMojo extends AbstractMojo {
+    /**
+	 * INTERNAL : The project being built
+	 *
+     * @parameter expression="${project}"
+     * @required
+     * @readonly
+     */
+    protected MavenProject project;
+
+	/**
+	 * The name of the document (relative to sourceDirectory) which is the
+	 * document to be rendered.
+	 *
+	 * @parameter
+	*  @required
+	 */
+	protected String sourceDocumentName;
+
+	/**
+	 * The directory where the sources are located.
+	 *
+	 * @parameter expression="${basedir}/src/main/docbook"
+	 */
+	protected File sourceDirectory;
+
+	/**
+	 * The directory where the output will be written.
+	 *
+	 * @parameter expression="${basedir}/target/docbook"
+	 */
+	protected File targetDirectory;
+
+	/**
+	 * The formats in which to perform rendering.
+	 *
+     * @parameter
+	*  @required
+	 */
+	protected Format[] formats;
+
+	/**
+	 * Configurable options
+	 *
+     * @parameter
+	 */
+	protected Options options;
+
+	public Formatting[] getFormattings() {
+		Formatting[] formattings = new Formatting[ formats.length ];
+		for ( int i = 0; i < formats.length; i++ ) {
+			formattings[i] = new Formatting( FormatType.parse( formats[i].getFormatName() ), formats[i] );
+		}
+		return formattings;
+	}
+
+	public final void execute() throws MojoExecutionException, MojoFailureException {
+		try {
+			process( getFormattings() );
+		}
+		catch ( XSLTException e ) {
+			throw new MojoExecutionException( "XSLT problem", e );
+		}
+		catch ( RenderingException e ) {
+			throw new MojoExecutionException( "Rendering problem", e );
+		}
+	}
+
+	protected abstract void process(Formatting[] formattings) throws RenderingException, XSLTException;
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/Format.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/Format.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/Format.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,65 @@
+package org.jboss.maven.plugin.docbook.gen;
+
+/**
+ * Represents a user format specification.
+ *
+ * @author Steve Ebersole
+ */
+public class Format {
+	private String formatName;
+
+	private String targetFileExtension;
+	private String finalName;
+	private String stylesheetResource;
+	private Boolean imagePathSettingRequired;
+	private Boolean imageCopyingRequired;
+	private Boolean doingChunking;
+
+	public Format() {
+	}
+
+	public Format(
+			String formatName,
+			String targetFileExtension,
+			String finalName,
+			String stylesheetResource,
+			Boolean imagePathSettingRequired,
+			Boolean imageCopyingRequired,
+			Boolean doingChunking) {
+		this.formatName = formatName;
+		this.targetFileExtension = targetFileExtension;
+		this.finalName = finalName;
+		this.stylesheetResource = stylesheetResource;
+		this.imagePathSettingRequired = imagePathSettingRequired;
+		this.imageCopyingRequired = imageCopyingRequired;
+		this.doingChunking = doingChunking;
+	}
+
+	public String getFormatName() {
+		return formatName;
+	}
+
+	public String getTargetFileExtension() {
+		return targetFileExtension;
+	}
+
+	public String getFinalName() {
+		return finalName;
+	}
+
+	public String getStylesheetResource() {
+		return stylesheetResource;
+	}
+
+	public Boolean getImagePathSettingRequired() {
+		return imagePathSettingRequired;
+	}
+
+	public Boolean getImageCopyingRequired() {
+		return imageCopyingRequired;
+	}
+
+	public Boolean getDoingChunking() {
+		return doingChunking;
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/GenerationMojo.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/GenerationMojo.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/GenerationMojo.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,44 @@
+package org.jboss.maven.plugin.docbook.gen;
+
+import java.io.File;
+
+import org.codehaus.plexus.util.FileUtils;
+import org.jboss.maven.plugin.docbook.gen.render.Formatting;
+import org.jboss.maven.plugin.docbook.gen.render.RendererFactory;
+import org.jboss.maven.plugin.docbook.gen.render.RenderingException;
+import org.jboss.maven.plugin.docbook.gen.xslt.XSLTException;
+
+/**
+ * A DocBook plugin based on the excellent docbkx-maven-plugin, but which
+ * specifically handles language translations in a more transparent way.
+ *
+ * @goal generate
+ * @phase compile
+ *
+ * @author Steve Ebersole
+ */
+public class GenerationMojo extends AbstractDocBookMojo {
+
+	protected void process(Formatting[] formattings) throws XSLTException, RenderingException {
+		if ( !sourceDirectory.exists() ) {
+			getLog().info( "sourceDirectory [" + sourceDirectory.getAbsolutePath() + "] did not exist" );
+			return;
+		}
+		File source = new File( sourceDirectory, sourceDocumentName );
+		if ( !source.exists() ) {
+			getLog().info( "source [" + source.getAbsolutePath() + "] did not exist" );
+			return;
+		}
+
+		if ( !targetDirectory.exists() ) {
+			FileUtils.mkdir( targetDirectory.getAbsolutePath() );
+		}
+
+		RendererFactory rendererFactory = new RendererFactory( options, source, targetDirectory, getLog() );
+
+		for ( int i = 0; i < formattings.length; i++ ) {
+			rendererFactory.buildRenderer( formattings[i] ).render( source );
+		}
+	}
+
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/Options.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/Options.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/Options.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,65 @@
+package org.jboss.maven.plugin.docbook.gen;
+
+import java.util.Properties;
+
+/**
+ * A (detachable) representation of the user configuration.
+ *
+ * @author Steve Ebersole
+ */
+public class Options {
+    private boolean xincludeSupported;
+	private String[] catalogs;
+	private String xmlTransformerType;
+	private Properties transformerParameters;
+	private boolean useRelativeImageUris = true;
+	// TODO : try as hard as I possibly can to remove this :(
+	// 		this is gettable either from (1) VERSION (fm:project/fm:Version) or
+	// 		(2) the dependencies making up the execution classpath
+	//
+	//		In #1, it would require had parsing :(, and #2 I've yet to actually
+	//		find a wsay to do this...
+	private String docbookVersion;
+
+	public Options() {
+	}
+
+	public Options(
+			boolean xincludeSupported,
+			String[] catalogs,
+			String xmlTransformerType,
+			Properties transformerParameters,
+			boolean useRelativeImageUris,
+			String docBookVersion) {
+		this.xincludeSupported = xincludeSupported;
+		this.catalogs = catalogs;
+		this.xmlTransformerType = xmlTransformerType;
+		this.transformerParameters = transformerParameters;
+		this.useRelativeImageUris = useRelativeImageUris;
+		this.docbookVersion = docBookVersion;
+	}
+
+	public boolean isXincludeSupported() {
+		return xincludeSupported;
+	}
+
+	public String[] getCatalogs() {
+		return catalogs;
+	}
+
+	public String getXmlTransformerType() {
+		return xmlTransformerType;
+	}
+
+	public Properties getTransformerParameters() {
+		return transformerParameters;
+	}
+
+	public boolean isUseRelativeImageUris() {
+		return useRelativeImageUris;
+	}
+
+	public String getDocbookVersion() {
+		return docbookVersion;
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/ResourceMojo.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/ResourceMojo.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/ResourceMojo.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,176 @@
+package org.jboss.maven.plugin.docbook.gen;
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileReader;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.io.Reader;
+import java.io.Writer;
+import java.util.Arrays;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Properties;
+
+import org.apache.maven.model.Resource;
+import org.apache.maven.plugin.resources.PropertyUtils;
+import org.apache.maven.plugin.resources.ReflectionProperties;
+import org.codehaus.plexus.util.DirectoryScanner;
+import org.codehaus.plexus.util.FileUtils;
+import org.codehaus.plexus.util.IOUtil;
+import org.codehaus.plexus.util.InterpolationFilterReader;
+import org.jboss.maven.plugin.docbook.gen.render.Formatting;
+import org.jboss.maven.plugin.docbook.gen.render.RendererFactory;
+import org.jboss.maven.plugin.docbook.gen.render.RenderingException;
+import org.jboss.maven.plugin.docbook.gen.xslt.XSLTException;
+
+/**
+ * A DocBook plugin based on the excellent docbkx-maven-plugin, but which
+ * specifically handles language translations in a more transparent way.
+ *
+ * @goal resources
+ * @phase process-resources
+ *
+ * @author Steve Ebersole
+ */
+public class ResourceMojo extends AbstractDocBookMojo {
+
+	private Properties filterProperties;
+
+
+	protected void process(Formatting[] formattings) throws RenderingException, XSLTException {
+		RendererFactory rendererFactory = new RendererFactory( options, null, targetDirectory, getLog() );
+		try {
+			for ( int i = 0; i < formattings.length; i++ ) {
+				if ( formattings[i].isImageCopyingRequired() ) {
+					File dir = rendererFactory.buildRenderer( formattings[i] ).prepareDirectory();
+					copyResources( collectResource(), dir );
+				}
+			}
+		}
+		catch ( IOException e ) {
+			throw new RenderingException( "unable to process resources", e );
+		}
+	}
+
+	private List collectResource() {
+		// todo : need a way to be able to get to the images defined by the xslt dependencies and include them
+		//
+		// for now, just return project resources
+		return project.getResources();
+	}
+
+	protected void copyResources(List resources, File outputDir) throws IOException {
+        initializeFiltering();
+
+        for ( Iterator i = resources.iterator(); i.hasNext(); ) {
+            Resource resource = ( Resource ) i.next();
+            String targetPath = resource.getTargetPath();
+            File resourceDirectory = new File( resource.getDirectory() );
+
+            if ( !resourceDirectory.exists() ) {
+                getLog().info( "Resource directory does not exist: " + resourceDirectory );
+                continue;
+            }
+
+            if ( !outputDir.exists() ) {
+                if ( !outputDir.mkdirs() ) {
+                    throw new IOException( "Cannot create resource output directory: " + outputDir );
+                }
+            }
+
+            DirectoryScanner scanner = new DirectoryScanner();
+            scanner.setBasedir( resource.getDirectory() );
+
+			if ( resource.getIncludes() != null && !resource.getIncludes().isEmpty() ) {
+                scanner.setIncludes( ( String[]) resource.getIncludes().toArray( new String[] {} ) );
+            }
+            else {
+                scanner.setIncludes( new String[] { "**/**" } );
+            }
+
+            if ( resource.getExcludes() != null && !resource.getExcludes().isEmpty() ) {
+                scanner.setExcludes( (String[]) resource.getExcludes().toArray( new String[] {} ) );
+            }
+
+            scanner.addDefaultExcludes();
+            scanner.scan();
+
+            List includedFiles = Arrays.asList( scanner.getIncludedFiles() );
+
+            for ( Iterator j = includedFiles.iterator(); j.hasNext(); ) {
+                String name = (String) j.next();
+                String destination = name;
+
+                if ( targetPath != null ) {
+                    destination = targetPath + "/" + name;
+                }
+
+                File source = new File( resource.getDirectory(), name );
+                File destinationFile = new File( outputDir, destination );
+
+                if ( !destinationFile.getParentFile().exists() ) {
+                    destinationFile.getParentFile().mkdirs();
+                }
+
+				copyFile( source, destinationFile, resource.isFiltering() );
+            }
+        }
+    }
+
+    private void initializeFiltering() throws IOException {
+        filterProperties = new Properties();
+        filterProperties.putAll( System.getProperties() );
+
+        // Project properties
+        filterProperties.putAll( project.getProperties() );
+
+		Iterator itr = project.getBuild().getFilters().iterator();
+		while ( itr.hasNext() ) {
+            String filtersfile = ( String ) itr.next();
+            Properties properties = PropertyUtils.loadPropertyFile( new File( filtersfile ), true, true );
+            filterProperties.putAll( properties );
+        }
+    }
+
+    private void copyFile( File from, File to, boolean filtering ) throws IOException {
+        if ( !filtering )
+        {
+            if ( to.lastModified() < from.lastModified() )
+            {
+                FileUtils.copyFile( from, to );
+            }
+        }
+        else
+        {
+            // buffer so it isn't reading a byte at a time!
+            Reader fileReader = null;
+            Writer fileWriter = null;
+            try {
+				fileReader = new BufferedReader( new FileReader( from ) );
+				fileWriter = new FileWriter( to );
+
+				// support ${token}
+                Reader reader = new InterpolationFilterReader( fileReader, filterProperties, "${", "}" );
+
+                // support @token@
+                reader = new InterpolationFilterReader( reader, filterProperties, "@", "@" );
+
+                boolean isPropertiesFile = false;
+
+                if ( to.isFile() && to.getName().endsWith( ".properties" ) ) {
+                    isPropertiesFile = true;
+                }
+
+                reader = new InterpolationFilterReader( reader, new ReflectionProperties( project, isPropertiesFile ), "${", "}" );
+
+                IOUtil.copy( reader, fileWriter );
+            }
+            finally
+            {
+                IOUtil.close( fileReader );
+                IOUtil.close( fileWriter );
+            }
+        }
+    }
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/BasicRenderer.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/BasicRenderer.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/BasicRenderer.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,166 @@
+package org.jboss.maven.plugin.docbook.gen.render;
+
+
+import java.io.File;
+import java.io.IOException;
+import java.net.URL;
+
+import javax.xml.transform.Transformer;
+import javax.xml.transform.Source;
+import javax.xml.transform.Result;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.stream.StreamResult;
+import javax.xml.transform.sax.SAXSource;
+import javax.xml.parsers.SAXParserFactory;
+import javax.xml.parsers.ParserConfigurationException;
+
+import org.jboss.maven.plugin.docbook.gen.xslt.XSLTException;
+import org.jboss.maven.plugin.docbook.gen.util.ResourceHelper;
+import org.apache.maven.plugin.logging.Log;
+import org.codehaus.plexus.util.FileUtils;
+import org.xml.sax.EntityResolver;
+import org.xml.sax.XMLReader;
+import org.xml.sax.InputSource;
+import org.xml.sax.SAXException;
+import com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl;
+
+/**
+ * {@inheritDoc}
+ *
+ * @author Steve Ebersole
+ */
+public class BasicRenderer implements Renderer {
+	public static final String DTD_VALIDATION_FEATURE = "http://xml.org/sax/features/validation";
+	public static final String DTD_LOADING_FEATURE = "http://apache.org/xml/features/nonvalidating/load-external-dtd";
+
+	protected final RendererFactory factory;
+	protected final Formatting formatting;
+
+	public BasicRenderer(RendererFactory factory, Formatting formatting) {
+		this.factory = factory;
+		this.formatting = formatting;
+	}
+
+	public File prepareDirectory() throws RenderingException {
+		File target = new File( factory.getTargetDirectory(), formatting.getFormatName() );
+		if ( ! target.exists() ) {
+			FileUtils.mkdir( target.getAbsolutePath() );
+		}
+		return target;
+	}
+
+	public final void render(File source) throws RenderingException, XSLTException {
+		getLog().debug( "starting formatting [" + formatting.getFormatName() + "]" );
+
+		File target = prepareTarget( prepareDirectory(), source );
+
+		Transformer transformer = buildTransformer( target );
+		Source transformationSource = buildSource( source );
+		Result transformationResult = buildResult( target );
+		try {
+			transformer.transform( transformationSource, transformationResult );
+		}
+		catch ( TransformerException e ) {
+			throw new RenderingException( "unable to perform transformation", e );
+		}
+		finally {
+			releaseResult( transformationResult );
+		}
+		
+	}
+
+	private File prepareTarget(File directory, File source) throws RenderingException {
+		String targetFileName = deduceTargetFileName( source );
+		getLog().debug( "preparing target file [" + targetFileName + "]" );
+		File target = new File( directory, targetFileName );
+		if ( target.exists() ) {
+			if ( !target.delete() ) {
+				getLog().warn( "unable to clean up previous output file [" + target.getAbsolutePath() + "]" );
+			}
+		}
+		if ( !target.exists() ) {
+			try {
+				target.createNewFile();
+			}
+			catch ( IOException e ) {
+				throw new RenderingException( "unable to create output file [" + target.getAbsolutePath() + "]", e );
+			}
+		}
+		return target;
+	}
+
+	private String deduceTargetFileName(File source) {
+		return formatting.getNamingStrategy().deduceTargetFileName( source );
+	}
+
+	protected Transformer buildTransformer(File targetFile)
+			throws RenderingException, XSLTException {
+		final URL transformationStylesheet = resolveTransformationStylesheet();
+		Transformer transformer = factory.getTransformerFactory()
+				.buildTransformer( formatting, transformationStylesheet );
+		if ( formatting.isImagePathSettingRequired() ) {
+			String imgSrcPath = factory.getTargetDirectory().getAbsolutePath() + "/";
+			getLog().debug( "setting 'img.src.path' [" + imgSrcPath + "]" );
+			transformer.setParameter( "img.src.path", imgSrcPath );
+		}
+		if ( factory.getOptions().isUseRelativeImageUris() ) {
+			getLog().debug( "enforcing retention of relative image URIs" );
+			transformer.setParameter( "keep.relative.image.uris", "0" );
+		}
+		if ( formatting.isDoingChunking() ) {
+			getLog().debug( "Chunking output." );
+			String rootFilename = targetFile.getName();
+			rootFilename = rootFilename.substring( 0, rootFilename.lastIndexOf( '.' ) );
+			transformer.setParameter( "root.filename", rootFilename );
+			transformer.setParameter( "base.dir", targetFile.getParent() + File.separator );
+                        transformer.setParameter( "manifest.in.base.dir", "1" );
+		}
+		return transformer;
+	}
+
+	protected final URL resolveTransformationStylesheet() throws RenderingException {
+		return ResourceHelper.requireResource( formatting.getStylesheetResource() );
+//		return format.getStylesheetResource() != null
+//				? ResourceHelper.requireResource( format.getStylesheetResource() )
+//				: ResourceHelper.requireResource( format.getFormatType().getStylesheetResource() );
+	}
+
+	private Source buildSource(File sourceFile) throws RenderingException {
+		try {
+			EntityResolver resolver = factory.getCatalogResolver();
+			SAXParserFactory factory = createParserFactory();
+			XMLReader reader = factory.newSAXParser().getXMLReader();
+			reader.setEntityResolver( resolver );
+
+			// Disable DTD loading and validation
+			reader.setFeature( DTD_LOADING_FEATURE, false );
+			reader.setFeature( DTD_VALIDATION_FEATURE, false );
+
+			return new SAXSource( reader, new InputSource( sourceFile.getAbsolutePath() ) );
+		}
+		catch ( ParserConfigurationException e ) {
+			throw new RenderingException( "unable to build SAX Parser", e );
+		}
+		catch ( SAXException e ) {
+			throw new RenderingException( "unable to build SAX Parser", e );
+		}
+	}
+
+	protected final SAXParserFactory createParserFactory() {
+        SAXParserFactory parserFactory = new SAXParserFactoryImpl();
+        parserFactory.setXIncludeAware( factory.getOptions().isXincludeSupported() );
+        return parserFactory;
+    }
+
+	protected Result buildResult(File targetFile) throws RenderingException {
+		return new StreamResult( targetFile );
+	}
+
+	protected void releaseResult(Result transformationResult) {
+		// typically nothing to do...
+	}
+
+	protected Log getLog() {
+		return factory.getLog();
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/Formatting.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/Formatting.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/Formatting.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,105 @@
+package org.jboss.maven.plugin.docbook.gen.render;
+
+import java.io.File;
+
+import org.codehaus.plexus.util.FileUtils;
+import org.jboss.maven.plugin.docbook.gen.Format;
+import org.jboss.maven.plugin.docbook.gen.util.FormatType;
+
+/**
+ * Defined formatting information.  Basically stuff to either pass into the xsl
+ * transformer or stuff needed to prepare for transformation.
+ *
+ * @author Steve Ebersole
+ */
+public class Formatting {
+	// todo : the usage of 'FormatType' here are ok.
+
+	private final String formatName;
+	private final String stylesheetResource;
+	private final boolean imagePathSettingRequired;
+	private final boolean imageCopyingRequired;
+	private final boolean doingChunking;
+	private final FormatType standardDocBookSpec;
+	private final TargetNamingStrategy namingStrategy;
+
+	public Formatting(FormatType standardDocBookSpec, Format userSpec) {
+		// todo : there may not be matching standard docbook formatter...
+		if ( ! standardDocBookSpec.getName().equals( userSpec.getFormatName() ) ) {
+			throw new IllegalArgumentException( "formatting type mismatch" );
+		}
+
+		this.standardDocBookSpec = standardDocBookSpec;
+		this.formatName = standardDocBookSpec.getName();
+
+		this.stylesheetResource = userSpec.getStylesheetResource() == null
+				? standardDocBookSpec.getStylesheetResource()
+				: userSpec.getStylesheetResource();
+
+		this.imageCopyingRequired = userSpec.getImageCopyingRequired() == null
+				? standardDocBookSpec.isImageCopyingRequired()
+				: userSpec.getImageCopyingRequired().booleanValue();
+
+		this.imagePathSettingRequired = userSpec.getImagePathSettingRequired() == null
+				? standardDocBookSpec.isImagePathSettingRequired()
+				: userSpec.getImagePathSettingRequired().booleanValue();
+
+		this.doingChunking =userSpec.getDoingChunking() == null
+				? standardDocBookSpec.isDoingChunking()
+				: userSpec.getDoingChunking().booleanValue();
+
+		this.namingStrategy = new TargetNamingStrategy( standardDocBookSpec, userSpec );
+	}
+
+	public String getFormatName() {
+		return formatName;
+	}
+
+	public FormatType getStandardDocBookSpec() {
+		return standardDocBookSpec;
+	}
+
+	public String getStylesheetResource() {
+		return stylesheetResource;
+	}
+
+	public boolean isImagePathSettingRequired() {
+		return imagePathSettingRequired;
+	}
+
+	public boolean isImageCopyingRequired() {
+		return imageCopyingRequired;
+	}
+
+	public boolean isDoingChunking() {
+		return doingChunking;
+	}
+
+	public TargetNamingStrategy getNamingStrategy() {
+		return namingStrategy;
+	}
+
+	public static class TargetNamingStrategy {
+		private String targetFileExtension;
+		private String finalName;
+
+		public TargetNamingStrategy(FormatType standardDocBookSpec, Format userSpec) {
+			if ( userSpec.getFinalName() != null ) {
+				this.targetFileExtension = null;
+				this.finalName = userSpec.getFinalName();
+			}
+			else {
+				this.targetFileExtension = userSpec.getTargetFileExtension() == null
+						? standardDocBookSpec.getStandardFileExtension()
+						: userSpec.getTargetFileExtension();
+				this.finalName = null;
+			}
+		}
+
+		public String deduceTargetFileName(File source) {
+			return finalName == null
+				? FileUtils.basename( source.getAbsolutePath() ) + targetFileExtension
+				: finalName;
+		}
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/HtmlRenderer.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/HtmlRenderer.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/HtmlRenderer.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,23 @@
+package org.jboss.maven.plugin.docbook.gen.render;
+
+import java.io.File;
+import javax.xml.transform.Transformer;
+
+import org.jboss.maven.plugin.docbook.gen.xslt.XSLTException;
+
+/**
+ * Special handling for html processing
+ *
+ * @author Steve Ebersole
+ */
+public class HtmlRenderer extends BasicRenderer {
+	public HtmlRenderer(RendererFactory factory, Formatting formatting) {
+		super( factory, formatting );
+	}
+
+	protected Transformer buildTransformer(File targetFile)
+			throws RenderingException, XSLTException {
+		Transformer transformer = super.buildTransformer( targetFile );
+		return transformer;
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/PdfRenderer.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/PdfRenderer.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/PdfRenderer.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,115 @@
+package org.jboss.maven.plugin.docbook.gen.render;
+
+import java.io.File;
+import java.io.OutputStream;
+import java.io.FileNotFoundException;
+import javax.xml.transform.Result;
+import javax.xml.transform.sax.SAXResult;
+
+import org.apache.fop.apps.Driver;
+import org.apache.avalon.framework.logger.Logger;
+import org.apache.maven.plugin.logging.Log;
+
+/**
+ * Special handling for pdf rendering
+ *
+ * @author Steve Ebersole
+ */
+public class PdfRenderer extends BasicRenderer {
+	public PdfRenderer(RendererFactory factory, Formatting formatting) {
+		super( factory, formatting );
+	}
+
+	protected Result buildResult(File targetFile) throws RenderingException {
+		getLog().info( "building formatting result [" + targetFile.getAbsolutePath() + "]" );
+		Driver driver = new Driver();
+		driver.setLogger( new LoggingBridge( getLog() ) );
+		driver.setRenderer( Driver.RENDER_PDF );
+
+		try {
+			OutputStream out = new java.io.FileOutputStream( targetFile );
+			driver.setOutputStream( out );
+			return new SAXResult( driver.getContentHandler() );
+		}
+		catch ( FileNotFoundException e ) {
+			throw new RenderingException(
+					"unable to access target file " + targetFile.getAbsolutePath()
+			);
+		}
+	}
+
+	private static class LoggingBridge implements Logger {
+
+		private Log mavenLog;
+
+		public LoggingBridge(Log mavenLog) {
+			this.mavenLog = mavenLog;
+		}
+
+		public void debug(String arg0) {
+			mavenLog.debug( arg0 );
+		}
+
+		public void debug(String arg0, Throwable arg1) {
+			mavenLog.debug( arg0, arg1 );
+		}
+
+		public void error(String arg0) {
+			mavenLog.error( arg0 );
+		}
+
+		public void error(String arg0, Throwable arg1) {
+			mavenLog.error( arg0, arg1 );
+		}
+
+		public void fatalError(String arg0) {
+			mavenLog.error( arg0 );
+		}
+
+		public void fatalError(String arg0, Throwable arg1) {
+			mavenLog.error( arg0, arg1 );
+		}
+
+		public Logger getChildLogger(String arg0) {
+			return null;
+		}
+
+		public void info(String arg0) {
+			mavenLog.info( arg0 );
+		}
+
+		public void info(String arg0, Throwable arg1) {
+			mavenLog.info( arg0, arg1 );
+		}
+
+		public boolean isDebugEnabled() {
+			return mavenLog.isDebugEnabled();
+		}
+
+		public boolean isErrorEnabled() {
+			return mavenLog.isErrorEnabled();
+		}
+
+		public boolean isFatalErrorEnabled() {
+			return mavenLog.isErrorEnabled();
+		}
+
+		public boolean isInfoEnabled() {
+			return mavenLog.isInfoEnabled();
+		}
+
+		public boolean isWarnEnabled() {
+			return mavenLog.isWarnEnabled();
+		}
+
+		public void warn(String arg0) {
+			mavenLog.warn( arg0 );
+		}
+
+		public void warn(String arg0, Throwable arg1) {
+			mavenLog.warn( arg0, arg1 );
+		}
+
+	}
+
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/Renderer.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/Renderer.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/Renderer.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,16 @@
+package org.jboss.maven.plugin.docbook.gen.render;
+
+import java.io.File;
+import java.io.IOException;
+
+import org.jboss.maven.plugin.docbook.gen.xslt.XSLTException;
+
+/**
+ * Responsible for rendering a given source document in a particular format.
+ *
+ * @author Steve Ebersole
+ */
+public interface Renderer {
+	public File prepareDirectory() throws RenderingException;
+	public void render(File source) throws RenderingException, XSLTException;
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/RendererFactory.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/RendererFactory.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/RendererFactory.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,94 @@
+package org.jboss.maven.plugin.docbook.gen.render;
+
+import java.io.File;
+
+import org.jboss.maven.plugin.docbook.gen.Format;
+import org.jboss.maven.plugin.docbook.gen.Options;
+import org.jboss.maven.plugin.docbook.gen.util.TransformerType;
+import org.jboss.maven.plugin.docbook.gen.util.FormatType;
+import org.jboss.maven.plugin.docbook.gen.xslt.XSLTException;
+import org.jboss.maven.plugin.docbook.gen.xslt.TransformerFactory;
+import org.jboss.maven.plugin.docbook.gen.xslt.catalog.ImplicitCatalogManager;
+import org.jboss.maven.plugin.docbook.gen.xslt.catalog.ExplicitCatalogManager;
+import org.apache.xml.resolver.CatalogManager;
+import org.apache.xml.resolver.tools.CatalogResolver;
+import org.apache.maven.plugin.logging.Log;
+
+/**
+ * Builds a renderer for the given format
+ *
+ * @author Steve Ebersole
+ */
+public class RendererFactory {
+	private final Options options;
+	private final File source;
+	private final File targetDirectory;
+	private final Log log;
+
+	private CatalogResolver catalogResolver;
+	private TransformerFactory transformerFactory;
+
+	public RendererFactory(Options options, File source, File targetDirectory, Log log) {
+		this.options = options;
+		this.source = source;
+		this.targetDirectory = targetDirectory;
+		this.log = log;
+	}
+
+
+	public Options getOptions() {
+		return options;
+	}
+
+	public File getSource() {
+		return source;
+	}
+
+	public File getTargetDirectory() {
+		return targetDirectory;
+	}
+
+	public Log getLog() {
+		return log;
+	}
+
+	public CatalogResolver getCatalogResolver() {
+		if ( catalogResolver == null ) {
+			CatalogManager catalogManager;
+			if ( options.getCatalogs() == null || options.getCatalogs().length == 0 ) {
+				catalogManager = new ImplicitCatalogManager();
+			}
+			else {
+				catalogManager = new ExplicitCatalogManager( options.getCatalogs() );
+			}
+			catalogResolver = new CatalogResolver( catalogManager );
+		}
+		return catalogResolver;
+	}
+
+	public TransformerFactory getTransformerFactory() {
+		if ( transformerFactory == null ) {
+			transformerFactory = new TransformerFactory(
+					TransformerType.parse( options.getXmlTransformerType() ),
+					options.getTransformerParameters(),
+					getCatalogResolver(),
+					options.getDocbookVersion()
+			);
+		}
+		return transformerFactory;
+	}
+
+	public Renderer buildRenderer(Formatting formatting) throws XSLTException {
+		// todo : these usages of 'FormatType' are ok as well
+		if ( formatting.getFormatName().equals( FormatType.PDF.getName() ) ) {
+			return new PdfRenderer( this, formatting );
+		}
+		else if ( formatting.getFormatName().equals( FormatType.HTML.getName() )
+				|| formatting.getFormatName().equals( FormatType.HTML_SINGLE.getName() ) ) {
+			return new HtmlRenderer( this, formatting );
+		}
+		else {
+			return new BasicRenderer( this, formatting );
+		}
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/RenderingException.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/RenderingException.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/render/RenderingException.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,17 @@
+package org.jboss.maven.plugin.docbook.gen.render;
+
+/**
+ * {@inheritDoc}
+ *
+ * @author Steve Ebersole
+ */
+public class RenderingException extends Exception {
+
+	public RenderingException(String message) {
+		super( message );
+	}
+
+	public RenderingException(String message, Throwable cause) {
+		super( message, cause );
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/FormatType.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/FormatType.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/FormatType.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,141 @@
+package org.jboss.maven.plugin.docbook.gen.util;
+
+/**
+ * An enumeration of the various types of formatting supported in this plugin.
+ * <p/>
+ * DocBook does define some other output formatting support (like HTML Help),
+ * but those are not covered nor supported by this plugin.
+ * <p/>
+ * Really, instead of a discrete enumeration, these should act as templates
+ * based on the docbook standard formats.  The attributes here should be exposed
+ * to the user for configuration, thesse attributes values acting as defaults
+ * based on the selected format-name.
+ *
+ * @author Steve Ebersole
+ */
+public class FormatType {
+	public static final FormatType ECLIPSE =
+			new HtmlBasedFormat( "eclipse", "/eclipse/eclipse.xsl" );
+
+	public static final FormatType HTML =
+			new HtmlBasedFormat( "html", "/html/chunk.xsl" );
+
+	public static final FormatType HTML_SINGLE =
+			new HtmlBasedFormat( "html_single", "/html/docbook.xsl", false );
+
+	public static final FormatType HTMLHELP =
+			new HtmlBasedFormat( "htmlhelp", "/htmlhelp/htmlhelp.xsl" );
+
+	public static final FormatType JAVAHELP =
+			new HtmlBasedFormat( "javahelp", "/javahelp/javahelp.xsl" );
+
+	public static final FormatType MAN =
+			new HtmlBasedFormat( "man", "/manpages/docbook.xsl", false );
+
+	public static final FormatType PDF =
+			new FormatType( "pdf", "pdf", "/fo/docbook.xsl", true, false, false );
+
+	public static final FormatType WEBSITE =
+			new HtmlBasedFormat( "website", "/website/website.xsl", false );
+
+// I'd rather not support this...
+//	public static final FormatType WORDML =
+//			new FormatType( "wordml", "doc", "/wordml/wordml.xsl", ?, ?, ? );
+
+	public static final FormatType XHTML =
+			new FormatType( "xhtml", "xhtml", "/xhtml/docbook.xsl", false, true, false );
+
+	private final String name;
+	private final String standardFileExtension;
+	private final String stylesheetResource;
+	private final boolean imagePathSettingRequired;
+	private final boolean imageCopyingRequired;
+	private final boolean doingChunking;
+
+	public FormatType(
+			String name,
+			String standardFileExtension,
+			String stylesheetResource,
+			boolean imagePathSettingRequired,
+			boolean imageCopyingRequired,
+			boolean doingChunking) {
+		this.name = name;
+		this.standardFileExtension = standardFileExtension;
+		this.stylesheetResource = stylesheetResource;
+		this.imagePathSettingRequired = imagePathSettingRequired;
+		this.imageCopyingRequired = imageCopyingRequired;
+		this.doingChunking = doingChunking;
+	}
+
+	public String getName() {
+		return name;
+	}
+
+	public String getStandardFileExtension() {
+		return standardFileExtension;
+	}
+
+	public String getStylesheetResource() {
+		return stylesheetResource;
+	}
+
+	public boolean isImagePathSettingRequired() {
+		return imagePathSettingRequired;
+	}
+
+	public boolean isImageCopyingRequired() {
+		return imageCopyingRequired;
+	}
+
+	public boolean isDoingChunking() {
+		return doingChunking;
+	}
+
+	public static FormatType parse(String name) {
+		if ( ECLIPSE.name.equals( name ) ) {
+			return ECLIPSE;
+		}
+		else if ( HTML.name.equals( name ) ) {
+			return HTML;
+		}
+		else if ( HTML_SINGLE.name.equals( name ) ) {
+			return HTML_SINGLE;
+		}
+		else if ( HTMLHELP.name.equals( name ) ) {
+			return HTMLHELP;
+		}
+		else if ( JAVAHELP.name.equals( name ) ) {
+			return JAVAHELP;
+		}
+		else if ( MAN.name.equals( name ) ) {
+			return MAN;
+		}
+		else if ( PDF.name.equals( name ) ) {
+			return PDF;
+		}
+		else if ( WEBSITE.name.equals( name ) ) {
+			return WEBSITE;
+		}
+//		else if ( WORDML.name.equals( name ) ) {
+//			return WORDML;
+//		}
+		else if ( XHTML.name.equals( name ) ) {
+			return XHTML;
+		}
+		else {
+			return null;
+		}
+	}
+
+
+	// convenience for html based formats to simplify ctors ~~~~~~~~~~~~~~~~~~~
+
+	private static class HtmlBasedFormat extends FormatType {
+		private HtmlBasedFormat(String name, String stylesheetResource) {
+			this( name, stylesheetResource, true );
+		}
+		private HtmlBasedFormat(String name, String stylesheetResource, boolean doingChunking) {
+			super( name, "html", stylesheetResource, false, true, doingChunking );
+		}
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/NoOpWriter.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/NoOpWriter.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/NoOpWriter.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,20 @@
+package org.jboss.maven.plugin.docbook.gen.util;
+
+import java.io.Writer;
+
+/**
+ * A writer which does no writing :)
+ *
+ * @author Steve Ebersole
+ */
+public class NoOpWriter extends Writer {
+
+	public void write(char cbuf[], int off, int len) {
+	}
+
+	public void flush() {
+	}
+
+	public void close() {
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/ResourceHelper.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/ResourceHelper.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/ResourceHelper.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,26 @@
+package org.jboss.maven.plugin.docbook.gen.util;
+
+import java.net.URL;
+
+/**
+ * Simple helpers for locating and handling classpath resource lookups.
+ *
+ * @author Steve Ebersole
+ */
+public class ResourceHelper {
+	public static URL requireResource(String name) {
+		URL resource = locateResource( name );
+		if ( resource == null ) {
+			throw new IllegalArgumentException( "could not locate resource [" + name + "]" );
+		}
+		return resource;
+	}
+
+	public static URL locateResource(String name) {
+		ClassLoader loader = Thread.currentThread().getContextClassLoader();
+		if ( loader == null ) {
+			loader = ResourceHelper.class.getClassLoader();
+		}
+		return loader.getResource( name );
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/TransformerType.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/TransformerType.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/util/TransformerType.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,37 @@
+package org.jboss.maven.plugin.docbook.gen.util;
+
+/**
+ * Enumeration of supported XSLT transformers.
+ *
+ * @author Steve Ebersole
+ */
+public class TransformerType {
+	public static final TransformerType SAXON = new TransformerType( "saxon", false );
+	public static final TransformerType XALAN = new TransformerType( "xalan", true );
+
+	private final String name;
+	private final boolean supportsReset;
+
+	private TransformerType(String name, boolean supportsReset) {
+		this.name = name;
+		this.supportsReset = supportsReset;
+	}
+
+	public String getName() {
+		return name;
+	}
+
+	public boolean supportsReset() {
+		return supportsReset;
+	}
+
+	public static TransformerType parse(String name) {
+		if ( XALAN.name.equals( name ) ) {
+			return XALAN;
+		}
+		else {
+			// default
+			return SAXON;
+		}
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/TransformerFactory.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/TransformerFactory.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/TransformerFactory.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,122 @@
+package org.jboss.maven.plugin.docbook.gen.xslt;
+
+import java.io.IOException;
+import java.net.URL;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Properties;
+import javax.xml.transform.Source;
+import javax.xml.transform.Transformer;
+import javax.xml.transform.TransformerConfigurationException;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.URIResolver;
+import javax.xml.transform.stream.StreamSource;
+
+import com.icl.saxon.Controller;
+import org.apache.xml.resolver.tools.CatalogResolver;
+import org.jboss.maven.plugin.docbook.gen.render.Formatting;
+import org.jboss.maven.plugin.docbook.gen.util.FormatType;
+import org.jboss.maven.plugin.docbook.gen.util.NoOpWriter;
+import org.jboss.maven.plugin.docbook.gen.util.ResourceHelper;
+import org.jboss.maven.plugin.docbook.gen.util.TransformerType;
+import org.jboss.maven.plugin.docbook.gen.xslt.resolve.CurrentVersionResolver;
+import org.jboss.maven.plugin.docbook.gen.xslt.resolve.ExplicitUrnResolver;
+import org.jboss.maven.plugin.docbook.gen.xslt.resolve.RelativeJarUriResolver;
+import org.jboss.maven.plugin.docbook.gen.xslt.resolve.ResolverChain;
+import org.jboss.maven.plugin.docbook.gen.xslt.resolve.VersionResolver;
+
+/**
+ * A factory for {@link javax.xml.transform.Transformer} instances, configurable
+ * to return either SAXON or XALAN based transformers.
+ *
+ * @author Steve Ebersole
+ */
+public class TransformerFactory {
+	private final TransformerType transformerType;
+	private final Properties transformerParameters;
+	private final CatalogResolver catalogResolver;
+	private final String docbookVersion;
+
+	public TransformerFactory(
+			TransformerType transformerType,
+			Properties transformerParameters,
+			CatalogResolver catalogResolver, String docbookVersion) {
+		this.transformerType = transformerType;
+		this.transformerParameters = transformerParameters;
+		this.catalogResolver = catalogResolver;
+		this.docbookVersion = docbookVersion;
+	}
+
+	public Transformer buildTransformer(Formatting formatting, URL customStylesheet) throws XSLTException {
+		URIResolver uriResolver = buildUriResolver( formatting.getStandardDocBookSpec() );
+
+		javax.xml.transform.TransformerFactory transformerFactory = buildTransformerFactory();
+		transformerFactory.setURIResolver( uriResolver );
+
+		URL xsltStylesheet = customStylesheet == null
+				? ResourceHelper.requireResource( formatting.getStylesheetResource() )
+				: customStylesheet;
+
+		Transformer transformer;
+		try {
+			Source source = new StreamSource( xsltStylesheet.openStream(), xsltStylesheet.toExternalForm() );
+			transformer = transformerFactory.newTransformer( source );
+		}
+		catch ( IOException e ) {
+			throw new XSLTException( "problem opening stylesheet", e );
+		}
+		catch ( TransformerConfigurationException e ) {
+			throw new XSLTException( "unable to build transformer", e );
+		}
+
+		transformer.setURIResolver( uriResolver );
+		applyParameters( transformer );
+
+		if ( transformer instanceof Controller ) {
+			Controller controller = ( Controller ) transformer;
+			try {
+				controller.makeMessageEmitter();
+				controller.getMessageEmitter().setWriter( new NoOpWriter() );
+			}
+			catch ( TransformerException te ) {
+				// intentionally empty
+			}
+		}
+		return transformer;
+	}
+
+	private javax.xml.transform.TransformerFactory buildTransformerFactory() {
+		if ( transformerType == TransformerType.XALAN ) {
+			return new com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl();
+		}
+		else {
+			// saxon as default...
+			return new com.icl.saxon.TransformerFactoryImpl();
+		}
+	}
+
+	private void applyParameters(Transformer transformer) {
+		if ( transformerParameters == null ) {
+			return;
+		}
+		Iterator itr = transformerParameters.entrySet().iterator();
+		while ( itr.hasNext() ) {
+			final Map.Entry entry = ( Map.Entry ) itr.next();
+			transformer.setParameter( ( String ) entry.getKey(), entry.getValue() );
+		}
+	}
+
+	private URIResolver buildUriResolver(FormatType formatType) throws XSLTException {
+		ResolverChain resolverChain = new ResolverChain();
+		if ( formatType != null ) {
+			resolverChain.addResolver( new ExplicitUrnResolver( formatType ) );
+		}
+		resolverChain.addResolver( new CurrentVersionResolver() );
+		if ( docbookVersion != null ) {
+			resolverChain.addResolver( new VersionResolver( docbookVersion ) );
+		}
+		resolverChain.addResolver( new RelativeJarUriResolver() );
+		resolverChain.addResolver( catalogResolver );
+		return resolverChain;
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/XSLTException.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/XSLTException.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/XSLTException.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,18 @@
+package org.jboss.maven.plugin.docbook.gen.xslt;
+
+/**
+ * Indicates problems either building XSLT transformers or performing
+ * transformations.
+ *
+ * @author Steve Ebersole
+ */
+public class XSLTException extends Exception {
+
+	public XSLTException(String message) {
+		super( message );
+	}
+
+	public XSLTException(String message, Throwable cause) {
+		super( message, cause );
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/catalog/AbstractCatalogManager.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/catalog/AbstractCatalogManager.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/catalog/AbstractCatalogManager.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+package org.jboss.maven.plugin.docbook.gen.xslt.catalog;
+
+import org.apache.xml.resolver.CatalogManager;
+
+/**
+ * Basic support for our notion of CatalogManagers.
+ *
+ * @author Steve Ebersole
+ */
+public abstract class AbstractCatalogManager extends CatalogManager {
+	public AbstractCatalogManager(String[] catalogNames) {
+		super();
+		setIgnoreMissingProperties( true );
+		if ( catalogNames != null && catalogNames.length != 0 ) {
+			StringBuffer buffer = new StringBuffer();
+			boolean first = true;
+			for ( int i = 0; i < catalogNames.length; i++ ) {
+				if ( catalogNames[i] != null ) {
+					if ( first ) {
+						first = false;
+					}
+					else {
+						buffer.append( ';' );
+					}
+				}
+				buffer.append( catalogNames[i] );
+			}
+			setCatalogFiles( buffer.toString() );
+		}
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/catalog/ExplicitCatalogManager.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/catalog/ExplicitCatalogManager.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/catalog/ExplicitCatalogManager.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,14 @@
+package org.jboss.maven.plugin.docbook.gen.xslt.catalog;
+
+
+/**
+ * Utilizes explicit, user-supplied catalog names to build a
+ * CatalogManager.
+ *
+ * @author Steve Ebersole
+ */
+public class ExplicitCatalogManager extends AbstractCatalogManager {
+	public ExplicitCatalogManager(String[] catalogNames) {
+		super( catalogNames );
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/catalog/ImplicitCatalogManager.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/catalog/ImplicitCatalogManager.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/catalog/ImplicitCatalogManager.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,41 @@
+package org.jboss.maven.plugin.docbook.gen.xslt.catalog;
+
+import java.util.Enumeration;
+import java.util.ArrayList;
+import java.net.URL;
+import java.io.IOException;
+
+/**
+ * CatalogManager which resolves its catalogs internally via  classpath
+ * resource lookups.  Its looks for resources named '/catalog.xml' on the
+ * classpath.
+ *
+ * @author Steve Ebersole
+ */
+public class ImplicitCatalogManager extends AbstractCatalogManager {
+	public ImplicitCatalogManager() {
+		super( resolveCatalogNames() );
+	}
+
+	private static String[] resolveCatalogNames() {
+        ClassLoader classLoader = Thread.currentThread().getContextClassLoader();
+		if ( classLoader == null ) {
+			classLoader = ImplicitCatalogManager.class.getClassLoader();
+		}
+		ArrayList names = new ArrayList();
+        try {
+            Enumeration enumeration = classLoader.getResources( "/catalog.xml" );
+            while ( enumeration.hasMoreElements() ) {
+				final URL resource = ( URL ) enumeration.nextElement();
+				final String resourcePath = resource.toExternalForm();
+				if ( resourcePath != null ) {
+					names.add( resourcePath );
+				}
+            }
+        }
+		catch ( IOException ignore ) {
+			// intentionally empty
+		}
+		return ( String[] ) names.toArray( new String[ names.size() ] );
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/BasicUrnResolver.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/BasicUrnResolver.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/BasicUrnResolver.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,29 @@
+package org.jboss.maven.plugin.docbook.gen.xslt.resolve;
+
+import javax.xml.transform.URIResolver;
+import javax.xml.transform.Source;
+import javax.xml.transform.TransformerException;
+
+/**
+ * Basic support for URIResolvers which map a URN unto a single replacement
+ * {@link Source}.
+ *
+ * @author Steve Ebersole
+ */
+public class BasicUrnResolver implements URIResolver {
+	private final String urn;
+	private final Source source;
+
+	public BasicUrnResolver(String urn, Source source) {
+		this.urn = urn;
+		this.source = source;
+	}
+
+	public Source resolve(String href, String base) throws TransformerException {
+		return urn.equals( href ) ? source : null;
+	}
+
+	public String toString() {
+		return super.toString() + " [URN:" + urn + "]";
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/CurrentVersionResolver.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/CurrentVersionResolver.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/CurrentVersionResolver.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,14 @@
+package org.jboss.maven.plugin.docbook.gen.xslt.resolve;
+
+/**
+ * Map hrefs starting with <tt>http://docbook.sourceforge.net/release/xsl/current/</tt>
+ * to classpath resource lookups.
+ *
+ * @author Steve Ebersole
+ */
+public class CurrentVersionResolver extends VersionResolver {
+
+	public CurrentVersionResolver() {
+		super( "current" );
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/ExplicitUrnResolver.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/ExplicitUrnResolver.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/ExplicitUrnResolver.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,39 @@
+package org.jboss.maven.plugin.docbook.gen.xslt.resolve;
+
+import java.net.URL;
+import java.io.IOException;
+import javax.xml.transform.Source;
+import javax.xml.transform.stream.StreamSource;
+
+import org.jboss.maven.plugin.docbook.gen.util.FormatType;
+import org.jboss.maven.plugin.docbook.gen.util.ResourceHelper;
+import org.jboss.maven.plugin.docbook.gen.xslt.XSLTException;
+
+/**
+ * Resolves an explicit <tt>urn:docbook:stylesheet</tt> URN against the standard
+ * DocBook stylesheets.
+ *
+ * @author Steve Ebersole
+ */
+public class ExplicitUrnResolver extends BasicUrnResolver {
+	private final FormatType formatType;
+
+	public ExplicitUrnResolver(FormatType type) throws XSLTException {
+		super( "urn:docbook:stylesheet", createSource( type ) );
+		this.formatType = type;
+	}
+
+	private static Source createSource(FormatType type) throws XSLTException {
+		URL stylesheet = ResourceHelper.requireResource( type.getStylesheetResource() );
+		try {
+			return new StreamSource( stylesheet.openStream(), stylesheet.toExternalForm() );
+		}
+		catch ( IOException e ) {
+			throw new XSLTException( "could not locate DocBook stylesheet [" + type.getName() + "]", e );
+		}
+	}
+
+	public String toString() {
+		return super.toString() + " [" + formatType.getName() + "]";
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/RelativeJarUriResolver.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/RelativeJarUriResolver.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/RelativeJarUriResolver.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,36 @@
+package org.jboss.maven.plugin.docbook.gen.xslt.resolve;
+
+import java.net.URL;
+import javax.xml.transform.URIResolver;
+import javax.xml.transform.Source;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.stream.StreamSource;
+
+/**
+ * Responsible for resolving relative references from jar base urls.
+ *
+ * @author Steve Ebersole
+ */
+public class RelativeJarUriResolver implements URIResolver {
+	public Source resolve(String href, String base) throws TransformerException {
+		// href need to be relative
+		if ( href.indexOf( "://" ) > 0 || href.startsWith( "/" ) ) {
+			return null;
+		}
+
+		// base would need to start with jar:
+		if ( !base.startsWith( "jar:" ) ) {
+			return null;
+		}
+
+		String fullHref = base.substring( 4, base.lastIndexOf( '/' ) + 1 )
+				+ href;
+		try {
+			URL url = new URL( fullHref );
+			return new StreamSource( url.openStream(), url.toExternalForm() );
+		}
+		catch ( Throwable t ) {
+			return null;
+		}
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/ResolverChain.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/ResolverChain.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/ResolverChain.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,56 @@
+package org.jboss.maven.plugin.docbook.gen.xslt.resolve;
+
+import java.util.List;
+import java.util.ArrayList;
+import java.util.Iterator;
+import javax.xml.transform.URIResolver;
+import javax.xml.transform.Source;
+import javax.xml.transform.TransformerException;
+
+/**
+ * Allows chaining a series of {@link URIResolver resolvers} together.
+ * <p/>
+ * "Precedence" of the resolvers is determined by the order in which
+ * they are {@link #addResolver added}.
+ *
+ * @author Steve Ebersole
+ */
+public class ResolverChain implements URIResolver {
+	private List resolvers = new ArrayList();
+
+	public ResolverChain() {
+	}
+
+	public ResolverChain(URIResolver resolver) {
+		this();
+		addResolver( resolver );
+	}
+
+	/**
+	 * Adds a resolver to the chain.
+	 *
+	 * @param resolver The resolver to add.
+	 */
+	public void addResolver(URIResolver resolver) {
+		resolvers.add( resolver );
+	}
+
+	/**
+	 * Here we iterate over all the chained resolvers and delegate to them
+	 * until we find one which can handle the resolve request (if any).
+	 *
+	 * {@inheritDoc}
+	 */
+	public Source resolve(String href, String base) throws TransformerException {
+		Source result = null;
+		Iterator itr = resolvers.iterator();
+		while ( itr.hasNext() ) {
+			final URIResolver resolver = ( URIResolver ) itr.next();
+			result = resolver.resolve( href, base );
+			if ( result != null ) {
+				break;
+			}
+		}
+		return result;
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/VersionResolver.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/VersionResolver.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/gen/xslt/resolve/VersionResolver.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,55 @@
+package org.jboss.maven.plugin.docbook.gen.xslt.resolve;
+
+import java.net.URL;
+import java.io.IOException;
+import javax.xml.transform.Source;
+import javax.xml.transform.TransformerException;
+import javax.xml.transform.URIResolver;
+import javax.xml.transform.stream.StreamSource;
+
+import org.jboss.maven.plugin.docbook.gen.util.ResourceHelper;
+
+/**
+ * {@inheritDoc}
+ *
+ * @author Steve Ebersole
+ */
+public class VersionResolver implements URIResolver {
+	public static final String BASE_HREF = "http://docbook.sourceforge.net/release/xsl/";
+
+	private final String version;
+	private final String versionHref;
+
+	public VersionResolver(String version) {
+		this.version = version;
+		this.versionHref = BASE_HREF + version;
+	}
+
+	public Source resolve(String href, String base) throws TransformerException {
+		if ( href.startsWith( versionHref ) ) {
+			return resolve( href );
+		}
+		else if ( base.startsWith( versionHref ) ) {
+			return resolve( base + "/" + href );
+		}
+		return null;
+	}
+
+	private Source resolve(String href) {
+		String resource = href.substring( versionHref.length() );
+		try {
+			URL resourceURL = ResourceHelper.requireResource( resource );
+			return new StreamSource( resourceURL.openStream(), resourceURL.toExternalForm() );
+		}
+		catch ( IllegalArgumentException e ) {
+			return null;
+		}
+		catch ( IOException e ) {
+			return null;
+		}
+	}
+
+	public String toString() {
+		return super.toString() + " [version=" + version + "]";
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/BaselineHandler.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/BaselineHandler.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/BaselineHandler.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,59 @@
+package org.jboss.maven.plugin.docbook.revdiff;
+
+import java.util.Map;
+
+import org.xml.sax.helpers.DefaultHandler;
+import org.xml.sax.Locator;
+import org.xml.sax.Attributes;
+import org.xml.sax.SAXException;
+
+/**
+ * An XML parse handler used to create a catalog of baseline elements.
+ * <p/>
+ * Typically this would be used against the master translation to create
+ * a baseline against which particular translations would be checked.
+ *
+ * @author Christian Bauer
+ * @author Steve Ebersole
+ */
+public class BaselineHandler extends DefaultHandler {
+	private final Map catalog;
+	private Locator docLocator;
+
+	public void setDocumentLocator(Locator locator) {
+		this.docLocator = locator;
+	}
+
+	public BaselineHandler(Map catalog) {
+		this.catalog = catalog;
+	}
+
+	public void startElement(
+			String namespaceURI,
+			String localName,
+			String qualifiedName,
+			Attributes atts) throws SAXException {
+
+		// Only add ModuleElements that have an identifier
+		String identifier = atts.getValue( "id" );
+		if ( identifier != null ) {
+			// The default revision is 0
+			int revision = 0;
+			if ( atts.getValue( "revision" ) != null ) {
+				revision = new Integer( atts.getValue( "revision" ) ).intValue();
+			}
+
+			// Generate new ContentItem and new original state
+			ContentItem contentItem = new ContentItem( identifier );
+			ContentItemDescriptor descriptor = new ContentItemDescriptor(
+					docLocator.getSystemId(),
+					qualifiedName,
+					revision,
+					docLocator.getLineNumber(),
+					docLocator.getColumnNumber()
+			);
+			contentItem.setMasterDescriptor( descriptor );
+			catalog.put( identifier, contentItem );
+		}
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/ContentItem.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/ContentItem.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/ContentItem.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,59 @@
+package org.jboss.maven.plugin.docbook.revdiff;
+
+/**
+ * Describes a particular piece of content, including descriptors
+ * from both the master and a particular translation
+ *
+ * @author Christian Bauer
+ */
+public class ContentItem {
+    private final String identifier;
+    private ContentItemDescriptor masterDescriptor;
+    private ContentItemDescriptor translationDescriptor;
+
+    public ContentItem(String identifier) {
+        this.identifier = identifier;
+    }
+
+    public String getIdentifier() {
+        return identifier;
+    }
+
+    public ContentItemDescriptor getMasterDescriptor() {
+        return masterDescriptor;
+    }
+
+    public void setMasterDescriptor(ContentItemDescriptor masterDescriptor) {
+        this.masterDescriptor = masterDescriptor;
+    }
+
+    public ContentItemDescriptor getTranslationDescriptor() {
+        return translationDescriptor;
+    }
+
+    public void setTranslationDescriptor(ContentItemDescriptor translationDescriptor) {
+        this.translationDescriptor = translationDescriptor;
+    }
+
+
+	public boolean equals(Object o) {
+		if ( this == o ) {
+			return true;
+		}
+		if ( o == null || getClass() != o.getClass() ) {
+			return false;
+		}
+
+		ContentItem that = ( ContentItem ) o;
+
+		if ( !identifier.equals( that.identifier ) ) {
+			return false;
+		}
+
+		return true;
+	}
+
+	public int hashCode() {
+		return identifier.hashCode();
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/ContentItemDescriptor.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/ContentItemDescriptor.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/ContentItemDescriptor.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,44 @@
+package org.jboss.maven.plugin.docbook.revdiff;
+
+/**
+ * {@inheritDoc}
+ *
+ * @author Christian Bauer
+ */
+public class ContentItemDescriptor {
+    public static int REVISION_IGNORE = -1;
+
+    private final String sourceSystemId;
+    private final String elementName;
+    private final int revision;
+    private final int row;
+    private final int column;
+
+	public ContentItemDescriptor(String sourceSystemId, String elementName, int revision, int row, int column) {
+		this.sourceSystemId = sourceSystemId;
+		this.elementName = elementName;
+		this.revision = revision;
+		this.row = row;
+		this.column = column;
+	}
+
+	public int getRevision() {
+        return revision;
+    }
+
+    public String getElementName() {
+        return elementName;
+    }
+
+    public String getSourceSystemId() {
+        return sourceSystemId;
+    }
+
+    public int getRow() {
+        return row;
+    }
+
+	public int getColumn() {
+		return column;
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/Diff.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/Diff.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/Diff.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,39 @@
+package org.jboss.maven.plugin.docbook.revdiff;
+
+import java.util.Set;
+import java.util.HashSet;
+import java.util.Iterator;
+
+/**
+ * Represents the difference between two sources.
+ *
+ * @author Steve Ebersole
+ */
+public class Diff {
+	private Set elementsOnlyInMaster = new HashSet();
+	private Set elementsOnlyInTranslation = new HashSet();
+	private Set elementsDiffRevision = new HashSet();
+
+	public void addOnlyInMaster(ContentItem element) {
+		elementsOnlyInMaster.add( element );
+	}
+
+	public void addOnlyInTranslation(ContentItem element) {
+		elementsOnlyInTranslation.add( element );
+	}
+
+	public void addDiffRevision(ContentItem element) {
+		elementsDiffRevision.add( element );
+	}
+
+	public Iterator getElementsOnlyInMaster() {
+		return elementsOnlyInMaster.iterator();
+	}
+
+	public Iterator getElementsOnlyInTranslation() {
+		return elementsOnlyInTranslation.iterator();
+	}
+	public Iterator getElementsDiffRevision() {
+		return elementsDiffRevision.iterator();
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/DiffCreator.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/DiffCreator.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/DiffCreator.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,100 @@
+package org.jboss.maven.plugin.docbook.revdiff;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParserFactory;
+
+import com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl;
+import org.xml.sax.SAXException;
+import org.xml.sax.SAXNotRecognizedException;
+import org.xml.sax.SAXNotSupportedException;
+import org.xml.sax.XMLReader;
+import org.apache.maven.plugin.logging.Log;
+
+/**
+ * Responsible for creating a diff description.
+ *
+ * @author Steve Ebersole
+ */
+public class DiffCreator {
+
+	private final XMLReader parser;
+	private final Log log;
+
+	public DiffCreator(boolean xincludeSupport, Log log) throws GenerationException {
+		this.parser = generateParser( xincludeSupport );
+		this.log = log;
+	}
+
+	public synchronized Diff findDiff(File master, File translation) throws GenerationException {
+		Map catalog = new HashMap();
+
+		// Parse master file
+		BaselineHandler baselineHandler = new BaselineHandler( catalog );
+		parser.setContentHandler( baselineHandler );
+		try {
+			parser.parse( master.getAbsolutePath() );
+		}
+		catch( IOException e ) {
+			throw new GenerationException( "unable to locate specified master [" + master.getAbsolutePath() + "]", e );
+		}
+		catch ( SAXException e ) {
+			throw new GenerationException( "error parsing master [" + master.getAbsolutePath() + "]", e );
+		}
+
+		log.debug( "encountered [" + catalog.size() + "] master content elements" );
+
+		Diff diff = new Diff();
+
+		// Parse translation
+		TranslationHandler translationHandler = new TranslationHandler( catalog, diff );
+		parser.setContentHandler( translationHandler );
+		try {
+			parser.parse( translation.getAbsolutePath() );
+		}
+		catch ( IOException e ) {
+			throw new GenerationException( "unable to locate specified translation [" + translation.getAbsolutePath() + "]", e );
+		}
+		catch ( SAXException e ) {
+			throw new GenerationException( "error parsing translation [" + translation.getAbsolutePath() + "]", e );
+		}
+
+		// as a final step, allow translation handler to finish up
+		translationHandler.finish();
+
+		return diff;
+	}
+
+	private XMLReader generateParser(boolean xincludeSupport) throws GenerationException {
+		try {
+			XMLReader parser = createParserFactory( xincludeSupport ).newSAXParser().getXMLReader();
+//			SAXParser parser = new SAXParser();
+			// Disable validation against DTD
+			parser.setFeature( "http://xml.org/sax/features/validation", false );
+			// Disable DTD loading in Xerces
+			parser.setFeature( "http://apache.org/xml/features/nonvalidating/load-external-dtd", false );
+			return parser;
+		}
+		catch ( SAXNotSupportedException e ) {
+			throw new GenerationException( "unable to generate SAX Parser", e );
+		}
+		catch ( SAXNotRecognizedException e ) {
+			throw new GenerationException( "unable to generate SAX Parser", e );
+		}
+		catch ( ParserConfigurationException e ) {
+			throw new GenerationException( "unable to generate SAX Parser", e );
+		}
+		catch ( SAXException e ) {
+			throw new GenerationException( "unable to generate SAX Parser", e );
+		}
+	}
+
+	private SAXParserFactory createParserFactory(boolean xincludeSupport) {
+        SAXParserFactory factory = new SAXParserFactoryImpl();
+        factory.setXIncludeAware( xincludeSupport );
+        return factory;
+    }
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/GenerationException.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/GenerationException.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/GenerationException.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,16 @@
+package org.jboss.maven.plugin.docbook.revdiff;
+
+/**
+ * Indicates problems generating the diff report
+ *
+ * @author Steve Ebersole
+ */
+public class GenerationException extends Exception {
+	public GenerationException(String message) {
+		super( message );
+	}
+
+	public GenerationException(String message, Throwable cause) {
+		super( message, cause );
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/IndexReportGenerator.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/IndexReportGenerator.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/IndexReportGenerator.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,70 @@
+package org.jboss.maven.plugin.docbook.revdiff;
+
+import java.util.Locale;
+import java.util.List;
+import java.util.Iterator;
+import java.util.ResourceBundle;
+
+import org.apache.maven.doxia.sink.Sink;
+import org.apache.maven.plugin.logging.Log;
+import org.apache.maven.reporting.MavenReportException;
+
+/**
+ * {@inheritDoc}
+ *
+ * @author Steve Ebersole
+ */
+public class IndexReportGenerator {
+	private final ResourceBundle bundle;
+	private final Sink sink;
+	private final Log log;
+
+	public static class TranslationReportDescriptor {
+		private final Locale translation;
+		private final String reportPath;
+
+		public TranslationReportDescriptor(Locale translation, String reportPath) {
+			this.translation = translation;
+			this.reportPath = reportPath;
+		}
+	}
+
+	public IndexReportGenerator(ResourceBundle bundle, Sink sink, Log log) {
+		this.bundle = bundle;
+		this.sink = sink;
+		this.log = log;
+	}
+
+	public void generate(List reportDescriptors) throws MavenReportException {
+		log.debug( "writing index report via provided sink" );
+		sink.head();
+		sink.text( bundle.getString( "report.name" ) );
+        sink.head_();
+
+        sink.body();
+		sink.sectionTitle1();
+        sink.anchor( bundle.getString( "report.header" ) );
+        sink.anchor_();
+        sink.text( bundle.getString( "report.header" ) );
+        sink.sectionTitle1_();
+
+		sink.table();
+		Iterator itr = reportDescriptors.iterator();
+		while ( itr.hasNext() ) {
+			final TranslationReportDescriptor descriptor = ( TranslationReportDescriptor ) itr.next();
+			sink.tableRow();
+			sink.tableCell();
+			sink.link( descriptor.reportPath );
+			sink.text( descriptor.translation.getDisplayName( Locale.ENGLISH ) + " (" + descriptor.translation.toString() + ")" );
+			sink.link_();
+			sink.tableCell_();
+			sink.tableRow_();
+		}
+		sink.table_();
+
+		sink.body_();
+        sink.flush();
+        sink.close();
+		log.debug( "index report sink flushed and closed" );
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationDiffReport.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationDiffReport.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationDiffReport.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,271 @@
+package org.jboss.maven.plugin.docbook.revdiff;
+
+import java.io.File;
+import java.io.IOException;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.Locale;
+import java.util.ResourceBundle;
+
+import org.apache.maven.doxia.siterenderer.Renderer;
+import org.apache.maven.project.MavenProject;
+import org.apache.maven.reporting.AbstractMavenReport;
+import org.apache.maven.reporting.MavenReportException;
+import org.codehaus.plexus.util.DirectoryScanner;
+
+/**
+ * A plugin for generating a "translation diff" report across different
+ * translations of the same document.  This is useful for the translators to
+ * know what changes exist between their translation and the master.
+ *
+ * @goal diff
+ * 
+ * @author Christian Bauer
+ * @author Steve Ebersole
+ */
+public class TranslationDiffReport extends AbstractMavenReport {
+
+	public static final String NAME = "translation-diff-report";
+
+	/**
+	 * The directory containing the translated DocBook sources.
+	 *
+	 * @parameter expression="${basedir}/src/main/docbook/translations"
+     * @required
+	 */
+	private File translationsDirectory;
+
+	/**
+     * Directory where reports will go.
+     *
+     * @parameter expression="${project.reporting.outputDirectory}"
+     * @required
+     * @readonly
+     */
+    private File reportingDirectory;
+
+	/**
+	 * Which translation is considered the master.
+	 *
+	 * @parameter default-value="en"
+	 */
+	private String masterTranslation;
+
+	/**
+	 * (non master) translations to be included in the report.
+	 *
+	 * @parameter
+	 */
+	private String[] translationIncludes;
+
+	/**
+	 * Patternsets of sources (relative to translationsDirectory) to include
+	 * in reporting.
+	 *
+	 * @parameter
+	 */
+	private String[] sourceIncludes;
+
+    /**
+     * A boolean, indicating if XInclude should be supported.
+     *
+     * @parameter default-value="false"
+     */
+    private boolean xincludeSupported;
+
+	/**
+     * Whether to build an aggregated report at the root, or build individual reports.
+     *
+     * @parameter expression="${aggregate}" default-value="false"
+     */
+    protected boolean aggregate;
+
+	/**
+     * @parameter expression="${project}"
+     * @required
+     * @readonly
+     */
+    private MavenProject project;
+
+	private File reportOutputDirectory;
+
+	/**
+	 * @parameter expression="${component.org.apache.maven.doxia.siterenderer.Renderer}"
+     * @required
+     * @readonly
+     */
+    private Renderer siteRenderer;
+
+	protected Renderer getSiteRenderer() {
+		return siteRenderer;
+	}
+
+	protected MavenProject getProject() {
+		return project;
+	}
+
+	public String getCategoryName() {
+		return CATEGORY_PROJECT_REPORTS;
+	}
+
+	protected String getOutputDirectory() {
+		return getReportOutputDirectory().getAbsolutePath();
+	}
+
+	public String getOutputName() {
+		return "index";
+	}
+
+	public String getName(Locale locale) {
+		return getBundle( locale ).getString( "report.name" );
+	}
+
+	public String getDescription(Locale locale) {
+		return getBundle( locale ).getString( "report.description" );
+	}
+
+	private ResourceBundle getBundle(Locale locale) {
+		return ResourceBundle.getBundle( NAME, locale, this.getClass().getClassLoader() );
+	}
+
+	public void setReportOutputDirectory(File dir) {
+		if ( NAME.equals( dir.getName() ) ) {
+			this.reportOutputDirectory = dir;
+		}
+		else {
+			this.reportOutputDirectory = new File( dir, NAME );
+		}
+	}
+
+	public File getReportOutputDirectory() {
+		if ( reportOutputDirectory == null ) {
+			reportOutputDirectory = new File( reportingDirectory, NAME );
+		}
+		return reportOutputDirectory;
+	}
+
+	public boolean isExternalReport() {
+		return false;
+	}
+
+	public boolean canGenerateReport() {
+		return true;
+	}
+
+	protected void executeReport(Locale locale) throws MavenReportException {
+		getLog().debug( "starting docbook:diff goal execution [masterTranslation=" + masterTranslation + "]" );
+
+		if ( ! translationsDirectory.exists() ) {
+			getLog().debug( "translations directory [" + translationsDirectory.getAbsolutePath() + "] did not exist" );
+			return;
+		}
+
+		File masterTranslationDirectory = new File( translationsDirectory, masterTranslation );
+		if ( ! masterTranslationDirectory.exists() ) {
+			getLog().info( "master translation directory [" + masterTranslationDirectory.getAbsolutePath() + "] did not exist" );
+			return;
+		}
+
+		if ( translationIncludes == null || translationIncludes.length == 0 ) {
+			// use all translations...
+			ArrayList includes = new ArrayList();
+			File[] subdirs = translationsDirectory.listFiles();
+			for ( int i = 0; i < subdirs.length; i++ ) {
+				includes.add( subdirs[i].getName() );
+			}
+			translationIncludes = ( String[] ) includes.toArray( new String[ includes.size() ] );
+		}
+
+		if ( sourceIncludes == null || sourceIncludes.length == 0 ) {
+			sourceIncludes = new String[] { "*.xml" };
+		}
+
+		List reports = new ArrayList();
+		for ( int i = 0; i < translationIncludes.length; i++ ) {
+			if ( masterTranslation.equals( translationIncludes[i] ) ) {
+				continue;
+			}
+			final File translationDirectory = new File( translationsDirectory, translationIncludes[i] );
+			if ( ! translationDirectory.exists() ) {
+				getLog().info( "translation directory [" + translationDirectory.getAbsolutePath() + "] did not exist" );
+				continue;
+			}
+
+			if ( generateTranslationReport( masterTranslationDirectory, translationDirectory, translationIncludes[i] ) ) {
+				reports.add(
+						new IndexReportGenerator.TranslationReportDescriptor(
+								new Locale( translationIncludes[i] ),
+								NAME + "/" + buildTranslationReportName( translationIncludes[i] )
+						)
+				);
+			}
+		}
+
+		new IndexReportGenerator( getBundle( locale ), getSink(), getLog() ).generate( reports );
+	}
+
+	private void prepReportFile(File reportFile) throws MavenReportException {
+		if ( reportFile.exists() ) {
+			reportFile.delete();
+		}
+		if ( !reportFile.exists() ) {
+			try {
+				reportFile.createNewFile();
+			}
+			catch ( IOException e ) {
+				throw new MavenReportException( "unable to prep report file [" + reportFile.getAbsolutePath() + "]" );
+			}
+		}
+	}
+
+	private String buildTranslationReportName(String translationName) {
+		return "report-" + translationName + ".html";
+	}
+
+	private boolean generateTranslationReport(
+			File masterTranslationDirectory,
+			File translationDirectory,
+			String translationName) throws MavenReportException {
+		getLog().debug( "starting docbook:diff processing [translation=" + translationName + "]" );
+
+		DirectoryScanner scanner = new DirectoryScanner();
+		scanner.setBasedir( masterTranslationDirectory );
+		scanner.setIncludes( sourceIncludes );
+		scanner.scan();
+		String[] masterSources = scanner.getIncludedFiles();
+
+		scanner = new DirectoryScanner();
+		scanner.setBasedir( translationDirectory );
+		scanner.setIncludes( sourceIncludes );
+		scanner.scan();
+		String[] translationSources = scanner.getIncludedFiles();
+
+		if ( ! Arrays.equals( masterSources, translationSources ) ) {
+			getLog().warn( "includes returned different master and translation sets" );
+			return false;
+		}
+
+		Locale locale = new Locale( translationName );
+		File output = new File( getReportOutputDirectory(), buildTranslationReportName( translationName ) );
+		prepReportFile( output );
+
+		try {
+			DiffCreator diffCreator = new DiffCreator( xincludeSupported, getLog() );
+			TranslationReportGenerator generator = new TranslationReportGenerator( translationsDirectory, getBundle( locale ), getLog() );
+
+			for ( int i = 0; i < masterSources.length; i++ ) {
+				getLog().debug( "processing source [" + masterSources[i] + "]" );
+				final File master = new File( masterTranslationDirectory, masterSources[i] );
+				final File translation = new File( translationDirectory, translationSources[i] );
+				final Diff diff = diffCreator.findDiff( master, translation );
+				generator.generate( diff, output, locale.toString() );
+			}
+		}
+		catch ( GenerationException e ) {
+			throw new MavenReportException( "unable to generate report", e );
+		}
+		return true;
+	}
+
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationHandler.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationHandler.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationHandler.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,91 @@
+package org.jboss.maven.plugin.docbook.revdiff;
+
+import java.util.Map;
+import java.util.Iterator;
+
+import org.xml.sax.helpers.DefaultHandler;
+import org.xml.sax.Locator;
+import org.xml.sax.Attributes;
+import org.xml.sax.SAXException;
+
+/**
+ * Handles actually discerning diffs between the translations based on the
+ * revision numbers of the content elements.
+ *
+ * @author Christian Bauer
+ * @author Steve Ebersole
+ */
+public class TranslationHandler extends DefaultHandler {
+	private final Map catalog;
+	private final Diff diff;
+	private Locator docLocator;
+
+	public TranslationHandler(Map catalog, Diff diff) {
+		this.catalog = catalog;
+		this.diff = diff;
+	}
+
+	public void setDocumentLocator(Locator locator) {
+		this.docLocator = locator;
+	}
+
+	public void startElement(
+			String namespaceURI,
+			String localName,
+			String qualifiedName,
+			Attributes atts) throws SAXException {
+
+		String identifier = atts.getValue( "id" );
+		if ( identifier != null ) {
+			int revision = 0;
+			if ( atts.getValue( "revision" ) != null ) {
+				revision = new Integer( atts.getValue( "revision" ) ).intValue();
+			}
+
+			ContentItemDescriptor translationState = new ContentItemDescriptor(
+					docLocator.getSystemId(),
+					qualifiedName,
+					revision,
+					docLocator.getLineNumber(),
+					docLocator.getColumnNumber()
+			);
+
+			// Locate the corresponding ContentItem from the master
+			//
+			// NOTE: we use remove to keep track of the fact that the transation
+			// has used that element; that way, afterwards, we know all the
+			// "unused" ones which would indicate elements recently added to
+			// the master...
+			ContentItem contentItem = ( ContentItem ) catalog.remove( identifier );
+			if ( contentItem == null ) {
+				// we have encountered an element in the translation which
+				// is not present in the master.  This *should indicate that we
+				// have a section that was removed from the master, but not yet
+				// removed from the translation...
+				if ( revision != ContentItemDescriptor.REVISION_IGNORE ) {
+					contentItem = new ContentItem( identifier );
+					contentItem.setTranslationDescriptor( translationState );
+					diff.addOnlyInTranslation( contentItem );
+				}
+			}
+			else {
+				// the element is present in both; check the revisions
+				if ( revision != contentItem.getMasterDescriptor().getRevision() && revision != ContentItemDescriptor.REVISION_IGNORE ) {
+					contentItem.setTranslationDescriptor( translationState );
+					diff.addDiffRevision( contentItem );
+				}
+			}
+		}
+	}
+
+	public void finish() {
+		// anything left in the catalog at this point is stuff that is present
+		// in the master but absent from the translation...
+		Iterator itr = catalog.entrySet().iterator();
+		while ( itr.hasNext() ) {
+			final ContentItem contentItem = ( ContentItem ) ( ( Map.Entry ) itr.next() ).getValue();
+			itr.remove();
+			diff.addOnlyInMaster( contentItem );
+		}
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationReportGenerator.java
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationReportGenerator.java	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationReportGenerator.java	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,187 @@
+package org.jboss.maven.plugin.docbook.revdiff;
+
+import java.io.File;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.util.Iterator;
+import java.util.ResourceBundle;
+import java.net.MalformedURLException;
+import java.net.URL;
+
+import org.apache.maven.plugin.logging.Log;
+import org.codehaus.plexus.util.FileUtils;
+
+/**
+ * Generate a diff report.
+ *
+ * @author Christian Bauer
+ * @author Steve Ebersole
+ */
+public class TranslationReportGenerator {
+	// todo : use templating...
+	private final String base;
+	private final ResourceBundle bundle;
+	private final Log log;
+
+	public TranslationReportGenerator(File basedir, ResourceBundle bundle, Log log) {
+		try {
+			this.base = basedir.toURL().toExternalForm();
+		}
+		catch ( MalformedURLException e ) {
+			throw new IllegalArgumentException( "basedir was a malformed url" );
+		}
+		log.debug( "constructing docbook diff report generator [base=" + base + "]" );
+		this.bundle = bundle;
+		this.log = log;
+	}
+
+	public void generate(Diff diff, File output, String translation) throws GenerationException {
+		if ( output.exists() ) {
+			log.debug( "cleaning up previous translation-diff report output [" + output.getAbsolutePath() + "]" );
+			output.delete();
+		}
+
+		File outputDirectory = output.getParentFile();
+		if ( !outputDirectory.exists() ) {
+			String outputDirectoryPath = outputDirectory.getAbsolutePath();
+			log.debug( "creating translation-diff report directory [" + outputDirectoryPath + "]" );
+			FileUtils.mkdir( outputDirectoryPath );
+		}
+
+		try {
+			output.createNewFile();
+		}
+		catch ( IOException e ) {
+			throw new GenerationException( "unable to create output file [" + output.getAbsolutePath() + "]", e );
+		}
+
+		try {
+			FileWriter writer = new FileWriter( output );
+			writer.write( pageHead( translation ) );
+
+			writer.write( "<table cellpadding=4>" );
+
+			writer.write( generateNewInMaster( diff ) );
+			writer.write( "<tr><td>&nbsp;</td></tr>" );
+			writer.write( generateDiffRevision( diff ) );
+			writer.write( "<tr><td>&nbsp;</td></tr>" );
+			writer.write( generateNewInTranslation( diff ) );
+
+			writer.write( "</table>" );
+			writer.write( pageFoot() );
+			writer.close();
+		}
+		catch ( IOException e ) {
+			throw new GenerationException( "error writing report [" + output.getAbsolutePath() + "]", e );
+		}
+	}
+
+	private String pageHead(String translation) {
+		StringBuffer buf = new StringBuffer( 256 );
+		buf.append( "<html><head><title>" ).append( bundle.getString( "report.name" ) ).append( "</title></head><body><div align=\"center\">" );
+		buf.append( "<h3>" ).append( bundle.getString( "report.header") ).append( " - " ).append( translation ).append( "</h3>" );
+		return buf.toString();
+	}
+
+	private String pageFoot() {
+		StringBuffer buf = new StringBuffer( 256 );
+		buf.append( "</div></body></html>" );
+		return buf.toString();
+	}
+
+	private String generateNewInMaster(Diff diff) {
+		StringBuffer buf = new StringBuffer();
+		Iterator itr = diff.getElementsOnlyInMaster();
+		while ( itr.hasNext() ) {
+			final ContentItem contentItem = ( ContentItem ) itr.next();
+			buf.append( "<tr><td bgcolor=#eeeeee>ID: " ).append( contentItem.getIdentifier() ).append( "</td></tr>" );
+			buf.append( "<tr><td>" );
+			buf.append( "<b>" ).append( formatReference( contentItem.getMasterDescriptor() ) ).append( "</b>" );
+			buf.append( "</td></tr>" );
+		}
+
+		String result = "";
+		if ( buf.length() > 0 ) {
+			result = "<tr bgcolor=#cccccc><td><b>New in master:</b></td></tr>";
+		}
+		return result + buf.toString();
+	}
+
+	private String generateDiffRevision(Diff diff) {
+		StringBuffer buf = new StringBuffer();
+		Iterator itr = diff.getElementsDiffRevision();
+		while ( itr.hasNext() ) {
+			final ContentItem contentItem = ( ContentItem ) itr.next();
+			buf.append( "<tr><td bgcolor=#eeeeee>ID: " ).append( contentItem.getIdentifier() ).append( "</td></tr>" );
+			if ( !contentItem.getMasterDescriptor().getElementName().equals( contentItem.getTranslationDescriptor().getElementName() ) ) {
+				buf.append( "<tr><td bgcolor=#ee6666>" );
+				buf.append( "Element names differ: " )
+						.append( contentItem.getMasterDescriptor().getElementName() )
+						.append( "/" )
+						.append( contentItem.getTranslationDescriptor().getElementName() );
+				buf.append( "</td></tr>" );
+			}
+			buf.append( "<tr><td>" );
+			buf.append( "Master: <b>" ).append( formatReference( contentItem.getMasterDescriptor() ) ).append( "</b>" );
+			buf.append( "</td></tr>" );
+			buf.append( "<tr><td>" );
+			buf.append( "Translation: <b>" ).append( formatReference( contentItem.getTranslationDescriptor() ) ).append( "</b>" );
+			buf.append( "</td></tr>" );
+			buf.append( "<tr><td>" );
+			buf.append( "Master Revision: " ).append( contentItem.getMasterDescriptor().getRevision() );
+			buf.append( "</td></tr>" );
+			buf.append( "<tr><td>" );
+			buf.append( "Translation Revision: " ).append( contentItem.getTranslationDescriptor().getRevision() );
+			buf.append( "</td></tr>" );
+		}
+
+		String result = "";
+		if ( buf.length() > 0 ) {
+			result = "<tr bgcolor=#cccccc><td><b>Translation needs update:</b></td></tr>";
+		}
+		return result + buf.toString();
+	}
+
+	private String generateNewInTranslation(Diff diff) {
+		StringBuffer buf = new StringBuffer();
+		Iterator itr = diff.getElementsOnlyInTranslation();
+		while ( itr.hasNext() ) {
+			final ContentItem contentItem = ( ContentItem ) itr.next();
+			buf.append( "<tr><td bgcolor=#eeeeee>ID: " ).append( contentItem.getIdentifier() ).append( "</td></tr>" );
+			buf.append( "<tr><td>" );
+			buf.append( "<b>" ).append( formatReference( contentItem.getTranslationDescriptor() ) ).append( "</b>" );
+			buf.append( "</td></tr>" );
+		}
+		String result = "";
+		if ( buf.length() > 0 ) {
+			result = "<tr bgcolor=#cccccc><td><b>Only present in translation:</b></td></tr>";
+		}
+		return result + buf.toString();
+	}
+
+	private String formatReference(ContentItemDescriptor descriptor) {
+		return makeSystemIdRelative( descriptor.getSourceSystemId() ) +
+				":" + descriptor.getElementName() +
+				" (" + descriptor.getRow() + "," + descriptor.getColumn() + ")";
+	}
+
+	private String makeSystemIdRelative(String systemId) {
+		String systemIdUrl = toURL( systemId ).toExternalForm();
+		log.debug( "checking source [" + systemIdUrl + "] against base [" + base + "]" );
+		if ( systemIdUrl.startsWith( base ) ) {
+			return systemIdUrl.substring( base.length() );
+		}
+		else {
+			return systemIdUrl;
+		}
+	}
+
+	private URL toURL(String systemId) {
+		try {
+			return new URL( systemId );
+		}
+		catch ( MalformedURLException e ) {
+			throw new UnsupportedOperationException( "unable to parse systemId [" + systemId + "] as URL" );
+		}
+	}
+}

Added: trunk/docs/maven-docbook-plugin/src/main/resources/META-INF/plexus/components.xml
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/resources/META-INF/plexus/components.xml	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/resources/META-INF/plexus/components.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,31 @@
+<component-set>
+
+    <components>
+
+        <component>
+            <role>org.apache.maven.reporting.MavenReport</role>
+            <role-hint>diff</role-hint>
+            <implementation>org.jboss.maven.plugin.docbook.revdiff.TranslationDiffReport</implementation>
+            <instantiation-strategy>per-lookup</instantiation-strategy>
+        </component>
+
+        <component>
+            <role>org.apache.maven.lifecycle.mapping.LifecycleMapping</role>
+            <role-hint>docbook</role-hint>
+            <implementation>org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping</implementation>
+            <configuration>
+                <phases>
+                    <process-resources>org.jboss.maven.plugins:maven-jboss-docbook-plugin:resources</process-resources>
+                    <compile>org.jboss.maven.plugins:maven-jboss-docbook-plugin:generate</compile>
+                    <!--
+                    <package>org.codehaus.plexus:plexus-maven-plugin:app</package>
+                    -->
+                    <install>org.apache.maven.plugins:maven-install-plugin:install</install>
+                    <deploy>org.apache.maven.plugins:maven-deploy-plugin:deploy</deploy>
+                </phases>
+            </configuration>
+        </component>
+
+    </components>
+
+</component-set>
\ No newline at end of file

Added: trunk/docs/maven-docbook-plugin/src/main/resources/translation-diff-report.properties
===================================================================
--- trunk/docs/maven-docbook-plugin/src/main/resources/translation-diff-report.properties	                        (rev 0)
+++ trunk/docs/maven-docbook-plugin/src/main/resources/translation-diff-report.properties	2007-06-08 18:01:10 UTC (rev 257)
@@ -0,0 +1,3 @@
+report.name=Translation Diff Report
+report.description=Calculates differences between translation and master
+report.header=Translation Diff Report

Modified: trunk/docs/pom.xml
===================================================================
--- trunk/docs/pom.xml	2007-06-08 13:17:15 UTC (rev 256)
+++ trunk/docs/pom.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -10,6 +10,8 @@
   <artifactId>docs</artifactId>
   <packaging>pom</packaging>
   <modules>
+    <module>docbook</module>
+    <module>maven-docbook-plugin</module>
     <module>xslt</module>
     <module>userguide</module>
   </modules>

Modified: trunk/docs/userguide/en/pom.xml
===================================================================
--- trunk/docs/userguide/en/pom.xml	2007-06-08 13:17:15 UTC (rev 256)
+++ trunk/docs/userguide/en/pom.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -28,8 +28,8 @@
 				</plugin>
 
 				<plugin>
-					<groupId>org.jboss.maven.plugins</groupId>
-					<artifactId>maven-jboss-docbook-plugin</artifactId>
+					<groupId>org.ajax4jsf.docs</groupId>
+					<artifactId>maven-docbook-plugin</artifactId>
 				</plugin>
 			</plugins>
 	</build>

Modified: trunk/docs/userguide/pom.xml
===================================================================
--- trunk/docs/userguide/pom.xml	2007-06-08 13:17:15 UTC (rev 256)
+++ trunk/docs/userguide/pom.xml	2007-06-08 18:01:10 UTC (rev 257)
@@ -145,9 +145,9 @@
 				</plugin>
 
 				<plugin>
-					<groupId>org.jboss.maven.plugins</groupId>
-					<artifactId>maven-jboss-docbook-plugin</artifactId>
-					<version>1.0</version>
+					<groupId>org.ajax4jsf.docs</groupId>
+					<artifactId>maven-docbook-plugin</artifactId>
+					<version>${project.version}</version>
 					<executions>
 						<execution><!--
 							<phase>compile</phase>




More information about the ajax4jsf-svn-commits mailing list